Recent submissions

Comment · 1 year ago
Comment · 7 years ago
Looking really cool! Hope there will be talks about implementing this and the benefits that it will bring.

Is this also coming to IOS or are there app store regulations that would prevent apps including Hermes from being uploaded?

Comment · 7 years ago
Comment · 8 years ago
React team members seem to be hinting at some sort of official "adopt" (https://github.com/pedronauck/react-adopt) api which would allow for a slightly nicer way of getting access to render prop arguments. (although you still done get access to them in lifecycle methods). In the meantime this seems pretty nice: https://github.com/Astrocoders/regenerator
Comment · 8 years ago
Would be interesting if it would be possible to take the Rust approach and guarantee at parse/compilation time that the DOM interactions are safe without runtime overhead. Probably a terrible idea for mobile devices though...
Comment · 8 years ago
The graphs for major programming languages shows a decline in the number of monthly active users using JavaScript, interestingly this decline seemingly coincides with the incline of TypeScript users. I'd love to see whether people who stopped using JavaScript started using TypeScript instead.
Comment · 8 years ago
Comment · 8 years ago
Some examples of "transpilers" targeting Javascript but writen in other languages:

https://github.com/google/closure-compiler

https://github.com/BuckleScript/bucklescript

https://github.com/fastpack/fastpack

Seems like on the average it does offer a boost in performance.

And there is some aditional work providing javascript parsers for rust (which you could build tools like babel on top of): https://github.com/dherman/esprit

Comment · 8 years ago
I agree so much. The first season was amazing with the split story line between the main crew and Miller on Ceres but it all went downhill when the proto-molecule was introduced and suddenly there were massive shootouts (with characters who admitted only episodes earlier to never having killed/fired a gun)

I really love the political aspects and cultural differences between the various factions though.

Comment · 9 years ago
the `=>` de-sugars to:

    var currentUrl = function(_) {
        return window.location.href;
    }
the underscore is used so they don't have to type `() =>` instead
Comment · 9 years ago
Not a Japanese reader so i can't fill you in on what exactly the characters mean but they are characters from the Japanese katakana script. Katakana are generally used for loanwords and each character represents a sound:

ツ - tsu

シ - shi

ソ - so

ン - n

The reason these are difficult to learn is because the tiny differences in stroke angles (especially when handwritten) make it easy to confuse them.

Comment · 9 years ago
How funny, I recently started working and also opted for a 36 hour work week and use it to get fridays off every other week :D
Comment · 9 years ago
``` var dividers = { 2: function divideBy2 (lhs, unused) { return lhs >> 1 }, 4: function divideBy4 (lhs, unused) { return lhs >> 2 }, undefined: function divideByNumber (lhs, rhs) { return lhs / rhs } } ```

Does this actually work? I tried it out in the Chrome Debugger and it didn't work. It looks like the author is confusing it with Rusts match statement.

Comment · 9 years ago
All he said was that they refunded the guy, seems like information that is pretty OK to share publicly especially in response to the claim that their customer support was terrible. In addition to that the person who commented shared a large amount of information about the support ticket themselves so it seems like they are fine with sharing at least that much information about this case.

All-in-all this hardly seems like a reason to feel "violated"...

Comment · 9 years ago
Except that if you use a western keyboard you still need to learn Pinyin or Romaji in order to be able to type the language. In my own attempts to learn a little bit of Japanese I've noticed that it is indeed difficult to associate the 'new' characters to the correct sound without using Romaji as an intermediate representation but my hope is that the more I learn and interact with the language the less this is the case. I think that, especially when using online learning tools, learning Romaji is inevitable and don't think that learning the phonetic system 'from scratch' makes it easier (if it is even possible to completely forget about your own phonetic/alphabetic system).

In short, as a starting learner of Japanese I acknowledge that the problem you describe exists but think that 'really bad' is an overstatement and it is almost inevitable that your brain associates your old knowledge of English (or other languages) to the new language.

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton