News for hackers. Stuff that matters.
Re:How we used Node.js to build real-time award flight search by dcaylor on Thursday August 11, 2011 @06:56PM (#2875186)
Great use case for Node.js.
Re:How we used Node.js to build real-time award flight search by sausagefeet on Thursday August 11, 2011 @07:05PM (#2875222)
Great use case for Twisted, Erlang, Ocaml/Lwt, Lua, Python/Gevent too.
Re:How we used Node.js to build real-time award flight search by IsaacSchlueter on Thursday August 11, 2011 @07:23PM (#2875276)
Great point! I bet that now thanks to your razor wit, dcaylor will think twice before saying something nice about node without also saying something nice about every other programming platform.
Re:How we used Node.js to build real-time award flight search by sausagefeet on Thursday August 11, 2011 @11:34PM (#2875873)
Node gets a lot of attention despite not doing much of anything new, sometimes it can be helpful to point this out. I was not rude or insulting about it, unlike others.
Re:How we used Node.js to build real-time award flight search by dcaylor on Friday August 12, 2011 @12:55AM (#2876033)
I laughed at both your initial response and IsaacSchlueter's comment. Valid points from both.

It would have been a little odd for me to say "Nice use case for Python" considering the original post was about Node, and specifically said they tried writing it in Python but "writing asynchronous code in Python is like using your keys to open a beer bottle." That also made me laugh.

In fact, the original article specifically talked about why Node.js was a good choice for this use case. I agree. Not that you couldn't do it in other ways. Erlang would also be a good choice here, I'm sure. There is always more than one way to do most anything. Still, and in spite of the fact that Node might be getting too much hype, it is an excellent tool for this type of async need.

Re:How we used Node.js to build real-time award flight search by sausagefeet on Friday August 12, 2011 @07:13AM (#2876811)
Well, I hope you learned your lesson.
Re:How we used Node.js to build real-time award flight search by IsaacSchlueter on Saturday August 13, 2011 @02:35AM (#2880462)

    > Node gets a lot of attention despite
    > not doing much of anything new
Most people close to the project (Ryan, me, Mikeal, Felix, etc.) are usually pretty quick to point out that node does virtually nothing that hasn't been done before. Async IO is not new. Event loops aren't new. IOCP isn't new. JavaScript isn't new.

If anything, node's success so far has been a result of combining established technologies in ways that make it easy for more people to write reasonably fast programs that use the internet in fun and interesting ways.

Novelty isn't really what it's all about. If anything, I look at novelty as a hazard. Most ideas are bad, and it's hard to tell when they're new. If you can take some existing good ideas, and make them more fun, that tends to be a more successful strategy (or at least a more enjoyable one.)