User avatar
privTri Volpeon areonNSmol @volpeon@icy.wyvern.rip
Admin
Wyvern-shaped software developer and hobby vector artist. Also sometimes a fluffy werewolf alien creature (Areon).

Creator of the neofoxes, neocats and other emojis.
wvrnBox
Website
https://volpeon.ink/
Speaking German, English
Age 30s
Pronouns he / him
Backup Account @volpeon@goto.wyvern.rip
Bonus Content @areon@icy.wyvern.rip
User avatar
privTri Volpeon areonNSmol @volpeon@icy.wyvern.rip
1mo
Something is weird about my Firefox today, you guys got any idea? areonNThink
User avatar
privTri Volpeon areonNSmol @volpeon@icy.wyvern.rip
1mo
Fully type-safe image transformation plugin, even if you supply your custom functions
User avatar
privTri Volpeon areonNSmol @volpeon@icy.wyvern.rip
1mo
They completely eliminated temporary arrays except for steps that require a view of the full pages collection
User avatar
privTri Volpeon areonNSmol @volpeon@icy.wyvern.rip
1mo
I rewrote the Pipeline class for my SSG to be based on generator functions. I never had a use-case for generator functions, but I love them now
User avatar
privTri Volpeon areonNSmol @volpeon@icy.wyvern.rip
1mo
@cutemuzzle @nytpu @Lingondraken It sucks when I check fedi every once in a while because it immediately renews the ghost image of Firefox areonNScream
User avatar
privTri Volpeon areonNSmol @volpeon@icy.wyvern.rip
1mo
neofox_googly_shocked
User avatar
privTri Volpeon areonNSmol @volpeon@icy.wyvern.rip
1mo
I switched back from Firefox to the terminal and I can still see all of the favicons from the tabs on the left side neofox_googly_woozy
User avatar
privTri Volpeon areonNSmol @volpeon@icy.wyvern.rip
1mo
The burn-in along the edges on my old IPS display during hot temperatures is crazy.
User avatar
privTri Volpeon areonNSmol @volpeon@icy.wyvern.rip
1mo
TypeScript's type system is incredibly expressive in some ways, but also mindboggingly stupid in others so I'm forced to use type casts
User avatar
privTri Volpeon areonNSmol @volpeon@icy.wyvern.rip
1mo
@tajoma @aearo neofox_surprised
User avatar
privTri Volpeon areonNSmol @volpeon@icy.wyvern.rip
1mo
I keep hearing them fly around aaaaaaaa
User avatar
privTri Volpeon areonNSmol @volpeon@icy.wyvern.rip
1mo
I heard a massive bug land in the shelf behind me neofox_googly_shocked
User avatar
privTri Volpeon areonNSmol @volpeon@icy.wyvern.rip
1mo
well, I could do this if I made connect an independent function taking both pipelines. But I'm not really into the Lisp aesthetic (connect(connect(connect(p1), p2, p3)) woozy_baa
User avatar
privTri Volpeon areonNSmol @volpeon@icy.wyvern.rip
1mo
Thing is, a later pipeline step accepting string | number can handle an output of just number. But I can't tell Typescript "this type can be anything as long as it also accepts number" in a way that generates a type error for the function argument of connect.
User avatar
privTri Volpeon areonNSmol @volpeon@icy.wyvern.rip
1mo
Getting the type programming right fried my brain in addition to the heat. neofox_googly_woozy

Most of it works with regular type errors, except for this one case. Would be nice if there was an inverse to
extends. Oh well, at least I made the message helpful
User avatar
privTri Volpeon areonNSmol @volpeon@icy.wyvern.rip
1mo
If you're wondering how this leads to Markdown files being turned into HTML with templates, the process is comprised of these steps:

Page<".md", string, {}> -> Page<".md", string, frontmatter data> -> Page<".html", string, frontmatter data>

Anything that becomes
Page<".html", string, ...> before the template hook in the pipeline will be processable by templates ingesting Page<".html", string, ...>.
User avatar
privTri Volpeon areonNSmol @volpeon@icy.wyvern.rip
1mo
I generalized the concept of templates to work with any page type. Most of the time they're going to ingest Page<".html", string, ...> as shown here, but you could have templates for anything
User avatar
privTri Volpeon areonNSmol @volpeon@icy.wyvern.rip
1mo
Oh, and this
User avatar
privTri Volpeon areonNSmol @volpeon@icy.wyvern.rip
1mo
Most people probably won't care if their SSG can tell them this, but I think it's neat
User avatar
privTri Volpeon areonNSmol @volpeon@icy.wyvern.rip
1mo
The typing is super easy to understand, right areonNAngel