Pinned toot

I am migrating from this account to my personal Pleroma account: @robby. Please follow that account instead of this one

Robby :nixos: boosted

I am migrating from this account to my personal Pleroma account: @robby. Please follow that account instead of this one

I am migrating from this account to my personal Pleroma account: @robby. Please follow that account instead of this one

Robby :nixos: boosted

The Free Software movement is a political movement to get political out of software

Robby :nixos: boosted
OK, I need to share something amazing with you all.

So, one of Pleroma's goals is to be featureful and lightweight. It's a hard thing to do, but we believe this is the right tech stack to do it in.

One thing Pleroma has been missing is the ability to generate the image thumbnails for media. We don't transcode media when it's uploaded; it's an expensive requirement. We also don't save or transcode media coming from remote servers.

But we do want thumbnails. They help in a lot of situations. If someone posts a 6MB PNG you don't want users to have to download 6MB over their spotty 3G service in the Yukon or somewhere else remote: it will suck and be useless.

So, we can build a MediaProxy Preview feature that will extract the thumbnails, but they're ephemeral -- only stored in your MediaProxy cache at the webserver level (Nginx or Varnish).

OK, great!

To optimize performance, we do *not* want to save a copy of these files to disk -- we want to do it through pipes/FIFOs.

Seemed fine so far

But then we hit a bug... not all MP4s and MOV files could be processed with ffmpeg...

Have you ever used Handbrake before and noticed the "Web Optimized" button? Well, that ensures the metadata gets encoded before the data. It's very important for streaming videos.

So how do we re-encode videos without having to save them permanently, incurring disk IO penalties, etc? Well it turns out there are some implementations of making MP4/MOV files "qtfaststart" by reordering data and spitting out a new file.

But we don't wan't a new file! WE LIKE THE FILE WE ALREADY HAVE! :bang:

So @href wakes up this morning, cracks his knuckles, and writes an implementation of "qtfasstart" in Elixir that simply rewrites the binary on-the-fly for us. With the power of pattern matching, we can pass any file we receive through this filter and there is almost zero performance impact.

And the best part? Your RAM is saved. If the file is a 50MB video, the processing doesn't create two files or two memory allocations. It's literally just reordering ranges of bytes. On the fly.

You could do this in C, sure, with byte ranges and pointers and whatnot but you also are aiming a loaded gun through an Aperture Labs Portal which exits pointing at the back of your own head.

This is the magic of BEAM, OTP/Erlang, Elixir. Shared nothing immutable data structures and when you modify them it almost always just handles a new collection of memory ranges used to construct your new data.

This stuff is stupid cool and I hope @lain writes a really nice blog post about it.
Robby :nixos: boosted

Due to #DRM, HBO Max now will not work on any computer running GNU/Linux, regardless of what browser you choose: Learn more about our Defective By Design campaign against DRM at

Robby :nixos: boosted

We need to defeat this bizzare cognative dissonance people face when they have to re-evaluate the place email holds in their mind. It's not some useless relic of the last generation to cast off in the course of chasing the shiny new.


- Federated
- Decentralized
- Built with open standards
- Fault tolerant
- Enjoys a wide variety of open-source clients & servers
- Has widely available implementations for almost every programming language
- Already being used for software development at scales greater than GitHub-style development has ever dreamed of

"Email? Yuck"

Screw that noise. Set aside your preconceptions and look at email for what it is. The things that make you "yuck" about email are more related to the bastardization of email *software* by corporate interests like Google and Microsoft, and have next to nothing to do with email itself.

Saying you get free games with {Xbox Live, Playstation Plus} is like saying you get free movies with a Netflix subscription.

Robby :nixos: boosted

Holy crap, google is apparently taking down all/most fediverse apps from google play on the grounds that that some servers in the fediverse engage in hate speech. At least three apps I know of anyway and I'd imagine the others will follow soon under the exact same reasoning.} Seems to be the case with Husky, Fedilab, and "subway" tooter.

this is a scary precedent if google play is going to ban any apps that can in any way be used to access content with hate speech. So what about a forum client, do they take that down just because there is a forum somewhere on the internet posting hate speech?

This is particularly worrisome because for most people Google Play is the only way they understand to install apps at all.

Picture attached of one of the notices received by fedilab.

@fedilab @tateisu #fediverse #mastoadmin #freespeech #censorship

Robby :nixos: boosted

Imagine trying to manage 1,000 pull requests per day through a single GitHub repository

There's a fucking reason they use email and mailing lists

Robby :nixos: boosted

@en I'm in the process of writing an article about hwo good they are! I've already signed up!

The power just flickered at my apartment. All my monitors shut off and powered back on but my PC didn't skip a beat :thonking:

I'm actually starting to find it weird when people don't have an RSS feed for their site.

I blocked several domains in my /etc/hosts file a few days ago. So far the only difference with my daily browsing I have noticed is that captchas fail to show up.

I've been getting around that by using for pages that require me to use captchas.

Robby :nixos: boosted

Just blogged about my experience with switching to the keyboard layout. No matter what, keep your hands and wrists healthy.

Robby :nixos: boosted

Great ~3 minute video which explains nicely why I focus so much on #privacy as it shows the dangers of #surveillance #capitalism.
Viewpoint_ ‘We’re living in an age of surveillance capitalism’ _ BBC Ideas



Show thread
Show more

Fosstodon is an English speaking Mastodon instance that is open to anyone who is interested in technology; particularly free & open source software.