All Questions

2
answers

Why does Value in Spring MVC require an asterisk?

Why do I need to put * in value when there is nothing left? I mean, before using Spring MVC it worked without problems only as /planilha/ . getPlanilha works correctly but if it has the same RequestMethod and con...
asked on 31.03.2015 / 15:23
3
answers

OpenCV haartraining - Out of memory

I have 30 positive images and 60 negative images. When I tried to run haartraining with 4GB of memory and Quadcore processor, I get this error message: OpenCV ERROR: Insufficient memory (Out of memory) in function cvAlloc, cxalloc.cpp(111) T...
asked on 20.11.2014 / 12:39
2
answers

C ++ - Size of an array pointer

I have an array: char *exemplo[] = {"item1", "item2", "item3"}; And a function: void myFunc(**myArray) { } So, I want a function that returns the size of this array that I passed as a parameter. For example if I pass the array exem...
asked on 16.05.2014 / 21:18
1
answer

How to execute inline assembly in a code with variables in C?

From an example of a book, I was able to run the following assembly code (AT & T) with the gas, which returns a message with the name of the processor: .section .data output: .asciz "The processor Vendor ID is '%s'\n" .section .bss ....
asked on 08.02.2015 / 00:46
2
answers

Why is the path not recognized by Silex when there is a slash "/" at the end of the requested url?

I'm starting my MVC studies with silex today, but I'm having trouble creating routes by accessing addresses containing a slash at the end. Example: http://site.com.br/home/ I have already been able to access the url only in the http://si...
asked on 31.10.2014 / 20:23
1
answer

Implications of using inner join and left join on the same select

I have some stored procedures in a SQL Server 2008 R2 database, these stored procedures have several joins , in some cases I used the < , inner join and left join , for example: Tabela Pessoa | IDPessoa | Nome | | 1 | João | |...
asked on 17.12.2014 / 00:55
2
answers

PHP: Upload file

I'm here with a problem uploading an XML file in PHP. I have a form that allows me to select a file: <form id="upload" action='' method='post' enctype="multipart/form-data" > <input id='uploaded_file' type='file' name='uploade...
asked on 12.05.2014 / 18:52
1
answer

DIV activating scroll in another DIV even with different sizes

I have two div of the same height, but with different contents. And when I do the scroll in one, I wanted the other to go in the same (or at least close to the same) position. The problem is that their contents do not have the same...
asked on 07.05.2014 / 18:29
2
answers

Web application running in background

I'm working on a Java web application, and I'm creating and planning some specs. In some specific modules I need some executions running in the background on the server. For example, the user sends a file to the server with a request for proc...
asked on 15.08.2014 / 21:31
2
answers

I know the value of the variable, but the switch only goes to the default

After a search, I get the following result: // O resultado desta linha é I ou II ou III; echo $subsecao; // O resultado desta linha é string; echo gettype($subsecao); // Faço um switch p...
asked on 22.04.2015 / 14:55