HN user

dioltas

13 karma
Posts0
Comments14
View on HN
No posts found.
I love you 12 years ago

Just tried to understand the last bit myself.

So he's doing 0["constructor"] which gives the constructor of a number, Number. Then he's 0["constructor"]["constructor"] gives the constructor of Number, which is like a function, so he gets Function.

    var y = (0)["constructor"]["constructor"];
    y == Function;                                 // true
Then he basically does this ($.$ == Function):
    Function(
        Function(
            "return \"alert('I love you');\""
        )()
    )();
The inner function just returns the string "alert('I love you');", which then becomes the body for the outer function.

I don't know why they didn't make it:

Function ("alert('I love you');")();

Maybe they needed more chars for the heart. That was a good little crash course in javascript Function constructors!

I think you just send the SDF a dollar bill, that's it. You could just call a friend at the other side of the country and ask them to send it.

One problem is https urls don't seem to work properly, the colon seems to be stripped from the input.

https://duckduckgo.com changes to https//duckduckgo.com, which doesn't work, so you have to resort to the unsecure version.

I think we need a decentralized, anonymous filesharing protocol, something like i2p or tor, but optimised / adapted for bittorrent.

It would have to be something that anyone can use and is a no brainer to get working. Could even use something like paypal / google checkout / bitcoin to allow artists to accept payments for their uploads.

Crashes for me too.

Just read this on the site:

Some users have reported that the game may run on Windows XP and 2GB RAM. A known bug will crash the game on computers with some Intel graphics chipsets.

I have one of those hybrid graphics setups for laptops, so maybe that's the problem.

Doesn't seem to work for me either on Windows 7 64bit.

Just installed direct X from microsoft's site, still no joy. Crashes just after intro.

Any other libraries I might be missing?