All Questions

4
answers

Why is Artificial Intelligence and Machine Learning different? [duplicate]

When looking for specialized programming courses or with market demand, two of them stand out: AI - Artificial Intelligence (AI) AM - Machine Learning (or ML - Machine Learning). In my view, ML could be a subcategory of AI. So why is...
asked on 16.01.2017 / 12:33
5
answers

Skip Registration within a while

I would like to know how do I skip a record within a while? For example, when type is 2 it jumps while($pessoa = mysqli_fetch_object($query)){ if($pessoa->tipo == 2){break;} //continua a exibição de pessoa } However, when running th...
asked on 16.06.2017 / 19:42
4
answers

Insertion of point every 5 characters

I have the following string: "AAAAABBBBBCCCCC" There is a script that places a "." every 5 characters? In case this script would return: "AAAAA.BBBBB.CCCCC."     
asked on 20.12.2014 / 04:31
6
answers

How to invert the position of a div (and its contents and attributes) with another div?

I want to do this with jQuery, what is the most elegant way to do this? Assuming the following scenario, what would happen if I wanted to change position to div2 with div3? (I will not post my actual code that is too large) <body>...
asked on 19.12.2013 / 18:40
1
answer

Masks with jQuery: Phone, CPF and CNPJ

I need to create some masks for CPF, CNPJ and phone. The problem is that I've never used jQuery and I've never done any of this before. I would like somebody to help me because I looked for some things on the internet, like jQuery Plugin Mask, b...
asked on 30.06.2016 / 19:31
6
answers

How to get weather and weather information?

I came across a problem I'd like to see if it can be solved in a similar way to the mail . When you have a zip you can retrieve from a web service other data, such as the address and city of this zip informed. In terms of climate, is there an...
asked on 08.03.2016 / 20:56
2
answers

Format a CPF string?

I have a problem, in an app the user types the CPF, but only the numbers because it is very complicated to create a mask in Windows Phone, and that CPF will be 'drawn' in an image of a card, and to be more pleasant I need to draw it with its nor...
asked on 18.07.2015 / 23:37
1
answer

Broadcasting with Laravel

I'm creating a chat and for this I need to do a real-time mode so I do not have to be pinging several times on the server SignalR that does this service, I'm working with Laravel-PHP and read the documentation Broadcasting , but I...
asked on 17.07.2018 / 19:43
0
answers

How to learn object orientation correctly? [closed]

Much of the "OO" code you see is procedural. I have already committed and continue committing several "sins" per day by programming OO. The paradigm is not easy to learn and takes time, meanwhile several errors are committed and the code's ma...
asked on 11.12.2018 / 00:24
2
answers

Problem with return of a Java method

This method is giving problem in return. An error message with the following statement missing return statement is appearing. Could someone tell me a solution? public String adicionar (String nome) { if(getNumLugares() < getNumDePassa...
asked on 29.10.2017 / 04:55