Tootfinder

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

@aral@mastodon.ar.al
2025-12-12 10:22:14

Just shared my WezTerm¹ configuration. It’s not very long and mostly just adds a few keyboard shortcuts that I find more ergonomically-pleasing, specifies light/dark themes and improves colour scheme consistency and also, if you use Helix Editor², automatically implements light/dark mode theme changes for it in line with the rest of the terminal.

@grahamperrin@bsd.cafe
2025-12-14 03:46:57

Given <github.com/freebsd/freebsd-src> (2025-07-25), should <

@luana@wetdry.world
2025-10-14 10:24:55

Oh no the YouTube bullshit of substituting perfectly fine real videos (shorts) with very obvious AI without the creators consent just reached my timeline :blobcatgooglyholdingitsheadinitshands: :neocat_scream_angry:

@michabbb@social.vivaldi.net
2025-12-13 23:46:58

📥 Powerful import system directly in prompts: @./src/api.ts for single files, @./src/**/*.ts for glob patterns, @./file.ts:10-50 for line ranges, @./types.ts#UserInterface for TypeScript symbol extraction, @https://url for remote content
🎯 Template variables for dynamic prompts: {{ _stdin }} captures piped input, {{ _1 }} {{ _2 }} for positional arguments, {{ _args }} for numbered list of all args, custom variables like {{ _feature_name }} with CLI overrides --_feature_name "value…

@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:

@grahamperrin@bsd.cafe
2025-12-14 04:08:28

bsdinstall: Mount /dev and /packages after using the shell to partition disks
<github.com/freebsd/freebsd-src> was a few days after FreeBSD 15.0-RELEASE. For <

@dnddeutsch@pnpde.social
2025-10-12 07:12:57

@… vielleicht hilft codeberg.org/nesges/dnd-charac dabei 😎

@adlerweb@social.adlerweb.info
2025-12-11 15:10:20

Bekomm ich das bitte mit AT/DIN und DB25?
(src: qwertee.com/shop/tees/i-m-this)

Mann mit T-Shirt Links PS/2-Anschluss in Lila mit Tastatursymbol, rechts in grün mit Maus-Symbol. Drunter: "I'M THIS OLD"
@shriramk@mastodon.social
2025-11-04 16:09:43

Have expertise with functional programming, interpreters, and Web technology? Like Rust, wasm, etc.? Looking for a job with a great team? Please see this job ad, and share with others you might know!
zoo.dev/jobs/4619187005?gh_src

This Fediverse Enhancement Proposal describes a way to attach a chat room to ActivityPub actors and objects.
The chat room itself can be a web page, a XMPP room,
a Matrix room,
an IRC channel, ...
The chat itself does not necessarily publish messages using ActivityPub.

@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…

@chrysn@chaos.social
2025-12-12 00:58:22

We're gathering momentum for slipmux, a transport of #CoAP over serial ports. That specification allows #embedded developers on simple boards that just have a UART to use the same tools with it as for talking to devices across the Internet. This includes security: I guess I just sent the first encrypted…

Two overlaid terminal sessions:

$ aiocoap-client coap://ttyacm0.dev.alt/.well-known/core --credentials client.diag
# application/link-format content was re-formatted
<>; ct=0; title="Landing page",
</time>; ct=0; title=Clock,
</poem>; sz=1338,
</cbor>; ct=60,
</stdout>; if="tag:riot-os.org,2021:ser-out"
$

followed by a debug log that shows:

[DEBUG] Peer indicated use of the one preconfigured key by KID. (coapcore coapcore/src/seccfg.rs:382)
[DEBUG] Processing 19 bytes at start of message int…
@GroupNebula563@mastodon.social
2025-09-26 03:49:32

gaze upon my "code"
the era of the mobile web is upon us
#fediverse

@azonenberg@ioc.exchange
2025-11-30 14:41:47

STM32MP2 update: I have the MMU up and running on both cores (no caching yet) with a two-level page table.
I'm pretty happy with how my template class for aarch64 page tables turned out.
github.com/azonenberg/stm32m…

@whitequark@mastodon.social
2025-12-09 03:56:51

huh, the cloud really did eat everything
[src: escholarship.org/uc/item/32d6m]

@stefan@gardenstate.social
2025-11-04 05:03:21

simple but fun.
canon in D but it keeps getting jazzier
#music

@beeb@hachyderm.io
2025-12-14 11:21:25
Content warning: Advent of Code 2025 Day 12

For the last day of #AdventOfCode, I took a very simple and naive approach of: depth-first search.
Basically try all combinations until one fits. The trick to avoid a VERY long runtime is to filter out all cases where we already know from the start that the pieces (gifts) won't fit in the region, because their summed area exceeds the area of the region. Went for recursion this time around, because why not.
#AoC #AoC205 #AdventOfCode2025 #RustLang #rust

@eana@s.1a23.studio
2025-11-24 23:43:21

Microsoft: “Managers are lame, we need emperors.”

github.com/microsoft/terminal/blob/main/src/cascadia/WindowsTerminal/WindowEmperor.h

Screenshot of file “src/cascadia/WindowsTerminal/WindowEmperor.h” in microsoft/terminal repository on GitHub.
@luana@wetdry.world
2025-12-12 04:02:41

YEEEEESSSSS EXPEDITION 33 :ablobcatbongo:
#TGA #TheGameAwards #GameOfTheYear

@cyrevolt@mastodon.social
2025-09-15 16:13:12

github.com/rust-lang/libc/blob
oh no :3

@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-10-18 19:11:44

I've "vibe-coded" a new #Gleam-based component in my #OpenTelemetry demo.

@beeb@hachyderm.io
2025-12-13 19:51:54
Content warning: Advent of Code Day 11

Day 11 of #AdventOfCode is a classical graph problem like we're used to from previous years.
Unlike previously, I immediately thought of checking what the graph looked like with a visualization tool. Luckily, `petgraph` allows to export a graphviz file which can be then used to visualize the nodes and edges.
From that, it was clear that a few nodes were acting as "bridges" between largers subnets of nodes with no particular arrangement besides being directed towards the next "bridge" layer. Those bridge layers comprised 4 to 5 nodes in my input, and were the only ones with more than 6 incoming edges, so I used that as my filter criterion.
To gather them, I sorted the graph in topological order and chunked them by their position offset compared to the previous node. When doing this, all the nodes from a bridge layer end up being at most 20 positions away from the previous node in the sorted list.
Finally, I progressed through each subnet, collecting information about how many paths lead to each one of the end layer's nodes. By multiplying with all the paths leading to each start layer's node, we get the overall total number of paths.
#AoC #AoC2025 #AdventOfCode2025 #RustLang #rust

@thesaigoneer@social.linux.pizza
2025-09-16 10:10:48

Yup, there we have it! My write up on how to setup Hyprland on FreeBSD. All files available on Codeberg, have a go at it. Happy geeking!
codeberg.org/thesaigoneer/free

@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

@saraislet@infosec.exchange
2025-11-30 05:00:31

I'm committing bash crimes again

Screenshot of terminal response to "cat girl" with purple bash prompt:
saraislet@saraivory-prime: ~/Documents/src $ ll girl
ls: girl: No such file or directory
$ cat girl
meow
$ echo "hello" > girl
$ cat girl
hello
@luana@wetdry.world
2025-10-11 00:33:26
Content warning: Expedition 33 Ending Spoilers

Aaaaa why doesn’t a game this good have a happy ending ;-;
I’m a romantic lil girl I like happy endings :ablobcatcry:

@underdarkGIS@fosstodon.org
2025-11-26 15:55:00

@… following up on our chat at #SDSL2025, I finally found some time to see how a #QGIS Processing Algorithm Provider plugin can be unit tested. Here's what I've …

@gedankenstuecke@scholar.social
2025-10-31 23:28:33

En el pasado vivía en Offenbach, una ciudad alemana que prospera gracias a sus inmigrantes. Me encanta que todavía son muy fuerza contra la derecha :Antifa:
dw.com/es/cuán-seguras-es

@jevinskie@mastodon.social
2025-10-19 04:34:03

"Data is code!!!" I chant as I give wedgies to people who don’t think this is a work of art compared to JSON. :P
github.com/jevinskie/clang-unf

@joe@toot.works
2025-10-30 17:48:39

Jebus! :ablobflushed: #Affinity

@arXiv_csCV_bot@mastoxiv.page
2025-09-18 10:23:11

Towards Rationale-Answer Alignment of LVLMs via Self-Rationale Calibration
Yuanchen Wu, Ke Yan, Shouhong Ding, Ziyin Zhou, Xiaoqiang Li
arxiv.org/abs/2509.13919

@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…

@grahamperrin@bsd.cafe
2025-12-09 02:18:23

If this file exists, please do NOT follow the widespread advice to overwrite it:
/usr/local/etc/pkg/repos/FreeBSD.conf
Bug reports for the src and doc trees, and the wiki:
― <bugs.freebsd.org/bugzilla/show>
― <

@luana@wetdry.world
2025-11-10 00:32:57

I don’t suppose there are any Wii Fit U mods that bring back the missing minigames from Wii Fit Plus right?
I guess they chose only the ones they thought were the best ones to bring back which is fair enough I guess, but some of the ones I like are missing :blobcatverysad:
I’d be very cool if they kept everything from Wii Fit Plus, PLUS the new ones in U
(don’t really wanna get plus on wii mode bc then it’ll be two separate games and leaderboards and stuff, and then I probably won’t want to switch between both modes during a playtime and also I’d probably forget to switch for minigames that are available in both places)
#WiiU

@philip@mastodon.mallegolhansen.com
2025-10-24 16:45:01

@… Great write up, glad you got it working!
Just one note, you *should* be able to specify which mode version you want through the extended configuration of that “feature”:

@toothFAIRy@scholar.social
2025-09-20 19:03:47

Contemplating what I'm doing with my life instead of not joining #OSFair2025 and #RSEcon2025..
At least #OSFair2025 is recorded but this week has been mega hectic and I can't even get to that :BlobCatGooglyShrug:
I'm hoping to land in more quiet times and do some more tooting soon!

@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: <…

@tempus_fuckit@toot.cat
2025-11-23 23:32:32

Frage an die #Musiksammler -Bubble: gibt es sowas wie #Discogs, aber EU-Lokal? Darf gerne auch ein paar Euro im Abo kosten, solange es keinen #Überwachungskapitalismus finanziert :blobcatblush:

@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:

@arXiv_astrophEP_bot@mastoxiv.page
2025-09-17 10:00:20

Deimos photometric properties: analysis of 20 years of observations (2004-2024) by the Mars Express HRSC camera
A. Wargnier, P. N. Simon, S. Fornasier, N. El-Bez-Sebastien, D. Tirsch, K. -D. Matz, T. Gautier, A. Doressoundiram, M. A. Barucci
arxiv.org/abs/2509.12804

@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:

@tmv@tilde.zone
2025-11-27 04:55:44

Test :trans: @…

@SilviaMarton@tooting.ch
2025-11-08 21:20:01

Im November werden aussergewöhnlich viele Schenkungen stattfinden. Oder sie fanden schon im Oktober oder September statt. Auf jeden Fall fanden oder finden sie vor dem 30. November statt.
Panik trotz 'wird ja eh nichts angenommen'.
:eyeroll:

@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-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:

@ruth_mottram@fediscience.org
2025-10-31 06:41:58

I normally try to avoid american politics like the plague. There's nothing I can do about it.
But this piece. Wow.
These guys have a lot in common with Iran's clerics.
I'm starting to feel we have to pay some attention in Europe. Because they're coming for us next. ...
#Journalism #Nonprofit #News #Media #NorthCarolina #Law #USPolitics

@joe@toot.works
2025-09-18 07:56:41

I woke up at 2am (I'm having trouble sleeping), saw that production was down, saw that I can't fix it myself, and sent an email looking for a fix. Do I leave it down and go back to sleep? :ablobflushed:

@gedankenstuecke@scholar.social
2025-11-15 23:22:25

«The fundamental problem is this: that most of the means of communication are owned or influenced by the very rich. If democracy is the problem capital is always trying to solve, propaganda is part of the solution.»
On the epistemic crisis we're all in, thanks to most ways of knowing and disseminating knowledge being in the hands of a couple of billionaires. :guillotine:
theguardian.com/commentisfree/

@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

@buercher@tooting.ch
2025-12-04 17:31:25

Dans un arrêt rendu le 19 novembre, le TAF vient d’en faire la démonstration en prenant position sur un recours contre la loi fédérale sur le renseignement (LRens), qui autorise de facto le SRC Š espionner massivement les Suisses, sans limite ni contrôle. Afin de respecter les droits fondamentaux ainsi bafoués, le parlement fédéral est invité, dans un délai de cinq ans, Š réviser sa copie, approuvée Š 65,5% par la population lors d’un référendum en 2017.
letemps.ch/suisse/autorisant-l

@luana@wetdry.world
2025-10-01 14:56:59

Spooky season!! :blobcatwitch:

@beeb@hachyderm.io
2025-12-10 17:37:59
Content warning: Advent of Code 2025 Day 10

Yes! Today's puzzle in #AdventOfCode was quite hard (especially part 2) but so rewarding and I learned a lot!
For part 1, I implemented A* from scratch, my favorite little pathfinding algo that I use pretty much every year for #AoC (sometimes I use a lib instead of implementing it but it's been a while so a refresher was in order).
For part 2, after trying A* again and noticing it was running for way too long, I went back to the drawing board and solved the first machine by hand. I noticed the constraints were a system of linear equations.
I then researched algorithms to solve such integer programming problems and didn't feel like learning AND implementing the algorithms in one day (ain't nobody got time fo that). But this lead me to discover the `good_lp` #rust crate which is really good and that I will keep in my back pocket from now on!
So I used the library to define a system of variables and constraints which could be solved magically for me.
#AoC2025 #AdventOfCode2025 #RustLang

@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:

@grahamperrin@bsd.cafe
2025-10-16 23:25:31

Another regression discovered after watching a GaryHTech video …
mastodon.bsd.cafe/@garyhtech/1
I can't see a match in Bugzilla or src, <

@tomkalei@machteburch.social
2025-12-04 09:10:01

#WissPodWeihnacht bringt 24 Folgen mit max 24 Minuten, also höchstens 576 Minuten. Eine @… hat normalerweise ca. 200-300 Min und nächsten Montag kommt wohl schon wieder eine neue (besondere!).
Es staut sich in der #Overcast-Queue... ich muss irgendwo mehr Hörzeit mobilisieren. :blobcatthinkingglare:

@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-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:

@beeb@hachyderm.io
2025-12-09 20:04:21
Content warning: Advent of Code 2025 Day 9

A nice bump in difficulty for today's #AdventOfCode problem!
Although the first part came to me very easily, I spent way too much time trying to implement a flooding algorithm for part 2, only to find out that it would take too much time and there should be a better way.
The worst part is that I had the intuition for my final solution super early on, but couldn't materialize it in a simple way until tonight.
I also must admit I realized quite late that the points were sorted in the input :D I should RTFM better sometimes.
My final #rust solution runs very quickly and is reasonably clean.
#AoC #AoC2025 #AdventOfCode2025 #RustLang

@grahamperrin@bsd.cafe
2025-10-23 20:23:17

@…
Operation not permitted probably because the ESP-related mount was unnecessary (it already existed).
Check the default /etc/fstab
This 2021 commit might be the milestone first of a series of commits that simplified things:

@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:

@luana@wetdry.world
2025-11-22 21:21:25
Content warning: Silo spoilers

Oh, why’re elevators illegal? :blobcatthink:

@beeb@hachyderm.io
2025-12-08 15:41:16
Content warning: Advent of Code 2025 Day 8

A cool graph problem today in #AdventOfCode
Nothing special here, I leveraged the `petgraph` #rust crate which I love! Calculating all pairs' distances (squared) and joining the pairs that are closest with an edge.
Only thing I wish I had more time to implement would be the graph traversal algo during sub-net aggregation, but swamped with work at the moment.
#AoC #AoC2025 #AdventOfCode2025 #RustLang

@grahamperrin@bsd.cafe
2025-09-20 19:00:16

@… @… I'm slightly confused.
01777 at both of the following:
<

@cfo@tooting.ch
2025-11-18 11:15:01

Durant une période, je récupérais tout ce que je pouvais.
Une tour comme serveur de fichier, une comme serveur web, même un serveur mail (ah la config de Sendmail :blobpats: ) et un dns. Et des nuits Š tenter de compiler un noyau.
Enfin, je ne sais pas pourquoi je raconte ça.
Bonne journée 👋

@luana@wetdry.world
2025-11-17 16:44:52

Musl support finally merged in upstream Systemd!! :ablobcatattentionreverse:

@beeb@hachyderm.io
2025-12-07 10:33:10
Content warning: Advent of Code 2025 Day 7

Today's puzzle in #AdventOfCode was another grid puzzle, where I again represented the entities as a sparse set.
Part 1 was relatively straightforward, a simplified BFS-like process allowed to construct the beams going through the system.
For part 2, additionally to gathering where a beam was present, I added metadata about how many paths were going through each position, adding them up and splitting them as required. Summing the paths for the last row gave the required result.
#AoC #AoC2025 #AdventOfCode2025 #RustLang #rust

@tomkalei@machteburch.social
2025-11-24 20:47:12

Drückt auf den Hashtag #WissPodWeihnacht und freut euch vor :blobcataww: podcasts.social/@Eigenraum/115

@SilviaMarton@tooting.ch
2025-09-24 06:57:04

Wisst ihr noch, Sisypho? Ich hab es heute wiedergesehen.
:blobhearteyesa:

@beeb@hachyderm.io
2025-12-06 10:08:23
Content warning: Advent of Code 2025 Day 6

Today's #AdventOfCode problem was more about parsing than about complex logic, but it was fun!
I opted to keep the parsing with winnow simple and do most of it by hand from the raw characters, to exercise my #rust iterators a bit.
#AoC #AoC2025 #AdventOfCode2025 #RustLang

@beeb@hachyderm.io
2025-12-05 15:42:57
Content warning: Advent of Code 2025 Day 5

Another easy challenge in today's #AdventOfCode puzzle.
Part 1 is straightforward, and for part 2, the trick was to sort the list of ID ranges first, which made the merging pretty easy.
#AoC #AoC2025 #AdventOfCode2025 #rust #RustLang

@cfo@tooting.ch
2025-11-18 11:10:41

Il aura fallu attendre 1997 pour que je remette les mains dans l'informatique.
Evidemment windows, je me suis très vite senti conçé et je suis tombé sur une revue qui parlait de Linux, avec un CD debian.
Depuis, je n'ai pas lâcher et toujours du plaisir Š bricoler. :blobhappy:

@tomkalei@machteburch.social
2025-11-22 20:41:21

Gerade wollte ich eigentlich elearning.ovgu.de ansteuern, aber die Browservervollständigung schickt mich auf learnyouahaskell.com/ und ich muss feststellen, dass dieses schöne E-Book mit dem ich einige Zeit verbracht habe nun ein bisl kaputt ist. :blobcatdroolreach:

@beeb@hachyderm.io
2025-12-04 07:25:52
Content warning: Advent of Code 2025 Day 4

Didn't feel like thinking too much for today's problem of #AdventOfCode, so my solution is quite naive and runs in a few tens of milliseconds for part 2 (thanks, #RustLang!).
I went for a HashSet for the grid just because it made looking up neighbours simpler at the edges, probably also not the most performant solution, but gets better as the grid becomes sparser.
#AoC #AoC2025 #AdventOfCode2025 #rust

@cfo@tooting.ch
2025-11-18 11:07:11

Mon premier ordinateur : fr.wikipedia.org/wiki/TRS-80
Je me souviens qu'on me l'avais donné. J'avais cherché Š comprendre qu'est-ce que je pourrais faire avec ce truc et comment. Puis un jour, plus rien ne fonctionnait. Jamais compris pourquoi jusqu'Š aujourd'hui, grâce Š cette page wikipedia.
"La plupart de ces systèmes n'étaient pas compatibles avec le passage de l'an 1988."
J'ai été victime du bug de l'an 1988 :blobscream:

@SilviaMarton@tooting.ch
2025-10-17 19:34:27

Danach dann wieder in den VIP-Bereich. Ein paar weitere Häppchen. Und statt Prosecco gab es anständigen Champagner. Aber nicht irgendeinen. Pavel Kasik, der Besitzer des Tatra 80 hat nämlich eine Magnumflasche mitgebracht, die er am Concours d'Elegance am Château Chantilly für seinen Sieg in der Kategorie beste Restaurierung bekommen hat, und die wollte er unbedingt mit uns teilen.
:blobaww:

@beeb@hachyderm.io
2025-12-03 06:53:11
Content warning: Advent of Code 2025 Day 3

Super happy with my solution for today's #AdventOfCode problem!
It initially took me a little bit of time to find a suitable strategy, but it all clicked when I noticed that the left-most selected digit had the most significance in the final value. Thus, I maximized the value of that left-most digit, leaving enough digits on the right side to be able to pick the required total number of batteries in the bank.
The solution is relatively short and sweet:
#AdventOfCode2025 #AoC #AoC2025 #RustLang #rust

@beeb@hachyderm.io
2025-12-02 10:28:58
Content warning: Advent of Code 2025 Day 2

Today's #AdventOfCode problem was fun! I kept a different implementation for part 1 vs part 2 as they both run relatively fast.
For part 1, I iterated over all IDs (the ranges are quite small) and split them in half mathematically (no string representation) to compare both halves.
For part 2, I instead generated all interestings IDs (mathematically again) up to a length of 10 digits (the max in my input) and checked if any of the ranges contained them.
#AoC #AoC2025 #AdventOfCode2025 #RustLang #rust