#dev 2020-11-28

2020-11-28 UTC
[eddie] joined the channel
#
[eddie]
That is REALLY strange πŸ€”
#
[tantek]
it's the virtual world mirroring the practice of physical world magazines with dates on their covers that are in the future
#
jacky
that's an interesting bug
#
jacky
well not a bug
#
jacky
but hmm
#
Zegnat
It makes sense, because their URL design allows you to drop the article title and that way go to the overview of all articles published in that specific print edition. E.g. https://www.newyorker.com/magazine/1939/01/07
#
jacky
hm oh then this is cool
#
Zegnat
Wish they also made the URLs per year/month work, that would have completed it
#
Zegnat
So yeah, the URL is actually the URL for the specific paper publication (which is identified by date, because they do not have names) and then followed by slash-article-title for a specific title. Not sure the date in their URLs should be read as article publication dates at all
#
Zegnat
The article itself is dated November 23, 2020, see right below the lead
#
[tantek]
here is another example of a future date-based URL, again to a magazine, this time for a whole month: https://www.theatlantic.com/magazine/archive/2020/12/can-history-predict-future/616993/
#
[tantek]
Zegnat re: "per year/month work" well there you go ^
[jeffpaul], geoffo, themaxdavitt and [eddie] joined the channel
#
[eddie]
That makes sense. I don’t personally have anything wrong with that Url scheme then
[tantek], nickodd, geoffo and dhanesh joined the channel
#
[tantek]
captured here as an observation, feel free to edit: https://indieweb.org/URL_design#Non-publication_dates
KartikPrabhu and shoesNsocks1 joined the channel
#
sebbu
2020-11-30 already happened... if you live in Kiribati, the Line Islands or Samoa in the summer
#
sebbu
(UTC+14:00 timezone)
#
sebbu
(or in New Zealand - Chatam Islands, with UTC+13:45 timezone)
KartikPrabhu and leg joined the channel
#
jamietanna[m]
Jacky that's interesting - the way I've done it in the past, prior to writing my own IndieAuth server is by adding the `client_id` from the access token into metadata on the post, then I separately resolve metadata for each app, so it's not duplicated in each piece of content. But I like your idea!
#
jamietanna[m]
Zegnat that sounds interesting, is that because you use different profile information for different apps?
#
jamietanna[m]
One thing I quite like how I've done mine (I can't remember who I copied it from) is having β˜‘s for scopes, as well as a blurb for what that scope would be adding
#
Zegnat
Potentially, jamietanna[m]. I do not know any apps that are asking for the profile scope yet though
#
jamietanna[m]
I wonder if we should have a page for these different designs?
#
Zegnat
Screenshot from IWC East when I was working on it: https://i.imgur.com/OmAdhzD.png
#
Zegnat
I think several do the checkboxes for scopes. Selfauth has done that since it has done scopes
#
Zegnat
Mine always adds profile and email scopes to the list, so I can check them even if the app did not specifically ask for them
#
jamietanna[m]
That's interesting, I hadn't thought about adding all the scopes I support as an option. Especially if you want to do something extra that the client doesn't understand (like require multiple scopes to do something they'd assume can be done with one)
[KevinMarks] joined the channel
#
Zegnat
Yeah. I have an open field (hidden in a details-element) where I can write my own space separated list of extra scopes. But profile seemed extra interesting to me because I have fields for those, so those are always available in the list
jamietanna joined the channel
#
jamietanna
Looks like https://indieweb.org/consent_screen is already there - Zegnat mind if I share your example?
schmudde joined the channel
#
jamietanna
jacky aaronpk as you've been talking about new/updated consent screens, mind adding them to /consent_screen ?
nickodd joined the channel
#
Zegnat
jamietanna: go right ahead adding mine. It was shared at IWC East so public already. Though design is still actively changing
dhanesh, [jgmac1106] and ethanyoo joined the channel
#
petermolnar
this is -dev territory: if anyone ever wanted cgi-bin scripts back with nginx, the Arch linux wiki for the rescue: https://wiki.archlinux.org/index.php/AWStats (hint: you need PHP)
#
petermolnar
search for '/etc/nginx/cgi-bin.php' on the site
#
sebbu
it's a workaround relying on proc_open (or passthru, or system, or shell_exec, or ...) which are disabled most of time
#
petermolnar
not if one controls the php server
#
sebbu
yes, but not if one is simply a user on a shared web hoster
geoffo joined the channel
#
petermolnar
why would anyone keep doing that in the days of $5pcm containers?
#
sebbu
because it's even cheaper, and you don't have to maintain your web server / os yourself
#
sebbu
and you might even get stuff like cpanel
[jgmac1106] and [tantek] joined the channel; JK_na left the channel
#
[tantek]
sebbu 2020-11-30 hasn’t happened anywhere yet. It’s still 2020-11-28 in UTC and nothing is more than a day away much less two
DanC joined the channel
#
aaronpk
i think this is the online version of being able to buy a December magazine a week before December
KartikPrabhu and schmudde joined the channel
#
sebbu
yes, or a simple bug in timed stuff
#
sebbu
for example, i know reading website like webnovel.com often have chaters released at specific times, so they're already on the site with a release date in the future
#
sebbu
and sometimes there's a bug, and you get chapters from the future
#
sebbu
otherwise, they only get available once the time is reached
#
sebbu
not even in the chapter listing
[Raphael_Luckom], [jgmac1106], geoffo and [KevinMarks] joined the channel
#
[tantek]
aaronpk I suspect you're right. still felt worth documenting
#
[tantek]
!tell jamietanna,Zegnat I added alt txt for your screenshots PNGs (thanks for providing screenshots!) on /consent_screen, please double check them and feel free to edit further / improve.
#
Loqi
Ok, I'll tell them that when I see them next
#
jamietanna[m]
Thanks Tantek!
#
aaronpk
i thought there was a screenshot of the wordpress indieauth plugin consent screen somewhere too
#
aaronpk
jamietanna[m]: Zegnat: can we copy your screenshots into the wiki instead of hotlinking them?
#
jamietanna[m]
Yeah go for it, I couldn't work out how to do it at the time πŸ˜…
#
aaronpk
cool. image uploading on the wiki is backwards from what you'd expect
#
Zegnat
Go right ahead. Not been super active today. I will have a look at it again on Monday or so. I might have an updated design by then too, and will review alt text then goo.
#
Loqi
Zegnat: [tantek] left you a message 12 minutes ago: I added alt txt for your screenshots PNGs (thanks for providing screenshots!) on /consent_screen, please double check them and feel free to edit further / improve.
#
[tantek]
aaronpk do you know how to add alt text in the wiki image embed markup? I couldn't figure it out πŸ˜•
#
[tantek]
e.g. the example from Dmitry
#
aaronpk
hm i don't remember
#
[tantek]
Dmitri*
#
[tantek]
I'd hate to lose the alt text just because we're using wiki image embedding πŸ˜•
#
aaronpk
oh it says it on the image upload screen
#
aaronpk
`[[File:File.png|200px|thumb|left|alt text]] to use a 200 pixel wide rendition in a box in the left margin with "alt text" as description`
#
[tantek]
πŸ€¦β€β™‚οΈ
#
[tantek]
just don't use alt text that's "thumb" "left" "right" or number of px
#
aaronpk
seems fair
#
GWG
aaronpk: I need to update the screenshot as I did make some changes
#
aaronpk
i couldn't find the original either
#
aaronpk
attempts a new hack to PESOS his instagram photos
#
aaronpk
lol great there's a JS error in instagram that i think is written by one FB team to another
#
aaronpk
"You are overriding current access token, that means some other app is expecting different access token and you will probably break things."
#
GWG
I wanted to see some examples because I had to change the display based on the elimination of the separate flows
schmudde and KartikPrabhu joined the channel; nickodd left the channel
#
aaronpk
ugh this is just a waste of time
#
aaronpk
i was thinking about a browser extension that could extract the instagram photo data from the page and send it via micropub
#
aaronpk
i just can't figure out the right way to get a browser extension to inject code into the page and be able to access stuff
#
aaronpk
it feels like this *should* be possible
#
[jgmac1106]
Uggh. Learning your user authentication is totally borked when your only reader (your mom) texts and says "Great article I fixed a bunch of grammar"
#
aaronpk
oh dear
#
[jgmac1106]
.... But then again I do a daily on site and off site backup... If I wasn't a teacher I would possibly experiment with a 100% no sign in wiki
#
aaronpk
"One thing that is important to know is that Content Scripts share the same DOM as the current page, but they don't share access to variables" :facepalm:
#
aaronpk
darn, they're intentionally blocking exactly what i'm trying to do
geoffo joined the channel
#
aaronpk
i figured out an ugly hack
#
aaronpk
alright this is gonna work
#
aaronpk
i managed to make an extension that grabs the json out of the page and sends it into a little popup which can show a preview and now i'm going to turn that popup into a micropub client
#
aaronpk
I'm gonna replace ownyourgram with this and shut that whole server side app down
#
vilhalmer
[jgmac1106]: this has reminded me that I want to write a little tool that periodically tries to log into my external services with the wrong creds
strugee joined the channel