Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
IsaacSchlueter
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
14 ms
·
91.
▲
by
IsaacSchlueter
14y ago
No, it does not make sense to roll your own proxy turning read() calls into emits. You probably won't get it to go faster than it does now. Whether you use on('data') or read(), you get equivalent performance.
92.
▲
by
IsaacSchlueter
14y ago
So, some people were acting immaturely at a tech conference, violating the CoC. They offended someone with their antics, and most likely embarrassed their employer, a sponsor of said conference. The employer might have been a bit knee-jerk
93.
▲
by
IsaacSchlueter
14y ago
It's a 3-tuple, not a float.
94.
▲
by
IsaacSchlueter
14y ago
No. StrongLoop employs 2 node core committers, Ben Noordhuis and Bert Belder, who are also two of the most active libuv committers. (They have other folks that work there, of course, but those two also work on Node itself quite a lot.) Joy
95.
▲
by
IsaacSchlueter
14y ago
If you add a listener for 'data', or call stream.resume() then it'll start flowing data as it receives it, just like v0.8 and before. The only caveat is that listening for 'end' will not automatically start the flow of data, so you do
96.
▲
by
IsaacSchlueter
14y ago
I think you're confusing centralization of project control with centralization of domain names.
97.
▲
by
IsaacSchlueter
14y ago
You would put the cleanup code in a separate function, and call it. I don't think there's anything wrong with using goto in such a case, though, if it makes the code more understandable.
98.
▲
Hacker News: Poison and to be avoided
(twitter.com)
25 points
by
IsaacSchlueter
14y ago
|
0 comments
99.
▲
by
IsaacSchlueter
14y ago
This reminds me a lot of fab. I dig it. Other comments on this page so far show predictable HN-style "Hate anything new" bias. The page is pretty easy to understand what's going on, and all of the objections don't make any sense. Good wo
100.
▲
by
IsaacSchlueter
14y ago
You have hit on the exact reason why I almost never look at Hacker News any more, except when someone explicitly asks me to respond to something. This site appeals to the absolute worst in everyone. I find myself becoming an asshole every
101.
▲
by
IsaacSchlueter
14y ago
Sorry, folks. My bad. The root cause here is that some stuff didn't get handed over properly in the switch from Ryan to me as Node.js manager. So, the emails were indeed going to a non-functioning inbox. It's resolved now, and we're setti
102.
▲
by
IsaacSchlueter
14y ago
Kirin, I think you pretty much hit the nail on the head. More of this stuff is due to luck and randomness than most people admit. We look back and find a few contributing factors, put them in a pile, and call it a theory, and believe we u
103.
▲
Hacker News for Cats
(cats.news.ycombinator.com.meowbify.com)
3 points
by
IsaacSchlueter
14y ago
|
1 comments
104.
▲
by
IsaacSchlueter
14y ago
The only .xxx domain I'm actually aware of is http://couch.xxx which is IrisCouch.
105.
▲
by
IsaacSchlueter
14y ago
Typo: s/\.pip\(\)/.pipe()/
106.
▲
by
IsaacSchlueter
14y ago
> It feels like coding directly against system calls in C. I disagree. Coding directly against system calls is much harder in C, because you don't have the advantage of closures and flexible typing. But, that aside, node is intended
107.
▲
by
IsaacSchlueter
14y ago
I am shocked and offended that you seem to believe that all men are trolls. Shame on you, sir. Shame on you.
108.
▲
by
IsaacSchlueter
14y ago
> Is it sort of like a try/catch for error events? Yes, but it's also sort of like a try/catch for thrown errors. d = domain.create() d.on('error', function(e) { console.error('an error: ', e) }); d.run(function(
109.
▲
by
IsaacSchlueter
14y ago
Thanks! It is marked experimental, and we really do mean that. The API won't change in 0.8, but it probably will change somewhat in the next stable release. Please try it out and let us know what you think, especially in what ways it i
110.
▲
by
IsaacSchlueter
14y ago
Yeah, that looks like a bug in the docs. It does not actually exist. https://github.com/joyent/node/issues/3532
111.
▲
by
IsaacSchlueter
14y ago
I can't believe you managed to get this submitted to HN before I did. That's what I get for posting it to twitter before coming here ;D Since I knew the URL, I could have totally cheated and done it before even uploading the blog post.
112.
▲
Node 0.7.10 (0.8 coming next week)
(blog.nodejs.org)
1 points
by
IsaacSchlueter
14y ago
|
0 comments
113.
▲
by
IsaacSchlueter
14y ago
Indeed. It almost seems like Node.js is somehow involved with this project. (It isn't.)
114.
▲
by
IsaacSchlueter
14y ago
Actually, a surprising amount of JS code was already built around event-driven IO. It took a remarkably small amount of work to get YUI3 running on node, for example.
115.
▲
by
IsaacSchlueter
14y ago
So could this comment.
116.
▲
by
IsaacSchlueter
14y ago
Yes, exactly.
117.
▲
by
IsaacSchlueter
14y ago
The thing is, people consider coding to be "programming". Many people who write code in C, Ada, Pascal, etc. call themselves programmers. But if they were tasked with writing machine instructions or even assembly they could not do it. And h
118.
▲
by
IsaacSchlueter
14y ago
I have a problem with this line: Objects in JavaScript are not cheap, they need to carry around lots of extra information and can be many times larger than their C style counterparts, moreover property access is slow.
119.
▲
by
IsaacSchlueter
14y ago
What do you mean when you say "fad"? Put another way: What evidence could you potentially see that would convince you it's not a fad?
120.
▲
by
IsaacSchlueter
14y ago
The discrepancy in this benchmark is almost entirely copying the results of read(2) into a userspace buffer. OS caching is important, but it's not the whole story here. As some other commenters pointed out, if you pre-load the file content
More ›