python

Back Open Paginator
06.11.2025 21:11
diazona (@diazona@techhub.social)

@chakie Hmm, well it is technically possible to run #Python code in a browser but it's very new tech, I imagine it'd be difficult to work with and you probably wouldn't have access to libraries and frameworks on the level of what exists in Javascript. You could try though!




Show Original Post


06.11.2025 21:05
chakie (@chakie@toot.community)

I wonder if there’s something that would allow me to make a website with some amount of interactivity without touching anything related to Javascript (or Typescript) or NPM? Preferably Python as I could leverage existing code that way. Or is the web doomed to be a JS swamp of mediocrity?

#web #notjs #python




Show Original Post


06.11.2025 21:05
jobsfordevelopers (@jobsfordevelopers@mastodon.world)

Robinhood is hiring Software Developer, Cloud Networking

🔧 #cplusplus #golang #python #grpc #aws #kubernetes
🌎 Toronto, Canada
⏰ Full-time
🏢 Robinhood

Job details jobsfordevelopers.com/jobs/sof
#jobalert #jobsearch #hiring




Show Original Post


06.11.2025 20:52
habr (@habr@zhub.link)

Как не положить API: rate limiting в Python

История о том, как я случайно устроил DDoS на внутренний API, обрабатывая 10 миллионов векторов. И как asyncio.Semaphore меня спас.

habr.com/ru/articles/963880/

#python #asyncio #semaphore #ratelimiting #performance




Show Original Post


06.11.2025 19:55
vinceknight (@vinceknight@fosstodon.org)

I've released Nashpy v0.0.43 which includes numerical simulation of introspection dynamics: nashpy.readthedocs.io/en/stabl

My PhD student Harry and I have been talking about introspection dynamics a lot after seeing Christian Hilbe's LEG Seminar <thelegproject.wordpress.com/le>. It's a really neat idea (co-authors on the 2022 original paper went on to define it for multiplayer games but in Nashpy it's just 2 player games).

#gametheory #learning #python




Show Original Post


06.11.2025 19:42
danyeaw (@danyeaw@fosstodon.org)

Michigan Python is meeting tonight at 7pm ET: meetu.ps/e/P6Hc2/t4QC5/i #Python




Show Original Post


06.11.2025 19:15
hn50 (@hn50@social.lansky.name)

How often does Python allocate?

Link: zackoverflow.dev/writing/how-o
Discussion: news.ycombinator.com/item?id=4

#python




Show Original Post


06.11.2025 18:57
mahryekuh (@mahryekuh@hachyderm.io)

Extra background info courtesy of @jscholes:

> “The wider issue is that many Python programs are written with no explicit `encoding` argument in `open` calls, implicitly expecting UTF-8 because that's often the default on Unix systems. But it usually is not the default on Windows.”

> “As I understand it, that's set to change in Python 3.15:”

peps.python.org/pep-0686/

#Python




Show Original Post


06.11.2025 18:21
GripNews (@GripNews@mastodon.social)

🌗 Python 的配置頻率有多高?
➤ 揭開 CPython 整數配置的神祕面紗
zackoverflow.dev/writing/how-o
本文深入探討了 Python(特別是 CPython)在處理整數時的記憶體配置行為。作者透過修改 CPython 原始碼並進行實際測試,揭示了即使是基本的整數運算,也可能頻繁觸發堆積配置。文章進一步分析了 CPython 在處理不同大小整數時的優化策略,包括使用預先分配的小整數列表、透過重用內存池中的對象來減少配置,以及 print 函數在轉換整數時意外觸發配置的問題。最後,探討了 CPython 的 pymalloc 配置器如何透過使用池化和固定大小的塊來優化配置效率,減少碎片,並加快操作速度。
+ 這篇文章太棒了!我一直以為 Python 的整數是直接存在變數裡的,沒想到背後有這麼多細節。
+ 修改 CPython 來測試真是個硬核的方法!理解這些底層的配置機制,對於優化 Python 程式碼非常有幫助。




Show Original Post


06.11.2025 18:18
kantel (@kantel@mastodon.social)

Update: Bokeh in der Version 3.8 freigegeben

Die Entwickler der beliebten und freien (BSD-Lizenz) Python-Visualisierungs- und Chart-Bibliothek Bokeh haben das Update auf die Version 3.8 freigegeben. Auch wenn es nur ein kleineres Update ist, enthält es neben den üblichen Verbesserungen und Fehlerbehebungen auch zahlreiche nützliche Aktualisierungen. kantel.github.io/posts/2025110





Show Original Post


06.11.2025 18:14
chrisphan (@chrisphan@hachyderm.io)

Today in silly #python scripts

#unicode





Show Original Post


06.11.2025 17:55
Python_Ireland (@Python_Ireland@mastodon.ie)

Mastodaoine - our mascot needs a name, any suggestions?

#MastoDaoine #Python #PyCon #PyConIE #PythonIE





Show Original Post


1 ...1027 1028 1029 1030 1031 1032 1033 1034 1035 1036 1037 ...1565
UP