17:34 PM
github has left the channel
2015-09-15 25844, 2015
17:35 PM
alastairp
2015-09-15 25858, 2015
17:35 PM
alastairp
I’d really like to see templates in a separate place to code
2015-09-15 25813, 2015
17:36 PM
alastairp
(but not in separate files that have to be http loaded)
2015-09-15 25829, 2015
17:36 PM
Gentlecat
I think react is supposed to be the view layer
2015-09-15 25820, 2015
17:38 PM
Gentlecat
they include template code in all of their examples
2015-09-15 25800, 2015
17:39 PM
Gentlecat
2015-09-15 25811, 2015
17:39 PM
alastairp
I just get terrible flashbacks to php
2015-09-15 25809, 2015
17:40 PM
Gentlecat
the only logic there is how to render things on the screen
2015-09-15 25810, 2015
17:40 PM
diana_olhovik_ has quit
2015-09-15 25825, 2015
17:40 PM
Gentlecat
data comes from the API
2015-09-15 25822, 2015
17:45 PM
github joined the channel
2015-09-15 25822, 2015
17:45 PM
github
2015-09-15 25822, 2015
17:45 PM
github
listenbrainz-server/listens 2aab76f Roman Tsukanov: Show incorrect value with the error message.
2015-09-15 25822, 2015
17:45 PM
github has left the channel
2015-09-15 25830, 2015
17:48 PM
github joined the channel
2015-09-15 25830, 2015
17:48 PM
github
2015-09-15 25830, 2015
17:48 PM
github
listenbrainz-server/listens 41bdca5 Roman Tsukanov: Swap artist<->track.
2015-09-15 25830, 2015
17:48 PM
github has left the channel
2015-09-15 25807, 2015
17:50 PM
alastairp
\o/
2015-09-15 25834, 2015
17:53 PM
Gentlecat
2015-09-15 25835, 2015
17:54 PM
Gentlecat
that's a nope
2015-09-15 25846, 2015
17:54 PM
Gentlecat
guess I have to cut one myself
2015-09-15 25823, 2015
17:56 PM
ruaok
:(
2015-09-15 25853, 2015
17:56 PM
Freso
I've cut logos myself as well... maybe someone should go and make a PR adding cut logos?
2015-09-15 25816, 2015
17:57 PM
Gentlecat
maybe
2015-09-15 25836, 2015
17:57 PM
ruaok
someone should also check to make sure that we're finally pedantically happy.
2015-09-15 25840, 2015
17:57 PM
ruaok
then cut everything.
2015-09-15 25858, 2015
17:59 PM
github joined the channel
2015-09-15 25858, 2015
17:59 PM
github
2015-09-15 25858, 2015
17:59 PM
github
listenbrainz-server/new-schema-fixes 4f3a6bc Robert Kaye: Interim commit. Will continue from home.
2015-09-15 25858, 2015
17:59 PM
github has left the channel
2015-09-15 25823, 2015
18:00 PM
ruaok has quit
2015-09-15 25815, 2015
18:42 PM
ruaok joined the channel
2015-09-15 25835, 2015
18:50 PM
madmouser1
plugin question: if I have a new plugin stored under the user defined plugin folder ( .config/MusicBrainz/Picard/plugins/bpm/ui_options_bpm.py) how would the module import look e.g. "from picard.plugins.bpm.ui_options_bpm import Ui_BPMOptionsPage" but I know that is not the correct location ... picard.plugins.bpm
2015-09-15 25800, 2015
18:54 PM
github joined the channel
2015-09-15 25800, 2015
18:54 PM
github
2015-09-15 25800, 2015
18:54 PM
github
listenbrainz-server/master ae2681f Robert Kaye: Bye bye starfield. Sorry sam. Fixes LB-18
2015-09-15 25800, 2015
18:54 PM
github has left the channel
2015-09-15 25827, 2015
18:58 PM
ruaok
Gentlecat: LB-8 is going to be fixed with your branch, right?
2015-09-15 25832, 2015
18:59 PM
Gentlecat
yep
2015-09-15 25859, 2015
18:59 PM
Gentlecat
can cherry-pick commits if you want to merge fix earlier
2015-09-15 25805, 2015
19:00 PM
ruaok
naw.
2015-09-15 25823, 2015
19:00 PM
ruaok
I'm just sifting through the bugs getting a better idea of what needs fixing.
2015-09-15 25803, 2015
19:01 PM
Freso
(Btw, I'm really excited about ListenBrainz. :))
2015-09-15 25818, 2015
19:01 PM
ruaok
Freso: glad to hear that. me too.
2015-09-15 25830, 2015
19:01 PM
ruaok
if you have time to help out a little, we could use some help. :)
2015-09-15 25800, 2015
19:13 PM
Freso
If you have anything specific (which isn't coding), let me know.
2015-09-15 25855, 2015
19:14 PM
Gentlecat
cutting logos?
2015-09-15 25802, 2015
19:16 PM
Freso
Heh.
2015-09-15 25834, 2015
19:18 PM
zas
2015-09-15 25857, 2015
19:18 PM
alastairp
ruaok: that js file loads the image from imgur. we should point it to static
2015-09-15 25805, 2015
19:23 PM
Freso
Gentlecat: Should I do squares or with as little whitespace as possible?
2015-09-15 25823, 2015
19:23 PM
Gentlecat
yeah
2015-09-15 25807, 2015
19:24 PM
ruaok
alastairp: ok, will take care of it now.
2015-09-15 25807, 2015
19:24 PM
Gentlecat
I think we need one with the biggest logo and a tiny for favicon (current is not square)
2015-09-15 25855, 2015
19:28 PM
alastairp
(Meta|Acoustic|Book|Critique|Listen|Messy)Brainz + CoverArtArchive
2015-09-15 25801, 2015
19:29 PM
alastairp
anyone see anything missing?
2015-09-15 25843, 2015
19:29 PM
Gentlecat
nah
2015-09-15 25848, 2015
19:29 PM
ruaok
hah. :)
2015-09-15 25853, 2015
19:29 PM
Gentlecat
we nuked that project today, remember>
2015-09-15 25854, 2015
19:29 PM
ruaok
that might've been intentional.
2015-09-15 25855, 2015
19:29 PM
Gentlecat
?
2015-09-15 25820, 2015
19:30 PM
mfmeulenbelt joined the channel
2015-09-15 25814, 2015
19:31 PM
ruaok
Gentlecat: have you or are you planning to check in a whole logo as it was on the scraper?
2015-09-15 25846, 2015
19:31 PM
Freso
alastairp: VideoBrainz? GameBrainz?
2015-09-15 25800, 2015
19:32 PM
Gentlecat
ruaok: does it have the text?
2015-09-15 25807, 2015
19:32 PM
Gentlecat
I don't remember
2015-09-15 25809, 2015
19:32 PM
ruaok
yes
2015-09-15 25848, 2015
19:32 PM
Gentlecat
ok, then I guess you can replace one that we already have with SVG version
2015-09-15 25817, 2015
19:33 PM
ruaok
I don't see that in the img dir.
2015-09-15 25819, 2015
19:33 PM
Gentlecat
so no, no plans right now
2015-09-15 25841, 2015
19:33 PM
Gentlecat
oh, sorry
2015-09-15 25848, 2015
19:33 PM
Gentlecat
navbar logo is different
2015-09-15 25857, 2015
19:33 PM
ruaok
I'll check the full one in then
2015-09-15 25813, 2015
19:34 PM
Gentlecat is too tired to think
2015-09-15 25832, 2015
19:34 PM
ruaok
I just got my second wind.
2015-09-15 25847, 2015
19:34 PM
ruaok
loud music always helps.
2015-09-15 25854, 2015
19:35 PM
alastairp
can someone make a messybrainz favico as well?
2015-09-15 25800, 2015
19:36 PM
ruaok
Freso ?
2015-09-15 25826, 2015
19:37 PM
Gentlecat
strange, my commits didn't show up here
2015-09-15 25805, 2015
19:39 PM
Freso
I was doing some other things. Checking out logo repos now.
2015-09-15 25809, 2015
19:41 PM
ruaok
Freso: thanks.
2015-09-15 25813, 2015
19:41 PM
Gentlecat
bitmap: do you know if there's an easy way to modify URL parameters without reloading the page?
2015-09-15 25814, 2015
19:41 PM
Freso
Slow clone is slow. :)
2015-09-15 25817, 2015
19:41 PM
ruaok
I just pushed a branch too and didn't get a notification
2015-09-15 25838, 2015
19:41 PM
Gentlecat
:(
2015-09-15 25841, 2015
19:41 PM
ruaok
2015-09-15 25846, 2015
19:41 PM
bitmap
Gentlecat: from js?
2015-09-15 25850, 2015
19:41 PM
Gentlecat
yep
2015-09-15 25815, 2015
19:42 PM
bitmap
you'll have to use location.hash no matter what, I think
2015-09-15 25822, 2015
19:42 PM
bitmap
er, not hash
2015-09-15 25809, 2015
19:43 PM
bitmap
I don't know of any API for query strings, sadly
2015-09-15 25829, 2015
19:43 PM
bitmap
there's probably a bunch of things on npm for it
2015-09-15 25838, 2015
19:43 PM
Freso
40%... 70 KiB/s...
2015-09-15 25846, 2015
19:43 PM
Gentlecat
I see, ok
2015-09-15 25824, 2015
19:44 PM
alastairp
Gentlecat: what kind of parameters? after the `?` ?
2015-09-15 25813, 2015
19:45 PM
Gentlecat
I guess both /foo/<page_number> and /foo?page=<page_number> would work?
2015-09-15 25837, 2015
19:45 PM
Gentlecat
sorry, I don't remember exact name of each part
2015-09-15 25809, 2015
19:46 PM
bitmap
is the paging all done in js? might be easier to use location.hash in that case
2015-09-15 25823, 2015
19:46 PM
alastairp
2015-09-15 25831, 2015
19:46 PM
alastairp
no, no hash
2015-09-15 25832, 2015
19:46 PM
Gentlecat
yes, it's all in react
2015-09-15 25850, 2015
19:47 PM
LordSputnik joined the channel
2015-09-15 25803, 2015
19:48 PM
Gentlecat
I guess pushState would work
2015-09-15 25820, 2015
19:48 PM
alastairp
well, this is what it’s for
2015-09-15 25849, 2015
19:48 PM
Freso
Uhm. It feels kind of hackish to just crop them without using AI to do it. :/
2015-09-15 25816, 2015
19:49 PM
bitmap
if you want to maintain history with pushState, I'm pretty sure you'll need a popstate handler so it knows what to do when you go back
2015-09-15 25838, 2015
19:49 PM
Gentlecat
Freso: artificial intelligence? :)
2015-09-15 25814, 2015
19:50 PM
ruchiranga has quit
2015-09-15 25830, 2015
19:50 PM
Freso
Gentlecat: Adobe Illustrator, I'm guessing.
2015-09-15 25840, 2015
19:50 PM
Gentlecat
2015-09-15 25857, 2015
19:50 PM
Freso
All the logos seemlike they're exported from .ai equivalents.
2015-09-15 25858, 2015
19:50 PM
diana_olhovik_ joined the channel
2015-09-15 25807, 2015
19:51 PM
ruaok
alastairp PR 13 updated.
2015-09-15 25828, 2015
19:51 PM
bitmap
Gentlecat: right, or if you have jquery, $(window).on('popstate', function (event) { }) should work too
2015-09-15 25839, 2015
19:51 PM
Gentlecat
perfect
2015-09-15 25816, 2015
19:52 PM
kahu joined the channel
2015-09-15 25803, 2015
19:53 PM
alastairp
ruaok: fyi, I think you could probably use url_for, since we are going through templating
2015-09-15 25825, 2015
19:54 PM
ruaok
ok, lemme do that.
2015-09-15 25827, 2015
19:54 PM
UmkaDK has quit
2015-09-15 25814, 2015
19:55 PM
alastairp
it needs another parameter - um
2015-09-15 25846, 2015
19:55 PM
alastairp
2015-09-15 25854, 2015
19:55 PM
alastairp
use static and _extenral=Ture
2015-09-15 25827, 2015
19:57 PM
ruaok
for the svg?
2015-09-15 25851, 2015
19:57 PM
alastairp
yes
2015-09-15 25802, 2015
19:58 PM
ariscop has quit
2015-09-15 25830, 2015
19:58 PM
Gentlecat
where do you need _extenral? in the importer script?
2015-09-15 25804, 2015
19:59 PM
Gentlecat
oh, yep
2015-09-15 25848, 2015
20:01 PM
Freso tries wrangling Inkscape >_<
2015-09-15 25837, 2015
20:02 PM
ruaok
Freso: for a favicon, I would just open the svg in a browser
2015-09-15 25843, 2015
20:02 PM
ruaok
then get a screenshot of it.
2015-09-15 25847, 2015
20:02 PM
ruaok
crop, save.
2015-09-15 25858, 2015
20:02 PM
ruaok
favicons can't be svg can they?
2015-09-15 25809, 2015
20:03 PM
Gentlecat
there's actually a png
2015-09-15 25833, 2015
20:03 PM
Freso
ruaok: For a favicon, I'd use the already available no text ListenBrainz_logo_icon.png
2015-09-15 25840, 2015
20:03 PM
Gentlecat
so you can just add some pixels on the sides
2015-09-15 25849, 2015
20:03 PM
ruaok
ok, you're not doing the favicons then. :)
2015-09-15 25836, 2015
20:07 PM
mfmeulenbelt
2015-09-15 25854, 2015
20:07 PM
ruaok
> @user_bp.route("/lastfmscraper/<user_id>.js")
2015-09-15 25809, 2015
20:08 PM
ruaok
I guess that is why the space in username problem exists. :)
2015-09-15 25821, 2015
20:08 PM
mfmeulenbelt
I personally don't care that much but I can't translate it if I don't understand it.
2015-09-15 25810, 2015
20:09 PM
alastairp
ruaok: it should work - it’ll just %20 it
2015-09-15 25817, 2015
20:09 PM
ruaok
mfmeulenbelt: this might be a better question for the #musicbrainz channel :)
2015-09-15 25820, 2015
20:10 PM
mfmeulenbelt
ok, I'll check there then
2015-09-15 25852, 2015
20:13 PM
Freso
2015-09-15 25833, 2015
20:14 PM
ruaok
svg-logo updated
2015-09-15 25837, 2015
20:14 PM
github joined the channel
2015-09-15 25837, 2015
20:14 PM
github
2015-09-15 25837, 2015
20:14 PM
github
listenbrainz-server/svg-logo 72cf0fb Robert Kaye: Use url_for.