Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
meryn
searching Neon…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
8 ms
·
1.
▲
by
meryn
12y ago
I'm not sure what resolution these images are, but if it's very high-res, it may make sense to make intermediate-sized versions first. I expect that would make recreating thumbnails (i.e. in a different size - or multiple sizes) m
2.
▲
by
meryn
13y ago
Thanks for explaining difference between concurrency and parallelism so clearly! I'll remember this. I of course realize that Node doesn't truly handle things in parallel. It's a single thread, after all.
3.
▲
by
meryn
13y ago
I posted this as a comment on the gist: It's not about performance, it's about <del>parallelism</del> concurrency. If you don't care for Node's ability to handle multiple requests <del>in parallel&
4.
▲
by
meryn
13y ago
The point I was trying to make is that I see this graph as doing something comparable to saying you're (by definition) born in "the year zero, at 00:00:00".
5.
▲
by
meryn
13y ago
Does anyone else have trouble understanding (or "intuitively reading") the graph in the f.lux beta preferences? I discovered that's a kind of "ego-centric" graph. I mean ego-centric just like there once where earth-
6.
▲
by
meryn
13y ago
This is a nice example of a "commitment device", "a means with which to lock yourself into a course of action that you might not otherwise choose but that produces a desired result". https://en.wikipedia.org&#
7.
▲
by
meryn
13y ago
"Attendees [...] learned a technique called "pre-hindsight" that uses emotional cues to create more foolproof plans. It works like this: Imagine that six months have passed, and you haven't achieved the body of your drea
8.
▲
by
meryn
13y ago
Wouldn't it be better if it would just say "mock your HTTP responses to test your HTTP client", or "to test your HTTP client code"? The service makes a lot of sense otherwise.
9.
▲
by
meryn
13y ago
From the post: "This is annoying at the level of Arrays, but gets more difficult with more complex types, and function interactions. The recent brouhaha around the Promise/A+ highlights one such example: It is difficult to return a Promise
10.
▲
by
meryn
13y ago
Perhaps the most surprising to me is how much difference the array.map(function(item){ return parseFloat(item); }) statement makes. Removing this gives almost a 100% speedup. Using the Cluster api to have one process per core results
11.
▲
.NET and Node.JS – Performance Comparison; apples to apples
(guillaume86.calepin.co)
2 points
by
meryn
13y ago
|
1 comments
12.
▲
by
meryn
13y ago
It seems the blog had a kind of "invisible" filter on the comments, which made it appear there were zero comments, or one (your own) if you had posted one. Now a whole pile of comments have become visible (manually approved I think). Funny
13.
▲
by
meryn
13y ago
"let's implement that corrected version of the node.js application and run the benchmark again." - Do it. I'm curious. :)
14.
▲
by
meryn
13y ago
I'll take that as a compliment. ;) If I ever would be doing such a thing, it would be more of a lesson in how to use node.js properly (even for non-typical tasks like sorting) then a performance comparison between node.js and .Net. Even the
15.
▲
by
meryn
13y ago
Thinking this through some more, using sort with a comparator function would be unnecessary slow. Given the objective of the algoritm (return a median), it's much better to convert the array of strings to an array of floats (or ints, whatev
16.
▲
by
meryn
13y ago
I posted this comment: "It's obvious that you're new to Node.js. First of all, you should be aware that Async.js is a mere flow-control library. It does not offload work to separate threads, and neither is it able to parallelize work. Inter
17.
▲
by
meryn
14y ago
Tim, do you know about https://github.com/danlucraft/git.js ?
18.
▲
by
meryn
14y ago
You can vote on which editor you want Tern to be integrated with (aside from emacs and vim): http://ternjs.net/vote.html
19.
▲
Tern (JS type inference engine) reaches 15K stretch goal for editor integration
(indiegogo.com)
1 points
by
meryn
14y ago
|
1 comments
20.
▲
by
meryn
14y ago
Looks cool! How do you gauge the difficulty of adding support for CoffeeScript to this? Re the indiegogo campaign: I think you should consider adding an extra supporter tier between 25 USD and 1000 USD. The 200 USD tier of CoffeeScript Redu