gotta love nerd-sniping myself: went from "hmm, i think i'll work on getting the kanidm test server up on running tonight" to "oh boy, the CI for this ansible role is woefully out of date, need to work on that before running the role against the server!" relatively quickly
julian45[m] has fallen victim to one of the classic blunders
From the editor perspective - but there’s a lot of mileage for just sharing preview images. I imagine artists might share summary cards too (x band has x songs/listens etc). It might be best to keep it basic but I think there’s heaps that could be done in terms of shareability (which in turns = growth), great thinking
BrainzBot
MBS-12791: Share edits to social media/other channels
aerozol[m]
Hurray, I’m not the only nerd excited about the little “automatically toggle tabs in the LB automatic submission tool” update
aerozol[m] uploaded an image: (15KiB) < https://matrix.chatbrainz.org/_matrix/media/v3/download/matrix.org/iAdCbroUbhRWMazDGXbjIxfu/image.png >
Shot monkey
lucifer[m]
mayhem: hi! let me know when you are around for a quick discussion on listen deletion stuff.
Kladky joined the channel
yvanzo[m]
Hi Jade, your idea #1 is very ambitious/thrilling and would fill a gap that was left after moving to Matrix.
(Even though our IRC web logger is still running, it isn’t maintained and it doesn't handle Matrix-only stuff such as reactions and threads.)
Tickets will go offline in 5 minutes from now for maintenance.
monkey[m]
lucifer: something went wrong with the user stats.
The stats I am seeing for myself (other users reported issue too, see forum link above) look like old stats, and switching between time periods doesn’t change anything.
Also hello :)
outsidecontext[m
Interesting. On my account it looks sensible.
mayhem[m]
moooin!
lucifer: ready for a chat.
lucifer[m]
mayhem: yes, debugging stats right now. will ping you sson.
monkey: does this week stats look any better now?
artists this week
monkey[m]
lucifer: negative. Definitely stats from some time ago
The top three artists for every rabge look suspicious, and don't change. The rest could be correct
Almost looks like in interspersed some of my top artists from last year into every other range
mayhem: for listen deletion, we add listened_at, recording_msid, user_id to the `listen_delete_metadata` without checking if the listen actually exists. sometimes there can also be duplicate rquests for the same listen's deletion. at the moment, we try to delete all requests and record the max_id of the listen that was attempted to delete. then after deletion is complete we removed the requests until that max_id row. and if there
were any duplicate or non-existent listen deletion requests they would go away too.
however, with the latest PR i made yesterday this changes. we now do not clear the table immediately but set a deleted column to true and for invalid/non-existent requests deleted remains false, just like for a new request. after a full dump has been produced, we removed rows from the table where deleted is true. but since we can't differentiate between invalid or new requests, the table clutters with the invalid requests. i am
thinking about how to fix it and was wondering if i should add a new table to store just the actually deleted listens and restore the original cleanup method for existing table. but while writing this i realised i can change deleted from boolean to an enum and add a invalid state to differentiate.
Jigen
wait, wtf why is that question closed and downvoted? it seems clear enough? even to a guy liek me who don't code
lucifer[m]
>Post Closed as "Not suitable for this site" - lol
mayhem[m]
wow, just closed it.
fuck me. I better go ask someplace not run by community nazis. gees.
Jigen
god it's probably becasue this is the first post by mayhem. some sites liek this are very "u must be this experienced before we take u seriously"
fuck
maybe reddit 🤔
lucifer[m]
yeah maybe scikit reddit or some community channel is a better option
mayhem[m]
they specifically tell people to ask on SO. sigh.
lucifer[m]
lolol
mayhem[m]
> but while writing this i realised i can change deleted from boolean to an enum and add a invalid state to differentiate.
that was the first thing that came to my mind too. probably the easiest.
Jigen
i'venever seen an useful stackoverflow post tbh, most of the time i look up some thing. and like the guy explains it, and thne there are 30 mesgs saying "lol u are stupid for asking this slightly wrong" and thne one, highly usefull post that actually help (and aswers my question as well) in small it also has like atleast 4 "well ackshually" refuting comments underneath
mayhem[m]
"and the shortest code necessary to reproduce the problem." that was fully ignored. I guess I need to inline that.
Jigen
i signed up with github but i can't vote or comment becasue they want me to onboard or whatever. fack
can't beassed right now
yea i cant until i.. uh get 15 upvotes. i don't care to even bother with writing a post. god useless site
monkey[m]: you around :)
monkey[m]
Jigen (IRC): Finishing lunch, will be back shortly
SigHunter has quit
Jigen
👍
SigHunter joined the channel
SigHunter has quit
SigHunter joined the channel
outsidecontext[m
mayhem: weird how your question was handled. But I'd suspect the low CPU usage is still somewhat related to Python's global interpreter lock. The assumption would be that the performance relevant parts of the nmslib calls run mostly outside the GIL, but still there might be enough Python code execution in build_index when preparing the data to have this slowed down by the GIL.
mayhem[m]
oh. GIL. feck, that might be it.
outsidecontext[m
Would be interesting to compare this when running the code with a Python 3.13 build with GIL disabled
pite joined the channel
mayhem[m]
indeed -- something worth trying. but... I think I may have found a workable solution.
be lazy.
SigHunter has quit
just build the indexes on demand, since it is very quick to build them.
I spent a bit of time on SO back in 2018 and did some questions and answers there, but haven't really come back to it because it's not been useful to me lol
but even though I just logged on for the first time since like 2022 my reputation just kept going up
Jade[m] uploaded an image: (13KiB) < https://matrix.chatbrainz.org/_matrix/media/v3/download/ellis.link/e602WU6b6lohJ5wTfnE8fJvMhD63Ez02/image.png >
because it's not about who engages in the site in a positive way, or gives useful answers, but who got there first
bitmap: LB just wobbled with a lot of "server closed the connection unexpectedly" errors from PG. I restarted the container and all seems well. could you have a look to see if anything odd is happening on the PG side of things?
bitmap[m]
mayhem: sorry that was almost certainly my fault since I'm moving some pgbouncer services in preparation for the switchover tomorrow
I'm not entirely sure why it affected LB and not MB though .. I put everything into maintenance mode and issued a PAUSE to pgbouncer first (which waits for all transactions / sessions to complete)
mayhem[m]
ah, ok. can you do me a favor and keep an eye out for more LB wobbles? If so, restart lb-web-prod on kiss, please.