All Questions

1
answer

What does L, R, NC mean in HTACCESS?

I did not understand the operation of the L flag very well. Doubt arose when I was trying to use the following script: #quando vier o "public" na url, reescreve para folder/public RewriteRule ^public/(.*)$ folder/public/$1 [NC] Rewri...
asked on 23.03.2015 / 13:30
2
answers

What are the advantages and disadvantages of using explicit transaction

Besides security, what is the advantage of using explicit transaction? In what situations is it recommended?     
asked on 24.06.2014 / 15:41
2
answers

Entity Framework 6 does not create database

I created a C # WEB MVC5 project in Visual Studio 2013, installed the entity framework 6 and created my classes ("entities") as well as the DBContext with their DBsets. Within WEB.Config I configured my connection string and in the DBContext...
asked on 26.11.2014 / 11:52
4
answers

Generate sequential IDs without losing the sequence

By Identity do not want to, because it breaks the sequence if something happens. Max() + 1 , I find it very vulnerable and slow when I have many records. So I ask, is there a way that someone knows, that I can generate sequential n...
asked on 05.06.2014 / 20:33
1
answer

How to request evaluation in the android application in java?

What is the best way to request android app evaluation? Eg if the user chooses to evaluate it is directed to make a review of the app in google play.     
asked on 21.12.2014 / 00:53
1
answer

Source code is displayed on screen and does not run

A code of mine gave me a problem and a few excerpts from it appeared on a blank screen when I ran: Thecodewasright,Ididnotknowwhattheproblemwas,soIwenttotestanothercodethatafewdaysagohadworkedperfectly(Ididnotmodifyitinanyway,Ididnotevenopent...
asked on 28.04.2015 / 01:58
8
answers

PHP does not send accents to Mysql bank

Good afternoon, guys! I installed the OCOMON 2.0-RC6 Help-Desk system and I'm having the following problem: PHP looks for the bank's accented words and displays them normally, this proves that the bank accepts accents and 'ç' and PHP displ...
asked on 07.08.2014 / 20:48
1
answer

Why is a FOR of the loop faster than 10 FOR together

I made a for alone count to 1000000 (sending 1 message to each loop ) and it took 14 seconds. public class main { public static void main(String[] args) throws InterruptedException { long init = System.currentTimeMillis();...
asked on 07.07.2015 / 03:46
2
answers

Verify that the string is null or empty

How do I check if my variable is empty or null? // Inserção Nome = tf_Nome.getText().toString(); Tipo = tf_Tipo.getText().toString(); Estoque = Integer.valueOf(tf_Estoque.getText().toString()); Preco = Double.valueOf(tf_Preco.getText(...
asked on 08.10.2014 / 18:46
3
answers

Working with OCR to recognize photos

I am currently working on my Course Completion Work and the subject involves OCR. I did some research and found the Tesseract , I also found libraries in Nuget for it (I'm using C #). The problem is that my work is about reading Car Plate, when...
asked on 28.08.2014 / 13:54