All Questions

3
answers

What JSON structure to use for large data volume without loss of performance?

I'm thinking of using JSON in a project, as it is highly accepted and there are many ready-made libraries that encode and decode it into other objects (arrays, for example), but there is something that worries me. Suppose a Web Service return...
asked on 14.11.2014 / 02:28
3
answers

String Search

I have a dynamic size String and need to search the "#" all characters until the next blank space. I tried to use split, but without success. String texto = "oi tudo bem como vai #01?"; String[] t ; t = texto.split(texto);     
asked on 18.04.2017 / 16:36
2
answers

Good CSS practices for Responsive Height. Is it armengue or not?

I made this code that makes height responsive, it fits according to the size of the viewport. (Run the snippet and resize the screen.) Since html and body have a height: 100% , I set up a basic skeleton with 3 di...
asked on 03.08.2016 / 18:11
2
answers

Why is my function concatenating instead of adding the numbers?

I'm learning JavaScript and I'm breaking my head with this code I created. Why is my function concatenating instead of adding up the numbers I store in variables? <!DOCTYPE html> <html> <head> <title>Aula 05 Java Sc...
asked on 30.04.2016 / 21:55
3
answers

Doubt two player game, half screen upside down

I am creating a program to practice what I have learned so far and to learn more, but I have reached a stalemate. The question is: I'm creating a question and answer game for two players, each one stands on one side of the phone to play, the...
asked on 09.06.2016 / 02:16
3
answers

Convert array of objects to array of arrays

How to perform string conversion (array of objects): [ {"id":1,"nome":"Maluf","cpf":"007.519.591-20"}, {"id":2,"nome":"Paulo Ricardo","cpf":"565.232.591-02"}, {"id":3,"nome":"Joaquim Barbosa","cpf":"007.519.699-32"}, {"id":4,"nome"...
asked on 29.12.2015 / 17:15
4
answers

Is it possible to clone objects in Delphi?

Is it possible to clone objects in Delphi at runtime? For example, you have a Data Module with a zTable . If I use this zTable on two screens at the same time, with different filters, the second screen will overlap the filter u...
asked on 10.02.2014 / 17:29
1
answer

JavaScript: Differences between import and require

I know that import and require are used in JavaScript to import functions or third-party objects. It is common for code snippets like: import Library from 'some-library'; or const Library = require('some-library'); Howeve...
asked on 20.06.2017 / 04:37
1
answer

How to know if path exists?

One of my system classes is created with information from a file. When you start the system, it initially runs the following lines: public List<Estabelecimento> listaEstabelecimento(string ibge) { List<Estabelecimento> lista...
asked on 05.10.2017 / 17:03
2
answers

What is the .env file for Laravel 5?

What is the .env file serving? No app.php has env => env('APP_ENV','production') . What would this production be? What other string can go there? And the var APP_ENV ? What does it mean?
asked on 04.10.2016 / 20:03