Posts by Rômulo O. Torres • 437 points
14 posts
-
2
votes0
answers23
viewsQ: Hooks Sequelize
For purposes of understanding: Node.js with database postgres running with Sequelize v4; Some fields of my database need to be persisted in encrypted database, by business requirement. Using the…
-
0
votes1
answer332
viewsA: Scheduling of Tasks
You could use a setTimeout, calculating the time in milliseconds from the current moment to the moment of the task. ex: It’s 12:00 and I want to schedule an assignment for 1:00: 1h = 60min = 3600sec…
-
1
votes0
answers512
viewsQ: How to hide properties of an ASP.NET Core model entity only in JSON rendering?
I am starting studies with ASP.NET core Web Api, and am implementing the User class, which has a Password property. Logically I don’t want the password to be visible in the Jsons of the api. I’ve…
-
4
votes1
answer848
viewsA: How to login with Facebook in React Native in the new format?
After some (long) research, I was able to solve my problem, so here is the solution for future searches: Login with Facebook is provided by the Expo api, so you need to install it: npm install…
-
2
votes1
answer848
viewsQ: How to login with Facebook in React Native in the new format?
I have previously integrated with Facebook in React Native, and for that I changed some lines of code directly in the Android folder of the Application. But in the application I’m doing now I felt a…
-
0
votes1
answer2343
viewsQ: How to update the view after database change with IONIC 2
I am developing an application with IONIC 2 where I consume a REST webservice from an application that is running online. When opening the page, I request and display the information correctly on…
-
1
votes1
answer188
viewsA: Send date by $_GET
You can send the date with the bars normally, however, the bars should be replaced by their coded version (%2F). So your request should be:…
-
1
votes1
answer609
viewsA: Creating an online chat with PHP
I believe that you are forgetting to keep a column with the date/time record of the messages in order to sort by it, another option is simply sort by the table id, but I find the first option much…
phpanswered Rômulo O. Torres 437 -
3
votes1
answer488
viewsQ: Create constants correctly with Mean.js (Node js)
I’m starting to study Mean.js and I was in doubt when the best way to create my application constants. I need to store some constants in the project to be accessible in various parts of the code.…
-
1
votes2
answers193
viewsA: Variable call another
The assembly of your code is confused... as has already been pointed out, it is not correct to use the foreach structure the way you are doing. I don’t know exactly what the structure of the…
-
2
votes1
answer904
viewsA: How to recover all the events that are in Fullcalendar?
I believe that your best option is not to take the events at the end, but to treat the events as they are inserted in the calendar. Fullcalendar has a range of Events that can be fired as needed.…
-
3
votes3
answers1132
viewsA: Delay in loading PHP page with image
One more possibility for you is to upload the images only when they are really needed. A project called Lazy Load (jQuery) does just that. It will cause the images to be loaded only when they are in…
phpanswered Rômulo O. Torres 437 -
0
votes2
answers1347
viewsA: Call to a Member Function find() on a non-object
It would be useful to have more information about the mistake to point you in a direction. Initially you are trying to call a method a variable that is not an object... To try to help you, if you…
-
7
votes2
answers10840
viewsQ: How to read a large file row by row with Javascript (nodejs)
I have a very large file to import data to Mongodb via Javascript. The problem is that I cannot load the entire file into memory. I would like to read this file line by line, since each line is a…