All Questions

1
answer

Passing of several parameters as an Array

I have a method that receives an unknown amount of parameters as an Array, like this: public void enviarCampos(String funcao, String... campos) { // Ação do método } To call this method I do: enviarCampos("CADASTRAR", "nome", "dataNasci...
asked on 18.11.2016 / 15:06
1
answer

Using Callable in java sequentially executes the code

I'm doing a server in java that wanted to perform certain tasks in parallel. I have a list of a certain type I want 20 threads to deal with deterimented list elements. for( Item item : result ) { Callable< List< IResult > > cal...
asked on 06.12.2016 / 16:03
1
answer

Help JSON Delphi

Good afternoon! Could you help me read this JSON file in Delphi. I have already tried numerous classes, including the Delphi native, and I was able to read only the data from the first node, such as status. I use the Delphi XE6 version. {...
asked on 09.12.2016 / 18:41
1
answer

Doubt - Angular Controllers

I'm studying Angular and I had a question. I'm creating an application, and I wanted to organize the controllers by creating one for each View (template). Exemplo: Tela Cadastro - controller-cadastro.js Tela Login - controller-cadastro.js Tela...
asked on 30.11.2016 / 12:48
1
answer

Error saving field of type DateTime

I am setting up an example of Code First, but at the time of saving a field of type DateTime in the database I get the following error    Converting a datetime2 data type to a datetime data type   resulted in a value out of range. \ r \ nThe...
asked on 23.11.2016 / 19:58
1
answer

Makers google maps javascript. What's wrong?

I'm creating a script to add the values of a vector on a map (positions 0 and 1 only), but nothing happens. in the console there are no errors. Script: function marcar(){ var marcacao = function(position){ // Gravar dados da...
asked on 30.11.2015 / 20:02
1
answer

Do a HasMany by date with Laravel 5.3?

Is there any way to do HasMany by bringing records by date? public function despesas() { return $this->hasMany(Despesa::class); //registros apenas desse mês } I tried to use the following but did not scroll: public functio...
asked on 22.11.2016 / 11:38
1
answer

Type of android keyboard, text and number

How can I make the android keyboard have two types, in case I wanted numbers and letters. I tried using android:inputType , but it did not work. Is there a way to resolve this? Thank you. RESOLVED Looking further into the proble...
asked on 23.11.2015 / 13:55
2
answers

how to preview .md file during editing?

I would like to create markdown documentation for a library in github. However as I have no way to preview what I am doing, it is common to make errors that are only discovered when the file is already published. Are there any tools where you ca...
asked on 30.11.2015 / 09:40
1
answer

How to get data processing and memory of Windows system in Java?

How do I in Java code show use of Windows memory and processing?     
asked on 24.11.2015 / 00:05