All Questions

4
answers

How to remove line that has missing?

I have a database that has some missings (NA's) but only one variable (a column), and I need to remove the entire line that has the missing.     
asked on 18.09.2015 / 17:11
2
answers

Difference between the Alter Table Foreign Key

I would like to know the difference between the execution of the Alter Table clauses when entering the ADD CONSTRAINT , for example by executing the following code: ALTER TABLE Orders ADD FOREIGN KEY (PersonID) REFERENCES Persons(...
asked on 31.03.2017 / 22:00
2
answers

printf in Java - What is% 3d for?

I'm seeing a java arrays exercise, but I can not figure out what the %3d is, if it's a int . for (i=0; i<n; i++) { System.out.printf("a[%d] = %3d b[%d] = %3d\n", i, a[i], i, b[i]); }     
asked on 12.02.2016 / 18:25
2
answers

What could justify the leap of a number in a versioning system?

I noticed that the much-touted PHP 6 was canceled. Then, mysteriously, version 5 jumped straight into version 7. I then had a question about the development of libraries and their versioning numbers: Is there any plausible justification...
asked on 19.01.2017 / 12:57
2
answers

Good practices when creating elements with jQuery

When I need to create elements in the DOM using jQuery, I usually use the following syntax: $('<div>').addClass('minha-div').attr({id: 'id-da-div'}); However, what I usually see in online tutorials is a bit different. Usually it is:...
asked on 17.07.2014 / 14:16
2
answers

Risk in allowing developers to upload .blade files

I'm developing a blog platform where users submit their template and Laravel uses that template to build the blog. The user / developer will only tell you where the values will be, for example: <h2>{{$blog->title}}</h2> Can I...
asked on 11.11.2014 / 19:10
3
answers

How to list the variables defined within a scope in JavaScript?

How do I know / list which variables have already been defined within a scope, whether global or local? For example if I set var x, y, z = 10 , the result of a possible command to list the already defined variables should be something l...
asked on 03.05.2014 / 23:22
2
answers

How to show the youngest age between 3 ages with Javascript?

How can I show the youngest age between 3 ages in javascript? <html> <head> <title> </title> <script type="text/javascript"> var idade1, idade2, idade3 ; idade1 = prompt("Digite...
asked on 14.10.2016 / 16:59
2
answers

CSS or JQuery for animation

When it comes to animation, which one should I use? Which is the lightest? Is it possible to do the same animations in either one?     
asked on 21.02.2015 / 19:29
2
answers

What is the difference between static and dynamic linking?

Recently, researching why small codes in Go have a much larger executable than the same C-generated code, I've read one response stating that the reason is for Go to use linking static , unlike C, which uses linking dynamic . What exact...
asked on 26.08.2016 / 22:25