All Questions

2
answers

How to manage my message flow?

I have this JavaScript code that represents my connection to the WebSockets server, where it receives and sends messages to the server: var connection = new WebSocket('ws://127.0.0.1:2333'); connection.onopen = function () { // abriu a conexã...
asked on 24.07.2015 / 17:44
1
answer

Convert int or string to enum

How to convert variables from types int and string to enum ?     
asked on 13.11.2015 / 14:52
5
answers

How to create buttons to increase / decrease font?

I would like to implement accessibility features on the company website that I work with. I was able to implement the contrast button, but I'm having a hard time doing the increase / decrease and default font size. Testing new projects the...
asked on 08.12.2015 / 19:59
1
answer

Why NodeJS has 4.x, 5.x, 6.x and 0.1x.x versions, etc.

Why Node.js exists in versions 4, 5, and 6, but also exists in 0.x.x versions. Or maybe, what are the differences between x.x and 0.x.x ?     
asked on 10.05.2016 / 03:07
1
answer

What is the set used for in Python?

What is and what is set in Python? test = set([1, 2, 3]);     
asked on 31.07.2015 / 21:10
1
answer

How to represent the MVC classes in the UML?

How to represent the mvc model classes in the UML? A colleague told me that he just puts Control in his modeling. Is this correct? Another question would be if I need to put the connection class with the bank.     
asked on 27.11.2016 / 00:00
2
answers

What is and how to use ListViewAnimations? [closed]

I wanted to understand what ListViewAnimations is (a component, a Framework?) and how it works.     
asked on 11.09.2016 / 16:10
1
answer

When should I use the "?" operator in C?

When should I use the ternary operator ? in C? #include <stdio.h> int main(void) { int valor, resultado; printf("\nValor: "); scanf("%d", &valor); resultado = valor < 10 ? 50 : 0; printf("\nResultado...
asked on 13.10.2015 / 19:20
1
answer

What are the main differences between VB.NET, VB6 and VBA?

What are the main differences between VB.NET, VB6 and VBA?     
asked on 18.09.2016 / 22:59
1
answer

How does logic work to figure out the size of the image?

In PHP and other programming languages, it is possible, through some special functions, to find out the size of the image. For example: list($width, $height) = getimagesize('images/icon.png'); I was curious to know how languages do this....
asked on 22.06.2016 / 17:11