#metabrainz

/

      • humhumxx joined the channel
      • MrClon has quit
      • akshat
        lucifer: we can have the tagger available on iphone
      • Until now we assumed that wouldn't be possible right, but I recently checked the flow and there are a few apps which allow that plus we can get the permission to do that
      • MrClon joined the channel
      • Etua joined the channel
      • Etua has quit
      • HorusHorrendus has quit
      • mruszczyk has quit
      • englishm has quit
      • HorusHorrendus joined the channel
      • englishm joined the channel
      • mruszczyk joined the channel
      • bitmap: do we plan to stick with Perl for mb or a migration to javascript is possible?
      • HorusHorrendus has quit
      • englishm has quit
      • englishm joined the channel
      • HorusHorrendus joined the channel
      • humhumxx has quit
      • lucifer
        akshat: oh. great!
      • akshat
        lucifer: one of the members on the forums commented that we need to enable javascript for my version of mb to work. Is that a valid argument because I haven't heard a request as to not enabling javascript ever.
      • lucifer
        akshat: MB already uses javascript heavily. afterall react is JS. not sure what they meant.
      • akshat
        Yeaahh ikrr
      • lucifer
        iirc the page you shared had erorrs in console. did you check those out?
      • akshat
        I fixed that. I'm currently using itunes api as a mock for the coverart lol
      • Regarding the coverart, I need to make a certain type of request, which I checked out on the current mb server and we use Perl for that
      • lucifer
        i see, can you share your webpage again?
      • akshat
      • I'm currently making a few more changes as per the requests made on the forum
      • lucifer
        its working for me
      • akshat
        Yay
      • I'm planning to add a barcode scanner along with the search bar
      • So that people can just scan a barcode from their webcam and find information about that release
      • lucifer
        probably hide it by default because a large number of desktop devices probably won't have it.
      • akshat
        Makes sense
      • tandy[m]
        <akshat> "lucifer: one of the members on..." <- i think we should make an attempt to make the site work in javascript free browsers
      • it would be a shame for the ui revamp to affect users of the site
      • lucifer
        MB already uses JS heavily. the move to react has been ongoing for a couple of years now. its independent of the UI revamp.
      • tandy[m]
        lucifer: yes, this user says he is able to use MB as it is now without javascript
      • lucifer
        the UI revamp doesn't affect users because the website wouldn't be working in javascript free scenario anyways even today (at least not fully funcitonal).
      • tandy[m]
        yes they said they use some functionality
      • lucifer
        umm, interesting. someone from the MB team probably know better then.
      • akshat
        What's wrong with enabling javascript btw?
      • Like why would that be a preference
      • tandy[m]
        some people like to avoid it
      • lucifer
      • akshat
        Considering this, people should never use mobile apps or anything proprietary then damn
      • For example while developing android apps, you can't take any security measures then. Devs can send any amount of your data for analytics through background processes
      • tandy[m]
        akshat: i try to do this
      • a lot of other people in our community do too, since its a FOSS project
      • akshat
        But the fact about FOSS project is that people can see the legitimacy of our work as well right
      • But yeah, I think the internet is becoming responsible with every day and for any critical information, we do need permissions, such as the user's location
      • tandy[m]
        akshat: yeah, thats true, but at the moment we do some unsavoury things like loading twitter embeds
      • which require non free javascript etc
      • akshat
        Agreed. I'll remove that then. We can make our own component and render our posts directly
      • I think the UI has been tested successfully though. I'll try to wrap up with the changes tonight let's see
      • tandy[m]
        great work btw!
      • akshat
        Thank you! Still a long way to go :)
      • bitmap: I think a solid feature would be to have a section which timely fetches the recent edits made if that's possible
      • Example: "akshat recently added the release xyz"
      • Or maybe some stats as to, this month, abc added 50 artists
      • I think with the latter we can showcase our members who are active on the website
      • shivam-kapila
        akshat: the new look is awesome. I noticed the dark mode didnt work properly in my mobile
      • akshat
        Yup shivam-kapila that is taking a while. Optimising the code so that switching doesn't be a pain we expand the codebase further
      • Thanks btw!
      • bitmap
        akshat: re: JavaScript on MB, we intend to make sure you can browse or view data without client JS enabled. so for any given entity or piece of data that's public, there should be a static page to view it on and a way to get there. adding/editing data is a different matter & we do require client JS for those pages/components
      • zas
        hey bitmap
      • bitmap
        we don't have any plans to move away from Perl for the backend at the moment, though we do use a lot of JS on the server already: it's just in a separate "template renderer" process, and expects to be fed all of the data it needs to render things (it can't fetch data on its own)
      • hi zas
      • zas
        I did some tuning related to mb website & ws , changed weights of each upstream a bit, accounting current mean load etc... I also gave much more importance to patton, which is currently only used for that (and is a quite fast server)
      • bitmap
        akshat: you can view your recent edits from the "My Data" menu, but it sounds like you want something more summarized? or do you mean recent edits for a particular entity?
      • zas: thank you! yeah, I saw the docker-server-configs commits
      • akshat
        bitmap: Hi! Kinda like a social news feed for mb
      • On what's currently being edited or looked at
      • Or some stats regarding the editors or releases. Only if it's possible or we might already have that data
      • Nothing extra
      • bitmap
        oh ok, so recent edits being made everywhere and displaying a feed somewhere prominent
      • akshat
        Yaass
      • bitmap
        yes that would be neat to show activity on the site
      • akshat
        Yaass
      • bitmap
        we have some very basic aggregate editor stats, though the page might be kinda hidden: https://musicbrainz.org/statistics/editors
      • certainly has room for improvement
      • akshat
        Wow Awesome!
      • bitmap: could you guide me on how to avoid client side javascript for react projects?
      • You can answer that when it suits you. I'll probably share the link to the work soon and if you could have a look it then, that would be great. So if there are any migrations needed to move the work to server side, I could do it accordingly
      • bitmap
        well, you typically have a Node server running, and when serving a request you'd render the components to html with https://reactjs.org/docs/react-dom-server.html
      • in MBS the setup is a bit weird, since requests are handled by Perl. so we have to communicate with Node over a local socket to get the rendered html. this actually works quite well - https://github.com/metabrainz/musicbrainz-serve...
      • akshat
        But wouldn't that increase the load on our server?
      • If we follow server side js?
      • bitmap
        sure, that was a concern when we used Template Toolkit to render the website (which was Perl-based)
      • but node.js is pretty fast - google et al spent $$$ to optimize the heck out of their JS engine
      • akshat
        Interesting
      • I think we do have a discussion regarding this upcoming this summit. Looking forward to it
      • bitmap
        yup, me too
      • shivam-kapila has quit
      • shivam-kapila joined the channel
      • akshat has quit
      • Freso has quit
      • akshat joined the channel
      • HorusHorrendus has quit
      • englishm has quit
      • HorusHorrendus joined the channel
      • Freso joined the channel
      • englishm joined the channel
      • adhawkins has quit
      • krishan has quit
      • [1997kB] has quit
      • krishan joined the channel
      • [1997kB] joined the channel
      • krishan has quit
      • krishan joined the channel
      • yyoung[m]
        I guess MB works without JS because we're using SSR right now? Moving to pretty modern SPA would be a problem, since the pages are rendered on client side to avoid refreshing.
      • But it surely has its advantage. Refreshing for every click introduces great network connection overhead.
      • IIUC, we do have some features that require JS, for example, URL cleanup, also other jQuery related things, data display wouldn't require that though.
      • adhawkins joined the channel
      • kinduff has quit
      • kinduff joined the channel
      • v6lur joined the channel
      • Guest5 joined the channel
      • Guest5 has quit
      • wargreen_ has quit
      • wargreen__ joined the channel
      • kinduff has quit
      • kinduff joined the channel
      • BrainzGit
        [musicbrainz-docker] 14nikosmichas opened pull request #206 (03master…use_max-workers_instead_of_nproc): Replace nproc with max-workers in start_server command https://github.com/metabrainz/musicbrainz-docke...
      • v6lur has quit
      • milkii has quit
      • milkii joined the channel