#dev 2019-11-08

2019-11-08 UTC
#
[manton]
[gRegorLove] Thanks. In this case, I think the calling app would notice the "me" doesn't match and reject it too, although I might add an extra check for that.
#
gRegorLove
Yeah, the auth endpoint can canonicalize the me but "MUST be on the same domain."
#
gRegorLove
I'm just wondering about the UX if someone enters m.b/username and the auth endpoint shows an error
#
mblaney
ok so there's hope for personal sites doing their own scraping? I appreciate all your work providing silo feeds for everyone, but if that's what it takes...
#
[snarfed]
no, there's not a lot hope. i tried scraping m.facebook.com to revive bridgy backfeed, and they caught that pretty fast, just for one user, from one IP, not too many requests
#
[snarfed]
i mean, feel free to try, but don't get your hopes up
#
[snarfed]
bridgy does currently scrape twitter likes, since they're not in the API, so 🤷
#
mblaney
oh that is really disappointing. thanks for the info though.
#
GWG
I need to find a group of people who read and interact with my stuff elsewhere, I guess
#
[snarfed]
eh. don't focus on audience. that way lie dragons
#
GWG
I am not, just want community.
#
GWG
I need to write more
#
GWG
Regardless
#
[jgmac1106]
Gwg you blog and talk WordPress....people already read you like a thought leader
#
[jgmac1106]
I think you also have an interesting niche in developing to meet your religious needs. Write for one and many will follow
#
GWG
I have been not writing up my Southwest hack for nearly a week now
[chrisbergr] joined the channel
#
[chrisbergr]
Where should I interact with your stuff?
#
gRegorLove
mblaney, is Twitter cracking down on developer accounts?
#
GWG
[chrisbergr]: My website
#
KartikPrabhu
who is GWG?
#
[chrisbergr]
David: Of course I will be happy to do that. At the moment I'm fixing some mf2 issues, after that I want to interact with all of you, finally.
shah^ joined the channel
#
mblaney
gRegorLove they are requesting you apply for a developer account just to get an app key. didn't need to do that to get a key up until now.
#
sknebel
I think they've done that for quite a while, at least for people that didn't have keys registered already?
#
[snarfed]
even for people with registered apps
[fluffy] and [tantek] joined the channel
#
[tantek]
so naturally this puts more pressure on Bridgy Publish to POSSE
[chrisaldrich] and [dougbeal] joined the channel
#
[dougbeal]
Huh, you can compile go to web assembly
gRegorLove, dougbeal|iOS, swentel, deathrow1, fauno and RenAmamiyaDiscor joined the channel
#
swentel
so, testing websub notification callbacks now
#
swentel
Saw something come in from GWG, but wasn't picked up, so that's my fault
#
swentel
but I would have expected a notification for Aaron's site from switchboard.p3k.io
#
swentel
but haven't seen anything come in yet
#
swentel
even though I see new posts on his feed
#
swentel
aaronpk, any ideas on that? ^
swentel_ and swentel joined the channel
#
aaronpk
hmm is my hub pinging broken?
#
aaronpk
swentel: Are you subscribed to my home page?
#
swentel
aaronpk, primary page
#
swentel
that's the subscription ^
#
aaronpk
Try without /primary
#
aaronpk
I may have forgotten to ping for that url
#
swentel
ok, will subscribe to that one
#
aaronpk
Of course my site is in conference mode right now so my home page only shows posts with certain tags so that might also cause problems hehe
#
swentel
yeah, that's why I follow primary :)
#
swentel
but, will test homepage now, need to make sure my notification callback handles things ok
#
aaronpk
I think the chat logs are also websub enabled
#
swentel
ok, subscribed, now waiting :)
[LewisCowles] and asymptotically joined the channel
#
GWG
swentel: Why wasn't something picked up from me? Anything on my end?
vbDiscord[m] and [chrisbergr] joined the channel
#
swentel
GWG, oh no, parsed the link headers wrong
#
GWG
swentel: Okay. That post was the thing I mentioned to you I wish I had a better app for, by the way.
#
swentel
yep, seen it
#
GWG
Is it worth me learning Android development for that one use case?
#
swentel
why not :)
#
swentel
android studio is really nice to work with
#
swentel
really strong ide
#
swentel
getting GPS data isn't that difficult either, lot's of examples to find
#
swentel
and you can easily store something in a sqlite db
mblaney1 joined the channel
#
GWG
swentel: I think maybe first I'll see if I can find an existing project to do issues/PRs to
#
GWG
I actually do all of my development in vim, so an IDE would be quite a change
#
swentel
oh, that's been a while
#
swentel
but I guess java has helper libraries for vim, especially for imports etc, it would become tedious otherwise
#
GWG
swentel: As I said, probably need to scope out additional projects
#
GWG
There was one petermolnar was using, I think.
#
petermolnar
someone summoned me
#
petermolnar
what's the context?
#
GWG
petermolnar: Android location tracking apps
#
GWG
Didn't you have one you used
#
GWG
Or am I misremembering?
#
petermolnar
yes, I did; Backitude, but it's a discontinued thing
#
petermolnar
what is ulogger?
#
Loqi
μlogger is client-server location tracking software for Android https://indieweb.org/ulogger
#
petermolnar
alternative I have good experience with this so far: https://play.google.com/store/apps/details?id=com.mendhak.gpslogger
#
petermolnar
it's a replacement for backitude
#
petermolnar
not that great on battery though
gRegorLove joined the channel
#
GWG
I am using Gpslogger but not 100% happy with it
[grantcodes] joined the channel
#
[grantcodes]
What is owntracks?
#
Loqi
OwnTracks is an open source app for tracking your location and sharing with others, available on iOS and (unmaintained) Android https://indieweb.org/OwnTracks
#
[grantcodes]
I think it is maintained again
#
GWG
[grantcodes]: It is. I installed it on my parent's phones
gxt joined the channel
#
[grantcodes]
Why not use that then?
#
GWG
Doesn't have the functionality I need
#
GWG
I would have to run a converter script somewhere
#
GWG
To get it into Compass
#
GWG
Also, I use it for my parent's home automation setup, not for the constant monitoring I do for maps
#
@bzelip
↩️ The micropub protocol allows for things like using 3rd party clients to publish to sites you control. There's an authorization that has to happen, via IndieAuth, https://indieauth.net/. My sandbox project auths into github to update jekyll posts that then publish to gh-pages.
(twitter.com/_/status/1192791487056142336)
[jgmac1106] joined the channel
#
[jgmac1106]
I am using trackbook Android you can get it in play store or F-Droid think
jeremych_ joined the channel
#
[grantcodes]
Does anything have the functionality to post directly to compass?
#
[grantcodes]
Apart from overland on iOS?
#
jeremycherfas
!tell snarfed Can I use the same consumer_key from an existing twitter-atom feed of a list to get a different list?
#
Loqi
Ok, I'll tell them that when I see them next
[KevinMarks] joined the channel
#
[KevinMarks]
What's the android app case that you can't do with a Web app?
#
aaronpk
Background location tracking and geofencing
#
aaronpk
GWG: one option is to write a new endpoint in compass that can accept data in other formats
#
GWG
aaronpk: I thought of that.
#
GWG
There is still some app limitations
#
GWG
That I'd like to address
#
[KevinMarks]
Hm. I wonder if you could use the silent notification thing to wake up a background web app that has a service worker
#
Loqi
[Jeremy Keith] Push without notifications
#
[KevinMarks]
So your website sends a push, the sw then calls the web location api
#
aaronpk
Maybe, but that's gonna be horrible performance and possibly worse battery
#
[KevinMarks]
On android the web api is quite chill. You get a bigger and bigger confusion circle until something triggers a location wakeup
swentel, [Teresa_Ingram], vika_nezrimaya, [tantek] and mblaney joined the channel
#
@bzelip
↩️ I'm new to #indieweb actions and building blocks. As I understand it, Micropub is mostly a CRUD interface for yourself, where content is updated via any client via IndieAuth, and via metadata on your stuff. Webmention & Microsub deal with syndication I/O. https://indieweb.org/graphics#Illustrations_and_Sketch_Notes
(twitter.com/_/status/1192811384993529856)
[manton], [snarfed] and j4y_funabashi joined the channel
#
j4y_funabashi
Huzzah! just implemented micropub update, only replace though I dont think I will use the others :/
#
j4y_funabashi
It is a fairly dull change on it's own but I have a couple of tools I want to build that need to be able to update posts
#
j4y_funabashi
First one Im making will loop through all posts and convert geo: urls to locations/venues
#
@slightlylate
@kevinmarks @Paul_Kinlan @davatron5000 @beverloo @b1tr0t We shelved work on geofencing over privacy, but unsatisfying to not have an answer. Took a while to see it from a different perspective, but eventually @beverloo (and I think @owencm) realised we could flip it around. The result is Notification Triggers: https://github.com/beverloo/notification-triggers
(twitter.com/_/status/1192833844015058950)
#
[jgmac1106]
hmmmm the svg slide show was easy to make but not that accessible....need to think about how I can present the same info for screenreaders
#
[jgmac1106]
thinking on this if a text of slide wouldn't fit into the alt text of the slide than it iis probably too many words or concepts anyways
#
[KevinMarks]
Svg should be accessible inherently if they are using text and not paths
#
[KevinMarks]
You could paste the svg inline in a reveal.js style thing
#
[KevinMarks]
Then they're html and not external files
#
[KevinMarks]
Then pay attention to file order of the text strings in the svg so they make sense (depending on how you made the svg the file order may not match the spatial order)
[grantcodes], [arush] and [prtksxna] joined the channel
#
[jgmac1106]
I cheated...make slide show in Google Slidesa, export each slide as an svg copy and paste onto my website
[chrisaldrich] and pvienhageDiscord joined the channel
#
[jgmac1106]
snarfed++ https://pca.st/vhq358vo though I need to move my img out of css
#
Loqi
snarfed has 53 karma in this channel over the last year (101 in all channels)
#
[jgmac1106]
as an FYI I tried both uifeatured and u-photo....oooh wait a minute the img is in the first show...maybe I need to move it to the feed description
gRegorLove joined the channel
#
jamietanna[m]
gwg: I do most of my stuff in Vim too, but for Java I have to use an IDE (IntelliJ) because it's quite painful otherwise, especially when debugging code
#
[snarfed]
[jeremycherfas] yes you can
#
Loqi
[snarfed]: jeremycherfas left you a message 3 hours, 57 minutes ago: Can I use the same consumer_key from an existing twitter-atom feed of a list to get a different list?
#
[snarfed]
[jgmac1106] did you get it working?
#
[jgmac1106]
everything but the img
#
[jgmac1106]
I tried u-feautred switching to u-photo to give that a go
#
[jgmac1106]
pocketcast accept without cover art. microcast.club and itunes do not
swentel joined the channel
#
[tantek]
please don't "switching to u-photo to give that a go" just to try to hack something. understand why it's not working the way it's "supposed to" and then file a bu
#
[jgmac1106]
I am and if u-featured didn't work, and then u-photo didn't work I feel the issue would be better improved if I can describe each step i tried before filing
#
[jgmac1106]
also I would assume the issue is usually me and not stuff snarfed built
#
[snarfed]
i'll look
#
[tantek]
[jgmac1106] I'd stay *stop* after you've tried all documented steps. Instead just throwing rando markup / mf2 at it and hoping for the best.
#
[tantek]
then file a bug
#
[tantek]
Instead *of* just throwing
#
GWG
aaronpk: If I have a data set to import into Compass, and there might be overlapping data already, how would you recommend I proceed?
#
[jgmac1106]
there really isn't documentation yet on converting mf2 into an rss feed with Granary that Apple will validate...snarfed and I kinda been throwing spaghetti at wall till we can iron out all the kinks (to mix all the metaphors)
#
aaronpk
overlapping as in exactly the same? or in the same time range but different data?
#
aaronpk
spaghetti and irons? sounds messy
#
[jgmac1106]
ha ha,m strange I said like ironing ice earlier...must be stuck in my head
#
[jgmac1106]
p-size and p-duration validated fine, so close....I was manually updating my xml after each new show....this is gonna be amazing once working
#
GWG
aaronpk: I have two different data trackers...Compass and I left Google on till I imported the data over and I've been putting that off
#
aaronpk
ah that's messy
#
aaronpk
do you want to try to merge the data or use only one set for the overlapping dates?
#
GWG
aaronpk: Not sure. Google probably has additional parameters I might want
#
GWG
But I may do everything prior to March 30, 2019...when I turned on compass first
#
aaronpk
compass (or rather quartzdb) has a command to re-sort the lines in a file, so if you get everything into its storage it can put it into the right order
#
aaronpk
but that may give you weird results because of the differences in the trackers
#
GWG
My Compass data directory is already at 59mb
#
aaronpk
might be better to just discard one source for the overlapping dates
#
GWG
aaronpk: Just wondering, Is it worth adding to the compass repo as a script when I finally get to it? To encourage people to leave Google behind?
#
aaronpk
ooh a script to migrate google data into compass?
#
aaronpk
that'd be cool yeah
#
GWG
aaronpk: I have not written a cli php script in a while.
#
GWG
I think I may do it next, as it would get another silo off my list
#
GWG
I have not silo quit in ages
#
GWG
On the other hand, I jump around a lot
#
GWG
I need to add historical querying of compass first
#
GWG
My site only queries Compass for current location
#
[snarfed]
btw [jgmac1106] i'm still debugging but just fyi looks like your duration `PTOH2M00S` has a typo, letter O should be number 0
#
GWG
Also I was going to, inspired by adactio, add a static map to my archive pages showing all the locations in the archive
[dougbeal] joined the channel
#
[snarfed]
ok [jgmac1106] i've fixed the rss bug. thanks for reporting! your RSS feed now includes your image
#
aaronpk
swentel: yeah looks like the URL I'm pinging at switchboard is https://aaronparecki.com/
#
aaronpk
according to switchboard there is only one subscriber, superfeedr
#
swentel
aaronpk, ok, will adjust my code to use the 'self' property when the discovery runs
#
aaronpk
yeah that's what that is for
#
swentel
will be cool when this works, my microsub feeds can subscribe/unsubscribe, just need to get the content in now :)
#
swentel
last ping makes sense now
#
aaronpk
now i just need to post something
#
swentel
hehe, no pressure :)
#
swentel
I can wait
#
swentel
I've got a few now on WebSub enabled
#
swentel
but, less polling now for the drupal microsub server, that's good
gRegorLove joined the channel
#
[jgmac1106]
snarfed I see the image in the granary xml...didn't pass through microcast.club, I will itunes validators after I take the cherubs to get haircuts after school
#
[snarfed]
great! i'll look at microcast.club
#
[snarfed]
hey [aaronpk] where is the microcast.club source? it's claiming https://granary.io/url?input=html&output=rss&url=https://jgregorymcverry.com/2toPonder has no feed artwork, but it does
#
aaronpk
hm it might not be open source
#
aaronpk
ah it's looking for only the itunes:image tag
#
aaronpk
does itunes accept the <image><url> tag?
#
aaronpk
i didn't even know that was possible
#
aaronpk
podcast rss is not exactly well documented :)
#
aaronpk
yeah that says itunes:image
#
aaronpk
rss itself doesn't really matter tho
#
[snarfed]
but yeah i can add that too. microcast.club looks for itunes:image specifically?
#
aaronpk
yeah cause that's the only examples of publishers i was finding
#
aaronpk
probably because everyone wants to be listed in the itunes directory, and apple's docs say to use <itunes:image>
#
aaronpk
yay standards
#
[snarfed]
also evidently granary needs to support HEAD too
#
Loqi
giggles
#
[snarfed]
i don't actually know that apple says or requires itunes:image vs just image
#
[snarfed]
regardless, i can add it
#
aaronpk
it's probably safer to add it because it seems likely that other podcast feed consumers might also look for only that version since that's the example in the docs
#
[snarfed]
ok done, thx, mc.c likes it now. (cc [jgmac1106])
#
aaronpk
👍
#
[snarfed]
maybe also consider reading the non-itunes equivalent elements though, since it's a standalone service, not an itunes validator 😁
#
[tantek]
yay defacto!
#
aaronpk
sure, but for reasons I am not willing to admit in public, it will be a bit of work to do that
#
[snarfed]
hah, i know the feeling. i won't hold my breath to see the source
#
aaronpk
(i would never parse XML with regexes would i?)
#
[snarfed]
[obligatory zalgo]
#
[jgmac1106]
there is no stand alone equivalent in terms of podcast and Apple.....all validators..just like pitches for reviews...bow to Apple
#
[tantek]
when you have community failure on standards, then the largest player gets to defacto declare them
#
[jgmac1106]
almost tempted not to doit as I get annoyed in every podcast being told to leave reviews on Apple
#
[jgmac1106]
snarfed++ aaropnk++ it works!!
#
Loqi
snarfed has 53 karma in this channel over the last year (101 in all channels)
#
[jgmac1106]
how do I do this in PHP so the date doesn't change but stays static once page goes live? <?php echo date("Y/m/d")?>
#
[jgmac1106]
just realized all my notes for the last few days have a dt-published time fo right now always
#
aaronpk
you have to store the date somewhere
#
[jgmac1106]
ohh okay...will go back to manually typing it then...darn it was a nice timesaver
#
[jgmac1106]
well off to school and then haircuts
#
swentel
woo, notifications work now from switchboard, wicked
#
swentel
this is very very cool
#
swentel
and the publish part works as well
#
[jgmac1106]
Wonder if I can assign a variable to the string and just print the variable rather than echo the string.
#
asymptotically
[jgmac1106]: you will need to save the string to a file or into a database
#
[jgmac1106]
Okay. Then hit pause. If I am doing that might as well go all the way and build a basic form as a publishing UI..
#
[tantek]
building that form handler is step one to implementing a micropub endpoint 🙂
#
[jgmac1106]
Yep. If you give a Mouse a Domain.....
leg joined the channel
#
[tantek]
IndieWeb building blocks as a children's book. yes please
#
GWG
[jgmac1106]: You said it was PHP you wanted to use a date from?
#
GWG
Why did you want to use date()?
#
[jgmac1106]
I was using datetime for dtpublished
#
[jgmac1106]
tantek...I never finished it: https://mouseadomain.glitch.me/
#
[jgmac1106]
poor mouse was supposed to get overwhelmed first by the need to post and then engaging in outrage until she found peace back at her own domain....
#
gRegorLove
[chrisaldrich] I think your microformats got messed up a bit. Only has mf1 hentry, no h-entry. mf2 child properties like u-url, h-cite, in-reply-to aren't parsed as a result.
#
gRegorLove
Also probably minor, but the UserWay thing overrides Ctrl+U (view source)
#
GWG
[jgmac1106]: You could use it just to handle conversion
[chrisaldrich] joined the channel
#
[chrisaldrich]
sorry [gRegorLove] I updated my theme accidentally back in July and haven't had much need to revert it back. I should have done something manually before sending you that webmention. I'll dig up the changes and apply them later this weekend. Working on putting the finishing touches on the talk/slides for tomorrow...
#
gRegorLove
no worries, just wanted to let you know
#
gRegorLove
good luck for tomorrow!
#
[chrisaldrich]
[gRegorLove] I'll also see what I might do to come to the inaugural HWC San Diego...
#
[jgmac1106]
meaning gwg? I need to print the date in the text file at time of publish...which means I need to store stuff and write to file.....for now will go back to manual
#
[jgmac1106]
yes best of luck!!
#
GWG
Are you running PHP each time?
#
GWG
PHP code
#
[jgmac1106]
<time class="dt-published" datetime="<?php echo date("Y/m/d")?>"><?php echo date("Y/m/d")?></time>
#
[jgmac1106]
I'll be back have to go play Beyblades
[LewisCowles] joined the channel
#
[LewisCowles]
[jgmac1106]++
#
Loqi
[jgmac1106] has 12 karma in this channel over the last year (116 in all channels)
#
[LewisCowles]
that mouseadomain is fantastic
#
[jgmac1106]
and I realized one reason I like to POSSE to twitter...Tweetdeck search engine works way better than @withknown...okay off to go prove I am the best with Bey's in the house
#
gRegorLove
[jgmac1106], flat file storage for this PHP project?
#
GWG
gRegorLove: That was my next question
#
[tantek]
[chrisaldrich] did you switch to a different theme? or did the theme you were using get upgraded and have a regression?
#
[jgmac1106]
gRegorLove yes, just saving each file as I go and the FTP
#
[chrisaldrich]
Unintended consequence of not moving over the proper child theme when I moved hosts to fix a prior issue. There are 3 other niggling things I need to fix as well. I was aware of it and I've been letting it slide, but need to fix it now that I'm "back". 😉
#
@AndreJaenisch
↩️ @schnarfed O_O It works! Oh my gosh! Now I just need to think how to get together webmentions with a static site generator (@eleven_ty)
(twitter.com/_/status/1192922128296878086)
#
gRegorLove
Love that new indieweb feel ^
#
GWG
[chrisaldrich]: Is one of those nagging issues a Post Kinds upgrade?
#
[chrisaldrich]
GWG, indeed!
terryHDiscord[m] joined the channel
#
GWG
[chrisaldrich]: I need you up to date.
#
[chrisaldrich]
I have two big projects to finish GWG, then post kinds.
#
@AndreJaenisch
↩️ Nah. That part I already handle (okay, have not enough Webmentions in my http://webmention.io account to check for how to include a comment). It's rather about https://mxb.dev/blog/syndicating-content-to-twitter-with-netlify-functions/ after I deployed my site (all handrolled)
(twitter.com/_/status/1192933948978061313)
jbove joined the channel
#
@AndreJaenisch
↩️ Means, I need to run a script after my content went live. But I don't want to send WebMentions on every build (hourly due to cronjob). Thus I need to persist what I already changed. But I run the build from scratch every time aka stateless.
(twitter.com/_/status/1192934236656934912)
#
@AndreJaenisch
↩️ So what I could do is scrape my website for potential tweets and check in the downloaded ones for a hit. Then filter for the remaining ones and send WebMentions …
(twitter.com/_/status/1192934457914859520)
#
@AndreJaenisch
↩️ @schnarfed Is it possible to pull webmentions from bridgy like I do with http://webmention.io? I couldn't find the proper endpoint in your about page (too much content there) I'm happy to generate an API key if needed.
(twitter.com/_/status/1192935493715009536)
#
@schnarfed
↩️ not exactly. bridgy isn't a storage service like http://webmention.io. you could scrape your user page and parse them out using https://brid.gy/about#api , but i don't recommend it. if you want a storage service, try http://webmention.io or https://webmention.herokuapp.com/ instead.
(twitter.com/_/status/1192936584955322368)
#
@schnarfed
↩️ not exactly. bridgy isn't a storage service like http://webmention.io. you could scrape your user page and parse them out using https://brid.gy/about#api , but i don't recommend it. if you want a storage service, try http://webmention.io or https://webmention.herokuapp.com/ instead.
(twitter.com/_/status/1192936584955322368)
#
@AndreJaenisch
↩️ Already using http://webmention.io (until I can build something on my own - likely using Python webmention-tools). Okay, I consider http://webmention.io as Reading feedback and Bridgy as POSSEing my content.
(twitter.com/_/status/1192937266936721410)
#
@schnarfed
↩️ sure! and bridgy also backfeeds (ie sends webmentions for) replies and likes on social networks. that's its key feature that you don't get from anything else, including http://webmention.io.
(twitter.com/_/status/1192937792071798785)
[snarfed] joined the channel
#
[snarfed]
^ not sure quite how to take the "your docs are too long, so i didn't read them" comment earlier 🤔
#
[tantek]
Long pages of text are potentially a cognitive accessibility issue, there's even a warning template on Wikipedia that editor's use to indicate a page is "too long" and should be broken up in to multiple pages.
#
[snarfed]
still disappointed that the approach was to ignore them and ask questions they answer, but 🤷
vika_nezrimaya and shah^ joined the channel
#
[tantek]
it's not matter of willful ignoring, it's a matter of "text blindness" for lack of a better way of putting it, literally not seeing the information despite scrolling past it.
#
[tantek]
and to be fair, writing docs to avoid that problem is very hard
[KevinMarks] joined the channel
#
[KevinMarks]
I will admit to taking someone else's podcast feed and replacing bits with template macros to mung something into apple accepted xml