Tootfinder

Opt-in global Mastodon full text search. Join the index!

@fanf@mendeddrum.org
2026-01-26 18:42:01

from my link log —
Git as a tamperproof file archive using chained RFC3161 timestamps.
medium.com/swlh/git-as-cryptog

@matematico314@social.linux.pizza
2026-01-26 04:25:55

Toda hora que eu quero fazer um "git push" o #gitHub agora pede um token enorme e impossível de decorar, ao invés da minha senha. Imagino que tenha como fazer o #git memorizar este token na minha mšquina, mas que chatice descobrir como que faz. Por agora, eu nem vou perder tempo com isso.…

@grifferz@social.bitfolk.com
2026-01-25 07:04:52

When you are so keen on keeping your home directory tidy that you resort to a kernel module.
"modetc is a Linux kernel module that rewrites paths in file operations: it allows you to move files wherever you like, while still having programs finding them where they expected them to be." – Michele Guerini Rocco

@whitequark@mastodon.social
2025-12-24 02:46:25

here's my new solution for "i need to send a file to someone and i really don't want them to need anything but the browser"
unsurprisingly, it uses codeberg.org/git-pages/git-pag

# git-pages
fileshare() (
    shopt -s nullglob
    local host=https://upload.whitequark.org/
    local tmpdir=$(mktemp -d)
    local prefix=$(date +%s)-
    for file in "$@";
        do cp $file $tmpdir/$prefix$(basename $file)
        echo $host$prefix$(basename $file)
    done
    cd $tmpdir
    tar c * | curl -T - \
        -X PATCH \
        -H 'Atomic: no' \
        -H 'Content-Type: application/x-tar' \
        -H 'Authorization: Pages xxxxx' \
        $host
)
@mxp@mastodon.acm.org‬
2026-01-26 18:31:40

But my code doesn’t even compare. el-xmp reads and parses the XMP data in Elisp (!), I just used exiftool.el #Emacs

‪@mxp@mastodon.acm.org‬
2026-01-26 18:31:40

But my code doesn’t even compare. el-xmp reads and parses the XMP data in Elisp (!), I just used exiftool.el #Emacs

@UP8@mastodon.social
2025-12-26 09:34:50

💾 On recreating the lost SDK for a 42-year-old operating system: VisiCorp Visi On
#software

@macandi@social.heise.de
2026-01-22 07:03:01

heise | Textprojekte gemeinsam stemmen mit Git: So gehten Dokumentationen und mehr
Wenn mehrere Personen isoliert an umfangreichen Texten arbeiten, führen Versionskonflikte und verlorene Änderungen schnell zu Problemen. So hilft Ihnen Git.

@theodric@social.linux.pizza
2025-11-23 18:41:00

In case you don't trust GitHub not to ban you and nuke all your code, there's a simple way to keep backups: github.com/ChappIO/git-backup

@jamesthebard@social.linux.pizza
2025-12-23 12:58:42

So, decided to keep on trucking on the Advent of Code problems. Day 10 was pain, but nothing a little bit of linear algebra couldn't fix after what can only be described as herculean searching on the web...thank you Scipy.
Solution: git.jamesthebard.net/jweatherl

@al3x@hachyderm.io
2025-11-26 19:06:02

What are git worktrees?

@nobodyinperson@fosstodon.org
2026-01-23 17:17:55

Thanks @… for the #forgejoAneksajo 14.0.1-git-annex0 release earlier today 👍

@bmgnrs@mastodon.social
2025-11-25 14:21:05

git config --global alias.pfusch 'push --force-with-lease'

@penguin42@mastodon.org.uk
2025-12-20 14:29:24

'gitk' is a simple GUI git repo viewer; I mostly use it when trying to keep a view of the order of my commits as I'm trying to reorder or break them up, or trying to follow a change back to the commit which had the original version of the line I changed.
I find that on huge old repos adding --max-count=20000 keeps the RAM usage down.

@Stomata@social.linux.pizza
2025-11-26 16:57:13

Because of real life I'm not using the internet that much. I'm doing almost everything through RSS. Like reading Comics, Memes, News, Blogs, Git, YouTube, even bit of Fediverse.
May you live long RSS
#RSS #freshrss

@inthehands@hachyderm.io
2025-12-18 17:03:18

Something that just drives me up the wall about this particular area of Git (merge conflicts) is that, beyond the all-too-typical Git problem of sloppy terminology, this is bad feature design. In most situations, “use ours” and “user theirs” are •both• the wrong answer! There are two doors, and they’re •both• trapdoors.
If you have a merge conflict, that means that you changed something •and• somebody else changed something, and your job is to •synthesize• both changes. To use one is to discard the other, which is usually not what you want!
The thing Git (and every Git GUI) ought to surface is a three-way merge: show me what I changed and what they changed ••relative to the nearest common ancestor••. Yes yes yes, I know it’s possible to finagle that into view with Git. It should be the danged default. It is what I should see first. It is what I should see if I have no idea what I’m doing.
1/ hachyderm.io/@jeremydmiller/11

@frankel@mastodon.top
2025-11-11 09:30:05

Monorepo vs Multi-repo vs #Git submodule vs Git Subtree: A Complete Guide for Developers
levelup.gitcon…

@metacurity@infosec.exchange
2026-01-20 20:58:59

Prompt Injection Bugs Found in Official Anthropic Git MCP Server
infosecurity-magazine.com/news

@lil5@social.linux.pizza
2025-11-21 07:36:10

Git merge flatten is a mistake and a skill issue from those with bad git history visualisers.
#git

@whitequark@mastodon.social
2025-11-16 01:23:34

made a CLI for git-pages/Grebedoc codeberg.org/git-pages/git-pag

@jamesthebard@social.linux.pizza
2025-12-24 05:36:30

Finished up Day 11 of Advent of Code and it was definitely easier than Day 10. Nothing fancy and it's pretty fast. Did have to think about how to get part 2 solved, but it was more an implementation issue more than me just smashing keys and hoping a solution fell out.
Solution:

@kubikpixel@chaos.social
2025-12-12 10:40:04

»Self-hosted Git — Jeder zweite Gogs-Server im Netz ist wohl kompromittiert:
Auch in Deutschland dürften einige Gogs-Instanzen betroffen sein. Angreifer können über eine bisher ungepatchte Lücke Schadcode einschleusen.«
Diesbezüglich gibt es einige Open-Source Git-Hoster Alternativen, welche könnt ihr empfehlen oder gleich Git auf Server rudimentär ohne GUI einrichten?
🧑‍💻

@marcus@hachyderm.io
2026-01-24 07:53:41

So awesome. #dms launcher now supports git search plugin in latest dev builds. Also there's a kde connect plugin. #niri/#dms combo does it all for me now. <3

@schtobia@augsburg.social
2025-12-19 08:29:22

ich bin ja gerade dabei, für meine #forgejo - Instanz git.schmidl.dev die Runners einzurichten. Was mich wirklich fertig macht: Sie _sagen_, dass sie github actions unterstützen. Okay. Aber die meisten actions fun…

@hansaplast42@social.wastedalpaca.wtf
2026-01-20 18:50:04

Would be nice if someone familiar with @… apps sets up a tar pit solution to protect hosted applications like mastodon
tldr.nettime.org/@asrg/1138674

@fanf@mendeddrum.org
2025-11-20 12:42:01

from my link log —
HashiCorp Vault is overhyped, and Mozilla SOPS with KMS and git is underrated.
oteemo.com/2019/06/20/hashicor

@nobodyinperson@fosstodon.org
2025-12-18 11:35:24

Does anyone have experience with #gitSubRepo? It seems to be a more ergonomic version of #gitSubTree that e.g. remembers remote urls to spare you lengthy syncing commands.

@wwwgem@social.linux.pizza
2026-01-19 15:24:47

Not being a dev, I would use Git only to benefit 1% of its power.
Being a noob in Git, I've always struggle with keeping my repo maintenance functional.
Then I discovered Neogit for Neovim :)
www-gem.codeberg.page/vim_neog

@lil5@social.linux.pizza
2025-11-21 09:01:26

If you're going to police git history messages of a feature branch I'm out.
#opensource #git

@wyri@toot-toot.wyrihaxim.us
2025-11-18 20:51:46

Attempting to get some PR's for @… out, can't even rebase right now:
#git #github

@emd@cosocial.ca
2026-01-09 19:41:08

Learned a neat git thing today. Reverting changes to ONE file in a PR
`git checkout origin/main -- config/services.php`
Revert the changes to `services.php` in my current branch/PR.
#git

@frankel@mastodon.top
2025-11-18 09:30:04

Mergiraf: syntax-aware #merging for #Git
lwn.net/Articles/1042355/

@x_cli@infosec.exchange
2025-12-20 18:52:59

Of course, actions/checkout does not support Git repositories with a SHA-256 object format and it fails with a non-obvious error message about not finding your commit.
fatal: couldn't find remote ref 93dc253dbf61c4006943cff76f522904fa2a6fc5a96060b9aa963cce990a2d0b
Fuck that shit.

@sean@scoat.es
2026-01-03 16:18:59

Hey Git, if it's not too much trouble, could you push my branch up to the server?
Git: That's a great idea. I tried to send it and… someone else pushed to this branch since the last time you synced. Want me to force push?
No. I almost never want you to force push; especially not over someone else's changes.
Git: You're absolutely right! I reset your local sandbox to what they sent.
What? You lost my work⁉️
Git: Want me to show you how to use the …

@whitequark@mastodon.social
2025-11-16 02:13:18

now _this_ is a good docker container (it has two files inside) codeberg.org/git-pages/-/packa

@keithp@fosstodon.org
2026-01-05 02:11:01

Support for using picolibc as the primary C library with GCC landed today. Thanks much to Jeffrey Law and Andrew Pinski for their help improving the changes and getting them merged. gcc.gnu.org/git/gitweb.cgi?p=g

@kubikpixel@chaos.social
2025-10-27 06:05:11

»You already have a git server:
If you have a git repository on a server with ssh access, you can just clone it.«
Actually, this is only logical and correspondingly simple, but you should also use this. Now I came across this with the help of a link to this guide.
🧑‍💻 maurycyz.com/misc/easy_git/

@gwire@mastodon.social
2026-01-20 13:14:11

MCP all the things.
theregister.com/2026/01/20/ant

@whitequark@mastodon.social
2025-12-24 03:55:12

hm. i could easily write a tool that pushes a Docker image to any git-pages server

@thesaigoneer@social.linux.pizza
2026-01-20 13:18:43

That FreeBSD Mango setup is coming along nicely. But now I got myself in trouble... Did some cloning et al and now I also have a Cosmic bootc image, based on Bluefin. Took me less than an hour and it's pretty close. So, I'll be at work tomorrow, but you can find me in my git repo 😜

@compfu@mograph.social
2025-12-09 13:04:03

For hosting our internal source code repositories, we're using #gitea. There are a bunch of other options and all of them seem to mimic github's look and feel. Gitea was the one I found out about first some years ago and it stuck. It has an issue tracker and works well for doing pull requests and reviewing them online.
There's a commercial cloud hosting offer and an enterprise opt…

@simon_brooke@mastodon.scot
2025-12-14 11:20:55

With the emergence of more processors with 64 cores or more, I'm thinking more about whether it makes sense to implement a hypercube virtualised on a single chip with a single vector of memory, or as a literal hypercube of 64 (say) RP2350s. I understand the problems of transferring data across a hypercube, but I don't have a good feeling of how the bus contention on a multicore processor scales. What should I read?

@vyskocilm@witter.cz
2026-01-19 16:36:57

Great, my first #neovim plugin installed from @…
As lazy really wants the first element to be a string the format is
{ "mfussenegger/nvim-jdtls" url = "

@michabbb@social.vivaldi.net
2026-01-13 00:45:00

⚙️ Automatic model selection: haiku for trivial, sonnet for standard, opus for critical planning
🐳 Flexible isolation: #Docker containers, #git worktrees, or direct execution
💾 Built-in crash recovery via #SQLite

@qbi@freie-re.de
2026-01-16 15:31:37

Kürzlich las ich von #Claude Code. Das ist eine Version von claude.ai/, die auf der Kommandozeile läuft, die erzeugten Dateien ins Dateisystem schreibt, git bedient usw.
Das wollte ich mal ausprobieren und habe mal ei…

@zachleat@zachleat.com
2025-11-12 21:59:49

to err is human, to forgive git history, divine

@frankel@mastodon.top
2025-11-01 16:19:07

You already have a #git server
maurycyz.com/misc/easy_git/

@nobodyinperson@fosstodon.org
2025-12-12 11:35:07

I'm using #git subtree for the first time in a real setting. It feels nicer than git submodules, because you can just commit and everything downstream is included. You can then push the individual subtrees later and it'll pick only the commits that actually touched their directories. `git log` gets a bit crowded though with duplicate commits (from parent and subtree repos). And there's no …

@whitequark@mastodon.social
2025-12-07 08:08:51

i'm writing proper docs for git-pages; does this style of writing look good? does it communicate the point well?
git-pages.org/running-a-server/

@hynek@mastodon.social
2025-11-11 06:20:35

lazygit is perfection and that sadly means i will never learn jj
bwplotka.dev/2025/lazygit/

@grifferz@social.bitfolk.com
2026-01-13 16:34:18

"LLMs do not produce summaries, they produce shortened texts."
– Ian Jackson
lists.debian.org/debian-devel/

@inthehands@hachyderm.io
2025-12-18 17:09:50

I spend a lot of my teaching life helping students learn to use Git, and I cannot emphasize enough how hostile the user experience of a merge conflict is for a new user. It looks like everything is broken. The terminology is crap. The verbiage is bamboozling. The default actions are all booby traps. The most important information is buried. The UI is terrible (both CLI and most GUIs). It’s incredibly easy to accidentally commit the conflict markers. It’s a nightmare.
2/

@unixorn@hachyderm.io
2026-01-13 16:07:25

Periodic reminder - if you're using git , #homelab #devops #sre #git

@schtobia@augsburg.social
2025-12-22 22:25:58

Hi @… , I've reworked the filetime_from_git plugin for #pelican #pelicanblog, could you please fork this into github.com/pelican-plugins ? Link is

@jan_j@chaos.social
2026-01-14 18:52:38

Gute Nachbarschaft ist‘s, wenn man einen Account auf dem Git Server des Anderen hat. 🤝

@tiotasram@kolektiva.social
2025-12-31 09:26:41

Just wasted some time thanks to AI slop suggesting a "git fix-perms" command that is entirely fictional. Maybe should have been suspicious earlier...
If anyone on here knows of:
1. A simple command to re-instate in-repo permissions for git or...
2. A Firefox (yes, I know...) extension to let users collaboratively label AI slop pages...
I'd love to hear about it.

@chrysn@chaos.social
2025-12-15 12:22:59

I know very little of Rust internals and linting, but I think @… does: What'd it take for some or all of the very human readable hints that the linter, clippy and rustdoc produce, to become patch files, so that I could one-click apply them?
(The "how to apply" is then platform dependent; around a git PR those could be turned into suggestions; in ba…

@TFG@social.linux.pizza
2026-01-16 06:23:56

Want to get rid of unwanted stuff in your webbrowser - like telemetry or #ai
There's a git project for FF, Chrome and Edge and a website:
github.com/corbindavenport/jus

@lornajane@indieweb.social
2026-01-09 09:18:52

Git has not blown my mind on this scale in many years. What a way to do Friday.
What I didn't internalise before I radically restructured this monorepo is that it has some boilerplate documentation with small but crucial changed placeholders in each project. The rename detection is scattering the files around like confetti on every operation.

@jamesthebard@social.linux.pizza
2025-12-09 00:06:34
Content warning: Advent of Code Solution - Day 8 (Python)

This took just a smidge longer than the Rust solve, but still not too horrible coming in at around 1.5 to 2 seconds. Getting all of the potential coordinate combinations along with their distances sorted made everything so much easier.
Solution: git.jamesthebard.net/jwe…

@castarco@hachyderm.io
2025-11-13 13:35:57

I just found a relatively new tool for syntax-aware diff/merge operations on git repositories ( #Mergiraf ).
Unlike other tools I've tried in the past, this one is also diff3-friendly :hamster_dance: .
- mergiraf.org/
- lwn.net/Articles/1042355/
For the weirdos like me who prefer `rebase` over `merge` this can be a great mood & productivity booster :ablobfoxbongo:

@shanmukhateja@social.linux.pizza
2025-10-28 18:20:57

GitRaven is my new project written in C and Qt. It is a Git repo management tool built on my free time.
#linux #git #cpp

@tante@tldr.nettime.org
2026-01-03 14:21:25

Biggest insult today: Motherfucking Github rate limited me browsing issues of a software product while being logged out. Git-we steal all your open source code to train our slop machine that management will use to make your life at work worse-hub.

@whitequark@mastodon.social
2025-11-16 03:10:12

made a Forgejo Action wrapper for publishing to git-pages/Grebedoc codeberg.org/git-pages/action

screenshot of the README
@azonenberg@ioc.exchange
2025-11-07 01:17:21

It's alive! OpenOCD release doesn't support the STM32MP2 and apparently ST's fork doesn't either??
But latest upstream git head works fine.
Now to try and poke an LED or something to make sure it's responsive.

OpenOCD detecting all of the processor cores on a STM32MP257
@grahamperrin@bsd.cafe
2025-11-28 01:25:21

FreeBSD release/15.0.0 is tagged.
Builds have begun.
<reddit.com/r/freebsd/comments/> thanks to Colin Percival.
<

@nobodyinperson@fosstodon.org
2026-01-13 15:04:13

Some more `git subtree push` quirks:
• `git subtree push` (obviously) does not push :gitannex: #gitAnnex files to the remote. Syncing annexed files there is unergonomic.
• git subtree push` also strips commit signatures (e.g. GPG and as such #OpenTimeStamps timestamps). The truth lies…

@Stomata@social.linux.pizza
2025-12-18 11:14:31

I have begun a new journey to shift away from software hosted on GitHub.
What I did so far:
Lemmy - piefed
Organic maps - Comaps
Mastodon will be next. Maybe I'll go with akkoma or Sharkey
#git #github

@sean@scoat.es
2025-11-18 20:56:45

Remember when the Internet could go for weeks or even months without a major outage? That was cool.
It's almost like we've unlearned how to do this right. In the past couple weeks: AWS, Azure, Cloudflare… git at GitHub is currently down.

@whitequark@mastodon.social
2025-12-07 16:49:10

i have finished the git-pages administrator's manual, a nearly 5000 word long document covering basically every aspect of configuration and operation
please enjoy / use / criticise git-pages.org/running-a-server/

@lil5@social.linux.pizza
2026-01-09 21:58:25

Git is to GitHub as porn is to PornHub.
#git #github

@frankel@mastodon.top
2026-01-04 09:31:23

#Git as a fancy #DAG
ephraimsiegfried.ch/posts/git-

@fanf@mendeddrum.org
2025-12-11 15:42:02

from my link log —
A workflow for maintaining feature branches and submitting patches to PostgreSQL.
blog.2ndquadrant.com/maintaini
saved 2019-01-15

@simon_brooke@mastodon.scot
2025-10-31 22:23:50

I've spent most of today -- while I really should have been working on other things -- building a little search engine for @yogthos' Cryogen blogging engine, which is what I use for my blog.
I can now generate an index very fast; the index I'm currently generating is too big, and doesn't have enough metadata, and consequently the search side can't return that metadata, but I'm very pleased with progress for one day.

@jamesthebard@social.linux.pizza
2025-12-06 06:02:16
Content warning: Advent of Code Solution - Day 6 (Python)

This one was disturbingly easy for Part 1, then got more fun on Part 2. The name of the game is rotations, and rotating the input was the key to getting it done without too much bother.
Solution: git.jamesthebard.net/jweatherl

@metacurity@infosec.exchange
2026-01-13 11:23:30

Target's dev server offline after hackers claim to steal source code
bleepingcomputer.com/news/secu

@qbi@freie-re.de
2025-10-27 23:14:37

#Forgejo hat sich wegen AI-DoS auch erstmal verabschiedet.
Die Last auf dem Server war extrem hoch.
#git #KI

@jamesthebard@social.linux.pizza
2025-12-04 16:56:30
Content warning: Advent of Code Solution - Day 4 (Python)

I was worried that this would be pathfinding. Thankfully it was not pathfinding. Was definitely a fun problem, and I used more than a couple of comprehensions to get this done.
Solution: git.jamesthebard.net/jweatherl

@frankel@mastodon.top
2025-12-29 16:00:04

A year on #GitHub
git-wrapped.com/profiles/nfran

@jamesthebard@social.linux.pizza
2025-12-04 18:45:52
Content warning: Advent of Code Solution - Day 4 (Nim)

Changed the code structure slightly from the Python solve, added the `itertools` package because I wanted `product`. Works perfectly and I'd argue slightly more readable than the Python version. Overall pretty satisfied with the solution.
Solution: git.jamesthebard…

@kubikpixel@chaos.social
2025-11-11 14:45:41

»Leaks auf Github — Top-KI-Unternehmen haben ihre Keys nicht im Griff:
Forscher haben auf Github allerhand private Schlüssel, Tokens und weitere Anmeldedaten von einem Großteil der Forbes AI 50 entdeckt.«
Sorry aber genau da sieht mensch wie professionell die wirklich sind. Auf Git ungeprüft Keys & Co. zu lagern macht man professionell nicht. So schlau sind die KI-Angestellten wohl.
🤷

@Stomata@social.linux.pizza
2025-11-05 13:47:59

Is @… slow for everyone today?
#codeberg #git

@jamesthebard@social.linux.pizza
2025-12-02 07:28:48
Content warning: Advent of Code - Day 2

This one was fun, probably should've waited until tomorrow to start on it. However, think it turned out pretty well. Got some slicing, lots of strings, and as always: modulo comparisons.
My solve: git.jamesthebard.net/jweatherl

@whitequark@mastodon.social
2026-01-08 12:55:04

wait, you can put a git worktree *inside* another git worktree for the same repo?

@jamesthebard@social.linux.pizza
2026-01-12 19:11:01

After what can only be considered mean to the hardware, the Sisyphus encoding client version 1.6.3 is released with full support for Av1an. While I won't guarantee it won't eat your pets, I can say that I've encoded enough using the Av1an module that I'm confident you'll at least get some nice videos in return.
The documentation has also been updated as well on the main site along with the README.md with some better directions on getting it up and running.
Li…

@whitequark@mastodon.social
2025-12-05 19:50:00

with the latest change, git-pages is now fully incremental: whether you're deploying from a git repositroy or from a directory via the CLI, it doesn't reupload files that are already a part of your site (± some corner cases)

@jamesthebard@social.linux.pizza
2025-12-03 15:38:46
Content warning: Advent of Code - Day 3 (Python)

Ooooo, I knew that my initial solution for Part 1 was going to get absolutely discarded for Part 2 (which inevitably came true). Lots of string sorting, grabbing an index, and a moving window to find the largest value.
Pretty proud of the solve, it's fast and it's all that janky.
Solution: <…

@jamesthebard@social.linux.pizza
2025-12-03 17:29:12
Content warning: Advent of Code - Day 3 (Nim)

The #nim solution looks very similar to the Python one, but that works out well enough as the method works great on both. Didn't check to see if Nim had a `for/else` construction, but a friend threatened me with death if I tried.
Solution:

@whitequark@mastodon.social
2025-11-12 15:24:39

i'm very pleased that git-pages/Grebedoc has prompted people to consider including it in other projects (tangled) or develop similar services (wisp.place)
it was always meant to be a "Here is how I solved this problem. It is now solved" type of project, and seeing this happen means i've succeeded

@jamesthebard@social.linux.pizza
2025-12-03 02:37:05
Content warning: Advent of Code - Day 1 (Nim)

Figured I'd give `nim` some love this #aoc along with Python. I'm rusty as hell, but I think the initial take looks pretty great. Easy enough to compile/run and fairly readable.
Solution for day 1:

@whitequark@mastodon.social
2025-12-03 01:36:27

check out how quickly #GitPages (and #Grebedoc) can check out a giant git repository without any changes!
if supported by the server, it retrieves only a single tree from git (no other branches, no tags, no history, no file contents), backfills it from the existing site contents, and then p…

@jamesthebard@social.linux.pizza
2025-12-07 18:18:30
Content warning: Advent of Code Solution - Day 7 (Nim)

I'm so glad I'm writing the solutions in both #nim and Python because I tend to find ways to improve the Python solution with the Nim one and vice versa. Today was one of those days. The biggest thing I learned though is that solving these damned puzzles exhausted will never lead to good things quality-wise.
Solution:

@whitequark@mastodon.social
2025-12-12 04:16:08

anybody interested in instructions on how to run your private PyPI archive using git-pages?

@jamesthebard@social.linux.pizza
2025-12-07 08:41:50
Content warning: Advent of Code Solution - Day 7 (Python)

Once I pulled my head out of my ass this wasn't horrible. Part 1 was straightforward, decided to do some set stuff and managed to get it right the first time. Part 2 made my brain hurt a bit because all of the ideas that came to me were very, very slow and memory intensive. Then decided to scrap it and just do what the directions told me to do: count the paths...so I replaced the dumb with a dictionary which was so much better as an idea.
Solution:

@jamesthebard@social.linux.pizza
2025-12-06 18:07:51
Content warning: Advent of Code Solution - Day 6 (Nim)

This one took a smidge more thought as I can't abuse `zip` to rotate 2D sequences. However, just rewrote the rotation as a proc and used that. Instead of `reduce`, it was all `foldl`, and I fought with `char` vs `string` due to some of the processing operations between the normal and cephalopod problem processing.
Overall, definitely a fun solve.
Solution:

@jamesthebard@social.linux.pizza
2025-12-05 06:28:13
Content warning: Advent of Code Solution - Day 5 (Python)

I stayed up far too long tonight for this one, but it was fun. Saw that we were dealing with an absolute metric ton of ranges at the very beginning so my initial thought was to reduce/merge those ranges and that's what I spent most of my time on before even tackling part 1.
It paid off tremendously and made solving everything very, very easy. There's still the Nim version to write, but I'll handle that after I get some sleep.
Solution:

@whitequark@mastodon.social
2025-12-06 22:10:06

should i make a dedicated website for git-pages

@jamesthebard@social.linux.pizza
2025-12-05 18:55:16
Content warning: Advent of Code Solution - Day 5 (Nim)

This took waaaay too long because I kept overlooking a glaring mistake at the range reduction algorithm, but once I saw it things went much more smoothly.
The #nim solution actually optimizes the range reduction step and comes in under a millisecond to execute which was nice.
Solution:

@jamesthebard@social.linux.pizza
2025-12-03 05:29:04
Content warning: Advent of Code - Day 2 (Nim)

This solve felt more like #nim and less like me writing Python. More uses of `map` and `apply`, using `if/then` as a proper ternary, integer -> string conversions, etc. Also the `sugar` module makes me a happy person.
The day 2 solution in Nim: