Sorry for so much inactivity recently. I'll be out of town for the next couple of days visiting family but I'll have my phone to check irc, gci, and hangouts :)
ruaok puts gcilou on the naughty list
:(
ruaok
just kidding. here are some spanish xmas treats (turron)
Leftmost
I'm pretty sure we're all on the naughty list, so that's where the cool kids belong.
gcilou
I belong in another group 😱
ruaok has no clue what the "nice" list even looks like
ruaok
every time santa sees me, he starts laughing and shoves me off to the cool kis
kids
gcilou
ruaok: there's something your parents never told you.....
ruaok
yet another thing???
ruaok feels another learning experience coming
Leo_Verto
samj1912, merged!
gcilou
*whispers* Santa isn't real...
Clint gasps.
ruaok
we said NO SPOILERS!
CallerNo6
well sure. in the matrix, steak isn't real either.
ruaok
oh wait, that was about Rouge One...
CallerNo6
(you probably think those are presents you're opening)
Leftmost
Rouge One, Star Wars' foray into makeup.
gcilou hasn't seen it yet
If that product doesn't exist, I'll be pretty disappointed.
gcilou
Funny
CallerNo6
That movie was already made (with Mark Hammil, no less). The Big Rouge One.
gcilou
The Story of a Giant Bloated Strawberry?
CallerNo6
Hey. I demand that you apply double standards. Men are allowed to put on weight after college.
Freso|laptop
Maybe I should see Moulin Rouge One with my girlfriend during all these weeks that I'm going to be at her place.
i understand the volume property is a pair of host directory and container directory
bitmap
ruaok: ftp is on serge
ruaok
found it. :)
kuraj
but thats about as much as i understand docker
ruaok
trying to figure out if my output is correct. but it says some queries take 14s. odd.
kuraj
i feel that i need to change these but im not sure which paths refer to what
my os drive is about 17 gigabytes so i mounted a 50g for the database - is it just the data dumps that are going to take majority of the space?
ruaok
50g might not even be enough. :(
kuraj
its fine i can make it larger
ruaok
give yourself 100gb if you can
kuraj
its an azure deploy
question is, is it just the postgresqldata's host part of the volume property that i need to change, and leave everything else to default?
ruaok
depends on what your goal is and what you're doing. without more context it is hard to say.
kuraj
i just want to set up a replication slave so i can test my app against it and not have to deal with rate limiting
ruaok goes on a tangent
ruaok
and your app is just for yourself? or you plan to operate a mirror for your users?
kuraj
oh yeah this is just for myself
for now
ruaok
k, and you're using musicbrainz-vm or musicbrainz-docker?
kuraj
musicbrainz-docker
ruaok
why do you need to change anything from its defaults?
kuraj
i need whatever will take a lot of space to be located on a particular drive
thats about all i can think of at the moment
ruaok
yep, most of the space is taken by the postgres db. if you need indexes those indexes will take loads of space too.
kuraj
is there an option of not having indexes? when i was trying out the virtualbox image yesterday, the search service wouldnt work without them at all
ruaok
the is a direct database search, but its query syntax is dumb
kuraj
i'd like to keep using the xml web service
putting sql directly into your app doesnt sound like a good idea
ruaok: when you asked whether it was going to be public or just for me, did you have anything specific in mind?
i'd like to hear about it
ruaok
well, if you were going to use our servers for others, it is best to develop while enduring rate limiting.
kuraj
oh
no im not going to configure the app against your production server... ever
ruaok
then you're on the right track
kuraj
if anything i would make my own mirror accessible to my users
the limit of 1 req per sec prevents me from doing anything useful sadly
:P
ruaok
understood. that is why we publish VMs
kuraj
im worried about the other webservice i'll be using. they offer no such thing
but i hope i wont run into as many 'n+1 requests' problems with them
Leo_Verto
eh, I've got a pretty good idea how to do it but didn't have the time until now
but if you want to feel, free to
samj1912
I was thinking of keeping an array and decrementing it with every message
You got any other ideas?
Leo_Verto
I'd just use a dict of recently posted issues and their timestamps and either look into whether botbot can do scheduled async tasks or just check it every time a new message is received
samj1912
Number of messages might be better than timestamp?
Leo_Verto
yeah, but how'd you keep track of those? the only option I see would be to have a hook for every message and that seems a bit inefficient
samj1912
Yeah, that seems like the only way
There is no way to count total number of messages, is there?
Ah, wait, BrainzBot does not log every message right?
*does
Aah
Leo_Verto
botbot's plugin api is kind of lacking for more complicated stuff :/
samj1912
Yeah :p
But it's fine if we just store a message count while logging and do lazy removal when regex is triggered for issue lookup?
LordSput1 joined the channel
Leo_Verto
but I think a timestamp-based system would work best and I think I could even use some python async stuff
samj1912
Hmm, as you see fit :)
LordSputnik has quit
It would be king of async only if we do lazy removal when issue lookup is triggered. And the bot will just have to update 1 value while logging
Leo_Verto
samj1912, you should've received an invite to the metabrainz org on github, that way you don't have to make PRs anymore :D