python

Back Open Paginator
12.11.2025 20:56
driscollis (@driscollis@mastodon.social)

power using the built-in `pow()` method

pow(base, exponent)





Show Original Post


12.11.2025 20:48
laravista (@laravista@mastodon.uno)

🔍️ / #software / #python / #NodeJS

Why we migrated from Python to Node.js

We just did something crazy: we completely rewrote our backend from Python to Node just one week after our launch. We did this so we can scale. Yes, scale. A week in. In some ways, it's a good time right? The codebase is still small and we don't have too many users.

🐱🔗 laravista.altervista.org/CatLi

#catlink #softwarepython #softwarepythonNodeJS




Show Original Post


12.11.2025 20:47
henryiii (@henryiii@fosstodon.org)

cibuildwheel 3.3 out! Fix for docker 29 changing the capitalization of the version output, but also runner customization (for iOS on GHA macos-15), manylinux_2_35 on armv7l, build[uv] support on Android, removed build-system constraints, and more! github.com/pypa/cibuildwheel/r #python #releases




Show Original Post


12.11.2025 20:32
mahryekuh (@mahryekuh@hachyderm.io)

Who are the Hetzner + Coolify folks here? I've been hearing positive things about this combination.

Asking because I want to consolidate hosting for at least two (static) websites and one Django website; preferably auto-deployed from Codeberg. Located in the GDPR area is a must.

One kicker: I am not an infra person. I can navigate Docker well enough to meet my needs, but server management is not my strong suit.

Would love to hear your experiences!

#Python #Coolify #Hetzner




Show Original Post


12.11.2025 20:29
u (@u@honk.any-key.press)

yandex-music-downloader, но уже на #python

Как сохранить токен доступа описано тут (я просто сохранил весь трафик в har-файл, а затем grep'нул из него строку с access_token=)




Show Original Post


12.11.2025 20:19
GripNews (@GripNews@mastodon.social)

🌗 非同步與終結器造成的死結
➤ 揭示非同步程式碼與物件生命週期管理中的潛藏死結
tratt.net/laurie/blog/2025/asy
本文探討了在非同步程式設計和物件終結器(finaliser)執行時可能遇到的死結問題。作者透過一個簡化的 Python 範例,說明瞭當物件的終結器嘗試取得已被主執行緒佔用的鎖(mutex)時,會引發死結。這種問題的根源在於,終結器可能在程式執行的任意非同步點被呼叫,且其執行時機難以預測,尤其是在採用自動記憶體管理的語言中。文章回顧了此問題的歷史,並引用了 Hans Boehm 的經典論文,強調了終結器需要存取共享狀態而常需使用鎖。最後,作者指出,解決此問題的根本之道是讓垃圾回收器從獨立的執行緒中執行終結器,以避免與主執行緒的鎖競爭。
+ 這篇解釋得很清楚,我過去在處理類似的底層問題時也曾遇到類似的困境,幸好作者用 Python 舉例,讓我這個非 Rust 專家也能理解。
+ 原來終結器




Show Original Post


12.11.2025 20:06
adamsteer (@adamsteer@mapstodon.space)

All the people in my feed loudly complaining about people using Jupyter notebooks, I'm curious:

What's your proposed fix / replacement for doing a document which has words and runnable code snippets?

How are you proposing to do better?

...that isn't "use different coding language" or "just these seventeen steps to cloud deploy the discombobulator"

If there's something, I'm sure people would love to know!

#python #JupyterNotebooks




Show Original Post


12.11.2025 20:01
meteoblois (@meteoblois@mastodon.social)

Je viens de publier le code source de PIFOCast, mon projet de modèle météo basé sur de l' . Ce projet est développé en avec la librairie Tensorflow GNN.

github.com/ngasnier/PIFOCast





Show Original Post


12.11.2025 19:44
AAKL (@AAKL@infosec.exchange)

"Google has ceded the training of AI models to Python, rather than continuing to try and push a JavaScript solution for that. The company seems to have made the bet that inference — the process of making a decision or a prediction based on an AI model — is something that can be done more effectively in the browser, which means it’s ripe for JavaScript."

The New Stack: How Google Is Shifting AI From the Cloud to Your Browser thenewstack.io/how-google-is-s @TheNewStack #Google #NoAI #JavaScript #LLM #Python




Show Original Post


12.11.2025 19:44
jezdez (@jezdez@publicidentity.net)

Ihr habt uns allen schon sehr gezeigt, dass euch die Aufgaben der @ThePSF wichtig sind und habt fleißig gespendet. Vielen Dank dafür von mir!

Aber wir sind noch nicht am Ziel!

Dafür haben wir heute unsere Jahres-Spendenaktion auf donate.python.org/de/ gestartet und uns ein ehrgeiziges Ziel von 314.159,26 $ bis zum Ende des Jahres gesteckt.

Erzählt es euren Freund:innen, Kolleg:innen (und der Firmenleitung)! 💛💙

#PythonForEveryone #PythonFürAlle #python #psf fosstodon.org/@ThePSF/11553780




Show Original Post


12.11.2025 19:31
rnb (@rnb@framapiaf.org)

[Projet] Plugin #Zim pour masquer la barre de menus.

Version 1.1.0 :

* fix: typo dans le libellé du menu
* add: Bouton dans les fenêtres flottantes.
* add: Stockage de l'état d'affichage du menu (uistate).

* Site web: omacronides.com/projets/zim-pl
* Sources: framagit.org/rui.nibau/zim-plu

#code #python #plugin




Show Original Post


12.11.2025 19:04
bruvduroiu (@bruvduroiu@mastodon.social)

Think I’m gonna stop using AI coding agents for a bit. I feel lobotomised by them. I can’t even remember how to handle lifespans of services that live on the Python asyncio event loop anymore.

I don’t think being able to get over the programming writers’ block is worth the trade off




Show Original Post


1 ...997 998 999 1000 1001 1002 1003 1004 1005 1006 1007 ...1567
UP