Readit News logoReadit News
demetris commented on JPEG XL Test Page   tildeweb.nl/~michiel/jxl/... · Posted by u/roywashere
tasty_freeze · 19 days ago
It seems like the natural categories are (1) photographs of real things, (2) line art, (3) illustrator images, (4) text content (eg, from a scanned document).

Is there a reason you used only synthetic images, ie, nothing from group 1?

demetris · 19 days ago
Hey, tasty_freeze!

The motivation behind the benchmarks was to understand what are the options today for optimizing the types of image we use PNG for, so I used the same set of images I had used previously in a comparison of PNG optimizers.

The reason the set does not have photographs: PNG is not good at photographs. It was not designed for that type of image.

Even so, the set could do with a bit more variety, so I want to add a few more images.

demetris commented on JPEG XL Test Page   tildeweb.nl/~michiel/jxl/... · Posted by u/roywashere
enimodas · 19 days ago
Would be nice to also see decompression speed and maybe a photo as a bonus round.
demetris · 19 days ago
Yeah.

Numbers for decompression speed is one of the two things I want to add.

The other is a few more images, for more variety.

demetris commented on JPEG XL Test Page   tildeweb.nl/~michiel/jxl/... · Posted by u/roywashere
demetris · 19 days ago
I published some benchmarks recently:

https://op111.net/posts/2025/10/png-and-modern-formats-lossl...

I compare PNG and the four modern formats, AVIF, HEIF, WebP, JPEG XL, on tasks/images that PNG was designed for. (Not on photographs or lossy compression.)

demetris commented on Ask HN: Share your personal website    · Posted by u/susam
demetris · a month ago
https://op111.net - My blog

https://omnicarousel.dev - Docs and demos site for Omni Carousel, a library I wrote recently

demetris commented on Text-based web browsers   cssence.com/2026/text-bas... · Posted by u/pabs3
miki123211 · a month ago
> The main navigation menu is just above the site footer in the HTML document.

Just letting you know, that stuff is a bit confusing to screen reader users.

Though I really wish we standardized on putting content first, like mobile apps do. At least we woulnd't haave to explain to new screen reader users why getting to the f???ing article is so damn hard if you don't know the right incantations to do it quickly.

demetris · a month ago
Thank you!

Would a Jump to navigation link next to Skip to content make this arrangement better for screen reader users?

demetris commented on Text-based web browsers   cssence.com/2026/text-bas... · Posted by u/pabs3
mrweasel · a month ago
For many, if not most, of the sites I regularly visit, text based browsers work surprisingly fine. My main complaint is actually the structure of the html. In many cases sites could improve massively, if they moved navigation to below the actual content. Having a large vertical menu taking up the entire screen as the first thing you see is slightly annoying.
demetris · a month ago
I did that that recently for a couple of personal projects and I like it. I think I will start doing it for client sites too.

https://omnicarousel.dev

The main navigation menu is just above the site footer in the HTML document.

Question for people who know that stuff:

What is the recommended way of hiding features that require JavaScript on browsers that do not support JavaScript, e.g., on w3m?

demetris commented on Show HN: Explore what the browser exposes about you   neberej.github.io/exposed... · Posted by u/coffeecoders
stevetron · 2 months ago
It reports that my OS is Windows 10 on two different browsers, even though my OS is Windows 7.
demetris · 2 months ago
Do you know what user agent the browsers send?

I tried with Windows 7 (Firefox 115) and it reports Windows 7.

It seems though that it cannot distinguish between Windows 10 and Windows 11, so, without looking further, I suppose the detection is based on the User-Agent string? (The OS version browsers report on Windows is frozen, so Windows 10 and Windows 11 have the same version there.)

demetris commented on GNOME 50 completes the migration to Wayland, dropping X11 backend code   linuxiac.com/gnome-50-end... · Posted by u/upofadown
mid-kid · 3 months ago
Firefox remains very conservative on enabling modern features on X11. Some distributions force them on, but otherwise it's up to the user to figure out how to do that.

It's likely that some hwaccel flag in about:config wasn't turned on by default. Similarly, if you want smooth touchpad scrolling, you need to set MOZ_USE_XINPUT2

demetris · 3 months ago
Oh! That’s interesting. Thank you.

My main Firefox in that setup is from the Mozilla repos, rather than the ESR version that is the default in Debian stable. So, it could very well be that. I will have to check to see what the ESR Firefox from the Debian repos does.

demetris commented on GNOME 50 completes the migration to Wayland, dropping X11 backend code   linuxiac.com/gnome-50-end... · Posted by u/upofadown
demetris · 3 months ago
I was working on a carousel library a few months ago. I had made a few stress-test demos so that I could catch obvious issues while I was adding things and tweaking things.

One carousel there had 16K slides.

On Windows both Chrome and Firefox managed that fine. They scrolled from start to end and back without issue and you could see, I think, all the frames in my 60Hz screen.

On GNOME and X11 (dual boot, so same hardware) Chrome was fine but there were issues with Firefox. I was curious so I logged out and logged in with Wayland. On Wayland Firefox was fine too, indistinguishable from Chrome.

I don’t understand hardware, compositors, etc., so I have no idea why that was, but it was interesting to see.

demetris commented on Yt-dlp: External JavaScript runtime now required for full YouTube support   github.com/yt-dlp/yt-dlp/... · Posted by u/bertman
usrbinbash · 3 months ago
> It's absolutely insane to me how bad the user experience is with video nowadays

Has nothing to do with video per se. Normal embeddings, using the standard `<video>` element and no unnecessary JS nonsense, still work the same way they did in the 90s: Right click the video and download it, it's a media element like any other.

The reason why user experience is going to shite, is because turbocapitalism went to work on what was once The Internet, and is trying to turn it into a paywalled profit-machine.

demetris · 3 months ago
The standard video element is really nice:

https://developer.mozilla.org/en-US/docs/Web/HTML/Reference/...

I have used it on a couple of client sites, and it works really well.

You can even add a thumbnail that shows before the video starts downloading/playing (the poster attribute). :-)

u/demetris

KarmaCake day409December 24, 2010
About
All-around tinkerer

https://github.com/demetris

[ my public key: https://keybase.io/demetris; my proof: https://keybase.io/demetris/sigs/IJezxqt-y639GnvKVGnB28Jh6Qsi9X5ddryyMyEesnc ]

View Original