#dev 2021-03-08

2021-03-08 UTC
#
[Forest_Johnson]
and I'm wondering if perhaps I return a 500 response, my client code can detect that and retry
#
[Rob_Nugen]
↩️ It is correct as best I can tell. I have it set to `https://b.robnugen.com/micropub/`
#
[Rob_Nugen]
↩️ https://quill.p3k.io/settings still says "no media endpoint" after I relogin with my url ``https://www.robnugen.com/``
#
Loqi
Quill
#
[Forest_Johnson]
maybe I could find a better code for that. Something which no-one else will use, like `507 Insufficient Storage (WebDAV)`
#
[Forest_Johnson]
or even the 418 teapot code
#
[Rob_Nugen]
↩️ Huh. If I misspell the config.php filename to `confog.php` everything still works as before. >_>
#
[Rob_Nugen]
That config file is apparently not being read. BRB.
[chrisaldrich] joined the channel
#
[Forest_Johnson]
what do you mean ?
#
[Forest_Johnson]
the point was I wanted to use a special code so I could tell the difference between a service worker fetch rejection and a bona-fide server error
#
sknebel
aaronpk: ^^^ issue with the chatlogs
[fluffy], jjuran, ShadowKyogre and [Forest_Johnson] joined the channel; ShadowKyogre left the channel
#
[Forest_Johnson]
BTW if anyone is curious i figured it out and fixed it !
#
[Forest_Johnson]
here is teh detailed answer https://stackoverflow.com/a/66524008/1592004
#
[Forest_Johnson]
Here is a video of the beautiful (at least to me XD) results https://picopublish.sequentialread.com/files/pwm_update.webm
#
[Forest_Johnson]
video shows me deleting the local cache and watching it repopulate. It even handles errors when the happen (rarely now that its rate-limited to 4 at a time) and re-tries
#
[Forest_Johnson]
the verbaige on the welcome screen needs to be updated now that im using backblaze instead of S3 and the key derivation is way better so shorter passphrases are safer
ShadowKyogre joined the channel; ShadowKyogre left the channel
#
Saphire
[Forest_Johnson]: btw, are you aware of `async function() {...}`?
#
Saphire
Also wrapping an XHR in a promise is really really nice >.>
[tantek], ShadowKyogre, nickodd, Paul[m]2 and [KevinMarks] joined the channel; ShadowKyogre left the channel
#
[KevinMarks]
Why use 200 for a failure? Wouldn't picking a more suitable error code make sense?
#
Saphire
Probably placeholder?
#
[KevinMarks]
I find that async tends to make the error case less visible than using then/catch as there is not as natural a place to put it - you queue up async things and catch at the bottom, so dealing with one async failing is less clear
#
petermolnar
> Why use 200 for a failure? Wouldn't picking a more suitable error code make sense? - chaotic evil?
nickodd left the channel
#
[KevinMarks]
Otoh I also like Promise.all() which has a similar problem but waits in parallel rather than sequentially. The deeper problem is that expressing these kinds of branching and recombinant execution chains in linear text is a poor fit.
[Murray], enpo_ and [KevinMarks] joined the channel
#
jeremycherfas
Has anyone noticed changes in their Instagram feed? In the past two days, the caption I receive from Bibliogram now contains the HTML code for `img src` that it didn't contain before.
DanC joined the channel
#
jeremycherfas
Not too difficult to fix, when I have time, but unfortunately I don't have any examples stored from before the change happened.
[Murray], KartikPrabhu, [KevinMarks], nickodd, [tw2113_Slack_], [chrisaldrich], gRegorLove, [tantek] and theshawe joined the channel
#
jacky
aaronpk++ for indielogin b/c lol making this work nicely in a greenfield project is not easy
#
Loqi
aaronpk has 62 karma in this channel over the last year (186 in all channels)
#
jacky
I keep trying to make it as stateless as possible but that's a joke
#
[tantek]
hmm did someone here build yunaru.com ? it looks like interesting work in progress. I tried the follow option and put in my own domain and it found my latest blog post, but used the name of the second h-feed on the page. curious
nickodd left the channel
#
[tantek]
whoa it's definitely parsing my home page h-feed: https://yunaru.com/feeds/https%3a%2f%2ftantek.com%2f
#
[tantek]
who was it that was asking about publicly showing aggregator "content" from someone else's site?
[schmarty] and [amy] joined the channel
#
[amy]
as an aside-- is anyone planning on attending any virtual conferences this year? 🙂
#
[tantek]
[amy] planning & participating! See /Planning 🙂
shoesNsocks and [manton] joined the channel
#
jacky
[tantek]: I've been playing with it - it's more intuitive than I thought tbh
#
[tantek]
jacky, indeed, there's a bunch of UI niceties in it
#
[tantek]
which is why I was curious if someone here built it!
#
jacky
yeah I can't tell
#
jacky
no attribution info either
dietricha and jamietanna joined the channel
[KevinMarks], lahacker and [scojjac] joined the channel
#
[scojjac]
So I have no Swift experience and EXTREMELY limited Obj-C experience, but Indigenous is defunct
#
[scojjac]
It's on the App Store, but its callback-url server is no longer responding
#
[scojjac]
The open source repo appears to be written in Swift, and is looking for a maintainer ...
#
[scojjac]
I'm in a place of boredom where I'm thinking of reviving my Mac (needs a new logic board) to see if I could get the app working.
#
[scojjac]
Very unrealistic, so I'm putting the info out there if someone else decides they feel like tackling it.
[schmarty] joined the channel
#
[schmarty]
thanks for the heads-up, [scojjac]. [eddie] is the creator and maintainer of Indigenous and may be able to get the callback URL server back up and running for authentication!
#
[scojjac]
@schmarty he was but it seems like he handed it off to swentel
#
[scojjac]
who has an issue "looking for a maintainer" because his plans changed and he doesn't want to proceed with it
#
Loqi
[swentel] indigenous-ios: An IndieWeb app with extensions for sharing information to micropub endpoints and reading from microsub endpoints
#
[scojjac]
and [eddie]’s eddiehinkle.com site on most of his profiles is also down last I looked.
#
[schmarty]
[scojjac] all of those things happened, yes! [eddie] has also been around in the chat intermittently to resolve issues like this in the time since then.
#
[scojjac]
Sorry, I should know you guys know way more than me ha
#
[scojjac]
Just busy getting caught up on the happenings
#
[schmarty]
haha i don't think there was any way for you to know that last part! 😅
#
[scojjac]
is it technically possible to use a callback-url that is not on a server? Couldn't the endpoint talk right back to the client.
#
[schmarty]
i appreciate all the digging you did to get a clear picture of where the project has gone!
#
[schmarty]
when the client is an app running on your phone, not really. part of the authentication flow requires the auth server to redirect a browser to the app's callback URL. in theory that could be a URL on your phone that the app has registered to handle. in practice i think this server-redirect was chosen instead.
#
[schmarty]
from my limited understanding of iOS, most app URL handlers are for app-proprietary "protocols" like "myapp://somethingsomethingsomething" (though i am aware that some apps seem to be able to "catch" full URLs, like the YouTube app will catch youtube.com URLs... usually).
#
[schmarty]
the indieauth spec makes it difficult or impossible for a client to ask an auth server to redirect back to a URL with a protocol other than http/https.
#
[scojjac]
Yeah, my light reading suggested that you *might* be able to use x-callback-url which I think is the same as a custom URL scheme, to handle this, but that it is the less preferred way
#
[scojjac]
sorry about the comma gore
#
[scojjac]
there was a commented line like that ... indigenous://auth/callback and at that point I had more questions than answers and felt out of my depth
#
[scojjac]
thanks for your insight
#
[tantek]
where were we having the discussion about better UX for warning you when you were writing something ("angry" | late at night | as a reaction | etc.) ?
#
[tantek]
really want a place to capture that kind of "friendly authoring nudging" UX
#
[tantek]
related to "respectful responses"
#
@TwitterSupport
Say something in the moment you might regret? 😬 We've relaunched this experiment on iOS that asks you to review a reply that's potentially harmful or offensive. Think you've received a prompt by mistake? Share your feedback with us so we can improve. https://pbs.twimg.com/media/Eu2-k-NVoAMZOMG.jpg
(twitter.com/_/status/1363956974824550400)
[eddie] joined the channel
#
[eddie]
[schmarty] thanks! [scojjac] sorry to here it’s wasn’t working. Server is back up if you want to log in! 🎉
#
[tantek]
[eddie]++ amazing and thank you!
#
Loqi
[eddie] has 5 karma in this channel over the last year (12 in all channels)