#dev 2019-01-17

2019-01-17 UTC
micahsilverman, snarfed, [cleverdevil] and benwerd joined the channel
#
aaronpk
so nice that monocle+aperture are fast again lol
#
[tantek]
devops++
#
Loqi
devops has 1 karma over the last year
#
[cleverdevil]
It’s been so much snappier!
[eddie] and [kevinmarks] joined the channel
#
[kevinmarks]
[eddie] you can feed unmung from itself, so can do rss to h-feed to mf2 json in 2 passes
#
[eddie]
[kevinmarks] good to know! I thought that might be possible, wasn’t 100% sure of the pathway for that. Since xray can do it straight from rss I’ll probably stick with that because I host my own xray server so I can depend on it being up and running if my server is up
#
@ChrisAldrich
Made some significant progress today on an approximately 2,800 word feature article on the W3C Micropub spec with some motivation, examples, use cases, etc. Needs some editing, a bit of artwork, and some screenshots, but we're nearly there. https://boffosocko.com/2019/01/16/micropub-article/
(twitter.com/_/status/1085713612730060802)
snarfed joined the channel
#
jacky
does anyone working in Node/JavaScript land use https://github.com/richardcarls/passport-indieauth for handling IndieAuth work?
#
jacky
I'm looking into making a reader soon and I figure I might as well go all in and make it a client-side app
[chrisaldrich] and benwerd joined the channel
#
[eddie]
The challenge with client-side IndieAuth apps are CORS. The Microsub servers have to have CORS support, which currently I don’t think they do
#
[eddie]
I’ve looked at that library but never used it
#
jacky
I bit the bullet and went with SSR for this reader
#
aaronpk
what is SSR?
#
Loqi
It looks like we don't have a page for "SSR" yet. Would you like to create it? (Or just say "SSR is ____", a sentence describing the term)
#
jacky
SSR is Server-Side Rendering, a technique used to render HTML pages and its assets on the server then sending the result in full to a client
#
aaronpk
oh, so like the normal way
#
jacky
lol right
[eddie] joined the channel
#
[eddie]
Haha yeah
#
aaronpk
everything's gotta have a fancy acronym
#
[eddie]
SSR is particularly talked about in the Angular and React communities because people can program using a front-end framework and then activate server side rendering
#
aaronpk
ah right
#
jacky
I'm leaning towards it myself for my reader
#
[eddie]
Any particular framework jacky?
#
aaronpk
monocle is an SSR app i guess
#
[eddie]
😆😆
#
aaronpk
sounds fancy
#
aaronpk
vue is the only one of those thingies i can handle
#
jacky
I try to grok react but _only_ for work
#
[eddie]
I guess the one gotcha that isn’t a requirement of SSR but is sometimes assumed is that once the page is loaded, a front-end framework will be loaded so that it doesn’t require a refresh on the second page navigation
#
jacky
I'm leaning to it so I can do simpler component fetching of post types
#
jacky
among other things
#
jacky
that and I miss using Vue lol
#
Loqi
misses using Vue lol too
snarfed, micahsilverman, [tantek], stevestreza, ichoquo0Aigh9ie, tbbrown, koddsson, cweiske, KartikPrabhu, [kevinmarks], swentel, [svandragt], [Vanessa], leg and [jdpinto1] joined the channel
#
[jdpinto1]
Anyone have any idea why brid.gy isn’t picking up the Twitter `u-syndication` links from my `h-feed`? Looking at the crawl report, it looks like it’s not even finding the `u-url` links on my microblog posts (but for some reason has no trouble with those on my blog posts)! My site and h-feed: https://juanpinto.me
[jgmac1106] joined the channel
#
sknebel
[jdpinto1]: this doesn't work: <article class="micropost h-entry e-content">, you need to put the e-content on a nested tag. what you have here looks like the *h-feed* has a property e-content that contains an h-entry, which is not what you want
[svandragt] joined the channel
#
[jdpinto1]
[sknebel] What a simple fix. Thank you, everything is now working as it should 🤣
KartikPrabhu and ichoquo0Aigh9ie joined the channel
#
@jgmac1106
↩️ Teaching with #knownchat was great. This summer using webmentions and post types on WordPress improved my classes. I wish I could use Known in my intro classes but I can't start any class with, "Well go to the repo, download the latest build, fire up… https://quickthoughts.jgregorymcverry.com/2019/01/17/teaching-with-knownchat-was-great-this-summer
(twitter.com/_/status/1085872372706627584)
KartikPrabhu, [jgmac1106], [schmarty], jeremych_, swentel, [davidmead], barpthewire, [eddie], snarfed, [Rose], eli_oat[m], grantcodes[m], [dominik], cuibonobo, myfreeweb, zoglesby, plindner[m], benwerd, [svandragt], tbbrown, micahsilverman and micahsil_ joined the channel
#
Loqi
Ok, I'll tell them that when I see them next
#
[eddie]
!tell wow, adding podcast artwork is not an easy problem in xray! 😆 I thought I would do it and send a PR. It turns out, PicoFeed doesn't seem to have any functions to get that info, so PicoFeed has to be patched, THEN it has to be used within xray to add it to featured
#
[eddie]
!tell aaronpk wow, adding podcast artwork is not an easy problem in xray! 😆 I thought I would do it and send a PR. It turns out, PicoFeed doesn't seem to have any functions to get that info, so PicoFeed has to be patched, THEN it has to be used within xray to add it to featured
#
Loqi
Ok, I'll tell them that when I see them next
#
wow
.
#
Loqi
wow: [eddie] left you a message 1 minute ago: podcast artwork is not an easy problem in xray! 😆 I thought I would do it and send a PR. It turns out, PicoFeed doesn't seem to have any functions to get that info, so PicoFeed has to be patched, THEN it has to be used within xray to add it to featured
#
[eddie]
lol what in the world? there was actually someone named wow?
#
[eddie]
ow did sknebel log on as wow to trigger it?
#
sknebel
no, I changed my nick briefly
#
sknebel
(and got told off by nickserv for using someone elses registered nick)
snarfed joined the channel
#
aaronpk
[eddie]: ohhh yeah that is probably why i haven't done it yet!
#
Loqi
aaronpk: [eddie] left you a message 9 minutes ago: wow, adding podcast artwork is not an easy problem in xray! 😆 I thought I would do it and send a PR. It turns out, PicoFeed doesn't seem to have any functions to get that info, so PicoFeed has to be patched, THEN it has to be used within xray to add it to featured
#
aaronpk
omg he deleted the repo from github too
#
aaronpk
glad i forked it
#
[eddie]
Haha, yep, that's probably why. I even looked through PicoFeed to see if I could like arbitrarily search the xml for the right pattern, but it seems like you have to adjust the parser, the actual feed item to hold it in an attribute on that class, etc.
#
[eddie]
yeah, I ran into that 404'd repo as well haha
#
aaronpk
i vaguely remember trying this at one point
#
aaronpk
possibly before i had forked it though
#
[eddie]
haha I bet
#
aaronpk
i like how the RSS92 parser just extends the RSS 2.0 parser without doing anything different smh https://github.com/aaronpk/picoFeed/blob/master/lib/PicoFeed/Parser/Rss92.php
#
aaronpk
this was my main patch to the library. i suspect submitting this PR was partly the reason he finally abandoned the whole thing https://github.com/aaronpk/picoFeed/commit/989c0bcf2eac016a4104abce1aadff791fc287ab
snarfed and [keithjgrant] joined the channel
#
[eddie]
lolw ho bizzare!
#
[eddie]
how* bizarre
#
aaronpk
this is a perfect example of why i don't like libraries that hard-code accessing properties. too hard to extend.
#
aaronpk
like just give me a method to find arbitrary stuff in the XML doc, that's what XML is for
#
aaronpk
anyway shouldn't be too hard to do a patch for accessing the artwork, and i'm already using my fork of this library so we'll just treat it as canonical now
#
gRegorLove
yikes to just deleting the repo. glad you have a fork.
[tantek] joined the channel
#
@jgmac1106
↩️ It looks really easy to fix: ...just fill it in. BTW did you go to Jekyll? I always loved design of this site. My next true huge lift will be to figure out displaying webmentions on https://jgregorymcverry.com (https://quickthoughts.jgregorymcverry.com/s/1T0AHN)
(twitter.com/_/status/1085955848126500864)
#
[keithjgrant]
What does it take to add one of those Deploy to Heroku buttons for a node app? Do I just add the button & it works, or is there more work required?
[schmarty], micahsil_, benwerd and [kim_landwehr] joined the channel
#
[tantek]
maybe the repo no longer brought him joy
#
sknebel
fair reason, if the alternative is yet another developer horribly unhappy with dealing with a project they no longer care for
#
aaronpk
yeah totally
#
aaronpk
i do wish he had tried to properly find someone to take it over instead of just disappearing it tho
#
[tantek]
would be great if you could delete a project by notifying all the forks and let them pick a new "owner" to re-connect to
#
sknebel
github at least has the "this repository is archived" thing now
#
[tantek]
like that should be a UI feature as part of the deletion
#
[tantek]
I like the notion of archiving stuff like that
eli_oat joined the channel
#
sknebel
which puts a big notice on top and makes it completely read-only
#
[tantek]
it means something different than /archive
#
[tantek]
it's more like "cold storage"
KartikPrabhu and snarfed joined the channel
#
[tantek]
IG has an "Archive" action as well that you can do to one of your photos. I think it removes it from your "stream"
KartikPrabhu joined the channel
#
aaronpk
i never knew what that did
KartikPrabhu, [jgmac1106], tbbrown and snarfed joined the channel
#
[tantek]
As GitHub's feature is, though "Unarchive" is a horrible verb
KartikPrabhu joined the channel
#
[tantek]
well with two visible examples like that in UIs, we probably should figure out a way to incorporate that additional meaning into the /archive dfn and page
KartikPrabhu, micahsilverman, micahsil_, snarfed, benwerd, cjwillcock, [eddie] and bdesham joined the channel
#
bdesham
hi all. I'm looking into copying my twitter posts to my own site, starting from the "export your data" download.
#
bdesham
I notice that, prior to october 2011 or so, all of the tweets in the archive show a time of 00:00:00, even though the real time is shown in the web interface.
#
bdesham
does anyone know of existing tools to patch the data download with the tweets' actual times?
[schmarty] joined the channel
#
bdesham
(some kind of service that would accept a tweet id and return the tweet's time, whether from the website or the api, would also work)
tw2113 joined the channel
#
gRegorLove
bdesham, I'm not sure, but there might be some info on https://indieweb.org/Twitter#How_to_export_your_data
#
donpdonp
bdesham: looks like scraping isnt too hard
#
@donpdonp
Most future status updates will appear on http://mastodon.xyz/@donpdonp. Its part of the fediverse that restores a large measure of autonomy to the social web, and its only just beginning.
(twitter.com/_/status/1015346334012878849)
#
donpdonp
<a href="/donpdonp/status/1015346334012878849" class="tweet-timestamp js-permalink js-nav js-tooltip" title="2:26 PM - 6 Jul 2018" data-conversation-id="1015346334012878849">
#
bdesham
donpdonp: ooh, I hadn't heard of pup before. interesting! that's certainly easy enough to script :-D
#
bdesham
gRegorLove: thanks! I did skim the wiki page but didn't immediately see anything about dates. I admit I didn't look that hard, though
#
[schmarty]
pup and jq are so magical
#
donpdonp
errmahgrd jq's language is amazing.
#
donpdonp
better constructed than some general purpose languages :)
micahsilverman joined the channel
#
tw2113
gRegorLove, nudged me over here, and i'm going to re-word my original question.a little. Which do y'all tend to prefer more? Microformats or Schema/Structured Data?
#
[schmarty]
tw2113: most of the projects discussed here in the indieweb channels specifically use microformats2: http://microformats.org/wiki/microformats2
KartikPrabhu joined the channel
#
tw2113
cool. the back of my head prefers mf's as well, so this is reassuring
#
tw2113
somewhere around here i have emily lewis' book on them too, but it may be outdated by now
#
snarfed
bdesham: twitter offers two archive formats, json and html. sounds like you got the html one. the json one includes timestamps in tweets earlier than 2011.
#
bdesham
snarfed: hmm. is it possible to choose which format you get?
#
snarfed
yeah but it's not obvious. i think https://twitter.com/settings/your_twitter_data/data gives you json
#
bdesham
wow, "not obvious" is right! thanks, I'll take a look
micahsilverman, snarfed and KartikPrabhu joined the channel
#
gRegorLove
tw2113, schema seems to mostly be about making your stuff show up in Google a certain way, which is a low priority for me personally. mf2 has given me really cool things on my site like federated commenting (with webmention) and publishing via Micropub
#
[eddie]
yay, instead of having to manually create posts in my website when I create a new podcast episode, I now have a node.js script that I can run that (for now) uses unmung to convert XML/RSS to mf2 html and then to mf2 json, it then uses the mf2 json to create a micropub request to my website and posts the podcast episode.
#
gRegorLove
I find mf2 easier to comprehend, too, and more DRY
#
[eddie]
I was able to save probably 20 minutes of creating 3-4 episodes by running the new script. it doesn't run automatically (and doesn't really need to because I don't do episodes every day), but any day that I have posted a new podcast episode, I can manually trigger this script and it automatically imports any podcast episodes created the same day
#
[eddie]
https://eddiehinkle.com/2019/01/17/9/code/ is the script if anyone is interested in doing something similar
#
[eddie]
Tomorrow's project, get [cleverdevil]'s Overcast script working on my website and/or maybe convert it to node.js because python 🤢lol
#
sknebel
[eddie]: lol, and I'm always tempted to see how many *different* languages I can use in my site, and need to remind myself that has downsides :D
[cleverdevil] joined the channel
snarfed joined the channel
#
[cleverdevil]
LMK if you do decide to use my script. Happy to help you get it installed and running and to show you how to revise it for a standard Micropub publish vs. my custom craziness.
#
sknebel
(I can also always be asked for help with Python stuff)
#
sknebel
cc [tantek] :D
#
tw2113
i'll tweet at him and emily momentarily
#
sknebel
he's in the slack this IRC channel is mirrored to, so he'll see me mentioning him above
#
tw2113
ah. On that topic...which is the more "official" way for participation? IRC or Slack? i can do either
snarfed and [tantek] joined the channel
#
KartikPrabhu
tw2113: there is no "official" way, use what you like
#
tw2113
it probably would explain why i'm seeing emoji's, regardless :-D
#
tw2113
i'm on xchat-aqua for osx
eli_oat joined the channel
#
jacky
I'm on Konversation on Linux
snarfed and [kevinmarks] joined the channel
#
[kevinmarks]
[snarfed] - the 'html' format is in json too, but he json has no timestamps: http://www.kevinmarks.com/tweets/data/js/tweets/2006_12.js
micahsilverman and ben_thatmustbeme joined the channel
#
snarfed
[kevinmarks]: heh true but critically it also has html