Yann Büchau :nixos: · @nobodyinperson
263 followers · 1126 posts · Server fosstodon.org

@pmidden Exactly, you need privileges to do privileged stuff in your containers, that's the design principle in .

#Apptainer

Last updated 2 years ago

Yann Büchau :nixos: · @nobodyinperson
264 followers · 1123 posts · Server fosstodon.org

However, a :nixos: for "quickly give me :docker: for a minute" is not possible, right?

In this case is a cool alternative: no root or daemon required to run software from containers.

#nixshell #docker #Apptainer

Last updated 2 years ago

Yann Büchau :python: · @nobodyinperson
229 followers · 975 posts · Server fosstodon.org

Update on me trying to use :nixos: on an old 32-bit :raspberrypi:

After days of compilation, it couldn't build neither (some lib nvidia container something failure) nor :gitAnnex: (GHC :haskell: doesn't build). 😕 So is not the magic bullet for everything?

How do I find out if there's an older version of nixpkgs where it does build on 32-bit arm?

#nix #raspbian #Apptainer #gitannex #haskell

Last updated 2 years ago

Yann Büchau :python: · @nobodyinperson
229 followers · 951 posts · Server fosstodon.org

@vsaw The building is okay now. I even managed to build on my phone! Problem is, you first need an up-to-date Go as you mentioned... But that should be available as pre-built binary for pretty much every platform.

#Apptainer #sailfishos

Last updated 2 years ago

Yann Büchau :python: · @nobodyinperson
222 followers · 918 posts · Server fosstodon.org

@iUseLinuxBtw Could make yourself an with that app. But sure, that's not ideal.

#archlinux #Apptainer

Last updated 2 years ago

Yann Büchau :python: · @nobodyinperson
219 followers · 909 posts · Server fosstodon.org

@christophmaier is great for collaborative *live* editing. It even has :vim: and :emacs: keybindings if desired.

However, the free or self-hosted Overleaf doesn't have git integration and it's a real pain to sync it with a local (offline&faster&reproducible) LaTeX environment (no bulk upload possible, only ZIP download at once, etc.). I haven't yet used for this yet, but a (huge, >2Gb, synced with ) , which works but is clunky.

#overleaf #texlatex #vim #emacs #nix #gitannex #Apptainer

Last updated 2 years ago

Yann Büchau :python: · @nobodyinperson
199 followers · 850 posts · Server fosstodon.org

Yesterday I submitted my first manuscript where I managed, synced and backup up all the data and files with :gitannex: and @datalad.

I use 's for across machines (data analysis and environments).

A very reassuring feeling being able to work on it anywhere and to know all files are securely backed up in a decentralized manner.

Also, reusing individual parts is possible. I'll use this workflow from now on 💪

#phdlife #gitannex #Apptainer #reproducibility #texlatex #DataLad #reproducibleresearch

Last updated 2 years ago

Yann Büchau :python: · @nobodyinperson
180 followers · 721 posts · Server fosstodon.org

@jchidley @alpinelinux Thanks, good to know. I'd work around the non-libc part by using for certain things.

#Apptainer

Last updated 2 years ago

Yann Büchau :python: · @nobodyinperson
177 followers · 709 posts · Server fosstodon.org

Anyone using @alpinelinux as server OS? plus sounds like a robust platform. Especially this diskless mode, e.g. for a :raspberrypi: to stop the SD card from failing (so frustrating 😣)

#alpine #Apptainer #raspberrypi

Last updated 2 years ago

pafurijaz · @pafurijaz
117 followers · 532 posts · Server mstdn.social
Yann Büchau :python: · @nobodyinperson
166 followers · 648 posts · Server fosstodon.org

Apparently there is no good STL viewer for (let alone ), let alone one that auto-refreshes when the file changes.

And @alpinelinux doesn't have :openscad: packaged for , so using alpine doesn't work either...

Leaves online STL viewers where you have to re-navigate to the STL when it changes. Meh, but it works.

Context: works perfectly on to do parametric 3D design. Just an STL viewer with auto-refresh is missing.

#foss #android #sailfishos #openscad #aarch64 #Apptainer #pythonsdf

Last updated 2 years ago

Yann Büchau :python: · @nobodyinperson
162 followers · 591 posts · Server fosstodon.org

@speaktrap @linmob @shreyan

Running software from other OSs on this way boils down to:

- build on phone (github.com/apptainer/apptainer)
- make an @alpinelinux container -
or another OS that does your phone's architecture (apptainer.org/docs/user/latest)
- install wanted software in container
- invoke software from container as I show above in the screenshot

#sailfishos #Apptainer

Last updated 2 years ago

Yann Büchau :python: · @nobodyinperson
162 followers · 591 posts · Server fosstodon.org

Well, that was surprisingly easy: @kde's dolphin file manager running in an @alpinelinux on :sailfishos: . Okular works fine as well!

Full touch, scroll, pinch-to-zoom support etc. Quite cool! No menu bars though, no rotation and popups are weird, but hey!

apps don't quite want for now, but I bet it's possible equally.

@linmob

#Apptainer #sailfishos #gtk

Last updated 2 years ago

Yann Büchau :python: · @nobodyinperson
159 followers · 585 posts · Server fosstodon.org

Well, that was surprisingly easy: @kde's dolphin file manager running in an @alpinelinux on :sailfishos:

apps don't quite want for now, but I bet it's possible equally simply.

@linmob

#Apptainer #sailfishos #gtk

Last updated 2 years ago

Yann Büchau :python: · @nobodyinperson
159 followers · 585 posts · Server fosstodon.org

@linmob Is there a simple wayland test app like xeyes? I don't really know how to test if graphical apps work from within an because I don't know any Wayland apps 😅

#Apptainer

Last updated 2 years ago

Yann Büchau :python: · @nobodyinperson
159 followers · 585 posts · Server fosstodon.org

@linmob Maybe one could also do something with . Works well on , though I didn't try graphical apps yet.

#Apptainer #sailfishos

Last updated 2 years ago

Yann Büchau :python: · @nobodyinperson
152 followers · 552 posts · Server fosstodon.org

It surely is annoying that :arch: ' makepkg can't be run as root 🙄 Especially in container environments like :docker: or you have to jump through hoops to build a PKGBUILD...

#archlinux #docker #Apptainer

Last updated 3 years ago

Yann Büchau :python: · @nobodyinperson
148 followers · 535 posts · Server fosstodon.org

If you're (like me) struggling to build latest git-annex from source, here's an recipe:

gitlab.com/nobodyinperson/git-

Being an Apptainer, the nice thing is that you can install the resulting image file into your $PATH and have git-annex work as usual.

@joeyh

#Apptainer #gitannex

Last updated 3 years ago

Yann Büchau :python: · @nobodyinperson
147 followers · 523 posts · Server fosstodon.org

@slott56 No. I just run `jupyter lab` in an and observe that sys.path always contains my $HOME's site-packages (except of course with `apptainer exec --no-home`, but that has other side-effects).

#Apptainer

Last updated 3 years ago

Yann Büchau :python: · @nobodyinperson
147 followers · 519 posts · Server fosstodon.org

Can you teach to *not* include the user's site-packages?

Interestingly, `python -I jupyter` doesn't work: Jupyter apparently populates its own sys.path. With PYTHONPATH and JUPYTER_PATH you can only add to sys.path.

Do you really have to manually manipulate sys.path at the beginning of every notebook?...

I'd very much like my host's to not pollute my conainer environment, but still have full access to my $HOME.

#juypter #Apptainer #python

Last updated 3 years ago