Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
substack
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
71 ms
·
151.
▲
by
substack
16y ago
Also check out node-binary: https://github.com/substack/node-binary which has a similar interface but nicer internals and only needs to keep 2 buffers in memory at any given time instead of a linked list like bufferlist.
152.
▲
Sesame - persistent http sessions using harmony proxies in node.js
(substack.net)
4 points
by
substack
16y ago
|
0 comments
153.
▲
Graph of node.js package dependencies
(substack.net)
4 points
by
substack
16y ago
|
0 comments
154.
▲
by
substack
16y ago
I wonder if the decrease in brain size is due in part to infant mortality and trauma in childbirth. Big brains don't exactly... fit as well coming out, although it's also not clear how much early brain size influences brain size later in li
155.
▲
by
substack
16y ago
For extra fun, type this in the address bar while on the github 404 page: javascript:var theta = 0; setInterval(function () { theta += 0.05; parallax({ pageX : (Math.sin(theta) + 1) * 1000, pageY : (Math.cos(theta) + 1) * 1000}) }, 50
156.
▲
by
substack
16y ago
If America is in a period of Byzantinian decline then how do the great tech-hub city-states like San Francisco and New York play into this narrative? This doesn't seem consistent.
157.
▲
by
substack
16y ago
Frankly I've found python to be quite antagonistic to functional programming with very weak lambdas and poor building blocks for building interfaces in monadic pipeline style. I guess coming from java it would seem refreshing but coming bac
158.
▲
by
substack
16y ago
At StackVM we use an IRC bot to tell us when the servers are down. In our case the bot is just a DNode service so all the backend needs to do is connect to the IRC service, post its message, and disconnect. http://github.com/substack/rowbi
159.
▲
Optimist: option parsing for node.js that gets out of your way
(substack.net)
2 points
by
substack
16y ago
|
0 comments
160.
▲
by
substack
16y ago
I like how there's a command line interface plus an application interface, so I can tie forever process management into my web interface and backend control interface. Right now the processes are just sitting in a `while true` bash loop.
161.
▲
Seq: chainable asynchronous flow control for node.js
(substack.net)
7 points
by
substack
16y ago
|
1 comments
162.
▲
by
substack
16y ago
Which browser are you using?
163.
▲
by
substack
16y ago
Glad you like it! Easter egg: http://browserling.com/queue
164.
▲
by
substack
16y ago
Sorry about that! When the API servers go down (these interface with our windows servers) it tells everybody in the queue "time's up" instead of a more informative message since we're using connection drops as a poor way of passing along th
165.
▲
by
substack
16y ago
Since the article uses evolution metaphors, how about this: forks can be a good way to help organisms (read: projects) navigate a complex multivariate fitness landscape. Abandoned forks then serve as concrete markers of particular design de
166.
▲
by
substack
16y ago
Instead of reading in static files yourself, you can just use connect (or s/connect/express/g and it'll also work): var connect = require('connect'); var server = connect.createServer(connect.staticProvider(__dirname + '/static'))
167.
▲
Roll your own PubSub with DNode in node.js
(substack.net)
16 points
by
substack
16y ago
|
0 comments
168.
▲
by
substack
16y ago
Each approach has liabilities that should be recognized. Intuitive decisions might "feel right" but there are so many cognitive biases that can make something intuitively appealing but surprisingly wrong. Analytical, rational approaches are
169.
▲
by
substack
16y ago
RPC is a domain where functional patterns really shine since the high-latency nature of network traffic is well suited to asynchronous, callback-oriented event systems which are themselves inherently functional. My own RPC system enforces c
170.
▲
by
substack
16y ago
I personally can't stand office chairs. Give me a sofa and a short table or a barstool and a counter, ideally both so I can switch between them, and I'm content. The article just assumes that everybody works best in chairs, but there are va
171.
▲
by
substack
16y ago
I've messed with TreeBuilder before but it looks like I should give this XPath business a look the next time I need to parse some HTML. I was a bit confused when I hit the "quote-likes" section until I realized it was an aside however. A di
172.
▲
by
substack
16y ago
This article says nothing about how lifespans are far longer now, as the comments section points out. Cancer is what you die of when everything else fails to kill you. Cancer is only "purely man-made" in the same sense that increased life e
173.
▲
by
substack
16y ago
In this case it was a derivative work based upon source code from the book, which is permitted under the terms but precludes open dissemination. Further, the rest of the codebase was very tightly coupled to the algorithms since since the al
174.
▲
by
substack
16y ago
Another neat thing about this module is that Lazy() can take an EventEmitter as an argument and custom event names, so you can wrap a Lazy() chain around existing streaming interfaces pretty easily.
175.
▲
by
substack
16y ago
Further, open code means that other researchers can come along and write unit tests. It amazes me how much code is still verified manually if at all in the sciences.
176.
▲
by
substack
16y ago
One time I worked on a power grid simulation that wanted to release its code but it couldn't because it used algorithms from «Numerical Recipes: The Art of Scientific Computing» which has a pretty asinine copyright policy with respect to op
177.
▲
by
substack
16y ago
I couldn't see how anything could possibly stay in orbit when gravity pulled everything together until I wrote a computer program to simulate orbits in 2d: http://ln-s.net/7oFZ It was really enlightening to fiddle with the constants and t
178.
▲
by
substack
16y ago
Yes but Android is a competitor to WebOS, so I was thinking more about how Google "feels" about its technologies being used in competitor's products.
179.
▲
by
substack
16y ago
I wonder how Google, with its competing Android platform must feel about this. That is to say, are chrome and android for that matter more like the Nexus 1: designed to push other companies forward, or more like standalone products of their
180.
▲
by
substack
16y ago
Glad you like it! Doing node-chess has given me a ton of ideas for the dnode web framework I have planned too. The framework will provide a more structured and out-of-the-box way to organize code that spans the server and client, since it c
More ›