All Questions

1
answer

Manipulate DOM with Object Oriented Programming

I am trying to implement the OOP to manipulate the DOM but there are certain things that I do not know where to place, for example the addEventListeners, a specific case that I am facing is, I have created an object that works with some elements...
asked on 31.01.2018 / 02:55
2
answers

Extract integers from a JAVA string

I have this string ( LIXA ABIMERHI JUAN JOSE,DISEÑO DE INTERFACES,90,88,81,90 ) and they are asking me: Read the data by lines using the split method of the class String separate the fields. Convert the 4 strings of gra...
asked on 24.11.2017 / 14:21
1
answer

Files: functions vs. system calls

I have two questions related to the I / O file: What is faster to access a file (if one is better), C functions ( fopen , fprintf , fseek , etc.) or calls to UNIX ( open , write , lseek , etc.)? How c...
asked on 23.02.2018 / 08:34
1
answer

Error 404 Web Service NuSoap PHP

I'm a bit new to Web Services; I am designing a client with NuSoap to consume a Web Service. When I try to consult the path of the wsdl I get an error 404 Not Found , but when I use the SoapUI there is no error and shows m...
asked on 01.02.2018 / 14:44
0
answers

How to change a cell background of a DataGrid in a style based on the current element of a collection

I have a collection of objects that have a collection of other objects in the following way: public class Elemento { public string Nombre {get; set;} public ObservableCollection<OtroObjeto> Lista {get; set;} } In WPF, I link...
asked on 30.12.2017 / 22:13
2
answers

Difference between "compile" and "implementation" in gradle file

I added firebase to my project using the wizard that AS provides, but when I added the dependency, it appears differently. implementation 'com.google.firebase:firebase-auth:11.8.0' But another google service compiles in the following way...
asked on 17.02.2018 / 21:29
2
answers

Merge two arrays of objects in javascript

I wanted to know how I can merge two% co_of% of objects * (inserting one into another would also help me). * For example: array["nombre": "paco", "edad": "21"]; array2["nombre": "matias", "edad": "25"]; would look like this: arraydefin...
asked on 22.02.2018 / 01:04
4
answers

Remove data in a vacuum

I would like to remove gaps and blank spaces in an array that I get from google sheet and print in this way: var prueba = ['NOV-DIC 17','ENE-FEB 18','MAR-ABR 18','MAY-JUN 18','JUL-AGO 18','SEP-OCT 18','NOV-DIC 18',' ',' ','','']; As you...
asked on 26.02.2018 / 19:38
3
answers

event to control the doubleClick

I have managed to perform a function in the first click function s(){ $('div').addClass('s'); $('div').css({display:"block"}); console.log("click"); } <script src="https://ajax.googleapis.com/aja...
asked on 05.03.2018 / 01:18
2
answers

remove the number of elements of the class from a label with javascript?

I wanted to know how I can get the number of elements in JavaScript which function should I use I was looking for but I did not find it. Code example: var parentDOM = document.getElementById("parent-id"); var test=parentDOM.get...
asked on 12.02.2018 / 16:01