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
I overhauled the API to avoid all the weird function chaining. It's less awkward now, and the reported input and output types are correct areonNCute
User avatar
privTri Volpeon areonNSmol @volpeon@icy.wyvern.rip
1mo
@yacha neofox_googly_woozy
User avatar
privTri Volpeon areonNSmol @volpeon@icy.wyvern.rip
1mo
This one is for Puni Bocchi the Bock neofox_googly_woozy
User avatar
privTri Volpeon areonNSmol @volpeon@icy.wyvern.rip
1mo
The only problem is pages whose Type is a union. I use Exclude to mutate the input and output types and it doesn't work reliably because of that. Page<".md" | ".mdx", ...> shouldn't be in the output
User avatar
privTri Volpeon areonNSmol @volpeon@icy.wyvern.rip
1mo
areonNHyper
User avatar
privTri Volpeon areonNSmol @volpeon@icy.wyvern.rip
1mo
Cancel the datacenter projects, my mom has resources to spare for 10 humanities neofox_googly_woozy
User avatar
privTri Volpeon areonNSmol @volpeon@icy.wyvern.rip
1mo
@catraxx neofox_googly_shocked
User avatar
privTri Volpeon areonNSmol @volpeon@icy.wyvern.rip
1mo
They're putting fiber cables in our street right as the big heatwave is coming. neofox_googly_shocked
User avatar
privTri Volpeon areonNSmol @volpeon@icy.wyvern.rip
1mo
Firefox on my mom's laptop did a funny and said website cache was taking up 17bn GB. neofox_googly_woozy Fixed itself after restarting Firefox
User avatar
privTri Volpeon areonNSmol @volpeon@icy.wyvern.rip
1mo
Soon it'll tell you what input formats it expects and what formats it outputs, along with the expected and returned metadata respectively. I love using types to do impressive stuff like this. areonNAngel
User avatar
privTri Volpeon areonNSmol @volpeon@icy.wyvern.rip
1mo
And here's a plugin to add a persistent cache which can be used by dependent plugins for stuff like storing resized and recompressed image variants
User avatar
privTri Volpeon areonNSmol @volpeon@icy.wyvern.rip
1mo
It was all worth it when adding support for new template formats is as easy as this areonNAngel
User avatar
privTri Volpeon areonNSmol @volpeon@icy.wyvern.rip
1mo
I had to do some really arcane stuff with TypeScript's type system to make this work.
User avatar
privTri Volpeon areonNSmol @volpeon@icy.wyvern.rip
1mo
I might be able to even get rid of the distinction between pages and templates. Templates are just a final transformation step, exactly the same as calling ´site.process´ and having it, say, turn Markdown files into HTML.
I was thinking about how to solve support for Vue templates since these turn a single page into multiple files, including SCSS. And then how would I compile the SCSS if templates are the final step? Removing this distinction would make it possible since there can be any kind of processing afterwards.
User avatar
privTri Volpeon areonNSmol @volpeon@icy.wyvern.rip
1mo
@catsalad areonNThink
User avatar
privTri Volpeon areonNSmol @volpeon@icy.wyvern.rip
1mo
@puniko
User avatar
privTri Volpeon areonNSmol @volpeon@icy.wyvern.rip
1mo
Why is Bun so popular for JS-based malware?
User avatar
privTri Volpeon areonNSmol @volpeon@icy.wyvern.rip
1mo
@puniko But are they lazy enough to keep playing the "will this update steal my money and delete my files" lottery? neofox_cool_fingerguns
User avatar
privTri Volpeon areonNSmol @volpeon@icy.wyvern.rip
1mo
Is it just me or is the social contract of package managers with little oversight finally falling apart now?
User avatar
privTri Volpeon areonNSmol @volpeon@icy.wyvern.rip
1mo
@puniko Ja, und er ist in der Tat sehr mohnig areonVFlat