#dev 2021-04-22

2021-04-22 UTC
#
jacky
lol, the thing that was the easiest to do for any Web project sometimes feels like the backend for me
#
jacky
frontend stuff requires way more thought
#
vilhalmer
lol, I work mostly on internal cli tools and the interface is still often the hardest part
#
vilhalmer
"this code is easy, right until the human needs to tell it what to do"
#
jacky
_exactly_
#
jacky
humans are the problem
#
jacky
every time, lol
[snarfed] joined the channel
#
[snarfed]
“things break when people touch them”
#
vilhalmer
ironically breaking them is technically my job
#
vilhalmer
I just wish they'd stop breaking _mine_ and break the stuff it's supposed to break
#
vilhalmer
designing error messages is one of the most important skills I have learned
#
vilhalmer
because when I fail, I get slack messages
#
aaronpk
ha good motivation
maxwelljoslyn, lahacker, [tantek], nertzy, alex11, [tw2113_Slack_], ShadowKyogre, [Murray], minoru_shiraeesh, samwilson1, [pfefferle], KartikPrabhu, shoesNsocks, jjuran, aaronpk, geman, [kimberlyhirsh], [indieweb653] and [KevinMarks] joined the channel; ShadowKyogre left the channel
#
@alleyco
Webmentions let you pull tweets, other blogs, and activity from around the web into your site. @indigitalcolor explains how to add this functionality to a NextJS website. https://aboutmonica.com/blog/getting-started-with-webmention-next-js
(twitter.com/_/status/1385258671408615426)
[aciccarello] joined the channel
#
[aciccarello]
I wonder if that framing is misleading in that it makes webmention sound like it can pull information into your site rather than pushing information from your site. I would say tools like Bridgy allows you to pull in tweets by pushing to your site. 🤔 (perhaps this is more #indieweb-meta )
KartikPrabhu, barnabywalters, maxwelljoslyn, lahacker, Loqi_, Kaja_, nertzy_, deltab_, rrix, [tantek], minoru_shiraeesh, __minoru__shirae and kitt joined the channel
#
[tantek]
this is the right place for that aciccarello 🙂
#
[tantek]
Webmentions allow both, and it's ok for folks to focus on specific use-cases like that in context
#
jacky
that's an interesting way to position it - less about the actual pipes of Webmention and more about what you can do with it
#
jacky
like people don't talk about Instacart being a fleet management system for patrons and workers, it's a delivery service of groceries near you
#
[tantek]
precisely jacky. center the use-case, not the platform/plumbing.
#
[tantek]
/ protocol
shoesNsocks joined the channel
#
barnabywalters
well my audio streaming server still works, but apparently firefox can’t play live m3u streams any more :(
[aciccarello] joined the channel
#
[aciccarello]
That's a great point
#
barnabywalters
looks like safari can, ff and chrome not
#
stevestreza
jacky: Here's a sample nginx config for multicasting RTMP from OBS (or whatever), I used this to help my partner stream to both Twitch and YouTube, but any RTMP URL should work https://git.stevestreza.com/-/snippets/108
#
barnabywalters
so if I want to do any self-hosted live stuff, looks like it’s time to abandon icecast
#
jacky
oh this is simple enough tbh
#
jacky
thanks stevestreza
[KevinMarks] joined the channel
#
[KevinMarks]
That's weird as HLS works through m3u so there should be some way to do it
#
barnabywalters
tbf all I tried was opening the URL directly, and embedding it in an <audio> element. the audio element did nothing, and the direct URL access prompted a download
#
barnabywalters
and I tend to assume that if FF can’t play a file type when you access its URL, it probably can’t play it at all
#
vilhalmer
is the content-type set?
#
jacky
grumbles randomly in a lack of a mf2 parser in rust
#
barnabywalters
it definitely used to work five years ago!
#
barnabywalters
jacky: funny you should mention that, I’m currently learning rust, and have some experience writing mf2 parsers…
#
barnabywalters
vilhalmer: AFAIK it is, although I don’t have direct control over it as it’s being served by icecast2
#
barnabywalters
but safari manages to play it just fine
#
vilhalmer
ah yeah I'd expect that to set it correctly
#
jacky
barnabywalters: I'll happily contribute to it!
#
barnabywalters
as does VLC, if I download the file
#
jacky
I wonder if Safari is doing some content sniffing
#
barnabywalters
good to know, I’ll keep it in mind! I don’t feel confident enough in rust to be able to do a really good job at it, but then I started php-mf2 when I had very little experience, and it turned out okay…
#
jacky
I hear it's the lifeblood of some projects :)
#
barnabywalters
jacky: are you building your new site backend in rust?
#
jacky
parts of it
#
jacky
like the more 'static'-y parts
#
barnabywalters
ah, so you’re making a static site generator in rust, rather than having a rust app serving your site?
#
GWG
barnabywalters: https://github.com/dshanske/Static-Maps-API-PHP is my fork. I backported a bunch of aaronpk's Atlas improvements and made some changes of my own
#
GWG
I also have it doing FastCGI caching in Nginx to save the maps
#
Loqi
[dshanske] Static-Maps-API-PHP: A PHP app that renders static maps from tile hosting services
#
jacky
!tell barnabywalters not entirely, I'm splitting my site up into chunks that work to make a whole. in short, I've moved the micropub and indieauth bits to separate projects and have a small static site that aims to use the generated files from the micropub app to render my site
#
Loqi
Ok, I'll tell them that when I see them next
[chrisaldrich], [tw2113_Slack_] and samwilson joined the channel