Grilled Cheese

ExploreLog inSign up
Terms of UsePrivacy PolicyCommunity StandardsHelpGet the app

Grilled Cheese is a product of Village Compute

Version devBuilt at: 2026-12-03 22:42:33 EST

PhotosVideosAllPeople
LatestRanked
Load more
@oinak.comDec 5, 2026, 11:38 AM

I just completed "Rhythmic Factory" - Day 5 - Advent of Code 2026 #AdventOfCode adventofcode.com/2026/day/5

It is lovely be able to use some OOP on these, and to reuse classes between parts

adventofcode.comDay 5 - Advent of Code 2026
@focotaku.bsky.socialDec 5, 2026, 11:37 AM

Explicación de #AdventOfCode Día 3 youtu.be/1pfguvIDMTw

FFocotaku@focotaku.bsky.socialDec 3, 2026, 12:36 PM

I just completed "Foggy Forest" - Day 3 - Advent of Code 2026 #AdventOfCode adventofcode.com/2026/day/3 -- The animation is a visualization of all the corners of my forests in part 2

youtu.be🎅 AoC 2026 Día 3 Adviento en Swift 💻 Convolución forestalYouTube video by Algoritmos en Swift
@nojufe.deDec 5, 2026, 11:36 AM

I've completed "Rhythmic Factory" - Day 5 - Advent of Code 2026 #AdventOfCode adventofcode.com/2026/day/5

adventofcode.comDay 5 - Advent of Code 2026
@focotaku.bsky.socialDec 5, 2026, 11:32 AM

I just completed "Rhythmic Factory" - Day 5 - Advent of Code 2026 #AdventOfCode adventofcode.com/2026/day/5 -- this vis of part 2 shows the space of numbers from 0 to 9999 that can be created with my fancy microwave. Black positions in the last frame are numbers that can't be created.

@fizbin.bsky.socialDec 5, 2026, 11:26 AM

"Rhythmic Factory" - Day 5 - Advent of Code 2026 #AdventOfCode adventofcode.com/2026/day/5

video solving it in #python: youtu.be/uTbWNe7202A

Mostly just annoying typing up all the cases for parsing.

Code at github.com/fizbin/adven... ; #haskell and #golang solution (not in video) also in there

@facundobatista.bsky.socialDec 5, 2026, 11:26 AM

I just completed "Perilous Pier" - Day 4 - Advent of Code 2026 #AdventOfCode adventofcode.com/2026/day/4

adventofcode.comDay 4 - Advent of Code 2026
@fridis.bsky.socialDec 5, 2026, 11:12 AM

Dec 5 #adventofcode in @fuzionlang.bsky.social:

Emulate microwave buttons to find reachable states.

Main difficulty was the choice of a functional data structure to collect theresults. Fuzion provides an efficient partially sorted set called ps_set for this.

Sources: github.com/fridis/fuzio...

dec05 =>

  input := io.stdin.read_string! .split_if (c -> "[] \n".find c ??) .force

  process(n, button) =>
    if      button.starts_with "*" then n * button.substring 1 .parse_i64!
    else if button.starts_with "/" then n / button.substring 1 .parse_i64!
    else if button.contains "->"   then a := button.substring 0 1
                                        b := button.substring 3 4
                                        ($n).replace a b .parse_i64!
    else if button = "oct"         then n.oct.parse_i64!
    else if button = "bksp"        then n / 10
    else if "0" <= button <= "9"   then 10*n + button.parse_i64!
                                   else panic "unknown button [$button]"

  part1 =>
    (1..3).foldf (container.ps_set i64 .new [0]) found,_->
            found.combine input process
                 .reduce found (f,n -> f.add n)
          .sum

  part2 =>
    (1..).reduce (container.ps_set i64 .new [0]) found,_->
            r := found.combine input process
                      .filter (n -> 0 <= n <= 9999)
                      .reduce found (f,n -> f.add n)
            r = found ? abort r : r
         .sum

  say "$part1:$part2"
@fcatalamoll.bsky.socialDec 5, 2026, 11:12 AM

Advent of Code Day 5 in R 🎄 #AdventOfCode #RStats

Photo, no description
@nikosantoniadis.euDec 5, 2026, 11:00 AM

I just completed "Rhythmic Factory" - Day 5 - Advent of Code 2026 #AdventOfCode adventofcode.com/2026/day/5

adventofcode.comDay 5 - Advent of Code 2026
A@andi.im-in.space.ap.brid.gyDec 5, 2026, 10:57 AM

Today's #AdventOfCode might have been my favourite ever – really happy with my solution. Partial application! TDD! A `while(true)` loop, for some reason!

github.com/semibad/aoc2…

github.comaoc2026/05 at main · semibad/aoc2026Advent of Code 2026! Contribute to semibad/aoc2026 development by creating an account on GitHub.
?Unknown authorDec 5, 2026, 10:52 AM

I just completed "Rhythmic Factory" - Day 5 - Advent of Code 2026 #AdventOfCode adventofcode.com/2026/day/5

adventofcode.comDay 5 - Advent of Code 2026
@devonwhale.bsky.socialDec 5, 2026, 10:35 AM

That's my favourite one of the year so far! I'm a big fan of the "Parse some instructions, then do something with the instructions" genre.

#AdventOfCode

@eirinikak.bsky.socialDec 5, 2026, 10:35 AM

I just completed "Foggy Forest" - Day 3 - Advent of Code 2026 #AdventOfCode adventofcode.com/2026/day/3

adventofcode.comDay 3 - Advent of Code 2026
@jeantessier.comDec 5, 2026, 10:17 AM

I just completed "Rhythmic Factory" - Day 5 - Advent of Code 2026 #AdventOfCode adventofcode.com/2026/day/5

See my #Ruby solution at github.com/jeantessier/...

adventofcode.comDay 5 - Advent of Code 2026
@gereleth.bsky.socialDec 5, 2026, 10:09 AM

I've completed "Rhythmic Factory" - Day 5 - Advent of Code 2026 adventofcode.com/2026/day/5 #AdventOfCode

I learned that python's `functools.partial` is quite handy for turning a button like [*A] into a function. Adding clamping behaviour as a decorator on button fns is nice too.

@timus.bsky.socialDec 5, 2026, 9:49 AM

I just completed "Rhythmic Factory" - Day 5 - Advent of Code 2026 #AdventOfCode adventofcode.com/2026/day/5

adventofcode.comDay 5 - Advent of Code 2026
?Unknown authorDec 5, 2026, 9:39 AM

I just completed "Rhythmic Factory" - Day 5 - Advent of Code 2026 #AdventOfCode adventofcode.com/2026/day/5

adventofcode.comDay 5 - Advent of Code 2026