@HelenJoScott @maartenballiauw
i am split pretty equally between #elixir , #python, and #csharp ..
All of which are very different approaches to problem solving. I am super impressed that the solutions presented are "in the spirit of" the current language/framework.
🌘 防止 Python 套件安裝程式的 ZIP 解析器混淆攻擊
➤ PyPI 加強安全性,封鎖 ZIP 混淆攻擊,保護 Python 生態系
✤ https://blog.pypi.org/posts/2025-08-07-wheel-archive-confusion-attacks/
Python 套件索引 (PyPI) 已實施新的安全措施,旨在防範利用 ZIP 檔案格式曖昧性所導致的套件安裝程式混淆攻擊。此類攻擊可能允許惡意套件繞過審查。PyPI 將拒絕包含無效記錄、重複檔名、標頭不符、尾隨資料或錯誤目錄定位值的 ZIP 檔案。此外,PyPI 將就 ZIP 內容與 RECORD 檔案不符的套件發送警告,並預計於 2026 年 2 月開始拒絕此類套件。建議套件維護者更新建置流程,安裝程式則應確保其 ZIP 解析遵循標準並檢查 Central Directory,同時驗證 RECORD 檔案。
+ 這項更新對 PyPI 的安全性至關重要,希望其他套件管理器也能跟進。
+ 感謝 Seth Larson 的貢獻,這能讓 Python 生
#安全 #套件管理 #Python #PyPI
Python allows for some funny code sometimes.
>>> numbers = [2, 1, 3, 4, 7]
>>> numbers[::-1] = reversed(numbers)
>>> numbers
[2, 1, 3, 4, 7]
>>> numbers[::-1] = sorted(numbers)
>>> numbers
[7, 4, 3, 2, 1]
Terminals, pseudoterminals, PTYs, oh my.
How does e.g. "tmux" do its "switch screen" stuff, and can I do it with #Python + Rich? I've found "pymux", which appears to be emulating vt100 in Python ... and then I guess re-rendering to the "real" screen? Is that what #tmux does (too much C for me to grok)?
There's also https://jvns.ca/blog/2025/06/24/new-zine--the-secret-rules-of-the-terminal/ from @b0rk which is great
PyPI: Preventing ZIP parser confusion attacks on Python package installers
https://blog.pypi.org/posts/2025-08-07-wheel-archive-confusion-attacks/
Der Hörgeräteakustiker hat einen Hörtest gemacht. Hat sich nicht viel verändert.
Die Kurven habe ich gleich auch in meine #AirPods versucht einzulesen. Hat nicht geklappt, also hab ich fix selbst ein Diagramm mit #Python erstellt. Damit ging es.
Falls jemand Interesse hat, ich kann den schnell zusammengehackten Code schicken.
I gave some #AI tools this time around when I was working on a Wagtail CMS project. TLDR: They were a net positive, but they didn't always get things right for Wagtail. I wrote up a couple things you should watch out for if you're experimenting or #vibecoding with these tools.
Have you used these tools for your Wagtail projects yet. How's it going?
https://wagtail.org/blog/what-ai-tools-get-right-and-wrong-with-wagtail/
#WagtailCMS #Django #Python #Programming
I find it cumbersome to type `help(`, then a symbol name, then `)` and enter to see help for this symbol, in a #Python interpreter.
So I added this to my `~/.pythonrc` file:
```python
import builtins
class _Help:
def __call__(self, o):
return builtins.help(o)
def __truediv__(self, o):
return builtins.help(o)
def __rtruediv__(self, o):
return builtins.help(o)
help = _Help()
```
...which lets me type `name / help` or `help / name` 😄
What's your go-to, super-simple, publishing stack?
What is #Gatsby ? You use it? #Gatsbyjs #netlify maybe? someone is building a new site w/ that. VS Codium maybe? i think. maybe? #Codium #VScodium @Liquidream
I want simple. Something like this. Not so spartan as my .md notes,
and
not
in
#Python I suppose.
thoughts?
i mess w/ #WinterCMS but i'm thinking even more simple. wanna mess w/ opts to mod server-side content
do people still do that?
SOLUTION: https://raw.githubusercontent.com/bterwijn/memory_graph_videos/refs/heads/main/exercises/exercise6.gif
explanation: https://github.com/bterwijn/memory_graph
#Python #memory_graph #Quiz #Mutable #Immutable

There’s a uv livestream on the PyCharm YouTube channel any minute (like now!) It’s got @mkennedy, our very own @wsvincent, and I think maybe some other notables.
I can’t go. Something about having 4 kids, and these things always being scheduled at tea time. But maybe you’d like it? 🍿
https://www.youtube.com/watch?v=Uh8CMtaWPpc #Python
As soon as I learned about it I had to make this etymologically correct Python logo! 😁 #Python #Logo #Design
