All Questions

3
answers

fs.readFile does not give me a correct format for pdf

I am trying to load a pdf in a new browser tab by passing it by res.send so that the file remains private and not accessible unless the user has the necessary permissions. The problem is that when the file pdf is opened in t...
asked on 11.10.2016 / 23:45
1
answer

doubt with algorithm

I have to develop an algorithm that calculates the average speed of the orders that were delivered. This is calculated based on the production times and the number of units that each order has; but these are taken into account according to a dat...
asked on 09.10.2016 / 04:30
2
answers

java.sql.SQLException: Value '0000-00-00' can not be represented as java.sql.Date

I have had a problem when returning a value of BD mysql null in '0000-00-00' format The error that occurs is:    exception       javax.servlet.ServletException: java.sql.SQLException: Value '0000-00-00'> can not be...
asked on 31.03.2017 / 21:05
3
answers

Change from one fragment to another by means of a button

What I try to do is move from one fragment to another when a button is pressed, the code I am using is: public class DimensionFragment extends Fragment { Button Bmeters, Bfeet; @Override public View onCreateView(Layo...
asked on 26.04.2017 / 16:19
1
answer

User Seeds Laravel do not work correctly with Passport

I am developing an API in Laravel by relying on the authentication it provides Passport , populating the development database with the Seeders and performing the tests with the client Postman . The problem is this:    By populating m...
asked on 04.04.2017 / 07:35
1
answer

Create a project that contains @repository, @service and @controller

I do not know how to create a new project with spring initializr that contains @repository, @service, and @controller, so that the controller dependency is necessary check the following box, here a screenshot: but for the others that must...
asked on 28.04.2017 / 13:38
1
answer

C # Stored procedure or function expects parameter which is not supplied

I get the error    'sp_InsertaLandingPageTest' expects parameter '@IDUSUARIO', which   was not supplied, l id is supposed to be generated from the maximum but I really have no idea how to do it if you insert data into the stored procedure...
asked on 24.04.2017 / 17:31
1
answer

Comparison of two battery elements

Good, I'm doing a job for my university, this consists among other things in inserting caracateres in 3 batteries, 1 of them has a sequence which we want to find in the other 2 batteries. The problem is that in the method Comparar that...
asked on 03.05.2017 / 23:32
1
answer

Get the database value in an html select?

How can this be done that is shown in the value but with a select that brings the values of the database Like the following example: <input type="text" name="measure" class="form-control{{ $errors->has('measure') ? ' is-inva...
asked on 21.08.2018 / 20:25
1
answer

How can I relate tables in Laravel with foreign keys?

I already related it to this: public function up() { Schema::create('personal', function (Blueprint $table) { $table->increments('id_personal'); $table->string('paterno',50); $table->string('materno',...
asked on 23.08.2018 / 15:59