Recent submissions

Comment · 3 days ago
The new "Reflections on trusting trust"?
Comment · 10 months ago
I'm on mobile, so it's not super easy to read the source, but it seems like it only checks for the parent processes?

Also I don't think this approach works correctly, because a disowned/nohup process will show up as PPID 1 (systemd), which is not correct

Comment · 1 year ago
Comment · 1 year ago
Why not dm-integrity?
Comment · 1 year ago
That's why on some configurations (RHEL 7 I think), journald will happily fill up your ram via /run/
Comment · 1 year ago
In Rust, there is no unsafe String, only blocks of code can be unsafe, no?
Comment · 2 years ago
You should add some screenshots!
Comment · 2 years ago
Comment · 3 years ago
Comment · 3 years ago
If you do this, then you can't add new fields
Comment · 3 years ago
EDF is losing money because of stupid decision like ARHEN that forces EDF to sell electricity at a low price, and also forces them to buy at a high price...

So called electricity "providers" can sell electricity to customers without generating electricity in the first place, and also without transporting it. And at the same time, they get money from EDF through ARHEN!

Comment · 4 years ago
Isn't simpler to use perl?

Perl -pe 's/.(capture this)./$1/'

That way, you can capture multiple groups, and change the format in the output. You can also do simple calculations if you capture numbers

Comment · 4 years ago
Do you also feel nervous when resizing a FS that has files in use?

I've never thought about the AV scan of such a file!

Comment · 4 years ago
Can't the function just return `(a.clone, a.clone())`?

Maybe you mean something like this? `fn extend_vec(to: &mut Vec<i32>, from: &Vec<i32>) { ... }`

This does not compile if you pass the same Vec as to and from, because of the `&mut`

Comment · 4 years ago
The target architectures of the rust compiler are very limited compared to GCC.

So if you port some core functionality of the kernel to rust, that would make rust a hard dependency for the whole kernel.

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton