I wonder whether it would make sense to move the Dockerfile and docker-compose.yml to bb-site instead, modify the Dockerfiles to reuse common components and then have a service that builds the repo and runs it
2018-11-27 33122, 2018
Leo_Verto
I guess you'd lose the advantage of tools like nodemon but would be able to test -site in a more production-like environment
2018-11-27 33128, 2018
Leftmost
I'd prefer to keep the existing Dockerfile in -site, as that's the one that's needed for deployment, but I think trying to use docker for running an actual development server would be kind of a pain, since you'd have to rebuild the image for it to take local changes into consideration.
2018-11-27 33109, 2018
Leo_Verto
Yeah, although that shouldn't take much longer than restarting the server with a properly structured image
2018-11-27 33108, 2018
Leo_Verto
I think the problem with the current Dockerfile in -site is that it isn't clearly marked as prod-only which results in people trying to use it for development
2018-11-27 33110, 2018
Leftmost
Using a docker-compose to run the necessary ancillary services makes a lot of sense to me and would allow us to provide a good testing database and the like. Running the actual BB service manually and having it use those services, though, seems a lot easier to manage than trying to do it as a Dockerfile.
2018-11-27 33134, 2018
Leo_Verto
Yeah, that's probably what most BB devs are doing anyways just without a compose, right?
2018-11-27 33138, 2018
Leftmost
Hmm. I'm open to ideas on that, though I'd like to keep it in the repo and we could maybe document things better in the README.
2018-11-27 33142, 2018
Leftmost
Yep.
2018-11-27 33149, 2018
Leo_Verto
Maybe renaming it to something like Dockerfile.prod would make it less confusing?
2018-11-27 33146, 2018
Leftmost
Could do. I don't know what the deployment process would look like for zas, so it might help to coordinate with him, but renaming it sounds good in theory.
2018-11-27 33111, 2018
Leo_Verto
What I dislike about the current situation is that there seems to be a lot of duplication regarding docker stuff, for example bookbrainz-docker even has a site-prod service
2018-11-27 33151, 2018
Leftmost
My hope would be that -docker could be archived eventually and the necessary bits and bobs could be integrated into -site, where they'll be most discoverable and useful.
2018-11-27 33142, 2018
Leo_Verto
Yeah, it has a really useful script for automatically setting up the latest dump in postgres
2018-11-27 33110, 2018
D4RK-PH0ENiX has quit
2018-11-27 33100, 2018
D4RK-PH0ENiX joined the channel
2018-11-27 33108, 2018
demonimin has quit
2018-11-27 33123, 2018
Nyanko-sensei joined the channel
2018-11-27 33126, 2018
D4RK-PH0ENiX has quit
2018-11-27 33108, 2018
Nyanko-sensei has quit
2018-11-27 33146, 2018
D4RK-PH0ENiX joined the channel
2018-11-27 33144, 2018
Leo_Verto_ joined the channel
2018-11-27 33124, 2018
Leo_Verto has quit
2018-11-27 33124, 2018
Leo_Verto_ is now known as Leo_Verto
2018-11-27 33107, 2018
Cyna has quit
2018-11-27 33152, 2018
dolina has quit
2018-11-27 33104, 2018
Protab joined the channel
2018-11-27 33104, 2018
Rotab has quit
2018-11-27 33159, 2018
dolina joined the channel
2018-11-27 33120, 2018
dolina has quit
2018-11-27 33109, 2018
dolina joined the channel
2018-11-27 33105, 2018
dolina has quit
2018-11-27 33108, 2018
loujine has quit
2018-11-27 33115, 2018
loujine joined the channel
2018-11-27 33136, 2018
dolina joined the channel
2018-11-27 33152, 2018
outsidecontext joined the channel
2018-11-27 33127, 2018
github joined the channel
2018-11-27 33128, 2018
github
[picard-plugins] phw opened pull request #185: Update gpl2 or later licenses (2.0...update-gpl2-or-later-licenses) https://git.io/fpzZh
there is more chatter about moving the blog away from the musicbrainz.org domain to metabrainz.
2018-11-27 33148, 2018
ruaok
but we desperately need a new wordpress theme for the blog.
2018-11-27 33108, 2018
ruaok
I don't think we need a custom one per se, but a nicer one that maybe uses our colors a bit.
2018-11-27 33109, 2018
chhavi_
Yep alive and can do better cooking than before :p
2018-11-27 33136, 2018
ruaok
LOLOLOL, I'm still finding random indian food items in my kitchen.
2018-11-27 33155, 2018
ruaok
and I'm going to try the student noodles before too long.
2018-11-27 33159, 2018
ruaok
I found a pack of noodles.
2018-11-27 33101, 2018
chhavi_
Oh that can be done. I don't have much experience with wordpress, but sure can figure it out.
2018-11-27 33129, 2018
chhavi_
lol, guilty of leaving bits and bombs of Indian food in your kitchen.
2018-11-27 33130, 2018
ruaok
I think the main skill is more about picking a good theme, then anything wordpress related.
2018-11-27 33106, 2018
ruaok
so, our blog is hosted by wordpress.com and we pay for the service.
2018-11-27 33153, 2018
ruaok
this might be as simple as logging into the blog and tinkering with the theme.
2018-11-27 33159, 2018
chhavi_
I have the author rights. Seems like to customize, I need admin rights? But I can still pick a theme using my personal account and ask Freso or you to use it
2018-11-27 33118, 2018
ruaok
you're an admin now.
2018-11-27 33120, 2018
chhavi_
Yep can see the themes now. Will have a look and get back by evening :)
2018-11-27 33108, 2018
ruaok
<3
2018-11-27 33137, 2018
reosarevok
Suddenly, the blog is now called "chhavi_'s student cooking blog for busy people"
2018-11-27 33152, 2018
Rotab joined the channel
2018-11-27 33120, 2018
ruaok
zas: ping
2018-11-27 33139, 2018
Mr_Monkey
Leo_Verto, Leftmost : Yeah, the satet of dockerfiles for BB is pretty bad.
2018-11-27 33139, 2018
Mr_Monkey
I've been using more or less the bookbrainz-docker repo's docker-compose file to run the dependencies, and running the site manually alongside.
2018-11-27 33139, 2018
Mr_Monkey
That's been working well. As Leo pointed out there are some useful scripts in bb-docker for setting up the DB that I'd like to incorporate.
2018-11-27 33122, 2018
ruaok
let me know if you want some quality time on the docker files, Mr_Monkey.
2018-11-27 33133, 2018
ruaok
that something we might go to the office and collaborate on for a day.
2018-11-27 33145, 2018
Mr_Monkey
Hey, that's be great
2018-11-27 33108, 2018
Mr_Monkey
I started working on it a bit, but it's a good mess at the moment
2018-11-27 33115, 2018
chhavi_
reosarevok: I hope you are subscribed to it :p
2018-11-27 33132, 2018
ruaok
tomorrow?
2018-11-27 33146, 2018
Mr_Monkey
And I want to make it as easy as running one or two commands to set everything up for a first time user, which is complex.
2018-11-27 33147, 2018
ruaok
I'm finally motivated to get the 2016 report written today and that will take me most of the day.
2018-11-27 33101, 2018
Mr_Monkey
ruaok: Yes, can do tomorrow!
2018-11-27 33109, 2018
ruaok
Mr_Monkey: yep, for the we have develop.sh -- which does exactly that.
2018-11-27 33117, 2018
ruaok
that should be our first goal.
2018-11-27 33135, 2018
ruaok
from there we can figure out what is needed for production docker files.
2018-11-27 33140, 2018
ruaok
ok, tomorrow it is!
2018-11-27 33121, 2018
Mr_Monkey
Great :)
2018-11-27 33158, 2018
zas
ruaok: poong
2018-11-27 33103, 2018
ruaok
heya.
2018-11-27 33108, 2018
zas
mooin
2018-11-27 33112, 2018
ruaok
I'm collecting data for the 2016 annual report.
2018-11-27 33128, 2018
ruaok
in broad strokes, how would you characterize our traffic for 2016?
2018-11-27 33148, 2018
ruaok
I'm looking to collect about a paragraph worth of description.
2018-11-27 33157, 2018
zas
you mean pre-hetzner ?
2018-11-27 33102, 2018
ruaok
I know we have precious little data.
2018-11-27 33120, 2018
ruaok
yes, and the short hetzner period on 2016.
2018-11-27 33127, 2018
ruaok
I don't think there was much change.
2018-11-27 33112, 2018
zas
the main point is that we introduce better "bad" traffic filtering when we moved, so the traffic decreased partly, but at the same time the QNAP shit started (in fact, it started something like 3 months before the great move)
2018-11-27 33144, 2018
ruaok
even more than that.
2018-11-27 33151, 2018
ruaok
it started in dec 2015.
2018-11-27 33104, 2018
zas
the thing is we were also limited by our servers before the move, remember we had a lot of refused queries on ws (for example) because of limited resources we had (server capacity, and limited traffic). We increased the traffic a bit (at a cost) partly to compensate extra traffic (which, later, was identified as due to QNAP thing)
2018-11-27 33144, 2018
zas
and services were very instable, with a lot of failures, mostly due to limited capacity
2018-11-27 33103, 2018
ruaok remembers all of that.
2018-11-27 33108, 2018
zas
in this regard the switch to hetzner started to improve the situation (which is even better now)
2018-11-27 33125, 2018
ruaok
now let's destill this into a paragraph. :)
2018-11-27 33125, 2018
zas
but what do you want to know exactly ?
2018-11-27 33141, 2018
ruaok
that. just recapped into a paragraph.
2018-11-27 33128, 2018
zas
hmmm, i may actually need a bit more of caffeine, but let's try: pre-move, we had limited bandwidth, old servers, limited human resources, the move to hetzner, helped on all those fields, bandwidth is a non-issue atm, rented servers with an excellent performance/cost ratio, and more incomes (because we can handled more), leading to more human resources
2018-11-27 33117, 2018
Nyanko-sensei has quit
2018-11-27 33144, 2018
zas
non-legit traffic is also more in control now, so the waste of resources reduced
2018-11-27 33153, 2018
D4RK-PH0ENiX joined the channel
2018-11-27 33104, 2018
ruaok can wait for a post coffee ver2
2018-11-27 33105, 2018
ruaok
:)
2018-11-27 33125, 2018
zas
overall, we all know we had to do "something", and it happened facts are showing we did a not-too-bad choice: cutting useless costs (direct or indirect) while increasing significantly the infrastructure capacity, while keeping the overall cost on the same level. Extra incomes are going mostly to human resources.
the JSON-LD contract is one example, but the GSOC mentor stipends are also part of that.
2018-11-27 33148, 2018
reosarevok
"4030 Income - Consulting - General 6,300.00"
2018-11-27 33112, 2018
ruaok
GSoC.
2018-11-27 33119, 2018
ruaok
and code-in.
2018-11-27 33146, 2018
reosarevok
Ooh, ok :)
2018-11-27 33110, 2018
ruaok
I might create a new category for those that is more clear.
2018-11-27 33142, 2018
reosarevok
I mean it's not a huge deal, just was curious :) But it wouldn't hurt
2018-11-27 33111, 2018
ruaok
yeah. I can do that for next year. too late for this.
2018-11-27 33149, 2018
antara joined the channel
2018-11-27 33143, 2018
antara
hi, I'm wondering how to add aliases to an instrument in the musicbrainz database
2018-11-27 33151, 2018
antara
and what exactly the rules for addition are
2018-11-27 33133, 2018
antara
because I've read the alias documentation details but for some instruments that I want to add the name is the same in more than one language, and strangely some different instruments seem to have the same aliases