• 0 Posts
  • 9 Comments
Joined 1 year ago
cake
Cake day: August 22nd, 2023

help-circle
  • podman-compose definitely got better over the past year…

    But you can also use docker-compose itself with podman instead!

    https://www.redhat.com/en/blog/podman-docker-compose

    Basically, for system level containers, you can do:

    sudo systemctl start podman.socket
    

    (or enable --now instead of start if you want it to stick around after rebooting)

    Then use docker-compose and it’ll communicate with podman instead of docker.

    For user session “rootless” containers, it’s mainly the same thing, except you’ll need to remove sudo and then add --user after start or enable in that systemctl command. And you’d need to set an environment variable (either prefixing it on the command or using export to set it in your session), like this:

    DOCKER_HOST=unix:///run/user/$UID/podman/podman
    

    (Put that in front of the docker-compose command and it’ll connect to podman as your user instead, provided the service is available. Or toss it into your .bashrc with "export " before it and new bash sessions would have it.)

    https://brandonrozek.com/blog/rootless-docker-compose-podman/

    The one big gotcha I’ve hit is that if you have SELinux on your system, you’ll want to add :z to your volume(s) mount to have it automatically deal with SELinux stuff. (Lowercase z for volumes that can be mounted for multiplayer containers and uppercase Z for volumes that are tied to a specific container.)

    But, I’ve found that using “quadlet” service files is much, much better than using podman-compose or docker-compose. There’s a program called “podlet” that can even convert compose files to service files (quadlet)… It can convert command line flags and kubes and other formats too.

    Quadlets are basically systems service files that integrate with podman, letting you easily set up a container as a system (or even user level) service, making managing a container just like managing any other service.

    Here’s the podlet command that’ll convert things to quadlets: https://github.com/containers/podlet


  • Peppers are the fruit of the plant. They’re what’s made after the flowers were pollinated and have seeds. They’re also sometimes sweet and not always so spicy.

    Of course, there’s the botanical definition and culinary definition and there’s some overlap. The most famous would be a tomato, which is also a fruit and a vegetable from different points of view.

    What’s mind-blowing to think about is that a pepper is not just a fruit but also technically a berry.

    In cooking, peppers are used as a fruit, a vegetable, and even a spice. (Depending on the pepper variety.) So, anyone classifying it as any of those things is right. 👍

    (Wikipedia mentions all this too.) https://en.m.wikipedia.org/wiki/Chili_pepper



  • Yep, ArcMenu (@ https://gitlab.com/arcmenu/ArcMenu which is the maintained one, last updated days ago instead of years ago) has a ton of different layouts which can mimic any version of Windows, and so much more.

    screenshot of ArcMenu layout settings, with the "modern" category expanded

    When using GNOME, use the “Extensions Manager” app (from Flathub) to search for “ArcMenu” and install it, then you can configure it there in the Extensions Manager app as well. In the ArcMenu configuration, go to layouts and select the modern group to see something like the screenshot above. (The previews are generic wireframe sketches; the result will look much more high fidelity.)




  • For what it’s worth, you are supposed to be able to access documents stored in OneDrive in Linux. (I haven’t tried it myself; I’m just aware of it.)

    Basically: Go to GNOME’s settings, then select online accounts, and sign into OneDrive.

    Here the same instructions with lots of details and screenshots: https://www.omgubuntu.co.uk/2024/04/set-up-onedrive-file-access-in-ubuntu (Nothing in that link is Ubuntu specific. This applies to other distros too, like Fedora, Debian, Arch, Mint, etc. — as long as you have GNOME 46.)

    Other desktops have to use various other options, but aren’t natively integrated: https://linuxstans.com/microsoft-onedrive-on-linux/


    Of course, once you have access to files like this, you’ll probably want to copy them locally and back them up yourself.

    (I suspect Microsoft was trying to make it so people don’t lose their files, ironically, by handling document storage themselves? It’s still absurd that they do this so aggressively.)

    My favorite backup software is Pika. It’s powered by Borg, has a friendly UI, and supports both local (including USB drives) and remote locations. https://flathub.org/apps/org.gnome.World.PikaBackup

    Deja Dup is also good and uses Duplicity behind the scenes. https://flathub.org/apps/org.gnome.DejaDup

    There are a ton of other backup solutions too, including Vorta (another UI for Borg) and a bunch of command line tools, like rclone, rsync, etc.


  • darktable, hands down. It has a learning curve, but it’s a pro app and app pro apps have learning curves.

    The linear pipeline is great, masking is superb, and the app keeps getting better every release.

    The one downside is that darktable is not opinionated by default (so raw files look a little flat to begin with, without doing anything), but it’s customizable that you can even change that with auto applied presets. On the other hand, it does let you do what you want to do with an image, versus fighting with defaults (which is what it’s like to edit something in Lightroom, if you want to diverge from what it suggests by default).

    There are a bunch of great tutorials on YouTube and you’ll want to check out https://discuss.pixls.us/ too. Create an account on the Pixls forum, read some threads, try out some “play raws” (where people post their raw files under a CC license and then lots of people try their own take at editing it and post their edit).

    Rico Resolves has a half hour getting started video for darktable 4.6 at https://youtu.be/ucjAmTMIEOI

    Anything from Bruce Williams https://youtube.com/@audio2u and Boris Hajdukovic https://youtube.com/@s7habo are both great too, and more people are posting darktable videos all the time as well.

    The documentation for darktable is actually very good as well. Do not skip it. You don’t have to read it all, but try reading the intro parts and going back to it when you want some reference on how a part of darktable works. https://docs.darktable.org/usermanual/4.6/en/

    Some tips:

    • You can right click on sliders to get a special UI and you can also enter numbers (often even outside the bounds of what the slider would normally permit).

    • Modules will be applied in the best order regardless of which one you work on first.

    • There are some somewhat redundant modules, as darktable did start out as a “display referred” workflow (just like most all of the other raw editors everywhere) and moved to a “scene referred” (aka “linear rgb”) workflow, which provides better editing, improved color handling, vastly better tone mapping, and so on. If there are two similar modules, try to go with the version that has “RGB” in its title. Older modules still exist mainly for older edits. (You can also change darktable back to the old display referred workflow in the settinfs, but I strongly suggest to not do this. Scene referred is much better.)

    I used to shoot film and do darkroom stuff years ago. I’ve used Aperture on OS X. I used Lightroom on OS X and then on Windows. A few years ago, I switched to darktable on Linux… and darktable has gotten so, so much better each release. When I switched years ago, it was more or less a Lightroom competitor (with some advantages and disadvantages). But darktable is really amazing software now, and can give you much better results than Lightroom, when you know how to use it.