What’s new in Python 3.15
https://docs.python.org/3.15/whatsnew/3.15.html
Pyspark Cheat Sheet #bigdata #programming #database #coding #dataengineering #python #dataengineers
This PySpark Cheat Sheet image provides a quick and powerful reference for anyone working with big data, ETL pipelines, ... source
🌖 Python 3.15 搶鮮看:效能躍升與偵錯利器
➤ 探索 Python 3.15 的效能革命與偵錯新境界
✤ https://docs.python.org/3.15/whatsnew/3.15.html
Python 3.15 的最新開發版本已釋出,帶來一系列重大更新。開發者將能享受到更強大的效能分析工具,包含全新的 Tachyon 取樣式 profiler,以及改進的錯誤訊息提示,特別是在處理屬性存取錯誤時。此外,Python 3.15 也將 UTF-8 設定為預設編碼,並引入了新的 C API,整體而言,這次的更新預期將大幅提升開發效率與程式執行效能。
+ Tachyon 聽起來太棒了!終於有專門的 profiler 來解決生產環境的問題了。
+ UTF-8 預設編碼真是等太久了,很高興看到這項改變。
#Python #程式語言 #效能優化 #偵錯
What's New in Python 3.15
Link: https://docs.python.org/3.15/whatsnew/3.15.html
Discussion: https://news.ycombinator.com/item?id=46304630
Tuple Addition In Python
Can you guess? Adding tuples in Python creates something special. See (1, 2) + (3, 4) in action!
#python #pythontricks #tupleoperations #pythondatastructures #codingchallenge #pythonshorts
https://www.youtube.com/watch?v=XsaO7xEfMwo
What's New in Python 3.15
https://docs.python.org/3.15/whatsnew/3.15.html
Symbolic Regression was initially developed in the 70's and reshaped in the early '90s by John Koza. Its innovation is that instead of fitting the parameters of a predefined equation (model) to the data, the algorithm creates the equation itself, from scratch.
To do so, symbolic regression in its most recent variants uses genetic algorithms to traverse a vast search space of candidate equations. This results in models that can be very complex yet interpretable, potentially uncovering complex relationships that may contribute to new scientific discoveries.
Despite the inherent limitations of efficiently searching such vast spaces, experiments have yielded very promising results in rediscovering complex, previously known mathematical equations.
GPU acceleration and more sophisticated search strategies have further expanded the capabilities of this method.
Link to the Python PySR package
https://pypi.org/project/pysr/
Wikipedia article:
https://en.wikipedia.org/wiki/Symbolic_regression
#datascience #ml #ai #python #rstats #regression #symbolicregression
The "axes" returned by matplotlib.pyplot's subplots function is a plural of "ax", not of "axis"
This was confusing me until now; I thought I was getting arrays of "axis", which didn't make sense - how can I plot onto a single axis?
But what I'm getting is instead an "axis-pair" (which is what's called an "ax"). And I might choose to have multiple subplots in the **Figure**, so I get multiple "ax"-s, a.k.a "axes".
fig, ax = plt.subplot() # singular
fig, axs = plt.subplots(2) # plural

在Headless环境完成Last.fm Web 授权
https://ghost.feddit.social/completing-last-fm-web-authentication-in-a-headless-environment
#blog #博客 #headless #debian #lastfm #authentication #python
Code at: https://github.com/villares/sketch-a-day/tree/main/2025/sketch_2025_12_20
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

For the book, I'm re-writing some #Golang programs in #Python, specifically #MicroPython.
I'm having a really great time just hacking on useful little programs again.
Aside from using it with microcontrollers, MicroPython is a lot of fun to work with on a regular computer as well. It reminds me of what Python used to be like, before dependency and version hell...
🎉 Ra mắt mkarchi v0.1.6 - Sẵn sàng sử dụng! 🚀
Tạo cấu trúc dự án từ AI → định dạng chia sẻ dễ dàng!
✅ Đã kiểm thử kỹ lưỡng
Tạo dự án mới: `mkarchi apply structure.txt`
💡 Người dùng khen: "Tiết kiệm thời gian", "Đơn giản, nhanh, hoạt động hoàn hảo"
Cài đặt: `pip install mkarchi`
Bạn sẽ tạo gì với mkarchi? Comment bên dưới! 👇
#mkarchi #Python #DevTool #AI #Programming #CôngCụLậpTrình #AI #Python #LậpTrình
https://dev.to/soufyanrachdi/announcing-mkarchi-v016-now-ready-to-use-4ifj