Live data from Hacker News

Viewing profile — spyrja

spyrja

HN member
Joined
Sat, Apr 26, 2025, 3:32 AM UTC
HN karma
59
Public activity
62 items

About spyrja

No profile information was provided.

Recent public activity

  1. comment
    Comment #48796082

    It really wasn't a bad operating system. In fact it kind of blew its (lame) Win9X predecessors out of the water! I ran on Win2000 for years before finally switching to Linux. Of co…

  2. comment
    Comment #47056223

    Welp, looks like they're back up. Home page and notifications are loading just fine now.

  3. comment
    Comment #46720538

    Actually, the introduction of Old Norse in Britain began in the early 5th century and by the time of Beowulf, Old English was still more than 90% a Nordic language. The Norman inva…

  4. comment
    Comment #46720257

    When the Angles, Jutes, and Saxons arrived in England around fall of Rome in the early 400s, the "official" language was Latin (as Britain had been a Roman colony since 43 AD) wher…

  5. comment
    Comment #46711654

    Not really. It does however help drive home the point that such interjections were unlikely to be used by speakers of Nordic languages in order to begin a tale. (On the other hand …

  6. comment
    Comment #46711455

    Nevertheless I do think it is safe to say that such interjections were used, at least on a day-to-day basis. (Bear in mind that relatively few Old English texts survive to this day…

  7. comment
    Comment #46710523

    I agree with Dr. Walkden here. While it was used as an interjection at times (just as it is today when someone exclaims, "What?!") in the context of the opening line of Beowulf "hw…

  8. comment
    Comment #46662349

    To be fair, the origins of "hello" go back much further than 600 years. Variations of it appear in Old Icelandic from almost 1000 years ago, and if you look at Old English texts fr…

  9. comment
    Comment #46570542

    Most LLM's these days tend to be strongly "left-leaning". (Grok being one of the few examples of one that leans "right".) Personally I'd prefer if they were trained without any pol…

  10. comment
    Comment #46163756

    [flagged]

  11. comment
    Comment #45925574

    FWIW it's a fairly straightforward algorithm. In C++: bool balanced(const string& text, const string& open, const string& close) { size_t length = text.size(), brackets = open.size…

  12. comment
    Comment #45715911

    Next up: 64-bit booleans for the win!

  13. comment
    Comment #45701687

    And for the love of God, please don't do 0[src].

  14. comment
    Comment #45500478

    I couldn't get it to do much. Also noticed a subtle bug here: next = compile(read(buffer), cons("halt", NULL)); C doesn't guarantee the order in which arguments to a function are p…

  15. comment
    Comment #45074053

    Or maybe we can know them equally well? The function f(x) = x(0^(sin(πx)^2)) for example "requires" infinities, but only returns integer values.

  16. comment
    Comment #45073949

    OK, but surely only because the exact value of 1 exists in the first place.

  17. comment
    Comment #44999906

    Ah, good catch. I forgot to scale the point properly! How does the updated sketch look? EDIT: Plotting it out as a point cloud seems to confirm your suspicion. Without scaling: htt…

  18. comment
    Comment #44999454

    That's a neat approach! So basically something like this: https://editor.p5js.org/spyrja/sketches/eYt7H36Ka

  19. comment
    Comment #44999354

    Kind of? If you want the points to be more randomly-distributed, something like this would probably be a better approach: https://editor.p5js.org/spyrja/sketches/eYt7H36Ka

  20. comment
    Comment #44990121

    In this particular case it was simply a matter of not enough corner cases defined. I was however using property-based testing, doing things like reversing then un-reversing the UTF…

  21. comment
    Comment #44989901

    It's just a convention I use for personal projects. Back when I started coding in C, people often just opted to go with one or two character variable names. I chose three for local…

  22. comment
    Comment #44982907

    Well it is a pretty old codebase, the whole project is written in C. I haven't done any Rust programming yet but it does seem like a good choice for modern programs. I'll check out…

  23. comment
    Comment #44982287

    Just as an example of what I am talking about, this is my current UTF-8 parser which I have been using for a few years now. bool utf_append_plaintext(utf* result, const char* text)…

  24. comment
    Comment #44982190

    True. But then again, backward-compatibility isn't really such a hard to do with ASCII because the MSB is always zero. The problem I think is that the original motivation which ult…

  25. comment
    Comment #44982041

    I really hate to rant on about this. But the gymnastics required to parse UTF-8 correctly are truly insane. Besides that we now see issues such as invisible glyph injection attacks…