All Questions

1
answer

Thread control to prevent lock

I'm starting a crawler project and the idea is to download all content from a particular website. It already has some "usable" features. What is killing me is, I am doing it multithread, however the threads in a moment stop and I do not know h...
asked on 30.03.2016 / 16:23
1
answer

CUDA and OpenCL recursion

Is it possible to work with recursion in parallel when working with technologies unique to multielement using the video card as instrument CUDA and OpenCL ? if so, how do we synchronize and pass values, if not how to simulate this r...
asked on 23.05.2015 / 16:51
1
answer

What is the difference between KnockoutJS and AngularJS / EmberJS?

What's the difference between KnockoutJS and AngularJS / a href="http://emberjs.com/"> EmberJS ? From what I've been researching: Apparently KnockoutJS has a much smaller learning curve, can be integrated into existing static sites and...
asked on 11.07.2014 / 13:12
1
answer

How could I improve the code for this paging control?

I mounted a paging control for a blog that I'm putting together, but I'm not sure if I did it the best way, I tried to copy the paging control of Stack Exchange sites. Could you guys take a look and tell me what you think? A screenshot of h...
asked on 23.11.2015 / 02:10
2
answers

Deny / hide access to files that start with dot, such as .git, .svn, .DS_Store, .yml

By default Apache denies access to files whose name begins with .ht , such as .htaccess : <Files ~ "^\.ht"> Require all denied </Files> But I notice that many files use the prefix . , like .gitignore...
asked on 03.05.2017 / 17:54
1
answer

Switching from 16 to 64 bits during the boot of an Intel compatible PC

Some time ago I studied to create a draft operating system for Intel compatible PC computers, which really did not have to do much, besides putting the computer in 32-bit mode, handling the keyboard interrupts, and (at the time) of the serial po...
asked on 28.04.2014 / 22:45
3
answers

How to make a POST that passes beyond the form, a file?

My question is this: I can move to the controller OR the file OR the form. I was wondering if there is any type (same FormCollection, however this apparently only gets the form itself, the files posted together does not) that it receives both th...
asked on 24.07.2014 / 18:53
1
answer

What is the difference between @PostConstruct and the constructor?

What's different about using the @PostConstruct annotation instead of using constructor method and its advantages? I ask based on these two versions of the same class that only differ by this annotation. Before @Repository public class Old...
asked on 14.04.2015 / 19:41
1
answer

XML documentation

I develop a framework in PHP and would not like to comment on the code of the framework directly in the classes, for several reasons. So I would like to know if there is an editor that reads the documentation from an XML or something similar,...
asked on 13.08.2014 / 02:44
1
answer

What is the difference between event and delegate?

I have already understood how delegate and event works, but I have not seen event utility. For example: public delegate void ChangedEventHandler(object sender, BaseEventArgs e); public ChangedEventHandler Changed; The c...
asked on 04.04.2015 / 17:37