news
Programming Leftovers
-
The Register UK ☛ 700+ self-hosted Git instances battered in 0-day attacks
Attackers are actively exploiting a zero-day bug in Gogs, a popular self-hosted Git service, and the open source project doesn't yet have a fix.
More than 700 instances have been compromised in the ongoing attacks, according to Wiz researchers, who described the zero-day discovery as "accidental" and say that it happened in July while they were investigating malware on an infected machine.
-
AdventOfCode ☛ Day 10 - Advent of Code 2025
The Elves do have the manual for the machines, but the section detailing the initialization procedure was eaten by a Shiba Inu. All that remains of the manual are some indicator light diagrams, button wiring schematics, and joltage requirements for each machine.
For example: [...]
-
AdventOfCode ☛ Day 11 - Advent of Code 2025
One of the Elves notices you and rushes over. "It's a good thing you're here! We just installed a new server rack, but we aren't having any luck getting the reactor to communicate with it!" You glance around the room and see a tangle of cables and devices running from the server rack to the reactor. She rushes off, returning a moment later with a list of the devices and their outputs (your puzzle input).
-
Clayton Errington ☛ Updating Umami Analytics, part 2
About two years ago I wrote about how easy updates are. Being able to sync the fork and the CI/CD integration that runs and builds the front end and gets it all updated is a nice easy solution. However in the latest updates for Umami there was an the update from version 2 to version v3.0.0.
-
Tor ☛ Twenty contributors, three days, one goal: Bringing the Tor community together | The Tor Project
Tor, in no small part, runs on the many contributions from our community of global volunteers. Since we all collaborate remotely, it was important to us to make time to see each other face-to-face and socialize. Having regular real-world meetings is especially crucial for integrating new volunteers into and maintaining existing relationships in our community.
-
Sandor Dargo ☛ Time in C++: std::chrono::high_resolution_clock — Myths and Realities
If there’s one clock in <chrono> that causes the most confusion, it’s std::chrono::high_resolution_clock. The name sounds too tempting — who wouldn’t want “the highest resolution”? But like many things in C++, the details matter.
-
Perl / Raku
-
Rakulang ☛ Day 11 – Raku To The Stars – Raku Advent Calendar
Datastar does not take this approach; it aims to handle both browser-side state using signals and the server-side connectivity which htmx and Phoenix LiveView do. The main differentiating factor for Datastar is that it automatically handles Server-Sent Events (SSE) and text/event-stream responses, making it really good for real-time applications. Datastar also allows you to return a regular text/html response just like htmx; it morphs the HTML fragment into the DOM using a forked version of the same DOM-morphing library htmx uses. Datastar also accepts a application/json response from the server which it uses to patch signals (which are JSON objects), and it also accepts a text/javascript response from the server, which it uses to run custom Javascript on the browser.
-
Perl ☛ Perl Advent Calendar 2025 - Teaching Art to Computers the Hard Way
Okay, let's start working on the generator; this is the fiddly bit of the whole problem. In sub generate, which will need no parameters other than the object it$self, we can start by calculating and initializing the whole "canvas": [...]
-
Arne Sommer ☛ Special Progression with Raku
You are given an array of integers.
Write a script to return the average excluding the minimum and maximum of the given array.
-
-
Python
-
Yordi Verkroost ☛ Advent of Code 2025 - Day 10
Party people! We're back for day 10 of Advent of Code. And I've got to say: thank God for Python libraries. Again. Why, you say? Well, let's take a look.
-
University of Toronto ☛ Noticing a shift in Python idioms, or my use of them
For reasons outside the scope of this entry, I was recently reminded of some very old entries here where I compared some Python code with some Perl code to do the same thing. One of the things that stood out to me is that way back then I said: [...]
-