All Questions

1
answer

How to implement a process queue in Delphi 6?

How to implement a process queue in Delphi 6 as the TThread.Queue of the newer versions? What I need is to implement a queue for logging with Delphi 6. In newer versions I have the ability to use: procedure TFormClient.QueueLogMs...
asked on 25.06.2014 / 15:53
2
answers

"Break" or "return false"?

Within a function there is a repetition structure, how much processing savings, which one is the best? JavaScript function minhaFuncao(boom){ for(i = boom; i > 10; i--){ if(i < 0){ break; } } }...
asked on 10.07.2014 / 02:56
1
answer

Filtering certain elements of an XML

I have the following weather forecast report generated by a third-party API: link If you repair the structure well we have the forecast set for every 3h. <time from="2014-06-15T00:00:00" to="2014-06-15T03:00:00"> <time from="2...
asked on 15.06.2014 / 04:08
1
answer

PHP (setcookie) vs header (header)

I see some frameworks, CMS and the like, write cookies directly in PHP with setcookie and others stock to emit in headers at the end of execution. I would like to know how to create a pattern for creating cookies.    PHP     ...
asked on 30.07.2014 / 09:39
3
answers

How to make empty () accept the value 0

I have a registered where I check if the fields are filled, in some of the fields one can only put the digits 0 through 9. But if the person puts 0 of it as if it had not filled anything. This is done by checking empty() . A small sn...
asked on 24.06.2014 / 16:25
1
answer

How do I access a dynamically generated element (or its values)?

I know that it is possible to use on() and delegate the selector, so it accesses the dynamic element from a static element, but if you can not use on() , what to do? For example, within any function I need to get the id of a dyna...
asked on 10.07.2014 / 02:45
1
answer

Django - Editing Tables (Update)

In my application I have a function fetch a person by name and edit data of a registered person ... When I search and there is more than one person registered with that name (or even when there is only one person), the search details are retu...
asked on 10.06.2014 / 21:12
1
answer

Problem in coding Strings Qt

I'm having a problem encoding strings in Qt . When I show something in a QMessageBox or give drawText to paintEvent , my strings are badly formatted, as if they were not in the correct encoding. Here's how it appears...
asked on 15.06.2014 / 04:17
1
answer

What are the Android SDK Extras?

I would like to know what each of the options in the SDK "Extras" is, to see which ones to install (some I know more or less, I'm not sure). Android Support Repository Google play services for Froyo Google Repository Google play APK Ex...
asked on 07.07.2014 / 03:41
1
answer

WebWorker and Async - What's the difference and when to use it?

I'm specifically studying a WebWorker implementation, and I did not quite understand the difference between WebWorker and Async in JavaScript, whereas WebWorker gives me an asynchronous solution with a better (or better) code organization....
asked on 27.04.2017 / 16:08