Better HN
topnewbestaskshowjobs
Log inSign up

Dunnorandom

110 karma · joined Jul 16, 2011 (15y ago) · 14 submissions

Submissions

comment 8y ago · link · parent

I got something for you: https://nekrogoblikon.bandcamp.com/album/heavy-meta

comment 8y ago · link · parent

The first example would actually be equivalent to something like

    while True:
        bytes = io.get(x)
        if not bytes:
            break
        ...
which I think is objectively less readable.

In the second example, you have an extra call to foo for every element of stuff. If foo(z) is expensive, you'd probably want to write this as

    [bar(x) for x in map(foo, stuff) if x]
instead - which I personally don't mind, but it's arguably not as clear as having the in-line assignment expression.

comment 9y ago · link · parent

You don't even have to fake a QR code to get into a lounge: There was a case in Germany a few years ago where someone bought a fully flexible business class ticket, used it to enter the business lounge in Munich and then rebooked it to another day from inside the lounge.

After doing that 36 times, Lufthansa noticed it and sent him a bill over 1980€ (55€ per lounge visit). He refused to pay, got sued and lost.

Source (in German): http://www.justiz.bayern.de/gericht/ag/m/presse/archiv/2014/...

comment 11y ago · link · parent

Great article! Just one small correction: OFS_REF_DELTA should be OBJ_REF_DELTA.

comment 11y ago · link · parent

You have to keep in mind that OpenSSL runs several Perl scripts as part of its build process. And it's one of these scripts that generates a header which defines the cflags variable:

https://github.com/openssl/openssl/blob/103b171d8fc282ef435f...

Apparently this is done to work around potential length limitations in C string literals.

comment 12y ago · link · parent

For anyone interested, here's Scott Aaronson's response to the paper: http://www.scottaaronson.com/blog/?p=1767#comment-103591

7.

Dear Adobe: Support Haxe, save your Tools(fortressofdoors.com ↗)

3 points · by Dunnorandom · 12y ago · discuss

comment 12y ago · link · parent

You could also just convert the NodeList to an array by running something like

    [].slice.call(nodeList)
That way you get all array methods, not just forEach.

9.

Why virtual isn’t real to your brain(blogs.valvesoftware.com ↗)

7 points · by Dunnorandom · 13y ago · discuss

comment 13y ago · link · parent

https://www.facebook.com/profile.php always links to your actual Facebook page, so being redirected there doesn't mean the PoC is working.

11.

20 Tech Companies That Pay Interns Boatloads Of Money(businessinsider.com ↗)

2 points · by Dunnorandom · 13y ago · 1 comment

12.

The Little VAX That Could(math.umbc.edu ↗)

8 points · by Dunnorandom · 13y ago · 4 comments

comment 14y ago · link · parent

Yes, he will slow down the higher he gets. What's driving him up is the difference in density between the Helium inside his balloon and the air outside. The atmosphere becomes less dense with increasing altitude, so the density difference, and thus the buoyancy decreases as well.

Not sure about ascending too fast, I'd imagine at high speeds there's a risk of damaging the balloon due to wind.

14.

Collider sees tantalizing hint of Higgs(nature.com ↗)

10 points · by Dunnorandom · 15y ago · discuss