HNHacker News
TopNewBestAskShowJobs

benjoffe

829 karma · joined September 12, 2010

My site with various personal projects and demos: https://www.benjoffe.com/
submissionscomments
benjoffe··on Experimental support for WebAssembly in V8
You don't need any of those to make websites and web apps already (or to be less pednantic, you don't need most of those) so I'm not sure what your question is.
benjoffe··on In Retrospect: The Selfish Gene
The article also mentions that so I'm guessing the questioner is looking for other examples.
benjoffe··on 95-Year-Old Smashes 200m World Record: ‘Bodies Can Be Rebuilt at Any Age’
I believe the parent is referreing to the fact that the specific age range is not specified. Eg. is this 90-99 (my guess), 70+ or "exactly 95", etc.
benjoffe··on Why the sun is a poor dumping ground for nuclear waste (2010)
Where did you get the "0.5-1%" figure from? That may be true in some cases, but not in this extreme case, here it's closer to half the delta-v (which, due to the rocket equation is enormously less difficult to achieve).

Solar escape velocity is about 16.5km/s* , and since ~99% of this manoeuvre's delta-v budget is used at launch the entire delta-v cost is asymptotically this value.

*http://en.wikipedia.org/wiki/New_Horizons#Launch (see paragraph 4)

benjoffe··on Why the sun is a poor dumping ground for nuclear waste (2010)
That "trick" would indeed work and is a well known orbital manoeuvre: http://en.wikipedia.org/wiki/Bi-elliptic_transfer (without the final circularising burn).

This manoeuvre would be preferable to the article's alternative (a Hohmann transfer reducing periapsis to the sun's radius without the final circularising burn) in all cases where the initial semi-major axis (relative to the sun) is roughly greater than 11.94 solar radii (ignoring minor factors that make this case slightly different to the wikipedia example).

edit: to make it clear, I'm talking about a heliocentric bi-elliptic transfer after Earth escape, where the initial orbit is equivalent to Earth's orbit, and the final inner orbit can be imagined as one scraping the surface of the sun, but since the sun would destroy the craft, the final circularising burn is not required (in sloppy terms: hitting the sun on the edge would be easier than hitting it straight on).

benjoffe··on Principles of Rich Web Applications
I would argue that in the case of Facebook's updating feed that the idea is fine, the implementation is buggy.

What should happen is the new content is loaded above and instantaneously the document scroll position is updated to preserve the previous position. This will allow new content to come in without disrupting your experience.

benjoffe··on Responsive Logos
None of the results on that page or image results show Coke in the classic font.
benjoffe··on The Meaning of Life
From the article:

> Nothing has inherent meaning. Everything is only what it is and that's it.

I think you come to the same conclusion but perhaps express it a little deeper than the author does.

benjoffe··on The Meaning of Life
> I see little point in trying to ascertain the "meaning" of life. From what I see, life itself gives birth to the concept of meaning not the other way around.

Did you actually listen to the talk? He comes to the same conclusion.

benjoffe··on Beautiful visualization of wind currents on Earth
This is a very similar style to parts of this incredible visualisation of Earth weather http://www.youtube.com/watch?v=COWE6sMzdqI
benjoffe··on Comet Ison 'destroyed in Sun pass'
This has been called too early, comets are very unpredictable and ISON appears to be brightening again as it loops around: http://farm6.staticflickr.com/5480/11106507235_ec20b425d7_o.... (apparently the same thing happened with comet lovejoy).

Somewhat up to date information is being posted to this reddit thread: http://www.reddit.com/r/space/comments/1rn7fb/rspace_comet_i...

benjoffe··on In Javascript - value =!!value
You can use Boolean(value) but it will return an 'object' of a 'boolean' type, rather than a primitive boolean (it's one of JS's flaws so is generally avoided).

Note: their example of a similar piece of code is not identical, as it won't cast values like null to false. I think the best example of a clear equivalent would be:

    value = value ? true : false;
benjoffe··on Orangutans plan their future route and communicate it to others
Do you think it's wrong to report about orangutans in this fashion even if it's true? I don't understand your point.

Edit: also, your mention that comments like this are "notably missing from this thread" makes little sense when there's currently only one other root comment against the post.

benjoffe··on HTML5 Genetic Cars
Yeah after 220 platforms the terrain on all seeds ends, which is a shame.
benjoffe··on HTML5 Genetic Cars
I've been iterating over sequential seeds looking for one that contains the most downhill terrain, so far the best is: 24427169 - it descends very rapidly in the later part of the track. I'll keep this running over night and post results.

Edit: 71044092 beats that (declines 47 units in the distance of the track, which is 220 units long).

benjoffe··on If a mathematician wants to cross a road
http://en.wikipedia.org/wiki/Negative_index_metamaterials
benjoffe··on Traffic From Syria Disappears From Internet
> About $200 billion annual output between Iran & Qatar. That's about $360,000 per SECOND

That's $360,000 per MINUTE (not second).

200*10^9/365/24/60/60 = 6342

benjoffe··on The Clown Car Technique for Responsive Images
> In the second, the raster images are background image. Only the required image is downloaded.

The author neglects to point out that every image will waste a http request downloading the svg file so this is going to give poorer performance than having the logic in your css (perhaps he considered it too obvious).

benjoffe··on Show HN: Anonymous Bitcoin Lottery
> Currently the lottery has a 25% cut of the total amount in the lottery. This is used to pay for development, server costs and maintainence. Eventually, my goal is to decrease the fee to as small as possible to allow for the largest winning. This will take place when the development stops (meaning there are no features to be added) and/or the lotteries take place more often.

I find this to be backwards, you are effectively punishing your early adopters. It seems to make much more sense to make the cut lower (or zero) now, and increase it later when you have more users.

benjoffe··on Chess CAPTCHA
This looks like a clever solution to the problem for lichess, at least until someone plugs together a relatively simple bot with 100% success rates. Though, just because it can be cracked easily doesn't necessarily demerit it, perhaps their biggest problem is random untargetted bots, in which case this is great (the argument that it could take longer isn't really important to people on a chess forum).
benjoffe··on New Sanctions Imposed on North Korea as it Warns of Pre-emptive Nuclear Attack
A rational North Korean state would not engage in nuclear war in just about any scenario as it would mean almost certain destruction for itself in response. To help persuade their enemies not to invade they try to appear as irrational as possible.

There's an interesting segment in this psychology lecture about irrationality that seems related:

http://www.youtube.com/watch?v=i5IrSEIPdwk#t=44m36s

    There is some advantage to being irrational, to having a temper.
    Because if you have a temper and you're known to be irrational, people
    are forced, by dint of your irrationality, to treat you better. Who am
    I going to take from? The person who's extremely reasonable or the
    person who has a hair-trigger temper? Well, I'm going to pick on a
    reasonable person because the unreasonable person might do unreasonable
    things. And this is faintly paradoxical, but often to be irrational, or
    at least to have a reputation for mild irrationality, gives you an
    edge.
benjoffe··on Mercator Puzzle
As far as I can tell that actually could work very well, though the implementation might be quite difficult: 15 different zoom levels (I think) that google uses probably wouldn't be enough to make transitions between each seamless, requiring client side scaling during the zoom animations (which will either make the images slightly blurry or require loading higher resolution images).
benjoffe··on Durex rolls out condom app and delivery service
Not to mention that it's illegal pretty much everywhere.
benjoffe··on How Lisp is Going to Save the World
Did you click on any of the blue links in the comic? They contain articles on language features with sections: 'Synopsis', 'How it kills bugs', 'Explanation' and 'Weakness'.
benjoffe··on Web Developer Checklist
No. 5 on that list is not valid any longer, fixed font sizes were only an issue with IE6 where fonts specified in pixels wouldn't respond to the user's font size setting.
benjoffe··on Thinking the unthinkable
While I don't doubt your assertion, I think the parent was looking for more evidence than a simple "yes".
benjoffe··on Show HN: Socrates.io - clean and shareable markdown
Looks like it only alternates between the two states (flashing and not flashing), so if the page is opened as a new tab (i.e. not focused to begin with) then the flashing occurs when the tab is not focused.
benjoffe··on ESL - compiler for new programming language
While I agree it needs a proper introduction, example code can easily be found in the source of the compiler itself (the compiler is written in ESL): http://code.google.com/p/esl/source/browse/trunk/src
benjoffe··on Uiji.js is jQuery in reverse
Instead of prefixing protected attributes with underscore (_class) i would instead just wrap those in quotes (valid js, no extra logic), e.g. 'class': 'foo'.
benjoffe··on Why does iTunes 10.7 try to contact the domain bogusapple.com?
I wonder, do any routers, proxies or local internet exchanges filter requests based on TLDs that don't exist in a dictionary of valid TLDs? I'm guessing at least some do, which may give incorrect results.
← PreviousPage 2 of 6Next →