Better HN
topnewbestaskshowjobs
Log inSign up

BrianHammond

26 karma · joined Mar 11, 2010 (16y ago) · 34 submissions

Submissions

comment 16y ago · link · parent

.node files are "addons". See the following:

http://github.com/stevedekorte/vertex.js/blob/master/lib/Ver...

http://github.com/stevedekorte/vertex.js/tree/master/lib/Ver...

http://github.com/edvakf/node-tokyocabinet

http://nodejs.org/api.html#addons-289

comment 16y ago · link · parent

    _ry: fictorial: eventually, not for 0.2
http://nodejs.debuggable.com/2010-05-07.txt

comment 16y ago · link · parent

For those using Node.js, the same is

    var len = Buffer.byteLength(a_string, 'utf8')

comment 16y ago · link · parent

I enjoy TheSansMonoCd by LucasFonts. It costs money though.

http://imgur.com/kBpMI.png

comment 16y ago · link · parent

http://steveblock.com/r/sgiscreen-ttf.tar.gz

Looks pretty good at 14pt in Terminal.app. Thanks.

comment 16y ago · link · parent

WebGL is mentioned on that page. I'm not sure if it was updated since you looked.

"Conclusion: Not ready*. Waiting for Internet Explorer 8, Firefox 3.6, Chrome 4, Opera 10.5 to expire"

comment 16y ago · link · parent

"This can get sloppy."

Indeed it can. I am a fan of flow-js however. It has really helped me to avoid getting sloppy in Node.js.

http://github.com/willconant/flow-js

comment 16y ago · link · parent

The big question is if Heroku will suddenly support a fairly large number of long-lived connections to a Node.js hosted app, and how pricing would work. Developing real-time apps and custom servers are how Node.js really shines. A WebSockets module took only a few hours to develop for instance.

comment 16y ago · link · parent

Thanks for the shout-out in the slides about the Redis client for Node.js.

http://github.com/fictorial/redis-node-client

comment 16y ago · link · parent

I'm curious about the "fanout" name which immediately made me think of a message broker like RabbitMQ on the backend somewhere. I guess "fanout" here means 1 client to fanout.js to N >> 1 other clients.

There are a number of similar projects popping up like this one as of late for Node.js. NodeRed, fanout, dealer, etc.

That's great. Node.js makes previously "complex" things a little easier to setup and play with.

comment 16y ago · link · parent

Redis has native pubsub for a few weeks. A client can subscribe to channels by name or pattern, and publishers can publish messages to channels.

The ruby, python, and node.js clients support non-BLPOP pubsub. We are starting to see some layers added atop this (e.g. NodeRed).

comment 16y ago · link · parent

I am working on something similar for Node.js called NodeRed:

http://github.com/fictorial/nodered

comment 16y ago · link · parent

menu > settings > songbook no-fail mode: on

menu > songbook > flight of the bumblebee

tap, tap, tap, tap...

comment 16y ago · link · parent

I fully admit to having no idea what this refers to, but I'm scared anyway.

comment 16y ago · link · parent

Wow! That was really neat!

As someone who witnessed the events of 9/11 in NY from across the river in Hoboken, NJ this was fairly terrifying too. I was not expecting to have that association when I clicked the link!

comment 16y ago · link · parent

mootools made javascript a better language? Javascript is a wonderful language regardless of the availability of good tools and libraries.

comment 16y ago · link · parent

ODE has been around for years. Did something big happen? Why is this here?

comment 16y ago · link · parent

Somewhere Jodie Foster just threw off her headphones, jumped off the hood of her car, and frantically went to investigate. She won't find much. (hint: 3-D, not 2-D).

comment 16y ago · link · parent

I just uploaded the first version of NodeRed:

http://github.com/fictorial/nodered

comment 16y ago · link · parent

Nice, good to see more people coming to Node.js. These things are like the modern "Hello, World!".

Here's one I hacked up in 10 minutes. It's 40 LOC. http://gist.github.com/366590

The big problem with this is that it's just one server. I'm working on something called "NodeRed" (har har) that lets one scale out the frontend using Redis for communication. It's generic enough to do PUBSUB, chat, games, etc.

Here's an overview. http://fictorial.com/NodeRed.png

I developed the/a Node.js client for Redis if you care to dive into this stuff: http://github.com/fictorial/redis-node-client

comment 16y ago · link · parent

I am doing something similar with my redis-node-client as a base.

comment 16y ago · link · parent

Rejected: location-aware weather can be obtained by looking out the window.

comment 16y ago · link · parent

Ask tocomment: try it and let us know!

comment 16y ago · link · parent

Suggestion: temporarily disable the "next reel" button for a duration of time proportional to the frequency of my clicks thereupon. Make me watch the reels instead of trying to satisfy my urge to see "what's next?"

comment 16y ago · link · parent

"The weird thing about C is that its not even prefixed like Clojure (+ 2 2), instead all operators are scattered between the arguments!"

Please tell me he is kidding. Maybe I don't get out of my cave often enough but it seems uncommon that someone could grok FP bypassing C altogether.

26.

Details of Redis' virtual memory implementation(code.google.com ↗)

2 points · by BrianHammond · 16y ago · discuss

12