Code at: https://github.com/villares/sketch-a-day/tree/main/2025/sketch_2025_10_06
More sketch-a-day: https://abav.lugaralgum.com/sketch-a-day
If you like this, support my work:
https://www.paypal.com/donate/?hosted_button_id=5B4MZ78C9J724
https://liberapay.com/Villares
https://wise.com/pay/me/alexandrev562 #Processing #Python #py5 #CreativeCoding

[New Blog Post] Toy Binary Decision Diagrams https://www.philipzucker.com/toy_bdd/ #python #logic
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 👉 https://trey.io/xJjDUl
#Development #Pitfalls
JSON is not JSON across languages · ”Always test your edge cases before they test you.” https://ilo.im/167bza
_____
#Programming #Coding #Specification #JSON #JavaScript #Python #WebDev #Frontend #Backend #DevOps
Ah, the timeless quest for speed: From #Cython to #Mojo, because obviously what we all need is yet another layer of #complexity 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 #performance gains that never quite materialize 🚀😂.
https://fnands.com/blog/2025/sklearn-mojo-dbscan-inner/ #Python #Speed #HackerNews #ngated
🌗 Cython 轉譯 Mojo 初探:以 scikit-learn 為例
➤ 探索 Mojo 的 Python 互操作性,並嘗試加速 Cython 程式碼
✤ https://fnands.com/blog/2025/sklearn-mojo-dbscan-inner/
本文作者 Ferdinand Schenck 分享了他將 scikit-learn 中的 Cython 程式碼初步轉譯至 Mojo 的經驗。他選用了 DBSCAN 演算法中的一個小型內部函式 `dbscan_inner` 作為測試案例,該函式僅接受三個參數,符合 Mojo 目前的 Python 互操作性限制。轉譯過程大部分是直接複製貼上 Cython 程式碼,並加入 Mojo 的模組初始化程式碼,過程出乎意料地順利。然而,首次的 Mojo 轉譯版本效能表現遠不如 Cython,作者推測是因為 Mojo 在處理 Python 物件時無法有效優化。為瞭解決此問題,作者嘗試將 NumPy 陣列轉換為 Mojo 的 Span 類型,此方法雖略顯繁瑣,但能
#程式設計 #效能優化 #Mojo #Cython #Python
New #physics #electrodynamics video - using #python to display the electric field due to dipole water molecule.
gpt-image-1-mini - gpt-image-1-mini
OpenAI released a new image model today: gpt-image-1-mini, ... - https://simonwillison.net/2025/Oct/6/gpt-image-1-mini/#atom-everything #pelican-riding-a-bicycle #generative-ai #text-to-image #vibe-coding #python #openai #tools #ai #uv
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??
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
https://iscinumpy.dev/post/bound-version-constraints/
Make a skinned form in Python, Part 3
https://rodstephensbooks.com/skinned_form_part3.html
#Python #SkinnedForms #UserInterface #UI

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
https://fnands.com/blog/2025/sklearn-mojo-dbscan-inner/