All Questions

2
answers

What is the function of the semicolon in Python?

I found some codes that had variables inside classes, ending in semicolons. I did not understand why, and also did not find anything on the internet about it. class exemplo(): self.variavel_teste = 0;     
asked on 13.09.2018 / 16:13
6
answers

How to go through an enum?

I need to do the following: Pass a string and go through it and take each letter found and add with its corresponding value, type: a = 1, s = 19 and so on. Well, I made a enum with all values of string , starting with a =...
asked on 06.07.2015 / 12:34
2
answers

What would Win32 be?

In many places on the internet, I see the expression Win32 but never an explanation about.    Win32 applications, etc. I have always associated with 32 bits , but I do not think it has anything to do with it. A Windows game that uses mor...
asked on 05.10.2014 / 19:48
3
answers

Boleto Bancaria - Convert Bar Code on Line

I'm doing bank draft bar code reading, but I've found that the bar code does not exactly correspond to the digitable line (also called line code, numeric code, or IPTE). According to a Bank of Brazil document:    4. Scanning Bar - Numeri...
asked on 30.07.2014 / 19:50
1
answer

Right on the code [closed]

Imagine the following hypothetical scenario: Company X hires a freelance to develop a system, is freelance entitled to the code? For example, if freelance would like to sell the system in the future? What if modifications are made to the orig...
asked on 31.05.2017 / 16:07
1
answer

What is the difference between Less and Sass?

What is the difference of each and advantages and disadvantages?     
asked on 03.09.2014 / 03:16
3
answers

Facilitation in projects with PHP

I work with PHP using Sublime Text and would like something similar to what it's like in Eclipse. For example: In Eclipse I can open exactly where the method was declared. In Sublime Text I did not find any similar option, I use the shortcut...
asked on 28.03.2017 / 19:58
2
answers

Difference between ".attr ()" and ".data ()"

Note that there is a difference between updating or applying a data attribute using the jQuery method .attr() and the method .data() . The examples below can be seen in this JSFiddle . Apply value to non-existent...
asked on 14.01.2014 / 18:38
3
answers

What is the charset meta in HTML?

Can someone explain this HTML5 code to me? <meta charset="utf-8"> What is the purpose of this standard and why is it used?     
asked on 05.04.2014 / 23:04
3
answers

Controller returning HTML to View is wrong?

I used this solution because when trying to render a table in a view with many records the user's browser gave Crash, I know it's a not very elegant solution but it was the only solution that came to mind. (In this view I have to load all recor...
asked on 27.08.2014 / 14:07