HNHacker News
TopNewBestAskShowJobs

negrel

6 karma · joined February 22, 2021

404 bio not found
submissionscomments
negrel··on Stop making swap partitions—use swap files instead
OS are designed to fully exploit available resources, Linux tries its best before triggering an OOM kill.

I recommend using the earlyoom if you want more aggresive oom kill:

https://github.com/rfjakob/earlyoom

The README contains a lot of interesting information.

negrel··on Raft Consensus in 2k Words
As someone not that familiar with the subject, I found it easy to follow. Thanks.
negrel··on Zig's New Async I/O
Many async implementation are still based on thread pools. rust's tokio, node's libuv uses a thread pool for file I/O.

Before io_uring (which is disabled on most servers until it mature), there was no good way to do async I/O on file on Linux.

negrel··on Ask HN: What are you working on? (September 2025)
My one man side project is Prisme Analytics: an high-perfomance, self-hosted and privacy-focused web analytics service.

I'm working on improving UX and simplifying deployment a lot. In the next release, a single docker run will be enough to get a working web analytics service with minimal resource usage.

[0]: https://www.prismeanalytics.com [1]: https://github.com/prismelabs/analytics

negrel··on Show HN: Dlg – Zero-cost printf-style debugging for Go
Cool lib! I took the same approach for my zero cost debugging assertion Go library

https://github.com/negrel/assert

negrel··on Show HN: 1-FPS encrypted screen sharing for introverts
Yes, there is HTTP Encrypted Content-Encoding (RFC 8188) which is used for Web Push that solves this exact problem.