All Questions

1
answer

What does handshake mean?

While studying about WebSocket , I read the following sentence:    Your only relationship to HTTP is that your handshake is interpreted by HTTP servers as an upgrade request. In this context, what does handshake mean? In practice, w...
asked on 31.01.2017 / 15:25
2
answers

What is typing style?

On Wikipedia, on the C # page says about the "typing style" of the language:    static and dynamic, strong, secure and insecure, nominative,   partially inferred What is typing style? What do the above terms mean?     
asked on 16.03.2017 / 04:50
2
answers

Using DTO and ViewModel in ASP.Net MVC Project

I have an ASP NET MVC 4 project with the following projects: Domain Repository Contracts (interfaces) DTO's And the web project The web project "sees" only the repository project and it is responsible for executing the business ru...
asked on 18.09.2014 / 16:33
3
answers

Variable in main is global?

I have read that global variables are those that we declare out of all functions using #define and that way they could be used by all the functions of a program. However, I was informed that the variables declared in main are globa...
asked on 28.08.2015 / 03:18
2
answers

Why does my try / catch only accept "Exception e" (Generic)?

I want to specify the exceptions, not this generalized way, however, item.write only accepts Exception e public File saveFile(FileItem item, File dirFile, String filename) { dirFile.mkdirs(); File file = FileUtils...
asked on 18.03.2015 / 19:00
2
answers

Is there a specific rule for commit messages in versioning systems such as Git?

The people here where I work, for a certain period, used to not call the messages they wrote by making a git commit here. It seems that Git was simply "a place to save things so you do not miss the changes". So, when I needed to che...
asked on 25.04.2016 / 20:05
3
answers

What does% = mean?

I have a code that contains the situation below: id %= 1000 But I do not know the function of this operator.     
asked on 19.11.2015 / 13:48
1
answer

Date problem with globalize.js and jquery.validation.globalize.js. How to solve?

I'm having problems with the date fields of my application. Followingthisresponse,whichIfoundtobethemostappropriate, Error message in datetime field , I set up my ASP.NET MVC application as follows: I installed the jquery-globalize packag...
asked on 28.04.2015 / 15:48
5
answers

Turn HTML into PDF

I noticed that on Banco do Brasil's website it is possible to choose the output format of a proof of payment in txt , pdf , csv without having to resubmit the page. Is there any library that will convert the html displayed on...
asked on 13.07.2015 / 14:12
3
answers

PHP + Delphi (Pascal), issue real-time warnings

I would like to create a small, simple system, encoded in the Pascal language (IDE delphi), to receive notifications (such as a warning that some event occurred), when the warning sounds. I understand little of Delphi, it was one of the langu...
asked on 19.10.2015 / 00:16