#dev 2018-08-31

2018-08-31 UTC
KevinMarks_, [iambismark] and KevinMarks joined the channel
#
@rubygems
jekyll-webmention_io (2.9.5): This Gem includes a suite of tools for managing webmentions in Jekyll: * Tags *… https://rubygems.org/gems/jekyll-webmention_io
(twitter.com/_/status/1035322650833371137)
fydel4, [chrisaldrich], KartikPrabhu, Theking^18, sjohnson20, TingPing5 and renem joined the channel
#
vilhalmer
has anyone played with making previous versions of a site available via shasum url slugs that retrieve the old version from git?
#
vilhalmer
something like vil.lv/2018/04/01/1/a8f3dbac
#
vilhalmer
and then leaving off the sha is just effectively HEAD
#
vilhalmer
or perhaps as a query parameter
WSPR19 and jor12 joined the channel
#
aaronpk
Previous versions of a site or of a post?
#
aaronpk
I use dated subdomains to host old versions of my whole site
#
vilhalmer
that's a good point, I guess it would be effectively the entire site
#
vilhalmer
depends how good I am about keeping commits small :)
#
vilhalmer
my thought with it at the end of the slug would be that it would only work for commits where that item had actually been modified
#
vilhalmer
but I'm not sure if that's useful
#
vilhalmer
I like the idea of providing my own wayback machine-style snapshots
#
vilhalmer
since the whole thing will be versioned anyway
ruunyan and april joined the channel
#
@rubygems
jekyll-webmention_io (2.9.6): This Gem includes a suite of tools for managing webmentions in Jekyll: * Tags *… https://rubygems.org/gems/jekyll-webmention_io
(twitter.com/_/status/1035368132796456960)
We, gRegorLove, snarfed and snarfed1 joined the channel
#
Zegnat
vilhalmer, access to old versions of pages sounds interesting. Don't recall if I have seen anyone use the git hashes specifically. But if you are building something like that, maybe the memento API is interesting? http://mementoweb.org/guide/rfc/
snarfed, Guest75005, snarfed1, Guest92, cweiske, Nothing4You3, jeremych_, KartikPrabhu, barpthewire and [kevinmarks] joined the channel
#
jeremycherfas
https://github.com/mdom/dategrep looks like it could be interesting, although I suppose all true devs already know about it.
#
Loqi
[mdom] dategrep: print lines matching a time range
KartikPrabhu, [kevinmarks], TripFandango, jgmac1106 and [jgmac1106] joined the channel
#
petermolnar
the deeper I get into schema.org the worse it gets... at least I'm now aware that ProfessionalService exists, but once you get to the makesOffer and to the Offer schema, that's where your brain starts pouring out of your ears.
#
[jgmac1106]
@petermolnar that is why I chose to learn about mf, I was looking at how the vocabularies are used in education: A they are not, most is all theoretical, B: they want metadata on almost every single letter I include
#
petermolnar
I'm poking google structured data with a stick; generally speaking I want my wife's photography service to show up fancy in google
#
petermolnar
my finds are so far is that google goes against their own words
[grantcodes] joined the channel
#
[grantcodes]
Calling microsub server developers: What is a reasonable interval to poll for updates at? Assuming I would be making 2 or 3 queries at a time for the channels, notifications channel and the current channel the user is looking at
#
[grantcodes]
I'm thinking every minute will be good user experience wise. And hopefully should be fine for microsub servers to handle too
matze19 joined the channel
plindner[m], TripFandango, grantcodes[m], eli_oat[m], pilottage, KevinMarks and [keithjgrant] joined the channel
#
jgmac1106
keithjgrant++
#
Loqi
keithjgrant has 8 karma in this channel over the last year (21 in all channels)
#
[keithjgrant]
!tell GWG this build should fix the WordPress plugin interop if you want to give it a try https://omnibear.com/download/omnibear-1.2.0-rc.1.zip
#
Loqi
Ok, I'll tell them that when I see them next
#
jgmac1106
Keith, I just went to install it and FF (using dev edition) told me it was corrupt
KevinMarks joined the channel
#
[keithjgrant]
Hmm. Ok I'll see if I bundled the zip
#
[keithjgrant]
s/bundled/bungled
#
jgmac1106
let me make sure I am doing it right as well>Add-on>add on from file>select zip
#
[keithjgrant]
Oh interesting. I didn't know about that way.
#
[keithjgrant]
You can go to about:debugging and click "Load temporary add-on"
#
[keithjgrant]
It's obviously expecting some different format your way. I'll have to do some homework there
#
[keithjgrant]
It will uninstall whenever you restart the browser my way, so obviously only works for testing, not long term use
barpthewire, KevinMarks, plindner[m] and [kevinmarks] joined the channel
zoglesby, myfreeweb[m], grantcodes[m] and eli_oat[m] joined the channel
#
skippy
KevinMarks: in what way does id4me miss the point?
#
skippy
[kevinmarks]: in what way does id4me miss the point?
#
aaronpk
the whole background and setup of that reads like IndieAuth
#
skippy
multiple people arrive at similar solutions on their own.
#
skippy
how does Loqi decide which channel to put messages like that?
#
[kevinmarks]
It wants additional dns records rather than rel links
#
skippy
one from Brad landed in the main chat, then the second one ended up here/
#
skippy
[kevinmarks]: sure; because it's using the DNS system, not a higher-level layer.
#
aaronpk
keyword matching. this one ended up here because "webmention"
KevinMarks joined the channel
#
GWG
Evening
#
Loqi
GWG: [keithjgrant] left you a message 2 hours, 16 minutes ago: this build should fix the WordPress plugin interop if you want to give it a try https://omnibear.com/download/omnibear-1.2.0-rc.1.zip
[eddie] joined the channel
#
vilhalmer
Zegnat: this is interesting, thanks
#
[eddie]
jgmac1106 I saw your comment about /following and Aperture. I’ve been thinking about that a lot. Ive been trying to figure out the relationship between the two.
#
[eddie]
One though I had was the app that you add a subscription request in prompts you to make a “follow” post to your Micropub endpoint which would then be able to populate a following page
#
jgmac1106
I am not using the follow post kind but the links manager in wordpress, there is a a box for the rss feed..just made me think be nice to do it all at once
#
[eddie]
I definitely think that is a place to get to, having a following list and a Microsub reader synced up
#
aaronpk
it doesn't seem like a huge stretch that aperture could watch a certain part of your site for a list of feeds
#
jgmac1106
also thinking about microsub and shared follower and shared block list, could there be an account where multiple domians could log in to curate and share feeds together?
#
[eddie]
That was the other idea I didn’t type yet lol
#
[eddie]
Or aaronpk’s idea. I’m still processing jgmac1106’s
[jgmac1106] joined the channel
#
jgmac1106
those are the fields now…wish I they had friend and follow for the rel input fields…but that is an easy thing to fix
#
jgmac1106
but looking at this everything is there that apeture would need
#
GWG
jgmac1106, you will have follow posts soon
KevinMarks joined the channel
#
jgmac1106
@gwg…I am wondering as follow as a post-kind versus hacking on links manager...or in other words how do we make Greg’s life simpler. I don’t want to publish a follow post kind, go to my following page and add a new link, then go to Apeture and add it to my feed
KevinMarks joined the channel
#
GWG
jgmac1106, I want to build that in
#
GWG
The following page
#
jgmac1106
yeah so I am thinking we stay away from the post-kind or make a function so if you publish a follow post kind it adds the link to link manager
#
GWG
I am deep in Post Kinds code now
#
GWG
Worked on new registration code, now on new parsing code
[dougbeal] joined the channel
#
jgmac1106
wow, good luck [gwg]
#
GWG
Wow to which?
[kevinmarks] and SleePy10 joined the channel
#
[jgmac1106]
good luck in all thigns in life, why choose/
jeremych_ joined the channel
#
GWG
[jgmac1106]: I think it was paired with the wow
#
Zegnat
Get an issue against a simple library => write PRs for that library and a related library the user was probably using together with the former, then open an issue upstream of the related library because thats where the unit tests are.
#
Zegnat
1 issue => 2 PRs & 1 issue ... this single responsibility stuff is fun until you have to untangle all the dependencies :(
#
aaronpk
heh yeah i've had that happen with my own
#
aaronpk
find an issue with something not showing up right in monocle. go to aperture to debug. that uses the xray library. xray uses the php mf2 parser. fix the issue in the php-mf2 parser, release new xray, update aperture.
#
GWG
I am trying to build that structure also right now by splitting out my parsing code
#
GWG
Should you talk me out of it?
#
aaronpk
no, I like it overall
#
Zegnat
I like it too. It can just feel a little weird sometimes.
#
Zegnat
This one was just extra weird because there is a separate repo for the unit tests. The HTTP Interop people have a package with PSR-17 tests so all separate implementations can pull those and validate the same data. A little like microformats/tests. So I had to write a PR for the PSR-17 implementation and then file a request with them to look into adding new tests.
#
Zegnat
I do notice I am getting more comfortable with unit tests, which is good :) Even doing some mocking these days.
deathrow1 joined the channel
#
vilhalmer
does rel="alternate archived" to point at a super-permalink version of a page seem like a good idea? rel=archived seems to be fairly rare
#
vilhalmer
I haven't worked out how to actually use this yet because it would require having a link to the archived version at the same time as creating the page, but that's an implementation detail ;)
#
Zegnat
I am not sure alternate feels right for a page that may have different (as in older) content. Wouldn’t actually be the same page, right?
#
vilhalmer
that's fair
#
vilhalmer
I just don't know that archived alone captures the "same resource" relationship
#
vilhalmer
I guess I should finish reading that :)
#
Zegnat
It really focuses on Internet Archive like services. But as that pretty neatly corresponds to the concept of publishing older versions of a page on separate URLs, I would think a lot of it maps over pretty well
#
vilhalmer
though now that I think about it, the way I'm envisioning 'alternate archived' would point to an identical version of the page it's on
#
vilhalmer
just effectively a permalink to this version
#
vilhalmer
but yeah this probably covers what I want to do already
#
vilhalmer
I'm not sure how you would walk further back in time with alternate archived either
#
Zegnat
hmm. I wonder if something like rel-self doesn’t mean “exactly the same but with a different url”. But I don’t fully recall. Can’t go checking specs right now either, one leg out the door.
#
Zegnat
rel-archived really makes me think of an external archive, rather than a time-frozen version. What use is an archived URL when its uptime is linked to the uptime of the original’s server? But that’s just my thinking, maybe not the literal definition of rel-archived.
matlock, TripFandango and [kevinmarks] joined the channel
#
[kevinmarks]
If it is the permalink isn't that canonical?
#
vilhalmer
it's not canonical because it will change if I edit the page, but I always want the most recent edit to be what people reference most of the time
#
vilhalmer
it's more like if you wanted to link to some part of the page from a wiki or something and know that the content will be exactly what it was when you linked it
#
vilhalmer
which you can accomplish with an external archive tool as well, and we do now
#
vilhalmer
its a permer-link
#
vilhalmer
the only description of rel=archived I can find is linked from the microformats wiki
#
vilhalmer
>The purpose of this value is to indicate that the target resource is archived and kept largely or solely for historical purposes.
#
vilhalmer
I flipped through all the other rels and it looks like memento is it for versioning
eli_oat1, [tantek], KevinMarks, barpthewire and MeiR joined the channel
#
kevinmarks.com
edited /RSS (+4) "/* See Also */ fix whitespace"
(view diff)
leg, deathrow1, [jgmac1106], KevinMarks and snarfed joined the channel
#
@megarush1024
If this works correctly, I can now automatically syndicate to Twitter, http://Micro.blog, and Mastodon. Just need to work on convereting Mastodon replies, boosts and favorites to webmention replies, reposts, and likes. Facebook is the only off-limits platform.
(twitter.com/_/status/1035618765122101248)
jgmac1106 and [kevinmarks] joined the channel
#
miklb_
I've been keeping an eye on Evergreen, running the latest build when I want to look at RSS feeds.
#
Loqi
miklb_: [eddie] left you a message 5 days, 14 hours ago: the phrase “login with your website” needs to be fixed. Entering the Aperture url is the correct course of action. We’ve been incrementing the updates to the language on that page, but it can still use clarification and improvement. Feel free to provide feedback 🙂
#
Loqi
miklb_: Zegnat left you a message 5 days, 11 hours ago: re: indiepaper, it is a little special. You probably want it to talk to your microsub endpoint, but that’s not how it actually works. It just works by submitting posts to a micropub endpoint. It just happens to be the case that Aperture also advertises a private micropub endpoint.
jgmac1106 joined the channel
#
miklb_
!tell eddie is that site in a public repo?
#
Loqi
Ok, I'll tell them that when I see them next
[iambismark] joined the channel
#
[iambismark]
so is anyone building a patch to support h-feed? 😉
#
snarfed
[iambismark]: there's always converters like unmung and granary as stopgaps
#
Loqi
snarfed: [cleverdevil] left you a message 1 day ago: having an issue with granary Twitter... I get an exception when calling `get_activities` which looks like something isn't getting properly passed around.
[jgmac1106] joined the channel
#
snarfed
!tell cleverdevil hmm! sorry about that. 1.13 or head? mind throwing details into an issue?
#
Loqi
Ok, I'll tell them that when I see them next
[eddie] joined the channel
#
Loqi
Ok, I'll tell them that when I see them next
#
Loqi
[eddie]: miklb_ left you a message 30 minutes ago: is that site in a public repo?
#
[eddie]
iambismark: Are you talking about Evergreen and h-feed? I believe he is looking into it
#
Loqi
[brentsimmons] #293 Support h-feed
#
miklb_
[eddie] I filed an issue
#
Loqi
miklb_: [eddie] left you a message 16 minutes ago: Yep 🙂 https://github.com/cleverdevil/indiepaper-website/
kaushalmodi joined the channel
#
kaushalmodi
Hello all!
#
kaushalmodi
I hope I didn't cause indieweb.org to go down.
#
kaushalmodi
I was using this link checker: https://github.com/raviqqe/muffet
#
Loqi
[raviqqe] muffet: Fast website link checker in Go
#
KartikPrabhu
hmm yeah it is down
#
kaushalmodi
it crawls through my site and probably pinged indieweb.org hundreds of times as that URL is in my page footer
#
kaushalmodi
Would that cause this 502?
#
KartikPrabhu
if it caused the server to overload then yes
#
KartikPrabhu
basically like a DoS
#
KartikPrabhu
I'm getting a 504
#
aaronpk
should be back now
#
Zegnat
Good to know one person on his home internet connection can DoS the server ..? Good on Go, I guess, sounds like some great paralelisation going on there :P
#
kaushalmodi
aaronpk: What that the reason?
#
kaushalmodi
there are so many link checkers like https://validator.w3.org/checklink
#
kaushalmodi
anything special that muffet did?
#
KartikPrabhu
Zegnat: I was just guesing
#
aaronpk
when did you make the requests?
#
Zegnat
KartikPrabhu, I know, but at the same time it is an odd coincedence.
#
Zegnat
awaits final judgement
#
kaushalmodi
why aren't my message reaching there?
#
kaushalmodi
ok that went
#
kaushalmodi
I was typing between 5:05 and 5:11
#
Zegnat
... message reached me. The “Between 5:05pm EST and 5:11” that is.
#
aaronpk
I don't actually see a large volume of requests
#
kaushalmodi
Zegnat: I don't see that right now on chat.indieweb.org
#
kaushalmodi
aaronpk: OK, good to know.. I guess I can run muffet again without fear
#
aaronpk
I start seeing 502s at 21:13 UTC
#
Zegnat
Huh, you are right kaushalmodi, that one sentence didn’t make it to the logs :S
#
aaronpk
oh shoot I think the spam filter is catching that
#
Zegnat
Loqi: ping
#
aaronpk
adds an exception for numbers
#
kaushalmodi
I thought so.. so tried rephrasing that sentence :)
#
aaronpk
hm, odd, I see a bunch of 499s right before the 502s
[kevinmarks] joined the channel
#
[kevinmarks]
Do we have a micropub to mastodon bridge? Add it to silo pub?
ome5, KevinMarks_ and [iambismark] joined the channel
#
[iambismark]
seems like link checker 101 to only hit the same url once per session?
#
Loqi
[raviqqe] Can you try [this branch](https://github.com/raviqqe/muffet/tree/once-per-url) which visits each URL only once?
A5A, KevinMarks and jgmac1106 joined the channel
#
GWG
aaronpk, have you ever benchmarked xray, out of curiosity?
#
GWG
jackjamieson was saying that my similar code was timing out
Compu and [keithjgrant] joined the channel
#
[keithjgrant]
Well, omnibear.netlify.com is up. DNS changes on the main domain talking their time, as they tend to do
jgmac1106 and [kevinmarks] joined the channel
#
[kevinmarks]
@gwg is there a way to do it asynchronously and cache?
#
GWG
[kevinmarks]: I'm working on optimizing my version.