Sign in

frectonz

@frectonz.et
105 followers 390 following 86 posts

frectonz.et

PostsRepliesMedia
frectonz @frectonz.et · 31/08/2026
Computing is crazy because we can interview the guy who created the hammer at the same time the industry is trying to build self replicating robots.
>  So you wrote echo?
That was the first C program I ever wrote. 
> o.0 wow
And little did I know that it was going to become a well-known program.
> echo was your program?
First C program. When C was just invented.
> What year was this?
About '72.
100
frectonz @frectonz.et · 31/08/2026
Some pictures from my balcony.
010
frectonz @frectonz.et · 30/08/2026
pub type BoxStr = Box<str>; pub type BoxList<T> = Box<[T]>; Should be your defaults until you need to modify the data.
From the quoted Cloudflare Blog
---
Using Box<[T]> solves both problems. It can’t grow after creation, so it doesn’t need a capacity field or reserve space for future elements. The same applies to String, which also carries a capacity field. Box<str> drops it.

Each cache entry stores 8 Vec and String fields. Replacing them with Box<[T]> and Box<str> saves 8 bytes per field, 64 bytes per entry. It also eliminates the excess heap memory that Vec reserves for future growth. The combined savings add up to over 15 terabytes with over 250 billion cache entries.
010
frectonz @frectonz.et · 29/08/2026
Wow awesome, got reposted
a repost of my last post by evan, creator of acadia and elm
000
frectonz @frectonz.et · 29/08/2026
Spending my Saturday playing around with Acadia. Feels like i'm doing a detox, no syntax highlighting, no LSPs, no LLMs. @acadia.engineering and @terezasokol.bsky.social cooked with this 👏
helix showing a counter implementation in acadia at the top and that same counter implementation being run via `acadia serve` at the bottom
0134
frectonz @frectonz.et · 29/08/2026
lazygit output after accidentally piping a binary to stdout
000
frectonz @frectonz.et · 16/02/2026
100
frectonz @frectonz.et · 12/01/2026
that job satisfaction must have hit hard 😂
020
frectonz @frectonz.et · 06/12/2025
basically just pattern matched my way out of hell
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 &&
120
frectonz @frectonz.et · 12/10/2025
added a talks section to my website
020
frectonz @frectonz.et · 05/10/2025
radicalizing the youth
041
frectonz @frectonz.et · 20/05/2025
crazy that nix has built in support for building idris projects
050
frectonz @frectonz.et · 03/05/2025
Any good social media needs reply guys, glad to be one
A screenshot of @frectonz.et 's cred.blue score. Showing 249 / 1000. Which is described as a "Highly Engaging Explorer Reply Guy". It also shows that the account is 409 days old.
110
frectonz @frectonz.et · 25/11/2024
pglite-fusion now supports all these postgres versions
A code screenshot that shows that pglite-fusion can run with postgres 12, 13, 14, 15, 16 and 17.
010
frectonz @frectonz.et · 21/11/2024
👀
Screenshot of the CEO of Turso Glauber Costa's Bluesky profile that shows that he is following me.
020
frectonz @frectonz.et · 15/11/2024
The same example with parenv
000
frectonz @frectonz.et · 15/11/2024
This is an example of envy usage taken from their readm, you can see that it doesn't handle error reporting for you
envy crate example showing bare bones error reporting
100