<10theashikagupta> @monkey[m] hey are you a mentor of MetaBrainz?
2024-08-13 22608, 2024
pite has quit
2024-08-13 22612, 2024
Kladky joined the channel
2024-08-13 22622, 2024
monkey[m]
theashikagupta: yes I am :)
2024-08-13 22648, 2024
discordbrainz
<10theashikagupta> Hello Sir I am Ashika Gupta I want to contribute in MetaBrainz for Gsoc'25 I just need your guidance. Can I get your any social handle to connect with u ?
2024-08-13 22659, 2024
monkey[m]
Hi theashikagupta! Welcome to the community :)... (full message at <https://matrix.chatbrainz.org/_matrix/media/v3/download/chatbrainz.org/hpMFjeOXAdTkLwELnbAPoISp>)
2024-08-13 22636, 2024
yvanzo[m]
Hi all, the agenda item from yesterday was about upgrading to Docker Compose v2 in all MetaBrainz projects.
2024-08-13 22656, 2024
yvanzo[m]
It is mostly used for development, except for MusicBrainz where it is also used for mirrors.
2024-08-13 22625, 2024
yvanzo[m]
bitmap, reosarevok: Would it be OK to announce dropping support for Docker Compose v1 in mirrors in 3 months from now (Nov 18)?
2024-08-13 22601, 2024
mayhem[m]
ericd: can you please open a new PR with your work since the mid-term? I really need to start reviewing it. Thanks
2024-08-13 22639, 2024
monkey[m]
<yvanzo[m]> "Hi all, the agenda item from..." <- We have some custom code in LB and BB scripts to detect the docker compose version (use `docker-compose` or `docker compose`), but it would indeed be nice to drop that
monkey: Yes, indeed, it is mostly about replacing `docker-compose` with `docker compose` in scripts and docs, dropping `version` in compose files (but most projects did that already because of recently added warnings by docker compose), and maybe making use of improvements.
Also the word separator in the earliest versions of v1 was underscore _ whereas it is - in v2 (and in latest versions of v1).
2024-08-13 22605, 2024
reosarevok[m]
yvanzo: that seems sensible to me, especially since in most cases end users won't need to change anything I expect since they will be using our provided scripts and images
2024-08-13 22624, 2024
reosarevok[m] goes back to packing for some camping
reosarevok: It changes the installation dependencies for MB mirrors.
2024-08-13 22601, 2024
yvanzo[m]
It isn’t much an issue since docker-compose-v2 is packaged in the latest Ubuntu LTS.
2024-08-13 22654, 2024
mayhem[m]
lucifer: yes, in about 2 hours I will be on a mainline train where I expect decent mobile coverage .
2024-08-13 22609, 2024
reosarevok[m]
yvanzo: sounds fine to me still then :)
2024-08-13 22640, 2024
derat[m]
reosarevok: sorry to interrupt the packing, but are you okay with https://github.com/metabrainz/musicbrainz-server/… doing an edit search for "view other users' notes", or would you prefer that it link to /edits/notes-received?
2024-08-13 22620, 2024
reosarevok[m]
I can live with either. I see you were discussing it with yvan and he can also live with either, so in that case what we have now works
2024-08-13 22609, 2024
derat[m]
cool, that was my assessment of the situation too -- thanks. :-) i'll ask for a merge on the PR
2024-08-13 22616, 2024
reosarevok[m]
I'm phone only until Friday so don't wait for me with things :)
2024-08-13 22656, 2024
discordbrainz
<10theashikagupta> Hello Sir I am Ashika Gupta I want to contribute in MetaBrainz for Gsoc'25 I just need your guidance. Can I get your any social handle to connect with u ?
2024-08-13 22640, 2024
mayhem[m]
Available for discussion now and for the next two hours.
2024-08-13 22649, 2024
lucifer[m]
mayhem: i prototyped replacing rabbitmq with redis for spark results processing. the peak memory usage can go upto ~48G in the full tests i ran. i am thinking about running a separate redis instance for this purpose and put a max memory policy of 64GB on it.
kiss has a lot of network usage peaks, anyone knows about those? can those be smoothed out somehow?
2024-08-13 22600, 2024
mayhem[m]
Sorry for the slow response...
2024-08-13 22601, 2024
mayhem[m]
That seems like a workable approach. Does the size of the data grow with the number of users?
2024-08-13 22603, 2024
mayhem[m]
Coverage is still quite spotty
2024-08-13 22638, 2024
mayhem[m]
zas[m]: Sounds like Lucifer doing testing. See above
2024-08-13 22603, 2024
mayhem[m]
lucifer: something to consider as well. Network saturation
2024-08-13 22617, 2024
mayhem[m]
Could we compress the data before we send it to redis?
2024-08-13 22633, 2024
airwaves[m] joined the channel
2024-08-13 22634, 2024
airwaves[m]
<mayhem[m]> "Available for discussion now and..." <- I'd like to contribute [to LB] in some way too, but I'm not entirely sure as to where to start -- preferably frontend stuff as I have quite a lot of JS experience lol
2024-08-13 22617, 2024
mayhem[m]
Hi and welcome!
2024-08-13 22618, 2024
mayhem[m]
We have a ticket category for easy first bugs that could be a starting point for you.
2024-08-13 22622, 2024
mayhem[m]
monkey and ansh: do the LB front end dev, so asking them is an even better way.
2024-08-13 22657, 2024
mayhem[m]
Also, if there is something that you don't like about our UI, fix that?
2024-08-13 22621, 2024
monkey[m]
Hi airwaves ! As mayhem said above, the easy option (and something I love doing myself) is finding something in the UI that you find annoying, and fixing it :P
2024-08-13 22621, 2024
monkey[m]
That being said, I'm here if you would like more precise suggestions or need some help finding the relevant code or getting your environment set up
2024-08-13 22634, 2024
airwaves[m]
Link this Listen not autofocusing is a source of annoyance
2024-08-13 22639, 2024
airwaves[m]
* Link this Listen not autofocusing has been a source of annoyance
2024-08-13 22606, 2024
airwaves[m]
do you guys have like a local demo docker server I can point the front-end at?
2024-08-13 22614, 2024
lucifer[m]
[@zas666:matrix.org](https://matrix.to/#/@zas666:matrix.org) , [@mayhem:chatbrainz.org](https://matrix.to/#/@mayhem:chatbrainz.org): the data is same as what was sent through rabbitmq on clash and at the same rate.
<lucifer[m]> "[@zas666:matrix.org](https://..." <- Except in this case we were not consuming the data as it was being written, therefore the large memory use, right?
2024-08-13 22643, 2024
mayhem[m]
So real word usage would actually likely be much lower.
2024-08-13 22614, 2024
mayhem[m]
<airwaves[m]> "do you guys have like a local..." <- Our development setup is docker based and won't take long to setup to get started on this problem
2024-08-13 22649, 2024
mayhem[m]
Get it running, add a listen and you're good to go
2024-08-13 22656, 2024
lucifer[m]
[@mayhem:chatbrainz.org](https://matrix.to/#/@mayhem:chatbrainz.org) no we are using the data. But consuming it at a slower rate than what it is produced at.
2024-08-13 22607, 2024
lucifer[m]
So high memory usage.
2024-08-13 22630, 2024
lucifer[m]
Rabbitmq used to persist some part to the disk and keep some in memory.
2024-08-13 22620, 2024
lucifer[m]
I am not sure why the network io would be higher with redis than rabbitmq. Afaik neither do any compression.
2024-08-13 22626, 2024
lucifer[m]
client side at least
2024-08-13 22634, 2024
mayhem[m]
Could we slow the production of the data?
2024-08-13 22641, 2024
bitmap[m]
<yvanzo[m]> "bitmap, reosarevok: Would it..." <- makes sense to me if V1 is EOL. I'm not sure what the requirements are though. I tried installing docker-compose-v2 on hendrix yesterday in order to prebuild the musicbrainz-docker release, but couldn't due to package conflicts
2024-08-13 22639, 2024
yvanzo[m]
bitmap: Docker Compose v2 is already available on hendrix.
2024-08-13 22615, 2024
yvanzo[m]
You don’t need the package docker-compose-v2 due to the way Docker is installed on our servers.
2024-08-13 22656, 2024
bitmap[m]
ah, I got "compose is not a command" on a few servers, maybe hendrix was not one of them
2024-08-13 22616, 2024
Jade[m]
<bitmap[m]> "the empty variables in the..." <- I looked into this a bit on Monday, by the way - sending the request directly works fine on the Rust side. There's the potential it was an old version of the image, so I've tagged a new version. Maybe try pulling the image again?
2024-08-13 22635, 2024
yvanzo[m]
bitmap: `docker compose version` works for me on `hendrix`atm.
2024-08-13 22609, 2024
bitmap[m]
yvanzo[m]: confirmed, a few servers it didn't work on which I'd tried before hendrix were aphex, hip, and patton
2024-08-13 22630, 2024
yvanzo[m]
bitmap: It seems that the package `docker-compose-plugin` might be missing on these servers.
2024-08-13 22614, 2024
bitmap[m]
(I did eventually get the prebuild to work on hendrix via DOCKER_COMPOSE_CMD='docker compose' ./admin/repository/prebuild-musicbrainz, so it's not waiting to be built)
2024-08-13 22607, 2024
bitmap[m]
initially I tried running the prebuild script on my MacBook, but some Perl packages failed to build
2024-08-13 22634, 2024
yvanzo[m]
bitmap: Thanks for yesterday’s MB release by the way!
2024-08-13 22618, 2024
bitmap[m]
it was about time I tried executing all the steps you improved recently :)
2024-08-13 22605, 2024
yvanzo[m]
It is very weird that it failed on macOS. Can you please provide details if you still have these?
2024-08-13 22627, 2024
yvanzo[m]
Good to see this doc being actually used too.
2024-08-13 22638, 2024
monkey[m]
<airwaves[m]> "Link this Listen not autofocusin..." <- Very much agree! So much in fact that I already opened (and merged) a PR for it :D LB#2948
2024-08-13 22638, 2024
monkey[m]
It isn't deployed at the moment, but let me see if I can deploy it
[listenbrainz-server] 14MonkeyDo merged pull request #2959 (03master…LB-1254): LB-1254: Graph for month view in statistics may cut of days at the end due to varying length of months https://github.com/metabrainz/listenbrainz-server…
2024-08-13 22626, 2024
minimal joined the channel
2024-08-13 22627, 2024
airwaves[m]
<monkey[m]> "Very much agree! So much in fact..." <- > <@monkey:chatbrainz.org> Very much agree! So much in fact that I already opened (and merged) a PR for it :D LB#2948
2024-08-13 22627, 2024
airwaves[m]
> It isn't deployed at the moment, but let me see if I can deploy it
<yvanzo[m]> "It is very weird that it..." <- `Date::Calc` and one other module failed to build, though I didn't have access to the internal build.log files which would have contained the compilation errors. now I wonder if the base image is multi-arch and it was performing the build using an arm64 image? (as it's an M2 Mac)
2024-08-13 22627, 2024
airwaves[m]
wow, that was quick monkey :D
2024-08-13 22653, 2024
monkey[m]
airwaves[m]: Yes, the pull request description is from before I realized and fixed that too.
2024-08-13 22613, 2024
monkey[m]
Still need to build the image and deploy it, but should be pretty auick too
2024-08-13 22619, 2024
monkey[m]
quick*
2024-08-13 22640, 2024
pite joined the channel
2024-08-13 22645, 2024
monkey[m] is updating LB prod
2024-08-13 22657, 2024
airwaves[m]
monkey[m]: man fair play, you guys work fast :D
2024-08-13 22655, 2024
monkey[m]
OK, it's up airwaves if you want to test it. If you find more improvements, please don't hesitate :)
2024-08-13 22615, 2024
airwaves[m]
sure will haha, looking forward to it :D
2024-08-13 22630, 2024
airwaves[m]
may as well sort through missing data now lol
2024-08-13 22639, 2024
monkey[m]
For example, the link listen modal will autofocus when you click the copy text button only, which might still be annoying for some
2024-08-13 22650, 2024
monkey[m]
Oh, you'll like this too !
2024-08-13 22607, 2024
bitmap[m]
<Jade[m]> "I looked into this a bit on..." <- indeed, restarting the container worked 👍 thanks!
bitmap: It might not be multi-architecture indeed, but there should be a way to cross compile from M2.
2024-08-13 22623, 2024
bitmap[m]
yeah, there is a way to force the platform in the compose file IIRC. but I guess the version of the Linux kernel it's emulating on macOS may differ still, which could cause other reproducibility issues...
2024-08-13 22636, 2024
yvanzo[m]
bitmap: Multi-platform support is a feature of Docker Compose v2.
2024-08-13 22651, 2024
yvanzo[m]
bitmap, reosarevok: I drafted a blog post for requiring Docker Compose v2 for mirrors. Actually, I used the template for announcing schema changes. Should we make a small schema change at the same time?
2024-08-13 22622, 2024
yvanzo[m]
We can discuss this next week when reosarevok is back 😎
2024-08-13 22624, 2024
bitmap[m]
ok, let's wait for Reo :) there are a few minor changes we could include IIRC
<mayhem[m]> "ericd: can you please open a new..." <- will do
2024-08-13 22641, 2024
yvanzo[m]
bitmap: Yes, _or later_ has been omitted for the release after the schema change and never came back.
2024-08-13 22621, 2024
bitmap[m]
gotcha, just wanted to make sure I was correct in adding that back
2024-08-13 22656, 2024
ericd[m]
Hi aerozol, I wonder where I can find the feed icon and icon for the copy button in your mock up? Last week I just use some text button for testing purpose.
<BrainzGit> "[listenbrainz-server] ericd23..." <- mayhem: ta-da. and, is the new mb oauth up?
2024-08-13 22621, 2024
mayhem[m]
<ericd[m]> "mayhem: ta-da. and, is the new..." <- Not yet and it won't be before the coding period is done. We should get it finished ready to merge, but we'll need to disable the feature for now. Once the oauth stuff is done, I'll take care of deploying it.
2024-08-13 22614, 2024
lucifer[m]
mayhem: not easy to slow down production without blocking the cluster but how about we host the new redis instance on michael?
2024-08-13 22655, 2024
lucifer[m]
eventually, we'll hopefully have incremental stats and that would considerably reduce traffic for old time ranges but it will take lot of time to get there.
2024-08-13 22633, 2024
lucifer[m]
monkey: do you want to make any changes to the OAuth related screens i shared the other day?
2024-08-13 22641, 2024
mayhem[m]
lucifer[m]: Tricky. Because if our users double or triple, this system breaks. Not very future proof.
2024-08-13 22648, 2024
airwaves[m]
<monkey[m]> "ariwaves: Now a bit easier to..." <- oh man, that should make filling that in x10 easier lol
2024-08-13 22652, 2024
mayhem[m]
Why is writing to couchdb so slow?
2024-08-13 22618, 2024
mayhem[m]
What binds it? Disk or CPU?
2024-08-13 22632, 2024
lucifer[m]
i am not sure.
2024-08-13 22648, 2024
lucifer[m]
but we are following all of their recommended steps.
2024-08-13 22625, 2024
aerozol[m]
reosarevok: Should I open a ticket to add ‘promoter
2024-08-13 22634, 2024
aerozol[m]
...’ to label types?
2024-08-13 22638, 2024
aerozol[m] uploaded an image: (26KiB) < https://matrix.chatbrainz.org/_matrix/media/v3/download/matrix.org/WgOoLruCdFaFkhaGYFJuqntD/image.png >
2024-08-13 22612, 2024
aerozol[m]
p.s. I wonder if atj is familiar with that promoters events
2024-08-13 22657, 2024
aerozol[m]
We have “Relationship types / Event-Label / Presented” just wondering if it’s worth adding more types or nah
2024-08-13 22644, 2024
allen
Hi there, can I pm someone from security@org with a question regarding one api endpoint?