#dev 2022-07-26

2022-07-26 UTC
gRegorLove_, gRegorLove__, angelo, alex11, mambang, walkah, [Jacob_Hall] and chenghiz_ joined the channel
#
[Jamie_Tanna]
I'm actually writing a post at the moment about how I learned Go 😁 it's only been for the last few months I've been doing it, but quite liking it. I'm writing https://gitlab.com/jamietanna/micropub-go/ and am also going to write a server interface so folks need to implement much less themselves
alex11 joined the channel
#
xyzzydev[m]
<AramZ-S[m]> "xyzzy.dev that's interesting. I..." <- tally-ho is neat! I like go just for its deployment simplicity, which together with wordpress and mac has a folder / file based deployment model. This weekend I had the luck of using AppImage and now I think a simple deployment model can also work for python. It boggles my mind that AppImage has not been made mainstream yet.
Kaja_, gxt_, tetov-irc, [KevinMarks], jacky, chenghiz_ and AramZS joined the channel
#
[schmarty]
for folks running streams through OwnCast (i know of jacky and aaronpk): do you leave the instance up and running all the time, or bring it up when you stream and tear it down after?
#
aaronpk
i leave it up all the time
jacky joined the channel
#
[schmarty]
feels like that adds up over time! i guess you do a decent amount of streaming, though.
#
[schmarty]
based on the (vague) advice in the docs that "the more CPU you can provide, the better quality and flexibility you’ll have in the end" I am thinking about setting one up to tinker and then automating that process so i can shut it down between streams.
#
aaronpk
i mean if you're running it on a server that costs you per minute then yeah i'd shut it down :)
#
aaronpk
but it sits on a server in my closet that runs a bunch of other stuff anyway, and it doesn't use any resources when it's not encoding a stream really
#
[schmarty]
ah yeah that makes sense. i guess i could pretty easily put mine on my home server and use the external storage setup to host the actual content on B2 or whatever.
#
aaronpk
yep that's a neat trick
#
[schmarty]
have you written up or done a video on your general owncast setup? i am a little stuck on the flexibility like how many quality levels are worth doing to start.
#
aaronpk
not really. the docs are pretty good but i'm not sure if they have any details on that in particular
#
[schmarty]
lol the docs boil down to: 1. get as much CPU as you can. 2. play with things until you get a good stream quality that doesn't knock the box over. 3. if you have leftover CPU and want to add another stream, try it, and good luck!
#
[schmarty]
ooh /OwnCast#IndieWeb_Examples shows you run multiple instances? any special setup there or just multiple separate owncast instances on different ports w/ a proxy in front for each?
#
@nezirzahirovic
A Ruby gem for sending Webmention notifications. (from 28/05/2020) #twitterbot #ruby #rails #rubyonrails #rubydeveloper #railsdeveloper #programming https://www.rubyonrails.ba/single/a-ruby-gem-for-sending-webmention-notifications
(twitter.com/_/status/1551937950434344960)
#
aaronpk
yeah just multiple copies running independently, some are on different servers too
#
[schmarty]
aaronpk++ thanks for letting me pick your brain!
#
Loqi
aaronpk has 30 karma in this channel over the last year (116 in all channels)
#
[schmarty]
haha and thanks for the reminder to try indieauth! i just tried to sign into watch.owncast.online with my site which (still) uses indieauth.com as my auth endpoint and owncast didn't like the form-encoded response. :zany_face:
#
aaronpk
oh yeah darn
#
aaronpk
i tried to add support for both to indieauth.com but it uses some hints from the sender to know whether to respond with json or form-encoded
#
aaronpk
maybe i should just switch it to json only at this point
#
[schmarty]
conneg-- but maybe owncast would be open to a patch adding an Accept header 😮
#
Loqi
conneg has -8 karma in this channel over the last year (-10 in all channels)
#
[schmarty]
haha emoji keyboard oops there. It's not so shocking an idea
nertzy joined the channel
#
aaronpk
tbh at this point we should just drop the form-encoded mode completely, if anything is still using it that's what should get updated
#
[schmarty]
I have lost track of the status of that in the spec 😅
#
aaronpk
i think it's finally dropped from the latest spec
#
aaronpk
ok now i can't even find where it has the form-encoded responses
#
aaronpk
oh wow
#
aaronpk
December 2017 is when we moved it to the w3c, and in that version it only mentioned the JSON responses
#
aaronpk
so yeah it's been long enough
#
jacky
interesting
#
jacky
re: dropping support
#
jacky
but yeah, similar setup to aaronpk, it's running on the same server I got my site on and uses DigitalOcean Spaces to host the video files
#
jacky
just noticed that I could _technically_ also use those files for VOD modes - very interesting
#
jacky
tbh if I could have a way to quickly "clip" video from it, I'd be able to 'bridge' more easily between twitch and owncast
[Murray], angelo and jacky joined the channel
#
vikanezrimaya
aaronpk: re IndieAuth form-encoded: my wip solution will use JSON everywhere since I actually haven't noticed any mentions of form-encoded data anywhere when transcribing the spec. Did we not drop it already? Have I just not noticed it?
#
vikanezrimaya
I'm not even sure my software would accept form-encoded data at this point... oh no...
#
aaronpk
i swear i remember a mention of it for backwards compatibility, but i can't find that reference even in the 2018 version
jacky joined the channel
#
vikanezrimaya
this might be a little troublesome, since if I have to accept form-encoded requests, I might need to mess around with body extractors and parsing content types before parsing the body
#
aaronpk
so it might just be that i didn't want to remove it from indieauth.com since it would have broken stuff that uses it. but it might be long enough that those things aren't using it anymore
#
vikanezrimaya
while it's fairly trivial for someone like me, who's already familiar with custom body parsing logic of my framework, I would prefer to devote my time to something that's actually useful.
jacky joined the channel
#
vikanezrimaya
oh crap, I might've actually misread the spec. I assumed that a grant request will be JSON, but there is actually nothing that specifies its content-type in the IndieAuth spec itself.
#
vikanezrimaya
aaronpk: is this another thing we've delegated to the oauth spec? I had to refefence it more than I did years ago when implementing my first IndieAuth solution.
#
aaronpk
all POST requests are form-encoded, all responses are JSON
#
vikanezrimaya
ah, I see. I'll need to double check my body handlers, then.
#
aaronpk
it looks like we don't have an explicit mention of the encoding, since that's from OAuth, but the examples are form-encoded https://indieauth.spec.indieweb.org/#request
#
vikanezrimaya
that's actually easier than expecting to parse content-type. But I see that the responses are actually mandated to be JSON.
#
vikanezrimaya
So I suppose the form-encoded response requirement might've been dropped somewhere in between versions.
#
aaronpk
that's the thing i can't find in any version other than when the spec was on the wiki
#
vikanezrimaya
at least the access token grant is specifically mentioned to be JSON, and all the other examples describe JSON responses
#
aaronpk
which means it hasn't been in the spec since at least 2017
#
vikanezrimaya
oof, that's a long time!
#
vikanezrimaya
good, I don't like form-encoded
#
aaronpk
it wasn't as long ago 2 years ago
jacky joined the channel
#
aaronpk
time flies
#
vikanezrimaya
wasn't 2017 actually my school graduation and the year I went to college? or was it 2018 or 2019?
#
[tantek]
I think this is worth sharing here publicly: https://twitter.com/bettynixx/status/1551945788045017088 (h/t jacky)
#
@bettynixx
I’ve seen a significant drop in photo reach so supporting photos can’t really be happening. The shift to becoming like TikTok is very apparent and IG is losing it uniqueness. Nothing is chronological about seeing 3 day old posts on home feeds. https://twitter.com/mosseri/status/1551890839584088065
(twitter.com/_/status/1551945788045017088)
#
vikanezrimaya
ugh, I don't remember and I don't wanna revisit that topic
#
[tantek]
IMO this creates an opening (demand) for a new photo-focused /reader
#
vikanezrimaya
[tantek]: Instagram is becoming more annoying every day. Good thing I'm using a hacked client, at least there are no ads.
#
[tantek]
so yeah, if IG wants to chase the TikTok blackhole, let them.
#
[tantek]
vikanezrimaya, yeah I'm having to mute, block, and report SO much on IG to block out the noise
#
vikanezrimaya
Also a photo-focused reader sounds like a nice idea. But surely we don't need to create new apps, maybe create alternative views for readers we already have? I believe a software I used before, Together, had different feed modes for different purposes, like a map for showing latest check-ins from people in the feed channel.
#
vikanezrimaya
I like that philosophy
#
vikanezrimaya
uuuuu I wanna go try my hand at implementing microsub, but I need to finish the IndieAuth implementation first to even dream of implementing it...
#
vikanezrimaya
because I will need advanced scope management to plug in microsub clients
#
vikanezrimaya
(i.e. an ability to allow and deny arbitrary scopes, not just accepting and denying whole authorization requests)
#
vikanezrimaya
I already implemented it once, and I will be able to do it again, I am sure of it
#
vikanezrimaya
I don't wanna do html though 😭 I think Rust has made me complacent
#
vikanezrimaya
I have to hack on the templates now and I feel all gloomy
#
vikanezrimaya
it's the only thing that's left there, aside from writing glue code to persist tokens and grant codes
#
vikanezrimaya
(but I'm saving that one for last, because it's very quick and doesn't require much thought - I've created a nice abstraction for it)
#
[tantek]
IG pioneered so many innovations in the photo reading UX that this is kind of sad/ironic to see it abandon all that progress
#
[tantek]
even simple things like full-bleed width-wise viewing on "mobile" (narrow / portrait) displays
#
[tantek]
smashing the default established convention/wisdom that you always need some sort of blankspace margin around everything
jacky joined the channel
#
vikanezrimaya
I agree that it is pretty, and I would love to see (or maybe even implement) the same UX in a proper free software social reader
gxt_, jacky, ben_thatmustbeme and [tw2113_Slack_] joined the channel
#
[tantek]
instead of waiting for "someone" to make a "proper free software social reader", we can all make all those UX improvements on our own /homepage /composite_stream views on mobile/narrow displays
#
[tantek]
your home page composite stream should be your expression of what you think an "ideal" reader view would be of your published content
#
[tantek]
like if someone setup a reader, and only added your site, what would/should it look like?
jacky joined the channel
#
aaronpk
that's a good way to think about it
#
jacky
yeah never really considered that
jacky, alex11 and [fluffy] joined the channel
#
[fluffy]
I'm always split between wanting to add more social features to FeedOnFeeds and wanting to write something new, because FeedOnFeeds is kind of janky and would be difficult to add certain things to.
#
[fluffy]
it was classic "itch-scratch" software and was originally built as a single-user app, and then later multiuser got hacked on, and the multiuser hacks are a big part of why I wouldn't want to add, say, TicketAuth to it.
lagash joined the channel
#
[fluffy]
Although I think it could support Micropub via a plugin without too much difficulty.
#
[fluffy]
FoF also does support "reblogging" through its social feed, which is the one use I've ever seen of Atom sharing, and is also incidentally why I *don't* support private feed URLs for post visibility, because Atom sharing leaks the feed URL.
ben_thatmustbeme, angelo, jacky, tetov-irc, gxt_ and nertzy joined the channel
#
jacky
been playing around with godot and I didn't realize how easy it is to make little games
#
jacky
I can def see a chance to make something like indiewebify.me but into a literal game haha
#
jacky
I mentioned that jokingly once at a HWC but tbh I think all I'd need would be assets and some audio
nertzy joined the channel