python

Back Open Paginator
21.09.2025 23:04
rolandog (@rolandog@todon.eu)

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





Show Original Post


21.09.2025 22:51
jeremy (@jeremy@mastodon.autostatic.net)

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




Show Original Post


21.09.2025 22:38
luyin (@luyin@lgbtqia.space)

Do I write #python and convert it to #uml or rather the other way around? 😄

#SoftwareEngineering #software #programming #coding




Show Original Post


21.09.2025 22:36
qiita (@qiita@rss-mstdn.studiofreesia.com)

【ポケポケ】ダークライとギラティナが揃う確率求めてみた!
qiita.com/machapin/items/d7d39

#qiita #Python #統計学 #確率 #ポケモン




Show Original Post


21.09.2025 22:18
silentexception (@silentexception@mastodon.social)

When I wrote this script, I took pride in making it compatible with characters (all these years troubleshooting related issues at scale were not in vain afterall). And yes, it is a .

NB: the text says something like "my program is compatible with unicode" or "ce programme est compatible avec le standard unicode".





Show Original Post


21.09.2025 22:01
tehstu (@tehstu@hachyderm.io)

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.

#linux #python




Show Original Post


21.09.2025 21:38
ebokify (@ebokify@mastodon.social)

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
ebokify.com/top-6-Raspberry-pi





Show Original Post


21.09.2025 21:37
sharlatan (@sharlatan@mastodon.social)

Time to check for your stack if you use

codeberg.org/guix/guix/issues/




Show Original Post


21.09.2025 21:36
ebokify (@ebokify@mastodon.social)

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
ebokify.com/top-6-Raspberry-pi





Show Original Post


21.09.2025 21:28
goldbrush (@goldbrush@toots.nu)

Någon som vill ha jobb? #python #remote




Show Original Post


21.09.2025 20:49
ehmatthes (@ehmatthes@fosstodon.org)

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.

#Python #Django

github.com/django-simple-deplo




Show Original Post


21.09.2025 20:46
phildini (@phildini@wandering.shop)

The more I learn #lua, the more I see it as bizarro-world, path-not-taken #python, for good and for ill




Show Original Post


1 ...1282 1283 1284 1285 1286 1287 1288 1289 1290 1291 1292 ...1555
UP