Show newer
Forest boosted

Okay, this is nuts!

While viewing a live #owncast stream, you can follow, as you'd expect from the #fediverse

BUT!!! When using the #liveChat you can link your identity to your #mastodon account with #FediAuth !!!! What!;?

It then sends you a DM with the AuthCode directly to mastodon!

Wow, #activitypub is awesome!!

#foss #twitch #opensource #freesoftware #streaming

@gabek

> why use them?

Because its the only way to implement login without requiring JavaScript.

Cookies aren't inherently bad. There are some quirks, specifically the SameSite attribute. I eventually settled on two cookies, one SameSite strict and one SameSite lax. Both HTTP Only (not exposed to js) and both having a server side session token.

That way I can allow 3rd party referrer links to be logged in for specific actions ( click link in webmail to confirm email address ) while staying secure against 3rd party request forgery vectors in general.

Forest boosted

@teal@cannibal.cafe @em@cassilda.house @mauve

At least last time I was looking at this, the libp2p libraries worked OK for apps, just not for browsers / interoperability w/ browser stuff.

I think a large part of the problem is that what libp2p is trying to do is kinda impossible, the image that they "sell" where it "just works" with pure p2p and no server, is and always will be unrealistic. Because of the "original sin" of ipv4 and NAT, there will always be a need for a server / rendezvous point.

I still use the UPnP client from libp2p, I its really good IMO. git.sequentialread.com/forest/

I think webrtc is the way to go for publishing cuz it supports browsers, I like the Pion webrtc libraries cuz I can fairly easily get server<->server, server<->browser, and browser<->browser, working, and it has a feature where you only have to open / forward one UDP port on the server so it makes it easier to host. WebTorrent is also pretty cool.

@genevieve

> "How do you maintain audiovisual materials? Proper care. First, wash and dry your hands thoruffly. Then, use ffmpeg."

video.strongthany.cc/watch?v=9 😂

@genevieve I don't know the details and could be wrong in the case of flac audio but for a lot of formats, ffmpeg is able to concatenate / trim / cut the media without re encoding it, that's a large part of what makes it so special I think. It tries to do that by default unless you tell it to do something that requires re encoding

@genevieve I love ffmpeg but its so annoying to use sometimes 🫠

@genevieve maybe you could try generating the silence in a different way, like by recording silence and converting it to flac, or something. Or maybe if it was very quiet but not quite silent it might help

@genevieve sometimes I have to use a different program to resample / convert them 1stin order to make it work. For example I had this with a screen capture video on Mac osx. It was 300mb and I wanted to compress it properly using ffmpeg. But it would crash like this if I tried to convert it directly.

I tried to convert it using apples built in video program but it had a slider for the quality level and the lowest quality was way too high ( I don't think it was using variable bit-rate, so it was very bad at compressing screencasts). So it was like 70mb in the end.

After that I exported it at high quality via the built in video program, then tried to compress it properly from there with ffmpeg. It worked and I got it down to ~5mb before it started losing too much quality.

Might have been a bit better if it was only re encoded once but it worked out for what I wanted.

@genevieve are you trying to do it without resampling / re-encoding ?

Honestly in my experience ffmpeg just does this sometimes. I use it quite a bit and I've never found any real solutions to these bugs / issues. I've had errors like this when concatting videos and also when trying to compress a single video.

I don't like it but the only solution I've found that works involves resampling. Sometimes if I convert the videos(s) or resample them, I can get it to work. If they are really high quality to start you might not notice the difference from it being re-encoded an extra time

@mauve have you ever tried to write an application that works like this?

I can tell you from experience, it's practically impossible.

- everyone is in ipv4 NAT jail
- ipv6 when???
- if your app doesn't have a URL, who's going to use it? ( network effect of established platforms )

I agree that this is how things **should** be! But its unclear to me how to get there. Or even where to start.

IMO we have to start with self-hosting, then move to community/group hosting, then try to use those trusted community-run publicly dial-able server constellations as a pseudo-standard for how to bootstrap more P2P oriented apps. But I think it still has to load in the web browser the whole time. Any sort of publishing use case will have to be compatible w/ unmodified browser.

But hey, with the new WebTransport API, that's going to get a lot less painful soon!!

Forest boosted

you heard of 100% CI runs, but have you heard of any% CI runs

Forest boosted
Forest boosted
I can’t believe how many #owncast stickers have been grabbed. Each time I replenish them they’re gone next time I look.
Forest boosted
Forest boosted

NPR’s data shows that they lost nothing after being ostracized by the psychotic white billionaire. It counters the idea that leaving Twitter is a loss. Let’s dismiss the idea that we need to be held hostage on any platform.

niemanreports.org/articles/npr

#NPR #Twitter #SocialMedia #Journalism #Media

@j3s I think we're talking about slightly different things / the silly analogies are breaking down 😛

Straws were probably a thing to accommodate drive thrus and car culture -- everyone gets a disposable babby sippy cup so that when you drive over a bump your sugar syrup water doesn't go splashing everywhere. I can argue straws are a safety feature with costs / negative externalities.

Idk what a straw-ftware even is in this analogy, but I'm not sure I'm totally against it. You don't need JS to build a website, but in case you do, it sure is a breath of fresh air that React calls it `dangerouslySetInnerHTML` instead of the innocent-seeming XSS vector `element.innerHTML = xyz`.

Safety is annoying, the world is annoying, society is annoying, inertia and network effects are annoying. But I would rather try to pay the cost to play in our flawed sandbox, I don't want to refuse and become a hermit

@j3s

I like convenience on computers, cuz when I pollute my disk/ram with used straws, I can just back up the stuff I care about, wipe it, and start over. But I get what you're saying and I agree, digital consumerism is the worst and it **feels really good** to find meaningful ways to step outside it.

> if I am to have faults, I would rather they be my own

-- vihart

I love my "cast iron" or "ceramic mug" tools like picopublish and stuff... Can be a pain and has a lot of flaws / limits, but I can delight my friends with url file names like

picopublish.sequentialread.com

Show older
Pixietown

Small server part of the pixie.town infrastructure. Registration is closed.