All Questions

3
answers

How to avoid blanks when saving the split result in an array with Java?

I am working on the development of a calculator which should receive a string of characters that form an operation. The purpose is that the calculator must do the calculations taking into account the priority of the operators. Currently the calc...
asked on 24.08.2017 / 15:50
1
answer

Make the average of three values of an array in Java

I want to get the average of three notes entered in an array: Code: System.out.println("\nIntroduca notas correspondientes(1-10)"); for(j=0;j<3;j++) { do{ System.out.print("Nota "+(j+1)+" : ");...
asked on 26.08.2017 / 15:44
2
answers

How are youtube actions controlled using javascript?

What I want to do is that when I click on the close button of my modal, it stops me the video that is playing, for the moment the video remains playing in my website, currently it I'm trying this way: Youtube Object <center> <objec...
asked on 30.08.2017 / 03:22
1
answer

NOT NULL constraint failed: django

I'm getting an error when I try to create a new element by a form, trying that the user who is already with the session started can upload an image and it is recognized as his in the relationship with the base of data that I have in models.py...
asked on 29.08.2017 / 04:18
1
answer

The ReportViewer control in VS 2017 is not displayed

I am working with Visual Studio 2017. Add a ReportViewer control to a form and it is not shown on the form itself. I see that the solution adds the necessary references, the control is seen in the outline of the document and I add a lower bar...
asked on 21.08.2017 / 15:52
1
answer

Problem redirecting from the controller

When registering a user I send and receive from the model in the following function: $respuesta=Datos::RegistroUsuarioModel($datosusuarios,"usuarios"); if($respuesta == "success"){ header("location.index.php?action=ok");...
asked on 17.08.2017 / 17:26
1
answer

What is the MIME Content-type for PHP files?

I am trying to execute a PHP file and I need to know how its MIME Content-type is so that it can be executed correctly in a browser. What is the MIME Content-type that should be used for .php files? Greetings and thank...
asked on 31.08.2017 / 18:31
1
answer

Create a track (track) from a local branch to a remote branch

Today I downloaded a branch from the remote repository, and when I went to see information about the branches, I realized that the branch track was not created in local with the branch of the remote repository, and the information showed like th...
asked on 16.08.2017 / 16:54
2
answers

MySQL - Conditional average in grouped data

I am new in this field and I fall short in trying to solve what I want. In a table imported from excel I have the columns <grado, docente, curso, Nota1, Nota2, Nota3, Nota4, Nota5> some fields belonging to the notes contain an "X",...
asked on 15.08.2017 / 21:32
1
answer

How can I read the contents of a PDF and export it to .txt?

I explain what I have, I have this application that does something similar to link the difference is that it reads a .txt file and processes the text . Up there all right, now I would like to do the same with a PDF but when I show the content...
asked on 15.08.2017 / 22:27