HN user

towelguy

187 karma
Posts0
Comments174
View on HN
No posts found.
Atom 1.0 11 years ago

We speak English, but our laptops come with localized keyboards.

Yeah like the others said it binds this to the scope where it was defined. So something like this works as one would expect:

    setTimeout(() => this.someMethod(), 1000);

They are a compact way to write anonymous functions in Javascript, so instead of

    var square = function (a) { return a * a;}
You can write:
    var square = a => a * a;
    s1 = Symbol("cat");
    s2 = Symbol.for("cat");
    s3 = Symbol.for("cat");
    s1 == s2; // false
    s2 == s3; // true
You can still have Symbols outside the registry.

Isn't it common in Restaurants to leave the money in a tray?

Something much more weird I think is the money envelopes. I once took classes by a Japanese lady who, the day before we would pay for the next month, gave us these envelopes the size of a bill and asked us to bring the money in them, said that Japanese never hand money directly, always in envelopes. The next day she took the envelopes and didn't even open them to count the money.

I guess the projects that can't be on github won't mind the GUI challenges as long as they have some way to have a central repository without having to maintain a server on their own.

I'd say gmail labels are more like premade searches (with the added bonus of the unread count). I tend to move every email I expect into it's own label with filters and the "inbox" is just for the unexpected stuff.

will be fully absorbed by the company

So they'll pay with the money they stole themselves? At least they got some publicity out of it.

Paradoxically, torrenting sometimes is the only way to get an obscure show/movie they don't even sell anymore. I'll take few seeders over nothing at all.