#dev 2018-06-18

2018-06-18 UTC
KartikPrabhu, [miklb] and snarfed joined the channel
#
GWG
gRegorLove: I'm now getting Missing Session State on Indiebookclub.
eli_oat, renem, snarfed, tantek, tomasparks, tbbrown and tantek__ joined the channel
#
tantek__
!tell schmarty in the p
#
Loqi
Ok, I'll tell them that when I see them next
#
tantek__
!untell schmarty
#
gRegorLove
GWG: Can you try the signout link and try signing in again? https://indiebookclub.biz/signout
#
Loqi
indiebookclub
#
gRegorLove
I did make some changes to session management over the weekend, so hoping that does it. Jack reported similar. I'll look into it more tomorrow.
snarfed, KartikPrabhu and [eddie] joined the channel
#
[eddie]
jgmac1106: What do you want a podcast player to do? You mention webmention but I’m confused what role that would play. Do you mean Micropub for listen posts or something else?
#
[eddie]
!tell schmarty Thanks 😁 Happy to hear that worked!!
#
Loqi
Ok, I'll tell them that when I see them next
#
[eddie]
!tell aaronpk awesome! That’s great to hear! When logging in to Microsub, I’ll probably have a section underneath the login that contains a link to sign up for Aperture (which would open the Aperture landing page or whatever page you put the explanation on in the web browser)
#
Loqi
Ok, I'll tell them that when I see them next
#
[eddie]
It’ll put primary emphasis on logging in but it’ll provide a path for someone that doesn’t have Microsub yet
[miklb], gRegorLove_, snarfed, cweiske, barpthewire and iasai joined the channel
#
Loqi
cweiske: jeremycherfas left you a message 1 day, 20 hours ago: Not seeing how to specify which server when I post a note from shpub
#
cweiske
jeremycherfas, shpub -s $servername
#
Zegnat
cweiske, we got there in the end :) There was a bit of a problem where verbose `shpub server` does not show mp endpoint urls (which ended up being wrong) and there didn’t seem a way to empty cache from the app?
#
Zegnat
(Or I didn’t find the right command to purge cache.)
swentel joined the channel
#
cweiske
you can say "shpub server $servername"
#
cweiske
that shows the details for a single server
#
cweiske
which is different than "shpub server --verbose"
#
cweiske
which is probably confusing
jgmac1106_ joined the channel
#
Zegnat
Huh. I thought that would have required --verbose. Woops
#
jgmac1106_
!tell eddie the conversation came up between [gwg] and [chrisaldrich] who both publish the same podcast on their sites but consider Dave canonical. They wanted to gather webmentions from both but this got me thinking once I subscribed I will probably never go back to the posts. If there was a podcast player that was also a micropub client where I could post a listen-to or a review that would be neat
#
Loqi
Ok, I'll tell them that when I see them next
iasai, swentel_, barpthewire and jjuran joined the channel
#
GWG
!tell gregorlove Still getting Missing Session State
#
Loqi
Ok, I'll tell them that when I see them next
#
schmarty
GWG: I had to clear my cookies for indiebookclub.biz to get things working after gRegorLove switched the session storage mechanism
#
Loqi
schmarty: tantek__ left you a message 8 hours, 1 minute ago: in the p
#
Loqi
schmarty: [eddie] left you a message 7 hours, 13 minutes ago: Thanks 😁 Happy to hear that worked!!
#
aaronpk
good morning!
#
Loqi
aaronpk: [eddie] left you a message 7 hours, 24 minutes ago: awesome! That’s great to hear! When logging in to Microsub, I’ll probably have a section underneath the login that contains a link to sign up for Aperture (which would open the Aperture landing page or whatever page you put the explanation on in the web browser)
#
Loqi
greetings human
jjuran joined the channel
#
swentel
oh, is aperture open now ?
#
aaronpk
very close
#
aaronpk
i'm running some tests locally to make sure this 7-day cleanup works
#
swentel
ok cool
[jgmac1106] joined the channel
#
aaronpk
gotta fix watchtower for real too
#
aaronpk
ahhhh figured it out. sometimes I wish SQL would prevent this mistake
#
swentel
yeah, I hope that I can debug it soon
#
swentel
my site keeps not updating :)
#
aaronpk
I always forget that when you add a join table to a query, that table's columns get returned too. and then in the ORM, "id" will refer to only the second table
#
aaronpk
that should be fixed now :)
#
Zegnat
That feels more like an ORM issue than an SQL issue?
[kevinmarks] joined the channel
#
aaronpk
it's a combination really
#
aaronpk
if you write the SQL out you see both columns too, and they have the same name
#
aaronpk
and if you aren't using an ORM you'll have the same problem
#
aaronpk
Vouch << An example of a manual "vouch" post on Twitter https://twitter.com/gRegorLove/status/1007376630476607489
#
@gRegorLove
@benward @t @Microformateers Hi Ben, @t mentioned this tweet to me. I have a PHP library to convert h-event to iCal: https://github.com/gRegorLove/mf2-to-iCalendar. It’s basic, but working well for my calendar page: https://gregorlove.com/calendar.
(twitter.com/_/status/1007376630476607489)
#
Loqi
ok, I added "An example of a manual "vouch" post on Twitter https://twitter.com/gRegorLove/status/1007376630476607489" to the "See Also" section of /Vouch https://indieweb.org/wiki/index.php?diff=48791&oldid=47286
#
GWG
I want a Vouch session at IWS
#
Zegnat
That would be interesting, I would join in on that!
#
Zegnat
I’ve received 2 vouched webmentions. But I am not doing anything with it. Wondering what people’s thoughts are.
jeremych_ joined the channel
#
jgmac1106_
vouch ain’t for off credential for me. Folks know I want to figure out a webmention way for that
#
jgmac1106_
as far as anti-spam, even better if I could set it for vouched is already approved comment.
#
Zegnat
The vouches I received (from gRegorLove) would never have passed any vouch validation on my end, even if I had written code for it, which I find doubly interesting
#
jeremycherfas
!tell zegnat cweiske thanks to both of you.
#
Loqi
Ok, I'll tell them that when I see them next
#
jeremycherfas
!tell jgmac1106_ I know that Overcast can invoke the ios sharesheet for the episode as a whole and at a specific time; I wonder whether that can be bent to send a webmention?
#
Loqi
Ok, I'll tell them that when I see them next
#
jgmac1106_
I am on PocketCast for Android willing to change it up, though I did PocketCast
#
@caraudioshoppin
Time is running out to save on Microsub+, Microsub & Powerwedge+ enclosed subwoofer systems! Link in bio. #HowWePlay #JLAudio #caraudio Repost from @jlaudioinc
(twitter.com/_/status/1008698797822799874)
#
aaronpk
"link in bio"?? on twitter?
#
aaronpk
really
#
sknebel
Zegnat: why whouldn't they?
#
Zegnat
gRegorLove used GitHub as vouch. No way I would whitelist a silo like GitHub, then everyone could vouch for their spam.
#
Loqi
Zegnat: jeremycherfas left you a message 5 minutes ago: cweiske thanks to both of you.
#
aaronpk
my poor laptop is really struggling with these ~400k row database tables
#
Zegnat
Yikes
#
Zegnat
Local copy of Aperture?
snarfed joined the channel
#
aaronpk
I want to run these scripts on the real data before I launch it
[cjwillcock], eli_oat and snarfed joined the channel
#
petermolnar
aaronpk: 400k is not _that_ much, is it mysql? if yes, is it innodb?
#
aaronpk
yes to both
#
aaronpk
it took a while to add an index
#
petermolnar
what's in your mysql.cnf?
#
petermolnar
and how much memory can you spare for mysql?
#
aaronpk
stock config from whatever homebrew installed
#
petermolnar
ok, no surprises then
#
aaronpk
the table is about ~1gb, and I don't really want to put that all in ram.
#
petermolnar
recommendations: innodb_file_per_table = 1\ninnodb_file_format = Barracuda\ninnodb_buffer_pool_size = 2G\ninnodb_log_file_size = 512M\ninnodb_large_prefix = 1\ninnodb_strict_mode = 0
#
aaronpk
cause I don't really need it to be fast, and I would rather have the ram for everything else on my computer
#
aaronpk
this isn't a server, it's just my laptop
#
petermolnar
fair point; on the other hand, shut it down when you don't need it
#
aaronpk
also that wouldn't help with adding an index anyway, would it?
#
petermolnar
so no ram consumption
#
petermolnar
good question, it probably wouldn't
#
petermolnar
the innodb_flush_method tuning might
#
aaronpk
if I had a 4-core processor this would be a lot faster
#
petermolnar
what's the fs underneath it, is it a copy-on-write fs?
#
aaronpk
it's macos, not the new one
#
aaronpk
yeah I think so
#
petermolnar
that's now cow, I think
#
petermolnar
there's a flag for systems like zfs and btrfs: skip-innodb_doublewrite
#
petermolnar
the barracuda file format might help a bit though, if it's not the default right now; that enables a compression on the db files, so even adding an index would mean less disk io
#
petermolnar
but you'd need to reimport the db
#
aaronpk
haha no thanks. that took hours to import the first time :P
#
petermolnar
I have spare ~10G RAM on my server
#
petermolnar
if you ever need some RAM
snarfed joined the channel
#
aaronpk
what I really need is the guts of a 2018 mac pro in the body of a 12" macbook :P
#
aaronpk
without it catching on fire
#
petermolnar
it's called a thinkpad :D
#
petermolnar
but not in 12", no
sketchess joined the channel
#
Zegnat
Or just any update to the macbook line in general. *eyes Apple*
tbbrown joined the channel
#
jeremycherfas
IndieWeb development-focused chat. This is where the sauce is made - Logs at https://chat.indieweb.org/dev/today - bridged with #dev in Slackdiaphrasty @d
#
jeremycherfas
Ooops. Typed in the wrong app. Sorry about that.
#
Zegnat
IndieWeb development-focused chat. This is where the sauce is made - Logs at https://chat.indieweb.org/dev/today - bridged with #dev in Slack
#
jeremycherfas
Thanks for the rescue.
eli_oat, iasai, jgmac1106, [miklb] and [jgmac1106] joined the channel
#
aaronpk
alright, running migrations on the production site
[eddie] joined the channel
#
[eddie]
:crossed_fingers:
#
Loqi
[eddie]: jgmac1106_ left you a message 6 hours, 27 minutes ago: the conversation came up between [gwg] and [chrisaldrich] who both publish the same podcast on their sites but consider Dave canonical. They wanted to gather webmentions from both but this got me thinking once I subscribed I will probably never go back to the posts. If there was a podcast player that was also a micropub client where I could post a listen-to or a review that would be neat
#
[eddie]
!tell jgmac1106 That makes sense! With both Overcast and Castro on iOS I have my micropub endpoint able to parse those urls for the actual podcast episode permalink (which ends back at their original posts on their websites), so I can use the Share Sheet in either of those apps to track a "Listen" post. All of the listen posts on https://eddiehinkle.com/media/ come from my podcast player using the Share Sheet in Indigenous for iOS
#
Loqi
Ok, I'll tell them that when I see them next
#
jgmac1106
and that I think is what Dave and Chris were trying to get at with reverse salmentions ….he says without actually listening to the podcast
#
Loqi
jgmac1106: [eddie] left you a message 1 minute ago: That makes sense! With both Overcast and Castro on iOS I have my micropub endpoint able to parse those urls for the actual podcast episode permalink (which ends back at their original posts on their websites), so I can use the Share Sheet in either of those apps to track a "Listen" post. All of the listen posts on https://eddiehinkle.com/media/ come from my podcast player using the Share Sheet in Indigenous for iOS
#
[eddie]
!tell jgmac1106 my eventual goal is to build the podcast parsing either into Indigenous or into something like XRay so other people can get the original permalinks when using Like/Reply/Listen actions
#
Loqi
Ok, I'll tell them that when I see them next
eli_oat joined the channel
#
[eddie]
Then people don't have to use a specific podcast client to use IndieWeb type actions, they can just use the Share Extensions from podcast players they enjoy. Of course, once we get the parsing all figured out, it'll be great to get that working across the whole ecosystem (iOS, android, etc)
dougbeal|mb1 and [kim_landwehr] joined the channel
#
[eddie]
!tell jgmac1106 in Android does pocketcast (or other podcast players) have a button to be able to "Share the podcast url" where it opens up an action sheet or share sheet (or whatever its called in Android) lol
#
Loqi
Ok, I'll tell them that when I see them next
#
[eddie]
!tell swentel For Indigenous for Android do you currently parse a url in anyway to choose which actions to show (Reply, Bookmark, Like, RSVP, etc) or do you just show all potential options? If you parse it is that local code or using a hosted service like XRay?
#
Loqi
Ok, I'll tell them that when I see them next
#
Zegnat
I can share the episode, and the share panel on Android allows me to pick Indigenous.
#
Zegnat
No idea how the flow progresses, as I haven’t been able to log in to Indigenous yet.
#
[eddie]
Okay, cool. I'm glad to hear that flow works like that on Android too. That means if I can get the URL parsing logic onto my local copy of XRay, we could use it both in iOS and Android 🙌
#
[eddie]
Thanks Zegnat!
#
[eddie]
If you share the episode to a web browser, what type of a URL does it provide you? (if you don't mind sharing info about one of your podcast episodes)
#
Zegnat
Doesn’t let me just copy a link. Annoying app only lets me share to other apps
#
[eddie]
ohh how strange! haha
#
Zegnat
shares to a chat with himself on Messenger
#
[eddie]
lol! that's one way to beat the system
snarfed joined the channel
#
Zegnat
https://pca.st/Mr9N - was the link that got shared
#
[eddie]
excellent, that's perfect. Thanks
[cleverdevil] joined the channel
#
[cleverdevil]
I wish more services offered webhooks for this type of thing.
#
[cleverdevil]
I use the Plex webhook for my Watch posts.
#
[cleverdevil]
(Though, theirs needs some serious work).
#
Zegnat
I can also get a link for the “position in episode”.
#
[eddie]
oh sweet! Very cool, Overcast does that as well
#
Zegnat
For position in episode, Pocket Casts appends a #t=nnnn to the above URL
#
Zegnat
https://pca.st/Mr9N#t=1322 in the case of this example
#
[eddie]
is that at minute 13:22?
#
[eddie]
If not, then that would be in seconds
#
[eddie]
Which in seconds should be like 22 minutes
#
[eddie]
Oh yep! That's where the timehead is in the web browser
#
Zegnat
seconds
#
Zegnat
22:02 is where I paused the podcast when I stopped listening
#
[eddie]
Excellent, that With that we can actually set up easier fragmention. Both Overcast and pocket cast share #t=seconds, so those are super compatible with each other
#
Zegnat
I just wish more apps supported gpodder
#
Zegnat
That could give me automatic tracking of when I listen to which podcasts
#
[eddie]
goes to start opening up tickets on Indigenous for Android so we can work on Podcast support in tandem on both iOS and Android
#
[eddie]
interesting, what is gpodder? Some type of podcast server or something?
#
Zegnat
An open-source and selfhostable server for tracking and syncing podcasts
#
Zegnat
Here is the API documentation of events that the client may send to the server: https://gpoddernet.readthedocs.io/en/latest/api/reference/events.html
#
[eddie]
Oh very cool!
#
Zegnat
download/delete/play/position events are exactly what you want for syncing … and for tracking!
#
Zegnat
[eddie], feel free to @ me on any of those issues if you need an Android user to test something. Though I haven’t gotten Indigenous working at the moment.
snarfed, [keithjgrant] and eli_oat joined the channel
#
gRegorLove_
GWG, did clearing cookies work for indiebookclub?
#
Loqi
gRegorLove_: GWG left you a message 5 hours, 51 minutes ago: Still getting Missing Session State
#
Zegnat
cookie << For session cookies: [https://paragonie.com/blog/2015/04/fast-track-safe-and-secure-php-sessions The Fast Track to Safe and Secure PHP Sessions]
#
Loqi
ok, I added "For session cookies: [https://paragonie.com/blog/2015/04/fast-track-safe-and-secure-php-sessions The Fast Track to Safe and Secure PHP Sessions]" to the "See Also" section of /cookie https://indieweb.org/wiki/index.php?diff=48792&oldid=44087
#
[eddie]
If anyone has any Podcast Players that are their favorites, feel free to go to https://github.com/swentel/indigenous-android/issues/85 and leave a comment so we know to see if we can add support for those podcast players
#
Loqi
[EdwardHinkle] #85 Add support for Listen posts in the share screen
snarfed joined the channel
#
[eddie]
As well as if you have any thoughts on Listen posts, etc. Feel free to head over there and comment :)
snarfed, jgmac1106_, KartikPrabhu, tantek and [cleverdevil] joined the channel
jjuran joined the channel
snarfed joined the channel
#
@ramsey
↩️ You should check out the IndieWeb project, Micropub specification, Web Mentions, and more. Links: https://indieweb.orghttps://www.w3.org/TR/micropub/https://www.w3.org/TR/webmention/https://www.w3.org/wiki/Socialwg
(twitter.com/_/status/1008786776629051393)
swentel, snarfed, [grantcodes], eli_oat, [cjwillcock], [jgmac1106], KartikPrabhu, tantek and [kevinmarks] joined the channel
#
[kevinmarks]
I cheat the reverse webmention thing on svgur.com by looking up it and svgshare.com on webmention.herokuapp.com
snarfed joined the channel
#
@Barbayellow
Je joue avec https://indieauth.com/, pour utiliser les fb twitter & co tout en contrôlant mes données. Prometteur
(twitter.com/_/status/1008814850221408257)
eli_oat, KartikPrabhu, [manton], tantek__, [cleverdevil] and [grantcodes] joined the channel
[kevinmarks], snarfed, [asuh] and tantek__ joined the channel
#
@EddieHinkle
↩️ Hey, sure! You can sign up here: http://eepurl.com/c-SlfP it does require a website with a Micropub endpoint. And for the reader functionality it requires an account with a Microsub-compatible server.
(twitter.com/_/status/1008845389015986176)
eli_oat, [eddie], snarfed, [grantcodes], gRegorLove and [miklb] joined the channel