All Questions

3
answers

Error NullPointerException in Java (Spring-boot)

I already know that this is a very common error and it happens when trying to access a NULL type object, the problem is that I do not know why it is NULL if I'm supposed to be instantiating it, I have a class called NoteController in the that in...
asked on 28.03.2018 / 21:35
2
answers

When to reference and when to instantiate

I have a question, what is the difference between these 2 ways of storing an object? In this first form I create an object and assign it to another one that is the result of a search in the database: User user = new User(); user = userService....
asked on 23.02.2018 / 16:40
3
answers

php date format

I have this date in php: 31082016 And I want to pass it to this format: dd-mm-yyyy I have the following code, but it gives me an error: echo "<br/><hr/>" . $fechaIn . "<hr/><br/>"; echo "<br/><hr/>...
asked on 18.08.2016 / 11:00
3
answers

Different memory addresses?

I'm working on windows 10 and codeblocks, and my question is because by doing this I have the memory position for example 0060FEFC    1st Code #include <stdio.h> int main(void){ int arreglo[4]; printf("%p\n",arreglo); //Direc...
asked on 06.04.2018 / 10:14
5
answers

Install APK generated by Android Studio

I'm doing an App from Android Studio and I gave it to try to download the application and install it on my cell phone even if it is not yet finished. So I went to Build > Generate Signed APK , I generated the JAR file and then I created my A...
asked on 11.03.2017 / 04:46
2
answers

Problem with JSON file?

I'm following a tutorial on how to create a gallery on android with glide and the information is in a file .json the code looks like this [{ "name": "Deadpool", "url": { "small": "http://api.androidhive.info/images/glide/small/deadpool.jpg...
asked on 01.11.2016 / 22:46
3
answers

How to get first nth-child or first-child with span using jQuery

I wanted to have the first nth-child, which is filled dynamically by aggregation and I do not know how to get it. $("ul > li > a > span.menu-item-text:nth-child(1)").text("Primer Inicio"); ul { padding: 0; margin: 0; }...
asked on 25.01.2017 / 14:46
0
answers

Simple load ajax works in Firefox peron does not work in Chrome

I'm trying an example in Ajax that apparently only works in Firefox. In Chrome it does not work. Does anyone know why? Thanks index.html <div class="contenedor"> <p>AJAX</p> <button id="carga...
asked on 04.05.2018 / 20:31
1
answer

How to enter a counter inside the while?

If you can help me how you could enter a counter in the while, the idea is to filter it by a range of dates shows me the information otherwise if it is out do not show me if you can help me thank you . here is the code <?php require_once...
asked on 29.10.2018 / 15:15
3
answers

How to extract a certain part of a string in PHP?

I have the following chains I need to extract only the countries Roaming atv te da la bienvenida a Peru.Llamadas Roaming atv te da la bienvenida a Reino Unido.Llamada Roaming atv te da la bienvenida a Espana.Llamada Roaming atv te da la bienve...
asked on 05.11.2018 / 14:02