#dev 2023-07-08

2023-07-08 UTC
gRegor, tei_, [manton], angelo and bterry joined the channel
#
Loqi
[preview] [Jan] In reply to Social RSS by Chris Coyier.Sounds like a “social reader” (https://indieweb.org/social_reader) avant la lettre, then.To be honest, I don’t think very many people use ’em (the IndieWeb’s “Microsub” readers), mainly because you...
tei_ joined the channel
#
[snarfed]
meanwhile, in APIs: when you ask Akkoma's JSON-based API for posts, it returns ~50KB of server metadata inside each author object
#
[0x3b0b]
You got an akkoma instance handy? I was wondering if something is a general Akkoma problem or specific to either Mangane or the instance I have an account on, but didn't feel like hunting around
#
[snarfed]
discovered when that resulted in a 1.7MB API response, 1.5MB of which was ^ duplicated server metadata, that hit a hard-coded 1MB limit I have on API responses
#
[snarfed]
I expect it's general Akkoma. here's the URL, no auth needed: https://pleroma.envs.net/api/v1/accounts/9y2FgX9X4JoYdh24NU/statuses?limit=30
#
[snarfed]
to be fair, the size of that metadata is obviously instance-specific. still though
#
[0x3b0b]
Wow, with js off that one's main page just gives me a blank whiteness, doesn't even tell me hey this is js;dr.
#
aaronpk
That url is just JSON data not a web page with JavaScript
#
[snarfed]
I assume "main page" meant https://pleroma.envs.net/
#
[0x3b0b]
Right; see, I'm not checking the same thing as snarfed, so I wanted to get to the local timeline real quick and identify an instance user
#
[0x3b0b]
OK, that instance also comes back with an ostatus subscribe template that goes to /ostatus_subscribe?acct=>{uri}
#
aaronpk
Fun fact pasting that json data in a form field in iOS locks up the browser
#
[0x3b0b]
but unlike the other instance I was looking at that's using Mangane, that page actually exists. So it looks like that's a soapbox/mangane problem.
#
[0x3b0b]
And despite the implications of "subscribe" and "acct," if you feed it one of my permalinks, it does in fact show my post.
[lifeofpablo] joined the channel
#
vladimyr
If you need more akkoma instances to test social.kernel.org and social.projectsegfau.lt
#
[0x3b0b]
Thanks, but I'm convinced at this point that either it's Mangane's problem, and bdx.town has really weird 404 handling, or (more likely, because trying to access a random path gets a login screen and trying to access /ostatus_subscribe gets a "resource not found" page with a weird url) it's this specific instance. And it's also almost two in the morning, so I'm giving up for the night.
yy, jjuran, jonnybarnes, rocto, geoffo, [jgarber], bterry, btrem, tei_, gRegor, gRegorLove_ and [lifeofpablo] joined the channel
#
[lifeofpablo]
Hello! Not sure if I'm in the right channel. Has anyone had experience chopping with modifying remote_user? I am trying to elimate http:// or https:// . The web app I am using only allows alphanumeric characters.
Nuve joined the channel
#
gRegor
[lifeofpablo], do you mean taking a full URL and returning just the domain part? Not sure what context you mean for remote_user
lifeofpablo joined the channel
#
lifeofpablo
Hello! Yes, that is correct. I only want to pass for example, lifeofpablo.com instead of https://lifeofpablo.com
#
Loqi
[preview] Experimental: Sign in to my site using your domain. It's still buggy so you might have to refresh twice to get your domain to show up. Not logged in Pablo Morales 🌈 Happy Pride!🌈 📸 Check out my photos from Pride! Follo...
tei_ and nertzy joined the channel
#
gRegor
What programming language?
lifeofpablo joined the channel
lifeofpablo joined the channel
#
lifeofpablo
I will gladdly steal this! Thank you!
tei_, nertzy and tei_1 joined the channel
#
[tantek]
but JSON responses are soooooo much smaller & easier to parse than HTML which is way too hardddddd waaaaaaa
tei_ joined the channel