9:04 AM
samj1912
but it just doesn't make sense to have so many related global variables and not put them under a class
9:04 AM
zas
i was pondering on having a defaultdict with a namedtuple (since all those globals are defaultdict with shared keys)
9:04 AM
samj1912
hmm, I was thinking of having a rate control class per api_helper
9:05 AM
since it makes sense
9:05 AM
not sure really
9:05 AM
zas
so convert to class and instancy ?
9:05 AM
samj1912
and we still dont handle ratecontrol when different methods have different rate limits
9:06 AM
zas: yes, it will also allow us to configure rate control easily for auth-api with better rate limits
9:06 AM
zas
ok, i'll first rename (again) ;)
9:06 AM
samj1912
let me know what you think
9:06 AM
lol, just rebase :P
9:07 AM
zas
well, current use doesn't require a class, but i think it'd be useful to have usual class/instances too
9:22 AM
CardinalWolseley joined the channel
9:26 AM
CardinalWolseley has quit
9:36 AM
github joined the channel
9:36 AM
github
[picard] samj1912 opened pull request #816: Optimize imports and follow PEP-8 (master...pep8imp)
https://git.io/vNDBT
9:36 AM
github has left the channel
9:39 AM
HSOWA
Freso! I got a very mean message from sigyn :C
9:44 AM
D4RK-PH0ENiX joined the channel
9:45 AM
d4rkie has quit
9:48 AM
zas
alastairp: spike load is high, not sure what is going on, have a look please
9:48 AM
HSOWA
this isn't cool
9:52 AM
Sophist-UK joined the channel
10:09 AM
CardinalWolseley joined the channel
10:09 AM
d4rkie joined the channel
10:10 AM
D4RK-PH0ENiX has quit
10:13 AM
CardinalWolseley has quit
10:27 AM
github joined the channel
10:27 AM
github
[listenbrainz-server] paramsingh opened pull request #340: LB-285: Improve logging in listens dumps for user (master...LB-285)
https://git.io/vND0C
10:27 AM
github has left the channel
10:29 AM
samj1912
zas: is there something weird with the way your editor inserts spaces after `#` in comments
10:29 AM
pylint refuses to recognise them as a space
10:33 AM
CardinalWolseley joined the channel
10:38 AM
CardinalWolseley has quit
10:47 AM
zas: the spaces inserted in comments by your editor are `\xC2\xA0` instead of the usual `\x20`
10:47 AM
can you check what's up
10:48 AM
10:57 AM
D4RK-PH0ENiX joined the channel
10:59 AM
d4rkie has quit
11:00 AM
D4RK-PH0ENiX has quit
11:01 AM
D4RK-PH0ENiX joined the channel
11:05 AM
D4RK-PH0ENiX has quit
11:11 AM
iliekcomputers
alastairp: but the export would already be done inside the containers in docker
11:12 AM
so the command prefix is just `flask`, instead of `python manage.py`
11:12 AM
D4RK-PH0ENiX joined the channel
11:33 AM
RashiSah[m]
alastairp: evaluate.py showing "no pending datasets", even though status is "running" on local server. why is it so?
11:34 AM
alastairp
RashiSah[m]: it has to be in state 'pending' for evaluate.py to process it
11:34 AM
zas: postgres using a lot of CPU, but otherwise not a lot that I can see
11:34 AM
not sure why. we have a huge database now, it's getting a bit out of hand I think
11:35 AM
iliekcomputers: yeah, that's true
11:35 AM
perhaps it's the idea of the 'flask' prefix, even for pure AB processing scripts that makes me feel weird
11:39 AM
CardinalWolseley joined the channel
11:43 AM
iliekcomputers: any preference for separating AB commands behind an 'ab' command class?
11:43 AM
and other tools (hl extractor, dataset evaluator) behind another commndclass? or part of 'ab'?
11:43 AM
CardinalWolseley has quit
11:56 AM
dpsak[m] joined the channel
12:01 PM
outsidecontext joined the channel
12:15 PM
zas
samj1912: i doubt that's my editor (vim), can you point me at code having those ?
12:15 PM
samj1912
zas: I recently corrected it in my latest commit
12:15 PM
for eg. see picard/disc.py
12:16 PM
the attribution text with your name
12:16 PM
zas
i just did a test, and clearly there's no such character inserted
12:16 PM
samj1912
12:17 PM
weird, this particular line on my pc treats it as a nbsp
12:19 PM
CardinalWolseley joined the channel
12:19 PM
zas
yes, it was in a commit 5 years ago, may be something by this time, but atm i don't think my editor is inserting those characters, i'll recheck
12:20 PM
we should search/replace all those ofc
12:20 PM
samj1912
I did
12:21 PM
12:21 PM
zas
i saw, but it is a bit huge to find all replacements
12:21 PM
samj1912
I mean, I made all the replacements
12:22 PM
zas
did you change the script generating picard/const/attributes.py ?
12:23 PM
CardinalWolseley has quit
12:24 PM
suriv joined the channel
12:28 PM
samj1912: did you use autopep8 to ensure things you changed are preserved ?
12:28 PM
samj1912
preserved as in?
12:29 PM
and no I did not change the scripts generating the files
12:29 PM
I should
12:34 PM
zas: I was finally able to use pyinstaller :D \o/
12:34 PM
it works on linux
12:34 PM
trying to port it to windows now
12:35 PM
github joined the channel
12:35 PM
github
[picard] samj1912 opened pull request #817: [WIP] Use pyinstaller to package builds (master...pyinstaller)
https://git.io/vND2W
12:35 PM
github has left the channel
12:56 PM
github joined the channel
12:56 PM
[picard] yagyanshbhatia opened pull request #818: PICARD-1067: Visual bug after un-checking an installed plugin (master...PICARD-1067)
https://git.io/vND2h
12:56 PM
github has left the channel
12:58 PM
mzfr joined the channel
12:58 PM
samj1912
12:58 PM
now lets test if it is actually working
12:58 PM
anyone on windows here?
13:02 PM
zas
not me ;)
13:07 PM
13:08 PM
may be renamed it to ScriptSyntaxError and get rid of that
13:10 PM
vishalchoudhary[
samj1912: can test on Windows, have Windows on my spare laptop
13:10 PM
samj1912
vishalchoudhary[: nvm
13:10 PM
borrowed one from my friend
13:11 PM
vishalchoudhary[
samj1912: ok let me know if you need next time.
13:12 PM
naiveai joined the channel
13:12 PM
naiveai
well, that's my nanodegree finally wrapped up
13:25 PM
CardinalWolseley joined the channel
13:29 PM
CardinalWolseley has quit
13:52 PM
Zastai joined the channel
13:58 PM
CardinalWolseley joined the channel
14:02 PM
CardinalWolseley has quit
14:06 PM
outsidecontext has quit
14:06 PM
outsidecontext joined the channel
14:16 PM
outsidecontext has quit
14:16 PM
Zastai
does/will LB care about the user agent on WS requests (for rate limiting ec) the way MB does? (mainly so I know whether my C# API should require/allow one to be set)
14:20 PM
CardinalWolseley joined the channel
14:31 PM
samj1912
Sigh zas this whole packaging business is a hell hole :/
14:31 PM
Random window dll dependencies
14:32 PM
Would be nice if someone could help us with this
14:32 PM
SothoTalKer
picard on windows?
14:33 PM
samj1912
Yeah it works on pip
14:34 PM
But trying to package it... Sigh
14:34 PM
CardinalWolseley has quit
14:35 PM
Oh wait, I finally succeeded \o/
14:39 PM
SothoTalKer
glad i could help :]
14:42 PM
github joined the channel
14:42 PM
github
[picard-website] mineo opened pull request #109: Remove mention of picard_dev (master...no-picard-dev)
https://git.io/vNDKY
14:42 PM
github has left the channel
14:46 PM
SothoTalKer
if you have a non-pip build ready i can test it
14:56 PM
samj1912
SothoTalker pushed the latest changes
14:56 PM
Will update appveyor in a while
15:10 PM
drsaunders joined the channel
15:13 PM
HSOWA has quit
15:14 PM
KassOtsimine joined the channel
15:50 PM
CardinalWolseley joined the channel
16:17 PM
Zastai has quit
16:51 PM
RashiSah[m]
17:00 PM
github joined the channel
17:00 PM
github
[listenbrainz-server] paramsingh opened pull request #341: LB-270: Add documentation about ListenBrainz data dumps (master...listen-dumps-docs)
https://git.io/vNDDd
17:00 PM
github has left the channel
17:07 PM
yvanzo joined the channel
17:10 PM
rsh joined the channel
17:18 PM
samj1912
17:18 PM
try this
17:19 PM
rsh7[m] joined the channel
17:20 PM
rsh has left the channel
17:25 PM
SothoTalKer
samj1912: i will. does it use a different config location/name than 1.4.2? :)
17:26 PM
samj1912
SothoTalKer: hmm, it doesn't seem to be working
17:26 PM
1 min
17:28 PM
SothoTalKer
sure (:
17:45 PM
mzfr has quit
18:03 PM
samj1912: that's a long minute, hehe
18:04 PM
samj1912
SothoTalKer: I can build it on my pc
18:04 PM
but the appveyor build doesnt run
18:04 PM
it crashes immediately
18:04 PM
trying to debug it