All Questions

4
answers

Help in refactoring the jquery code

$(".img1").mouseenter(function() { $(this).css('box-shadow', "inset 0 0 20px black"); }); $(".img1").mouseout(function(){ $(this).css('box-shadow', ""); }); $(".img2").mouseenter(function() { $(this).css('box-shadow', "inset 0 0 20...
asked on 03.12.2015 / 13:44
1
answer

If the field has DEFAULT should it be NOT NULL?

Situation I was adding a few more columns to a table and fell out of this thought. By default we leave all fields with NULL value, however if it has a DEFAULT it will insert DEFAULT instead of NULL . Question...
asked on 20.10.2015 / 17:12
4
answers

Increase image when user clicks JS

I would like help with a problem I'm having: I'm doing something similar to a gallery, and when the user clicks on the image it has to open in full size, not the whole screen, but it covers a good part of the page. Also, I need it to center....
asked on 06.01.2016 / 14:53
1
answer

What are PEP's in Python?

I was researching about Type Hints in Python and came across this page. PEP 0484 - Type Hints What would this PEP be? Is this some kind of proposal for the next versions of the languages?     
asked on 11.01.2016 / 15:54
2
answers

When should I use GC.SuppressFinalize ()?

In .NET, under what circumstances should GC.SuppressFinalize() be used? What are the advantages of using this method? Note: I found the answer in the SO-en: When should I use GC.SuppressFinalize ()? As I did not have something r...
asked on 08.12.2015 / 14:35
1
answer

What causes a popup to be blocked?

I have noticed that some libraries, such as login with facebook, always use popups for user authentication, and almost always, this popup is not blocked. Generally, when it is opened with a click event there are no locks. And when we use w...
asked on 16.11.2015 / 18:28
1
answer

What is the purpose of using inline functions in the C language? [duplicate]

I would like to know what is the purpose of inline functions in the C language? Is there any performance difference or other features that should be taken into consideration compared to common functions? Example of an inline function...
asked on 30.01.2016 / 23:10
2
answers

How to know the day of the week in R?

Is there a package or function in R that lets you easily get the day of the week from the dates? datas <- c("2010-06-28", "2011-05-25", "2010-09-28", "2011-12-05", "2010-09-14", "2010-01-01", "2010-01-02", "2010-01-03", "2010-01...
asked on 20.01.2016 / 14:46
2
answers

Filter 5GB CSV file in R

I'm trying all ways to tinker with a 5GB file for my monograph. The code I'm trying to get into the R is as follows: > write.csv(subset(read.csv("enem.csv", header=TRUE), UF_ESC=="SP"), "filtro.csv", row.nomes=FALSE) I've tested with...
asked on 17.01.2016 / 01:53
3
answers

BD for distribution along with java application

Good evening guys, I have a small JAVA application in which some data is inserted. I would like to distribute it with a DBMS that does not require downloading and installation / configuration. I've been researching and found HSQLDB, but I hav...
asked on 05.11.2015 / 04:33