Live data from Hacker News

Node v0.10.14 (Stable)

blog.nodejs.org

11–20 of 33 posts

Re: Node v0.10.14 (Stable)

#11
post #3

I've recently gotten into Node and it has been such an awesome and fun time. Anyone on the fence about it should definitely go and try it out.

To chime in with another viewpoint: I've just written a sort of remote-control solution that can use WebSockets and fall back to SSE (Server-Sent Events) + HTTP POST if necessary. I wrote it in node.js, which I hadn't used before, because it had (has) great libraries for both WebSockets and Server-Sent Events. So I though I would put to use the adagio "best tool for the job". I don't regret it because I was able to write this thing in about 5 days and together with runit restarting it when it throws an exception I have a solution that hasn't failed me yet.

But... I really kinda hated the callback spaghetti, and no matter what library I tried (Step, Async, ...), I couldn't get myself to feel more comfortable with it. So I decided I would only use node.js when the libraries make it too hard to pass up.

Re: Node v0.10.14 (Stable)

#12
post #11
post #3

I've recently gotten into Node and it has been such an awesome and fun time. Anyone on the fence about it should definitely go and try it out.

To chime in with another viewpoint: I've just written a sort of remote-control solution that can use WebSockets and fall back to SSE (Server-Sent Events) + HTTP POST if necessary. I wrote it in node.js, which I hadn't used before, because it had (has) great libraries for both WebSockets and Server-Sent Events. So I though I would put to use the adagio "best tool for the job". I don't regret it because I was able to w…

>So I decided I would only use node.js when the libraries make it too hard to pass up.

So, all the time then? --For me at least ;)

Re: Node v0.10.14 (Stable)

#13
post #11
post #3

I've recently gotten into Node and it has been such an awesome and fun time. Anyone on the fence about it should definitely go and try it out.

To chime in with another viewpoint: I've just written a sort of remote-control solution that can use WebSockets and fall back to SSE (Server-Sent Events) + HTTP POST if necessary. I wrote it in node.js, which I hadn't used before, because it had (has) great libraries for both WebSockets and Server-Sent Events. So I though I would put to use the adagio "best tool for the job". I don't regret it because I was able to w…

Do you use the module feature that much? If you break your code down into small enough pieces it's less of a problem. Also the terseness of coffeescript functions makes anonymous functions less painful.

Re: Node v0.10.14 (Stable)

#14
post #11
post #3

I've recently gotten into Node and it has been such an awesome and fun time. Anyone on the fence about it should definitely go and try it out.

To chime in with another viewpoint: I've just written a sort of remote-control solution that can use WebSockets and fall back to SSE (Server-Sent Events) + HTTP POST if necessary. I wrote it in node.js, which I hadn't used before, because it had (has) great libraries for both WebSockets and Server-Sent Events. So I though I would put to use the adagio "best tool for the job". I don't regret it because I was able to w…

I had a similar experience with the callback spaghetti at first. It felt kind of off and awkward. Once I got the hang of it (day or two), I started really enjoying all the callbacks and passing functions everywhere. Maybe all this Javascript coding finally got to me and now I'm crazy :)

Re: Node v0.10.14 (Stable)

#15
post #11
post #3

I've recently gotten into Node and it has been such an awesome and fun time. Anyone on the fence about it should definitely go and try it out.

To chime in with another viewpoint: I've just written a sort of remote-control solution that can use WebSockets and fall back to SSE (Server-Sent Events) + HTTP POST if necessary. I wrote it in node.js, which I hadn't used before, because it had (has) great libraries for both WebSockets and Server-Sent Events. So I though I would put to use the adagio "best tool for the job". I don't regret it because I was able to w…

I've found it becomes almost an art, trying to write your code without having to fall into the callback quagmire.

You can usually do it, though. Usually.

Re: Node v0.10.14 (Stable)

#17
post #16

For anyone willing to learn node which would be an easy way to install the latest version on a server? Ubuntu 13.04 repository only has node v0.6.19

You mean besides the binaries on the page linked in this post?

I've also been using a PPA to keep an up-to-date version on my home Ubuntu box for playing around with.

Re: Node v0.10.14 (Stable)

#18
post #16

For anyone willing to learn node which would be an easy way to install the latest version on a server? Ubuntu 13.04 repository only has node v0.6.19

You mean besides the binaries on the page linked in this post? I've also been using a PPA to keep an up-to-date version on my home Ubuntu box for playing around with.

Oh, so am I supposed to drop the binaries to my bin or sbin directory?

Which PPA did you use?

Re: Node v0.10.14 (Stable)

#19
post #3

I've recently gotten into Node and it has been such an awesome and fun time. Anyone on the fence about it should definitely go and try it out.

+1 Node is lots of fun, and a good platform for JavaScript. As a long time (since the late 1970s) Lisp programmer (also with lots of Ruby and Java work) I have in the past generally detested JavaScript.

That has changed, big time. I now find that JavaScript (and CoffeScript) is really a nice language. By using a small subset of the language, and always having JSLint running in IntelliJ: coding is fast, code is readable, good run time performance, and fairly low memory use. Node, Express, Meteor, and Ember.js round out the ecosystem for me.

I have had a multi-year love-fest with Clojure, but I am now seriously considering the JavaScript/Node ecosystem to be a bit more practical.

Re: Node v0.10.14 (Stable)

#20
post #11
post #3

I've recently gotten into Node and it has been such an awesome and fun time. Anyone on the fence about it should definitely go and try it out.

To chime in with another viewpoint: I've just written a sort of remote-control solution that can use WebSockets and fall back to SSE (Server-Sent Events) + HTTP POST if necessary. I wrote it in node.js, which I hadn't used before, because it had (has) great libraries for both WebSockets and Server-Sent Events. So I though I would put to use the adagio "best tool for the job". I don't regret it because I was able to w…

Have you looked at https://github.com/olegp/common-node?
Post reply on HN