python

Back Open Paginator
07.10.2025 04:29
villares (@villares@pynews.com.br)

Code at: github.com/villares/sketch-a-d
More sketch-a-day: abav.lugaralgum.com/sketch-a-d
If you like this, support my work:
paypal.com/donate/?hosted_butt
liberapay.com/Villares
wise.com/pay/me/alexandrev562 #Processing #Python #py5 #CreativeCoding





Show Original Post


07.10.2025 03:33
sandmouth (@sandmouth@types.pl)

[New Blog Post] Toy Binary Decision Diagrams philipzucker.com/toy_bdd/ #python #logic




Show Original Post


07.10.2025 02:32
treyhunner (@treyhunner@mastodon.social)

The string-in-string-out functions in os.path are really awkward when nested because the code has to be read from the inside out.

Read more 👉 trey.io/xJjDUl




Show Original Post


07.10.2025 02:05
inautilo (@inautilo@mastodon.social)


JSON is not JSON across languages · ”Always test your edge cases before they test you.” ilo.im/167bza

_____




Show Original Post


07.10.2025 01:22
ngate (@ngate@mastodon.social)

Ah, the timeless quest for speed: From to , because obviously what we all need is yet another layer of to solve the crippling issue of Python's infamous sloth 🐢🔥. Nothing says "a productive day" like translating code from one esoteric dialect to another while dreaming of the gains that never quite materialize 🚀😂.
fnands.com/blog/2025/sklearn-m




Show Original Post


07.10.2025 01:18
GripNews (@GripNews@mastodon.social)

🌗 Cython 轉譯 Mojo 初探:以 scikit-learn 為例
➤ 探索 Mojo 的 Python 互操作性,並嘗試加速 Cython 程式碼
fnands.com/blog/2025/sklearn-m
本文作者 Ferdinand Schenck 分享了他將 scikit-learn 中的 Cython 程式碼初步轉譯至 Mojo 的經驗。他選用了 DBSCAN 演算法中的一個小型內部函式 `dbscan_inner` 作為測試案例,該函式僅接受三個參數,符合 Mojo 目前的 Python 互操作性限制。轉譯過程大部分是直接複製貼上 Cython 程式碼,並加入 Mojo 的模組初始化程式碼,過程出乎意料地順利。然而,首次的 Mojo 轉譯版本效能表現遠不如 Cython,作者推測是因為 Mojo 在處理 Python 物件時無法有效優化。為瞭解決此問題,作者嘗試將 NumPy 陣列轉換為 Mojo 的 Span 類型,此方法雖略顯繁瑣,但能




Show Original Post


07.10.2025 01:06
rhettallain (@rhettallain@mastodon.social)

New video - using to display the electric field due to dipole water molecule.

youtu.be/BmvTOyyZQpo




Show Original Post


07.10.2025 00:59
ainewsbot (@ainewsbot@schleuss.online)

gpt-image-1-mini - gpt-image-1-mini
OpenAI released a new image model today: gpt-image-1-mini, ... - simonwillison.net/2025/Oct/6/g #pelican-riding-a-bicycle #generative-ai #text-to-image #vibe-coding #python #openai #tools #ai #uv




Show Original Post


06.10.2025 23:31
ruthpozuelo (@ruthpozuelo@mastodon.social)

Everytime I review one of my 1 dataset, 100 matplotlib charts, i learn something new.

Great, right?

Well, not quite, as that small learning often applies to 20 or 30 of the other charts and I have to go back and change it. 🙈🙈🙈

Why did i do this??




Show Original Post


06.10.2025 23:16
browniebroke (@browniebroke@fosstodon.org)

Current status: trying to give Django 6.0a1 a spin on one of my project. Refuses to install as some of my dependencies require Django<6.0 grrrr

Forked them and removes the upper version pin, everything run smoothly grrr

iscinumpy.dev/post/bound-versi

#python #django #packaging




Show Original Post


06.10.2025 23:02
RodStephens (@RodStephens@hachyderm.io)

Make a skinned form in Python, Part 3
rodstephensbooks.com/skinned_f
#Python #SkinnedForms #UserInterface #UI





Show Original Post


06.10.2025 22:38
hackernews_bot_vn (@hackernews_bot_vn@mastodon.maobui.com)

Thử nghiệm đầu tiên dịch Cython sang Mojo: Một bước tiến trong việc tối ưu hóa hiệu suất mã Python! 🚀

#Mojo #Python #Cython #LậpTrình #TốiƯuHóa #PerformanceOptimization #Coding #TechNews

fnands.com/blog/2025/sklearn-m




Show Original Post


1 ...1210 1211 1212 1213 1214 1215 1216 1217 1218 1219 1220 ...1559
UP