HNHacker News
TopNewBestAskShowJobs

Dunnorandom

110 karma · joined July 16, 2011

submissionscomments
Dunnorandom··on East German secret police guide for identifying youth subcultures (1985)
I got something for you: https://nekrogoblikon.bandcamp.com/album/heavy-meta
Dunnorandom··on PEP 572: Python assignment expressions has been accepted
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.
Dunnorandom··on Airport lounges will let anyone in, provided you can fake a QR code (2016)
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/...

Dunnorandom··on Unpacking Git packfiles
Great article! Just one small correction: OFS_REF_DELTA should be OBJ_REF_DELTA.
Dunnorandom··on OpenSSL Security Advisory
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.

Dunnorandom··on Macroscopic quantum objects cannot exist if P ≠ NP?
For anyone interested, here's Scott Aaronson's response to the paper: http://www.scottaaronson.com/blog/?p=1767#comment-103591
Dunnorandom··on A Dive Into Plain JavaScript
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.
Dunnorandom··on I Can Detect Your Facebook Username, Using W3C Standard
https://www.facebook.com/profile.php always links to your actual Facebook page, so being redirected there doesn't mean the PoC is working.
Dunnorandom··on Red Bull Stratos Skydive Rescheduled for today
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.