14:01 PM
alastairp
14:01 PM
listenbrainz is still up!
14:05 PM
ruaok
14:06 PM
alastairp updates .ssh/config
14:07 PM
zas
ruaok: ok, thanks. Server not visible yet in hetzner interface
14:07 PM
alastairp
14:08 PM
ruaok
zas: we got pings!
14:09 PM
zas
yup
14:09 PM
ruaok
I can't login yet. I wonder if they are rescue mode
14:12 PM
looks like it is rebooting now.
14:14 PM
its back, but I still can't login.
14:14 PM
alastairp
14:14 PM
ruaok
zas: root passwd in mail
14:14 PM
zas
yup
14:14 PM
ruaok
ok, go for it, zas. let us know when its done.
14:15 PM
I'll stay out of your way.
14:16 PM
fuck, you're right we didn't order the extra nic
14:16 PM
lucifer
alastairp: reviewed.
14:18 PM
ruaok, we also need the policy on beta and test so let's remember to update those when kiss comes up.
14:18 PM
ruaok
k
14:18 PM
BrainzGit
14:18 PM
ruaok
zas: I've opened the request to have the second nic installed.
14:19 PM
alastairp
lucifer: 27.0 is the current latest?
14:19 PM
lucifer
yes
14:19 PM
zas
ruaok: ooops ;)
14:19 PM
ruaok
we'll need to shut it down again, once they come back to me on that.
14:19 PM
alastairp
oh wait. I thought I set that to 27.0 werid
14:20 PM
ohh, I set cron to 27.0 and skipped web. that's it
14:20 PM
lucifer
yup
14:20 PM
alastairp
we need to deploy 1487 anyway
14:20 PM
lucifer
right
14:20 PM
alastairp
so let me just update all containers to 27.1 now
14:21 PM
lucifer
i am hoping for blitz build because no dependency changed 🤞
14:21 PM
BrainzGit
14:21 PM
monkey
Sneaking another PR in
14:22 PM
BrainzGit
14:22 PM
alastairp
lucifer: want to try and make the release?
14:23 PM
lucifer
alastairp: sure, i think we can get another two PRs in. 1479 and 1480, should we get those in first?
14:24 PM
alastairp
looking
14:25 PM
Freso
Anyone want to volunteer as test subject?
14:26 PM
alastairp
what does it ban on? name or ip?
14:26 PM
Freso
alastairp: Your account, for the purpose of this test.
14:26 PM
lucifer
🙋‍♂️
14:27 PM
alastairp
what's an account? nickserv?
14:27 PM
kartik joined the channel
14:27 PM
kartik
nickserv it is :D
14:27 PM
Freso
alastairp: Yeah. :)
14:27 PM
lucifer joined the channel
14:28 PM
Alright, looks like it’s working. Great. :)
14:28 PM
kartik has left the channel
14:28 PM
Thanks lucifer!
14:30 PM
alastairp
14:30 PM
14:30 PM
but looks ok
14:35 PM
lucifer
cool, should work. i had checked the CI logs and its fine there. msb tests still run as expected.
14:35 PM
BrainzGit
14:37 PM
lucifer
14:37 PM
alastairp
in short, no.
14:38 PM
this is what I was commenting in the previous PR, we should decide how we want to do logging. either we do their recommendation and don't do string interpolation and let the log function do it. in that case we have to use %, because that's all that's supported
14:38 PM
otherwise we interpolate it ourselves and use .format or f-string
14:38 PM
yvanzo
Updating beta.mb.o
14:39 PM
alastairp
as I mentioned, I don't really mind what way we do it, but we should be consistent
14:40 PM
(the reason that you do the `debug("some % string % here", param1, param2)` is so that you _don't_ have to do the interpolation if your debug level is such that you're not going to output anything - in the bad old days when string interpolation was expensive this made your code run faster)
14:41 PM
oh - maybe I'm wrong. just looking into this in more detail now. it seems that you might be able to use {} placeholders in logging functions
14:43 PM
14:44 PM
lucifer
alastairp: sorry. i had confused your % formatting comment with something else. debug("Hello %s", " World!") is fine. i meant to use f-string in cases outside logging, at a few places we do stuff like "%s %s" % (a, b). i was wanting to suggest using f-strings there.
14:45 PM
alastairp
yes, right. there's _another_ question to open about how we do string interpolation in general :)
14:45 PM
sorry, my comment on that PR was specifically about formatting in logging calls
14:55 PM
atj
ruaok: During this connection process ListenBrainz will request permissions to view your YouTube profile data. During the connection process ListenBrainz will request permissions to view your YouTube profile data.
14:55 PM
ruaok
fun.
14:58 PM
lucifer: ^^ 🤦 fixed in master now.
14:58 PM
lucifer
just in time for the next release :D
15:00 PM
ruaok
sigh, hetzner.
15:00 PM
BrainzGit
15:01 PM
ruaok
you didn't rub your tummy before spinning around waving the dead chicken in the air.
15:01 PM
your request is DENIED.
15:02 PM
BrainzGit
15:03 PM
nelgin
yvanzo? Did you see the issues I mentioned yesterday?
15:04 PM
ruaok
hetzner> If you require this as well on the new one, you may please submit a separate support request.
15:04 PM
what in the actual fuck is going on now?
15:05 PM
alastairp
15:07 PM
lucifer
built in ~3m45s, js was recompiled and that took almost ~1.5min so ~2min if only python code changes without dep changes.
15:07 PM
alastairp
well done lucifer, this looks like it'll work great for us
15:08 PM
let's try and get an irc bot next that lets us make a release automatically :)
15:09 PM
lucifer
yup, that's up next :D
15:09 PM
i'll wait for another couple of releases to be safe and then add the action to all other PythonBrainz
15:33 PM
alastairp
ruaok: where are we at?
15:33 PM
30k items in listen queue, maybe we should start up the writer after all
15:33 PM
ruaok
waiting on hetzner.
15:33 PM
alastairp
ok, going for it
15:35 PM
ruaok
zas: pings!
15:36 PM
Guest7322 has quit
15:36 PM
the machine is up, eth1 not configured. I supposed that is expected.
15:44 PM
are the nics behaving, zas?
15:45 PM
zas
yes, I'm on it, that will take some time, I need to update a bunch of things
15:48 PM
lucifer
alastairp: available for discussing on making request consumer a daemon
15:48 PM
?
15:49 PM
alastairp
what's the request consumer?
15:49 PM
(yes)
15:49 PM
lucifer
the LB entrypoint to spark cluster
15:49 PM
ruaok
the spark side that takes requests
15:50 PM
lucifer
15:50 PM
alastairp
which machine does it live on, and how do we currently run it?
15:50 PM
lucifer
15:50 PM
ruaok
with nohup and &
15:50 PM
lucifer
15:51 PM
alastairp
nice
15:51 PM
ruaok
15:51 PM
alastairp
I'd be tempted to just make a systemd file
15:51 PM
lucifer
acc to my recently gained understanding of runit, we can just use runit like we do in other service
15:51 PM
ruaok
lucifer: that code looks legit. just copypasta that.
15:52 PM
alastairp: systemd is for starting it, but the python program itself needs to daemonize.
15:53 PM
alastairp
systemd can handle processes that stay running in the foreground
15:53 PM
lucifer
how is the request consumer different from spark reader or timescale writer (except the docker part)?
15:54 PM
ruaok
lucifer: it doesn't run inside docker.
15:54 PM
where we have runit that automatically starts and monitors services.
15:55 PM
lucifer
right makes sense.
15:55 PM
alastairp
runit expects that the thing that you start stays running in the foreground
15:56 PM
other init tools can handle processes which daemonise
15:56 PM
ruaok: mm, what consumes playing now messages?
15:56 PM
15:56 PM
I'm not sure we've been reporting them properly
15:56 PM
lucifer
makes sense. request consumer should be a background processs methinks
15:57 PM
ruaok
redis_listenstore
15:57 PM
lucifer
ultimately which goes into websockets
15:58 PM
15:58 PM
ruaok
lucifer: agreed, it should be background,
15:59 PM
alastairp
15:59 PM
ruaok
if you copy the code that I linked and use that for startup, you're sorted.
15:59 PM
kepstin joined the channel
16:01 PM
alastairp
16:01 PM
are we missing a websockets server?
16:01 PM
ruaok
quite possibly.
16:01 PM
did you start it on boing?
16:01 PM
lucifer
i do not see any websockets srever on boingo
16:02 PM
ruaok
+o
16:02 PM
Guest7326 joined the channel
16:02 PM
lucifer
should i start it?
16:02 PM
Guest7326
I missed some of the conversation.. alastairp, do you have or recommend that mug?
16:02 PM
alastairp
lucifer: go ahead
16:03 PM
lucifer
up now
16:04 PM
alastairp
that was a miscommunication, ruaok thought that I started it, and I didn't know that it had to be started. no problem
16:04 PM
lucifer
16:05 PM
quite a steep fall :D
16:05 PM
alastairp
that queue went down quite quiclly
16:05 PM
Guest7326 has quit
16:06 PM
trevk joined the channel
16:07 PM
trevk has quit
16:08 PM
lucifer
alastairp: i read that answer so foreground processes are simple.
16:08 PM
acc to systemd