All Questions

1
answer

Query to join one column from another

I have tried unsuccessfully to get a result. I have the table with the following Login and Logout information: |Group |User |EventDate |Event |Camp ------------------------ |Evolution |1012 |2014-07-07 10...
asked on 08.07.2014 / 17:40
2
answers

How to do an optimization with restriction of inequality?

Suppose I want to minimize the following function: -(5-(x1-2)^2-2*(x2-1)^2) s.a. x1+4*x2 < 3 For unrestricted optimization problems I can use the following code. fr <- function(x){ x1 <- x[1] x2 <- x[2] -(5-(x1-2)^2-2*(x...
asked on 05.04.2014 / 00:03
1
answer

Message "Could not reserve enough space for object heap" in the JVM

So I wanted to know what the limitation is for memory allocation to the JVM depending on the operating system and processor architecture. If you configure it, lower the maximum value of the perm-size to a lower value, can you further increase th...
asked on 25.08.2014 / 19:30
3
answers

Why does not IDLE automatically stop running the program?

I think it's more out of curiosity. Unlike other IDEs, IDLE keeps the program "open" even after the end of its execution, while in other IDE's I need to put something like 'input ()' at the end so the program will not be terminated until I enter...
asked on 16.08.2014 / 15:13
2
answers

How to make a fixed and retractable baseboard similar to the Earth Portal Economy page?

I have the idea of building a fixed footer on the page similar to the portal Terra de Economia. Such functionality will allow me to expose a chat in this space. I like the Earth solution because it is possible to retract the object and still...
asked on 19.03.2014 / 13:51
1
answer

Problem in thread execution, using flags

I'm having problems understanding the code completely because I'm new to using java in thread. What code will do is to control the flow by doing 55 iterations by dividing the thread and main program: Resultado: Main Thread.: 1 New Thread..: 2...
asked on 08.04.2014 / 00:35
1
answer

How to use a Lua variable in C ++?

I can not get value from an array in Lua to use in C ++. So I get the value of the variable M : //No LUA M = 85 //No C++ L = lua_open(); luaL_loadfile(L, "teste.lua"); lua_pcall(L, 0, 0, 0); int m; lua_getglobal(L, "M");...
asked on 14.08.2014 / 01:52
2
answers

How to create a View for this Model case?

I've been trying to work around this issue (#) into a problem I'm having but I'm not getting a positive result. I'm getting an array with on's variants instead of getting an array with id's , as I imagined it to be. I have the following...
asked on 23.03.2014 / 16:22
1
answer

Code-golf - the description is the program [closed]

It will be accepted at most an include (or file of resources etc) that is native to the language (which will probably be what will make all the interesting part) and the problem description should be the code of the even. An example in C:...
asked on 31.07.2014 / 04:50
2
answers

Insert image into SQL SERVER2008 database using image path

I'm starting in C # and I'm having trouble inserting into a picturebox an image as in the image below: The above screen is a photo record, and the browse image button works, but I do not know how to capture the path of the image to writ...
asked on 13.12.2014 / 19:26