#dev 2018-04-12

2018-04-12 UTC
[jgmac1106], snarfed, [kevinmarks], [unoabraham], leg and maingo joined the channel
#
GWG
Are we going to end up with GPDR Webmention problems now?
#
GWG
First that Mastodon argument...
#
KartikPrabhu
what is GDPR?
#
Loqi
GDPR is the EU General Data Protection Regulation which sets much tighter guidelines on use of personally identifiable information, and is backed by law, including fines for non-compliance https://indieweb.org/GDPR
#
GWG
We can't stop humans
eli_oat joined the channel
#
aaronpk
darn, looks like webauthn won't work as a no-registration authentication mechanism
#
Loqi
[Aaron Parecki] Using Hardware Token-based 2FA with the WebAuthn API – Mozilla Hacks – the Web developer blog
#
aaronpk
I guess that's part of the security of it
dougbeal|iOS, Mandrake, renem, j12t, j12t_, j12t__, [miklb], snarfed, iasai_ and tbbrown joined the channel
Mandrake, cweiske, [pfefferle], iasai_, raucao, tantek_, swentel, jeremycherfas and AngeloGladding joined the channel
#
swentel
hehehe :)
#
swentel
it's my standard way of figuring out if someone left me a message ;)
[kevinmarks] joined the channel
#
cweiske
unfortunately this only works in the current channel. so theoretically one would have to . in every channel loqi is in
#
swentel
didn't know that
#
dgold
are we back on gdpr & webmentions?
#
@voxpelli
↩️ There's now some more accounts at https://webmention.herokuapp.com/, I may make it easy to self-host eventually, but it would take some work 😝
(twitter.com/_/status/984355953972826112)
#
dgold
!tell kaushalmodi I've updated nanopub's documentation to provide more details, and also added a .zip file to the releases page with a fully packaged version, including composer dependencies
#
Loqi
Ok, I'll tell them that when I see them next
[kevinmarks] joined the channel
#
[kevinmarks]
Seems like someone is. We talked about gdpr and Facebook a bit on TWiG yesterday
#
@voxpelli
↩️ I added an issue as a reminder of adding a self-hosteable version and as a way to keep track of that work: https://github.com/voxpelli/webpage-webmentions/issues/51
(twitter.com/_/status/984360348336771073)
tantek_ joined the channel
#
dgold
[kevinmarks]: TWiG?
#
cweiske
what is twig
#
Loqi
twig may refer to TWiG (This Week in Google), or the Twig (template engine) https://indieweb.org/twig
[jgmac1106] joined the channel
#
[jgmac1106]
Will listen to episode on way to work, even if I miss Kevin's birds
#
Loqi
misses Kevin too
[kevinmarks] joined the channel
#
[kevinmarks]
No birds at 9:30pm in Greenford. Maybe if I do it from my garden in the summer here
#
jeremycherfas
Very impressive recruitment page.
eli_oat and [kevinmarks] joined the channel
#
@nhoizey
@borisschapira est-ce qu’à ton avis ton plugin de micro-typo pour Jekyll pourrait être responsable de la disparition de @DirtyF dans mes Webmentions ? 😁
(twitter.com/_/status/984395093401657344)
eli_oat and [kaushal_modi] joined the channel
#
[kaushal_modi]
dgold: Thanks! I'll try installing nanopub today.
eli_oat, leg, tantek_, [eddie], [jgmac1106], barpthewire, benharri, [kevinmarks], swentel, iasai_ and iasai joined the channel
#
[eddie]
!tell aaronpk while not optimum, there is now a side door to get replies to non-microblog hosted blogs into micro.blog. If you send a webmention ping to https://micro.blog/webmention with source=your post target=reply-to-post as long as the target post is in micro.blog it’ll add the reply
#
Loqi
Ok, I'll tell them that when I see them next
kaushalmodi joined the channel
#
kaushalmodi
!tell aaronpk Do you have a full set of indieweb badges somewhere. I found few in this post: https://aaronparecki.com/2017/12/30/7/indieweb-badge. Also do you plan to have SVG versions of those?
#
Loqi
Ok, I'll tell them that when I see them next
#
Loqi
kaushalmodi: dgold left you a message 5 hours, 55 minutes ago: I've updated nanopub's documentation to provide more details, and also added a .zip file to the releases page with a fully packaged version, including composer dependencies
#
Loqi
[Aaron Parecki] New Tiny IndieWeb Badge!
#
kaushalmodi
Hmm, how can I force my IRC handle through Slack to be "kaushalmodi" instead of "kaushal_modi".. I did set it to "kaushalmodi" in there.. but it always shows up with underscore here..
#
kaushalmodi
Also "/nick" does not work through Slack.. slackbot complains that that's an invalid command.
#
dgold
because its not a valid slack command
#
dgold
slack useridents are an opaque mess
#
kaushalmodi
Right.. so looks like I am stuck with two "me"s over here :P
#
swentel
[eddie], do you cache the channel list on iOS ? Wondering whether that's useful or not.
#
[eddie]
swentel: currently I’m not caching anything, but I definitely want to do that in the long term. iOS does a pretty good job of holding on to the last added channels based on the use of Table Views. So when I open the app after leaving it closed for awhile I see the channels immediately unless the OS has had to empty its operating catches
#
dgold
in slack, hit the channel name, under there you'll see a pic of yourself, one of the options is Profile & Account
#
dgold
that opens a sidebar, there's the UserName on top under the profile pic, and there's also a setting for displayname
#
dgold
iirc, if you're active in irc (voiced) then the bot will not create a name collission
#
[eddie]
swentel: so the only use of me caching the channels would be for offline use. I would say it’s mostly an offline feature unless the Android app often launches without the channels list
#
kaushalmodi
dgold: I have set my display name to "kaushalmodi" in there (though when I first messaged from Slack, it was "kaushal.modi" or "kaushal_modi"; I fixed it later.)
#
swentel
[eddie], the standard screen always starts with the channel list (if you have microsub of course, otherwise, it's the supported list of post types) ..
#
swentel
[eddie], just thinking about 'notification' in a way, I see that monocle polls every x minutes to see if anything new came in, but maybe that's all for later :)
[kaushal_modi] joined the channel
#
[kaushal_modi]
Testing from slack web interface
[jgmac1106] joined the channel
#
[jgmac1106]
@swentel what was the link to the GitHub repo again for indigineous?
#
[kaushal_modi]
https://files.slack.com/files-pri/T03QR2B2T-FA5L4F291/image.png?pub_secret=67d28fa932&name=image.png Looks like this in Slack (no underscore).. but the underscore shows up in IRC.
#
Loqi
[swentel] indigenous-android: An app with extensions for sharing information to micropub endpoints and reading from microsub endpoints
#
[eddie]
swentel: Oh yeah, I definitely want to do that at some point, but I haven’t gotten there yet. I don’t think that would require caching though. Just a periodic fetch against the channels endpoint.
#
swentel
indeed
#
[jgmac1106]
wow real time release schedule, just reading on the Known log-in issues, I tried that subdomain well as my Wordpress domain
#
[eddie]
For refreshing the timeline I would go with whatever is native to Android. For iOS that is pull to refresh, so I don’t update the timeline until you pull to refresh
#
swentel
mm, I could also build something into the background that say polls twice a day even when the app sleeping and then calls a notification *adds to list of cool ideas*
#
swentel
yeah, pull to refresh here also
#
swentel
might add that on channel list too
#
swentel
it's the fastest way to add
#
[eddie]
Oh yeah, definitely.
#
[jgmac1106]
Can I ask silly questions? Am I supposed to see a timeline or just write functions?, and would being on Android Beta mess up your testing?
#
swentel
[jgmac1106], if you have a microsub endpoint, you should see a channel list, if only a micropub, then you should see the screen with available supported post types
#
[eddie]
Hey jgmac1106 🙂 Timeline uses Microsub which is still in *heavy* development right now. So there are no hosted solutions currently
#
kaushalmodi
!tell tantek_ Would you be the right person to ping to https the Microformats site? http://microformats.org/
#
Loqi
Ok, I'll tell them that when I see them next
#
swentel
and it doesn't matter if you're on the beta ios no
#
[jgmac1106]
Okay, that makes perfect sense
#
[eddie]
There is a Microsub server called Aperture that is open source and it’s install process has improved but it does have several components so it can be a bit tricky
#
[jgmac1106]
Can't play today but always up for a new challenge.
#
swentel
[jgmac1106], does the app still crash when you hit the post button ? Or do you see any more information ?
#
aaronpk
Aperture has been reasonably stable lately so maybe once the iOS and android apps are published in the store I will make the install process easier or maybe even open up some hosted accounts
#
Loqi
aaronpk: [eddie] left you a message 43 minutes ago: while not optimum, there is now a side door to get replies to non-microblog hosted blogs into micro.blog. If you send a webmention ping to https://micro.blog/webmention with source=your post target=reply-to-post as long as the target post is in micro.blog it’ll add the reply
#
Loqi
aaronpk: kaushalmodi left you a message 20 minutes ago: Do you have a full set of indieweb badges somewhere. I found few in this post: https://aaronparecki.com/2017/12/30/7/indieweb-badge. Also do you plan to have SVG versions of those?
#
aaronpk
[eddie] so if the site advertises the micro.blog webmention endpoint then everything works as normal right? Otherwise I'm not sure how i would know to send the webmention there
#
[eddie]
Ohhhh a challenge for us to go public. Haha
#
aaronpk
Maybe we could even coordinate a launch ;-)
#
[eddie]
That sounds like a great idea!
#
[jgmac1106]
@swentel yes, but I bet this is a problem on my Wordpress site
#
aaronpk
kaushalmodi: those are the only badges I made. Not sure what an SVG version would accomplish since it's supposed to be pixel art. Pretty sure an svg would be a larger file than the current pngs too
#
[eddie]
aaronpk: And yes, if it advertises you are good. And if it doesn’t you could always just ping m.b for every post. 😆😆 just kidding, don’t break m.b please.
#
[eddie]
Since I still do manual webmentions, I’m able to just use curl
#
aaronpk
I could ping micro.blog if I don't find a webmention endpoint haha
#
aaronpk
I wonder how much server resources it takes to look up the target url on their end
#
[eddie]
That’s a good question. It’s pretty fast nowadays
#
swentel
[jgmac1106], could be, but maybe I'm missing something obvious .. (I'll go and check the iOS code heh)
#
swentel
[eddie], do you recall anything 'weird' in testing with micropub and wordpress ?
#
aaronpk
I don't *really* want to hardcode that micro.blog fallback. Maybe for now I'll just send the webmention manually from telegraph for the sites I know aren't on micro.blog
#
[eddie]
Lots of self hosted people on WP do have webmention endpoints that aren’t m.b so that’s where it can be sticky. But even just the replies to people advertising m.b webmention is a huge win.
#
[eddie]
Hmmm I haven’t had many Wordpress testers, swentel, most of my issues were with Known
#
aaronpk
I'm mostly concerned about getting reply to the person who wrote the post, not necessarily getting it into micro.blog.
#
aaronpk
So f they have their own WM endpoint I'll assume they'll see my post in their WordPress
#
swentel
we should have a bunch of test domains for testing those apps hehe
#
[eddie]
One would think... 🤔
#
aaronpk
its the people who self host and have micro.blog pull in their feed who don't also have a webmention endpoint that I'm missing
#
[eddie]
Ahhh true
#
[eddie]
So a micro.blog fallback could work.
#
aaronpk
like Manton haha
#
[eddie]
Hahaha
#
Loqi
hehe
#
aaronpk
I can't actually reply to his posts from Monocle right now
#
aaronpk
Or rather I can, but he won't see them
#
[eddie]
Yeah, I have sometimes not replied to his posts because they haven’t worked in the past lol
#
[eddie]
I’ll think of a reply and then be like “nah...”
#
[eddie]
But at least now worst case you can manually trigger the m.b webmention endpoint
#
[eddie]
So for those few cases it’s available
#
[eddie]
swentel: test domains would be helpful. I also want to set up a test Aperture instance with pre-filled different post types in specific channels
#
swentel
oh yes, that would be awesome too
#
swentel
lot's of crashes when I imported new feeds yesterday haha
#
aaronpk
I have socialweb.rocks for this purpose. I want to create a bunch of different feeds you can subscribe to for testing out different kinds of posts
#
@miklb
↩️ Indieweb and webmentions. Posts originate on my site, then syndicate to Twitter. I’m replying from my site to your tweet now. 🙂
(twitter.com/_/status/984457842005610506)
#
[eddie]
Oh awesome
#
swentel
gotta run, later :)
#
kaushalmodi
aaronpk: About the badges, no problem. I prefer SVG as they are "plain text", that's all. But I am working on adding those PNG badges to my site as we speak.
#
aaronpk
That was an svg with an embedded png last time I looked
#
[kevinmarks]
no, I made a real one
#
[kevinmarks]
it is bugger than the png though
#
[kevinmarks]
might gzip smaller
#
[kevinmarks]
also one with the gradient smooth https://www.svgshare.com/s/6DT
#
[kevinmarks]
hm, my preview to png code needs work
#
[kevinmarks]
anyway, if you want svg text versions, have fun
eli_oat joined the channel
#
aaronpk
Do either of your Microsub apps send a user agent in the http requests?
#
[eddie]
That’s a great question
#
[eddie]
No intentionally, I’m not sure what iOS does by default
#
[eddie]
Should I be?
AngeloGladding joined the channel
#
sknebel
it's generally a nice thing to do
#
[eddie]
What do you send, just the name of the app?
#
aaronpk
I was just thinking about keeping logs of which clients are making api requests, especially if I'm gonna have to respond to support requests
#
[eddie]
That makes sense
#
aaronpk
usually name and version number, maybe URL too
#
[eddie]
Gotcha, I’ll add that to the list of things to do 🙂
#
[eddie]
Issue created in GH
snarfed joined the channel
#
@zachleat
↩️ @miklb @eleven_ty Oh, wow that’d be awesome. We have an open issue for webmentions! https://github.com/11ty/eleventy/issues/57
(twitter.com/_/status/984471116067549184)
snarfed, maingo, KartikPrabhu, swentel, [jeremycherfas] and kaushalmodi joined the channel
#
kaushalmodi
kevinmarks: Thanks for that SVG! (Now I am wanting to have the SVG for the other badges too :))
#
kaushalmodi
kevinmarks++
#
Loqi
kevinmarks has 9 karma in this channel (306 overall)
#
kaushalmodi
aaronpk++ for the badges
#
Loqi
aaronpk has 136 karma in this channel (1619 overall)
#
kaushalmodi
Badges are live on my site :)
iasai_, iasai__ and [kevinmarks] joined the channel
#
[kevinmarks]
Which other ones?
#
[kevinmarks]
They're not that hard to convert - read the source of the one I made to see the basic idea.
#
kaushalmodi
webmentions, microformats. Will look at the source. Thanks
#
kaushalmodi
hmm, the source doesn't give any clue: https://gist.github.com/f6afd993ce0e5d0d5d42b99cb945f3c7 But I will look for png to svg converters
#
[kevinmarks]
I did it by hand
#
kaushalmodi
Yes, I was going to say that, as soon as I saw that doing png to svg convertion automatically was fruitless: https://gist.githubusercontent.com/kaushalmodi/18dbd1b4a591ceb517425936fff1babc/raw/62d695c5bd6bf5247f5d39d04611d205e2f6f039/webmention-badge.svg :)
#
kaushalmodi
Writing svg's is a skill I've yet to learn
#
[kevinmarks]
The rect is the frame, then each path is one of the elements. The path syntax is m to move to x, y then he and v to move pixels in that direction and z to go to start
#
kaushalmodi
Thanks! That's so concise, yet makes so much sense
#
kaushalmodi
Then what is the difference between M and m?
#
kaushalmodi
"<path d="m64,5 .." vs "<path d="M69,5 .."
#
[kevinmarks]
So you zoom up the png and count pixels
#
[kevinmarks]
You can probably reuse some of the letters
#
kaushalmodi
Thank you. I'll take up this exercise and get back with problems or the finished svg when done
[cleverdevil] and [eddie] joined the channel
[manton] joined the channel
#
KartikPrabhu
kaushalmodi: I'd recommend using some SVG editor like Inkscape to trace over the PNG and then optimise it by hand in a text editor if you want
#
KartikPrabhu
writing SVG by hand is not easy unless you can visualise it already
#
[kevinmarks]
With the pixel art its not too bad.
#
aaronpk
uhoh, foursquare api changes
#
aaronpk
ah looks like mostly affects foursquare's venue search, not swarm
#
aaronpk
*whew*
#
[kevinmarks]
Oh? I liked that one
eli_oat, iasai, iasai_, j12t, [cleverdevil] and swentel joined the channel
#
@jgarber
↩️ @zachleat I use IndieAuth to log in to my website using… my website! https://indieweb.org/IndieAuth
(twitter.com/_/status/984537014539309056)
[tantek], renem, davy__, KartikPrabhu and kaushalmodi joined the channel
#
kaushalmodi
I have some questions about nanopub (micropub endpoint for Hugo) blended with many basic micropub questions here: https://github.com/dg01d/nanopub/issues/15
#
Loqi
[kaushalmodi] #15 Understanding the nanopub flow
#
kaushalmodi
The questions are many, so hopefully someone can help answer those while @dgold is away :)
snarfed and oodani joined the channel
#
www.boffosocko.com
edited /microcast (+353) "Wavelength iOS app for microcasting from micro.blog"
(view diff)
tantek_, j12t and j12t_ joined the channel
#
tantek_
what is Wavelength
#
Loqi
It looks like we don't have a page for "Wavelength" yet. Would you like to create it? (Or just say "Wavelength is ____", a sentence describing the term)
#
Loqi
manton has 2 karma in this channel (45 overall)
#
tantek_
Wavelength is a client for [[micro.blog]] for recording, editing, and publishing [[microcast]]s and uses [[Micropub]] to post audio to micro.blog. Announcement http://www.manton.org/2018/04/wavelength-for-micro-blog.html Limitation: can only post to micro.blog for now.
#
loqi.me
created /Wavelength (+296) "prompted by tantek_ and dfn added by tantek_"
(view diff)
KartikPrabhu, [eddie], [cleverdevil], AngeloGladding, snarfed and [miklb] joined the channel
#
[miklb]
this seems kind of exciting for running a few indieweb microservices on the same server https://www.nginx.com/blog/nginx-unit-1-0-released/
#
[miklb]
looking at adding node.js next
#
bear
nginx is moving into the service control mesh area - becoming it's own silo in a way
#
bear
it makes sense - they are looking to replace fpm and uwsgi