All Questions

1
answer

Convert Date to UTC in SQL Server 2014

Hello I have a record of calls made from different countries, I have the date and the country, the dates are adjusted to the time zone of each country, but I need to convert it to UTC, since I need to calculate the number of calls made in a mont...
asked on 13.12.2018 / 16:58
1
answer

Form of symfony, field of type FileType

I run into a problem when trying to upload images to the server using a symfony form as follows: $form = $this->createFormBuilder($image) ->add('full', FileType::class, array('label' => 'Imagen', 'multiple' => true))...
asked on 17.12.2018 / 18:52
2
answers

Place the gmap-autocomplete component of vue2-google-maps within the map

I'm using the "vue2-google-maps" package in an application developed with Laravel 5.7. In this case I am creating a component with the name google-map . Dendro of this component uses gmap-autocomplete and gmap-map . The component is regi...
asked on 17.12.2018 / 02:50
2
answers

Improve MySql query coding

I have the following a doubt regarding the code that I implemented. Although it is functional, I am not convinced by the way in which I managed to solve the problem. What it does is calculate the average of the recorded data at the exact time...
asked on 06.12.2018 / 14:26
1
answer

Sort by colum

I try to sort by ACEPTACION , how do I do it? I want to use jQuery DataTables to use order: [ [3, 'asc'] let validacion = [1, 3, 5, 4, 2]; let personas = ["ana", "juan", "pedro", "maria", "gustavo"]; var html = "<...
asked on 19.12.2018 / 14:35
2
answers

Attempt of Eratosthenes sieve in python

Hi, I'm trying to make a code using the Eratosthenes Screen method but I get confused in the part of multiplying and eliminating the number that is not prime, the teacher says we should use a del or something to eliminate the number what is in t...
asked on 19.10.2018 / 03:32
2
answers

Event similar to "onchange"

I have a problem with a smart search list that I need to send the form once the value is selected. However, it does not work until I click outside the field. The code is as follows: <input id="ComunaBuscador" name="city" class="form-cont...
asked on 09.10.2018 / 12:12
4
answers

Write JavaScript variable in the HTML body

Is it possible to write a variable stored in a function of a .js file in the body of the index.html? For example I want to put below the form of the calculator "The result of the subtraction is (and here call the variable" result "stored in t...
asked on 12.10.2018 / 14:04
1
answer

Standardize or normalize numerical variables of a base with a mixture of numerical and categorical variables

I have a database where numerical and categorical variables are mixed, I want to apply the scale () foundation to these variables efficiently, that is, that I do not have to create another dataframe with only numerics and apply the foundation sc...
asked on 12.10.2018 / 01:42
2
answers

How do Trailing Commas work in JavaScript?

When using methods / functions in JavaScript, as in other programming languages we can pass parameters EXAMPLE function saludar(name){ console.log("Hola: "+name) } Here we send the function call saludar("SO en espaƱol") The res...
asked on 08.10.2018 / 02:26