🐍 Securing PyPI accounts via Two-Factor Authentication
"Today, as part of that long term effort to secure the Python ecosystem, we are announcing that every account that maintains any project or organization on PyPI will be required to enable 2FA on their account by the end of 2023."
#Rich (the #Python library, https://rich.readthedocs.io) has pretty nice-looking output and a wealth of functionality, but am I the only one who thinks that its API is pretty icky? It’s just small details that I don’t like, but they add up.
• strings being formatted BBCode-style
• progress bar tasks being manipulated by passing around int IDs (even though internally they’re objects!)
• Console capturing stdout by default
• the default Progress columns not really suitable for indeterminate tasks
• …
I found out yesterday that my contract was terminated, effective immediately. This was incredibly surprising and heartbreaking, but I'm focused on the future!
If anyone knows of any software development jobs focused on #Golang, #Python, #ReactJS or #NextJS, hit me up! I'm pretty urgently searching.
I don't think I need to pass the value of y to the function, nevertheless the program still works. If you keep y in place you can add a count to monitor what the loop is doing.
Is there a language that handles dependencies well?
Python's virtual environments are a bit awkward but everything mostly works, I haven't played with Java build tools much, Javascript is a trainwreck. I've been happy with Dart, but haven't gotten into the weeds much. Same with rust, cargo seems nice, but I haven't played with it enough to know the pitfalls yet.
Yesterday I found myself writing a new comment on older code I was trying to grok, where a small/incidental-looking part of a method was mutating one of its parameters for the benefit of the caller only.
That comment phrased the interaction as “this method only borrows this object & this line is it fast-forwarding past a cryptographic nonce, on behalf of the real owner”.
I haven't even finished Rustlings yet and the #Rust is seeping into how I view #Python 🤯
#Fabric 3.1 / #Paramiko 3.2 out now, after months of hacking, rewriting, cursing ancient design decisions that don't work w/ non-OpenSSH targets, & so on & so forth.
Most of this is opt-in, experimental, and incomplete - but hey, it works well enough that my colleagues can get their ssh-agents and passphraseless pubkeys working with both #OpenSSH and #Teleport!
Solid foundation, living room furnished…rest of house forthcoming 😂
A new version of #pygbif, the #Python client for the GBIF API, has just been released, adding support for multiple download formats, additional predicates and nested queries/dictionaries 😀