I'm still learning how to submit a patch or pull request to Guix to propose updated definitions of some packages... but---while I figure things out---here's a general guide on how to get new packages installed by defining package variants and rewriting package inputs. In short, the steps to do so are:
1. Get the sha256sum hash in the nix-base-32 format (either via `guix download` or `guix hash` of a repository)
2. Prepare the package variant Scheme file (see images; e.g. "package-variant.scm")
3. Run `guix build -f ./package-variant.scm` to build the new package in the store
4. (Optional, but recommended) Test that things work by running `git shell -f ./package-variant.scm`
5. Install the package by running `guix package -f ./package-variant.scm`
#guix #python #emacs #JupyterNotebook #ipython #sql #package #variants

Implemented a routine in #rtcirqus to allow for custom ordering of audio devices to be prioritised. Custom ordering can be done now by adding a comma separated list of device names as a value to the `prio_list` keyword in the rtcirqus configuration file.
#Programming #Python #LinuxAudio
Do I write #python and convert it to #uml or rather the other way around? 😄
#SoftwareEngineering #software #programming #coding
【ポケポケ】ダークライとギラティナが揃う確率求めてみた!
https://qiita.com/machapin/items/d7d39fb9564defdde71a?utm_campaign=popular_items&utm_medium=feed&utm_source=popular_items
When I wrote this #Python script, I took pride in making it compatible with #Unicode characters (all these years troubleshooting #rfc6532 related issues at scale were not in vain afterall). And yes, it is a #gundam #unicorn.
NB: the text says something like "my program is compatible with unicode" or "ce programme est compatible avec le standard unicode".
#UnicodeArt #generativeArt #programming #asciiart
Having to unlearn a lot of command line stuff here, as I switch to Linux. Years of Windows Terminal muscle memory.
Starting a project... go to use pip. Pip not installed. Oh wait yeah, I should create a virtual environment first... venv isn't installed.
This will be a fun learning curve.
By adding a HAT, you can easily control multiple motors with your Raspberry Pi. ⚙️
In particular, some "Motor Driver HATs" can simultaneously control both DC and servo motors, allowing you to build a complete robot drive system with just one HAT. 🤖💡
It's a great choice for electronics projects and homemade robots. ✨
The photo shows SunFounder's RobotHAT.
🔥 Top 6 Raspberry Pi eBooks for $20 V2
https://ebokify.com/top-6-Raspberry-pi-ebooks-v2
#RaspberryPi #Electronics #Python #RobotControl #MotorControl

Time to check for your #Python stack if you use #Guix
https://codeberg.org/guix/guix/issues/2816
By combining a Raspberry Pi with an H-bridge circuit, you can learn practically how to operate a DC motor with PWM control. ✨
The key point is that you can control the motor's rotation speed and direction by quickly switching the voltage on and off through the GPIO output.
This is a great way to experience the integration of hardware and software. 💡
🔥 Top 6 Raspberry Pi eBooks for $20 V2
https://ebokify.com/top-6-Raspberry-pi-ebooks-v2
#Python #RaspberryPi #Electronics #MotorControl #LearningProgramming

Någon som vill ha jobb? #python #remote
Plugins are at the heart of django-simple-deploy. The plugin generator is critical to the project, because it lets plugin authors focus on their platform and deployment approach, rather than focusing on django-simple-deploy internals.
Generated plugins now include all the infrastructure needed to quickly add custom CLI args, such as `--db`, `--num-cpus`, or anything else that would help your users make a robust deployment.
https://github.com/django-simple-deploy/dsd-plugin-generator
The more I learn #lua, the more I see it as bizarro-world, path-not-taken #python, for good and for ill