Posts by Matheus Lima • 120 points
21 posts
-
5
votes1
answer351
viewsQ: Secondary thread on flutter
Hello, I have the following problem in flutter: I currently have an application with the plugin flutter_background_geolocation based on the example that is provided by the plugin. While performing…
-
-1
votes1
answer94
viewsQ: How to pass values up in a tree in javascript
Hello, I’m doing an exercise that consists in making an algorithm that plays the game of old, so far I managed to generate all the game paths and detect which lead to victory or defeat and organizes…
-
0
votes1
answer973
viewsQ: Node-Sass error while trying to install the dependencies of an Ionic 3 project
Hello I have a project done in Ionic 3.2.0, the project in question can be found in the following link https://github.com/Mathe13/rodoviasApp, I downloaded it from git, removed the node_module and…
-
0
votes1
answer113
viewsA: sequelize problem with relays
I solved by adding the relations in the file I do the searches. tbl_visitas.hasMany(tbl_contato_visitas, { foreignKey: 'id_visitas', // targetKey: 'id_visitas' });…
-
0
votes1
answer113
viewsQ: sequelize problem with relays
Hello, I have some tables in mysql, I created the models using sequelize-auto and associations manually. The problem is that when I try to include these relationships I come across the error…
-
0
votes2
answers296
viewsA: What is a business rule and an enforcement rule? What defines a mechanism as one or the other?
Hi, I hope I’m clear. Business rules relate to how the process that the software will implement works.For example, imagine that your software will automate the Rh of any company, business rules…
-
-1
votes1
answer75
viewsQ: Asynchronous mysql queries in nodejs
Hello, I have a code in nodejs with mysql database. on one of the paths referring to the path(path) need to fetch all readings from 3 sensors (each sensor is a table) that have the path field equal…
-
0
votes1
answer312
viewsA: Ionic error while using social plugin
i realized that it is a version error, my Ionic Native core is 4 and the plugin asks for version 5. tidied up by installing an older version of the plugin using the command npm install…
-
0
votes1
answer312
viewsQ: Ionic error while using social plugin
I’m trying to use the plugin socialSharing, I followed every step of this tutorial but when I press the button turns on the share function I get the error: 'Object is not a Function at…
-
1
votes1
answer35
viewsQ: Ionic loop reading sensor and sending to api
Hello, I need to take consecutive readings of some sensors in Ionic 3.x but I can’t let it completely block the application. tried to do so: async disparaLeituras(path_id) { while (true) {…
-
0
votes1
answer144
viewsA: nodejs and express with connectiontimeout(H13) in Heroku
I changed my bank connection to a pool as in Docs var mysql = require('mysql'); var pool = mysql.createPool({ connectionLimit : 10, host : 'example.org', user : 'bob', password : 'secret', database…
-
1
votes1
answer144
viewsQ: nodejs and express with connectiontimeout(H13) in Heroku
Hello, I have an api in Heroku and There communicates with the pagseguro api(notifications), the wheel that handles the notification needs to take the transaction code that is received per post,…
-
-1
votes1
answer66
viewsQ: Sql, sum of several
Hello, I have a bank with 3 important tables, state,city and orders need to rank the states than have more requests to q have less but the orders are related only to city table. so I need to make a…
-
1
votes0
answers37
viewsQ: python sigint and Ctrl c have different effects
Hello, I need to run an executable done in c,this executable performs operations on a board and writes to a file, the problem is that the write event occurs when the program receives a Ctrl+c. I…
-
1
votes1
answer1547
viewsQ: multiple commands with python subprocess
I am developing a system (college work) that consists of a website for the use of a certain board. The problem is that to run the code on the board, I need to run a bunch of commands. Currently my…
-
0
votes2
answers54
viewsA: Doubt with Lists
to run on terminal use python nome_arquivo.py remembering that it should be in the same folder that the file is in. I surrounded your script here and it worked perfectly.
-
0
votes1
answer92
viewsA: Error in Ionic-lab
problem solved after reinstalling Cordova and Ionic (last verses)
-
2
votes2
answers101
viewsA: How to detect if the typed string has more than 6 characters?
just use Len(string)>6, the function Len te returns the size of the string ai just compare with the number you want
-
0
votes1
answer92
viewsQ: Error in Ionic-lab
I’m making an app, however when I run Ionic serves -l or having access to Ionic-lab by the browser it displays an error message and for the server, I’ve searched a lot over the internet and found no…
-
0
votes1
answer148
viewsQ: how to handle a json that contains several results using python
Hello, I’m making a python script that takes the name of a movie and returns some data to the user(title, year etc). I am using the omdbapi, but my doubt is not about it but about how to handle the…
-
3
votes1
answer227
viewsQ: Bug when using Cin detro command of a loop
When I run this code it Buga, i type 1 and it enters the registration function but not pause to read the data (keeps printing things non-stop)when I change the cin for scanf it works). You can make…