All Questions

3
answers

"href" attribute for JavaScript links: "#" or "javascript: void (0)"?

Popularly, there are two methods of creating links that execute a function in JavaScript, they are: <a href="#" onclick="myFunction();">Executar JavaScript</a> or <a href="javascript:void(0)" onclick="myFunction();">Exec...
asked on 21.12.2013 / 02:50
1
answer

What is orthogonality?

Within the context of software development what does it mean to be orthogonal? Why is it important to follow it?     
asked on 06.04.2017 / 13:43
4
answers

How to package and distribute a web system?

I need a web system, including the PHP server itself, as well as MySQL to be "packaged" in an executable file, which allows the lay user to use it in a kind of browser of their own. What steps would you need to take to make this system distribut...
asked on 07.01.2014 / 03:24
4
answers

React Native or Ionic?

I need to create an App and would like to know which of your technologies is the most suitable for mobile development today. What is the main difference between ReactNative and Ionic? Which of the technologies is the most performative? W...
asked on 07.12.2016 / 12:36
2
answers

What is the difference of $ (this) and $ (event.target)?

Well, a question arose while I was tinkering with jQuery and the code worked perfectly in Chrome using the $(event.target) event, already in Firefox it only worked with $(this) , so that doubt arose. What is the main difference betw...
asked on 19.02.2015 / 12:29
1
answer

How important is it to implement the hashCode method in Java?

How important is it to implement the hashCode method in Java? How does the hashCode method differentiate two objects?
asked on 31.03.2014 / 16:03
3
answers

What is the difference between the PUT method and the POST?

Some teach that POST is to send data to create something and that PUT is to update, but I found it poorly explained. So, what's the difference between the PUT method and POST? When should I use one and the other?     
asked on 16.10.2015 / 21:36
3
answers

What HTTP status should I use for when a parameter is missing from POST?

I have a form that will be submitted to the server via ajax, using a plugin for this. When the form is not filled correctly (in case when missing a mandatory parameter), I want to return a JSON with an error message and an error status, so that...
asked on 28.02.2014 / 22:16
0
answers

Why do PostgreSQL cost estimates go so wrong?

Someone could help me understand why Postgresql missed several cost estimates in an experiment I did. I'm doing an experiment with 22 queries from the TPCH Benchmark [1], to check the performance of indexes in queries. Of 22 queries, only...
asked on 23.08.2017 / 06:24
5
answers

Is there a sudo for Windows?

Normally it is easy to open a program / script .bat with elevation using the "Run as administrator" option of the right button. But what if I want to run something with elevation from cmd , a kind of sudo , how to?     
asked on 17.06.2014 / 16:52