HackerTrans
TopNewTrendsCommentsPastAskShowJobs

rhaps0dy

no profile record

Submissions

Is memory-safe Linux within reach?

agarriga.substack.com
5 points·by rhaps0dy·há 7 meses·2 comments

Think twice before translating all C to Rust

agarriga.substack.com
9 points·by rhaps0dy·há 7 meses·4 comments

comments

rhaps0dy
·há 17 dias·discuss
I can't figure out why this font is better than DejaVu Mono, or Monaco (mac). They all look basically the same to me. I actually would love someone to explain what the difference/improvement is, in other parts of life I know subtle changes add up.
rhaps0dy
·há 23 dias·discuss
Yes. That's why you should use Doom Emacs.
rhaps0dy
·há 4 meses·discuss
Thank you, this was fun, I sang notes for a bit :)
rhaps0dy
·há 7 meses·discuss
Thank you for saving me a skim
rhaps0dy
·há 7 meses·discuss
No RSS? I want to subscribe :'(
rhaps0dy
·há 7 meses·discuss
Possible! But fixing this seems easier than re-writing in Rust with reasonable expectation that the software behaves the same?
rhaps0dy
·há 7 meses·discuss
Most Linux CVEs are memory corruption bugs. Previously I argued that we should compile C to be memory-safe rather than translating all C to Rust, to avoid introducing logic bugs.

Here, I argue that several parts of the kernel can also be compiled in a memory-safe way.
rhaps0dy
·há 8 meses·discuss
Unless we go extinct. But I concur.
rhaps0dy
·há 8 meses·discuss
I'm vegan, I don't eat tortured animals. Thanks though.
rhaps0dy
·há 8 meses·discuss
Yeah, that's fair. There's hope though!
rhaps0dy
·há 8 meses·discuss
Yeah, but long term it will increase GDP due to the UK being able to have better (fewer) regulations than those allowed by the EU. It does require Parliament getting it together.
rhaps0dy
·há 8 meses·discuss
To solve all the problems with Helm it seems easy enough to use Python dataclasses that serialize to YAML (or your favourite language).

Then to convert a new Helm chart to this you can just use AI + tests that check the two things render to the same output.
rhaps0dy
·há 9 meses·discuss
This is awesome. Measurement and experiment for a very quotidian thing is a great vibe.
rhaps0dy
·há 10 meses·discuss
Yeah, it's very clearly LLM-edited, but it's fun to read. The LLM did a good job.

It's not just a tech blog post - it's a thriller. ;)
rhaps0dy
·há 10 meses·discuss
Basically Emacs Lisp. Where `nil` is the only falsy value, and anything else (including `t`, which analogizes to `Some(())`) are truthy values.
rhaps0dy
·há 10 meses·discuss
> First, like others mentioned, you'll have N+1 problems for nested lists. That is, if we call comments() on each post and author() on each comment, we absolutely don't want to have one individual call per nested object. In GraphQL, with the data loader pattern, this is just 3 calls.

Why is that a problem? As far as I can tell, those calls are all done on the server, where they're cheap normal function calls, and the results are all sent back with 1 roundtrip; because of the pipelining.
rhaps0dy
·há 10 meses·discuss
Super cool work!! How much of a limitation is it to have the robot be basically 3D-printable? Though I can see it's basically required for making it buildable by others.
rhaps0dy
·há 10 meses·discuss
The easiest thing to do is probably use A* to find the solution, then imitation learning on the NN to learn it. (The immediate feedback gets rid of the vanishing/exploding gradients problem).
rhaps0dy
·há 11 meses·discuss
latest update from Xe:

> After further investigation and communication. This is not a bug. The threat actor group in question installed headless chrome and simply computed the proof of work. I'm just going to submit a default rule that blocks huawei.