fair enough KassOtsimine you have already helped me a great deal!
KassOtsimine
i'm going to bed also ,since it's late here (almost 5 am)
sparky_005
happy new year!
KassOtsimine
natta \o
MajorLurker
that´s not late, that´s early
KassOtsimine
godt nytt år!
it's late if oy've been upp al mnight ;)
MajorLurker
ha ... get some sleep
naiveai
LordSputnik: regarding the const/let change
LordSputnik: I've made the change, but I'd like to understand a little more about this. Personally, when I saw the modification after the `const` declaration, I had to do a double-take. A fairly small one in this case, but a double-take regardless. I did ask on `##javascript` and they also said it's best to use `const` in this case, which makes me think it's a JS best practice/idiom.
Is that the case?
leon joined the channel
leon is now known as Guest17167
Guest17167
Hello
I am trying to setup picard-website locally and following the install.md for linux however when I am running pip install -r requirements.txt I am facing an error Complete output from command python setup.py egg_info:
Traceback (most recent call last):
File "<string>", line 1, in <module>
File "/tmp/pip-build-g83s_q00/transifex-client/setup.py", line 14, in <module>
if long_description.startswith(BOM):
TypeError: startswith first arg must be str or a tuple of str, not bytes Command "python setup.py egg_info" failed with error code 1 in /tmp/pip-build-g83s_q00/transifex-client/
How to solve this error?
Ihad posted this before also
No help
still on this issue
naiveai
Guest17167: what's your python --version?
this looks like a str/bytes issue
annebelleo has quit
and check your pip --version as well?
d4rkie joined the channel
annebelleo joined the channel
Guest17167
@naiveai its 3.5.2
D4RK-PH0ENiX has quit
naiveai
Guest17167: yep, that's probably it. try 2.7
Guest17167
pip is 9.0.1
okay I'll try changing it to 2.7
haruute[m]
works normally with 2.7, im using it atm :)
arthelon[m]
naiveai: yep, using const > let is a best practice
Guest17167
Ok I did alias python=python2 in virtualenv
But still getting the same error
naiveai
naiveai
Guest17167: alias probably won't change what pip install does
can you post the full output of pip --version?
it should have the python version it's using in it as well
you can also probably try using pip2 install -r requirements.txt
or creating a new virtualenv with py2
Guest17167
Okay
naiveai
anshuman73: not sure what do about lint errors that appeared suddenly on gh:CB#166
I am new to JIRA. So I was wondering how do I make a PR?
haruute[m]
hi leon__ you can make a PR on Github
iliekcomputers
Happy new year, #metabrainz! ❤️❤️
Ashish joined the channel
leon__ has quit
Slurpee has quit
leon__ joined the channel
ferbncode[m]
Happy new year everyone o/
leon__ has quit
D4RK-PH0ENiX joined the channel
d4rkie has quit
Ashish has quit
d4rkie joined the channel
D4RK-PH0ENiX has quit
Rotab has quit
Rotab joined the channel
drsaunde has quit
drsaunders joined the channel
IsaacZanoria joined the channel
IsaacZanoria
hi guys, does anyone here happen to be familiar with the bookbrainz database?
i need to make some pretty charts using data from a db backup, and im trying to do something using the language_set__language data, but i can't figure out which language each of the "language_id"s are supposed to represent
naiveai
IsaacZanoria: you look them up in the languages table IIRC, lemme just check with my copy
IsaacZanoria: SELECT * FROM musicbrainz.id WHERE id = 1;
Sorry, not musicbrainz.id, musicbrainz.language
that will return a column with information about the language, including the name
not a column, *row :P always get confused with those
dragonzeron
50 MILLION EDITS ON MUSICBRAINZ
IsaacZanoria
thank you naiveai
naiveai
🎊🎉 WOHOOO!!! 🎊🎉
LordSputnik
naiveai: so it can be const because you're not changing the variable itself, just a property of the object
naiveai
yeah, now it does make sense
yashg21 has quit
KassOtsimine has quit
KassOtsimine joined the channel
drsaunders has quit
d4rkie has quit
D4RK-PH0ENiX joined the channel
LordSputnik: on it
D4RK-PH0ENiX has quit
D4RK-PH0ENiX joined the channel
LordSputnik: done!
convineintly, this change also rounds out this PR at 25 total commits!
LordSputnik
Haha nice
OK, having a look now
naiveai: typo in the latest commit
naiveai
:(
LordSputnik
line 70 entityRouteUtils
Looks good apart from that
I guess 26 commits has the benefit of being an even number though ;)
naiveai
well, it's so small I'm going to do an --amend
I promse I'll pay a lot more attention in the future :( i keep ignoring such things out of a combination of laziness and thinking "it's such a small change, why check it"
done!
you may have noticed that I am a fan of _.partial & _.partialRight :D
LordSputnik
naiveai: yeah I'm undecided about partial... but it works for the time being
I'm worried it makes things less clear
naiveai
personally, I feel it's perfect for situations like this
but I am just generally a fan of very functional programming, so I'm biased lol