#dev 2023-02-11

2023-02-11 UTC
#
[tantek]
I think I did it.¹
gRegor and geoffo joined the channel
#
[tantek]
[snarfed] aaronpk check it out, Unicode footnotes (instead of "^n" footnotes) with unique fragment links that work on my homepage: https://tantek.com/ and permalink. Better?
#
[tantek]
going to let it bake for a bit before blogging about it
#
Loqi
[preview] Tantek Çelik
#
[tantek]
older versions still floating around in the fediverse because I haven't sent all the webmentions yet
#
[snarfed]
[tantek]++ it loosk great!
#
Loqi
[tantek] has 23 karma in this channel over the last year (80 in all channels)
#
[tantek]
that was touching A LOT of code I have not touched in quite a while. ~600 net bytes more in falcon.php (a lot of the logic was incorporated into cassis auto_link)
#
Loqi
[preview] [Tantek Çelik] Imminent end of free use¹ of the Twitter API likely also means the end of free Log in with Twitter² delegated signin service³. If you use [Sign in with Twitter]⁴, consider replacing it with Web sign-in⁵, implementing #RelMeAuth⁶ & #IndieAut...
#
[tantek]
[snarfed] would you believe the font is to blame for that? ¹⁰
#
capjamesg
I like this!
#
[tantek]
Am I the first one to auto-unicode+link ^n footnotes in "plain text" like that?
#
[tantek]
I especially like that all the fragments work in the context of my homepage stream
#
[KevinMarks]
Your return arrow is an empty box for me on latest android. You might want to find a different character
#
[tantek]
[KevinMarks] I decided not to use return arrows in the footnote UI, so what you are seeing there is an in-content character
#
[KevinMarks]
What's the codepoint?
#
[tantek]
decided to instead hyperlink all the unicode numbers! (clicking on either one takes you to the other. bidirectional fragment relative hyperlinks!)
#
[tantek]
[KevinMarks] it's not a problem for me right now since I'm not generating any return arrows
#
[tantek]
🤷‍♂️
#
[tantek]
[KevinMarks] if you have better ideas, please add to /footnote#Brainstorming accordingly
#
[tantek]
like I said, the "return arrow" character is not currently an issue for me / my site
#
[tantek]
[snarfed] re; the "10" looks off, the reason is fonts suck 😂 😭 https://github.com/manubot/rootstock/issues/190
#
Loqi
[preview] [slochower] #190 Possibly incorrect rendering of unicode superscripts in 02.delete-me.md
#
[tantek]
footnote << FYI: apparently due to inconsistent font support, some combinations of superscript numbers may be misaligned: https://github.com/manubot/rootstock/issues/190
#
Loqi
ok, I added "FYI: apparently due to inconsistent font support, some combinations of superscript numbers may be misaligned: https://github.com/manubot/rootstock/issues/190" to the "See Also" section of /footnote https://indieweb.org/wiki/index.php?diff=86632&oldid=86572
#
[tantek]
if someone finds a font that renders the unicode superscript numbers ⁰ ¹ ² ³ ⁴ ⁵ ⁶ ⁷ ⁸ ⁹ consistently (same height & baseline), please let me know!
#
[tantek]
[snarfed] checkout the rendering both in the wiki at /footnote of that 0-9 string, and in the chat logs ^ https://chat.indieweb.org/dev/2023-02-11/1676075683282200
#
Loqi
[preview] [[tantek]] if someone finds a font that renders the unicode superscript numbers ⁰ ¹ ² ³ ⁴ ⁵ ⁶ ⁷ ⁸ ⁹ consistently (same height & baseline), please let me know!
#
[tantek]
Ironically they look fine in iOS Slack and iOS FBM apps
#
[snarfed]
in Firefox on macOS, font-family serif and sans-serif are broken, fantasy cursive monospace system-ui all look ok
#
[tantek]
interesting
#
[tantek]
also Arial Unicode MS seems to work
#
[tantek]
[snarfed] fixed now with CSS 😄
#
[tantek]
a[id*='_ref-'],a[id*='_note-'] { font-family:"Arial Unicode MS",system-ui; }
#
[tantek]
you may need to explicitly reload https://tantek.com/2023/simple.css first
#
[snarfed]
looks good!
#
[tantek]
thanks for the report and the nudge. I've also complained to someone else on the CSS Working Group that fonts should not break this way by default (they agreed) and bugs are going to be filed in various places
#
[tantek]
like this may be a combination of fonts being dumb (not supporting full 0-9 characters so you get 0,4-9 from one font, and 1-3 from another), and the 'serif' and 'sans-serif' generic font families also being inconsistent
#
[snarfed]
interesting! that is some CSS font inside baseball
#
[tantek]
indeed. documented the fix on https://indieweb.org/footnote#How_to_style for the next person to come along and implement Unicode footnotes (don't all rush at once 😂 )
#
[tantek]
this feels very epitome of IndieWeb (cook what you want), like I seriously don't expect more than single digits (if any) of other people to implement this for years
geoffo and EBValkyrie joined the channel
#
[tantek]
[snarfed] I managed to figure out the design, implement, & ship in just under a week from when you & aaronpk gave feedback about the "^1" footnotes being distracting https://chat.indieweb.org/dev/2023-02-03#t1675452082879700. That's not too bad I figure.
#
Loqi
[preview] [[snarfed]] interesting. it has the opposite effect on me, I'm constantly looking back and forth between the text and footnotes, since occasionally your footnotes aren't links, or include more than links, whereas inline links don't distract me as much
#
[KevinMarks]
Noto is usually good at these things
EBValkyrie joined the channel
#
[tantek]
[KevinMarks] is that on Slack native client or Slack web? because iOS Slack client handles it also
#
[tantek]
btw, in the bigger picture, this footnotes implementation is one more piece in place for my Markdown replacement
#
[tantek]
Good to see. Maybe it is a MacOS/iOS problem
#
[tantek]
speaking of Unicode, just noticed that there’s a :flying_disc: emoji and I think I need to update my home page / theming
#
[tantek]
done. and I just noticed my footnotes are extra noticeable in the trn theme: https://tantek.com/?skin=trn
#
Loqi
[preview] Tantek Çelik
#
barnaby
ooh, dark mode
#
barnaby
I prefer reading in light mode, but I do like Avenir. Just as readable as Helvetica but with a little more character
#
barnaby
[tantek]: the Follow section is black-on-black in trn skin https://i.imgur.com/SWcLhXA.png
#
[tantek]
Oops, something to fix!
#
[tantek]
similar problem in the vtx theme
#
[tantek]
also now I have to post a new note and see how it federates to Mastodon (even though we expect the footnote links to get stripped per gRegor’s test).
#
[tantek]
and I'm also curious what will happen if I use such footnotes (with bidirectional local fragment hyperlinks) in a reply to a GitHub issue via Bridgy Publish!
#
[tantek]
lots of fun tests to try
[cleverdevil], EBValkyrie, angelo, [jeremycherfas]1, jbove, [TMichelleMoore], [tantek], [asuh], [chrisbergr], GWG, starrwulfe, barnaby and [jamietanna] joined the channel
#
[jamietanna]
Looks like Monday is the new deadline for Twitter API? A friend just got an email from IFTTT about it
gRegor, jonnybarnes, barnaby and [Murray] joined the channel
#
[Murray]
Have also just received that email 😄
jonnybarnes joined the channel
#
capjamesg
Can you make hidden pages on a MediaWiki?
#
capjamesg
(i.e. only accessible to you or authenticated users?)
#
sknebel
mediawiki isnt particularly good for that
#
sknebel
only for authenticated users might be possible
#
sknebel
(if I remember right between users is hard because things like templating arent set up for that, so a user without rights could just preview an edit that includes your "protected" page and the rendering will likely just give them the content)
#
sknebel
but there are details on the mediawiki wiki
#
capjamesg
I want to document all of my domains and subdomains.
#
capjamesg
I sort of hoped to do that on the wiki but I wanted it to be private.
#
sknebel
yeah, going to need your own wiki for that probably :D
#
sknebel
or you know, text file :P
#
capjamesg
goes to build a wiki engine :D
#
capjamesg
sknebel++
#
Loqi
sknebel has 20 karma in this channel over the last year (44 in all channels)
#
sknebel
I did not mean your own engine 🙈 but your own install of one
#
sknebel
but sure
#
sknebel
you do you :D
#
sknebel
(would be lying if I hadnt been tempted by the idea myself...)
#
[jamietanna]
snarfed what's the best way to get a user running locally with Bridgy Fed? Trying to test out some changes that require a feed, if possible
#
sknebel
capjamesg: or cursed concept: you could put encrypted content on the wiki and run a userscript to decrypt it for you :P
#
sknebel
(pls dont)
#
[snarfed]
[jamietanna] do you mean running BF itself locally?
#
[jamietanna]
So I've got it running locally, but when ie trying to go to my user page I get a 404 for it
#
[jamietanna]
Wondering if I need to inject some data into the data store to get it going?
#
[snarfed]
Ah, yes, running locally doesn't talk to the prod datastore, you'd need to go through the new user flow from the front page again
#
[tantek]
what is a wiki engine
#
Loqi
It looks like we don't have a page for "wiki engine" yet. Would you like to create it?_ (Or just say "wiki engine is ____", a sentence describing the term)
#
[tantek]
all those who are tempted to write their own "wiki engine" -> add your thoughts 🙂 https://indieweb.org/wiki-projects#Brainstorming
#
[jamietanna]
Oh nice I'd not tried that - will give it a go later. Would that mean it'll also pick up posts from folks I follow?
mro joined the channel
#
[snarfed]
No, you'd need to put it on an external-facing IP and domain and te-follow them on your insurance, and point your site's redirects at your insurance, for that
#
[snarfed]
Er instance
#
capjamesg
sknebel I have been down the "build your own wiki engine" road before :D
#
IWDiscordRelay
<c​apjamesg#4492> A search for "h-recipe" on Google:
geoffo joined the channel
#
capjamesg
Does anyone have a h-recipe I can use for testing Breakfast and Coffee h-recipe syndciation?
#
aaronpk
don't add this to your coffee, but here: https://aaronparecki.com/2018/12/25/8/habanero-sauce
#
Loqi
[preview] [Aaron Parecki] Habanero Hot Sauce https://aaronparecki.com/img/1240x0/2018/12/25/8/habaneros.jpg
#
capjamesg
Thank you!
#
sknebel
waffles and fried chicken and hot sauce works :D
#
capjamesg
I just missed Breakfast and Coffee's one-year anniversary.
#
capjamesg
h-recipe support is my "growth hack" to try and hit more than 2 users :P
#
capjamesg
What is a project?
#
Loqi
There are many projects you can use to get your site on the IndieWeb, improve your IndieWeb support, or browse for inspiration for your own project; please note, some development ability and familiarity with command line tools will likely be required for you to use and improve these projects https://indieweb.org/project
geoffo joined the channel
#
capjamesg
Breakfast and Coffee now has a preview page: https://create.breakfastand.coffee/
mro, geoffo, [manton], barnaby and gRegor joined the channel
#
gRegor
From the DecentSocial session on escaping surveillance capitalism, might be some interesting resources in here: https://geo.coop/internet-ownership-archive
#
gRegor
Direct video link if anyone wants to listen in: https://decentsocial.meet.coop/mor-zqt-wvi-7qh
#
gRegor
It's recording so should be available later
barnaby joined the channel
#
capjamesg
aaronpk Telegraph has had a mention queued for 15 mins. Is that normal?
#
capjamesg
ID 17SkOVPKqjZsKAvrz3 in case it's relevant.
#
aaronpk
huh it seems to be stuck on something
gRegor joined the channel
#
aaronpk
oh dear, the job queue is going up up up
#
aaronpk
oh gosh. someome queued up thousands of webmentions to be sent over the last few hours
#
aaronpk
hmm, that's what i suspected, there are ~31000 webmentions queued for each of about 50 source URLs on the site
#
aaronpk
i have some basic rate limiting to prevent this from happening but apparently not enough
#
gRegor
uh oh
#
aaronpk
well i just blocked him for now, things should be cleared up
#
aaronpk
looks like a runaway script. every minute he's queueing up 50 webmentions
#
aaronpk
he says he will fix it in a few days. all good for now
#
gRegor
that's good, so not intentional spam/DDOS