Questions tagged as 'nodejs'

1
answer

Geolocate the tweets in nodejs

I am trying to perform a geolocation of tweets using the twitter API, I am using a statuses / filter type stream to check the tweets, and the position data I am taking from coordinators, but when consulting, it returns only the position of very...
asked by 08.03.2017 / 17:59
0
answers

Print response in a new file (any format) [NodeJS] [closed]

I want the X execution response to be printed in a file created according to my specifications (format, folder).     
asked by 13.03.2017 / 06:34
1
answer

Dates stored and date retrieved vary in mysql DB

In my database I have the date stored 01/02/2017 15:17:34 p.m. Inserted as follows: objBD.query('SELECT u.ID_U, u.nombre from USUARIO u where u.nombre=?',[nombre], function(err, rows, fields) { var created = new Date(); cons...
asked by 03.02.2017 / 05:23
0
answers

Problem with socket.emit

I am developing a game with Unity3d and I am using node.js and socket.io I have 5 events of which 4 of them work perfect the problem is in the latter, in which I get the different rooms there, I do foreach of them and I assign more...
asked by 11.01.2017 / 22:32
1
answer

Postgresql consultations with Sequelize stop working suddenly

I am currently in charge of a system developed in NodeJS, which uses PostgreSQL as a database, and we access it using the Sequelize ORM, all this in the Heroku platform. The problem I face is that, at a certain point, I tried to make a new de...
asked by 10.03.2017 / 14:54
3
answers

ui.router or express to configure the routes of each view

I am trying to develop an application in full-stack JavaScript. I knew the routing system that offers angularjs based on states with ui.router , but I've seen that nodejs has another system to return views with express depending on t...
asked by 26.01.2017 / 20:07
0
answers

How can I compare a data binary with GridFs in MongoDb?

I am using C # and MongoDB as the database engine. In my application I keep the User's Footprint used the following lines in C #. var id3 = ObjectId.Empty; using (var file = File.OpenRead(rutaArchivo)) {...
asked by 14.11.2016 / 23:19
0
answers

I can not implement svm multiLabel class in JS

I found this code var trainSet = [ { input:'What is your name',output: "name" }, { input:'how are you',output: "fine"}, { input:'please tell your name please',output: "name" }, { input:'your name please',output: "name" }, { input:'what is...
asked by 17.10.2016 / 03:05
1
answer

Avoid going back to the login screen with user logged in Angular-Fullstack generator

I am developing an application with the generator Angular-Fullstack by Yeoman. This framework automatically generates a login with the protocol OAuth . To access the system, it is mandatory to login, so the main page is the login. Once the...
asked by 03.09.2016 / 19:12
2
answers

Register a contact using the InfusionSoft api with NodeJs

I need to create a contact in infusionSoft using the API. The problem is that the documentation is not very complete, because everything guides the use of the SDK and unfortunately do not have SDK for NodeJS. This link in the documentation...
asked by 06.09.2016 / 01:06