- 8 Posts
- 57 Comments
moonpiedumplings@programming.devto Linux@lemmy.world•Soar: A fast, modern package manager for Static Binaries, Portable Formats (AppImage) & MoreEnglish1·2 months agoThere’s only one project that provides truly static/relocatable python that work on both glibc/musl: https://github.com/leleliu008/python-distribution
There is the python provided by APE/cosmo. They also have two other distributions containing various goodies, pypack1, and pypack2. https://cosmo.zip/pub/cosmos/bin/
But this came at the cost of discontinuing support for Android & Windows
I don’t care about android support, but for the competition, and I don’t really know about Windows support. Right now, RDP is used to authenticate and managed the machines, but maybe a portable VNC we can quickly spin up, so more than one person can be on the same machine, would be useful.
My original thought was to replace in place, insecure services with secure one’s via something like docker containers or nix. But I think many of the machines have too little ram bundled libraries for the services to be viable. I actually tested replacing apache, but it simply wouldn’t launch (I think the machine only had 2 GB of ram?).
moonpiedumplings@programming.devto Linux@lemmy.world•Soar: A fast, modern package manager for Static Binaries, Portable Formats (AppImage) & MoreEnglish9·2 months agoI have been using your stuff since they were called toolpacks.
https://moonpiedumplings.github.io/playground/ape-experiments/
Welcome to Lemmy, Azathothas. It’s nice to see more and more usernames I recognize show up here.
moonpiedumplings@programming.devto Linux@lemmy.ml•Understanding AppArmor User Namespace Restriction5·4 months agoI despise the way Canonical pretends discourse forum posts by their team members* are documentation.
I’ve noticed they have been a bit better lately, and have migrated much of the posts to their documentation, but it seems they are doing it again.
As this is developed, we will update this post to link to the new documentation and feature release notes.
Pro tip: You could have just made the documentation directly, with the content of this post. Or maybe a blog post. But please stop with the forum posts. They are very confusing for people not used to these… unique locations.
*Not that people are easily able to find this out when they don’t give any indication that the forum post is something other than just another post by a rando. Actually, I’m just guessing here, based on the quoted reply, for all I know this could be a post by someone unrelated to Canonical. The account is 3 months, and the post itself is identical to a regular forum post from a regular forum member…
moonpiedumplings@programming.devto Linux@lemmy.ml•Plug-and-play development environmentEnglish3·5 months agoHere’s my commentary on the options you listed in the image:
Anaconda: They changed the licensing so that it’s not really fully FOSS, as the repos have restrictions on them. There are also other issues like this dark pattern of a download page.
But, forgetting about the licensing or problematic company practices: The software itself is trash. Worst thing I’ve ever used. It’s sooooo slow to install packages when it’s doing the “solver” thing. You can use something faster like mamba or miniconda, but then you still have to deal with package availability being poor, as the anaconda repos don’t have everything, and much of what they have is often too old.
Docker desktop: It’s proprietary. I mean you can use it, but you seem to be interested in open source stuff. Also see caveats to podman desktop below.
Podman Desktop: Technically this will work. But podman desktop is really designed more for development of containerized applications, rather than developing in containers.
Nix: Nix doesn’t work on Windows, so you would have to require WSL or something like that.
Fedora VM: I recommend enlightenment as a desktop environment. Very small, but also modern and clean looking. You’ll have to configure it to be a bit more similar to windows, but it’s a lot more intuitive to use than i3.
There are some other caveats to your environment. “The right .Net Sdks version” — however, the best extensions for C# development are proprietary and cannot be freely used in the fully FOSS versions of vscode.
it also requires users to learn i3wm and possibly use the command line, which may not be ideal for everyone.
Yeah, don’t do this. I agree with @utopiah@lemmy.ml, work with them, rather than forcing them to work with you. Collaboration goes both ways.
Another recommendation I have is to just see how people in a similar circumstance do what you do. There are plenty of people who do software and game development on twitch, and you can just go on their streams and ask how they collaborate. One method I saw is using trello, a task management software, and artists would upload models there as deliverables. They already have their own workflow, which they probably work efficiently with. And it’s not really the job of an artist to integrate models and art into the game, that’s the programmers job.
moonpiedumplings@programming.devto Linux@lemmy.ml•Linux is now an RPG. What do you have? (totally not r/outside)English1·5 months agonoo I was wrong, I was actually referring to this: https://web.mit.edu/mprat/Public/web/Terminus/Web/main.html
moonpiedumplings@programming.devto Linux@lemmy.world•MySecureShell: Still/Ever a sound solution?English2·7 months agoFirstly, you may also be interested in: https://containerssh.io/v0.5/
This is a similar software, but maintained. However, it doesn’t look like you limit networking with the Docker backend, beyond a simple on/off.
An even simpler solution, is to have the the ssh entry command not be the usual shell command (
/bin/bash
), but rather a command that starts a shell within a container. So something like:podman run -it --rm -v "-v /HOST-DIR:/CONTAINER-DIR" docker.io/library/debian:bookworm bash
would create a shell inside a short lived debian container (that is deleted upon disconnect) where a host directory is mounted inside the container.As for mysecureshell, I would assume that since it is in the Ubuntu repos, it is still being maintained. But it’s possible, since it is unmaintained that there are unknown security vulnerabilities or other issues, but:
It’ll just be for half a dozen friends for when I want to give them larger files, or if I want them to send me full-resolution photos.
If it’s just for your friends, it may be okay to use a less secure solution if you trust them.
As an alternate solution: since you are looking for some sort of file searching, perhaps you could host an app explicitly designed for that, like Seafile or Nextcloud.
moonpiedumplings@programming.devto Linux@lemmy.ml•Linux is now an RPG. What do you have? (totally not r/outside)English3·8 months agoThis is a linux terminal tutorial, but in the style of a text based rpg.
moonpiedumplings@programming.devto Linux@lemmy.world•Does anyone else use the bookmarks bar as a to-do list?English2·8 months agoYeah.
I also occasionally use bookmarks bar as session save/restore, since firefox can open all bookmarks in a folder if you right click on it.
Firefox bookmarks are extremely versatile and underrated.
moonpiedumplings@programming.devto Linux@lemmy.ml•Backup solution for docker volumesEnglish2·8 months agoI made an ansible role for this:
https://github.com/CSUN-CCDC/ccdc-2024/tree/main/linux/ansible/roles/docker
It was designed for a cybersecurity competition, and can back up containers and volumes. The volume back up works by creating another container and then mounting the volume to that container, and within that container a simple tar backup is ran.
moonpiedumplings@programming.devto Linux@lemmy.ml•NixOS: How does daily driving fare for time-strapped users?English3·9 months agoWish I could transcend into declarativity but the thread’s nix survivor ratio is grim
Yeah lol.
I will say, that for my server, I decided to use kubernetes + fluxcd for declaratively. My entire kubernetes “state” is declared in a git repo, and this is the popular, industry standard for things like this, called GitOps. It makes it very easy to add an app, since it’s just adding a folder + some new config files. And unlike Nix, Kubernetes and Flux are very well documented with much tooling as well. Nix doesn’t really have a working LSP or good code autocomplete, but with kubernetes, I can just start typing in a yaml file and then hit tab and it spits out the template for me. Code autocompletion with kubernetes feels much more similar to the tooling of other, more mature tooling
It’s not as declarative as nix though. There are things missing, like OCI containers could theoretically shift if you don’t rely on hashes and some other nitpicks. But declarativity is a spectrum, and I feel like, outside of scientific scenarios (think simulations where versioning, hardware, runtime etc being the same is very important), I think many non-nixos solutions are declarative enough.
moonpiedumplings@programming.devto Linux@lemmy.ml•NixOS: How does daily driving fare for time-strapped users?English3·9 months agoSo, I use Arch, but I don’t use the AUR at all. Instead, I use nixpkgs to get stuff (admittedly only like 3 packages) not in the Arch repos.
The main reason for this is the quality of AUR packages. Although I don’t really fear a malicious package, I do remember hearing about a package that moved a users /bin to /opt during the install phase.
Something like that is literally impossible with Nix, due to the way that applications aren’t really installed to the system. But, nixpkgs also requires some level of vetting the package quality, which is also nice.
I also use nix for managing all my development environments. For example, my blog github repo, has a few nix files at it’s root, and you should just be able to type
nix-shell
in folder, and then you will get an identical environment to me.declarative rollbackable immutability sounds really freakin’ AWESOME
I have BTRFS snapshots set up, and with grub-btrfs, I can even boot from them and revert to an older kernel (my /boot is stored on BTRFS).
However, I have given up on NixOS, for many reasons. The documentation is very poor, and it’s more complexity than it’s worth, to make my whole OS reproducible, rather than just my development environments. In addition to that, their are also issues with running certain apps that expect to see a normal FIlesystem Hierarchy, which nix does not provide. Although you can work around this with stuff like
steam-run
or creating a fake FHS using nix, I would rather not play that game.But, considering I installed some stuff in an Ubuntu 22 distrobox recently, because that was what VScode and Unity official provide repos for, maybe this doesn’t really matter. You can probably use distrobox on Nixos, but I’ve seen issues about GPU acceleration with distrobox (and other non-nix apps) as well.
EDIT: I lied, I use the chaotic aur for some things.
moonpiedumplings@programming.devto Linux@lemmy.ml•VMware Workstation Shifting From Proprietary Code To Using Upstream KVM4·9 months agoI honestly don’t know how this could turn out.
It could be an amazing change that results in much more progress for hardware acceleration on guests of various types (since that is what vmware is good at) in kvm…
Or it could mean that they are dropping that feature from vmware altogether.
Regardless, I like this change because it means I would be able to run vmware machines and libvirt kvm machines at the same time, at least when I am forced to use vmware workstation.
I also dislike proprietary software in general, so I think less proprietary software and more FOSS is a good thing.
moonpiedumplings@programming.devto Linux@lemmy.ml•VMware Workstation Shifting From Proprietary Code To Using Upstream KVM3·9 months agoI found this: https://github.com/tenclass/mvisor-win-vgpu-driver
But it is for another foss kvm based hypervisor called mvisor.
Not infinite ram. I’d say double ram, plus there is a noticable, but quick delay when switching to an application that was compressed by ram. But it’s much, much faster than switching to an app that was swapped to disk.
Cachyos (arch based distro) does this hy default.
moonpiedumplings@programming.devto Linux@lemmy.ml•I'm confused trying to get SCALE to work2·10 months agoSo I don’t know how much you know about the shell, but the way that the linux command line works is that there are a set of variables, called environment variables, which dictate so me behavior of the shell. For example, $PATH variable, refers to what directories to search through, when you try to execute a program in your shell.
The documentation you linked, wants you to create a custom shell variable, called SCALE_PATH, consisting of a folder path, which contains the compiled binaries/programs of scale you want to run.
This command:
export PATH="${SCALE_PATH}/bin:$PATH"
temporarily edits your PATH variable to add that folder with the scale programs you want to run to your path, enabling you to execute them from your shell.
Not quite a scripting language, but I highly recommend you check out cosmo for your usecase. Cosmopolitan, and/or Actually Portable Executable (APE for short) is a project to compile a single binary in such a way that is is extremely portable, and that single binary can be copied across multiple operating systems and it will still just run. It supports, windows, linux, mac, and a few BSD’s.
https://cosmo.zip/pub/cosmos/bin/ — this is where you can download precompiled binaries of certain things using cosmo.
From my testing, the APE version of python works great, and is only 34 megabytes, + 12 kilobytes for the ape elf interpreter.
In addition to python, cosmopolitan also has precompiled binaries of:
And a few more, like tclsh, zsh, dash or emacs (53 MB), which I’m pretty sure can be used as an emacs lisp intepreter.
And it should be noted these may require the ape elf interpeter, which is 12 kilobytes, or the ape assimilate program, which is 476 kilobytes.
EDIT: It also looks like there is an APE version of perl, and the full executable is 24 MB.
EDIT again: I found even more APE/cosmo binaries:
You might be able to run the latest KDE or gnome in a distrobox podman or docker container:
https://github.com/89luca89/distrobox/blob/main/docs/posts/run_latest_gnome_kde_on_distrobox.md
moonpiedumplings@programming.devto Linux@lemmy.ml•Elevate Your KDE Plasma Experience With These 15 Essential Widgets2·1 year agoI want to like Plasma, really I do, but even when I haven’t chosen it as a DE it overheats my laptop because Baloo File Extractor just won’t fucking quit consuming a CPU core for what seems like hours a day.
I remember having this issue. Basically, it was a bug, where baloo file manager was stuck on a file. After some time (and maybe a reinstall?), and deleting the index, baloo worked fine.
moonpiedumplings@programming.devto Linux@lemmy.ml•Games on Whales - Stream multiple desktops and games from a single host2·1 year agoThis reminds me of kasmweb, but fully open source.
I find this comparison unfair becuase k3s is a much more batteries included distro than the others, coming with an ingress controller (traefik) and a few other services not in talos or k0s.
But I do think Talos will end up the lighest overall because Talos is not just a k8s distro, but also a extremely stripped down linux distro. They don’t use systemd to start k8s, they have their own tiny init system.
It should be noted that Sidero Labs is the creator of Talos Linux, which another commenter pointed out.