@vaporeon_ markdown is just like that
@vaporeon_ @wallhackio anyway yeah i use s6 otherwise
@vaporeon_ @wallhackio i don’t bother to set up services fur packages i installed from my package manager if they already come with systemd configurations
@vaporeon_ sepurrately,
@wallhackio @vaporeon_ the issue was only ever that systemd was not configured to restart it after it got OOM-killed, and more broadly that i had configured the various components of mastodon in such a way that the server had to deal with memory purressure in the furst place
@Lady @wallhackio @vaporeon_ …interesting
@Lady @wallhackio @vaporeon_ ftr i didn't actually end up thinking switch (true) was better and wouldn’t do it again because it’s just about equally as terrible as that
@wallhackio @vaporeon_ when was the last time you actually had to complain to me that it was broken
@vaporeon_ @Lady @wallhackio they’re optional in javascript :3
@wallhackio @vaporeon_ banning the syscatmin… sure that would go down well :P
@vaporeon_ @wallhackio i just irrationally hate if /else if /... that much
@wallhackio @vaporeon_ the equality check on strings in most languages with a string type is an implicit strcmp, yeah. python does this
@vaporeon_ @wallhackio you wanna see some real fucked up shit? switch (true):
// the navbar links to every chunk of the gallery.
// the current page does not get a link.
// index 0 links to `/`.
/** @type {Node[]} */
const linksByIndex = [];
for (let i = 0; i < chunkedImages.length; i++) {
switch (true) {
case i === chunkIndex:
linksByIndex.push(li({ class: "active" }, `${i + 1}`));
break;
case i === 0:
linksByIndex.push(li({}, a({ href: "/" }, `${i + 1}`)));
break;
default:
linksByIndex.push(li({}, a({ href: `/${i + 1}.html` }, `${i + 1}`)));
}
}
not a serious take
@wallhackio not an undergrad but purrsonally i just despise how if-elseif chains look
@vaporeon_ meow meow meow
@vaporeon_ lynx is a category of felid that includes bobcats
@vaporeon_ feels like this shouldn’t be too hard to implement and i’m kinda surpurrised it doesn’t seem to exist yet
it’s pronounced “ashling”. canonically a black housecat or any of the grass cat pokémon, but currently experiencing daily TFs. Commewnist. she/it. i automatically change my pfp on the furst post of the day
GlitchCat syscatmin and meowstodev; @ me about techincal problems with the instance, or fur feature requests. i got a job due to some extent to my work on this instance
i have very strong opinions about the sonic furanchise. pokémon has me in a chokehold when it comes to merchandise
available via email with the same username and domain. DM/email for other purrotocols
workplace policy is to clarify that all of my opinions expressed here are my own, and not those of my employer
“all this shit is still incomprehensible but im glad u accomplished something” ―@wallhackio