Posts by zekjur@mas.to
(DIR) Post #AuWw5Q2vwk9Mu26y4e by zekjur@mas.to
2025-05-27T18:34:24Z
0 likes, 1 repeats
For anyone working on performance (like, if microarchitectural optimization means something to you), I highly highly recommend this 43 minute talk:What Every Programmer Should Know about How CPUs Work • Matt Godbolt • GOTO 2024https://www.youtube.com/watch?v=-HNpim5x-IE@mattgodbolt (of Compiler Explorer fame) explains a mental model of modern CPUs, which gives you the right vocabulary to use perf and optimize your code, with a couple of really nice examples!
(DIR) Post #AuWw5W1ji6l1S3b62a by zekjur@mas.to
2025-05-27T18:35:39Z
0 likes, 0 repeats
This is probably *the* best talk I’ve seen this year. Like, if you only wanted to watch one talk and become insanely effective based on it, this is it. This is the talk. It has all the right pointers and is packed full of good advice
(DIR) Post #AvETgYxqGUCzMpEh4S by zekjur@mas.to
2025-06-17T19:09:44Z
0 likes, 1 repeats
Someone saw me at #GopherconEU today and thanked me for https://i3wm.org/ and said that discovering i3 opened up a whole world to them, and that was very wholesome 🥹
(DIR) Post #AvIErxGBYJ7TDzd6LQ by zekjur@mas.to
2025-06-17T20:02:50Z
0 likes, 1 repeats
Get it while it’s hot! #GopherconEUThe latest release (v0.2.10) of https://github.com/gokrazy/rsync includes fixes related to sub-directory handling, by new contributor f-luo (welcome!), as well as a couple other fixes.gokrazy/rsync is rsync, natively implemented in #golang! implements client and server, which can send or receive files (upload, download, all directions supported).Go forth and sync your data!
(DIR) Post #AvOMJmmBzOubRhZuJE by zekjur@mas.to
2025-06-22T08:26:31Z
0 likes, 1 repeats
LAN parties when I was young: 10baseT coax cables to every switch#gpn23 today: 4 x 100G fiber to every switch
(DIR) Post #Avwt6znsGsOd5GgopE by zekjur@mas.to
2025-07-08T15:55:31Z
0 likes, 1 repeats
Today, I heard someone say they work from 09:00 to 23:00 every day as if that was something goodI mean, I already do a lot more than is probably healthy, but it’s way less than that! No human should have to do that, let alone be proud of it 😲 This sets a terrible example / expectation
(DIR) Post #Aw5MNbgReYAN8UAPke by zekjur@mas.to
2025-07-13T06:22:12Z
0 likes, 0 repeats
New blog post published 🥳Migrating my NAS from CoreOS/Flatcar Linux to #NixOSIn this article, I want to show how to migrate an existing Linux server to NixOS — in my case the CoreOS/Flatcar Linux installation on my Network Attached Storage (NAS) PC.→ Read the blog post at https://michael.stapelberg.ch/posts/2025-07-13-nixos-nas-network-storage-config/
(DIR) Post #Ax0elyFWkJndC8z52O by zekjur@mas.to
2025-08-09T15:17:25Z
0 likes, 1 repeats
I cleaned up and optimized the #Debian Code Search index merging code over the last week after noticing that it kept over 20 GB of memory (RSS) alive at peak. I didn’t even notice that on my old Hetzner server which had 128 GB of RAM, but these days, you only get 64 GB of RAM.The key insight was to tell the kernel that it doesn’t need to keep the mmap'ed file content mapped (in process), but rather return them to the page cache (in kernel): https://github.com/Debian/dcs/commit/8c48c0464f92f4dc87cc7e759ca14671ab167e3d
(DIR) Post #Ax0em47wtPIpQNU73g by zekjur@mas.to
2025-08-09T15:19:53Z
0 likes, 0 repeats
For context, when you mmap a file on Linux, the contents are not actually counted towards your RSS, but when you read the file, they are! So, with a sequential access pattern, process RSS grows and approaches the total size of the working set (= all individual index files) over time. Linux can reclaim such pages when the system is under memory pressure, but at that point it’s already too late for my taste. With the madvise, RSS stays low throughout the merge :) Much happier server overall!
(DIR) Post #AxowCp80BF5HqfqoXA by zekjur@mas.to
2025-09-02T15:10:58Z
0 likes, 1 repeats
Good news everyone! The GopherCon EU videos are now online 🥳All Videos:https://www.youtube.com/playlist?list=PLtoVuM73AmsK3DSr-DxSsUkuz0-Mf3bQ7Direct link to my talk about Go #protobuf: https://www.youtube.com/watch?v=scNYFVtD5ZM&list=PLtoVuM73AmsK3DSr-DxSsUkuz0-Mf3bQ7&index=7#golang #gophercon #gopherconeu
(DIR) Post #AxzWyZTfDBoV8ieJxg by zekjur@mas.to
2025-09-06T08:43:06Z
0 likes, 0 repeats
Got the best seat in the lecture hall: with a view on lake Zürich #nixcon #nixcon25
(DIR) Post #AxzWyanuHPbHFn809Y by zekjur@mas.to
2025-09-06T09:03:57Z
0 likes, 0 repeats
Now infinisil is taking about Nix formatting. The talk started with ”and then you look at gofmt and ask yourself: why can’t we have something like that?“#nixcon #nixos #golang
(DIR) Post #AxzWybkOlwO8BCUiK8 by zekjur@mas.to
2025-09-06T14:14:01Z
0 likes, 0 repeats
Now Ryota is talking about ”When Not to Nix: Working with External Config and SOPS Nix“, presenting right out of #emacs :D#nixcon #nixcon25
(DIR) Post #AxzWycYNm6N2gDsdEW by zekjur@mas.to
2025-09-06T15:11:40Z
0 likes, 0 repeats
ExpressVPN is migrating their internal server setup (TrustedServer) from Debian to #NixOS! Deploying weekly in 105+ countries#nixcon #nixcon25
(DIR) Post #AxzWydKEuAeT4eGqpM by zekjur@mas.to
2025-09-06T15:12:39Z
0 likes, 0 repeats
Jane Street has migrated to #Nix in 2024!#nixcon #nixcon25
(DIR) Post #AxzWyeVyU1dIlKljl2 by zekjur@mas.to
2025-09-06T08:48:39Z
0 likes, 0 repeats
Also what could be more on topic than Swiss chocolate for the attendees? 😅
(DIR) Post #B1F6UeHcY4li0hEzHk by zekjur@mas.to
2025-12-14T14:58:02Z
0 likes, 1 repeats
I’m just a simple screen user. When they released screen 5 (which broke a few things for me) I switched to tmux.Recently, I was wondering why environment variables wouldn’t work when starting a second tmux session in a different project when I learnt about the “global environment” (per tmux *server*, i.e. across sessions!): https://manpages.debian.org/trixie/tmux/tmux.1.en.html#GLOBAL_AND_SESSION_ENVIRONMENTWhy would that ever be the desired behavior 😲tmux users among my followers, how do you work around this issue?!
(DIR) Post #B1wetYNPfIuTdb1qV6 by zekjur@mas.to
2026-01-04T08:11:37Z
0 likes, 1 repeats
New blog post: Can I finally start using Wayland in 2026?Wayland is the successor to the X server (X11, Xorg) to implement the graphics stack on Linux. […] I don’t want to be stuck on deprecated software, so I try to start using Wayland each year, and this articles outlines what keeps me from migrating to Wayland in 2026.https://michael.stapelberg.ch/posts/2026-01-04-wayland-sway-in-2026/#wayland #sway #i3wm #linux
(DIR) Post #B32NJGddlku7phPyS0 by zekjur@mas.to
2026-02-06T07:01:31Z
3 likes, 9 repeats
PSA: Did you know that it’s **unsafe** to put code diffs into your commit messages?Like https://github.com/i3/i3/pull/6564 for exampleSuch diffs will be applied by patch(1) (also git-am(1)) as part of the code change!This is how a sleep(1) made it into i3 4.25-2 in Debian unstable.
(DIR) Post #B34XW3QHbRR4T5pGTY by zekjur@mas.to
2026-02-07T07:50:55Z
0 likes, 0 repeats
Interesting project for my #Emacs crowd: https://github.com/ArthurHeymans/emacs-tramp-rpc replaces the shell-parsing bits of TRAMP with a high-performance RPC server.When I get a chance, I’ll try and see if this makes a noticeable difference. I wouldn’t be surprised — TRAMP is not the fastest…If anyone has already tried it and made good or bad experiences, let me know :)