#dev 2023-02-08
2023-02-08 UTC
geoffo, angelo and bterry joined the channel; GregL[m] left the channel
angelo, mro, gRegor, janboddez, [dave], [pfefferle], [tantek], [tw2113_Slack_], moose333, gxt, AramZS, sp1ff, IWSlackGateway, geoffo and [snarfed] joined the channel
# [snarfed] The day before Twitter's supposedly shutting down its free API, it takes its developer forum down entirely. https://twittercommunity.com/
[tw2113_Slack_] joined the channel
# [tw2113_Slack_] has anything lately been unintentional?
[dave], mro and [manton] joined the channel
mro joined the channel
[tantek] and mro joined the channel
geoffo joined the channel
# GWG [manton]: There's a profile for/dshanske and one for https://micro.blog/dshanske@david.shanske.com
# [manton] @GWG Yes. I think what I need to do is find a reliable way to verify that your Micro.blog account and Mastodon account are the same person and same posts, and then collapse them into a single “account” in Micro.blog. How exactly we should do that, I’m not sure. We do verify your domain name if it includes a rel=me to your Micro.blog username.
AramZS and mro joined the channel
mro, [KevinMarks], gRegor and [hollie] joined the channel
[jamietanna] joined the channel
# [jamietanna] snarfed++ for fixing boosts not being present in the Bridgy Fed feed so quickly 👏
# starrwulfe[m] Oh snap, for real?!
# starrwulfe[m] Snarfed++
# starrwulfe[m] Also, manton++ and gwg++ for answering questions at all hours of the day no matter how frivolous mine can be 😅
# [tantek] had a moment of apophenia today while coding my automatic footnotes Unicode conversion and linking that preserving fragment-only relative links *is* desirable in e-content parsing, and proposed a solution to mf2 parsing issue 38 accordingly: https://microformats.org/wiki/index.php?title=microformats2-parsing&type=revision&diff=70607&oldid=70606
# [tantek] good news is that since the Python mf2 parser already doesn't convert relative links in e-* properties, relative fragment links to/from footnotes in posts that are Bridgy Fed into Mastodon should "just" work while viewing *in Mastodon* to scroll to the footnote expansion and back to the inline reference accordingly
# [KevinMarks] there's a plausible case to map inline notes into details/summary
# [KevinMarks] but that isn't passed through by mastodon afaik
# [tantek] and yeah, Mastodon /sanitization is a bit brutal
# [KevinMarks] that's effectively what TufteCSS does on narrow text views - you get a clickable superscript number or inline glyph, though the authoring is not good either https://edwardtufte.github.io/tufte-css/#Sidenotes%20consist%20of%20two%20elements
# [KevinMarks] ```<label for="mn-demo" class="margin-toggle">⊕</label>
# [KevinMarks] <input type="checkbox" id="mn-demo" class="margin-toggle"/>
# [KevinMarks] </span>```
# [KevinMarks] This is a margin note. Notice there isn't a number preceding the note.
# [KevinMarks] <span class="marginnote">
# [KevinMarks] It feels like there is a better way to do this with CSS Grid rather than floats, though not sure how you make the vertical alignment work there without a new grid cell per note.
# [snarfed] gRegor is right, looking at the example post from https://github.com/snarfed/bridgy-fed/issues/390 , the relative link in the original post https://www.ciccarello.me/posts/2023/01/26/now-with-drafts/ got removed completely in the federated version https://indieweb.social/@anthony@ciccarello.me/109764425730410740 (requires login)
# gRegor I don't know Ruby, but this is the Mastodon sanitizing linked from the docs https://github.com/mastodon/mastodon/blob/main/lib/sanitize_ext/sanitize_config.rb#L39
# [KevinMarks] I meant TufteCSS using floats
# [KevinMarks] time to update your hardcoded tweet post length limit? https://twitter.com/TwitterBlue/status/1623411400545632256
# @TwitterBlue need more than 280 characters to express yourself? we know that lots of you do… and while we love a good thread, sometimes you just want to Tweet everything all at once. we get that. so we're introducing longer Tweets! you're gonna want to check this out. tap this 👉… https://twitter.com/i/web/status/1623411400545632256 (twitter.com/_/status/1623411400545632256)
# [snarfed] normally we'd use eg the /1.1/help/configuration.json API call to get the current character limit, but that endpoint got silently removed at some point
# [snarfed] I'd post https://twittercommunity.com/t/help-configuration-endpoint-in-apis-returns-200-without-body/153115 here but...you know
# [KevinMarks] interesting variation in link previews https://mastodon.mit.edu/@ivanski/109831101791576464
# Loqi [preview] [Iván Cavero Belaunde] @KevinMarks interesting to see the variations in rendering from client to client, making it apparent that QT support is entirely solvable client-side. Ice Cubes does best, followed by Metatext; Ivory and Mammoth just show the poster’s profile pic. https://mastodon.mit.edu/system/media_attachments/files/109/831/101/346/865/477/original/532f4e20e5382571.jpeg
# Loqi [preview] [Eleventy 🎈 v2.0.0] Eleventy v2.0.0 is now available!https://www.11ty.dev/blog/eleventy-v2/🚅 Best-in-class Build Speed for JavaScript Site Generators
🪢 Dependencies ⬇️ 32.1%
🔬 `node_modules` size ⬇️ 77.8%
🚄 `npm install` 30.5% faster
🏠 Incremental...
[schmarty] joined the channel
# [schmarty] i'm sorely tempted to try this out! incremental builds definitely have my attention!!!
[aciccarello] joined the channel
# [aciccarello] I'm looking forward to trying out the incremental build improvements. The v1 implementation had lots of rough edges.
# [aciccarello] Also hoping some pesky dependency vulnerabilities go away 😁
mro joined the channel
# Loqi [preview] [[snarfed]] gRegor is right, looking at the example post from https://github.com/snarfed/bridgy-fed/issues/390 , the relative link in the original post https://www.ciccarello.me/posts/2023/01/26/now-with-drafts/ got removed completely in the federated version ht...
# gRegor Yeah, dropped. Need to be signed in to Mastodon to view: https://xoxo.zone/@gregorlove.com@gregorlove.com/109831444476945604. Or search gregorlove.com on xoxo.zone and click through to my profile to see it.
[asuh] joined the channel
# [aciccarello] Rather than using relative fragment links that break when unsupported, wouldn't it be more reasonable to expect clients that support them to be able to translate absolute to relative?
# [aciccarello] Use the fallback as the default and let smarter clients improve the experience
# [aciccarello] Sure hollie!
# [hollie] Cool! I am really struggling with index.md vs. _index.md. I've got the book and I've looked at stuff like this: https://discourse.gohugo.io/t/what-is-the-difference-between-index-md-and-index-md/10330/3
# [aciccarello] hollie, what are you expecting to see your site do and what is it actually doing?
# [hollie] As an example, if I have a folder of dog pages, say, and a path that goes: content/dogs/_index.html, then the resulting page will create a list of all the pages in the /dogs folder. That's fine. This makes sense to me, it's how the blog function works, too. But what I want is something like the traditional html path of content/dogs/index.html, where the index of that folder is a page where I have text that talks about dogs, and then
# [aciccarello] Can you make a content/dogs.md page and have content/dogs/_index.html?
# [aciccarello] BTW I'm looking at these docs right now to try to understand what hugo does https://gohugo.io/content-management/organization/#index-pages-_indexmd
# [aciccarello] Clearly a bit confusing
# [hollie] The book (Hugo In Action) says Hugo is makes these bundles that are self-contained, that everything is in the folder. Great! But then the book also says you can't use index.md ANYWHERE except the root folder (Content), that every subsequent folder has to have _index.md or it won't render.
# [aciccarello] Ah, interesting
# [aciccarello] So in this example, it makes it sound like _index.md can be used to as you said in your example "talk about dogs, and then link to different pages" https://gohugo.io/templates/lists/#example-project-directory
# [aciccarello] For the record, I tried hugo for a minute before realizing I didn't understand what was happening and moved to 11ty since I'm more familiar with javascript than Go
# [aciccarello] The build speed and theme options do sound tempting though.
# [aciccarello] lol, node is a big black hole but its a big black hole I already deal with so its fine for me 😆
# [aciccarello] My guess is that your layout file probably needs to reference the page content for the _index contents to show up
# [aciccarello] Per the docs: "You can now access this `_index.md`’s’ content in your list template:" and later "
{{.Content}}
pulls from the markdown content of the corresponding _index.md"# [aciccarello] Yeah, I think that `
{{.Content}}
` is supposed to do that# [snarfed] [tantek] if Mastodon didn't support links at all, I'd agree, but it does, so losing only relative links is still surprising. hence [aciccarello] filing https://github.com/snarfed/bridgy-fed/issues/390
barnaby joined the channel
# @TwitterDev A new form of free access will be introduced as this is extremely important to our ecosystem – limited to Tweet creation of up to 1,500 Tweets per month for a single authenticated user token, including Login with Twitter. (twitter.com/_/status/1623467618400374784)