0:08 AM
ruaok
correct.
0:08 AM
everything worked as promised.
0:08 AM
the power to the building failed and the giant batteries kicked in.
0:09 AM
the diesel generator started up and got up to speed.
0:09 AM
the power was cut over to the generator from the batteries.
0:09 AM
and our servers never noticed.
0:09 AM
cool, eh?
0:10 AM
opatel99 joined the channel
0:10 AM
opatel99
Just got back from what was the longest school day I pulled so far.
0:13 AM
D4RK-PH0ENiX joined the channel
0:14 AM
D4RK-PH0ENiX has quit
0:14 AM
D4RK-PH0ENiX joined the channel
0:15 AM
LordSputnik: Ping
0:16 AM
Freso
That is pretty neat.
0:16 AM
opatel99: Re-ping. :) /query
0:16 AM
opatel99
sure
0:42 AM
LordSputnik
stanislas: will check the commits tomorrow morning
0:42 AM
opatel99: pong
0:52 AM
Leo_Verto has quit
1:08 AM
yeeeargh has quit
1:41 AM
JesseW joined the channel
1:51 AM
Nyanko-sensei joined the channel
1:53 AM
D4RK-PH0ENiX has quit
2:09 AM
D4RK-PH0ENiX joined the channel
2:10 AM
Nyanko-sensei has quit
2:33 AM
Nyanko-sensei joined the channel
2:34 AM
JesseW has quit
2:35 AM
opatel99
LordSputnik: When fetching user info, do I just pass the token?
2:35 AM
D4RK-PH0ENiX has quit
2:37 AM
Bookzombie has quit
2:37 AM
Bookzombie joined the channel
2:38 AM
CallerNo6 has quit
2:39 AM
Freso: Pingity. I figured out a logistical issue with my installation that I most likely cannot circumvent...
2:40 AM
Bearer tokens are only accepted over HTTPS for MB. My server is HTTP
2:41 AM
Leftmost
opatel99, you can generate a cert to use for HTTPS.
2:41 AM
opatel99
Uhhh. How long would that take?
2:45 AM
Leftmost
I'm not completely sure, as I don't know the procedure for an MBS instance, but half an hour, maybe. Once you've got the instructions.
2:47 AM
opatel99
Leftmost: It's for a discourse instance.
2:49 AM
Leftmost
You can probably proxy it behind nginx.
2:51 AM
JesseW joined the channel
2:57 AM
D4RK-PH0ENiX joined the channel
3:01 AM
Nyanko-sensei has quit
3:06 AM
JesseW has quit
3:25 AM
Nyanko-sensei joined the channel
3:26 AM
D4RK-PH0ENiX has quit
3:34 AM
D4RK-PH0ENiX joined the channel
3:35 AM
Nyanko-sensei has quit
4:00 AM
D4RK-PH0ENiX has quit
4:01 AM
D4RK-PH0ENiX joined the channel
4:11 AM
Nyanko-sensei joined the channel
4:13 AM
D4RK-PH0ENiX has quit
4:28 AM
CallerNo6 joined the channel
4:33 AM
D4RK-PH0ENiX joined the channel
4:34 AM
Nyanko-sensei has quit
4:41 AM
JesseW joined the channel
4:46 AM
Nyanko-sensei joined the channel
4:47 AM
D4RK-PH0ENiX has quit
4:48 AM
typhoe has quit
4:50 AM
typhoe joined the channel
5:08 AM
D4RK-PH0ENiX joined the channel
5:09 AM
Nyanko-sensei has quit
5:20 AM
Nyanko-sensei joined the channel
5:21 AM
D4RK-PH0ENiX has quit
5:28 AM
opatel99 has quit
5:31 AM
D4RK-PH0ENiX joined the channel
5:33 AM
Nyanko-sensei has quit
5:36 AM
JonnyJD joined the channel
5:40 AM
ariscop has quit
5:48 AM
regagain has quit
5:51 AM
Nyanko-sensei joined the channel
5:52 AM
D4RK-PH0ENiX has quit
6:25 AM
ariscop joined the channel
6:30 AM
JesseW has quit
6:52 AM
D4RK-PH0ENiX joined the channel
6:53 AM
Nyanko-sensei has quit
6:54 AM
JonnyJD has quit
7:11 AM
luks
when opatel99 gets back, tell him he can set OAUTH2_ENFORCE_TLS to 0 and then it will accept tokens over HTTP
7:11 AM
or set DB_STAGING_SERVER to 1
7:31 AM
ariscop has quit
7:32 AM
Nyanko-sensei joined the channel
7:33 AM
D4RK-PH0ENiX has quit
7:44 AM
ariscop joined the channel
8:17 AM
ocharles__ is now known as ocharles
8:20 AM
jesus2099 joined the channel
8:32 AM
Lotheric has quit
9:08 AM
rahulr has quit
9:08 AM
rahulr joined the channel
9:09 AM
UmkaDK joined the channel
9:34 AM
mrc0mmand has quit
9:48 AM
mrc0mmand joined the channel
9:53 AM
chrisskey joined the channel
9:53 AM
rctgamer3 has quit
10:01 AM
Nyanko-sensei has quit
10:14 AM
chirlu`
10:15 AM
Lotheric joined the channel
10:22 AM
rvedotrc has quit
10:22 AM
rvedotrc joined the channel
10:31 AM
D4RK-PH0ENiX joined the channel
10:36 AM
reosarevok
chirlu`: Oh, you mean because some might have open edits?
10:36 AM
I wonder if they're all ex-event URLs or something. Still not sure why that didn't get removed at first
10:38 AM
chirlu`
No, they were from different entity types; and the relationship was removed sometimes by autoedit, sometimes not.
10:38 AM
So I don’t see a pattern at the moment.
10:55 AM
Freso
luks: I think he's testing against mb.o, so he can't change those variables. :) opatel99 could maybe switch his plugin to ping against chirlu`'s sandbox instead:
http://chirlu.mbsandbox.org/
11:06 AM
jesus2099
is there a request (www, ws, xml, json, etc.) that could return MB localised string(s) ?
11:07 AM
so that we could (dynamocally) use the same terminology in user scripts than in MB’s all languages
11:10 AM
11:10 AM
halves were swapped at previous get
11:10 AM
menu is always saying i’m in french
11:12 AM
alastairp
Gentlecat: hey, where did you get the memcache wrapper from?
11:12 AM
did you write it?
11:12 AM
Gentlecat
yes
11:12 AM
alastairp
why do you insert keys as a sha1?
11:13 AM
(_prep_key)
11:13 AM
Freso
jesus2099: Sounds like a caching issue. :/ chirlu` can maybe confirm (or deny)?
11:13 AM
Gentlecat
to make sure they don't go over the length limit
11:13 AM
250, I think
11:14 AM
alastairp
did someone suggest that? I'm not sure it's a great idea. Let me read some more about it
11:16 AM
jesus2099
now **show more…** link in french, the tabs in english, the sidebar top in french, bottom in english
11:16 AM
Freso chirlu` ↗
11:17 AM
Gentlecat
11:17 AM
jesus2099
the wikipedia extract in french
11:17 AM
was
11:17 AM
now 100% french
11:17 AM
Gentlecat
didn't look into it much though
11:18 AM
alastairp
what do you use the cache for?
11:18 AM
memoisation?
11:18 AM
jesus2099
Freso chirlu` maybe it’s no big deal… i got language mix only for maybe less than 1 minute
11:18 AM
(after having switched)
11:18 AM
alastairp
I guess stuff like "get recording data for mbid" would work as a cached function
11:18 AM
some of the stuff I want to do is inline in a loop
11:19 AM
I guess I could break out the actual get into a function and then memoise it
11:19 AM
jesus2099
is there already a ticket to display primary alias, if avalaible n chosen language, instead of artist name (and same for all entities) ?
11:20 AM
Gentlecat
11:20 AM
like this?
11:21 AM
alastairp
right. that's a perfect candidate for @cache.memoize
11:23 AM
I can't reproduce the error I was seeing, though
11:23 AM
Gentlecat
what kind of error?
11:24 AM
alastairp
where I was adding items to the cache but they weren't staying there
11:24 AM
Gentlecat
oh
11:24 AM
alastairp
I thought it might have been related to the namespace, but I couldn't work it out
11:24 AM
in the end, I just kept an in-memory dictionary and hoped that the script didn't crash (it didn't)
11:28 AM
chrisskey has quit
11:29 AM
11:30 AM
this is an interesting use for memcache though - I don't really want to do it 1 at a time, because that's a lot of sql queries
11:31 AM
so instead, I batch it in groups
11:31 AM
I guess I could use set_multi
11:31 AM
let me try again
11:32 AM
jesus2099
Freso chirlu` (language mix) actually the language mix is still going on after minutes
11:34 AM
jesus2099 has quit
11:42 AM
zag
first screenshot of kodi using COMPOSER (TCOM)