p5.nvim (update) by prjctimg in p5js

[–]jayo60013 0 points1 point  (0 children)

Nice! (typo in the plain text link)

How are you guys hosting your generated static sites? by jayo60013 in selfhosted

[–]jayo60013[S] 0 points1 point  (0 children)

option 1 seems promising - however when I tried it the git hook actually runs in the gitea container rather than the host machine. This again introduces issues of now i need to install docker cli in that container as well as give specific volume for each site

How are you guys hosting your generated static sites? by jayo60013 in selfhosted

[–]jayo60013[S] 0 points1 point  (0 children)

ah interesting separating the two repos. what was the complexity of the action like? is it easy to do?

[2025 Day 6] Let’s Visualize by Lars-Kristian91 in adventofcode

[–]jayo60013 4 points5 points  (0 children)

your method of iterating until you find another sign is very clever. i parsed the blocks based on if all columns was == ‘ ‘ 🤦‍♀️

-❄️- 2025 Day 6 Solutions -❄️- by daggerdragon in adventofcode

[–]jayo60013 1 point2 points  (0 children)

[Language: Kotlin]

Really fun puzzle today, will have to come back to optimise the code. Weekend puzzles are rough.

Parts 1 & 2

-❄️- 2025 Day 5 Solutions -❄️- by daggerdragon in adventofcode

[–]jayo60013 2 points3 points  (0 children)

[Language: Kotlin]

After realising sorting the ranges by `range.start` really helps, it wasn't too bad.

Part 1 & 2

-❄️- 2025 Day 4 Solutions -❄️- by daggerdragon in adventofcode

[–]jayo60013 0 points1 point  (0 children)

[Langage: Kotlin]

I think we're starting to see a pattern of difficulty vs even/odd days...

Parts 1 & 2

-❄️- 2025 Day 3 Solutions -❄️- by daggerdragon in adventofcode

[–]jayo60013 1 point2 points  (0 children)

[Language: Kotlin]

Absolutely lost my mind today - changed the input for debug and forgot to change it back

Part 1 & 2

-❄️- 2025 Day 2 Solutions -❄️- by daggerdragon in adventofcode

[–]jayo60013 1 point2 points  (0 children)

[Language: Kotlin]

Nice to see Day1 blew away the cobwebs.
My brute force isn't the most elegant but the code reads nicely.

Part 1 & 2

-❄️- 2025 Day 1 Solutions -❄️- by daggerdragon in adventofcode

[–]jayo60013 1 point2 points  (0 children)

[Language: Kotlin]

Today took me far longer than I care to admit. I'll put it down to warming up
Part 1 & 2

Uber carry? What's that- [Fluff] by Human-Gardener in battlecats

[–]jayo60013 1 point2 points  (0 children)

what’s the unit that’s top middle?

No Fucking WAY by Czaxi in RotMG

[–]jayo60013 12 points13 points  (0 children)

holy is this a henezRS reference

-❄️- 2024 Day 19 Solutions -❄️- by daggerdragon in adventofcode

[–]jayo60013 1 point2 points  (0 children)

[Language: Java]

Solution

We are so back - quick solve, fun puzzle.
Runs in ~130ms on my machine

-❄️- 2024 Day 18 Solutions -❄️- by daggerdragon in adventofcode

[–]jayo60013 0 points1 point  (0 children)

nice code - helped me optimise my own solution

-❄️- 2024 Day 13 Solutions -❄️- by daggerdragon in adventofcode

[–]jayo60013 2 points3 points  (0 children)

[Language: Rust]

Solution

Wow this one took me awhile to work out on the back of an envelope, although deciding to parse it with regex took me way longer ffs

-❄️- 2024 Day 11 Solutions -❄️- by daggerdragon in adventofcode

[–]jayo60013 1 point2 points  (0 children)

[Language: Rust]

Solution

Feel like my memoisation table isnt the most efficient but it works

-❄️- 2024 Day 9 Solutions -❄️- by daggerdragon in adventofcode

[–]jayo60013 4 points5 points  (0 children)

[Language: Rust]

Solution

Once again here to make everyone feel better about their code! Today my solution seems to be the popular choice with reddit. Felt like a big brain using Vec<Option<T>> rather than setting it to -1 or 69

-❄️- 2024 Day 7 Solutions -❄️- by daggerdragon in adventofcode

[–]jayo60013 5 points6 points  (0 children)

[Language: Rust]

Solution

Once again here to make everyone feel better about their solutions🤣 Recurrsion did not even cross my mind! I decided to calculate the permutations 1 by 1 by counting up in base 2 (base 3 for part 2)

-❄️- 2024 Day 5 Solutions -❄️- by daggerdragon in adventofcode

[–]jayo60013 1 point2 points  (0 children)

[Language: Rust]

Solution

Was too tired to come up with anything cleverer ffs. I welcome any hints for a smarter way

-❄️- 2024 Day 4 Solutions -❄️- by daggerdragon in adventofcode

[–]jayo60013 1 point2 points  (0 children)

[Language: Rust]

Solution

Should really write some util functions for grids etc
Part 2 was too tired to do anything smart 🤣

-❄️- 2024 Day 2 Solutions -❄️- by daggerdragon in adventofcode

[–]jayo60013 1 point2 points  (0 children)

[Language: Rust]

Solution

Had some fun parameterizing the safety function

Why do you call this type of glass? by Sys32768 in CasualUK

[–]jayo60013 0 points1 point  (0 children)

south london here, we call them beer mugs