Thanks to this I could replace a lot of range/partition code with a single `int(..., 2)`.
Unlocking new mental models! 📈
Thanks to this I could replace a lot of range/partition code with a single `int(..., 2)`.
Unlocking new mental models! 📈
That’s the AI Age Unicorn 🦄 — the technical leader who can execute the vision and lead the team.
That’s the AI Age Unicorn 🦄 — the technical leader who can execute the vision and lead the team.
Engineering Manager (M): Leading and optimizing people and processes.
Senior Software Engineer (S): Mastering complex execution and deep code contributions.
Engineering Manager (M): Leading and optimizing people and processes.
Senior Software Engineer (S): Mastering complex execution and deep code contributions.
pybitesplatform.com/bites/tag/s...
pybitesplatform.com/bites/tag/s...
github.com/bbelderbos/...
github.com/bbelderbos/...
- work with different panels making a nice layout
- open files in an overlaying Vim window
- fuzzy search to target different repos from within the TUI
Amazingly I have a pretty rich + functioning interface with little over 300 LOC 📈
- work with different panels making a nice layout
- open files in an overlaying Vim window
- fuzzy search to target different repos from within the TUI
Amazingly I have a pretty rich + functioning interface with little over 300 LOC 📈
- sorted(..., key=... )[:top_n] ➡️ heapq.nsmallest(top_n, ...)
- sorted(..., key=..., reverse=True)[:top_n] ➡️ heapq.nlargest(top_n, ...)
Same behaviour, but now it’s O(n log k) instead of O(n log n) when k << n.
- sorted(..., key=... )[:top_n] ➡️ heapq.nsmallest(top_n, ...)
- sorted(..., key=..., reverse=True)[:top_n] ➡️ heapq.nlargest(top_n, ...)
Same behaviour, but now it’s O(n log k) instead of O(n log n) when k << n.
And seeing match/case so much in Rust, I appreciate it even more in Python now 🐍😍
And seeing match/case so much in Rust, I appreciate it even more in Python now 🐍😍
None of this turns Python into Rust, but borrowing (no pun intended 😄) Rust’s strictness makes your Python code more predictable, easier to refactor, and more pleasant to work in.
None of this turns Python into Rust, but borrowing (no pun intended 😄) Rust’s strictness makes your Python code more predictable, easier to refactor, and more pleasant to work in.