-
8 votes
-
What programming/technical projects have you been working on?
This is a recurring post to discuss programming or other technical projects that we've been working on. Tell us about one of your recent projects, either at work or personal projects. What's...
This is a recurring post to discuss programming or other technical projects that we've been working on. Tell us about one of your recent projects, either at work or personal projects. What's interesting about it? Are you having trouble with anything?
9 votes -
Day 6: Trash Compactor
Today's problem description: https://adventofcode.com/2025/day/6 Please post your solutions in your own top-level comment. Here's a template you can copy-paste into your comment to format it...
Today's problem description: https://adventofcode.com/2025/day/6
Please post your solutions in your own top-level comment. Here's a template you can copy-paste into your comment to format it nicely, with the code collapsed by default inside an expandable section with syntax highlighting (you can replace
pythonwith any of the "short names" listed in this page of supported languages):<details> <summary>Part 1</summary> ```python Your code here. ``` </details>9 votes -
Day 7: Laboratories
Today's problem description: https://adventofcode.com/2025/day/7 Please post your solutions in your own top-level comment. Here's a template you can copy-paste into your comment to format it...
Today's problem description: https://adventofcode.com/2025/day/7
Please post your solutions in your own top-level comment. Here's a template you can copy-paste into your comment to format it nicely, with the code collapsed by default inside an expandable section with syntax highlighting (you can replace
pythonwith any of the "short names" listed in this page of supported languages):<details> <summary>Part 1</summary> ```python Your code here. ``` </details>8 votes -
Kiosking Ubuntu computers
I recently set up some public computers with Ubuntu at a hackerspace. People kept logging into their Gmail etc. and forgetting to log out. For their own benefit I changed the computers to use...
I recently set up some public computers with Ubuntu at a hackerspace. People kept logging into their Gmail etc. and forgetting to log out. For their own benefit I changed the computers to use overlayfs so on reboot all changes from the base filesystem (Ubuntu 24.04 + packages + updates) are lost. I'm looking for tips on configuration. Keep in mind that because our users tend to be fairly technical I am not attempting to outright prevent changes, just prevent them by default.
Here are the current details:
- The machines have a wallpaper warning users that all changes are wiped on reboot
- The normal automatic update system is disabled (updates through it won't persist)
- I install updates and reboot on a cronjob at 5am every day (this uses
overlayroot-chroot) - The overlay is implemented as an encrypted filesystem on a separate partition, with the key generated on boot and held in memory
- Documentation is taped to the desktop computer itself educating users on how to make persistent changes
13 votes -
Day 12: Christmas Tree Farm
Today's problem description: https://adventofcode.com/2025/day/12 Please post your solutions in your own top-level comment. Here's a template you can copy-paste into your comment to format it...
Today's problem description: https://adventofcode.com/2025/day/12
Please post your solutions in your own top-level comment. Here's a template you can copy-paste into your comment to format it nicely, with the code collapsed by default inside an expandable section with syntax highlighting (you can replace
pythonwith any of the "short names" listed in this page of supported languages):<details> <summary>Part 1</summary> ```python Your code here. ``` </details>2 votes -
Day 10: Factory
Today's problem description: https://adventofcode.com/2025/day/10 Please post your solutions in your own top-level comment. Here's a template you can copy-paste into your comment to format it...
Today's problem description: https://adventofcode.com/2025/day/10
Please post your solutions in your own top-level comment. Here's a template you can copy-paste into your comment to format it nicely, with the code collapsed by default inside an expandable section with syntax highlighting (you can replace
pythonwith any of the "short names" listed in this page of supported languages):<details> <summary>Part 1</summary> ```python Your code here. ``` </details>5 votes -
Day 11: Reactor
Today's problem description: https://adventofcode.com/2025/day/11 Please post your solutions in your own top-level comment. Here's a template you can copy-paste into your comment to format it...
Today's problem description: https://adventofcode.com/2025/day/11
Please post your solutions in your own top-level comment. Here's a template you can copy-paste into your comment to format it nicely, with the code collapsed by default inside an expandable section with syntax highlighting (you can replace
pythonwith any of the "short names" listed in this page of supported languages):<details> <summary>Part 1</summary> ```python Your code here. ``` </details>2 votes -
Day 9: Movie Theater
Today's problem description: https://adventofcode.com/2025/day/9 Please post your solutions in your own top-level comment. Here's a template you can copy-paste into your comment to format it...
Today's problem description: https://adventofcode.com/2025/day/9
Please post your solutions in your own top-level comment. Here's a template you can copy-paste into your comment to format it nicely, with the code collapsed by default inside an expandable section with syntax highlighting (you can replace
pythonwith any of the "short names" listed in this page of supported languages):<details> <summary>Part 1</summary> ```python Your code here. ``` </details>5 votes -
What programming/technical projects have you been working on?
This is a recurring post to discuss programming or other technical projects that we've been working on. Tell us about one of your recent projects, either at work or personal projects. What's...
This is a recurring post to discuss programming or other technical projects that we've been working on. Tell us about one of your recent projects, either at work or personal projects. What's interesting about it? Are you having trouble with anything?
19 votes -
Day 8: Playground
Today's problem description: https://adventofcode.com/2025/day/8 Please post your solutions in your own top-level comment. Here's a template you can copy-paste into your comment to format it...
Today's problem description: https://adventofcode.com/2025/day/8
Please post your solutions in your own top-level comment. Here's a template you can copy-paste into your comment to format it nicely, with the code collapsed by default inside an expandable section with syntax highlighting (you can replace
pythonwith any of the "short names" listed in this page of supported languages):<details> <summary>Part 1</summary> ```python Your code here. ``` </details>7 votes -
“Tomato” versus “#FF6347”—the tragicomic history of CSS color names
39 votes -
Day 5: Cafeteria
Today's problem description: https://adventofcode.com/2025/day/5 Please post your solutions in your own top-level comment. Here's a template you can copy-paste into your comment to format it...
Today's problem description: https://adventofcode.com/2025/day/5
Please post your solutions in your own top-level comment. Here's a template you can copy-paste into your comment to format it nicely, with the code collapsed by default inside an expandable section with syntax highlighting (you can replace
pythonwith any of the "short names" listed in this page of supported languages):<details> <summary>Part 1</summary> ```python Your code here. ``` </details>9 votes -
Advent of Compiler Optimisations, by Matt Godbolt
14 votes -
Day 4: Printing Department
Today's problem description: https://adventofcode.com/2025/day/4 Please post your solutions in your own top-level comment. Here's a template you can copy-paste into your comment to format it...
Today's problem description: https://adventofcode.com/2025/day/4
Please post your solutions in your own top-level comment. Here's a template you can copy-paste into your comment to format it nicely, with the code collapsed by default inside an expandable section with syntax highlighting (you can replace
pythonwith any of the "short names" listed in this page of supported languages):<details> <summary>Part 1</summary> ```python Your code here. ``` </details>7 votes -
The Resonant Computing manifesto
12 votes -
Cloud hosting in EU
Hi! I've decided to move some of my selfhosted things from on-prem (at home ;)) to the cloud, and at the same time I'd like to try and run this in EU, or at least europe. I'd like to get started...
Hi!
I've decided to move some of my selfhosted things from on-prem (at home ;)) to the cloud, and at the same time I'd like to try and run this in EU, or at least europe. I'd like to get started fairly quickly as this was prompted by one of my home servers halfway dying on me.
The features I'm most interested in are approximately:
- Virtual machines.
- Storage. Cheap long term for backups (similar to S3 Glacier).
- Managed DB, most likely postgresql.
- Serverless jobs (similar to AWS lambda).
- IaaS (I've got a bit of experience with terraform, but it doesn't have to be that).
- Builtin monitoring.
- Git hosting, it's likely that I'll just go with github/gitlab here, but if there's a nice alternative I'm up for it.
- Automated sending of email. I'm using AWS SES atm, and I'm very happy with it.
Some other things:
- I intend to run a combination of services written by others, e.g. nextcloud and software I've written myself.
- I'll most likely be running linux only, but I prefer to select my own flavour where it makes sense.
- I much prefer managing permissions and users in gcp than in aws as I find aws way too complicated for my needs while gcp mostly just makes sense.
- I'd prefer a platform that's being developed and improving over time with big potential for the future.
- This is a hobby project, and some of these requirements may seem a bit contradictory or non-optimal, but that's ok.
- I have some experience running kubernetes (self-hosted), and I'm not a huge fan of the complexity and yaml files, at the same time OpenStack is getting kinda old, and I don't know if I think it's a platform for the future. But from what I see most of the options seems to be built on top of one of those.
- Cheaper is of course better, I don't have a company-sized budget, this is all coming out of my "hobby pocket".
- I live in Sweden, so datacenters geographically close is a plus.
Right now I'm looking at European alternatives to Amazon Web Services (AWS), and Scaleway is looking the most promising, but I'm really skimming the top when it comes to info atm.
Hope that makes sense =) I'm interested in all kinds of feedback.
22 votes -
Advent of Code starts tomorrow/tonight! Are you participating? Do you have any specific plans for this year?
With Advent of Code upon us, I wanted to check out how everyone is planning on participating. If you hadn't heard, this year has been shortened to 12 days along with the removal of the global...
With Advent of Code upon us, I wanted to check out how everyone is planning on participating. If you hadn't heard, this year has been shortened to 12 days along with the removal of the global leaderboard.
- Any changes to how you'll approach this year based on the updated format?
- Are you using an interesting language/approach?
- Any goals you're setting for yourself?
I'm a sucker for puzzles in general, but I also love hearing about everyone else's experiences, so I'm excited to hear what y'all are looking forward to!
13 votes -
The easiest way to build a type checker
8 votes -
There's a secret version of Windows XP
17 votes -
Scripts I wrote that I use all the time
67 votes -
Opinions on NPU laptops?
Looking to buy a new laptop, and of the model I'd like (thinkpad carbon x1), it seems like I can choose one with or without an NPU. My surface-level understanding is they make built in AI...
Looking to buy a new laptop, and of the model I'd like (thinkpad carbon x1), it seems like I can choose one with or without an NPU.
My surface-level understanding is they make built in AI processing and a couple other niche uses more efficient. Flip side, they're maybe a marketing gimmick?
Price aside (price difference doesn't seem too great), I'm wondering: should I buy a model with an NPU to help potentially future proof? Are there potential downsides to an npu model? Upsides?
I know there are lots of technical people here, I'd love to hear your thoughts or experiences!
18 votes -
Suggestions for uses of old computer hardware?
I recently “upgraded” my wife’s computer, since it was about 7 years old and I think the WiFi chip in the motherboard was starting to go (and the motherboard wasn’t Windows 10 compatible either,...
I recently “upgraded” my wife’s computer, since it was about 7 years old and I think the WiFi chip in the motherboard was starting to go (and the motherboard wasn’t Windows 10 compatible either, and she wanted to upgrade to Windows 11).
Of course, upgrading the motherboard to the latest WiFi standards meant upgrading the CPU (also swapped from Intel to AMD), which resulted in getting new RAM as well (a rough time for that, given the prices).
All of that to say, I’m now sitting on a mostly functional old motherboard, cpu, and ram. Basically an entire computer sans case and power supply (I’m sure I have a hard drive laying around somewhere).
Any thoughts on what I could do with it? I’d thought of trying to build out a NAS (or some other home server of sorts), but I’ve been thinking that for 2 years and haven’t done it yet because I haven’t really found a “need” for one. I basically just use my computer for gaming, and I don’t really have or plan to have media collections with seem to be the main use case of a hobby NAS.
23 votes -
Par is a concurrent language with linear types
11 votes -
What programming/technical projects have you been working on?
This is a recurring post to discuss programming or other technical projects that we've been working on. Tell us about one of your recent projects, either at work or personal projects. What's...
This is a recurring post to discuss programming or other technical projects that we've been working on. Tell us about one of your recent projects, either at work or personal projects. What's interesting about it? Are you having trouble with anything?
14 votes -
Fifty Shades of OOP
21 votes -
What programming/technical projects have you been working on?
This is a recurring post to discuss programming or other technical projects that we've been working on. Tell us about one of your recent projects, either at work or personal projects. What's...
This is a recurring post to discuss programming or other technical projects that we've been working on. Tell us about one of your recent projects, either at work or personal projects. What's interesting about it? Are you having trouble with anything?
8 votes -
Screenshots from developers: 2002 vs. 2015
30 votes -
Firefox 147 will support the XDG Base Directory specification
38 votes -
Introduction to Rivulet
11 votes -
The spy who came in from the WiFi: Beware of radio network surveillance!
27 votes -
What programming/technical projects have you been working on?
This is a recurring post to discuss programming or other technical projects that we've been working on. Tell us about one of your recent projects, either at work or personal projects. What's...
This is a recurring post to discuss programming or other technical projects that we've been working on. Tell us about one of your recent projects, either at work or personal projects. What's interesting about it? Are you having trouble with anything?
13 votes -
Telehack: ARPANET multi-user simulation; 26,600+ simulated hosts of the early net
13 votes -
What programming/technical projects have you been working on?
This is a recurring post to discuss programming or other technical projects that we've been working on. Tell us about one of your recent projects, either at work or personal projects. What's...
This is a recurring post to discuss programming or other technical projects that we've been working on. Tell us about one of your recent projects, either at work or personal projects. What's interesting about it? Are you having trouble with anything?
12 votes -
The fetch()ening (plans for HTMX 4)
23 votes -
Unfuck Google Drive (It's Gemini garbage, of course)
Turns out Google has been ruining Drive's speed by ramming Gemini down our throats (again). To get stuff loading quickly again, follow these steps: From the Google Drive page, go to settings (top...
Turns out Google has been ruining Drive's speed by ramming Gemini down our throats (again). To get stuff loading quickly again, follow these steps:
From the Google Drive page, go to settings (top right, gear icon). Drop into "Manage Apps."
Find Gemini and uncheck "Use as Default." Of course it's automatically turned on despite my organization and my personal accounts having already opted out of Gemini. Once it's off things run much, much faster.
Presumably they're doing some dumb shit and having Gemini scan the contents of your entire drive, constantly.
67 votes -
You don't need Anubis
33 votes -
Blogging
25 votes -
What diagramming tools do folks use?
I've gotten very tired of fighting the GUI of my company's self-hosted charts.io instance, so I've been looking around at diagramming tools. I saw D2 posted on Hacker News, which seems like an...
I've gotten very tired of fighting the GUI of my company's self-hosted charts.io instance, so I've been looking around at diagramming tools. I saw D2 posted on Hacker News, which seems like an interesting option, but I'm curious if anyone around here has a beloved tool to recommend.
I think my main use-case would be diagramming how components of a software system go together, although sometimes I'm interested in making wiring diagrams and stuff, too. Something that lets you specify overall dimension constraints for diagrams would probably help, since I often need to throw a diagram into a PowerPoint.
39 votes -
Ken Thompson recalls Unix’s rowdy, lock-picking origins
14 votes -
Independently verifying Go's reproducible builds
6 votes -
What programming/technical projects have you been working on?
This is a recurring post to discuss programming or other technical projects that we've been working on. Tell us about one of your recent projects, either at work or personal projects. What's...
This is a recurring post to discuss programming or other technical projects that we've been working on. Tell us about one of your recent projects, either at work or personal projects. What's interesting about it? Are you having trouble with anything?
10 votes -
KeenWrite 3.6.4
7 votes -
Move over, Alan Turing: meet the working-class hero of Bletchley Park you didn’t see in the movies
13 votes -
Gimp Tutorial for Idiot?
I've been trying to use Gimp to replace other options for years now, but it feels so abstruse and severely inefficient. I used to use Photoshop around 15 years ago but have stuck with Paint.NET...
I've been trying to use Gimp to replace other options for years now, but it feels so abstruse and severely inefficient. I used to use Photoshop around 15 years ago but have stuck with Paint.NET since - my problem is that I now use Linux and paint.net isn't available natively. I was using Pinta, but it just is like temu paint.net, and I wanted something more/better (also it has a number of bugs that can easily frustrate me and often crash/hang when doing work on larger files or for longer times).
And for decades, people (both Windows and Linux users) have tried selling me on Gimp. I've tried over and over to get into it, but nothing made sense and it took way longer to do simple things than I thought it ought... but I'm trying for reals about 10 years since my last attempt.
Please does anyone have a page that explains how to do things without everything being convoluted? There seem to be no ways to turn commands into keybinds or icons I can just click, and all the keyboard shortcuts I find are in relation to nothing I want to do. Ultimately, I prefer keyboard shortcuts, but I can do icons as well.
Latest example: I want to draw a rectangle outline. Should be simple, but there is no tool to draw shapes (at least that I can find, and the tutorials online don't seem to imply the existence of one either). Okay... I have to select the rectangle select, then I have to go to the menu (Edit) and choose Stroke Selection... which pops up another menu with a ton of options. That's great and all, but in every other program I've ever used (even MS Paint!) you just click an icon and make the rectangle. If you want to alter the shape or something you right click or hold click, or maybe you can bring up a menu. But if I want to make a number of rectangles over and over? Even with keyboard shortcuts I have to make the rectangle (no issues there), then click Edit, "s" apparently takes me to the stroke menu, then enter. Bloated at best.
So, if anyone has a good tutorial or something similar that can help me out here, or an alternative Linux-based raster graphics editor that is free, I would greatly appreciate to know of it/them. I really want to like Gimp, and I'm hoping someone here can either help me get into it or direct me elsewhere. Thanks!
Edit: I realise I forgot to mention, I did use Krita for a bit. It felt like an in between Pinta and Paint.NET, but iirc, it crashed somewhat often or had enough bugs that I went back to Pinta.
30 votes -
Changes to Advent of Code starting this December
23 votes -
What programming/technical projects have you been working on?
This is a recurring post to discuss programming or other technical projects that we've been working on. Tell us about one of your recent projects, either at work or personal projects. What's...
This is a recurring post to discuss programming or other technical projects that we've been working on. Tell us about one of your recent projects, either at work or personal projects. What's interesting about it? Are you having trouble with anything?
12 votes -
The present and potential future of progressive image rendering
7 votes -
What code editor / IDE do you use (2025)?
For a while now I have used VSCodium- which is just Microsoft's VSCode, but with as much of the telemetry stripped out (or rather, not built-in in the first place) as possible- but I've found...
For a while now I have used VSCodium- which is just Microsoft's VSCode, but with as much of the telemetry stripped out (or rather, not built-in in the first place) as possible- but I've found myself with a desire to move away from Electron-based apps for a number of reasons.
Primarily, I'm ideologically opposed to the trend in which everything is an Electron-based web app packaged as a "desktop application", but on a slightly more functional note, Electron seems to behave poorly in Wayland contexts, especially on Arm64 devices.
In terms of feature set, I'm not too interested in complexity. Something open-source, relatively clean / light-weight, capable of providing a project overview and a number of tabbed or vsplit / hsplit buffers. Something with comprehensive syntax highlighting and some form of language server interface. Something theme-able, and good to look at, with relatively intuitive or well-established keyboard shortcuts. I don't much care for integrated terminals, extensive debugging tooling, or any form of built-in AI assistant.
I have been trying out Micro, with a set of plugins which allow for a project overview, a language server, and a number of other QOL improvements, but it has a list of breaking issues that will likely not be solved for years given the speed at which pull-requests are addressed, if at all. Even so- it hits most of the marks that I find most important to me.
But I'm also interested in what other people use; what other programmers find matter to them. So what text editors, or IDEs do you swear by (and please don't suggest VIM- it's overwhelming ;])?
46 votes -
Does anyone use AppleScript on macOS?
I heavily utilize ChatGPT to generate .ics files to populate my Apple Calendar with various events, but I have been wanting to upgrade my time management and also use the Reminders app. I recently...
I heavily utilize ChatGPT to generate .ics files to populate my Apple Calendar with various events, but I have been wanting to upgrade my time management and also use the Reminders app.
I recently used ChatGPT to help me populate a Trello board with tasks associated with a project I am working on, but I was getting annoyed with having my workflow split across Apple Calendar and Trello. I exported my Trello board as a CSV and was trying to have ChatGPT turn it into a file I could import into Reminders, but as it turns out, this is not easy.
.ics files do contain syntax for reminders tasks with due dates that populate the Apple Calendar, but generating an .ics file with only reminders tasks and importing into Calendar doesn’t actually work. Calendar recognizes that the .ics contains Reminders tasks and opens Reminders to import the tasks, but Reminders returns an error because it doesn’t support import, it only supports export to Calendar.
I found that Reminders has a Reminders.scpt dictionary file within the .app package that details .applescript commands that can create new tasks, so I fell into the world of AppleScript. The issue with AppleScript is that it was created in the 80s and hasn’t been updated since 2013. It has no native CSV support and is pretty clunky.
AppleScript does have text file support, so I was able to have ChatGPT convert my CSV into a .txt that I could parse with AppleScript. This allowed me to automate the creation of tasks in the Reminders app from my Trello CSV, but it was annoying and I still feel like there must be a better way.
Does anyone here use AppleScript regularly and know its full capabilities?
Also, are there any good resources out there for learning more about AppleScript? The Apple documentation is very out of date and it seems like more of a legacy language than something Apple regularly maintains.
14 votes