Live data from Hacker News

Viewing profile — stasm

stasm

HN member
Joined
Thu, Aug 04, 2011, 7:19 AM UTC
HN karma
160
Public activity
43 items

About stasm

No profile information was provided.

Recent public activity

  1. comment
    Comment #45851033

    Thanks to OpenMW, my SteamDeck has become a "Morrowind machine" -- it runs so well and it's so convenient to have all that world with me on the go. You can use https://luxtorpeda.g…

  2. comment
    Comment #36764487

    > They own the domain. It seems like a wasted opportunity to set up a new domain (in this case: wikimedia.social) rather than use an existing one with a subdomain, e.g. social.wiki…

  3. story
  4. comment
    Comment #35085102

    > - # private... not sure why they didn't just use the "private" keyword, but I don't care. I almost always use TypeScript anyways One of the reasons was to allow private and publi…

  5. comment
    Comment #32960258

    > When you rename or move a file that you're editing, its window instantly reflects the new name and location. How does macOS achieve its reactivity? Is it two-way bindings? Events…

  6. comment
    Comment #32596921

    Tangentially related: https://js13kgames.com is currently going on -- the challenge is to build an HTML/CSS/JS game which compresses down to 13,312 bytes or less.

  7. comment
    Comment #31855917

    If it's something I want to read and then be done with it, I keep the tab open. If it's something I may want to come back to, or something that I'd be sad if it disappeared from th…

  8. comment
    Comment #30629368

    Type inference is one good reason. Similar syntax exists in a few modern languages, too: e.g. Rust and Swift. In languages with type inference it can be convenient that type annota…

  9. comment
    Comment #19693171

    > The second option shouldn't need to match as it is the default value anyway (signified by the *) That's an interesting suggestion! Right now, the identifier between the brackets …

  10. comment
    Comment #19693127

    The (2..4) range would work for Czech in this example (if I'm reading the CLDR right), but I'm afraid it wouldn't be sufficient for languages with more complex plural rules. Take t…

  11. comment
    Comment #19692701

    You can get decent highlighting for basic Fluent messages by setting the editor to a mode for Properties files. For instance, whenever I type Fluent examples in GitHub, I use the f…

  12. comment
    Comment #19689533

    It's up to the localizer to define variants corresponding to the language's plural categories. For Russian, that's (one, few, many). Interestingly, this particular example could si…

  13. comment
    Comment #19683118

    Thanks! > And it would result in combinatorial explosion of translation message versions if source code had to add special case for each quirk in each language. This is the exact p…

  14. comment
    Comment #19682994

    Our goal was to design a simple DSL which is easy to read and make small edits to. Copying and pasting is a powerful learning method :) We're also working on creating richer and mo…

  15. comment
    Comment #19682921

    When Fluent formats translations, it returns simple strings (in the sense of primitive computer types). They can include markup which is parsed by a higher-level abstraction respon…

  16. comment
    Comment #19682646

    It's possible to build this message in Fluent with nested selectors, or with adjacent selectors. I built an example using Polish, since that's a language I know best. (To be 100% c…

  17. comment
    Comment #19682431

    This is an excellent question and a very good use-case. I'm a Polish speaker myself, so I can definitely relate. It's also a good excuse for me to talk a little bit more about the …

  18. comment
    Comment #19681316

    There's a tool written by a Udacity developer which can be used to autoextract copy from React source code: https://github.com/udacity/fluent-react-utils/tree/master/pa...

  19. comment
    Comment #19681217

    It's something that I definitely plan to add. There's even an open issue about it! https://github.com/projectfluent/fluent.js/issues/185

  20. comment
    Comment #19681166

    This is a great point and something that we've seen come up very often in building UIs. The good practice which we recommend to developers at Mozilla is to avoid splitting or nesti…

  21. comment
    Comment #19680987

    (Author of the blog post here.) Great question, thanks! Unicode defines six categories of plural forms: zero, one, two, few, many, and other. The names of these categories always a…

  22. comment
    Comment #17077957

    http://gamasutra.com/blogs/KylePittman/20150420/241442/CRT_S... is a well-explained and and a copiously illustrated write-up about why CRT emulation is essential to many pixel-art …

  23. comment
    Comment #15382930

    I'm one of the creators of 'A moment lost in time.' Thanks for playing it and for the feedback. Are you on Linux by any chance? I've had some issues with the Pointer Lock API in Fi…

  24. story
  25. comment
    Comment #12977304

    I found that the one of the best ways to combat jetlag (at last on transatlantic long-haul flights) is to completely forgo eating on the plane. Instead, just drink a lot of water. …