#dev 2023-06-06
2023-06-06 UTC
# Soni something like rss feed combiners but for fedi and with a nice html webpage as output
# Soni (we guess we could just use an rss combiner...?)
# Soni (we feel like that wouldn't look quite right tho)
mretka left the channel
# vladimyr [tantek]: I guess you are right and might be that I still haven't got rid of all the bitterness I accumulated during my last development for (mobile) Safari ordeal 8 yrs ago 🥲 No promises made but I'll try exercising the benefit of the doubt
# vladimyr I finally found my place under the Sun!
# Soni [snarfed]: they can copium and seethium tbh, they can't close the peering agreements we explicitly make with ppl.
# Soni the simple fact that a lot of indieweb folks already run their own servers means they can trivially make a client that mirrors their own posts privately, and then share *those* mirrors, using indieauth or something, with us. instance admins can't do anything about that.
# Soni the simplest solution to getting away with it is to not use fedi at all :p
# Soni only public yeah
# Soni only public, original posts (and threads we guess)
# Soni they're meant to be public
# Soni we wanna have that "cool fedi ppl" page on our website where we show our friends' recent posts
# Soni yes, that is the point
# Soni asking ppl if we may scrape their recent public, original posts for our cool fedi ppl page
# Soni yeah that is the problem
# Soni and we're too burnt out to deal with it >.<
# Soni we've been burnt out from programming ever since the rust bullshit happened
# Soni like, at all
# Soni (this is definitely making college somewhat... difficult. if not impossible. but anyway.)
# Soni so we just, kinda can't
# Soni can't do anything, barely keeping up with college, etc
# Soni sorry
# epoch curl -sH 'Accept: application/ld+json' https://mastodon.social/@gargron | jq -r .outbox | xargs -r curl -sH 'Accept: application/ld+json' | jq -r .first | xargs -r curl -sH 'Accept: application/ld+json' | jq -r '.orderedItems[] | .id'
# vladimyr I read somewhere that it is actually recommend to make that cors friendly but it was mastodon specific if I remember correctly
# epoch https://github.com/mastodon/mastodon/issues/10400 looks like trying to get better CORS headers for the endpoints I was trying to use is an open issue
eitilt, [jacky], [tw2113_Slack_], KMF, btrem and sebbu joined the channel
# vladimyr epoch: \o
# bkil SPA << Use-case: PeerTube - a video sharing portal where you seed back content that you consume to make it scale without the operator being Big Tech. If it reloaded the page after every search, play or comment, it would need to rebuild all of its peer connections and flush all of its caches from RAM. Various web applications could be implemented similarly that mandate hosting either huge items or a vast amount of items: wiki, photo sharing, social networking
# bkil (SSB, RetroShare, etc).
# Loqi ok, I added "Use-case: PeerTube - a video sharing portal where you seed back content that you consume to make it scale without the operator being Big Tech. If it reloaded the page after every search, play or comment, it would need to rebuild all of its peer connections and flush all of its caches from RAM. Various web applications could be implemented similarly that mandate hosting either huge items or a vast amount of items: wiki, photo sharing, social networking" to the "See Also" section of /single-page_application https://indieweb.org/wiki/index.php?diff=88156&oldid=88140
# bkil aaronpk: Perhaps consider this for choosing slugs, perhaps reducing the weight of basic dictionary words: https://en.wikipedia.org/wiki/Tf%E2%80%93idf
# [KevinMarks] @bkil the webtorrent library does that well. https://webtorrent.io/
# bkil [KevinMarks]: It can't do that **efficiently** when you force a full page reload.
# [KevinMarks] I'd have to double check but I think it works with service workers too, so you can maintain the thread across refreshes
# vladimyr FWIW, all nostr web clients are also required to be SPAs to keep those websockets open
# vladimyr Service worker might be an interesting escape hatch but marshalling large chunks of data in and out of worker can be really tricky unless some sort of shared memory is supported
# vladimyr I guess this solves it https://developer.mozilla.org/en-US/docs/Web/API/Web_Workers_API/Transferable_objects
holiday_medley, gxt__ and geoffo joined the channel
# Soni meanwhile we just wish browsers had link sharing technology
# Soni like so
cambridgeport90 joined the channel
# bkil Soni: Maybe I'm missing the point, but wasn't this the main reason why bookmarklets were invented in 1995? I.e., when you visit an interesting news article, you click on the bookmarklet on your bookmark bar that says "share on fedi", and it opens up the sharing dialog on your native instance. Better Fediverse servers already provide you with such a bookmarklet
# vladimyr ^ same
# bkil vladimyr [KevinMarks] I think you were thinking background Web Workers? But also, trying side step having to implement an SPA with a PWA + background workers sounds like a lot of work for what benefit exactly? (Note that I haven't researched whether your recommended alternative would work at all) At the same time, could you please share an example of when an SPA needs to transfer more data than MPA? I've only seen counterexamples up to now (orders of magnitudes
# bkil of savings in most cases).
cambridgeport90 joined the channel
# Soni bkil: the old javascript injection bookmarklets aren't compatible with the modern so-called "feed" or "timeline", nor are they server-side
# Soni they're often broken/unsupported in modern browsers and websites anyway
# Soni so a way to sidestep that would be nice
# Soni but maybe the sharing web is long gone and we're in the age of the siloing web
bret joined the channel
# vladimyr Wdym incompatible with feed and timeline? You cannot share feed, share target is particular item located on it instead?
# [KevinMarks] I use bookmarklets on chrome android still - I give them a short name and they autocomplete into the url bar.
# vladimyr One could argue they are clumsy to use inside mobile browsers but on mobile OSes share functionality is part of the OS itself
# vladimyr Or you use trick that [KevinMarks] just described
# [schmarty] is there a way to use bookmarklets with mobile safari (iOS/iPad)? i have one or two Shortcuts that i use for that purpose but I find them harder to work with.
# [schmarty] interesting
# Soni we'd rather see a more secure alternative
# Soni vladimyr: yeah can't easily share item
# Soni mobile sharing on desktop would be nice
# Soni websites as apps for sharing to would be nice
# Soni and bookmarks could use more love
# capjamesg Really? Interesting!
# capjamesg I don’t think you can use bookmarklets with iOS Safari.
cambridgeport90, ShoesNSocks, jeremycherfas, lockywolf and rrix joined the channel
# epoch Soni: have you seen https://www.w3.org/TR/web-share/ and might it help with that you're wanting?
# Soni epoch: that seems to be built around letting the website control sharing
# Soni why are we building APIs to let websites control users
# Soni that seems mildly abusive
# Soni and besides, using referer would expose shit sites that leak your privacy, which makes it much better than any alternative you could possibly propose
# Loqi share is a watered down verb that's used on the "social web" (and other platforms like Google's Android) to mean pretty much any action https://indieweb.org/share
# epoch I was reading https://www.fastcompany.com/3031872/why-isnt-there-a-standard-share-button before I asked
# rubenwardy <a href="url" share> would make more sense and would match download
# rubenwardy Feels like a browser thing really. Mobile browsers come with share actions, doesn't make as much sense on desktop browsers
bret joined the channel
# [KevinMarks] I use click and hold on a link to copy and share, but on mobile I'm spoilt by my keyboard having 10 copy buffers so I can copy links and text separately
# rubenwardy lol, font awesome supports a load of options https://rwdy.uk/xyD9bHcu.png
# rubenwardy I'd see that as comment
[aciccarello] joined the channel
# [aciccarello] Text also works
gRegor joined the channel
# Loqi It looks like we don't have a page for "happening with bread" yet. Would you like to create it? (Or just say "happening with bread is ____", a sentence describing the term)
# [KevinMarks] Previously on viral http://epeus.blogspot.com/2008/06/how-not-to-be-viral.html?m=
geoffo joined the channel
[campegg], geoffo and sebbu2 joined the channel
# vladimyr I said I'm gonna try to exercise the benefit of the doubt so I did and went reading WebKit team's latest blog post about new WebKit features including dockable webapps
# vladimyr So far so good
# vladimyr But then I saw this abomination https://webkit.org/blog/14205/news-from-wwdc23-webkit-features-in-safari-17-beta/#css
# vladimyr It happens to be that your /favorite/ irc ranter is in fact native speaker of non-existent Serbo-Croatian language
# vladimyr Non existent in a sense that it was primarily political construction made by both royal and later communist Yugoslavia and due to the fact that neither one of former entities that once were part of it recognize it as official language
# vladimyr In fact if you ever find yourself wandering through Balkans here is a friendly advice, never ever mention lexical or any other cultural amalgamations unless you really want to piss off folks around you
# vladimyr But using weird example of essentially dead and made up language isn't even the best part of it
# vladimyr They could simply remove Croatian part, call it Serbian and continue showcasing css counter featuring (Serbian) Cyrillic script
# vladimyr And now for the best part
# shreyanjain[m] <vladimyr> "I said I'm gonna try to exercise..." <- I'm impressed with how they handled dockable webapps though
# vladimyr They failed to list letters in correct order!
# vladimyr This is NOT Cyrillic alphabet
# vladimyr Like they took shotgun and gleefully decided they'll shoot themselves in the foot but then paused and decided it is not enough and jumped on the landmine just in case - that's how stupid that example reads and looks like...
# vladimyr And yes, webapps section is indeed nice and descriptive and basically nullified my stupid predictions about them trying to ignore or go against app manifests or service workers
Zegnat joined the channel
# vladimyr Turns out I was wrong. Thing is Serbian Cyrillic can be transliterated to Latin script in one to one manner which works in both directions
# vladimyr But I forgot that Serbian alphabet has different order of letters
# [KevinMarks] [capjamesg] looks liek the 502 is back https://bsky.link/?show_thread=on&url=https://bsky.app/profile/kevinmarks.com/post/3jvch7sd3of2d
# [KevinMarks] it was up an hour ago
# capjamesg Will review in a few hours and bring back up.