I have some doubts about the representation of some fields in the database. How do I store fields as "sex" in tables in the database? In the literal form "masculine" and "feminine" or through numbers that represent each sex as "1" and "2", respe...
In my studies of javascript with Jquery framework , I have come across several times with $.when() and .then() aligned. I wonder how they work together. an example that I came across was the code below.
$.when(loadView, setData)...
I have a web app that runs several ajax calls . My faculty professor challenged me to create a generic message and unite the entire error handling in a single function. Can anybody help me ?
function getShoes() {
$.get( "/Shoes/List", fu...
I have installed Resharper and in this section x.Id.ToString() it suggests changing to x.Id.ToString(CultureInfo.InvariantCulture) .
What is CultureInfo.InvariantCulture and why is it better?
I may be wrong, but I get the impression that, in practice, the default in MySQL is to use columns of type TINYINT(1) to store boolean values, true / false or 0 / 1 . Only TINYINT accommodates up to 1 byt...
I have a problem with connections to ssl sockets in python
When I perform a stress test on the SMTP daemon that I am writing the client some sending threads die with " Connection reset by peer ", but server side does not there is no exceptio...
With the growth of web many people have abandoned desktop development, but some interesting technologies have come out, such as Electron :
Electron lets you create desktop applications with pure JavaScript through
of a runtime wi...
I'm having to use methods from a DLL that was developed by third parties. I have only the ".DLL" file.
The DLL documentation is scarce ... there is an example of executing the method I need in VB
Private Const TamMsgErro As Long = 1000
Dim...
When I use type ENUM because until today where I saw this type being used it could be replaced with VARCHAR or even with a simple CHAR , I can not see a case where it really is needed ? A practical example would be useful.
...