frectonz's Avatar

frectonz

@frectonz.et

https://frectonz.et

91
Followers
344
Following
78
Posts
20.03.2024
Joined
Posts Following

Latest posts by frectonz @frectonz.et

nope, it's not

18.02.2026 09:12 ๐Ÿ‘ 0 ๐Ÿ” 0 ๐Ÿ’ฌ 0 ๐Ÿ“Œ 0

doing my part to save the world from the RAMpocalypse

18.02.2026 08:55 ๐Ÿ‘ 3 ๐Ÿ” 0 ๐Ÿ’ฌ 1 ๐Ÿ“Œ 0
Preview
Penny - Serverless for your servers A reverse proxy that starts your apps on demand and kills them when idle.

pennyproxy.com

16.02.2026 16:25 ๐Ÿ‘ 0 ๐Ÿ” 0 ๐Ÿ’ฌ 0 ๐Ÿ“Œ 0
Post image
16.02.2026 16:25 ๐Ÿ‘ 0 ๐Ÿ” 0 ๐Ÿ’ฌ 1 ๐Ÿ“Œ 1
Post image

that job satisfaction must have hit hard ๐Ÿ˜‚

12.01.2026 18:23 ๐Ÿ‘ 2 ๐Ÿ” 0 ๐Ÿ’ฌ 0 ๐Ÿ“Œ 0
Advent of Code 2025

I just completed all 12 days of Advent of Code 2025! #AdventOfCode adventofcode.com

Cursor did it not me, also stole a python solution for Day 10 Part 2

12.12.2025 07:13 ๐Ÿ‘ 4 ๐Ÿ” 0 ๐Ÿ’ฌ 0 ๐Ÿ“Œ 0
advent_of_code_2025/day-11 at main ยท frectonz/advent_of_code_2025 Solutions for advent of code 2025. Contribute to frectonz/advent_of_code_2025 development by creating an account on GitHub.

github.com/frectonz/adv...

11.12.2025 21:11 ๐Ÿ‘ 2 ๐Ÿ” 0 ๐Ÿ’ฌ 0 ๐Ÿ“Œ 0
Day 11 - Advent of Code 2025

I've completed "Reactor" - Day 11 - Advent of Code 2025 #AdventOfCode adventofcode.com/2025/day/11

Used @rust-lang.org

Part 1 - Used Petgraph
Part 2 - Used Pathfinding

11.12.2025 21:11 ๐Ÿ‘ 5 ๐Ÿ” 0 ๐Ÿ’ฌ 1 ๐Ÿ“Œ 0
Preview
advent_of_code_2025/day-10/part-1 at main ยท frectonz/advent_of_code_2025 Solutions for advent of code 2025. Contribute to frectonz/advent_of_code_2025 development by creating an account on GitHub.

github.com/frectonz/adv...

10.12.2025 22:04 ๐Ÿ‘ 1 ๐Ÿ” 0 ๐Ÿ’ฌ 0 ๐Ÿ“Œ 0

Couldn't solve Day 10, only did part 1.

Used @rust-lang.org also use nom for the parser

Implementing the parser was the only fun part

10.12.2025 22:04 ๐Ÿ‘ 2 ๐Ÿ” 0 ๐Ÿ’ฌ 1 ๐Ÿ“Œ 0
advent_of_code_2025/day-09 at main ยท frectonz/advent_of_code_2025 Solutions for advent of code 2025. Contribute to frectonz/advent_of_code_2025 development by creating an account on GitHub.

github.com/frectonz/adv...

09.12.2025 09:48 ๐Ÿ‘ 0 ๐Ÿ” 0 ๐Ÿ’ฌ 0 ๐Ÿ“Œ 0
Day 9 - Advent of Code 2025

I've completed "Movie Theater" - Day 9 - Advent of Code 2025 #AdventOfCode adventofcode.com/2025/day/9

Used @rust-lang.org

09.12.2025 09:48 ๐Ÿ‘ 3 ๐Ÿ” 0 ๐Ÿ’ฌ 1 ๐Ÿ“Œ 0
Preview
advent_of_code_2025/day-08 at main ยท frectonz/advent_of_code_2025 Solutions for advent of code 2025. Contribute to frectonz/advent_of_code_2025 development by creating an account on GitHub.

This one broke me, had to port someone else's python code just to get the stars.

github.com/frectonz/adv...

08.12.2025 13:56 ๐Ÿ‘ 2 ๐Ÿ” 0 ๐Ÿ’ฌ 0 ๐Ÿ“Œ 0
Day 8 - Advent of Code 2025

I've completed "Playground" - Day 8 - Advent of Code 2025 #AdventOfCode adventofcode.com/2025/day/8

Used @typescriptlang.org

08.12.2025 13:56 ๐Ÿ‘ 3 ๐Ÿ” 0 ๐Ÿ’ฌ 1 ๐Ÿ“Œ 0
Preview
GitHub - frectonz/advent_of_code_2025: Solutions for advent of code 2025 Solutions for advent of code 2025. Contribute to frectonz/advent_of_code_2025 development by creating an account on GitHub.

github.com/frectonz/adv...

07.12.2025 13:48 ๐Ÿ‘ 1 ๐Ÿ” 0 ๐Ÿ’ฌ 0 ๐Ÿ“Œ 0
Day 7 - Advent of Code 2025

I've completed "Laboratories" - Day 7 - Advent of Code 2025 #AdventOfCode adventofcode.com/2025/day/7

Used Elm

07.12.2025 13:48 ๐Ÿ‘ 3 ๐Ÿ” 0 ๐Ÿ’ฌ 1 ๐Ÿ“Œ 0
Preview
advent_of_code_2025/day-06 at main ยท frectonz/advent_of_code_2025 Solutions for advent of code 2025. Contribute to frectonz/advent_of_code_2025 development by creating an account on GitHub.

github.com/frectonz/adv...

06.12.2025 12:08 ๐Ÿ‘ 1 ๐Ÿ” 0 ๐Ÿ’ฌ 0 ๐Ÿ“Œ 0
screenshot of helix edit with the ayu dark theme showing the text

parseNumberLine :: [Int] -> String -> [[Maybe Int]]
parseNumberLine indexes s = go [] s
  where
    isGroup :: String -> Bool
    isGroup []         = True
    isGroup [' ']      = True
    isGroup (' ' : tl) = (length s - length tl) `elem` indexes
    isGroup _          = False

    go :: [[Maybe Int]] -> String -> [[Maybe Int]]

    go acc (' '  : ' ' : ' ' : d   : tl) | isGroup tl && isAllDigits [d]          = go' ([n  , n  , n  , y d] : acc) tl
    go acc (' '  : ' ' : c   : d   : tl) | isGroup tl && isAllDigits [c, d]       = go' ([n  , n  , y c, y d] : acc) tl
    go acc (' '  : b   : c   : d   : tl) | isGroup tl && isAllDigits [b, c, d]    = go' ([n  , y b, y c, y d] : acc) tl
    go acc (a    : ' ' : ' ' : ' ' : tl) | isGroup tl && isAllDigits [a]          = go' ([y a, n  , n  , n  ] : acc) tl
    go acc (a    : b   : ' ' : ' ' : tl) | isGroup tl && isAllDigits [a, b]       = go' ([y a, y b, n  , n  ] : acc) tl
    go acc (a    : b   : c   : ' ' : tl) | isGroup tl && isAllDigits [a, b, c]    = go' ([y a, y b, y c, n  ] : acc) tl
    go acc (a    : b   : c   : d   : tl) | isGroup tl && isAllDigits [a, b, c, d] = go' ([y a, y b, y c, y d] : acc) tl

    go acc (' '  : ' ' : c   : tl) | isGroup tl && isAllDigits [c]       = go' ([n  , n  , y c] : acc) tl
    go acc (a    : ' ' : ' ' : tl) | isGroup tl && isAllDigits [a]       = go' ([y a, n  , n  ] : acc) tl
    go acc (' '  : b   : c   : tl) | isGroup tl && isAllDigits [b, c]    = go' ([n  , y b, y c] : acc) tl
    go acc (a    : b   : ' ' : tl) | isGroup tl && isAllDigits [a, b]    = go' ([y a, y b, n  ] : acc) tl
    go acc (a    : b   : c   : tl) | isGroup tl && isAllDigits [a, b, c] = go' ([y a, y b, y c] : acc) tl

    go acc (' '  : b   : tl) | isGroup tl && isAllDigits [b]    = go' ([n  , y b] : acc) tl
    go acc (a    : ' ' : tl) | isGroup tl && isAllDigits [a]    = go' ([y a, n  ] : acc) tl
    go acc (a    : b   : tl) | isGroup tl &&

screenshot of helix edit with the ayu dark theme showing the text parseNumberLine :: [Int] -> String -> [[Maybe Int]] parseNumberLine indexes s = go [] s where isGroup :: String -> Bool isGroup [] = True isGroup [' '] = True isGroup (' ' : tl) = (length s - length tl) `elem` indexes isGroup _ = False go :: [[Maybe Int]] -> String -> [[Maybe Int]] go acc (' ' : ' ' : ' ' : d : tl) | isGroup tl && isAllDigits [d] = go' ([n , n , n , y d] : acc) tl go acc (' ' : ' ' : c : d : tl) | isGroup tl && isAllDigits [c, d] = go' ([n , n , y c, y d] : acc) tl go acc (' ' : b : c : d : tl) | isGroup tl && isAllDigits [b, c, d] = go' ([n , y b, y c, y d] : acc) tl go acc (a : ' ' : ' ' : ' ' : tl) | isGroup tl && isAllDigits [a] = go' ([y a, n , n , n ] : acc) tl go acc (a : b : ' ' : ' ' : tl) | isGroup tl && isAllDigits [a, b] = go' ([y a, y b, n , n ] : acc) tl go acc (a : b : c : ' ' : tl) | isGroup tl && isAllDigits [a, b, c] = go' ([y a, y b, y c, n ] : acc) tl go acc (a : b : c : d : tl) | isGroup tl && isAllDigits [a, b, c, d] = go' ([y a, y b, y c, y d] : acc) tl go acc (' ' : ' ' : c : tl) | isGroup tl && isAllDigits [c] = go' ([n , n , y c] : acc) tl go acc (a : ' ' : ' ' : tl) | isGroup tl && isAllDigits [a] = go' ([y a, n , n ] : acc) tl go acc (' ' : b : c : tl) | isGroup tl && isAllDigits [b, c] = go' ([n , y b, y c] : acc) tl go acc (a : b : ' ' : tl) | isGroup tl && isAllDigits [a, b] = go' ([y a, y b, n ] : acc) tl go acc (a : b : c : tl) | isGroup tl && isAllDigits [a, b, c] = go' ([y a, y b, y c] : acc) tl go acc (' ' : b : tl) | isGroup tl && isAllDigits [b] = go' ([n , y b] : acc) tl go acc (a : ' ' : tl) | isGroup tl && isAllDigits [a] = go' ([y a, n ] : acc) tl go acc (a : b : tl) | isGroup tl &&

basically just pattern matched my way out of hell

06.12.2025 12:08 ๐Ÿ‘ 2 ๐Ÿ” 0 ๐Ÿ’ฌ 1 ๐Ÿ“Œ 0
Day 6 - Advent of Code 2025

I've completed "Trash Compactor" - Day 6 - Advent of Code 2025 #AdventOfCode adventofcode.com/2025/day/6

Used @haskell.org

06.12.2025 12:08 ๐Ÿ‘ 4 ๐Ÿ” 0 ๐Ÿ’ฌ 1 ๐Ÿ“Œ 0
Preview
advent_of_code_2025/day-05 at main ยท frectonz/advent_of_code_2025 Solutions for advent of code 2025. Contribute to frectonz/advent_of_code_2025 development by creating an account on GitHub.

github.com/frectonz/adv...

05.12.2025 08:26 ๐Ÿ‘ 0 ๐Ÿ” 0 ๐Ÿ’ฌ 0 ๐Ÿ“Œ 0
Day 5 - Advent of Code 2025

I've completed "Cafeteria" - Day 5 - Advent of Code 2025 #AdventOfCode adventofcode.com/2025/day/5

Used @ocaml.org

05.12.2025 08:26 ๐Ÿ‘ 5 ๐Ÿ” 1 ๐Ÿ’ฌ 1 ๐Ÿ“Œ 0
Preview
advent_of_code_2025/day-04 at main ยท frectonz/advent_of_code_2025 Solutions for advent of code 2025. Contribute to frectonz/advent_of_code_2025 development by creating an account on GitHub.

github.com/frectonz/adv...

04.12.2025 07:44 ๐Ÿ‘ 0 ๐Ÿ” 0 ๐Ÿ’ฌ 0 ๐Ÿ“Œ 0
Day 4 - Advent of Code 2025

I've completed "Printing Department" - Day 4 - Advent of Code 2025 #AdventOfCode adventofcode.com/2025/day/4

Used @rust-lang.org

04.12.2025 07:44 ๐Ÿ‘ 4 ๐Ÿ” 0 ๐Ÿ’ฌ 1 ๐Ÿ“Œ 0

awesome

03.12.2025 20:46 ๐Ÿ‘ 1 ๐Ÿ” 0 ๐Ÿ’ฌ 0 ๐Ÿ“Œ 0

custom sprite animations for when they get thrown ๐Ÿ‘€

03.12.2025 14:47 ๐Ÿ‘ 2 ๐Ÿ” 0 ๐Ÿ’ฌ 1 ๐Ÿ“Œ 0
advent_of_code_2025/day-03 at main ยท frectonz/advent_of_code_2025 Solutions for advent of code 2025. Contribute to frectonz/advent_of_code_2025 development by creating an account on GitHub.

github.com/frectonz/adv...

03.12.2025 13:24 ๐Ÿ‘ 0 ๐Ÿ” 0 ๐Ÿ’ฌ 0 ๐Ÿ“Œ 0
Day 3 - Advent of Code 2025

I've completed "Lobby" - Day 3 - Advent of Code 2025 #AdventOfCode adventofcode.com/2025/day/3

Used Idris

03.12.2025 13:24 ๐Ÿ‘ 2 ๐Ÿ” 0 ๐Ÿ’ฌ 1 ๐Ÿ“Œ 0
Preview
advent_of_code_2025/day-02 at main ยท frectonz/advent_of_code_2025 Solutions for advent of code 2025. Contribute to frectonz/advent_of_code_2025 development by creating an account on GitHub.

github.com/frectonz/adv...

02.12.2025 07:35 ๐Ÿ‘ 0 ๐Ÿ” 0 ๐Ÿ’ฌ 0 ๐Ÿ“Œ 0
Day 2 - Advent of Code 2025

I've completed "Gift Shop" - Day 2 - Advent of Code 2025 #AdventOfCode adventofcode.com/2025/day/2

Used @gleam.run

02.12.2025 07:35 ๐Ÿ‘ 2 ๐Ÿ” 0 ๐Ÿ’ฌ 1 ๐Ÿ“Œ 0
advent_of_code_2025/day-01 at main ยท frectonz/advent_of_code_2025 Solutions for advent of code 2025. Contribute to frectonz/advent_of_code_2025 development by creating an account on GitHub.

github.com/frectonz/adv...

01.12.2025 07:33 ๐Ÿ‘ 0 ๐Ÿ” 0 ๐Ÿ’ฌ 0 ๐Ÿ“Œ 0