Looking at the command line, it seems to be using #Perl along with the Perl Data Language (PDL) (look at the ndarray in the screenshot).
PDL is an extremely performant (much more than any #python alternative) autothreading library
Shameless plug for my pages 👇
chrisarg.github.io/Killing-It-w...
The Quest for Performance Part...
The pyroute2 thing really makes me wonder about library design. As far as I can tell, the issue is that #Python automatically imports parent modules (so e.g. from pyroute2.iwutil import AsyncIW also imports pyroute2, probably makes sense), and then the pyroute2 __init__.py imports pretty much all the child modules (which is all too common in Python libraries, sadly). Which means I have no way to import only the small part I need. And changing that import structure would probably break backwards compatibility in pyroute2. Is lazy-importing Python modules a thing?
Is this #AGI ?
( #Python Code generated by #GPT5 )
async def get_api():
global api_obj
if api_obj is None:
with _api_init_lock:
if api_obj is still None: # still None?!
from api import API
api_obj = API("accounts.db")
return api_objJe viens de finaliser une commande qui permet de lancer une action à chaque fois qu'un fichier surveillé est touché (ouvert, modifié, fermé, etc.) par un processus.
Par exemple, elle permet de faire une copie avec un timestamp à chaque fois qu'un fichier est modifié, ou de faire un commit Git automatique à chaque fois que vous faites Ctrl-S.
Pratique, mais j'ai un doute sur le nom, vous préférez lequel ?
#sondage #freesoftware #cli #python #linux #watchdog
@bart Do you mean #GTK4 and #QT6 or do you mean the programming languages?
If you mean the first (QT6 & GTK4), then it depends what programming language you like (the bindings of GTK4 are better for many languages, QT6 is more bound to C++) or if you develop cross-platform (that's a strength of QT6, but GTK4 is also cross-platform).
If you mean the latter, #Python and #Rust are most popular (and least painful?) nowadays, but #Vala is also popular in combination with #GTK4.
I have always loved parametric cubic splines, and had a chunk of C/ C++ code I dragged around in the '90s which had implemented it.
Writing a graphical editor in #Qt / #PySide6, I was sad to only find Bezier splines - which are not nearly as intuitive for editing.
So with a little help from chatGPT, and big chunk of tweaking & testing, I have a gist for #HermiteSplines in #Python. Thank you to all those now anonymised people whose code was used in the training!
https://gist.github.com/ghillebrand/d059027fe6f142b5a11f928a23772b15
Pushed changes to Not1MM
Most importantly fixed an intermittent lockup or freeze if the rigctld daemon were to go away.
Many more. You can view the changelog here https://github.com/mbridak/not1mm/blob/master/CHANGELOG.md
#hamradio #IARU #HF #contest #python #linux #macOS
https://github.com/mbridak/not1mm
Mi primer CRUD con Python https://myblog.clonbg.es/mi-primer-crud-con-python/ #Programación #Python #PyQT https://clonbg.es

New course: Just Enough Python for Data Scientists!
This is a practical, code-first course that teaches the Python you actually need for data work, plus the engineering practices that make your work repeatable and sharable. It is not a survey of every Python feature or a whirlwind tour of ML. You’ll build and run real code, improve existing notebooks, and package useful utilities so teammates can uv pip install them. #python #datascience @mkennedy
https://training.talkpython.fm/courses/just-enough-python-for-data-scientists
@heikkiket I can't answer the question "why", but I can answer the question of what programming languages are most frequently used at the moment in combination with #GTK4:
1. #Python
2. #Rust
3. #Vala
4. #C
5. #C++ #Cplusplus
6. #Javascript #Typescript
See the post here with details:
https://mastodon.social/@GerryT/114839316664044691
Data source here:
https://github.com/valpackett/awesome-gtk
Python Tools and Scripts w/ UV CheatSheet: https://0xdf.gitlab.io/cheatsheets/uv
Bref je viens de me faire un énième accordeur de #guitare en #terminal en #python grâce à l' #IA (Si !)
Bein l'a fallu batailler un peu, mais ça marche au poil ! 👍
Edit : et même si la capture a été faite avec OBS-Studio , la transformation en gif avec ffmpeg, c'est aussi l' #IA !