News for hackers. Stuff that matters.

negrel

Re:Stop making swap partitions–use swap files instead on Friday September 11, 2026 @04:55AM (#49655380)
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.

Re:Raft Consensus in 2k Words on Wednesday November 12, 2025 @08:36AM (#45899975)
As someone not that familiar with the subject, I found it easy to follow. Thanks.
Re:Zig's New Async I/O [video] on Friday October 31, 2025 @04:26AM (#45769568)
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.

Re:Why Is SQLite Coded in C and not Rust on Wednesday October 15, 2025 @05:40AM (#45590044)
> Recoding SQLite in Go is unlikely since Go hates assert().

Bro never heard of https://githhub.com/negrel/assert

/s

Re:Ask HN: What are you working on? (September 2025) on Tuesday September 30, 2025 @02:42AM (#45422614)
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

Re:Show HN: Dlg – Zero-cost printf-style debugging for Go on Wednesday July 30, 2025 @09:44AM (#44734108)
Cool lib! I took the same approach for my zero cost debugging assertion Go library

https://github.com/negrel/assert

Show HN: Prisme – Analytics for Web Artisans

https://github.com/prismelabs/analytics

Hey HN, I'm Alexandre. For the past 10 months, I've been working on Prisme Analytics, a web analytics service designed with privacy, simplicity, and scalability in mind.Prisme Analytics offers:1. Quick setup: Install in just 3 minutes 2. Privacy-first approach: Designed to respect user privacy from the ground up 3. Progressive adoption: Start with basic web analytics and grow into more complex...

( Read More... | no comments | 3 points | on HN )
Re:Show HN: 1-FPS encrypted screen sharing for introverts on Thursday August 08, 2024 @03:41AM (#41189064)
Yes, there is HTTP Encrypted Content-Encoding (RFC 8188) which is used for Web Push that solves this exact problem.

Show HN: I built a load testing tool so you can develop load test in minutes

https://github.com/negrel/denoload

Hello HN, I spent the last week building a k6 alternatives supporting Web APIs (fetch, localStorage, and more), TypeScript and ESNext. It enables performance engineer to just import client libraries and write a load test in minutes.The repository includes an example load test of GoTrue (supabase's authentication server) using '@supabase/gotrue-js' npm package.Like k6 tests, 'denoload' (that's...

( Read More... | no comments | 2 points | on HN )