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

help-circle
  • 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.)




  • Doesn’t distrobox (and podman) come with SteamOS these days too?

    You wouldn’t be able to layer, but using distrobox-export from inside a distrobox container would let you export command line apps as well as graphical ones too. The graphical apps will even show up in your menu and can be pinned as well.

    (Of course, if something is available on Flathub already as a Flatpak, installing the app via Discover is easier and better. While Flathub has a lot of apps, it doesn’t have everything, so being able to pick and choose from any distribution using distrobox is nice for a very large selection of software.)


  • Riker catches an alien “virus” (from a plant) and lays down naked under a shiny blanket for the rest of the episode. Pulaski forces Riker to dream of the most boring and worst segments from season 1 and 2.

    Most shows have flashback episodes that feature highlights. TNG had a clip show that showcased the worst segments. It was the most lackluster finale episode of any Star Trek season. And this was even well after Riker “grew the beard”.


  • Merlin wasn’t available here when I checked at some point in time (last year?)

    whoBIRD does use BirtNET, from Cornell, so it’s basically the same backend (although it may be an older version).

    I recently tried out Merlin (which is now available here) and it’s amazing. It’s definitely more featureful than whoBIRD, although both have the core “recognize bird directly using your phone” features.

    For anyone OK with non-FOSS apps, Merlin is great. For anyone who wants a FOSS app for bird detection, whoBIRD is still pretty good.

    Either way, identifying apps using ones phone is nice. 👍 Big things to Cornell for making the ML for both of these apps.




  • Agreed.

    Additionally, the graphic oversimplifies things as well. The resulting genetically modified crop is often not even all that close close to the same as the non-GMO, as seen by studies such as this one:

    https://enveurope.springeropen.com/articles/10.1186/s12302-023-00715-6

    Basically; GMO soybeans contain proteins which differ and also include additional proteins. This can cause allergic reactions to modified soy where non-modified soy might not cause an issue.

    Monsanto supposedly even knew about these proteins and higher risk of allergic reaction and chose to not disclose it. (I saw some research that mentioned this years ago… It’d be hard to find the exact source I read back then.) This specific paper, which talks about additional proteins and side-effects brought in by the new transgenic splicing, also explicitly states that Monsanto did studies themselves and failed to report relevant findings:

    https://www.ncbi.nlm.nih.gov/pmc/articles/PMC5236067/

    Obviously, other methods can also change proteins too, but these papers show it isn’t as clear cut as the graphic in the original post claims.

    Along these lines, here’s a study that finds differences not just in soybeans grown organically versus ones treated by glyphosate (Monsanto Round-Up pesticide) but also between GMO and non-GMO crops, both treated by the pesticide.

    https://www.sciencedirect.com/science/article/pii/S0308814613019201

    But, yeah this is just a long way of agreeing with the parent post and saying that the end goal is to make the plants resistant to poison, not to make them better for humans, all to make more money. (In this case, Monsanto is even double-dipping by selling both the pesticide and the crops tailor-made for the pesticide.)

    Other GMO crops might be closer to the original crop and might also actually be beneficial for humans without drawbacks. However, Monsanto’s soybeans are problematic, and other crops might be as well, especially if they’re made by companies who have money as their primary goal.




  • FOSS apps (all on Flathub)

    Some of the AI related apps I’ve been using that are both Free Software and offline (where it runs on your computer without using network services in the cloud) are:

    • OCR: “Frog” can take screenshots, select images, accept drag and drop, and you can paste an image from the clipboard. It’ll read the text on the images and immediately have a text area with the result. https://flathub.org/apps/com.github.tenderowl.frog — it’s powered by Tesseract. Note: The completely optional text-to-speech that Frog has does use an online service. But the rest is offline.

    • Speech to text: “Speech Note” does text to speech, speech to text, and translations… all locally on your computer, and it supports GPU acceleration (which isn’t needed, but it makes it a little faster). https://flathub.org/apps/net.mkiol.SpeechNote — This is basically the all-in-one “Swiss army knife” of ML text processing. Thanks to being a Flatpak, you don’t have to do anything special for the dependencies. It’s all taken care of for you. It also has tons of different models (for different voices, different backends) all available from within the UI, which just needs a click for downloading.

    • Upscaling images: There are two that do something similar, using some of the same backends. A nice and simple one is “Upscaler”. https://flathub.org/apps/io.gitlab.theevilskeleton.Upscaler Another one that’s cross platform is “Upscaylhttps://flathub.org/apps/org.upscayl.Upscayl — these both use ESRGAN and Waifu2x in the background.

    • Closed captioning: “Live Captions” uses an ML model to transcribe text realtime. It’s wonderful for when a video doesn’t have subtitles, or when you’re participating in a video call (which might also not have CC). There’s also a toggle mode that will transcribe based on microphone input. The default is to use system audio. https://flathub.org/apps/net.sapples.LiveCaptions

    • Web page translations: Firefox, for the past few releases, has the ability to translate web pages completely local in-browser. It does need to download a small model file (a quantized one around 20 megabytes per language pair), but this happens automatically on first use. All you need to do is click the translate icon (when it’s auto-detected) or go to the menu and select “Translate page…”. Firefox is located in your distribution already (and is usually installed by default in most Linux distributions) and is available as an official package from Mozilla on Flathub as well. Newer versions keep improving on this, improving speed (it’s pretty quick already), improving accuracy, improving reliability (sometimes you have to try to translate a couple of times on some pages), and adding languages. But what’s there in the release of Firefox is already great.

    Chat and image generation (more advanced)

    While all the above are graphical apps and on Flathub (some may have distro packages too), there are some additional AI/ML things you can run on Linux as well:

    • Chat ML: “Ollama” (https://ollama.ai/) is a friendlier wrapper around llama.cpp and lets you run a variety of models (some FOSS, some just source-available-and-gratis, some not at all).

    You can run Ollama in a container to make it even easier. Even a Podman container on your user account works. (You don’t need to set it up as a system container.) The instructions for Docker work on Podman (just swap the docker command for podman instead).

    While the official instructions only list CPU (which is fine for some of the smaller models) and NVidia, it’s also possible to use an AMD GPU too:

    # Enable device as user (run once per boot)
    sudo setsebool container_use_devices=true
    
    # Set up the ollama server for AMD acceleration (run once per session)
    podman run --pull=always --replace --detach --device /dev/kfd --device /dev/dri --group-add video -v ollama:/root/.ollama -p 11434:11434 --name ollama ollama/ollama:0.1.22-rocm
    
    # Command-line interaction (run any time you want to use it — the last part is which model you want to use)
    podman exec -it ollama ollama run llama2
    

    llama2 is the default ML; there are so many others available. Mixtral is a good one if you have enough vram on your GPU. Whatever you specify, it will auto-download and set it up for you. You only need to wait the first time. (The ROCm version of takes a while to download. Each model varies. The good thing is, it’s all cached for subsequent uses.)

    If you want a web UI like ChatGPT, then you could also run this instead of the command line interaction command:

    podman run -d --replace -p 3000:8080 --add-host=host.docker.internal:host-gateway -v ollama-webui:/app/backend/data --name ollama-webui ghcr.io/ollama-webui/ollama-webui:main
    

    …and visit http://localhost:3000/

    When done, run podman stop ollama and podman stop ollama-webui to free up resources from your GPU.

    There are also integrations for text editors and IDEs, similar to GitHub’s CoPilot. Neovim has a few already. VS Code (or VS Codium) has some too (like twinny and privy).

    • Image generation: “Stable Diffusion” is the go-to here. There are a bunch of forks. Some of the better ones are:

    Krita, GIMP, and Blender all have plugins that can interface with some of these too (usually using a SD Automatic111 API).

    For Stable Diffusion on AMD, you need to have ROCm installed and might need to set or use an environment variable to make it work with your card. Something like: HSA_OVERRIDE_GFX_VERSION=11.0.0 or HSA_OVERRIDE_GFX_VERSION=10.3.0 (depending on your GPU). Prefixing means just putting that at the beginning of the the command with a space and then the rest of the command. Setting it as a variable depends on your shell. You might need to export it for some (like for bash). Prefixing it is fine though, especially when you use ctrl+r to do a substrang search in your shell history (so you don’t need to retype it or remember silly-long commands).

    As using these image generating apps pulls down a lot of Python libraries, I’d suggest considering setting up a separate user account instead of using your own, so the app doesn’t have access to your local files (like stuff in ~/.ssh/, ~/.local/, your documents, etc.). Setting up containers for these is not so easy (yet), sadly. Some people have done it. And they do run in a toolbox or distrobox podman container… but toolbox and distrobox containers don’t really contain so much, so you’re better off using podman (with a “docker” container) directly or running it as a separate account for some type of isolation from your user account files.

    Everything else above is at least contained (via containers or Flatpak) to some degree… but stuff locally via pip installs can do anything. And it’s not just hypothetical either, for example: PyTorch nightly was compromised for a few days on Christmas of 2022.

    There are some graphical apps on Flathub for connecting to Stable Diffusion and a ChatGPT AI (which ollama now has)… but in the course of setting them up, you basically have a web and/or text-based UI to interact with.



  • garrett@lemm.eetome_irl@lemmy.mlme_irl
    link
    fedilink
    arrow-up
    17
    arrow-down
    2
    ·
    9 months ago

    Literally almost all of my and my partner’s friends and coworkers who are in Europe (including Germany, UK, Finland, Czechia, Greece, and more) have been sick with COVID in the past couple months to (especially) right now — it’s very real in Europe still.

    People are all talking about COVID right now, in messages, emails, video calls, Mastodon, and more. (It’s usually to inform others that they’re sick and can’t work or meet up. But also complaining that doing basic stuff is difficult.)

    Europe is a large place, of course, but at least in a lot of it, COVID is sadly still going strong.



  • I basically gave up on podcasts on the desktop and only use AntennaPod on my phone. When I’m at my desktop, I have my phone paired with my computer via Bluetooth and play that way. I can pause it on my computer via KDE Connect (GSConnect on GNOME).

    Bluetooth audio from phone to desktop works on Fedora Linux quite well. It probably works on other Linux distros too. I’m guessing it might also work on other OSes like Windows and macOS.

    KDE Connect is available on Android, iOS, KDE (and can run on other desktops too), GNOME (via the GSConnect extension), Windows, and macOS.

    This solves the syncing problem by sidestepping the need for it. My podcast state is always correct and I always have my podcasts with me, even when out and about.



  • You can set up mount points on Linux, at least in GNOME, very easily. (It’s even fully automatic for external disks.) I’d be surprised if it isn’t as easy in KDE and other desktops too.

    The problem here (at least from what it sounds like) isn’t setting up mount points. The problem is fixing an incorrect fstab on the disk that’s causing the system to hang on boot.

    (This isn’t a typical situation, which is why I also asked about how the partition was added to the system.)


  • I saw a video the other day that compared F:NV via DirectX 9 and DXVK on Windows and how DXVK (and Vulkan underneath of course) does magic to make it so much better with frame pacing.

    https://youtu.be/tGF0tKPVbqY

    It’s funny how we get that by default on Linux, and Windows folks are trying out parts of Proton to improve their gaming experience in Windows in various games. 🤣

    What’s even funnier is that at least in the case of New Vegas, it’s actually even better on Linux, as it compiles and caches the Vulkan shaders, so we shouldn’t have any hiccups (once it’s cached), at least if you’re running it in Steam.