All Questions

1
answer

Do double split in Java and get two sets of values

I'm getting this string in Java: Respuesta1_10|Respuesta2_50|Respuesta4_90|Respuesta5_33 And I need to build two groups of values with it dynamically, since the amount of values separated by | is not fixed. The groups of values would...
asked on 07.09.2017 / 06:27
1
answer

Remove null or empty values from a JSON Object in Google AppScript

I am analyzing information within a Google Sheet through Google App Script, through the active total range of the Google Sheet I obtain a javascript object of type multidimensional I transform this into a JSON object with the function JSON....
asked on 28.08.2017 / 18:22
1
answer

How to group a repeating record, showing all the different records associated with it?

In MySQL I have the following three tables: |Personas | ------------------- |dni_persona int | 1 |nombre_persona | Juan |Empresas | ------------------- |dni_empresa | 12345 54321 |nombre_empresa | cocaloca pipse...
asked on 25.08.2017 / 00:38
1
answer

Work in the same branch and same file with git

I'm starting in the world of programming. I still do not control git too well and some problems arise. If I work in my branch, everything is perfect, I have it more or less controlled. But I have had to work with other people and touch the same...
asked on 24.08.2017 / 11:31
2
answers

List interface with different instantiations

What is the difference, advantages, disadvantages between?: List a=new ArrayList();\suponiendo que introducire numeros enteros ArrayList a=new ArrayList(); \suponiendo que introducire numeros enteros ArrayList<Integer...
asked on 28.08.2017 / 07:38
1
answer

Doubts with the prefix of the selector in Angular

The prefix of the selectors in Angular by default is 'app'. Most of the examples and tutorials I have seen do not follow the prefix rule. It is not a major problem because although the prefix is not used the application works, although I underst...
asked on 06.09.2017 / 11:15
1
answer

How to print a JSON string within an input with PHP?

I need to print a string JSON from PHP within value of a input , to then be able to recover it with JavaScript . <?php $array = array( "foo" => "bar", ); $json = json_encode($array); ?...
asked on 24.08.2017 / 21:34
2
answers

How to accelerate very heavy MYSQL procedure based on loop (Mala praxis)

I have performed a procedure in a loop, but I find it quite precarious, which leads to a process too lenient to be MYSQL, about 15 minutes. The procedure is as follows DELIMITER \ CREATE DEFINER='root'@'localhost' PROCEDURE 'actualizarbase...
asked on 28.08.2017 / 13:02
1
answer

Improve the results of a select with LIKE

If I make a query of the type: SELECT nombre FROM tabla WHERE nombre LIKE '%foo%' How could you sort / filter the result so that, for example, the results that most match " foo " are displayed first? For example, if you had: " f...
asked on 23.08.2017 / 00:14
2
answers

what are the frameworks-dependencies in spring [closed]

   what is the dependency of @services       what is the dependency of @repositories       what is the dependency of @controllers I mean dependencies in the pom.xml file If I'm not wrong @controllers has the dependency    starter.web...
asked on 28.04.2017 / 02:40