Live data from Hacker News

Improving support for adult content on Mastodon

blog.joinmastodon.org

1–10 of 89 posts

Re: Improving support for adult content on Mastodon

#2
There is a Ruby port [1] publicly available. From the encoding routine [2], it seems to be an sRGB correction followed by a two-dimensional DCT. The first two bytes encode parameters---the size of the output matrix n x m and the quantization scale used for ACs; next 4 bytes encode the DC, then (nm-1) quantized ACs (2 bytes per AC) follow. The comparison to Facebook's similar solution [3] would be interesting (but I realize that Blurhash tries to hide explicit images, so technically they have different goals).

[1] https://github.com/Gargron/blurhash/

[2] https://github.com/Gargron/blurhash/blob/master/ext/blurhash...

[3] https://code.fb.com/android/the-technology-behind-preview-ph...

Re: Improving support for adult content on Mastodon

#3
Reminds me of https://news.ycombinator.com/item?id=15053064

I normally hate this kind of blur and I'm not sure if this is worth such a big release note. I normally see such filters applied (forced on users by platform conventions), requiring a login to "unlock" and often you find yourself wondering why it was blocked in the first place....

Could be good to hide spoilers thought

Re: Improving support for adult content on Mastodon

#5
post #4

I really like the idea of Mastodon, but i can't shake this feeling that their name is kind of awful. I get that they're not trying to be exactly like twitter but by comparison, twitter is a much bubblier and friendlier word.

And the language of "toot" is extremely hokey and will never be taken seriously. It implies farting for most Americans.

"Tweet" reminds people of birds. As in "a little bird told me". Which is appropriate for a gossip style network.

Re: Improving support for adult content on Mastodon

#6
post #5
post #4

I really like the idea of Mastodon, but i can't shake this feeling that their name is kind of awful. I get that they're not trying to be exactly like twitter but by comparison, twitter is a much bubblier and friendlier word.

And the language of "toot" is extremely hokey and will never be taken seriously. It implies farting for most Americans. "Tweet" reminds people of birds. As in "a little bird told me". Which is appropriate for a gossip style network.

mastodon's tooting...

Re: Improving support for adult content on Mastodon

#7
post #4

I really like the idea of Mastodon, but i can't shake this feeling that their name is kind of awful. I get that they're not trying to be exactly like twitter but by comparison, twitter is a much bubblier and friendlier word.

I hear mastadon and I immediately think of that metal band, Mastadon: https://www.youtube.com/watch?v=s6WGNd8QR-U

Re: Improving support for adult content on Mastodon

#8
post #4

I really like the idea of Mastodon, but i can't shake this feeling that their name is kind of awful. I get that they're not trying to be exactly like twitter but by comparison, twitter is a much bubblier and friendlier word.

Haha, it is pretty awful, but they seem like they're getting a little traction at least. So, hopefully serves to make it catchy and memorable. It can happen. I remember plenty of people thought "Twitter" and "tweets" were dumb names too.

Re: Improving support for adult content on Mastodon

#9

There is a Ruby port [1] publicly available. From the encoding routine [2], it seems to be an sRGB correction followed by a two-dimensional DCT. The first two bytes encode parameters---the size of the output matrix n x m and the quantization scale used for ACs; next 4 bytes encode the DC, then (nm-1) quantized ACs (2 bytes per AC) follow. The comparison to Facebook's similar solution [3] would be interesting (but I r…

I created the algorithm, and there is a proper release of it with documentation and implementations in a few languages coming... "soon". It's a work project, so trying to find time to work on it is always tricky.

If you have any questions, feel free to ask.

The main goal of it is to be a placeholder while images load, but it also has a nice secondary use for hiding sensitive images here. Other aims of the algorithm is to be very simple and easy to implement, and to use very small amounts of data to make it comfortable to include in databases and responses (Facebook uses 200 bytes of data, BlurHash uses around 30, depending on settings.)

Re: Improving support for adult content on Mastodon

#10

Reminds me of https://news.ycombinator.com/item?id=15053064 I normally hate this kind of blur and I'm not sure if this is worth such a big release note. I normally see such filters applied (forced on users by platform conventions), requiring a login to "unlock" and often you find yourself wondering why it was blocked in the first place.... Could be good to hide spoilers thought

This is used for sensitive images, but also as a placeholder while the full image loads, as the entire blurred image can easily be contained in the JSON data (it's around 30 characters long).
Post reply on HN