All Questions

1
answer

Pass arguments to the makefile

I have a folder with a number of LaTeX files: arquivo_001.tex arquivo_002.tex arquivo_003.tex arquivo_004.tex My idea is to write a makefile that allows me to do something like make 004 and it compiles only the arquivo_004.tex...
asked on 21.06.2014 / 07:14
2
answers

How to calculate total table value with JavaScript?

Imagine that I have a table with a number of rows that varies dynamically (that is, the user can insert more rows), each row having two columns with two text fields: quantidade and valor . What would be the most performative...
asked on 02.09.2014 / 23:07
2
answers

JSON performance to feed an entire site

Adapting a Drupal theme to pure HTML with a tight timeline, as expected, the code came out a bit more complicated than I'd like. In this way, I had the opportunity to explore JSON and some of its functionalities and I decided to create a d...
asked on 21.05.2014 / 14:12
3
answers

How to get line separation from the system

Some operating systems (i.e., Windows and BSD) like to break lines with Carriage Return (CR) followed by Line Feed (LF), or \r\n . While GNU / Linux, OS X and other Unix-like ones usually break only with LF ( \n )....
asked on 15.09.2014 / 21:05
1
answer

C # .Net blocking or non-blocking?

Does the System.Net.Sockets library, using asynchronous operations such as BeginReceive (), BeginRead (), and BeginSend () work blocking or non-blocking? If I have 100 connections, there will be 100 threads, 1 thread to manage each send and rece...
asked on 09.06.2014 / 23:44
1
answer

How does RewriteBase work in .htaccess?

I've always used .htaccess to url's amigáveis no php , but recently when I moved to the server of a company X, the .htaccess that always worked did not work on that server .... After searching, I discovered that just putting R...
asked on 23.09.2014 / 22:07
1
answer

Using features of the Timer class (System.Timers) is a Windows service?

I need to do a check in the database once a day . I'm thinking of using the class Timer (System.Timers) . Will the time contactor feature burden / slow down other system services? Is this solution advisable within a Windows servi...
asked on 27.08.2014 / 22:16
1
answer

Is there a way to open a straight SQL table in a data.table without doing the SQL data.frame data.table path?

I want to open a straight SQL table in a data.table. When I query with dbGetQuery , what I get is a data.frame. I know I can later turn that data.frame into a data.table easily. But I'd like to skip this step - which on some occasions may...
asked on 19.09.2014 / 13:27
2
answers

What are side effects?

I was reading this answer and it has a table that says that functional programming has no side effects and that OOP has, this gave me two doubts, they are: What are these side effects? How can you avoid them in OOP ? Table:...
asked on 18.09.2018 / 14:40
2
answers

Connecting the points to the regression line

Suppose the following database: Income <- structure(list(X = 1:30, Education = c(10, 10.4013377926421, 10.8428093645485, 11.2441471571906, 11.6454849498328, 12.0869565217391, 12.4882943143813, 12.8896321070234, 13.2909698996656, 13.732441...
asked on 02.04.2014 / 14:51