Live data from Hacker News

Viewing profile — NathanaelRea

NathanaelRea

HN member
Joined
Sun, May 22, 2022, 1:10 PM UTC
HN karma
88
Public activity
43 items

About NathanaelRea

https://github.com/NathanaelRea

Recent public activity

  1. comment
    Comment #48528923

    Have you seen jscpd? What does your tool do differently?

  2. comment
    Comment #48300984

    > Rather: if you don’t have the knowledge, you don’t understand the question, or why it matters, or how to judge the answers, and you won’t ever think to ask. You’re in a completel…

  3. comment
    Comment #46760776

    Reminds me of Veritasium's recent videos, really driving that initial hook and maintaining the viewer's attention. He had an explanation video about it which explained how people w…

  4. comment
  5. comment
    Comment #46351911

    Easy fix :) function f(n){n.childNodes.forEach(c=>{c.nodeType===3?c.textContent=c.textContent.replace(/(^|[.!?]\s+)([a-z])/g,(m,s,l)=>s+l.toUpperCase()):c.nodeType===1&&f(c)})}f(do…

  6. comment
    Comment #46314349

    That's kind of a rediculous assessment. "How many games have you shipped in the last 10 years" is the standard for how good your advice is. John has made two games + one soon in th…

  7. comment
    Comment #46256531

    I saw your other comment that you meant interface. But an example of a language that went without a feature people thought the language desperately needed was Go with generics. The…

  8. comment
    Comment #46201725

    This is such an interesting observation, makes a lot of sense.

  9. comment
    Comment #46043833

    Ahhh. I didn't see that, interesting!

  10. comment
    Comment #46030990

    Tested with different models "What does this mean: " ChatGPT 5.1, Sonnet 4.5, llama 4 maverick, Gemini 2.5 Flash, and Qwen3 all zero shot it. Grok 4 refused, said it was obfuscated…

  11. comment
    Comment #45883865

    Interesting, I thought I had heard that this is automatically done, but I guess it's only through concurrent tasks/threads. It is still necessary to batch in application code. http…

  12. comment
    Comment #45883448

    Doesn't the Tigerbeetle client automatically batch requests?

  13. comment
    Comment #45768604

    I typically only use ternaries for single operations and extract to a function if it's too big. Although they are quite fun in JSX. For your code i'd probably do: function SetPosit…

  14. comment
    Comment #45768408

    They could just add a "use immutable;" directive that you place at the top of your file.

  15. comment
    Comment #45768310

    You could do an absolutely disgusting IIFE if you need the curly brace spice in your life, instead of a typical JS ternary. const y = (() => { if (x) { return true; } else { return…

  16. comment
    Comment #45768240

    I don't think this is the best option, there could be very hard bugs or performance cliffs. I think I'd rather have an explicit opt-in, rather than the abstraction changing underne…

  17. comment
    Comment #45686171

    You could also do const arr = ["foo" as const]

  18. comment
    Comment #45487654

    I was reading about MW yesterday and had the same question about the short password. Here's a doc I found about it: https://magic-wormhole.readthedocs.io/en/latest/attacks.html...

  19. comment
    Comment #45475966

    Companies want GW data centers, which are a new thing that will last decades, even if GPUs are consumable and have high failure rates. Also, depending on how far it takes us, it co…

  20. comment
    Comment #45433110

    I was going to suggest the same. Seems like there's an impedance mismatch between open to meeting but not being immediately upfront with availability. For example, saying "I'm only…

  21. comment
    Comment #45411404

    There will always be an adobe tax so to speak. Creatives want high quality and reliable tools to be able to produce high quality things. I could imagine a world where a small team …

  22. comment
    Comment #45400972

    Porco Rosso

  23. comment
    Comment #45383104

    Ok, that makes sense. I re-read the post. I thought the signed doc checksum was the same for both, but it seems like the certification page is inserted into the actual document, th…

  24. comment
    Comment #45382965

    Wouldn't a sha256 collision be impractical? Like wouldn't it be more compute than the couple grand a security deposit would be? SHAttered was in 2017 with SHA-1 and took 110 years …

  25. comment
    Comment #45325543

    What I take from it is that feelings are elusive, that you can never "reach" them. Your mind is constantly popping into existence feelings, emotions, and thoughts. Rather than tryi…