#dev 2021-02-24

2021-02-24 UTC
#
@pbakaus
I shamelessly stole Webmention implementation ideas from @cramforce, who has done an excellent integration on his blog. #sorrynotsorry :D
(twitter.com/_/status/1364366467139964928)
benwerd, [scojjac], sknebel, strugee and [KevinMarks] joined the channel
#
jacky
what are icons
#
Loqi
An icon in the context of the indieweb typically refers to a home page icon for an indieweb site, or small decorative images to indicate types of posts https://indieweb.org/icons
#
jacky
icons << "Icons8 is a handy resources for free icons if you're building a IndieWeb app." https://icons8.com/icons/
#
Loqi
ok, I added ""Icons8 is a handy resources for free icons if you're building a IndieWeb app." https://icons8.com/icons/" to the "See Also" section of /icon https://indieweb.org/wiki/index.php?diff=74697&oldid=45337
sknebel joined the channel
#
GWG
jacky: You never saw those before?
#
jacky
nope, only just came across them now
#
jacky
at least I think I hav
#
jacky
*have
#
jacky
they're new to me
#
GWG
I've worked with [pfefferle] on WordPress projects for so long, I know a lot about what he has done.
#
jacky
that's dope
#
jacky
kinda want to do more of that myself tbh
#
jacky
but I don't do a lot of PHP so that kinda closes me off to that
#
jacky
Python is mainly for work so I try not to go _back_ into it :P
#
jacky
that said, implementing IndieAuth-as-a-service wasn't going to be as hard as I thought
#
jacky
might be because of experience now but like this is fine
#
jacky
I'm trying not to get ahead of myself right now and add the mobile prompt flow but it'd be so simple
#
jacky
it'd stand in place of the consent screen (because that's essentially what it'd be)
#
jacky
is doing this _solely_ so he can use his phone to authorize requests
[snarfed], [tw2113_Slack_] and [schmarty] joined the channel
#
Loqi
jacky has 32 karma in this channel over the last year (112 in all channels)
[tantek] joined the channel
jacky and [tw2113_Slack_] joined the channel
[KevinMarks], benwerd and [tantek] joined the channel
#
[tantek]
dang, Fry's has shut down. that's the end of an indie (hardware) dev era for sure, after earlier shut down by Radio Shack (and in Silicon Valley, Weird Stuff Warehouse)
miluni joined the channel
[KevinMarks] joined the channel
#
Loqi
[edent] SuperTinyIcons: Under 1KB each! Super Tiny Icons are miniscule SVG versions of your favourite website and app logos
#
[KevinMarks]
and Maplins in the UK
[tantek] joined the channel
#
[tantek]
^ good post
#
[tantek]
also accepts webmentions 😄
gRegorLove, [KevinMarks], [jeremycherfas] and [cleverdevil] joined the channel
#
jacky
TIL re: this being for both the authorization endpoint _and_ the token https://indieauth.spec.indieweb.org/#request
#
aaronpk
yeah that's the last major difference from oauth that i want to change
#
jacky
wait, does OAuth only require this on the authorization endpoint?
#
jacky
looks
#
jacky
goes to oauth.net and sees aaronpk questioning why I didn't know this answer already :P
#
jacky
goes around breaking clients to confirm ideas
#
jacky
the authorization endpoint _is_ where it should be, it seems
#
jacky
it makes sense for it to be on the token endpoint as well - mainly to issue .. tokens
#
aaronpk
the different in indieauth is whether the client is asking for an access token or whether it's asking for the user's identity URL
#
aaronpk
it kind of grew out of the fact that access tokens weren't even part of the original use case for indieauth, so there was only one endpoint to start with
#
jacky
oh that's an interesting tidbit
#
jacky
okay basically got the endpoints down tbh
#
jacky
just need to go backwards and create a way for other people to sign in
#
GWG
aaronpk: Time for another IndieAuth session?
[fluffy] joined the channel
#
Seirdy
alex11: thanks :3
[KevinMarks] joined the channel
#
Seirdy
yeah the indieweb is a great example of an open platform that addresses pretty much everything except usability in that article and its predecessor, "Whatsapp and the domestication of users"
jeremycherfas and KartikPrabhu joined the channel
#
[cleverdevil]
Here is my work-in-progress for my HealthKit data sync service, which I am calling ‘health lake’
#
Loqi
[cleverdevil] healthlake: Web service for ingesting Apple HealthKit data into an S3-backed data lake and making it accessible.
#
[cleverdevil]
Lots of detail in the README about status, how one might use it, etc.
[schmarty] joined the channel
#
[schmarty]
[cleverdevil] ++ this is super cool!
#
Loqi
[cleverdevil] has 1 karma in this channel over the last year (3 in all channels)
#
[cleverdevil]
Its super fun! It also helps me understand how much of a slacker I’ve been since quarantine started.
#
[cleverdevil]
Motivation to exercise more :) I have a new bike arriving in two weeks.
#
vilhalmer
the pointer to the health auto export was worth the price of admission :D
#
vilhalmer
I was looking at this same sort of thing recently and was considering just doing the manual zip export periodically
#
[cleverdevil]
I am sure that many folks here will be able to replicate what I’ve done potentially in alternative implementations / approaches.
#
[schmarty]
I had started playing with https://github.com/dogsheep/healthkit-to-sqlite and was cranky about the first step (generate and manage a dump file of my entire HealthKit history)
#
Loqi
[dogsheep] healthkit-to-sqlite: Convert an Apple Healthkit export zip to a SQLite database
#
vilhalmer
yeah the zip export is super slow
#
vilhalmer
and not incremental, which is a pain too
#
vilhalmer
it's cool that they offer it though, I discovered it by accident
#
[schmarty]
Pretty excited for the auto-export setup for sure
#
aaronpk
oh nice, an auto-export app for ios?
#
aaronpk
is it actually automatic? like you don't need to launch the app every day or something
#
[schmarty]
Linked in [cleverdevil] 's project README
#
aaronpk
i saw it, but "automatic" means different things to different people, especially on iOS ;-)
#
[cleverdevil]
Its automatic!
#
[cleverdevil]
At least, its been working like that for me for a few days.
#
[cleverdevil]
You can also do manual syncs at different granularity and different intervals.
#
[cleverdevil]
Its pretty great.
#
aaronpk
i'm so glad someone built that
#
vilhalmer
yeah this is fantastic
#
vilhalmer
not attempting to be a cloud service
#
aaronpk
might encourage me to actually use apps that write stuff to healthkit now
#
[cleverdevil]
Same. I actually got a few weeks into attempting to build it myself last year, and then lost interest after I remembered that I am not a Swift programmer :)
#
vilhalmer
for $2 I will buy it on the chance I end up getting around to it
#
aaronpk
[cleverdevil]: lol me too. except i got as far as looking up API docs for healthkit 😂
#
[cleverdevil]
Heh, I even had it pulling some of the metrics, but the API for HealthKit is sort of hard to understand, at least for my feeble little brain :P
#
[cleverdevil]
This is is *perfect.*
#
[cleverdevil]
This *app*
#
aaronpk
totally worth $2 too
#
aaronpk
i'd pay a lot more than that tbh
#
[cleverdevil]
The thing I like about my approach is that all of the data is stored in flat JSON files in S3.,
#
aaronpk
yeah i'm gonna see what it looks like to store mine as files next to my posts
#
[cleverdevil]
It could just as easily be done on-disk, but you lose the ability to query it with SQL unless you ingest into something like SQLite or MySQL, which starts to get to be a PITA.
#
aaronpk
i started doing some of that already to show the little productivity graphs on my site
#
[cleverdevil]
I am pretty delighted with the design I came up with on my /health page.
#
[cleverdevil]
I need to link it from the site now that I am happy with it.
#
[cleverdevil]
The animated activity rings are :chefs-kiss:
#
[cleverdevil]
(I found those on some random website, and can’t find it anymore).
#
[cleverdevil]
I don’t currently record workouts, but I’m gonna start.
#
[cleverdevil]
Then I can create visualizations for that too.
#
[cleverdevil]
Potentially auto posts as well.
#
[cleverdevil]
I have basically zero microformats on my health page now.
#
[cleverdevil]
I need to figure that out.
#
[schmarty]
I really just want a little bike icon on the days I spin the bike 😂
#
aaronpk
No need for microformats until there's a consuming use case
#
[cleverdevil]
^ I need to remember that more.
#
[cleverdevil]
Its an easy trap to fall into.
#
aaronpk
yep I have made that mistake a few times
#
aaronpk
but it would be pretty cool to for example show me a list of all my friends step counts in my reader :-)
#
[cleverdevil]
Ooh that’s a fun idea.
#
jacky
that'd be the final bridge imo for fitness stuff
#
jacky
my partner gets to follow friends w.r.t their rings and what not
jeremycherfas joined the channel
#
jacky
and I'm like the only person in the group chat that doesn't have any Apple products so I'm always left out :(
#
jacky
silos--
#
Loqi
silos has -1 karma over the last year
#
GWG
I don't have any Apple products
#
[cleverdevil]
Yeah, its definitely a challenge. Apple has the advantage of this highly integrated platform, which granted is a bit of a walled garden, but I will give them credit that basically everything you need to own your own data has an API that you can use.
#
jacky
it's definitely a walled garden, lol
#
[cleverdevil]
That said, I am happy in said garden :)
#
jacky
but yeah, I have a friend that's like the iOS queen as far as I know and she's mentioned that it's kinda hard to see out once you're in and that a lot of what you want can be grabbed quickly
#
jacky
I guess you get what you pay for
#
jacky
[snarfed]: I'm noticing that if I have a instance in AP that's down, it marks the whole thing as failed: https://telegraph.p3k.io/webmention/15AQljWsuyWnfs205V/details
#
jacky
I'm guessing there's no explicit way to tell Bridgy to stop sending to a instance
#
jacky
hm I wonder if this is ticket-worthy
[snarfed] joined the channel
#
[snarfed]
jacky: hmm it actually uses the last AP’s result; it doesn’t require all to succeed. it’s suspicious that telegraph doesn’t show an HTTP status. it took 25s, i suspect telegraph just timed out
#
jacky
ahh that makes sense
#
[snarfed]
it does send dupes though, i should de-dupe the target instances
#
[snarfed]
i can also manually remove followers on dead instances. (playvicious.social is dead?)
#
jacky
it is
#
jacky
(I knew it was happening but I didn't get a date so lost all of my data there)
#
[snarfed]
ugh, sorry. k, de-duping is done, and i’ll remove those followers. hopefully that will help avoid sender timeouts
[tantek] joined the channel
#
jacky
it did!
#
jacky
thank you
#
aaronpk
let's see...
#
aaronpk
looks like it's not laravel, so just the basic composer stuff should work