#dev 2019-10-12
2019-10-12 UTC
[KevinMarks], [tantek], KartikPrabhu, jfoster, [aaronpk], gRegorLove_, [Lewis_Cowles], [fluffy], bengoDiscord[m] and [jeremycherfas] joined the channel
#
@AndreJaenisch ↩️ Official spec: https://www.w3.org/TR/webmention/
Known software: https://indieweb.org/Webmention#Publishing_Software
SaaS: https://indieweb.org/Webmention#webmention.io
My inherited take on implementation: https://github.com/Ryuno-Ki/webmention-tools
AFAIK no implementation in Racket. But you could use a CLI for it in interim. (twitter.com/_/status/1182899056915505153)
[Nicolas_Hoizey], deathrow1 and djmoch joined the channel
iburnmycdDiscord and [jgmac1106] joined the channel
#
[jgmac1106] playing with Terminal and printing files to figure out easy way to mantain a list of my music collection: https://jgregorymcverry.com/musiccollection.txt
#
jeremycherfas !tell [jgmac1106] I'm not sure PHP is the best language for creating graphics. I've looked at r but it seems like overkill. Creating SVGs from scratch seems way too difficult. I'd use something like Numbers but I do not want to go through manual for both data capture and storage AND image generation.
#
jeremycherfas Capture and storage more or less have to manual, because I'm getting the data from a variety of places. I'm happy to create key pairs for each data point.
#
jeremycherfas I wabnt to learn how best to generate the kinds of images I want from those data.
[KevinMarks] joined the channel
#
[KevinMarks] Svg isn't that hard - it's like html. You can use a template model, or just write code to generate it. You have to make it xml compliant, to be standalone, but you can inline it in html files, so php works quite well.
#
[KevinMarks] What kind of images are you trying to make?
#
jeremycherfas Time series lines from, say, average steps per day by month.
#
jeremycherfas Bar charts
#
jeremycherfas My thought was that I don't really need the images to be dynamic, just generate fresh each month and each year.
deathrow1 joined the channel
#
Zegnet jeremycherfas, if you want to cheat, you can make it a number of empty DIV elements, give them all the same CSS, and then with PHP or JS set an explicit height on all of them.
#
jeremycherfas Sounds like an awful lot of work.
#
jeremycherfas And I don't want to cheat. I want to learn how to do it. My latest monthly report makes that clear to me.
#
Zegnet Depends on exactly what end result you are going for. If you can just do something where the height is `$steps * 3px` it is super easy.
#
jeremycherfas People like exist.io have to be using groovy packages to do what they do. That's all dynamic, but must be doable.
#
Zegnet I ended up using https://gionkunz.github.io/chartist-js/ for my weight graph. Not doing anything fancy with animations or anything, but I did find it relatively easy to add points to the graph and have them handle drawing the lines
#
Zegnet Hang on, this is not supposed to be my user name!
#
jeremycherfas So funny; didn't even notice.
#
jeremycherfas Chartist.jc is going onto my research cheat, pronto.
#
jeremycherfas Js
#
jeremycherfas So do you think that it is efficient enough so that if I want a chart in each month, for example, I could just make it dynamic and limit the series from which it pulls?
[Rose] joined the channel
#
jeremycherfas I probably need to take a step back too and learn about using an API properly.
#
jeremycherfas !tell zegnat,[Rose] See you in Brighton!
#
jeremycherfas It's the "feeding it JSON" that's a bit of a mystery to me. I've done it with leaflet.js but in a very cargo cult way.
#
jeremycherfas Weight is the one thing I don't feel any need to graph.
#
jeremycherfas The low-level nuts and bolts of things like chartist.js scare me. When they talk about installing and integrating dependencies, I get lost quickly.
#
[Rose] https://www.chartjs.org/ Chart.js by the way
#
jeremycherfas Chartist is something different. https://gionkunz.github.io/chartist-js/getting-started.html
#
jeremycherfas Have you got it installed, zegnat, or are you using the CDN?
#
jeremycherfas Well, if I have time I will play so that I can at least ask intelligent questions in Brighton.
#
jeremycherfas Suits me fine. I do though want to understand how to feed it data from a file rather than have the data in the HTML.
#
[Rose] https://www.chartjs.org/docs/latest/charts/polar.html This is giving me ideas
#
jeremycherfas You could do a polar of you distance and bearing from home.
#
[KevinMarks] Bar and line charts are pretty easy with php or any templating language - you're calculating width and height, and you can scale in a couple of ways.
#
[KevinMarks] Drawing axes and labels is usually more annoying
#
[KevinMarks] A bit of explanation here http://www.kevinmarks.com/svgsparklines.html
#
jeremycherfas Thanks again for that [KevinMarks] I have used it to track spam on my site.
#
jeremycherfas I'm one of the unknown comments.
#
jeremycherfas The most recent one, in fact.
[aaronpk] and [Lewis_Cowles] joined the channel
#
[aaronpk] Zegnat here you go: https://www.dfrobot.com/blog-656.html
#
[Rose] Google showed me this: https://www.openhak.com/
#
[Rose] Oooh, this looks interesting: http://www.getshimmer.co/
dhanesh95, dhanesh95_, dougbeal| and [grantcodes] joined the channel
#
jeremycherfas is loving <details> and <summary> but finding it hard to style them.
#
[KevinMarks] I know what you mean - I used them in a table layout and it makes it do weird things
#
jeremycherfas But a super easy way to hide inessential material and yet make it easily available.
BenLubar, dougbeal| and [dougbeal] joined the channel
#
[jgmac1106] Agree as well. Be really cool if the summary box could live outside of details... But I guess that is what javascript is for
gRegorLove_ joined the channel
#
[KevinMarks] You can do the equivalent with css checkbox tabs if you want more control
[Rose] joined the channel
#
[Rose] This is the Python project I’m using: https://github.com/birkenfeld/led-name-tag-programmer
dhanesh95 joined the channel
#
aaronpk ok wow someone did it http://www.daveakerman.com/?p=1440
IBurnMyCDTRTLDis left the channel
#
aaronpk darn if there were 7 segments then I could make it display "aaronpk" https://shop.pimoroni.com/products/microdot-phat
#
@kevinmarks ↩️ @pamelarosiedee @BethanCantrell Sounds like IndieAuth. (twitter.com/_/status/1183085398601404421)
gRegorLove_ joined the channel
nhoizey_, [tantek], [KevinMarks], KartikPrabhu and gRegorLove_ joined the channel
[jgmac1106], [Michael_Beckwit and gRegorLove joined the channel
#
[jgmac1106] Need to experiment. When I throw some WordPress blogs into inoreader I get choices of different feeds people publish.
#
[jgmac1106] Trying to recreate that with my site. Not sure if the all the rss feeds have to be in <head>
#
[jgmac1106] Either that or I need to publish a "how to follow" page like @chris
#
[jgmac1106] Most of the feeds I follow are WP. Discovery works better. I have to seperate my feeds. No one should touch the firehose
#
[jgmac1106] I know a few folk but they make my feed it's own channel
#
[jgmac1106] Some follow poetry, some bookmarks, others articles. I am trying to determine... Drop url into reader and here are choices of rss feeds
#
[Michael_Beckwit there's also /feed/ and then also /feed/atom/
#
[Michael_Beckwit in august or so, i read up on differences and settled on favoring atom more than RSS2
#
[jgmac1106] Simultaneously learning how to use granary. In my ignorance I was adding mf2, going to granary, copy pasting xml, adding it to my server
#
[Michael_Beckwit i'm also still needing to look into the atom spec so that I can make sure i'm creating an atom feed from a custom db table
#
[jgmac1106] So using xml+atom granary...just saying rss because that is what my community uses and/or says
#
[Michael_Beckwit unrelated, but i have your "My URL is" episode queued up next [jgmac1106]
#
[jgmac1106] h-feed has best advantages, all the flow but no plumbing, just trying to figure out rss
#
[jgmac1106] Oli love that one. [eddie] needs to resseruct that show
#
[Michael_Beckwit Aaron "needs" to do more Percolator eps as well,
#
[jgmac1106] Really ignoring ny children, trying to finish up cleaning the garage zand trying to figure out my feed discovery
SoreGumsDiscord[ and [dougbeal] joined the channel
#
[jgmac1106] Or gwg and [Michael_Beckwith] need to hop into a chat, press record, and brew up their own ideas
#
[Michael_Beckwit valid, but i don't have enough content in me for a show, so i just patiently wait for what Aaron feels like recording 🙂
#
[jgmac1106] Moving to chat
#
@jozefmaxted ↩️ @jftzsmns @eleven_ty Check out the webmentions proposal https://indieweb.org/Webmention (twitter.com/_/status/1183160741731471360)
#
@eleven_ty ↩️ @jftzsmns @jozefmaxted https://mxb.dev/blog/using-webmentions-on-static-sites/ by @mxbck is an example using Eleventy! (twitter.com/_/status/1183162977559691264)
