All Questions

1
answer

Docker vs. Vagrant, what are the main differences?

I recently had an outburst of interest in the Docker tool. I am aware that Docker and Vagrant are virtualization solutions, however, with different approaches. In my study, some doubts were raised about Docker. According to this content li...
asked on 17.05.2017 / 16:52
3
answers

Execute PHP function asynchronously

Using PHP, is it possible to perform a function asynchronously? Example: The client makes a request to the server, in this request PHP executes an asynchronous function that can take a few seconds, but before it finishes, the server respon...
asked on 01.08.2014 / 13:51
2
answers

What does "!" mean before a code snippet?

There are many basic things that I do not know, for example how to read exactly this exclamation in the following way: if (!(periodoAnterior.Equals(dataReader["NOMEPERIODO"].ToString()))){ //... } Can anyone explain me? And taking advan...
asked on 25.04.2014 / 19:16
3
answers

Doubt about the responsibility of a get ()

Is it acceptable to have a getter method that gets a parameter to be able to have a return variance? Example: getAllNome("M"); <- retorna tudo que for masculino. getAllNome("F"); <- retorna tudo que for feminino. getAllNome(); <- re...
asked on 28.03.2014 / 21:12
1
answer

Discrepancy execution times in parallel programming

I made a parallel code in C to verify its execution time. It was treated: Threads; Mutex; False Sharing; Synchronization. When running time of Linux with code execution, it was generally possible to compute at the following t...
asked on 22.02.2014 / 15:16
3
answers

Subqueries can decrease performance? Myth or truth?

Well, I usually only work with frameworks . I work with frameworks MVC and I usually use the ORMs to query the database. In my case I use Laravel, but I've used other frameworks , and had the recent opportunity to get to know the Entity F...
asked on 01.07.2016 / 21:37
1
answer

How does the merge work?

I created another branch as a backup and I give merge to it, suppose I am in branch daniela3 : git merge origin/develop Only my branch daniela3 will be affected or origin/develop too? I mean, I'll be joining...
asked on 02.03.2015 / 14:55
1
answer

What do I need to sell a system in C #

If I want to sell a system as stand-alone in C # language, do I need some microsoft license? Any special records? Any specific contracts? Do I have any limitations?     
asked on 27.03.2014 / 20:21
1
answer

Why does the compiler require local variables to be initialized and fields not?

The question Why do you usually declare a variable with default value? addresses the issue of whether to initialize or not a variable before using it. However this option becomes mandatory when it comes to a local variable. A field is autom...
asked on 04.07.2017 / 16:29
3
answers

How to work around poor rendering of a font in Internet Explorer?

I'm using a font-kit generated in Font Squirrel and I'm getting different results in the Mac OS X and Windows environment. Would there be any way around the bad or different rendering of the Internet Explorer font? In Mac OS X: InWi...
asked on 16.12.2013 / 12:18