#dev 2020-12-27
2020-12-27 UTC
[asuh], [tw2113_Slack_], geoffo, [KevinMarks], nickodd, deathrow1 and [Raphael_Luckom] joined the channel
# [Raphael_Luckom] I'm looking at https://indieweb.org/IndieAuth#Implementations to find an example indieauth implementation to read because I might be interested in making one myself. Are there any caveats about versions / recent changes I should keep in mind while I'm looking?
# [Raphael_Luckom] ok, I'll start with the spec. https://aaronparecki.com/2018/07/07/7/oauth-for-the-open-web is a readable overview linked prominently on the wiki, hopefully it's still largely accurate?
# [Raphael_Luckom] cool, thanks! that's the level I'm trying to make sure I understand rn.
# Zegnat https://aaronparecki.com/2020/12/03/1/indieauth-2020 is a really nice write up about changes that were made to the spec in 2020. But I am not sure how informative it is if you do not already have a baselevel of understanding of IndieAuth.
# [Raphael_Luckom] ok, that seems like a place to go next, that's perfect
# [Raphael_Luckom] thanks!
[jgmac1106], gxt and shoesNsocks joined the channel
# jeremycherfas Morning Zegnat. I have the chartist legends plugin working fine if there is only one chart on the page, or if it is only called for one chart. If I call it for two separate charts, I see it flash momentarily in the first chart, and then it appears properly for the second. I'm wondering, is there a way to ensure that once inserted into the first chart, it stays there even after it is inserted (with different data) into the
# jeremycherfas second.
# jeremycherfas Hard to share code as I am doing all this locally and there are lots of dependencies while I get it working.
# jeremycherfas To be honest, my main worry now is that the plugin looks to be fairly neglected, so I wonder whether I should continue.
ShadowKyogre joined the channel; ShadowKyogre left the channel
# jeremycherfas Looking around, it seems that the problem is with the bower install. I'm going to reinstall. https://github.com/CodeYellowBV/chartist-plugin-legend/issues/17
[KevinMarks] joined the channel
# jeremycherfas Yes, but to that I would counter that chartist and all the plugins should get rid of all references to Bower!
# jeremycherfas It does in the chartist examples.
# jeremycherfas So, not his fault.
# [KevinMarks] I has that with shoelace - I was linking the build on their CDN, but when they went 2.0 they deprecated 1.x and I had to host locally, and all my pages were unstyled for a bit. (They had wanted me to use some packaging thingy to do it)
# jeremycherfas using `npm` to reinstall everything, it works as I expect. Almost ready for production ...
# jeremycherfas Not sure what if anything to do. Maybe an issue at chartist.js to suggest removing all mention of Bower.
geoffo joined the channel
# jeremycherfas I've learned that not using a CDN is not as scary as I thought it would be, which is a good opportunity to go for a brief walk.
# [Raphael_Luckom] that's a very good thing to learn. opens up a lot of doors
ShadowKyogre left the channel
# jeremycherfas I am beginning to understand that. Even though there are more moving parts, you can actually control them better.
# [Raphael_Luckom] yeah, one of the great mysteries: sometimes it's _better_ to have two problems than one. 😄
# jeremycherfas At least having things on hand allows you to poke around with a bit more direction.
pauho joined the channel
# [Raphael_Luckom] kinda like applying the concept of "economies of scale" to system complexity. When you try to do more things yourself, you have a bigger complexity budget to spend, which lets you do some things more efficiently
# [Raphael_Luckom] also falls into the category "hell of a drug" 😄
# jeremycherfas Do I need to use npm to install afresh on the production site, or can I copy over the `node_modules` folder to where it needs to be?
# [Raphael_Luckom] copying will _likely_ work. I would assume that part of the question is "do I need to install npm on myprod system"?
# [Raphael_Luckom] if you aren't using node on the server, then there's no reason I can think of that copying wouldn't work
# [Raphael_Luckom] and if you are using node, it will probably work
# jeremycherfas That's more complicated, because I develop my site and write for it locally, then upload to production via git and a webhook. So, need not enter into it.
# [Raphael_Luckom] yes it's very common for a build system (in this case, your local machine) to run npm itself and then upload artifacts to a prod server
# jeremycherfas Cool. That's one less thing to worry about. One more thing to figure out (tomorrow) and that will be how to load the js and its associated css conditionally only when needed. But I think I know how to do that.
# jeremycherfas Following up on that, zegnat, when I actually went to look at npm for chartist, there are a whole lot of other things there that may (or more likely may not) be useful in future.
# [Raphael_Luckom] exactly. As Zegnat implies, it's a sloppy practice for library authors to assume that consumers will want to use npm. There are plenty of good reasons not to want that
# [Raphael_Luckom] Anyone can publish anything to npm
# [Raphael_Luckom] It's plausible that it could work indefinitely, so if you're happy with it for now there's no reason to switch
schmudde, nickodd, geoffo, [chrisaldrich] and swentel joined the channel; nickodd left the channel
[tantek] joined the channel
ShadowKyogre joined the channel; ShadowKyogre left the channel
gxt and [cleverdevil] joined the channel
[Raphael_Luckom] joined the channel; ShadowKyogre left the channel
# [Raphael_Luckom] clearly there is an idle time quota smh
# [Raphael_Luckom] sorry, meant as a joke.
Loqi and [KevinMarks] joined the channel