Viewing profile — Expurple
Expurple
HN member- Joined
- Fri, Mar 24, 2023, 7:13 AM UTC
- HN karma
- 299
- Public activity
- 212 items
- HN profile
- View on Hacker News ↗
About Expurple
Recent public activity
- story
- story
-
comment
Comment #47740224
In pushback against “Stop Forwarding Errors, Start Designing Them” [1] [1]: https://fast.github.io/blog/stop-forwarding-errors-start-des...
- story
-
comment
Comment #47673039
Sure. But any nontrivial C codebase will have UB regardless of your intentions. This has been proven time and time again.
-
comment
Comment #47614295
But are they "no UB in the code" great? For my use, Opus is absolutely good enough at Rust
-
comment
Comment #47477132
Yeah, it's almost always more effective to work with an existing project as a starting point
- story
-
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'…
- story
-
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 …
-
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 …
-
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…
- story
-
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…
-
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…
-
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…
-
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…
-
comment
Comment #46741736
How would you implement a C++ ban in Chromium?
-
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…
-
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)
-
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…
- story
-
comment
Comment #46133797
Why not donate to gnome or kde to improve those directly?
- story