#dev 2019-06-03

2019-06-03 UTC
snarfed, eli_oat, [tantek], gRegorLove and KartikPrabhu joined the channel
#
gRegorLove
I've set up h-cards for orgs on their homepage, p-name = p-org, address properties. Haven't used p-note for them though.
[tonz] joined the channel
#
[tonz]
[frank] yeah, started playing around with it. Based on the top pic (a sculpture E gave me a yr ago), and then replicating those colors to the sidebar. The minimalistic thing was fine too, but realised I had way more color in previous incarnations of the blog.
[frank], jbove and cweiske joined the channel
#
[frank]
[Zegnat] One more thing... I sent a webmention to [chrisaldrich] on his blogpost about lurking (https://boffosocko.com/2019/06/02/lurking-twitter-the-commons-and-private-posts/). It shows the default WordPress avatar instead of my mugshot. And it doesn't link back to my post but to my author profile. What am I doing wrong and where do I start with a fix?
#
[frank]
Any help will be reciprocated with moose-related meme's 😉
#
Zegnat
Need to work through some actual work stuff first, but I’ll probably have a moment to check in a bit :)
#
[frank]
No worries. I'm at work now as well so I will check later today or even tonight
chrisaldrich joined the channel
#
Loqi
chrisaldrich: snarfed left you a message 2 days, 15 hours ago: hey everyone on https://github.com/snarfed/bridgy/issues/854 , if you're not currently receiving facebook email notifications for comments, likes, etc, you might want to turn them on. i'll be ready for you to test soon!
#
chrisaldrich
My site isn't seeing/parsing it either, so it defaults to a generic gravatar
#
chrisaldrich
Your page does have a u-photo around your avatar, it just looks like it needs to be nested within the h-card to be found properly.
#
chrisaldrich
I could have sworn the most recent version of Independent Publisher did this properly. Which version of it are you using frank?
swentel joined the channel
#
[frank]
I'm using a child theme around Independent Publisher. I did make some changes to the core files of IP to make sure an h-card is showing on the frontpage. I was always under the impression individual pages were just fine. I guess they're not. Will have to look into it...
#
[frank]
But the other thing is the link on your part is to my author page, not the article page. It should make more sense to link to my article page doesn't it? Is this something I need to fix on my end?
#
chrisaldrich
As for the link back to your author profile, this is the current default within the semantic linkbacks plugin for many of the post kinds when they're facepiled.
#
Loqi
[metbril] #208 Facepile for webmention does not link to source
#
chrisaldrich
frank, since I can control it on my end, and based on what you've written, I'll probably end up changing your "read" post on my end to being a "reply" in which case it'll show the link back as well as your comment.
#
chrisaldrich
I'll wait to do that until later so that you can play around with your h-card and u-photo. If you resend the webmention, my end should automatically update when you've fixed it.
#
chrisaldrich
If you're interested in facepiled avatars linking back to the origin, do post a +1 to that github issue
#
[frank]
Yeah I'm just looking at some of the code but I need more concentration to do it right. Right now I need to do some actual work I'm paid for 😉
#
chrisaldrich
Ha! If it helps GWG made a fork of Independent Publisher that updates several pieces: https://indieweb.org/IndieWeb_Publisher
chrisaldrich and DenSchub joined the channel
#
[frank]
Yeah I tried that one but it broke my child theme. So it would need more work to switch
[kevinmarks786], KartikPrabhu and [tantek] joined the channel
#
GWG
Morning
#
Loqi
happy day
[tantek], [jgmac1106], eli_oat, [tonz], eli_oat1, [smerrill], snarfed and [Rose] joined the channel
#
aaronpk
wow watchtower is making 2 requests per second now
eli_oat, eli_oat1, swentel and snarfed1 joined the channel
#
Zegnat
polling--
#
Loqi
polling has -1 karma over the last year
snarfed, [schmarty], [jgmac1106] and [eddie] joined the channel
#
[eddie]
I really need to build my own Microsub servers. I'm starting to get more and more ideas of features I'd like to implement. For example, today I'd love to be able to tell my Reader to move ANY post that mentions specific keywords "WWDC", "Apple", "iOS", "iPad", etc. into one specific channel that I choose.
#
[eddie]
I think a really useful direction is rather than putting "Feeds" into "Channels", is to Follow a feed, but then be able to redirect content from a feed into any channel.
#
[eddie]
I think that also takes a load off the mental idea of "following" if you don't have to choose a channel when you follow something
#
[eddie]
and then you can redirect the content later
#
[jgmac1106]
if you looking for good prior art the rules you can build with inoreader are greate
#
sknebel
One with really advanced filtering would be a cool project, agreed
#
[eddie]
I'll have to take a look jgmac1106
#
[eddie]
Awesome, thanks! Saved to my reader
eli_oat joined the channel
#
[eddie]
Yeah, I think something like that is what I want to do. Imagine Gmail but for readers
eli_oat1 joined the channel
#
[eddie]
rather than putting posts into buckets, you just get all the buckets and then you can search/filter/sort based on rules or live searching
#
aaronpk
that's a cool idea
#
sknebel
Might be worth looking at Yahoo pipes clones :D
#
[eddie]
My biggest issue is feed parsing, but I think my goal would be to use Amazon Lambda, so hopefully I can find some good feed parsing libraries I can use to take a lot of that pain away
#
[eddie]
Interesting, I haven't heard of Yahoo pipes
#
[eddie]
ohhhh interesting
#
[eddie]
That's interesting. At my day job we have a similar graphical workflow app for cybersecurity workflows
#
sknebel
Apache .... Whatever it's called?
#
sknebel
I think node-red also could be used on that direction
#
sknebel
Apache NiFi?
[tantek] joined the channel
#
[eddie]
I definitely Gmail has a more user approachable UX, BUT a workflow chart would probably create some pretty awesome advanced filtering/workflows for readers lol
#
[eddie]
might be an interesting, start with Gmail type filters and rules, then add a visual workflow for advanced cases
snarfed, eli_oat1 and [Rose] joined the channel
#
snarfed
[eddie]: i assume you've looked at newsblur's training feature?
#
[eddie]
Never make assumptions 🙂 aka, I haven't! But I'll take a look at it!
jackjamieson joined the channel
#
[eddie]
Thanks 🙂
snarfed and gRegorLove joined the channel
#
GWG
I feel like I need another day in the week. IndiewebDay
#
aaronpk
yesss haha
#
aaronpk
between sunday and monday
snarfed joined the channel
#
sebsel
Apple talking about auth...
#
sebsel
"sign in with Apple"
#
sebsel
"Sign in without all the tracking"
#
sebsel
Hope they have an API :P
#
aaronpk
better be oauth
#
aaronpk
omg twitter is blowing up with mentions of apple oauth
singpolyma joined the channel
#
sebsel
haha, all watching the live stream ;)
singpolyma, leg, [schmarty] and jackjamieson joined the channel
#
jamietanna[m]
Hmm interesting
#
[jgmac1106]
so I am in terminal and being told I need a newer version of PHP when I know I am running 7.3. I wonder if there is a way I can force composer to accept my version?
#
Loqi
[Greg McVerry] This one is driving me crazy "Updating dependencies (including require-dev) Your requirements could not be resolved to an installable set of packages. Problem 1 - This package requires php >=7.1 but your PHP version (7.0.33) does not sati...
#
Zegnat
[jgmac1106], you may have multiple versions of PHP installed. So you may be using PHP 7.3 for Apache (through the htaccess file handler you show), but running an older version on the terminal
#
sknebel
starting the wrong PHP?
#
Zegnat
What does `php --version` give you in the terminal?
[smerrill] joined the channel
#
[smerrill]
`7.0.33` according to the snippet above.
#
Zegnat
That is what Composer is reporting, yes, I wanted to know if explicit `php` resolved to that too :)
#
gRegorLove
I've had to do that on a server where `php` defaults to the 5.6 version. I set up an alias to run composer with php7
#
Zegnat
If `php --version` gives PHP 7.0.33, you may want to figure out if the PHP 7.3 binary is also installed. One trick I often do is check if current PHP has a version number in its path, and then try to swap that out. To figure out the path I often go this way (might be better ways): https://gist.github.com/Zegnat/fcc69652ab37f1c10736253936afdaf4
[schmarty] joined the channel
#
gRegorLove
e.g. it's `php72` so I have `alias composer7 php72 /path/to/composer.phar`
#
gRegorLove
then `composer7 require foo/bar`
#
Zegnat
gRegorLove, that works, if you know php72 is available as executable :)
#
sebsel
also nice to know: `which php` gives you the full path to php, and `which -a php` gives you a list of all found
snarfed joined the channel
#
gRegorLove
Yeah, that's the example from the server I'm working on. `which` helped me find it
#
[jgmac1106]
okay one sec
#
[jgmac1106]
that reports v7.0.33
#
[jgmac1106]
but I selected 7.0.33 in MultiPHP Manager
#
[jgmac1106]
i mean 7.3
#
gRegorLove
That's for the web server, can be different on the command line
#
[jgmac1106]
I will compare to my other 13 Known installs ...see if I can find the difference
#
[jgmac1106]
ahhh okay
#
Zegnat
Yep, picking the 7.3 likely added that correct AddHandler setting, so Apache knows to run PHP 7.3. But the default `php` executable on the server is still 7.0
#
gRegorLove
Try Zegnat's gist with the `which` to find out where the binary is. There might be (likely, I'd say) a PHP 7.3 binary in that same path
[eddie] joined the channel
#
[eddie]
So I'm totally gonna add Sign in with Apple to my website alongside IndieAuth for friends/family that don't have their own website yet
#
[eddie]
I've been wanting to add some type of silo but haven't felt good about it. I would MUCH rather do that then Facebook or Twitter.
#
sebsel
[eddie]: I am reading the docs now too for exactly that ;) https://developer.apple.com/sign-in-with-apple/get-started/
#
[eddie]
oh wow, it's already up? awesome!
#
aaronpk
just saw that
#
aaronpk
guess i know what i'm doing today
#
sebsel
oh, not fair! my today is already almost up :(
#
sknebel
sebsel++
#
Loqi
sebsel has 7 karma in this channel over the last year (29 in all channels)
#
aaronpk
oops their CDN isn't up yet
#
sknebel
tries to think of more than one person that he might share stuff with that owns a mac and doesn't have indieauth :D
#
[eddie]
Almost everyone I communicate with IRL has an iPhone or iPad
#
[eddie]
thus they have an Apple ID
#
sebsel
hm, it starts with ID's and secrets... "A secret generated as a JSON Web Token that uses the secret key generated by the WWDR portal" <- what is that portal?
#
[eddie]
WWDR doesn't sound familiar but I'm pretty sure that's the dev portal
#
sknebel
[eddie]: sure, different for different people. apple stuff is a lot less common around me
#
[eddie]
sknebel: understandable
#
[eddie]
definitely not super helpful if you don't have many Apple people in your life
#
Zegnat
Same here, basically the entire family is on Android, and I am the only one with a MacBook. So it would be limited to the odd iPad some have (since that is really the only tablet that works well)
#
sknebel
just was amused when I started to list people I know use apple in my mid and realized that nearly all of them are indieweb friends, that have indieauth
#
[eddie]
hahaha that is funny
#
Loqi
rofl
#
[jgmac1106]
thx everyone this did the trick: composer install --ignore-platform-reqs
#
[eddie]
ohhh Maps Web Snapshots....
#
[eddie]
I've used Mapbox's static API to get images of maps
#
sebsel
[jgmac1106]: yea, that could work, but your app will probably crash if it's encourtering php syntax that is unrecognized by your version
#
jacky
more silos :(
#
Zegnat
I guess that will work since you know Apache is going to run it with the correct version of PHP? Still not really recommended, and requires there are no special script triggers during installation that depend on a newer PHP version
#
[eddie]
jacky I don't think that is considered "more silos"....
#
gRegorLove
yeah, I'd really recommend finding the php 7.3 binary and making a composer alias for it
#
[jgmac1106]
yeah I might just delete and start over, this has not happened to me yet and I been updating Known sites all day...my eldest was really out of date though
#
gRegorLove
Don't think you need to delete anything
#
gRegorLove
Who is the web host? They might set up the alias for you.
#
[jgmac1106]
easier than figuring out what "php 7.3 binary and making a composer alias for it" means and how to do it
#
[jgmac1106]
Reclaim hosting
#
[jgmac1106]
thanks for the help everyone, kids home from school, talk to those around tonight
#
sebsel
mm, do I want to pay 99 per year to let people log in to my site, that IS the question :P
#
[eddie]
hahaha that IS the question
#
aaronpk
does it require a paid account?
#
[eddie]
undefined
#
sknebel
next: "log in with apple pay" :P
#
sebsel
I see no clear way to get the keys needed, other than references to certificates, that might be obtainable if I enroll.
#
sebsel
but I am not sure if that's even what I need to do
#
[eddie]
Yeah you can do SOME of the web stuff with a free account
#
aaronpk
you don't need to pay to have a developer account
#
[eddie]
You definitely have to register an Apple Developer account (maybe free, maybe paid) and create a secret in the certificate area
#
sebsel
hmm, let me dig further then
#
[jgmac1106]
gRegorLove, sebsel, zegnat all working now and up to date thanks again
snarfed joined the channel
#
sebsel
I cannot get anything developerish from Apple without the 99 euro's per year autorenewal all the things
#
sebsel
sadness
DenSchub_ joined the channel
#
aaronpk
so i have a private key now...
KartikPrabhu joined the channel
#
aaronpk
their docs are missing a few critical pieces tho lol
#
sebsel
yea, I thought, first get the key, but I was seeing holes indeed
#
sebsel
their Apple JS is funny: just put this javascript on your site
#
sebsel
I mean, it will probably do the button, but then, how do we know the outcome?
#
aaronpk
also that JS URL doesn't actually have anything there right now, it's just 404
#
sebsel
it just works™
#
aaronpk
lol i keep getting logged out of the developer portal every click now
#
[jgmac1106]
ooh and btw Marcus let me know, while not ideal, there is one line I could delete in composer.json
#
gRegorLove
aaronpk, when you get a chance could you review/merge https://github.com/indieweb/rel-me/pull/4? Then I'll be able to push an indiewebify.me update
#
Loqi
[gRegorLove] #4 Bump php-mf2 version
#
sebsel
aaronpk: do you see what the identifier for the user is that you get back? their AppleID e-mail?
#
aaronpk
it's supposed to be a proxy email address
#
aaronpk
but i can't tell if there is also a different identifier
#
sebsel
yea it would be hard to say "this post is visible for my brother!" if he gets one of those anonimized proxy email addresses
#
sebsel
thinking about the private post use case
#
sebsel
I guess I can just setup e-mail auth with mailing magic signin links.
#
[eddie]
The proxy email is opt-in
#
sebsel
yea but by the user, right?
#
[eddie]
Correct, so you'd have to tell your family/friends "don't use the proxy part".
#
[eddie]
Email is totally an option!
#
[eddie]
It's something I've been thinking about with the magic signin link
#
aaronpk
i want to see what actually gets returned from this
#
[eddie]
Definitely let us know if you find out. I don't have the time today to finish looking into it
#
aaronpk
there isn't enough information in their docs to do it right now
#
[eddie]
ahh gotcha
#
aaronpk
they don't tell you the URL to send people to
#
aaronpk
based on their token endpoint I made a guess at https://appleid.apple.com/auth/authorize which does appear to be something
#
aaronpk
cause the error is different than a URL that doesn't exist like https://appleid.apple.com/auth/auth
#
sebsel
lol, see, raw nginx html also with Apple
#
aaronpk
yup lol
#
sebsel
so we need to guess the params then
#
aaronpk
i've tried the normal oauth stuff
#
aaronpk
except i can't quite figure out what the client_id value is supposed to be
#
aaronpk
docs say "The application identifier for your app."
#
sebsel
Apps do have identifiers like nl.seblog.some-app, right?
#
aaronpk
but it's not clear to me whether that's the Bundle ID, App ID Prefix, or something else
#
sebsel
ah :(
#
aaronpk
OH GOT IT
#
aaronpk
it's the Services ID
#
aaronpk
not here yet :(
#
aaronpk
can you copy that js somewhere?
#
sebsel
there is a license that tells me not to
#
aaronpk
womp womp
snarfed joined the channel
#
aaronpk
boom got an authorization code
#
sebsel
yaaas!
#
sebsel
aaronpk++
#
Loqi
aaronpk has 58 karma in this channel over the last year (239 in all channels)
#
[eddie]
aaronpk++
#
Loqi
aaronpk has 59 karma in this channel over the last year (240 in all channels)
[Ian_Forrester] and [dougbeal] joined the channel
#
aaronpk
lol request_uri vs redirect_uri, thanks
#
aaronpk
just go and break oauth for no reason
#
sebsel
reading is hard
#
aaronpk
wait their docs don't match themselves
#
aaronpk
on the top it says request_uri but in the paragraph it says redirect_uri
#
sebsel
you should file a bug and get it fixed towards OAuth!
#
Loqi
it is probable
#
snarfed
sebsel: old apple joke: file a bug...where?!
#
snarfed
(spoiler: answer is nowhere, at least historically. modulo openradar.)
#
sebsel
well, when I was clicking around for getting that token I found their reporting portal, and, indeed, it was down for maintenance ;)
dgold joined the channel; dgold left the channel
#
gRegorLove
who reports the reporting tool? :)
[tantek] joined the channel
#
@xwolf
@pfefferle Sach mal, kann es sein, daß das Webmention-Plugin bei normalen Kommentaren das Mailformat ändert? Als ich die drei Plugins für Webmentions Indieweb,Semantik Web und Webmention) an hatte, wurde das Template auf englisch gesetzt und war ohne Autordaten und Content.
(twitter.com/_/status/1135652012643819521)
snarfed joined the channel
#
aaronpk
BOOM got tokens
[calumryan] joined the channel
#
aaronpk
undocumented fun: their token endpoint requires a User-Agent header
#
sebsel
lol, this seems like a nice announcement, but it's not really ready yet
#
aaronpk
it was the developer conference after all, not intended to be available to the public yet
#
sebsel
did you indeed get the email as the equivalent of the "me" value?
#
aaronpk
it returns a unique ID for me, 001473.fe6f83bf4b8e4590aacbabdcb8598bd0.2039
#
sebsel
and if so: how can we then chain those to a domain for indielogin?
#
aaronpk
but i can't even get it to give me the proxy email
#
aaronpk
i also don't know yet if this value is unique to my app, but I suspect it is, so that developers can't correlate users across apps
#
sebsel
hm, if you got a random webapp this could be enough to run your service indeed. esp if you can get that proxy email
#
sebsel
but to prove identity of something else it's pretty useless.
#
sebsel
let's hope docs inprove then
#
aaronpk
i think it's solving what oauth is actually originally trying to solve for, but also giving developers a way to email users
#
aaronpk
oauth is not a single sign-on protocol and was never intended to return unique user identifiers to apps
#
aaronpk
but most apps want to be able to email users, so most APIs ended up making a way to return an email address for users
#
sebsel
ah fair enough
dougbeal|iOS, [schmarty] and snarfed joined the channel
#
Loqi
[aaronpk] sign-in-with-apple-example: Sample code for the Sign in with Apple API
[dougbeal], [tantek] and snarfed joined the channel
#
[tantek]
What is Sign in with Apple
#
Loqi
Sign In with Apple is an authorization api similar to social silo login buttons that allows a user to sign in using their Apple device https://indieweb.org/sign_in_with_apple
snarfed and KartikPrabhu joined the channel