HNHacker News
TopNewBestAskShowJobs

tatref

69 karma · joined April 2, 2014

submissionscomments
tatref··on Qwen 3.8 27B on my laptop can interpret model weights, too
The new "Reflections on trusting trust"?
tatref··on Show HN: Witr – Explain why a process is running on your Linux system
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

tatref··on EU court rules nuclear energy is clean energy
In France, the last construction is Flamanville EPR. It is at least 5 times over budget and 15 years late

https://en.m.wikipedia.org/wiki/Flamanville_Nuclear_Power_Pl...

tatref··on A deep dive into Debian 13 /tmp: What's new, and what to do if you don't like it
Why not dm-integrity?
tatref··on Save your disk, write files directly into RAM with /dev/shm
That's why on some configurations (RHEL 7 I think), journald will happily fill up your ram via /run/
tatref··on Compiling C to Safe Rust, Formalized
In Rust, there is no unsafe String, only blocks of code can be unsafe, no?
tatref··on Veles: Open-source tool for binary data analysis
You should add some screenshots!
tatref··on Hiding Linux Processes with Bind Mounts
https://sysdig.com/blog/ebpf-offensive-capabilities/
tatref··on Shadow: New browser engine made almost entirely in JavaScript
The memory is still owned by the electron process, so ASLR is not involved here. Also in case of OOB, you still land into the electron process.

VIRT is not a good measure of actual memory usage because it includes shared pages like file cache and libraries, RES is better.

Shameless plug: I developed a tool that try to compute a better value for memory usage: https://github.com/tatref/linux-mem

tatref··on Linux /proc/pid/stat parsing bugs
If you do this, then you can't add new fields
tatref··on France prepares for possibility of electricity blackouts during winter months
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!

tatref··on The Art of Command Line
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

tatref··on We're moving away from swap partitions on our Linux servers
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!

tatref··on Formally Verifying Rust's Opaque Types
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`

tatref··on Rust support in the Linux kernel
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.

tatref··on Installing Windows and Linux into the same partition
Do you have any issue with drivers or license when switching between the VM and normal?
tatref··on Show HN: Windows 2000 on Docker
Seems like this runs qemu inside the container.
tatref··on Gravity batteries try to beat chemical ones with winches, weights, mine shafts
It depends on the distance
tatref··on German man loses 400k GBP about $500k in Twitter Bitcoin scam
If you send me 1kg of gold, I'll send back double the amount!
tatref··on A visual guide to SSH tunnels
I think it's way clearer!
tatref··on What: A terminal tool to check what is taking up your bandwidth
It's a tool to manage dependencies for rust and can also install rust programs (it will download, compile and install)
tatref··on Intel Announces 8 Core I9-9900KS: Every Core at 5Ghz, All the Time
Benchmarking cpu firmwares is forbidden by the license (same thing for databases)
tatref··on AMD Open Source Driver for Vulkan
I'm replying to all the answers here.

It seems that everyone has a different experience on the subject! Just a precision: I had an ATI card (laptop) from 2005 to 2010, then an ATI (desktop) from 2010 to 2017.

tatref··on AMD Open Source Driver for Vulkan
I supported AMD several years because of this... Then I got tired of the low quality of both the open source, and the closed driver. Crashes, glitches in movies, flickering...

Some time ago, I bought an Nvidia. It works like charm with the closed driver on Linux and windows. I do mainly games on Linux/windows, some gpgpu (machine learning with tensor flow), and the usual stuff. I couldn't be happier... Except if it was open source ;-)

tatref··on VirtualBox 6.0 released
No, VirtualBox is Windows, Linux, MacOS
tatref··on Rav1e: An experimental AV1 video encoder, designed to be fast and safe
The readme didn't specify the --release flag in the cargo run command, this should make a pretty big difference
tatref··on Regex: badly needs fuzzing
No, but variable size lookahead/behind do. This is because the engine has to go back if the remaining part of a regex fails. For some examples, see http://www.regular-expressions.info/recursebacktrack.html)

EDIT: you are correct, backreferences do require backtracking, my bad.

tatref··on Successful private key extraction from OpenVPN using Heartbleed
I have read that the client version of OpenVPN, which is also vulnerable to heartbleed, should be upgraded, as well as the server.

I wonder what could be a possible exploitation on the client side? Obviously, one can not send heartbeat packets to grab the secret key!

tatref··on Why is 1 GB equal to 10^9 bytes instead of 2^30?
Either way, as long as GB = 10^9, and GiB = 2^30
tatref··on Why is 1 GB equal to 10^9 bytes instead of 2^30?
I don't think that giving the users something that _is_ wrong is a better solution... Why not switching to GiB? Power users would understand, and others wouldn't even notice!
Page 1 of 2Next →