<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Hacker News: linsomniac</title><link>https://news.ycombinator.com/user?id=linsomniac</link><description>Hacker News RSS</description><docs>https://hnrss.org/</docs><generator>hnrss v2.1.1</generator><lastBuildDate>Wed, 30 Sep 2026 05:27:00 +0000</lastBuildDate><atom:link href="https://hnrss.org/user?id=linsomniac" rel="self" type="application/rss+xml"></atom:link><item><title><![CDATA[New comment by linsomniac in "Swap, ZRAM, Zswap and Hibernate on NixOS"]]></title><description><![CDATA[
<p>My MagSafe connector has just stopped working, so I'm going to need to send it in for service, which might mean a factory wipe.<p>I'm taking the opportunity to try adding my Mac to my nixos setup, pulling in some of my common settings like "ltra" alias for "ls -ltra" equivalent in "lsd" or "exa".  Then nix-darwin to do as many of my settings via nix as possible.</p>
]]></description><pubDate>Sun, 27 Sep 2026 15:24:05 +0000</pubDate><link>https://news.ycombinator.com/item?id=49867458</link><dc:creator>linsomniac</dc:creator><comments>https://news.ycombinator.com/item?id=49867458</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=49867458</guid></item><item><title><![CDATA[New comment by linsomniac in "Installing NeoVim caused original Vim undo files to be deleted"]]></title><description><![CDATA[
<p>>I deleted something from this file, maybe last week<p>Don't forget time travel: `:earlier 7d`</p>
]]></description><pubDate>Sun, 27 Sep 2026 15:19:15 +0000</pubDate><link>https://news.ycombinator.com/item?id=49867399</link><dc:creator>linsomniac</dc:creator><comments>https://news.ycombinator.com/item?id=49867399</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=49867399</guid></item><item><title><![CDATA[New comment by linsomniac in "Swap, ZRAM, Zswap and Hibernate on NixOS"]]></title><description><![CDATA[
<p>Agreed.  One additional thing I do is I have the same setup on my main work workstation and also my old work laptop, so when I do a big swath of package updates (about once a month) I do it on my "scratch monkey" first and make sure nothing obvious breaks.  I started doing this after a GNOME update broke my GDM (as you say, until I booted the old generation, but still was a work interruption).<p>I'm using NixOS "latest" on my workstation, for no particularly good reason.<p>One success I had was with building up a custom vim setup.  I had previously been using Lunar and Astro as an opionated vim distro with LSP+Treesitter and some other "table stakes" things a modern editor should have.  But there wasn't a clear way to install Astro in NixOS when I tried it manually.  So I just told Claude Code what plugins and settings I wanted in neovim, and now I have a single file that fully describes my vim setup.  Before with Astro and Lunar the configs were spread out all over a bunch of files.<p>I was also able to get Claude Code to bundle up gitbutler-cli, which I wanted to try but so far have not. It builds it from source because there was no existing derivation.  It takes a stunningly long time to build, but otherwise it has worked very well in my simple testing of it.  Plus, I can build on my powerful laptop and then use that to seed my old, slow ThinkPad T470s and even slower chromebook that I also put my config on.</p>
]]></description><pubDate>Thu, 24 Sep 2026 15:28:55 +0000</pubDate><link>https://news.ycombinator.com/item?id=49832026</link><dc:creator>linsomniac</dc:creator><comments>https://news.ycombinator.com/item?id=49832026</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=49832026</guid></item><item><title><![CDATA[New comment by linsomniac in "Swap, ZRAM, Zswap and Hibernate on NixOS"]]></title><description><![CDATA[
<p>I also just recently enabled zswap on my NixOS setup, it's been working fine.  I have 32GB of RAM and 64GB of swap, so I really don't need it, but it hasn't hurt.<p>I was expecting some problems with my switch to NixOS back in June, but it's been just superb.  Even things like building deb packages for my Ubuntu 26.04 machines at work have not been a problem at all.<p>I had dabbled with NixOS for a year or two before making the switch and had some familiarity with the nixlang and various concepts (SOPS, age, flakes).  But, what really smoothed out the switch was using Claude Code to develop the NixOS configs.  Everything is easy to do that way, and any issues are easy to back out.</p>
]]></description><pubDate>Thu, 24 Sep 2026 00:23:38 +0000</pubDate><link>https://news.ycombinator.com/item?id=49824574</link><dc:creator>linsomniac</dc:creator><comments>https://news.ycombinator.com/item?id=49824574</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=49824574</guid></item><item><title><![CDATA[New comment by linsomniac in "GPT-6 Sol and Luna"]]></title><description><![CDATA[
<p>>I don't see how anyone can be using Claude with prices like this<p>One potential deciding point is that Claude still has a $200/mo 20x plan, where, since Sept 11, OpenAI does not and has no ETA for the return.<p>I downgraded my OpenAI plan 2 months ago to the $100/mo, but my usage has gone way up, but now I can no longer upgrade to the $200/mo plan ("This option is temporarily unavailable").  Thankfully I have 2 usage resets available, but I'll probably be switching back to Claude; I was super happy with Astra but I'm burning through tokens and have 4 days before my next reset.</p>
]]></description><pubDate>Tue, 22 Sep 2026 21:31:27 +0000</pubDate><link>https://news.ycombinator.com/item?id=49808413</link><dc:creator>linsomniac</dc:creator><comments>https://news.ycombinator.com/item?id=49808413</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=49808413</guid></item><item><title><![CDATA[New comment by linsomniac in "Show HN: Sigabrt.dev – cronjob monitor with an SSH TUI"]]></title><description><![CDATA[
<p>I've been toying with a similar idea for ~6 months: A lightweight job status dashboard.<p>I wanted something that required no setup, but could just push success/failure messages to as part of various cron jobs, windows tasks, and shell scripts we run throughout our organization.<p>StatShed server: <a href="https://github.com/statshed/statshed-server" rel="nofollow">https://github.com/statshed/statshed-server</a>
StatShed go-cli: <a href="https://github.com/statshed/statshed-gocli" rel="nofollow">https://github.com/statshed/statshed-gocli</a><p>The idea is kind of like "ntfy.sh", but for jobs status.  You can send a "started" message at the beginning, update a "status" message periodically throughout the job, then send a "failed" message (optionally with logs) or a "success".  Then a web dashboard gives you an overview with ability to drill down.<p>We use Icinga for monitoring and paging, but this just gives an overview for a quick look at things we don't want heavy duty monitoring on.  Like my laptop backups, information about ansible runs across our fleet, etc.</p>
]]></description><pubDate>Sun, 20 Sep 2026 14:46:24 +0000</pubDate><link>https://news.ycombinator.com/item?id=49776398</link><dc:creator>linsomniac</dc:creator><comments>https://news.ycombinator.com/item?id=49776398</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=49776398</guid></item><item><title><![CDATA[New comment by linsomniac in "Ubuntu 26.10 completes transition to Rust-based coreutils"]]></title><description><![CDATA[
<p>>But the Rust community needs to invest time and energy into finding why that's the case and fixing it.<p>As I said in my post, the rust coreutils team <i>HAS</i> fixed this in 0.11.  It's just that Ubuntu 26.04 is stuck on the older one.<p>Shipping a coreutils that is version 0.8 in an LTS release seems like an interesting choice.</p>
]]></description><pubDate>Wed, 16 Sep 2026 14:28:26 +0000</pubDate><link>https://news.ycombinator.com/item?id=49727591</link><dc:creator>linsomniac</dc:creator><comments>https://news.ycombinator.com/item?id=49727591</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=49727591</guid></item><item><title><![CDATA[New comment by linsomniac in "Ubuntu 26.10 completes transition to Rust-based coreutils"]]></title><description><![CDATA[
<p>Beware that rust coreutils on 26.04 currently has really bad performance with larger block sizes.  Ganeti uses "dd bs=1M" as part of a disc image transfer pipeline, and with 26.04 performance dropped from ~350MB/sec to 30MB/sec, with the dd command CPU-bounded.<p>The issue seems to be that it is operating on partial buffers and then having to copy remainder of that 1M buffer around as part is consumed.  Coreutils 0.11 solves that but 26.04 is at v0.8.<p>I've always used "bs=32k" because decades ago I did some testing and found that seemed to be large enough that it reduced the overhead while not being so large that it caused other problems, one of the most noticeable being scheduler issues where performance went into the toilet, especially on SD or USB thumb drives.  Using this also seems to work better with rust coreutils dd.</p>
]]></description><pubDate>Tue, 15 Sep 2026 12:03:46 +0000</pubDate><link>https://news.ycombinator.com/item?id=49711266</link><dc:creator>linsomniac</dc:creator><comments>https://news.ycombinator.com/item?id=49711266</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=49711266</guid></item><item><title><![CDATA[New comment by linsomniac in "Ubuntu 26.10 completes transition to Rust-based coreutils"]]></title><description><![CDATA[
<p>ProTip: You can switch back to Gnu coreutils on 26.04 with:<p>apt install coreutils-from-gnu coreutils-from-uutils- --allow-remove-essential<p>And pin it so an upgrade doesn't flip it back with:<p>printf 'Package: coreutils-from-uutils\nPin: release a=*\nPin-Priority: -10\n' \
  | sudo tee /etc/apt/preferences.d/uutils > /dev/null</p>
]]></description><pubDate>Tue, 15 Sep 2026 11:55:57 +0000</pubDate><link>https://news.ycombinator.com/item?id=49711177</link><dc:creator>linsomniac</dc:creator><comments>https://news.ycombinator.com/item?id=49711177</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=49711177</guid></item><item><title><![CDATA[New comment by linsomniac in "Spaceships (Reverse Asteroid)"]]></title><description><![CDATA[
<p>Thanks!</p>
]]></description><pubDate>Mon, 14 Sep 2026 14:35:30 +0000</pubDate><link>https://news.ycombinator.com/item?id=49697605</link><dc:creator>linsomniac</dc:creator><comments>https://news.ycombinator.com/item?id=49697605</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=49697605</guid></item><item><title><![CDATA[New comment by linsomniac in "Spaceships (Reverse Asteroid)"]]></title><description><![CDATA[
<p>While we're at it, I also did Tempest: <a href="https://linsomniac.github.io/teapot/" rel="nofollow">https://linsomniac.github.io/teapot/</a></p>
]]></description><pubDate>Mon, 14 Sep 2026 14:35:01 +0000</pubDate><link>https://news.ycombinator.com/item?id=49697596</link><dc:creator>linsomniac</dc:creator><comments>https://news.ycombinator.com/item?id=49697596</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=49697596</guid></item><item><title><![CDATA[New comment by linsomniac in "Spaceships (Reverse Asteroid)"]]></title><description><![CDATA[
<p>The whole reason I made it was that the "top down" view never really clicked for me, so when I'm playing it I almost never look at it.</p>
]]></description><pubDate>Mon, 14 Sep 2026 14:34:03 +0000</pubDate><link>https://news.ycombinator.com/item?id=49697573</link><dc:creator>linsomniac</dc:creator><comments>https://news.ycombinator.com/item?id=49697573</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=49697573</guid></item><item><title><![CDATA[New comment by linsomniac in "Spaceships (Reverse Asteroid)"]]></title><description><![CDATA[
<p>I also did that one: <a href="https://linsomniac.github.io/tankzone/" rel="nofollow">https://linsomniac.github.io/tankzone/</a></p>
]]></description><pubDate>Mon, 14 Sep 2026 14:31:46 +0000</pubDate><link>https://news.ycombinator.com/item?id=49697522</link><dc:creator>linsomniac</dc:creator><comments>https://news.ycombinator.com/item?id=49697522</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=49697522</guid></item><item><title><![CDATA[New comment by linsomniac in "Stop making swap partitions—use swap files instead"]]></title><description><![CDATA[
<p>>only to have my SSH session and shell sessions being repeatedly killed by OOMs<p>The OOM killer looking at processes and seeing a giant one, using 90% of the physical memory and growing fast and deciding "Oh, that's ok because it is working hard, I'm going to go kill this little tiny thing that hasn't been used recently called sshd".  Inoculating sshd against the oom killer is SOP now.</p>
]]></description><pubDate>Mon, 14 Sep 2026 02:27:07 +0000</pubDate><link>https://news.ycombinator.com/item?id=49691166</link><dc:creator>linsomniac</dc:creator><comments>https://news.ycombinator.com/item?id=49691166</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=49691166</guid></item><item><title><![CDATA[New comment by linsomniac in "Spaceships (Reverse Asteroid)"]]></title><description><![CDATA[
<p>I did a "Asteroid as an FPS" a couple months ago, play it here: <a href="https://linsomniac.github.io/roidbelt/" rel="nofollow">https://linsomniac.github.io/roidbelt/</a></p>
]]></description><pubDate>Mon, 14 Sep 2026 02:23:20 +0000</pubDate><link>https://news.ycombinator.com/item?id=49691130</link><dc:creator>linsomniac</dc:creator><comments>https://news.ycombinator.com/item?id=49691130</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=49691130</guid></item><item><title><![CDATA[New comment by linsomniac in "Stop making swap partitions—use swap files instead"]]></title><description><![CDATA[
<p>I have tried to forego swap because I had hoped that it would avoid swap thrashing, where performance goes into the toilet; I'd rather a process was killed but I could still access the system, than be unable to login to it.<p>But I've found that even with no/little swap, the system can get into high memory pressure situations (even easier because it can't swap out unused pages of libraries and the like), and still go into a sort of thrashing state even though it isn't swapping.<p>My main workstation is a Dell XPS15 with 32GB of RAM and I had 8GB of swap on it.  About every month the system load would skyrocket even though it had plenty of mem+cache+swap available.  If I killed off my browser and slack, load would return to normal, and I could use the system for a few more days or a week before it happened again.<p>I struggled with this for a year or more, before (for reason's I don't remember), I added another 8GB of swap.  Within the next day 80% of the extra swap was used right up.  I decided to swapoff that new file and create a 64GB swapfile and just see what happened.  It got to around 20-30GB IIRC before it leveled off.  And, more importantly, over the next 100+ days I never had that thrashing happen again.<p>That was with Ubuntu 22.04.  I just recently (May-ish) switched over to a NixOS setup with 64GB of swapfile, and it's been very stable.</p>
]]></description><pubDate>Fri, 11 Sep 2026 20:25:01 +0000</pubDate><link>https://news.ycombinator.com/item?id=49664838</link><dc:creator>linsomniac</dc:creator><comments>https://news.ycombinator.com/item?id=49664838</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=49664838</guid></item><item><title><![CDATA[New comment by linsomniac in "How the Chorleywood Bread Process transformed British bread"]]></title><description><![CDATA[
<p>... but if you buy my book with more of this, I'll send you even more to read!<p>I get it, sometimes it's fun to follow a story.  But I also read a dozen or so paragraphs, then started scrolling, then gave up.</p>
]]></description><pubDate>Fri, 11 Sep 2026 18:40:03 +0000</pubDate><link>https://news.ycombinator.com/item?id=49663208</link><dc:creator>linsomniac</dc:creator><comments>https://news.ycombinator.com/item?id=49663208</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=49663208</guid></item><item><title><![CDATA[New comment by linsomniac in "Measuring the sloppiness of code"]]></title><description><![CDATA[
<p>I wonder how much of this is due to the AI tooling being taught on sloppy code that humans have written.  Over the last 4 decades I've looked at a lot of code on the Internet and there's a lot of slop out there.</p>
]]></description><pubDate>Fri, 11 Sep 2026 14:21:54 +0000</pubDate><link>https://news.ycombinator.com/item?id=49658963</link><dc:creator>linsomniac</dc:creator><comments>https://news.ycombinator.com/item?id=49658963</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=49658963</guid></item><item><title><![CDATA[New comment by linsomniac in "AirPods 5"]]></title><description><![CDATA[
<p>>Are you sure this is a bandwidth issue?<p>It's technically not a bandwidth issue, AFAIK, it is a "profile" issue.  When listening to audio only you are using a different bluetooth profile than when you are using it for two way mic+speakers.<p>Try playing some music on your computer and then start a video call.  Even before I jump into the meeting, as soon as I hit the Google meet site and it opens up the meeting "camera preview" page, the music quality goes straight into the toilet.<p>This also happens to my "puck" speaker+mic array that is connected via USB.</p>
]]></description><pubDate>Wed, 09 Sep 2026 23:14:22 +0000</pubDate><link>https://news.ycombinator.com/item?id=49635935</link><dc:creator>linsomniac</dc:creator><comments>https://news.ycombinator.com/item?id=49635935</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=49635935</guid></item><item><title><![CDATA[New comment by linsomniac in "Synchronisation and SMPTE timecode (time code)"]]></title><description><![CDATA[
<p>I wish more cameras with GPSes supported SMTPE or something to mark the video with a time code.  I get the sense that GPS time is accurate to within 1/30th of a second, if not way way more, but even if it just got me in the neighborhood so I could nudge it a frame or two one way or another.<p>I like recording things like my kids performances with a GoPro or two, and sometimes my wife or I get some shots on our phones.  Multi-cam can be fantastic when you have people walking around in front of cameras, for example.<p>I used to have a majorly hard time syncing the multiple cameras shots, though the last time I did it (a couple months ago) I had much better luck with the "sync using audio" feature, in the past I've had problems.  But why can't we have a timecode with the video stream, in the cases of GPS cameras (I think everyt camera I have now has a GPS)?</p>
]]></description><pubDate>Sun, 30 Aug 2026 23:22:12 +0000</pubDate><link>https://news.ycombinator.com/item?id=49503818</link><dc:creator>linsomniac</dc:creator><comments>https://news.ycombinator.com/item?id=49503818</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=49503818</guid></item></channel></rss>