#dev 2024-06-13
2024-06-13 UTC
geoffo, [aciccarello], timmarinin and wagle joined the channel
timmarinin joined the channel
[tw2113] joined the channel
# [Joe_Crawford] There’s no such thing as as a DM on Mastodon. They do have “private mentions” but drafting one warns: “Posts on Mastodon are not end-to-end encrypted. Do not share any sensitive information over Mastodon.”
nertzy joined the channel
# [0x3b0b] I think the underlying technical AP term is "mentioned actors only." My understanding is that messages with that visibility _should_ only be federated if they mention an actor on another instance and _should_ only be visible to the mentioned actors...and to anyone with administrative access to the server or its hosting platform...but I'm also under the impression that they are Kind Of A Mess.
# [Joe_Crawford] Or whomever is explicitly mentioned
# [0x3b0b] I am relatively confident that Microblogpub does a _pretty good_ job with keeping them as private as they are supposed to be, but I still treat them more as a way to keep a conversation from _bugging my followers_ than as a way to keep that conversation _private._ Partly because I'm a single-user instance, so unless I'm making a note to myself (or posting ciphertext, I guess), I'm trusting at least the people I'm talking to and all their instance...
timmarinin, H4kor and nertzy joined the channel
# capjamesg[d] How does everyone store images on their blog?
[Jo] joined the channel
# capjamesg[d] I'm starting to accrue many images and I don't want to store them in a Git repository any more.
timmarinin and [qubyte] joined the channel
ttybitnik and [Murray] joined the channel
# capjamesg[d] Me too.
# capjamesg[d] A cloud bucket would be great but I don't think I want all the hassle.
AramZS joined the channel
# schmudde Curious what the hassle would be, capjamesg[d]. If you have a public bucket, you can a public URL. Is the problem that you want a link that is permanent?
# capjamesg[d] schmudde I think it's about getting the bucket set up and setting up capped billing, etc.
# capjamesg[d] It takes like a minute to upload all those to my server on every push though.
# capjamesg[d] It's not things breaking but the time it adds to my site going live.
# pcarrier[d] capjamesg[d] https://git-lfs.com
# pcarrier[d] capjamesg[d] as to not pushing everything every time, xmit solves that with its own uploader, I'd be curious to know what your hosting looks like so we can explore alternatives… if it exposes a local filesystem over a shell, `rsync` might be all you need
# schmudde RE: Buckets - I didn't think about billing. I use public buckets for low-traffic public assets. And I'm not too worried about speed. Almost all my cost is the amount of media. And it ends up being less than $1/month.
# schmudde But you probably have more sophisticated needs.
# capjamesg[d] My current workflow is to upload a photo to my Git repo, where my static site is built, and then a zipped version of everything -- images and HTML -- is uploaded to my server.
# capjamesg[d] Could I have a separate repo for assets that I alias to a subdomain?
# capjamesg[d] Using LFS.
# [tantek] capjamesg[d] re: "store images on their blog", in general I don't (media storage seems like a fast path to exceeding bandwidth), so various forms of silo storage (which is obv fragile), or open communities (Wikimedia Commons, or IndieWeb if the image is IndieWeb-relevant), or Internet Archive
# capjamesg[d] [snarfed] Agreed re: the solution of not uploading all the data.
# capjamesg[d] I wonder if it's worth setting up a GCP bucket.
# capjamesg[d] Wait, no. LFS with GitHub on a subdomain may work.
# capjamesg[d] I need to play around!
# capjamesg[d] Hm. I'll need to pay for bandwidth on LFS 😦
# [snarfed] as a data point, https://github.com/snarfed/snarfed.org has ~1200 images in it, across a wide range of sizes, no LFS, works fine
# capjamesg[d] [snarfed] Do you serve directly from that repo?
# capjamesg[d] Also: I want the repo to be private.
# capjamesg[d] Maybe I need a separate Git repo that rsyncs to my server.
# [schmarty] i used to store stuff in Git LFS and it was such a hassle! then i realized that under the hood, Git LFS is basically content-addressed storage over HTTP. sooo, I went ahead and made my micropub-media endpoint also save uploads at content-addressed paths and serve them that way, with an image proxy in front for resizing.
# [schmarty] tantek: try telling this to apple
# [schmarty] loves their hot new patent-encumbered codecs that only other apple devices can understand.
# [schmarty] i don't post caturdays as often these days but to go from Live Photo as a loop / bounce in Photos to my website, I have to do two bounces through an app called Metapho, which lets me see the secret two parts to a live photo (still and video) to select the video, then again to have Metapho strip the indentifying location and other metadata.
# [schmarty] Metapho also takes care of MP4-ing it, I think? Part of why I adopted a commercial image /video caching proxy was because i could ask them to always coerce the video to MP4 so they could automatically convert the proprietary apple format to something browsers understand.
# [schmarty] anyway i guess i have a hard time accepting that indies should be expected to hide all this complexity when apple works to make it _more_ complex for anyone who dares step outside their tight ecosystem.
# [schmarty] (that said, i am also a big advocate for promoting image and video proxies to be first-class indieweb building blocks because they are kickass!)
# [schmarty] i smell an IWC session cooking 🍳
# [schmarty] same! i stick to tiny videos so i don't feel bad about single-file mp4s 😅
# [schmarty] Shortcuts, baybeeeee (but also yes I feel you here)
# capjamesg[d] I have decided to create a new repository for my images.
# capjamesg[d] And will only upload the new images if I can figure out how.
# capjamesg[d] Thanks for your help, everyone!
# capjamesg[d] [schmarty] This would make for a great IWC session!
# [schmarty] i feel like mobile indieweb, at least on iOS, is markedly worse off than from when I spoke about my setup at IWS 2019 https://archive.org/details/indieweb-summit-2019-own-your-mobile-experience
# [schmarty] tantek: yep. i mean, my motivations are a complex ball of spaghetti but i feel pretty timid about putting anything new on the public web. 😩
# [schmarty] for me it applies to my whole site. and i don't really consider it separate because it's about being able to post to my site. and i have to _want_ to post to my site before i will work on being able. 😅
# [schmarty] "i don't feel comfortable sharing this until i have a good limited audience solution" has different plumbing issues but it also prevents me from spending time on the rest of the barriers.
# [schmarty] another good IWC session, probably 😄
# capjamesg[d] [tantek] Tracy has a good robots.txt for blocking AI bots: https://tracydurnell.com/robots.txt
# capjamesg[d] But, the pattern has been companies train models _then_ offer opt out.
# capjamesg[d] I know, but it's better than nothing.
# capjamesg[d] See also https://darkvisitors.com/
btrem joined the channel
# Loqi video is a type of post where the primary content is a video file (recorded movie, animation etc.) typically with audio, and has growing support on the indie web https://indieweb.org/video
# superkuh ffmpeg -movflags +faststart on some VPS, though I acknowledge "some VPS" implies cli skills.
# [Joe_Crawford] Oi, you're not kidding about the video page needing updating. It mentions Vine as if it had not gone defunct in 2017.
# superkuh I've been working on a HTML5 only (no JS) playlist sort of thing for switching between videos. It just uses CSS
{display: none;} and :target {display: inline-block;}
with anchors.# [Joe_Crawford] Feel like it's such a large rewrite it deserves a group brainstorm if that's a thing. Video's evolution on the web deserves a proper history. It's supremely weird.
# [Joe_Crawford] No, really just need to mention the indieweb usecases for video and what people expect to be able to do with video PESOS & POSSE.
# [Joe_Crawford] (but I do want a full history of web video! for me!)
# [Joe_Crawford] of course you're right. my claim that of what it needs is my admission I have no idea where to start.
# [Joe_Crawford] tantek++ for yoda shit
# chadsix Web video was interesting. Mostly controlled by RealMedia until the spawn of DivX and later XviD. Things changed significantly from there as I recall anyway.
# [qubyte] Catching up… The reason I’ll eventually (once I get myself into gear) put my media into a bucket (and then stick a cache in front of it with immutable-ish headers) is so that git clones are light, but also (since I’m on netlify) I don’t want to slow deployments down when all I really need are references to files. I don’t want to mess around with git-lfs either. Images are all uploaded via a micropub endpoint, so retooling that to s
# [Joe_Crawford] I used to transcode to realmedia for game demos for Jamison/Gold. man that was slow. The videos were ridiculously small. like 200x300
# chadsix haha the good ol days!
# [Joe_Crawford] Had realmedia .ra and .ram files on my site until maybe 10 years ago.
# [Joe_Crawford] or was it .rm. one was a list of pointers? the other the data? can't recall.
# chadsix .rm xD
# [Joe_Crawford] and wmv alternative. and sometimes "just post a zipped up avi to download" -- so terrible.
# chadsix haha
thegreekgeek, gRegor and drizzt09 joined the channel
# [KevinMarks] Video time to byte range mapping is built into mp4 as that is based on the quicktime movie format, which got that right. Some other formats like Ogg and raw MPEG streams don't do that so you have to guess the byte range to fetch when seeking. HLS/Dash reinvented this at the file system layer with a playlist of files containing media chunks at known offsets, originally for live updating over TCP, and adopted for prerecorded playback
# [KevinMarks] because it was simpler to do that the full QT abstraction and enabled alternative quality files per chunk to ease streaming ramp up.
# [KevinMarks] QuickTime had really solved the entire audio video abstraction problem at every level, but Apple pissed it away by putting popup ads in QuickTime playback at the system level.
sp1ff joined the channel
# aaronpk example diff for clients https://github.com/aaronpk/indielogin.com/pull/117/files