Better HN
topnewbestaskshowjobs
Log inSign up

ehsanu1

1,377 karma · joined Apr 26, 2011 (15y ago) · 616 submissions

ehsanul@ehsanul.com

I'm actually ehsanul (http://news.ycombinator.com/user?id=ehsanul) here on HN, but I switched Google accounts.

Submissions

comment 15y ago · link · parent

While this is an issue, it's a pretty minor one from my own (limited) experience using CoffeeScript. It's extremely easy to relate the JS errors to your CS code, since the JS generated is so readable. It's just a little tedious to have to take a look at the generated JS, but not that bad really. Try it out for some node.js stuff and see for yourself.

Also, the issue is being fixed for Chrome/Firefox, which is good enough for dev work.

comment 15y ago · link · parent

Having trouble registering here: https://sandbox.mobileworks.com/accounts/register/

It just ends up refreshing the page, with the form still filled in (except password fields).

comment 15y ago · link · parent

Well, I'd be surprised too if it was just due to PCWorld, but it's more than that. The guardian and the telegraph, and many other mainstream news outlets have gotten wind of this story: http://www.google.com/search?client=opera&rls=en&q=b...

comment 15y ago · link · parent

Except that it at least prevents the discussion devolving into a long chain of jokes, like you see on Reddit, and generally keeps this kind of thing to a minimum overall on HN.

There's a place for those chains of jokes, and that's mostly on Reddit (which I enjoy browsing often). But I would prefer to keep the discussion here on HN a bit more meaningful.

comment 15y ago · link · parent

This critique is just a bit unfair to Scheme, given his first couple examples being used to show how cumbersome it is compared to Miranda. Normally you'd have a fold function defined and use that instead:

    (define (sum x) (fold + 0 x))
Writing it this way is more idiomatic Scheme, and isn't really cumbersome.

comment 15y ago · link · parent

Unless you're strength training. In which case, you may not care to climb the stairs as they don't really further your goals.

comment 15y ago · link · parent

Then the issue becomes determining what abstractions are "necessary". The line is very blurry, and there is plenty of room for a range of reasonable positions on this matter.

While there may be some objective truth about which abstractions really are a net benefit to use, there's no easy way for us to determine it (besides deciding between binary and assembly). So arguing about it is mostly pointless. Leave each to their own preference.

comment 15y ago · link · parent

Please see http://hackerne.ws/item?id=2722896

comment 15y ago · link · parent

For debugging, see node-inspector: https://github.com/dannycoates/node-inspector

For details about modules: http://nodejs.org/docs/v0.4.8/api/modules.html

Use the same site for the rest of the API too of course.

I like vows.js for unit testing: http://vowsjs.org/

comment 15y ago · link · parent

Thanks for the pointer to fountain codes. Though, since I'm working on a networked game that works over websockets, this is basically something I wouldn't bother with since websockets are TCP, not UDP, and as such they are guaranteed delivery and correct order of arrival. I realize TCP vs UDP is something of a debate in game networking, but it's a simple solution here. Let the protocol do the work and just send (compressed) deltas. I suppose this is equivalent to the Doom way.

comment 15y ago · link · parent

Nice. I had $5k worth of gold for when it was selling for $10/billion, but then the price crashed since I was slow and supply had gone up while I had stopped playing. Oh well.

comment 15y ago · link · parent

Possibly click-through rate, normalized using average click-through rate for the first result.

comment 15y ago · link · parent

I have 200+ accounts, from when I was first learning how to program and was automating some tedious mutlplayer strategies in a text-based facebook MMO game. Was a fun way to learn!

The game was called Warbook, and I believe the creator is on HN (hi TJ!), and doing some YC gaming company.

comment 15y ago · link · parent

This type of flying machine is called an ornithopter in general, and many hobbyists have made their own. You can even buy toy ornithopters I believe. However, most cannot be controlled, and those that can probably can't be maneuvered as well as with this particular design.

http://www.ornithopter.org/

Many ornithopters use elastic bands for power, whereas this seems to be battery-based. I'm impressed with the 11 minutes of flying time. I wonder what sort of battery they are using that's so light. The weight of batteries seems to me to be the biggest issue in making smaller ornithopters.

comment 15y ago · link · parent

There's another solution to this, besides the ones mentioned by others in this thread, which someone can probably do themselves. Just look at the design of the teleprompter: http://en.wikipedia.org/wiki/File:Teleprompter_schematic.svg

Errol M0rris used a device with a similar design, called the "Interrotron", so that when he interviewed people, they'd have direct eye contact both with him and the viewers: http://www.errolmorris.com/content/eyecontact/interrotron.ht...

Picture of it here: http://www.flickr.com/photos/jkottke/1526404040/

This should really make the design clear: http://www.whiterabbitdesigncompany.com/Miscellaneous/images...

All you need besides a screen and webcam is a half-silvered mirror, good lighting and an encasing so that the webcam is in the dark, besides light from straight ahead through the mirror. I've been meaning to make this myself, since I spend hours everyday on video chat, but haven't gotten to it yet.

616.

Mr. X by Carl Sagan (insights through cannabis)(hermiene.net ↗)

10 points · by ehsanu1 · 15y ago · 1 comment

1
1718192021