nobodyinperson, to random
@nobodyinperson@fosstodon.org avatar
nobodyinperson, to python
@nobodyinperson@fosstodon.org avatar

I have been struggling hard doing proper :python: development on :nixos: .

pip install'ed binary packages (numpy et. al) don't work (i.e. don't find system libraries like libz libstdc++ etc.), making scientific data analysis completely impossible. The workarounds (using the nixpkgs versions or setting LD_LIBRARY_PATH) are not viable.

With this flake template (the clue is preferWheels=true) it seems I can finally work properly:

https://gitlab.com/nobodyinperson/flakes/-/tree/main/poetry2nix

nobodyinperson,
@nobodyinperson@fosstodon.org avatar

@dedsyn4ps3 @publicvoit I hear many people use this thing. I really avoid containers where possible, although I like 's simplicity. My main use case is , for which you need to store the entire container image for every little change you make. But yeah, use cases...

nobodyinperson, to vim
@nobodyinperson@fosstodon.org avatar

Idea: bundling your cli $EDITOR (:vim: :emacs: whatever) into a one-file static binary ( whatever) that you can take with you and will work everywhere, with all plugins and configs already set up. Alternatively as a :nixos: of course, though that's not so easily portable to systems where you don't have root access and the admins don't want to install

kylewritescode, to fediverse
@kylewritescode@allthingstech.social avatar

Good morning and happy Tuesday .

Let’s kick off our day with our chat to see what’s on everyone’s agenda for today.

I just got to the office so I’ll be checking to see what all happened over the night with our Managed Services clients. Then it’s just the regular work stuff. Have a certification class today and tomorrow at 10.

After work it’s just relaxing and catching up on shows.

JensHannemann,
@JensHannemann@mastodon.online avatar

@kylewritescode Good morning Kyle.

I already had a productive morning. I finally figured out how to let my hybrid container for our NASA code talk to 's cluster’s InfiniBand backend. Now the code scales beautifully. Next up, getting it to run on our collaborators’ cluster at .

I think I’ll have my coffee now.

nobodyinperson, to RaspberryPi
@nobodyinperson@fosstodon.org avatar

Running 's with old 32-bit gets more and more painful... I thought could help getting something like an up-to-date Python (I previously compiled it myself, but then after hours some _sqlite module wasn't there so screw it...), but apparently even needs to build everything from scratch as the cache doesn't really contain built armv7l packages 😅 Let's see how this goes...

nobodyinperson,
@nobodyinperson@fosstodon.org avatar

@vsaw Yeah... ⋅s can also help, but you obviously need to install it first, going through all that build process...

nobodyinperson,
@nobodyinperson@fosstodon.org avatar

@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.

nobodyinperson, to NixOS
@nobodyinperson@fosstodon.org avatar

Heh, I really like the principle of using :nixos: nix-shell as a shebang on non- platforms. This script just launches (the bibliography editor). Helpful in a synced :gitannex: repo with multiple participants across different OSs.

In this case, the environment and programs (e.g. PDF viewer) installed in the OS stay accessible - a great advantage in comparison to container solutions like 's for example.

https://nixos.wiki/wiki/Nix-shell_shebang

  • All
  • Subscribed
  • Moderated
  • Favorites
  • JUstTest
  • rosin
  • thenastyranch
  • ethstaker
  • DreamBathrooms
  • osvaldo12
  • magazineikmin
  • tacticalgear
  • Youngstown
  • everett
  • mdbf
  • slotface
  • ngwrru68w68
  • kavyap
  • provamag3
  • Durango
  • InstantRegret
  • GTA5RPClips
  • tester
  • cubers
  • cisconetworking
  • normalnudes
  • khanakhh
  • modclub
  • anitta
  • Leos
  • megavids
  • lostlight
  • All magazines