Hacker Newsnew | past | comments | ask | show | jobs | submit | 149765's commentslogin

There is some sort of tag, jxlinfo can tell you if a file is "lossy" or "(possibly) lossless".


I think GNU parallel has similar placeholders, but I do prefer to just use `fd`.


I think it does, and tbf, `fd` is bascially `find` + `parallel`, but I do find that it is nice that it is just one tool and I don't need GNU parrallel :)


Vimium C has this option, you have to enable 'extensions-on-chrome-urls' flag.


Had to lookup regex crate docs, but it's possible:

    $ fd '(?-u:\xFF)'
    a.�


Not sure, if it's a bug, but it eats 1.4G memory after running find for a few seconds, detaching, re-attaching and running find again.

        Active: active (running) since Fri 2024-06-14 19:26:55 +05; 27s ago
    Invocation: d84b9281e0f64a798c4e555836815036
    TriggeredBy: ● shpool.socket
    Main PID: 3895609 (shpool)
        Tasks: 15 (limit: 154377)
        Memory: 1.4G (peak: 1.4G)
            CPU: 6.566s
        CGroup: /user.slice/user-1000.slice/user@1000.service/app.slice/shpool.service
                ├─3895609 /usr/local/bin/shpool daemon
                ├─3895629 -fish
                ├─3895719 systemctl --user status shpool
                └─3895720 pager


There is also perf:

  perf stat -e 'power/energy-pkg/' -I 1000 --interval-count 3 
  #           time             counts   unit events
       1.001064377              11.00 Joules power/energy-pkg/                                                     
       2.002605466              10.98 Joules power/energy-pkg/                                                     
       3.003726824              11.01 Joules power/energy-pkg/


Can you assign virtual desktops to different screens?


Not yet. Even if we don't have a defined timetable yet for this feature, is something we are planning to implement


From your answer, I assume you're a KDE contributor. Thank you for your contributions (regardless of what kind). Plasma really made me feel like the desktop is trying to accommodate me, the user, instead of the other way around.

I have a large collection of images saved in my computer, which I often send to other people through chat programs. The file picker with thumbnails is a godsend.

Nice work!


thanks :)


I don't know. I have never used the virtual desktop feature. Is there any way I could test that for you?


> peace of mind of knowing PNG is always lossless

There is pngquant:

> a command-line utility and a library for lossy compression of PNG images.


You also have things like https://tinypng.com which do (basically) lossy PNG for you. Works pretty well.


Neither of these are really what I'm referring to, as I view these as ~equivalent to converting a jpeg to png. What I mean is within a pipeline, once you have ingested a [png|webp|jpeg] and you need to now render it at various sizes or with various filters for $purposes. If you have a png, you know that you should always maintain losslessness. If you have a jpeg, you know you don't. You don't need to inspect the file or store additional metadata, the extension alone tells you what you need to know. But when you have a webp, the default assumption is that it's lossy but it can sometimes be otherwise.


Actually, if you already have loss, you should try as hard as possible to avoid further loss.


I don't disagree, in principle. But if I have a lossy 28MP jpeg, I'm not going to encode it as a lossless thumbnail (or other scaled-down version).


I tried jxl.js, it was very finicky on iPad, out of memory errors [0] and blurry images [1]. In the end I switched to a proxy server, that reencoded jxl images into png.

[0]: https://github.com/niutech/jxl.js/issues/6

[1]: https://github.com/niutech/jxl.js/issues/7


Both issues seem to have known workarounds that could have been integrated to support JXL on iOS properly earlier than by waiting on Apple (who integrated JXL in Safari 17 apparently), so if anything that's a success story for "provide polyfills to support features without relying on the browser vendor."


The blur issue is an easy fix, yes, but the memory one doesn't help that much.


A couple of videos comparing progressive decoding of jpeg, jxl and avif:

https://www.youtube.com/watch?v=UphN1_7nP8U

https://www.youtube.com/watch?v=inQxEBn831w

There's more on the same channel, generation loss ones are really interesting.


Awesome, thanks.


Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: