Live data from Hacker News

Viewing profile — Expurple

Expurple

HN member
Joined
Fri, Mar 24, 2023, 7:13 AM UTC
HN karma
299
Public activity
212 items

About Expurple

https://home.expurple.me

Recent public activity

  1. story
  2. story
  3. comment
    Comment #47740224

    In pushback against “Stop Forwarding Errors, Start Designing Them” [1] [1]: https://fast.github.io/blog/stop-forwarding-errors-start-des...

  4. story
  5. comment
    Comment #47673039

    Sure. But any nontrivial C codebase will have UB regardless of your intentions. This has been proven time and time again.

  6. comment
    Comment #47614295

    But are they "no UB in the code" great? For my use, Opus is absolutely good enough at Rust

  7. comment
    Comment #47477132

    Yeah, it's almost always more effective to work with an existing project as a starting point

  8. story
  9. comment
    Comment #47382056

    > that's probably due to the lack of a stable ABI complicating dynamic linking enough to make LGPL less viable They could use MPL. It's an alternative "weak copyleft" license that'…

  10. story
  11. comment
    Comment #46973766

    > I can ask copilot to build my project and verify tests results, but [..] added value is almost none. The added value is that it can iterate autonomously and finish tasks that it …

  12. comment
    Comment #46973549

    This. If you use a modern frontier model like Opus 4.5, there's nothing to learn. No special prompting techniques. You give it a task, and most of the time it's capable of solving …

  13. comment
    Comment #46933961

    > Now they have a profit motive for slowing down the normal service. Sure. But for now, this is a competitive space. The competitors offer models at a decent quality*speed/price ra…

  14. story
  15. comment
    Comment #46754304

    Checked exceptions don't force you to catch them on every level. You can mark the caller as `throws Exception` just like you can mark the caller as returning `anyhow::Result`. Ther…

  16. comment
    Comment #46745421

    > you can still ignore the return value Only when you don't need the Ok value from the Result (in other words, only when you have Result ). You can't get any other Ok(T) out of thi…

  17. comment
    Comment #46745300

    Poor man's checked exceptions. That's important. From the `?` you always see which functions can fail and cause an early return. You can confidently refactor and use local reasonin…

  18. comment
    Comment #46742233

    Anyhow erases the type of the error, but still indicates the possibility of some error and forces you to handle it. Functionality-wise, it's very similar to `throws Exception` in J…

  19. comment
    Comment #46741736

    How would you implement a C++ ban in Chromium?

  20. comment
    Comment #46741721

    You should compare exceptions to Result-style tagged unions in a language with exhaustiveness checks, like Rust. Not to return codes in C, lmao. Everyone (except Go devs) knows tha…

  21. comment
    Comment #46495646

    > advice: submit the binary you used to generate the site to source control. Or use HVM and submit the .hvm file (which is just a text file with the Hugo version that you use)

  22. comment
    Comment #46495633

    You don't need a test suite. Your website is the test suite. You can build it with an old version of Hugo, build it with a new version of Hugo, and then diff the output folders: ht…

  23. story
  24. comment
    Comment #46133797

    Why not donate to gnome or kde to improve those directly?

  25. story