All Questions

3
answers

Error in line 0 (zero)? How can this be?

In PHP, when an error occurs, usually the line of the script where the same occurred is informed:    Undefined index 'a' in line 5 But there are times when error 0 is returned at line 0. Example:    Fatal error: Call to a member fun...
asked on 12.05.2016 / 15:24
1
answer

Why is not javascript "{} + []" equal to 0?

I was watching a video that was shown to me by the user @CiganoMorrisonMendez , called WAT . There were some examples where they showed some bizarre things in some languages. In particular what caught my attention was this line of J...
asked on 16.05.2016 / 16:53
1
answer

Close console window in C

I need to create the old woman's game. I want to know how to close the black little window that appears without needing to click any key, for example: When you run the program it appears:    1 to play       0 to exit If the user types 0,...
asked on 15.06.2016 / 23:36
1
answer

When to use WITH (NOLOCK)?

Select * from MinhaTabela with (NOLOCK) I know colleagues who always insert the With (NOLOCK) clause in their selects and I know others who preach that NOLOCK is bad practice and should never be used. Some claim that with NOLOCK we hav...
asked on 20.05.2016 / 21:33
1
answer

Get image data

My system must process some images and get key data in text. Of course, the images will follow a style pattern. Where can I start? Is there any API that can help me?     
asked on 26.06.2015 / 21:40
2
answers

How to create progress bar for file upload via the Google Drive API

I'm uploading a file to Google Drive through their API. request.Upload(); is delaying with no return. How do I make progress? It can be with for even without graphical interface. Shipping method: public static File UploadFil...
asked on 17.06.2015 / 21:02
1
answer

Error importing Dynamic Json via AngularJs

Hello, I'm having trouble importing this Json and others, I do not know what I might be doing wrong in this ... <html> <head> <script src="https://ajax.googleapis.com/ajax/libs/angularjs/1.2.23/angular.min.js"></...
asked on 10.07.2015 / 14:36
2
answers

Software Release by Customers

The system I develop has several customers who use it. But I have a problem which is this: if I release a new version of the system, I upload it to ftp , all clients that use it have access to this new version and the system is updated. I do...
asked on 16.07.2015 / 23:05
1
answer

Pass variables with same name to PHP

I can not get the field return in PHP, when I enter more than 01 in quantity .... can anyone help me? $(function() { var input = $('<input name="cp1" id="cp1" type="text" />'); var input2 = $('<input name="cp2" id="c...
asked on 03.07.2015 / 21:42
1
answer

How to change location in PostgreSQL

My database has locale en_US.UTF-8 , I need to change it to pt_BR.UTF-8 for query sorting. How can I do this with only phpPgAdmin ?     
asked on 30.06.2015 / 20:04