All Questions

1
answer

Huffman Algorithm - decoder

I'm doing the decoding part of the huffman algorithm, as such my program receives two files per console, one called "diccionariotxt" which contains the letters, the frequency with which they exit and the binary code of each letter and another on...
asked on 25.06.2016 / 02:55
1
answer

Get a JSON from an SQL query in Postgres [duplicated]

I have several tables with the following data: | sonda | fecha | valor | +-------+-------------------------+--------+ | s1 | 2018-10-23 23:34:00.444 | 34.5 | | s2 | 2018-10-23 23:34:00.444 | 4.5 | | s3 | 2018...
asked on 20.12.2018 / 17:12
1
answer

How to search for a word in a text

I have a string that comes from a database which I read with fetch_array() . Example: $row=$query->fetch_array(); What I would like is to understand words. For example, if in that string there is the word "CARRO", put that word in...
asked on 25.12.2018 / 22:00
2
answers

Divide the width of the screen into two containers

I have two divs, one is a sidebar and the other a container. I want to divide the entire width in these two (.sidebar 20%, .container 80%), but I do not know what is failing because they do not occupy the width at 100%. I'm using the Simple...
asked on 04.01.2019 / 16:24
1
answer

What is this function in JavaScript? delete

I was seeing some javascript code and I came across a function that in one part does something I do not understand, I was searching the internet but it does not show me what I'm trying to find. function iniciarSesion(correo,password) { l...
asked on 25.12.2018 / 14:28
1
answer

Android Auto: Error launching the DHU on Mac

I created a test project in Mac OSX 10.11.1 for
asked on 04.12.2015 / 08:37
1
answer

How to obtain the data attribute of an input located inside a td of a datatable using Jquery?

I have the following datatable: $(document).ready(function () { tabla_productos = $("#idtabla_productos").DataTable({ "scrollX": true, "scrollY": "300px", "scrollCollapse": true, "searching": false, "paging": false, "ordering": fa...
asked on 06.04.2017 / 01:26
3
answers

Error starting Android Studio on windows 10

When I started Android Studio I got an error message, a week ago I started normally, but now before I start loading I get this error. Internal Error. Please report to https://code.google.com/p/android/issues java.lang.RuntimeException: com.in...
asked on 10.04.2017 / 15:45
2
answers

Countdown in javascript [closed]

I need a timer (coutdown), waiting 10 seconds for the download, JavaScript. After 10 seconds hide that text. For example: 10 seconds left ... There are 9 seconds left ... And so on and show a button ... I do not want a text that says Wait...
asked on 20.03.2017 / 20:24
2
answers

Create objects with similar names with a for cycle in python

I want to create 24 matrices like this: import numpy as np tabla1 = np.empty((25*5,3 + 11)) tabla2 = np.empty((25*5,3 + 11)) . . . tabla24 = np.empty((25*5,3 + 11)) To avoid having to write it 24 times, I thought about using a for...
asked on 05.04.2017 / 22:21