HNHacker News
TopNewBestAskShowJobs

robert-boehnke

2,956 karma · joined February 19, 2011

submissionscomments
robert-boehnke··on "Why don't you sell Triple Town for 99 cents and make tons of money?"
You can play it here: http://error.rockpapershotgun.com/

For some reason, I the #content container has a width of zero. Try running `document.getElementById('content').style.width = null` in the console to fix that.

robert-boehnke··on Shepard tone
This effect was also used for the infinite stairs in Super Mario 64

http://www.youtube.com/watch?feature=player_detailpage&v...

robert-boehnke··on Kickstarter vaporware of the day, Lifx edition
> WiFi has nothing to do with the requirement for a massive heatsink. If it did, you iPhone would be a huge block of aluminum with fins. No, the heatsink is required because 80% (or more) of the energy going into an LED is converted into heat

I believe the author meant that without proper cooling, the excess heat would fry the WiFi controller

That being said, I have no clue what the operating temperatures of today's WiFi systems are

robert-boehnke··on Geek Alarm at Campus Party Berlin - is this us?
Also, it doesn't quite look like a crowd of 10.000 people to me
robert-boehnke··on Show HN: Underscore.js for Objective-C
as long as you don't need additional arguments :)
robert-boehnke··on Show HN: Underscore.js for Objective-C
I am not saying that named arguments are a bad idea, in fact they are awesome! Often, they make code a lot more readable, consider for example

    [UIMelon melonWithNumberOfSeeds:10
                  andPriceInDollars:10];
which is a lot more self explanatory than

    new Melon(10, 10) 
That being said, for a lot of common and well known fuctions (including map, filter, reduce), Objective-C tends to be overly verbose. I think everybody is looking forward to the new literals, that will allow you to replace

    [NSDictionary dictionaryWithObjectsAndKeys:foo, @"foo",
                                               bar, @"bar",
                                               nil];
with the much more concise

    @{@"foo": foo, @"bar": bar}
Underscore.m tries to achieve something similar. I hope that people will be able see past the - granted, inconventional - syntax to focus on the actual operations done on the data structures. For example:

    // - (NSDictionary *)transformedDictionary;

    NSMutableDictionary *result = [NSMutableDictionary dictionary];
    [myDict enumerateKeysAndObjectsUsingBlock:^(id key, id obj) {
        [result setValue:[obj transformedObject]
                  forKey:key];
    }];
    return result;
vs.

    return _dict(myDict).map(^id (id key, id obj) {
            return [obj transformedObject];
        })
        .unwrap;
robert-boehnke··on Show HN: Underscore.js for Objective-C
It's exactly what's used internally :)
robert-boehnke··on Show HN: Underscore.js for Objective-C
In the case of NSDictionary, Underscore.m's map iterates over objects and keys. Fast Enumeration only iterates over the dictionary's keys, when you probably want the value or both.

But I agree, supporting any class that implements NSFastEnumeration would be nice to have.

robert-boehnke··on Show HN: Underscore.js for Objective-C
I've tried that, but once you pass in blocks as arguments, the whole thing becomes a lot harder to read. I have no clue how to indent

    [[array filter:^BOOL (id obj) {
            return [obj passesTest];
        }]
        map:^id (id obj) {
            return [obj transformedObject]
        }];
Edit: Also, it's good practice to prefix your categories methods so they don't clash with other category's, so you'd have something like us_map:, us_filter:, reducing readability even further.
robert-boehnke··on WWDC 2012 (June 11 - 15)
And it sold out in about two hours.
robert-boehnke··on Automatically calibrating a computer projector image
Reminds me of the work by Johnny Lee on projector calibration. His appears to be a bit faster.

http://johnnylee.net/projects/thesis/

robert-boehnke··on Unicode 6.1 released complete with emoji characters and a pile of poo
Depends on your browser, http://pile-of-poo.inunico.de/ works for me in Safari but not Chrome.
robert-boehnke··on This game was made entirely in css (no javascript)
Encoding the images into the HTML file together with the rest of the game allows you to redistribute the entire thing pretty easily.

But I guess, the actual answer is the same as to why would you implement a game only in HTML and CSS: because you can.

robert-boehnke··on Show HN: DirtyShare, Pure JavaScript P2P File Sharing (in Node.js + Socket.io)
Couldn't you just connect the uploader's POST to the downloader's GET request instead of using websockets?
robert-boehnke··on Show HN: Slowy app, Real-world connection simulator and bandwidth limiter
This also works on 10.5 and 10.6
robert-boehnke··on “Greater Choice”
The people that he refers to are the ones who had their data inadvertently collected by Google due to a lack of Wifi encryption.

This is what got the whole process of adding _nomap started.

robert-boehnke··on SoundCloud Debuts Its New HTML5 Widget
See it in action here http://blog.soundcloud.com/2011/11/03/html/
robert-boehnke··on A JavaScript H.264 decoder
It's the Android encoder written in c++ cross compiled to JavaScript, not much of a mental exercise. Not to say it's not cool :)
robert-boehnke··on Show HN: KernType, a typography game made with Raphaël
FF Zine Slab Black Italic http://new.myfonts.com/fonts/fontfont/zine-slab/
robert-boehnke··on Adobe Flash 11 is now stable for 64-bit Linux
Does that include the fancy Unreal Engine stuff, too?

For example, this: http://www.youtube.com/watch?v=UQiUP2Hd60Y

robert-boehnke··on Simple continuous integration server written with NodeJS and CoffeeScript
Good point, my bad. It's too late to change it now for me, unfortunately.
robert-boehnke··on EU votes to extend music copyright to 70 years
To quote Lawrence Lessig, "No one can do to the Disney Corporation what Walt Disney did to the Brothers Grimm."
robert-boehnke··on If this then that
whoops, my bad, guess you have to be logged in, here's the full quote

    Want delivery of full RSS feeds?

    Please do not use this feature to automate delivery of bulk content, such as entire feeds.

    If you'd like to do that, try Kindlefeeder, a service designed for (and much better for) that purpose.
robert-boehnke··on If this then that
Marco explicitly asks you not to use the send to Kindle feature 'to automate delivery of bulk content, such as entire feeds.'

See http://www.instapaper.com/user/kindle

robert-boehnke··on How I Got My Stolen Laptop Back Within 24 Hours Using Prey
I feel like in this regard, the pre-Lion FileVault that only encrypted your home folder was superior, as it left you the opportunity of creating a honey pot.

Now I have to decide between a potential thieves having access to my unencrypted files and a chance of me getting returned my laptop or knowing my files safe but having to buy a new machine

robert-boehnke··on Poll: How many generations removed are you from immigration?
This is also known as the Ancestors Paradox
robert-boehnke··on Spin.js, a pure JS spinner
My gut feeling is that if you rendered the different stages of the animation into multiple images using canvas and just toggled their visibility, you could get better performance.
robert-boehnke··on Funny entries in last.fm's robots.txt
That one got even picked up by wired, this also contains an interview with one of their developers at the time http://www.wired.com/epicenter/2010/08/robot-laws/
robert-boehnke··on Free icons for any object in the world
Is there a torrent of these icons, maintaing the metadata?

I don't really want to tax their servers at the moment.

robert-boehnke··on Google+ for iOS is out
It only works on iPhones with GPS, that's probably why it does not work for you.

(That's what it says when I try to install it on my Wifi iPad and it did not show up in the App Store on the iPad either)

← PreviousPage 2 of 3Next →