#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] joined the channel