News for hackers. Stuff that matters.
Re:NowJS Real-time Trials: Build a 2-week hack, win sweet pr... by sausagefeet on Friday September 16, 2011 @09:38PM (#3006950)
Why the hell is it so hard for me to determine wtf NowJS does?! All I can tell is it's a framework on top of Node and I can build a chat server in a few lines of code...

EDIT: Ok sheesh, I had to go to nowjs.com's frontpage to see it. The Docs page was less clear, which was the most obvious button to hit from the real time page.

Re:NowJS Real-time Trials: Build a 2-week hack, win sweet pr... by dshankar on Friday September 16, 2011 @10:17PM (#3007028)
Ah thanks for the feedback! We'll work on a better designed website to be more clear.
Re:NowJS Real-time Trials: Build a 2-week hack, win sweet pr... by michaelbuckbee on Saturday September 17, 2011 @12:02AM (#3007200)
I had the same issue, you might want to consider adding another top level menu item 'about' with a summary of what nowjs is and a quick overview of the how and why.
Re:NowJS Real-time Trials: Build a 2-week hack, win sweet pr... by jinushaun on Saturday September 17, 2011 @10:14AM (#3008050)
I agree. The website needs an "about" link in the top menu because the home/index page may not always provide that explanation, so I'm not necessarily going to click on the "nowjs" logo to go home. Fortunately, the nowjs home page does explain what it is and "about" can simply point to the index.
Re:NowJS Real-time Trials: Build a 2-week hack, win sweet pr... by sausagefeet on Friday September 16, 2011 @10:35PM (#3007063)
Great! Sorry for the snark. I've got the rage of a dragon inside me.
Re:NowJS Real-time Trials: Build a 2-week hack, win sweet pr... by wavephorm on Friday September 16, 2011 @10:43PM (#3007074)
It looks like they took Socket.io and added an RPC call to it, and called it NowJS.
Re:NowJS Real-time Trials: Build a 2-week hack, win sweet pr... by JTxt on Friday September 16, 2011 @11:07PM (#3007116)
NowJS vs SocketStream? (https://github.com/socketstream/socketstream)

This is the closest I found to a comparison: http://groups.google.com/group/socketstream/browse_thread/th...

Is it current and correct?

Re:NowJS Real-time Trials: Build a 2-week hack, win sweet pr... by mkramlich on Friday September 16, 2011 @09:58PM (#3007001)
Counter-offer: I work for you for 2 weeks, you pay me for those 2 weeks, at full market rate. If you're lucky I may award you a prize at the end of it. :P
Re:NowJS Real-time Trials: Build a 2-week hack, win sweet pr... by sthatipamala on Friday September 16, 2011 @10:11PM (#3007021)
Full disclosure: NowJS is an an open-source library that is built by the developers of Flotype (http://flotype.com). We are a commercial company.

That said, Flotype is not in the business of selling utilities such as games, collaborative whiteboards and other such things you might build at a hackathon. We write enterprise real-time web server software outside of the NowJS open-source software.

We do not derive any value from the hacks from this contest.

We are doing this because we like HN and the developer community and we want you to win some free stuff!!

The hackathon is two weeks long not so you can slave away for 2 weeks and "charge me" market rates. The extended deadline is to make the competition leisurely and not time-sensitive. Work on it 10 minutes a day after work. Work on it 5 minutes before the deadline. It's all fair game.

Please participate. We love hacking and winning free things. We think many of you will as well. =]

Re:NowJS Real-time Trials: Build a 2-week hack, win sweet pr... by iag on Friday September 16, 2011 @10:58PM (#3007100)
Oh yeah? I have an offer and a prize on the table, when do you want to start?
Re:NowJS Real-time Trials: Build a 2-week hack, win sweet pr... by hobonumber1 on Saturday September 17, 2011 @03:16AM (#3007468)
Details or it never happened. :]
Re:NowJS Real-time Trials: Build a 2-week hack, win sweet pr... by james33 on Friday September 16, 2011 @11:56PM (#3007192)
This looks interesting. We just made the decision to start developing our games exclusively with Node, just in the past few days actually. Are there any cool apps out that that you know of using NowJS?
Re:NowJS Real-time Trials: Build a 2-week hack, win sweet pr... by mcantelon on Saturday September 17, 2011 @04:02AM (#3007533)
Re:NowJS Real-time Trials: Build a 2-week hack, win sweet pr... by dshankar on Saturday September 17, 2011 @03:50AM (#3007520)
Shoot me an email, [email protected]. We've got a bunch of games being built with NowJS + Node.js. You'll see a lot of hackathons having games built on that stack as well. Easy to rapidly prototype, build, scale etc.
Re:NowJS Real-time Trials: Build a 2-week hack, win sweet pr... by hobonumber1 on Saturday September 17, 2011 @03:17AM (#3007470)
I've always wished that there were more examples on the site on how to use NowJS other than Chat (seriously, 80% of websocket examples are of chat). Do you guys have any plans of adding more examples?
Re:NowJS Real-time Trials: Build a 2-week hack, win sweet pr... by dshankar on Saturday September 17, 2011 @03:51AM (#3007521)
Ideally, winners of this contest should be posted as examples. But yeah, there will be more examples in the future. We've got a bunch created already, but the website as a whole needs to be redesigned.
Re:NowJS Real-time Trials: Build a 2-week hack, win sweet pr... by cubicle67 on Friday September 16, 2011 @10:37PM (#3007065)
Reading through the examples and docs and I think this looks very interesting.

Anyone here have any experience with it?

Re:NowJS Real-time Trials: Build a 2-week hack, win sweet pr... by jeromeparadis on Saturday September 17, 2011 @10:36AM (#3008098)
I'm working on a pet project with nowjs and find it quite useful. What sucks is I started this a few weeks ago so I wouldn't be admissible for the contest. Nowjs basically kinds of adds an abstraction layer on top of socket.io and makes it easier to develop real-time apps.

It's especially useful if you need the concept of room. They have a multi-room chat sample which gives a good start. For example, this would be quite useful if you wanted to build a MMORPG game with different maps/rooms where each user is in a single room at a time.

I'm using it with the concept of rooms and instead of sending chat messages to users connected to a room, and send JSON messages of different types and based on the type of message received by the client, I use backbone.js to update the UI based on what's received. When a user's action affect other users' views, message a dispatched back to the room.

The only problem I see with nowjs is that if you need horizontal scaling, you would need a license for a more scalable version of nowjs that doesn't seem to be ready yet from their website. Since I'm thinking forward for my pet project, I wouldn't want to pay for this. I'm thinking to add a Redis pub sub layer to take care of horizontal scaling but would love to have access to their solution for this!

Re:NowJS Real-time Trials: Build a 2-week hack, win sweet pr... by dshankar on Saturday September 17, 2011 @04:49PM (#3008889)
A single server running Now can easily handle 10-15k connections. The scalable solution you mentioned is called NowCluster. It is already in production-use by several companies, but has not been made publicly available.
Re:NowJS Real-time Trials: Build a 2-week hack, win sweet pr... by jeromeparadis on Sunday September 18, 2011 @12:07AM (#3009456)
That's good to know. If my app ever needs it, it will be a nice problem to have.
Re:NowJS Real-time Trials: Build a 2-week hack, win sweet pr... by horofox on Saturday September 17, 2011 @02:02AM (#3007376)
I'm gonna win dat, everybody just should just quit.

Making a MMO with nowjs, cya.

Re:NowJS Real-time Trials: Build a 2-week hack, win sweet pr... by dshankar on Saturday September 17, 2011 @03:48AM (#3007518)
Good luck! Tweet or email the NowJS mailing list with your progress over the next two weeks
Re:NowJS Real-time Trials: Build a 2-week hack, win sweet pr... by avolcano on Saturday September 17, 2011 @04:51AM (#3007588)
It's cool, you can win. I'm just in it for the t-shirt and the jerky.