#dev 2022-04-06
2022-04-06 UTC
darkkirb, cygnoir[d], Darius_Dunlap[d], Natlogica[d], nertzy, sarahd[d], jacky and angelo joined the channel
# chewing_bever so i've just noticed that the web server that i use has support for serving the compressed version of a file if it's present and the client sends the correct Accept-Encoding header
# chewing_bever would it be worth the trouble to implement this?
jamietanna1 and chewing_bever joined the channel
# [KevinMarks] You can measure it with lighthouse. It can help for low bandwidth connections
[James_Van_Dyne], [KevinMarks], nsh- and jan6 joined the channel
# @voxpelli Lovely to find one of the users (@kevinmarks) of my Webmention endpoint (http://webmention.herokuapp.com) on the front page… https://twitter.com/i/web/status/1511626620926320640 (twitter.com/_/status/1511626620926320640)
# capjamesg[d] search << There are many people and businesses working on new takes on search that contain new ideas: https://dkb.io/post/the-next-google
# Loqi ok, I added "There are many people and businesses working on new takes on search that contain new ideas: https://dkb.io/post/the-next-google" to the "See Also" section of /search https://indieweb.org/wiki/index.php?diff=80641&oldid=80637
tetov-irc, johnnrs[d], nertzy, jacky, Silicon[d], aspenmayer[d], Darius_Dunlap[d], MarkJR84[d], petermolnar, grantcodes[d], keenan[d], capjamesg[d], Christian_Olivie, sayanarijit[d], rattroupe[d], cygnoir[d], dovedozen[d], Jeremiah[d], sarahd[d], mossymaker[d], Eddy04[d], samhenrigold[d], YimingWu[d], hoenir, marksuth[d], Natlogica[d] and toyinariyo joined the channel
# [KevinMarks] Hugo << PESOS from twitter https://github.com/victorstanciu/hugo-tweets
# Loqi ok, I added "PESOS from twitter https://github.com/victorstanciu/hugo-tweets" to the "See Also" section of /Hugo https://indieweb.org/wiki/index.php?diff=80644&oldid=80395
jacky joined the channel
# capjamesg[d] Is that layout confusing?
hans63us[d] joined the channel
# jamietanna I'd probably expect the reader view (left) to be bigger than the response view (?, right)
# [manton] Good point yesterday [tantek] about the safety / owning your content appeal of static files. That is kind of what I was curious about… How can we help people feel they have control of their files without the technical hurdles? Something I think about with Micro.blog export and syncing options.
# Loqi Blot is an open source flat file blogging platform built by David Merfield that uses Dropbox, Google Drive, or Git to store your content https://indieweb.org/blot.im
# Loqi blog archive format is a data format proposed by Manton Reece for the export of a blog, based on a zip file and top level HTML h-feed inside, that is supported by micro.blog https://indieweb.org/blog_archive_format
# [manton] Here’s a longer overview with context that I wrote for my book: https://book.micro.blog/blog-archive-format/
niklasfyi[d], jacky and edburns[d] joined the channel
# [tantek]1 [manton] exactly. there's nothing like being able to browse a folder of static plain-ish text-ish (actual plain text, "markdown" pretending to be plain text, or even HTML)
# [tantek]1 that behavior illustrates that people do care about /longevity even if they don't explicitly identify it as such
# [tantek]1 if you can't open a file in a (plain) text editor and read at least most of the content, then the file format sucks (for text). images, video, audio don't have an equivalent
[fluffy] joined the channel
# [tantek]1 taking the Twitter editing your website issue here for more dev-specific discussions (JS) etc. and strategies
# [tantek]1 what is embed
# Loqi embed is code (usually just HTML like an iframe, sometimes with JS) for showing content from another website on your website or inside a post that is included by viewer’s browser and typically has some interactive aspect (more than just a static image / audio / video file) https://indieweb.org/embed
# [tantek]1 ^ [KevinMarks] I feel that page could be improved a bunch to document the Twitter example / misbehavior, and strategies for how to do better, both as a publisher embedding stuff, and as a service providing stuff to be embedded
# [KevinMarks] I'll have a look. I think Ben's solution was pretty good at the time (when twitter was 140 characters) but lost fidelity as they added more.
# [tantek]1 I did a bit of minor clean-up to make some space for you 🙂
# [aciccarello] [jacky] What are you thinking for post type linting? I've thought about having some unit tests that parse's my site's rendered HTML to make sure the microformats don't change.
# jamietanna I used to do it with the HTML-Proofer Ruby gem that ran against the generated HTML - definitely was useful to catch things when doing bit theme changes
# jamietanna *big
[denschub] joined the channel
# [denschub] po
# [denschub] ↩️ ehm - sorry, that was a copy-paste error that somehow ended up wrong. I also can’t delete this message, so… have fun with it!
# jacky [aciccarello]: something like https://indieweb.org/User:Jacky.wtf#Post_Type_.22Linting.22
# [aciccarello] Cool, FYI the link to what you wrote on your site isn't working for me
# [aciccarello] :headstone:
# [aciccarello] For your unit tests would you just check the parse microformats for an expected structure or should there be some shared library or something that is more of a semantic representation.
# [aciccarello] yeah, I'm hoping to get some jest.js tests looking at the parsed MF on my site eventually
# [KevinMarks] so, how do I make a <pre> full of code that doesn't wrap work on a narrow phone?
# [aciccarello] Like, are you wanting the code block to horizontal scroll?
# [aciccarello] Here's how highlight.css looks on my site: https://www.ciccarello.me/posts/2022/04/01/js-to-const/
# [aciccarello] And I noticed I misspelled operation. Good thing I have an edit button. 😆
# [tantek]1 [KevinMarks] I think you're looking for white-space:pre-wrap https://developer.mozilla.org/en-US/docs/Web/CSS/white-space
# [KevinMarks] I did `pre
{font-size:calc(min(2vw, 1rem));}
`[snarfed] joined the channel
# [KevinMarks] hm, so I have this 2 column design with text on the left and responses on the right. I'm now wondering about responses on the left, text in the middle and outbound links with previews on the right.
gRegor and kimberlyhirsh[d] joined the channel
# [schmarty] bringing jacky's example from #microformats and #indieweb-meta in: "something like http://lwa.tf/view?url=https://events.indieweb.org/2022/04/homebrew-website-club-pacific-Ohvjpl4IueP9 (not a real link) but when it's rendering a /rsvp, how to mark up the underlying h-event such that sub-RSVPs in the event would be picked up from a MF2 parser"
# [schmarty] it's not so important how they show up to an MF2 parser unless there's something using that parsed value. so like if a reader is going to show that content outside of e-content, then that logic in the reader seems like the first consuming case.
# [schmarty] events.indieweb.org doesn't seem to have any mf2 around the RSVPs displayed there.
keyboardn00b[d] joined the channel
# [schmarty] i agree with that approach these days!
# gRegor I do group RSVPs separately from "Other Responses" though. https://gregorlove.com/2018/10/virtual-homebrew-website-club/#rsvps
# [tantek]1 what are rsvps
# Loqi RSVPs are the responses displayed on an event indicating who is attending or not, might be, or interested in the event https://indieweb.org/RSVPs
# [tantek]1 hmm... https://indieweb.org/rsvps#IndieWeb_Examples needs both cleanup and adding more examples (noted above)
# [tantek]1 I do think it would be a good / useful reader feature to show on an event "Here are the people you are following who have RSVPd to this event"
# [tantek]1 the reader knows "people you are following". the event can publish "who have RSVPd to this event". so the reader, when displaying that event in a stream, and combine those two sources of information to show/prioritize showing who you are following that has RSVPd
# [tantek]1 similarly readers could do this for "people you follow who have liked / reposted / commented on this post"
# [tantek]1 "who else is going to this event" is a common social question too, even if you're not following them
# [tantek]1 A reader could present that information
# [tantek]1 FB event UI did this at some point IIRC, along with little "+" or "Add friend..." buttons next to the people you were not following
tetov-irc and jacky joined the channel