our version of lemmy is old enough that clients like mlem are starting to break due to API drift, so I’m finally upgrading us to the latest stable version of lemmy. this will involve a bit of downtime and potentially a number of breakages; keep an eye out for anything that doesn’t look right after the upgrade and let us know!
when downtime? did it already happen
tomorrow
damn i can’t read
Looking downthread at the bananas stuff ya’ll are digging up, do you think that there could be some vibe coding involved?
slander, lemmy devs are well capable of making all of this cruft organically
so there isn’t a cursorrules file? it does look like authentic organic artisanal coding Rust like a DOS batch file.
but OTOH I would not be surprised.
for the viewers at home: you definitely don’t want to have to do this yourself
(we’re going over the lemmy backend changelog and hooo boy)
Spill the tea!
an absolute clowncar of yolo development practices. here’s just a few of the notes (there’s a whole spreadsheet):
scripts that used to be called
x.sh
(shebang/bin/sh
) suddenly renamedx.bash
in main (shebang still/bin/sh
). most of them take cli args, have no safety nets (arg checks etc), and have side effects (file alterations, commits and tags generated, etc)there’s a
RELEASES.md
which afaict is/was not generated by anything ever in the repo. it’s also out of date, has been touched by 5 commits (one more if you include other branches), and is wrongthe build and test process
targetsuses both a rust stable version (1.81
) andnightly
the container compose files fully switched out from the mainline postgres containers, to something called
pgautoupgrade
. I haven’t yet gotten to look to see what it is/does, or what magic footguns it might be. the inter-version migration testing appears to be fully reliant on this thing.the sum test action for migrations is “run
sed
over a target config, then spin it up”there appear to be some new config settings. they have comments about their usage. they appear to be important. I only caught them because I was looking at the
0.19.3..0.19.12
diffscripts that used to be called
x.sh
(shebang/bin/sh
) suddenly renamedx.bash
in main (shebang still/bin/sh
).That’s just…so completely ass-backwards it boggles the mind.
ah, cool. so, themes? the thing that almost every software out there makes as a lightweight pluggable?
not lemmy, no. in lemmy you recompile your app to get 'em. (source)
(edit: there’s a special kind of thinking that goes into writing code this manner. this is pluggable (see
extra_themes_dir
) but consider the thinking that goes into writing code like this. “some bits static”, with a maintenance burden and a recompile overhead. it’s just absolutely fucking dumb)LMAO, what the fuck. None of those make sense, what is the decision process there?
Edit: thanks for sharing btw :D
what is the decision process there
why think at all if you can just tread water and iterate 37 times instead?
(I don’t really know what the thinking is, can only see the outcomes. but it’s some hella mediocre no-effort shit, punching through the problem)
here’s a straight copy from one of my notes:
CI: whatever the fuck this means: https://github.com/LemmyNet/lemmy/compare/0.19.3...0.19.12#diff-31c8b5ad58b6e0303652ae0b92b791054bd324b66b9a6538d89bff571de95e4aR208
So you guys keep running old software till something breaks and are surprised new software that you haven’t kept yourself updated with, has breaking changes…?
ohhh boyyyy
it’s weird you’re not posting this from your own lemmy instance running a bleeding edge version — you know, one of the 1.0.0 versions that don’t fucking work
i’m not saying it’s always dbzer0, sometimes it’s programming.dev
thanks for your valuable and insightful contribution, I’m sure we would’ve been utterly at sea without it. simply marooned on the high seas of software, adrift and helpless. thank you, 0_o7, for your sage advice! you have saved us!
wait, hang on. no. the other thing.
e: see, the really great part about your comment is that I can instantly tell you have no fucking idea what you’re talking about, especially given history. but sure, go off. I’m sure you’re just so very good at what you do.
is this the version that federates properly with instances running authorized fetch?
god I hope so
the current version has the option to enable authorized fetch but it breaks federation entirely if you enable it because it doesn’t work
A bit of jank I have noticed on mobile: If I use the “view votes” feature of the mod menu, after I close the list I cannot scroll the page up or down. I have to close the tab and then undo, and then everything works again. (Am still on Firefox for mobile.)
I’ll keep an eye out for this on the staging instance!
🫡
Good news, I’ll be asleep by then.