[nodejs] Re: changes to the moderation of this group

2014-05-03 Thread Behrad Zari
+1 On Sunday, May 4, 2014 5:37:09 AM UTC+4:30, Forrest L Norvell wrote: > > Hello, everyone. If you don't know me, I'm a longtime Node.js developer > and member of this group. I'm also a strong believer that this group hasn't > been living up to its potential for a while now, and in an effort to

Re: [nodejs] recursive/nested ticks

2014-05-03 Thread Forrest Norvell
Replies inline: On Sat, May 3, 2014 at 4:02 PM, wrote: > Can recursive/nested ticks happen in node? I mean functions registered > with process.nextTick()? Is this possible in user land or node-core only? > When you're writing application code, the vast majority of the time you want to use setIm

Re: [nodejs] changes to the moderation of this group

2014-05-03 Thread Rick Waldron
+1, * applause* Rick On Saturday, May 3, 2014, Forrest Norvell wrote: > Hello, everyone. If you don't know me, I'm a longtime Node.js developer > and member of this group. I'm also a strong believer that this group hasn't > been living up to its potential for a while now, and in an effort to >

Re: [nodejs] changes to the moderation of this group

2014-05-03 Thread Forrest Norvell
Hey Ravi, thanks for the comments. Replies inline: On Sat, May 3, 2014 at 6:56 PM, // ravi wrote: > On May 3, 2014, at 9:07 PM, Forrest Norvell wrote: > > As part of more actively moderating the group, I'm also open to your > suggestions on what we can do to shape this into a more useful forum

Re: [nodejs] changes to the moderation of this group

2014-05-03 Thread // ravi
On May 3, 2014, at 9:07 PM, Forrest Norvell wrote: > As part of more actively moderating the group, I'm also open to your > suggestions on what we can do to shape this into a more useful forum. If you > go to the gist where I put the draft of the moderation policy, you can see > that there are

[nodejs] changes to the moderation of this group

2014-05-03 Thread Forrest Norvell
Hello, everyone. If you don't know me, I'm a longtime Node.js developer and member of this group. I'm also a strong believer that this group hasn't been living up to its potential for a while now, and in an effort to improve its usefulness and the quality of the discussion here, I've agreed to take

[nodejs] a POJOs based application framework for node.js

2014-05-03 Thread fantasyni
Bearcat -- a POJOs based application framework Bearcat is a POJOs based application framework which provides a lightweight container for writing simple, maintainable node.js . Bearcat provides an infrastructural backbone to manage business objects so that developers can focu

[nodejs] Re: MMO game node balancing multi servers

2014-05-03 Thread 박성우
I have a similar problem in that issue. I was developped PvP msg relay server using nodeJS & socket.IO and redis. For load balancing, Try to develop another server (front-end). I am considering the technology are as follows: 1. websocket prxoy using node http proxy module. 2. another websock

[nodejs] fs.utimes problem

2014-05-03 Thread Sean Young
Hi everyone, I was using fs.utimes to change the mtime of files and my problem is it seems that it has no effect on mtime when I called this method multiple times on windows. I ran the same code on ubuntu and everything's fine. I tried to change ws.on('finish' to rs.on('close' which will be emi

[nodejs] Re: Reporting security concerns

2014-05-03 Thread Brandon Moser
Ritchie, Check out https://nodesecurity.io/. They work with the Node team directly and have a link to submit a vulnerability. Brandon -- Brandon Moser http://about.me/brandonmoser On Wednesday, April 23, 2014 9:47:55 PM UTC-5, Ritchie wrote: > > Hi, Folks. > > Who would be the best person wi

[nodejs] recursive/nested ticks

2014-05-03 Thread eghteen . twelve
Can recursive/nested ticks happen in node? I mean functions registered with process.nextTick()? Is this possible in user land or node-core only? i'm trying to make sense of the below code from node.cc: if (tick_info->in_tick()) { return ret; } … tick_info->set_in_tick(true);

Re: [nodejs] Order in array is reversed when save in mongodb

2014-05-03 Thread Alejandro Paciotti
Thanks Francesco! I understood from your explanation what others guys wanted explain me. So the question is: how can I keep the order of an object when is saved to mongodb? Note that I can not change as I get the information, it just comes to me (from another api, or other system, or another dat

Re: [nodejs] Order in array is reversed when save in mongodb

2014-05-03 Thread Francesco Mari
You are clear, but I think that there is a misunderstanding problem. The order of elements in an array is important. In fact, each element in the array is in the same order as you specified. The order of properties in an object, on the other hand, is unspecified and can change from one JavaScript

Re: [nodejs] Order in array is reversed when save in mongodb

2014-05-03 Thread Alejandro Paciotti
Sory Angel, maybe I can not explain properly. The problem is with each elements in the *data *object that are recorded in reverse order. [image: Imágenes integradas 1] I admit I conceptually confused with arrays and objects, but *data is an array* that contains *objects* of 7 elements. The pro

[nodejs] Re: [ANN] Node.js on the Road: Boston

2014-05-03 Thread Daniel Rinehart
For those that weren't able to attend this great event in Boston, Joyent has posted some videos from the event. Unfortunately TJ Fontaine's presentation and the Q&A session are not among those posted. You can find the videos at: http://www.joyent.com/noderoad/cities/boston-4-22-14 -- Daniel R. [

Re: [nodejs] Order in array is reversed when save in mongodb

2014-05-03 Thread Angel Java Lopez
I still don't understand The data object is in order, the first element is the original first element. And the second element is still the second element. Or not? According to your second email, the title of this thread "Order in array is reversed when save in mongodb" is NOT the case. The array

Re: [nodejs] Order in array is reversed when save in mongodb

2014-05-03 Thread Alejandro Paciotti
The problem is that i use this object (*data*) for charts, where the order is very important. In the initial email i wrote without copy & paste, and i think that was a problem with the configuration, but not. Apparently is a v8 behavior. I do not understand yet. Thanks! alejandro.pacio...@gmai

Re: [nodejs] Order in array is reversed when save in mongodb

2014-05-03 Thread Bruno Jouhier
You have 2 entries in your array and each entry is an object with 7 properties (Periodo, Total, etc.). The entries are in the same order. This is what really matters. The properties of the individual entries are in a different order. Why does it matter? Note that V8 does not always enumerate pr

Re: [nodejs] Order in array is reversed when save in mongodb

2014-05-03 Thread Angel Java Lopez
Ummm... but what is the problem? You retrieved the array with the elements in the same order, that is, the array is the same. The only difference, is that EACH element is an object and the property order are mangled. But what is the problem for your program? The initial email described another si