All Questions

2
answers

SQL Select inner join

I have this problem that according to me I made a query to get only one answer row, but for some reason I get the same record several times, can someone tell me what I'm doing wrong? select [Nombre de Obra], Estado = case...
asked on 17.10.2018 / 18:02
2
answers

Know my private ip from python

I am creating a small chat that will work in a local network, I explain the situation: where I study there are 3 rooms with computers and pages like facebook, twitter and other social networks are blocked, so I thought it would be a good idea to...
asked on 27.07.2018 / 07:12
2
answers

get result of promise

I want to get the result of the promise but I can not, is it possible? function initPromise() { return new Promise(function(res,rej) { res("uno"); }) } let data=initPromise().then(function(result) { console.log(result...
asked on 02.08.2018 / 15:43
1
answer

How to put momentsjs in a VueJS application

I want to put the momentJS library in my Vue application, and that the full functionality of moment is available in any component of my app.     
asked on 27.07.2018 / 08:00
1
answer

Problem with C ++ program, does not recognize data types well

I have to make a program that determines the population of a certain country after a certain number of years, the years that have to pass so that at that rate it reaches at least twice the initial population, and the population after those years...
asked on 21.10.2018 / 09:54
1
answer

I fill in the fields of the bd in the wrong order

I am doing a record for a page and this one is good for me except for one big mistake, and it is that it saves the data in fields of the bd that it should not, attached capture. As you can see in the user the password is put, in passwor...
asked on 03.08.2018 / 12:30
1
answer

How to show the elements of a stl list of structures?

I am beginning to get a little familiar with the stl and my problem is as follows. In all the tutos they tell you the functions, like adding elements and showing them, traversing them, etc. I have this structure: struct Libro{ string no...
asked on 30.07.2018 / 14:00
1
answer

How to traverse JSON with AJAX

I have the following JSON : {"success":"true","data":{"usuarios":{"iduser":114,"cuenta":"arieldiaz"}}} and my ajax is this: success: function(response){ if (response.success) { $.each(response.data.usuarios, function( key,...
asked on 01.08.2018 / 17:39
1
answer

Query with Join that works in Phpmyadmin does not work in Laravel

I have problems passing a traditional query to laravel. It works on phpmyadmin, but when I pass it to Laravel, it returns 0 records. TALUMNOS TABLE provincia (int) dni (int) nombre (varchar) TESCUELAS TABLE: provincia (int) dni (in...
asked on 28.07.2018 / 23:00
1
answer

Subtract time in nanoseconds

I have a file.txt file with this: 15:31:16.481 15:31:09.215 15:31:09.211 15:31:00.019 15:30:59.593 15:30:53.246 15:31:21.244 15:31:17.646 19:17:51.124 19:17:49.691 19:17:48.296 19:17:36.297 19:17:57.565 19:17:51.449 14:48:...
asked on 16.10.2018 / 03:01