tal

joined 2 years ago
[–] tal@lemmy.today 14 points 5 days ago* (last edited 5 days ago)

On size, Lemmy uses pict-rs to handle image uploads. There's a per-instance-settable byte limit max on the max file size that can be uploaded to a pict-rs instance. I've got no idea whether it supports animated gifs.

EDIT: So, a bit of experimentation later, Pict-rs does take WebM. And WebM can contain AV1-encoded stuff, which can be lossless. But AV1 doesn't appear to be optimized for GIF-style flat color images, the way MNG and APNG are. Still, you can get a (larger) file which a pict-rs instance will accept as long as it doesn't hit the filesize limit, which represents the video in the GIF file without loss:

$ stat --format=%s ibjtdug-imgur.gif
804394
$ ffmpeg -i ibjtdug-imgur.gif -c:v libaom-av1 -aom-params lossless=1 ibjtdug-imgur-av1-lossless.webm
$ stat --format=%s ibjtdug-imgur-av1-lossless.webm
1856545
$

collapsed inline media

That slightly more than doubles the filesize.

That being said, I will point out that GIF itself really isn't a great format for this. Like, the reason that many codecs won't do well with this is because they deal poorly with dithered images. The original data (the original original data, pre-GIF-encoding) isn't dithered, and got smashed down to 256 colors and an ordered dither when it was encoded as a GIF, and it'd probably be preferable to not dither it; using that would probably result in a better-quality and smaller video.

EDIT2: It's too bad that pict-rs doesn't support APNG, which it looks like can clamp down on it further:

$ ffmpeg -i ibjtdug-imgur.gif ibjtdug-imgur.apng
$ stat --format=%s ibjtdug-imgur.apng
995418

That's still enlarging it compared to the GIF. But then if we give it a pass through apngopt:

$ apngopt ibjtdug-imgur.apng ibjtdug-imgur-opt.apng
$ stat --format=%s ibjtdug-imgur-opt.apng
512106

And now it's 36% smaller than the original GIF. But presently, pict-rs doesn't accept APNGs.

We can upload it to catbox.moe, though:

collapsed inline media

EDIT3: I also apparently yanked the loop setting off somewhere in there, but I'm sure that it's technically possible to have an APNG loop.

EDIT4: Ah, apparently one needs the -plays 0 flag for infinite looping on ffmpeg; ffmpeg apparently doesn't read that from the source:

$ ffmpeg -i ibjtdug-imgur.gif -plays 0 ibjtdug-imgur-plays.apng
$ apngopt ibjtdug-imgur-plays.apng ibjtdug-imgur-plays-opt.apng

And there we go:

collapsed inline media

EDIT5: It looks like, while the stock Lemmy Web UI displays WebM and one can see the one I posted on lemmy.today's pict-rs instance above along with the two APNGs on catbox.moe, the alternative Alexandrite Web UI apparently omits showing WebMs. So I don't know what the client support matrix is for all this


gotta worry about pict-rs, the client, and if it's a Web client, the Web browser accessing the client.

EDIT6: Piefed's Web UI looks like it's fine with displaying both the APNGs and the WebM. Searching for a public mbin server


apparently fedia.io stopped allowing anonymous access


based on kbin.earth, it looks like mbin's Web UI doesn't show any of the images inline, though it does provide links to them (which may be a good idea from a privacy standpoint. I've pointed out before that external inline images have privacy implications for users).

EDIT7: Hmm. While pict-rs doesn't accept uploads of APNG on lemmy.today, looking at the pict-rs crate, it says that it does support APNG (and GIF, for that matter).

Supported ext file extensions include apng, avif, gif, jpg, jxl, png, and webp.

"Curiouser and curiouser", said Alice.

EDIT8: And based on the docker/docker-compose.yml in the Lemmy git repository, the version of pict-rs being used with Lemmy should support it.

https://github.com/LemmyNet/lemmy/blob/main/docker/docker-compose.yml

image: asonix/pictrs:0.5.17-pre.9

It looks like pictrs's APNG support should have been done as of commit 719626de07cfed793bf6b2b812ce988c8f6acd4c. pict-rs's 0.5.17-pre.9 tag was commit 2c84bb20923f6562c79d0684dc8736965e70a3da, much later, so it should be in. Dunno; maybe there's some restriction in Lemmy that I couldn't find quickly.

EDIT9: And it's not that it was only recently that Lemmy pulled in that version of pict-rs. On the pict-rs repo, checking which releases had the pict-rs APNG support:

$ git tag --contains 719626de07cfed793bf6b2b812ce988c8f6acd4c

The output there includes v0.5.7. In the lemmy repo:

$ git blame docker/docker-compose.yml|grep asonix
426684d90f docker/docker-compose.yml     (Dessalines       2025-02-10 17:27:22 -0500  64)     image: asonix/pictrs:0.5.17-pre.9
$ git blame docker/docker-compose.yml 426684d90f~|grep asonix
027017b0a8 docker/docker-compose.yml     (renovate[bot]    2024-06-15 06:53:11 -0400  78)     image: asonix/pictrs:0.5.16
$ git describe --tags 426684d90f
1.0.0-alpha.0-10-g426684d90
$ git describe --tags 027017b0a8
0.19.4-13-g027017b0a
$

So while they did pull in pict-rs 0.5.17-pre.9 pretty recently, and it's only to be in the 1.0 release (and lemmy.today is running 0.19.11), they pulled in pict-rs 0.5.16, which should contain the APNG support, way back for the lemmy 0.19.4 release. That does sort of suggest that either there's a bug in Lemmy or that there's some intentional restriction that I'm not promptly finding in the Lemmy codebase to prevent GIF and APNG uploads.

[–] tal@lemmy.today 5 points 5 days ago

I'd mostly be interested for E2E encryption.

[–] tal@lemmy.today 7 points 5 days ago* (last edited 5 days ago)

I use Kagi. It's not especially like the Internet at some long-ago date, other than maybe than in that they run a search engine for Usenet archives.

I use Kagi for privacy reasons. They run a no-log, no-profile, no-ads setup, which is what I'd been wanting for some time.

If you're looking for some kind of retro Internet experience, maybe grab a gopher client and look at gopher servers, or an IRC client, telnet to a MUD, use an FTP client to connect to an FTP server. All of those still have active servers and haven't changed much, so it'll still give a comparable feel.

[–] tal@lemmy.today 95 points 6 days ago (8 children)

Bessent has warned that a delayed ruling "could result in a scenario in which $750 billion-$1 trillion in tariffs have already been collected."

"But, Your Honor. I've been running people over in my truck for a good three months now. If you ruled that running people over in my truck is illegal, why....there'd have to be considerable compensation paid!"

It's a novel argument.

[–] tal@lemmy.today 22 points 6 days ago* (last edited 6 days ago)

Your client will only show the communities that your home instance knows about. Your home instance, reddthat.com, doesn't go out and build a list of everything out there.

Go to lemmyverse.net. They spider the whole Threadiverse to find all communities on all instances.

Click on "Communities" tab. Search or just browse the whole list.

Each community will have a little "copy" icon next to a bit of text like !technology@lemmy.world. Click on that and it'll copy it. Paste that into your client's community search field, and it'll tell your home instance to go talk to the instance where that community is and learn about the community. You can then subscribe to it.

Direct link:

https://lemmyverse.net/communities

EDIT: I'd also add that PieFed's lead dev, @Rimu@piefed.social, said in a comment I read a day or so ago that the next PieFed release is supposed to add some sort of functionality to improve on this community search situation on PieFed home instances. But for people with home instances that are existing PieFed instances, Lemmy instances, and Mbin instances, lemmyverse.net's community list is pretty important.

There are also a few other ways to find communities, like posts on !newcommunities@lemmy.world or !communitypromo@lemmy.ca, both of which I recommend as communities to subscribe to themselves. Or check the history of a user that you think is interesting and see where else they hang out


might be they've found some good communities.

On the large home instances, you can check "All" instead of "Subscribed" and that'll show posts from all communities that has at least one user on your home instance subscribed to it. Doesn't work so well on small home instances, as it's more-likely that nobody's yet subscribed to a given community on a remote instance.

I think that right now, lemmyverse.net is still pretty important as a tool for navigating the Threadiverse.

[–] tal@lemmy.today 26 points 6 days ago (1 children)

I mean, whatever makes him happy, but alligators don't get super hung up on human conventions about not pooping where they swim.

[–] tal@lemmy.today 3 points 6 days ago* (last edited 6 days ago)

If Tinkerbell ate her own weight in food every day.

[–] tal@lemmy.today 6 points 1 week ago* (last edited 6 days ago)

https://phonedb.net/ has a database of smartphones that you can filter by various criteria. Among these are height and width.

Searching for smartphones released in 2023 or later with a maximum width of 68mm and a maximum height of 145mm yields only Asus Zenphone 10 variants, which you've already said that you have ruled out. I'd add that I personally am not a fan of Asus's "years of support" number


if they'd crank that up, some of their (larger) phones would go to the top of my list. That may or may not matter for you.

If you go up to a width of 75mm, the Samsung Galaxy S23 enters the picture. That has a 5.9" screen. I haven't used it, so can't personally recommend it.

EDIT: Another option might be going at this from a different way. If the issue is that your hand is too small to wrap around the thing comfortably, might be options to add a different grip.

kagis

Looks like there are some people who make gizmos aimed at this, changing how the phone is held:

https://www.lazy-hands.com/shop/cell-phone-hand-grips/2-loop-phone-grips/2-loop-phone-grip-lazy-hands-blue-hand-in-circle/

https://www.bestbuy.com/product/popsockets-magsafe-round-popgrip-cell-phone-grip-stand-with-adapter-ring-for-mobile-phones-horchata/6554869/openbox

[–] tal@lemmy.today 6 points 1 week ago* (last edited 6 days ago)
[–] tal@lemmy.today 2 points 1 week ago* (last edited 1 week ago) (1 children)

I was a bit of a holdout for some years, but as they did for what I think is most of society, cell phones pretty much killed watches for me. Carrying a cell phone means that you've already got a timepiece in your pocket which you probably already carry everywhere, which automatically syncs time via the cell network (and GPS; I don't know which actually takes precedence on current phones, actually), handles timezones automatically, handles switching to local time to wherever you are when you move from place to place, handles leap years...it's tough for a watch to compete with that.

A digital watch has very low power requirements, can run for maybe a couple years off a button cell. That compares pretty favorably to a cell phone. But if you're willing to deal with charging a cell phone anyway, the timekeeping function is effectively free.

A wristwatch (or, I suppose, smartwatches, if that's the way you swing) is on one's wrist, rather than in one's pocket, so it's a bit faster to check, and one can do it a bit less unobtrusively. But I just don't check the time anywhere near enough to warrant that.

And it's one more thing to deal with, to catch on things, and so forth.

[–] tal@lemmy.today 3 points 1 week ago (1 children)

The horns made me sorely miss the inoffensive chaos of Mexico.

And yet!

https://www.youtube.com/watch?v=6tD9MouLKB8

Relaxing Life Ambiance

2 Hours of Mumbai Traffic Sounds | ASMR City Noise & Honking Horns for Sleep, Relaxation & Focus

[–] tal@lemmy.today 3 points 1 week ago* (last edited 1 week ago)

Not sure it’s what you’re looking for but we use a computer screen to watch stuff

While I agree, options for very large computer monitors are quite limited. If you're using a large room, you're going to have a hard time finding a computer monitor that's as large as television displays.

You can use a projector, but that has its own set of drawbacks, like fan noise and limited brightness and contrast, which one typically mitigates by keeping the room darker. Those may or may not matter to you. Flip side is that you can enjoy a very large display area with a projector, if you want.

view more: ‹ prev next ›