#dev 2019-12-02

2019-12-02 UTC
#
gRegorLove
gives Loqi a bad webmention
#
Loqi
gives back the bad webmention
[tantek] and [fluffy] joined the channel
#
[fluffy]
oh yeah aaronpk did you see the conversation jacky and I had late last night regarding a stray webmention from the http version of my site via webmention.io? I was wondering if it’d be possible to find out what IP address it came from, which might help to solve the mystery
#
aaronpk
I missed that
#
[fluffy]
The mention was to https://v2.jacky.wtf//post/indieweb-challenge-2019 and came from both http and https versions of https://beesbuzz.biz/blog/3640-My-IndieWeb-Challenge-2020-aspirations. My own mention logs show that I only sent one for https, at a different time than Jacky’s thing showed it as having come in.
#
Loqi
[Jacky Alciné] My IndieWeb Challenge!
#
aaronpk
let me see if I have the IP address in the logs
#
[fluffy]
all of my native mentions should have come from 96.126.101.56 or 2600:3c01::f03c:91ff:fedf:b0de
#
aaronpk
i'm confused, jacky's site doesn't use webmention.io
#
[fluffy]
it doesn’t?
#
aaronpk
no, there are no webmentions stored in webmention.io for his site at all
#
[fluffy]
huh, so it doesn’t
#
[fluffy]
let me recheck my logs, I was probably way-brainfarting at 3 AM 🙂
#
aaronpk
that's to his home page
#
[fluffy]
oh, that’s the mention to his home page
#
aaronpk
I see that one in the logs, and I see only one webmention from the https version of your post
#
[fluffy]
okay well regardless my logs only show mentions going to v2.jacky.wtf from the https version, not http
#
aaronpk
also apparently I am not logging IP addresses
#
[fluffy]
which is as intended. Pushl respects rel=“canonical” after all
#
[fluffy]
ah, oh well.
#
[fluffy]
Okay so the mystery deepens, what the hell sent the webmention from the http version of my post to his post?
#
[fluffy]
but *didn’t* send it to his homepage…
#
[fluffy]
and, for that matter, sent the https version of my ‘like’ post but not the http version of that
#
aaronpk
that does mean it might be in his logs
#
[fluffy]
My ‘like’ post mentions goes through the exact same machinery as reply/mention posts
#
[fluffy]
so it could possibly be something from indieweb.xyz or news.indieweb.org? those got pung from my blog entry but not from my ‘like’ entry
#
aaronpk
those wouldn't send webmentions
#
[fluffy]
yeah and even if they did, I’d only send mentions from the https version
#
[fluffy]
so I mean there’s no way either of those sites would have known about the http version
#
[fluffy]
gah this is so bizarre
#
aaronpk
I see that telegraph sent webmentions from your http versions
#
[fluffy]
oh, interesting
#
[fluffy]
I don’t use telegraph
#
aaronpk
did jacky set up the superfeedr telegraph thing?
#
[fluffy]
What’s the superfeedr telegraph thing?
#
[fluffy]
Maybe I set something up with telegraph back i nthe day but forgot
#
aaronpk
I think jacky set it up for his site
#
aaronpk
which means something is being made aware of your http addresses, and superfeedr is finding those
#
[fluffy]
okay then that makes sense. I have people subscribing to both http and https of my blog feed using superfeedr, and I do ping both http and https there as a result
#
[fluffy]
since like, websub needs to know about both of them
#
[fluffy]
well, mystery solved. Now the question is: what to do about it?
#
[fluffy]
I am purposeful about supporting both http and https on my feeds, and I wouldn’t want WebSub to be an https-only thing
#
[fluffy]
It’d be trivial for me to turn off http WebSub support though, and probably not make that big a difference
#
[tantek]
I have so many feelings & opinions about so much of the thread spawning from this but for now I’ll jut leave this here for 🍿🍿 dev-value https://twitter.com/larsrosenquist/status/1200765420543840257
#
@larsrosenquist
YAML: the result of people ignoring the lessons from JSON (the result of people ignoring the lessons from XML). Now we’re ‘coding’ infra with 3000 line typeless, indentationsensitive markup, escaping it, then embed it in another 3000 line typeless, indentationsensitive file.
(twitter.com/_/status/1200765420543840257)
#
[fluffy]
Enh, that’s kind of a disingenuous take given that YAML and JSON came out at roughly the same time
#
aaronpk
became popular at different times tho
#
[fluffy]
also https://twitter.com/larsrosenquist/status/1200766827145641985 um there’s this thing called “node.js” that maybe he’s heard about
#
@larsrosenquist
Would you code your infra in JavaScript? Sounds terrible right? Then why go with YAML which is even more terrible?
(twitter.com/_/status/1200766827145641985)
#
[tantek]
Aaronpk so many gems in that thread tree
#
[tantek]
Speaking of gems
#
[tantek]
feed file << Example implied criticism, silent unnoticed failure of invisible non-DRY content: “oops I just realized my photos *feed has been broken for a while” - aaronpk 2019-12-01 indieweb-dev
#
Loqi
ok, I added "Example implied criticism, silent unnoticed failure of invisible non-DRY content: “oops I just realized my photos *feed has been broken for a while” - aaronpk 2019-12-01 indieweb-dev" to the "See Also" section of /feed_file https://indieweb.org/wiki/index.php?diff=66804&oldid=40578
#
aaronpk
my micro.blog followers are probably about to get a bunch of photos all in a row now
strugee joined the channel
#
aaronpk
ironically the reason it was broken was because I generate my jsonfeed by parsing my microformats HTML to avoid coding everything twice
#
aaronpk
and when I redid my photos page to be a grid, I didn't include the published date because there is no visible place for it
#
aaronpk
so my mf2->jsonfeed converter failed because it was expecting a published date
#
[tantek]
Aaronpk, similarly I’m basically tweaking / fixing my separate code path for my Atom feed *specifically* to optimize for micro.blog consumption
#
aaronpk
now a new side effect is that micro.blog won't get the captions in my photos anymore because they're not on that page anymore
#
[tantek]
Aaronpk check out how [Rose] solved that
#
[tantek]
With her photo grid
#
[tantek]
It’s quite clever
#
[tantek]
She built it at Berlin2
#
[tantek]
(Her photogrid has progressive disclosure captions IIRC)
#
[tantek]
(Maybe dates too)
#
aaronpk
hm I can't find her photo grid page
#
[tantek]
Anyway, larger point being, there are UI solutions to such things (properties invisible by default but still discoverable/visible thru gestures)
#
[tantek]
Try the demos notes from Berlin2
#
[tantek]
Chat archives from demo day?
#
aaronpk
no links in the chat archive
#
[tantek]
Dang I know she showed it!
#
[tantek]
You’ll have to wait til she wakes up
#
[tantek]
Though I think [schmarty] had a clever photo grid captions UI solution too
#
aaronpk
oh yeah his appear on hover
[schmarty] joined the channel
#
[schmarty]
It's not mobile friendly at this point but you can see it at https://mmg.re/photos
#
[schmarty]
Oops I don't https on my short domain
digitalice joined the channel
#
[schmarty]
lol this comedy of errors. "photos" is exactly six characters and gets picked up by my newbase60 date decoder.
#
digitalice
hello!
#
digitalice
Freelance developer here, looking for gigs
#
[fluffy]
hmm, I just thought of a weird corner case that my site causes in webmentions and there’s no clear solution… if I change the title on an entry, that also changes its URL. Which means a new set of webmentions gets sent out. But nothing sends out a new webmention from the old URL, so nothing will ever, like, update that.
#
[fluffy]
I guess this feeds back into my old webmention endpoint wishlist
#
[fluffy]
in principle, in my setup, Pushl will see that the old URL disappeared and so it’ll try to re-send mentions from it (assuming that it was deleted), but when it goes to check the URL for targets it’ll get redirected, and nothing in Pushl is smart enough to handle that case.
#
[fluffy]
I guess that’s a thing I could add though
#
aaronpk
I have the same problem
#
mblaney
I tombstone the old page and send webmentions then.
#
jacky
what is tombstone
#
Loqi
tombstone is a replacement entry with null or marked data for a deleted entry that is especially useful in h-feeds since it is defined and supported https://indieweb.org/tombstone
#
aaronpk
my old url sends a redirect, so I need to get it to send a webmention from the old url too
#
takev[m]
Is there a tool to validate MF2 markup? I'm writing a .NET library for handling MF2 parsing and serializing.
#
takev[m]
And I'd like to validate it with an external tool as well.
#
aaronpk
depends on what you mean by validate
#
aaronpk
i'd say there are three layers:
#
aaronpk
1) use a microformats parser to visually check that the parsed output looks like what you intend: https://php.microformats.io
#
aaronpk
2) use https://xray.p3k.app to see if some consuming apps find what you are intending to publish
#
aaronpk
3) use https://monocle.p3k.io/preview to see what your feed looks like in a reader UI
#
jacky
what are microformats
#
Loqi
microformats are extensions to HTML for marking up people, organizations, events, locations, blog posts, products, reviews, resumés, recipes etc https://indieweb.org/microformats
#
jacky
what is my website is your API
#
jacky
growls at loqi
digitalice_ joined the channel
#
[fluffy]
so now Pushl supports redirections 🙂
cramjaDiscord[m] and mblaney joined the channel
#
aaronpk
That was fast
#
jacky
TIL that Quill shows more confirmation info when you've signed in now
mblaney joined the channel
#
gRegorLove
takev[m], for parsers, there's also a test suite https://github.com/microformats/tests
#
Loqi
[microformats] tests: Microformats test suite
#
takev[m]
Thanks!
#
[fluffy]
and I see that Jacky’s endpoint doesn’t track ’em
#
[fluffy]
I wonder if any webmention endpoints do
#
[fluffy]
sigh, and my late-breaking bugfix ended up breaking rel=“canonical” support, go figure
#
[fluffy]
so I guess news.indieweb.org doesn’t look at rel=“canonical”, huh 🙂
#
[fluffy]
(fortunately that wasn’t in the released version)
#
aaronpk
I don't think rel canonical is mentioned in the webmention spec
#
aaronpk
what behavior would you expect to happen?
#
jacky
comes bakc in
#
jacky
what am I not tracking?
[jeremycherfas] and cweiske joined the channel
#
jacky
yo so aaronpk
#
jacky
re: your p3k suite of stuff
#
jacky
when you do the sign in flow and you notice that people don't have something like microsub or micropub
#
jacky
do you point them anywhere?
#
jacky
(doesn't have a page immediately to test it but he will)
#
jacky
I'm thinking about adding more explicit documentation
#
jacky
hmm looks like you kinda do (at least on indielogin)
[Rose], [KevinMarks], asymptotically, jeremych_, jeremycherfas and [tantek] joined the channel
#
[tantek]
Article from chat that I think every dev needs to read when they consider building things “for other people”: https://jenngineering.glitch.me/hello-world-except-keybase/
#
[tantek]
General point: no, adding your technology fairy dust (crypto, pgp, blockchain, “verification” etc) will not solve fundamentally human/design problems, and may actually make them worse
#
[tantek]
See also, maybe beta test with a more diverse set of users before launching “to everyone”? See also Google Buzz
MesaDiscord[m], braditzDiscord[m, LethalLadders041, wcharginDiscord[, peatDiscord[m], chmanieDiscord[4, Tianyi[m]1, matschafferDisco, drbh[m], NatoBoramDiscord, yabirgbDiscord[m, CantiTurtleCoinD, TeamIanDiscord[m, Lilz|BetaMe[m], CatManDoooDiscor, oed3Discord[m], buztedDiscord[m], PeevesDiscord[m], abhi_Discord[m], pierreboc[m], KarlDiscord[m], skillman623Disco, JaoheahDiscord[m, olizillaDiscord[, Keegen[m], plindner[m], carstenmunkDisco, gorhgorh[m]1, NastyEbilPiwateD, oed3[m], flower88Discord[, thomasbDiscord[m, mikeal[m], jmank88Discord[m, SmileRobotDiscor, Giyomu[m], iKonixxDiscord[m, AXEL-Lee[m], M0zAND1zDiscord[, Crocodillian0001, PhoenixDiscord[m, gtsDiscord[m], M3baidDiscord[m], mZDiscord[m], silent_ActivistD, gauthamDiscord[m, MMMMaggieDiscord, sachaDiscord[m], gnunicornDiscord, sacha[m], Hsiu-PingNichola, gregjeanmartDisc, Canti0001[m], tadpole256Discor, JustMaierDiscord, KartikPrabhu, [LewisCowles] and [manton] joined the channel
#
aaronpk
jacky: I've done it a couple different ways. Quill leans heavily toward providing detailed info on what to do next to get things working
#
jacky
hmm okay
#
jacky
I've leaned on linking out for that
[jgmac1106] joined the channel
#
jacky
versus
#
jacky
it might be a bit more verbose
#
jacky
well not _might_
#
jacky
it is, lol
#
aaronpk
Yeah that's pretty good
#
aaronpk
I think I do something like that with monocle
#
aaronpk
quill was originally supposed to be just a tool for people to debug their micropub servers
oryxshrine6555[m joined the channel
#
jacky
lol they grow up so fast
#
jacky
oof I should actually add the URLs for 'enabling' micropub on one's site
#
[tantek]
lol I happened to check the noblockchain hashtag on Twitter and it's got so many unintended lulz https://twitter.com/hashtag/noblockchain
#
[tantek]
I'll stick with (no # blockchain) I think just to make a proper point
#
[tantek]
in particular when I use hashtags that happened to be noisy with blockchain BS
#
@t
@jmckenty @starbuxman thanks for the citation! You’re right, needs a refresh, and updates in particular for Slack & GitHub (using threads, @-mentioning, etc.). My GitHub advice will start with #OwnYourData (no #blockchain) per https://indieweb.org/issue ... https://tantek.com/t53s1
(twitter.com/_/status/1201540828193148929)
gxt, dougbeal|iOS, swentel, gRegorLove, KartikPrabhu, [schmarty], [Ramiro_Ruiz], [grantcodes], [dougbeal] and [Rose] joined the channel
#
gRegorLove
jacky: LWA is looking good! I get an internal server error trying to read my Twitter channel, ID A2aoN6LSvQ5Mi70STimN7zqX
#
jacky
thank you!
#
gRegorLove
Only feed in there is from Twitter Atom
#
gRegorLove
In console I'm seeing websocket errors "Unexpected response code: 400" but I don't think it's causing any UI issues. Maybe uBlock is blocking something?
#
jacky
nah that's a bug
#
jacky
I'm going to throw in the towel and add sentry lol
#
jacky
it's 2019 - I should not be splunking in the logs like this
#
gRegorLove
what is websocket?
#
Loqi
It looks like we don't have a page for "websocket" yet. Would you like to create it? (Or just say "websocket is ____", a sentence describing the term)
#
jacky
literally setting up a self hosted version of sentry right now lol
#
jacky
is doing this because he's already paying for a server that's like 10% utilized
#
gRegorLove
jacky++ it really is great despite my bug reports, haha
#
Loqi
jacky has 21 karma in this channel over the last year (92 in all channels)
#
jacky
cries in pre-pre-alpha
[jgmac1106], [fluffy], dgold and kckasumi joined the channel
#
gRegorLove
Maybe I'll work on moving indiewebify.me off Silex this month. It's not maintained anymore and it requires symfony libs that have a CVE now
[schmarty] joined the channel
#
[schmarty]
gRegorLove++ that sounds great!
#
Loqi
gRegorLove has 9 karma in this channel over the last year (61 in all channels)
#
jacky
ayee that'd be dope
#
jacky
def something I link people to a lot
#
gRegorLove
This PR of mine has been reviewed but not merged, should get that done first: https://github.com/indieweb/indiewebify-me/pull/80
kckasumi, testy and [tantek] joined the channel
#
[tantek]
takes a look
#
[tantek]
hmm, "note" is useful for many folks who include a brief self description / mini bio
#
[tantek]
this is in templates/validate-h-card.html.php line ~95 in the diff view
#
[tantek]
gRegorLove other than that, looks good
#
[tantek]
would you like me to make that formal in a review or ... ?
#
gRegorLove
takes a look
#
[tantek]
e.g. keep the line(s) with "Add a note/bio!"
#
[tantek]
and maybe replace with something more clearly actionable like
#
[tantek]
"Got a brief bio like a Twitter/Instagram bio? Add it to your own h-card as a note property!"
#
gRegorLove
Makes sense
#
[tantek]
we want to help guide people toward creating an h-card that is semantically a replacement for what they typically have on social media
#
gRegorLove
I can test with Zegnat's profile since note is the one property he doesn't use :)
#
Zegnat
Happy to oblige
#
aaronpk
Always the edge case
#
gRegorLove
Heh, guess we should update it so Travis runs on something newer than PHP5.5 too :D
#
gRegorLove
I don't remember where it's deployed, we should check what PHP version is running there
#
gRegorLove
looks like appengine
#
aaronpk
They have at least 7.2 available
#
Zegnat
I never found a good way to display a note on my site.
#
Zegnat
The joys of playing with GitHub actions for the first time: the maintainers of the action breaking your setup https://github.com/shalzz/zola-deploy-action/issues/5
#
Loqi
[Zegnat] #5 Latest commit breaks building without flags
#
gRegorLove
ok, trying it with php72. That's what my dev copy is running so hope it goes smoothly
KartikPrabhu joined the channel
#
Loqi
[gRegorLove] #80 Update h-card validator
kckasumi, chrisaldrich and KartikPrabhu joined the channel