• 7 Posts
  • 109 Comments
Joined 2 years ago
cake
Cake day: June 11th, 2023

help-circle

  • Glad you’re so appreciative and worked through it! I gladly share, discuss, and respond.

    I’ll have to read up on palette filters. :) I do semi-regularly use ffmpeg, but palette filters are not something I have heard or used before.

    I assume in this case it’s a downsampling into fewer colors, evading the issues of almost-same-colors?

    Especially given the last square/check pattern makes me thing of codecs splitting into square blocks and then encoding those. It could make sense that this division leads to different results for one reason or another, which then produces a check pattern without it being there before.






  • The screenshot is from my desktop with wide enough screen on Lemmy web (programming.dev).

    The issue is one of scaling.

    When I open the image without being resized into the website layout, it has the following visual pattern:

    When I zoom out to 50% it looks (almost?) fine

    Did you scale the source with ffmpeg? Do you have a visual pattern in your console background? The simplest solution would be to have a solid color as background. The second best to render a small enough size that it does not get resized in the browser.

    At 1920x1038, it’s very big right now. I’m surprised the font is big enough to be readable. I assume you scaled it up or have a high dpi display resulting in this.



  • I also want locally deleted files to be deleted on the server.

    Sometimes I even move files around (I believe in directory structure) and again, git deals with this perfectly. If it weren’t for the lossless-to-lossy caveat.

    It would be perfect if my script could recognize that just like git does, instead of deleting and reuploading the same file to a different location.

    If you were to use Git, deleted files get deleted in the working copy, but not in history. It’s still there, taking up disk space, although no transmission.

    I’d look at existing backup and file sync solutions. They may have what you want.

    For an implementation, I would work with an index. If you store paths + file size + content checksum you can match files under different paths. If you compare local index and remote you could identify file moves and do the move on the remote site too.



  • It doesn’t open with a summary or overview but dives right in to exploration, but I think the point comes across:

    The copy and paste key codes, which have no physical keys anymore, are - to a degree - supported in software. Their claim is that those key codes are the tool for universal copy and paste, and then it’s the input interpretations job (key and combination mapping) to offer bindings to those key codes.

    GTK added support the copy and paste keyboards in January 2025. QT also added support for copy and paste key codes the same month. I’m not sure of the first released version of the GTK toolkit that will contain the fix. For QT, it will be QT 6.10, scheduled for release in September 2025. Together, this will cover many apps built for Gnome and KDE as well as others that use the same toolkits.

    … followed by some more “current state of support for those key codes”.











  • I love Nushell in Windows Terminal with Starship as an evolution and a leap of shell. Structured data, native format transformations, strong querying capabilities, expressive state information.

    I was surprised that the linked article went an entirely different direction. It seems mainly driven by mouse interactions, but I think it has interesting suggestions or ideas even if you disregard mouse control or make it optional.