Today is my 6 year anniversary🎉 /w @safecast.org Stats: 📆800 measurement days 🗺️15 countries 📝~3.6M log lines (~745k duplicates) ⌛CPM min/max/avg: 1.00/918.00/37.27 ☢️ADER min/max/avg: 0.04/33.53/1.36 uSv/h @zhavamista.bsky.social #citizenScience #radioactivity @qgis.fosstodon.org.ap.brid.gy #python

"And the equality operator doesn't work very well with iterators."
Read the full article: Checking whether iterables are equal in Python
▸ https://trey.io/0frqkp
i guess i've gotten back into #Python a bit because i like click and wanted to work on a few CLI tools i felt like i needed
it feels nicer to use than a few years ago!
though type annotations still are kinda weird
Cut Redis memory usage by 7× by ditching JSON for Pydantic models. Learn how a custom binary format reduced storage, costs, and overhead at scale. https://hackernoon.com/json-was-killing-our-redis-memory-switching-serialization-made-it-7-smaller #python
I'm working on a Python->Rust educational project and I'd love some ~lab rats~ volunteers to help me advance it.
Do you know (some of) Python? Do you want to learn (some of) Rust? Do you have a free chunk of time, say around 6-8 hours?
I'm not sure exactly what we'll do (that's part of the project) but you'll be helping me while learning Rust, and you'll get access to a "secret" project.
If you're interested, reply to this toot, I guess?
これは草
/ Pandasで「野根(None)」という地名が欠損値(NaN)になってしまった話
https://zenn.dev/mierune/articles/014c283ecd2be6
TIL #uv, the #Python package manager, can run tools in an ephemeral environment... for instance, 'pycowsay'! 🐮
https://docs.astral.sh/uv/getting-started/features/#tools

"OrderedDict trong Python giữ thứ tự chèn khóa do được thiết kế dành cho phiên bản cũ (trước 3.7) khi dict chuẩn không có thứ tự. Từ 3.7, dict thường cũng có thứ tự. #Python #OrderedDict #Lập_trình #Python3_7"
https://www.reddit.com/r/programming/comments/1ojp0tm/why_is_pythons_ordereddict_ordered/
歷代 Python 速度的改善
#2.7 #performance #py #py2 #py3 #python #python2 #python2.7 #python3 #speed
#python mise + uv 조합으로 더 익숙해지면 poetry/pdm 둘 중 하나는 없앨듯. PEP 621 덕분에 많이 좋아졌네. 요샌 TS/JS 비중이 높아서 언제 다시 정리할런지
Code at: https://github.com/villares/sketch-a-day/tree/main/2025/sketch_2025_10_29
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
如果我是 reviewer 我看不出來這段 code 那邊有問題 ...
https://github.com/pydantic/pydantic-ai/issues/674#issuecomment-2729956952