News for hackers. Stuff that matters.
Re:Hook.io - a full featured i/o framework for node.js which... by moe on Tuesday July 26, 2011 @09:24PM (#2810289)
So, you want to take on erlang?

Then how about writing some documentation. Your half-page README, half of which is spent making big claims, but then barely scratching a hello-world, left me rather underwhelmed.

Here's a simple question: How do you handle errors? (exceptions, transport errors, timeouts)

Re:Hook.io - a full featured i/o framework for node.js which... by barracks on Tuesday July 26, 2011 @10:15PM (#2810410)
The project is pre semver 1.0.0, it should not be considering suitable for production.

You'll have to be way more specific about what you mean by "handle errors". Do you mean node to node connection errors? Node to node messaging errors? Errors localized in a custom Hook?

I suggest just reading through the codebase, it's not that big. The entire philosophy is crash only processes which are supervised by Forever. In the current early version of hook.io we usually get let things crash and restart. This isn't idea for guaranteeing delivery of messages, but it's a good start.

Re:Hook.io - a full featured i/o framework for node.js which... by alnayyir on Wednesday July 27, 2011 @12:59AM (#2810834)
> The entire philosophy is crash only processes which are supervised by Forever.

> we usually get let things crash and restart.

>This isn't idea for guaranteeing delivery of messages

That is not Erlang.

Re:Hook.io - a full featured i/o framework for node.js which... by bradleymeck on Wednesday July 27, 2011 @11:13AM (#2812465)
Indeed not, but Erlang is Erlang, Hook.io is Hook.io, and Trolls are Trolls. More perspective on opinions would be helpful to evolving away from problems you see, and/or for the use of understanding your comment.
Re:Hook.io - a full featured i/o framework for node.js which... by changelog on Wednesday July 27, 2011 @01:14AM (#2810867)
I think you might be mistaken.

From: http://en.wikipedia.org/wiki/Crash-only_software

Erlang is a computer language originally built by Ericsson for fault-tolerant telephone switches. Programs are structured as modules that can be replaced (hot swapped) without having to restart the entire program. If a module crashes or needs to be updated it can be restarted or replaced without affecting any other part of the program. Within the Open Telecom Platform, which often is used together with Erlang, there exist frameworks to simplify and automate this task.

Re:Hook.io - a full featured i/o framework for node.js which... by alnayyir on Wednesday July 27, 2011 @01:29AM (#2810883)
Crash-only is an aspect of Erlang, you've not replaced the entirety of what makes Erlang uniquely useful.