Will McGugan
@willmcgugan
Followers
37K
Following
14K
Media
4K
Statuses
20K
Just in time developer. Hyperborean Python expert, PSF fellow, author, humanist, husband, sometimes wildlife photographer. He/him @[email protected]
Edinburgh, Scotland
Joined April 2008
This is what I am working on. 🐸 Toad. A universal interface for agentic coding in the terminal. Follow me for updates. https://t.co/ZR8QreXbOg
48
46
485
Parsing and emulating ANSI escape sequences is a royal PITA. So many layers of cruft. Find anyone who implemented a terminal emulator and give them a hug.
0
2
24
Still puzzled by this quite dramatic increase in downloads for Textual. Could it be ilist? A textual app added to the Linux kernel? Or the new installer for arch, also a Textual app. The timing doesn’t quite fit. And the numbers seem too large. 🤷♂️
12
2
41
Seeing so many awesome Textual apps lately! Here’s another…
Today's project: a Tetris clone built with @willmcgugan’s amazing Textual framework #python $ uvx textual-tetris PRs welcome https://t.co/f3Yest0kPj
0
1
22
One day I should compile all my micro-optimizations into a book. I will call it "Fast code you should never write".
The ternary operator is faster than the max builtin (and I assume min) for the trivial case of two values. Should you care? Probably not. min and max are self documenting and preferred. Use only in the hottest loops.
3
0
20
Only 3 in 10 Veterans know about 0% down home loans. Join our mission to help veterans find their way home.
16
48
284
The ternary operator is faster than the max builtin (and I assume min) for the trivial case of two values. Should you care? Probably not. min and max are self documenting and preferred. Use only in the hottest loops.
5
0
23
Got @willmcgugan's excellent Textual running in a @huggingface Space! Just using the dictionary example app for now, but excited to explore running some AI-focused terminal apps on Spaces!
3
2
9
My terminal "emulator" widget for Textual reach a milestone. It can now accept text input. Next up, mouse control...
2
1
26
How much is your company spending to support the Python Software Foundation? For comparison, how much do they spend for tips on expensed meals? The PSF runs PyPI, where pip installs from. You depend on PyPI. Fund the PSF. Tip your server! https://t.co/mIgPDGsf96
python.org
The official home of the Python Programming Language
0
2
8
The third edition of the Toad Report is out! https://t.co/xy2hjbhhH3 Nanobanana came up with "Toad's Tech Trove" and I'm stealing it. #toad #AI
2
1
20
Claude gets snotty if I ask it something twice. Accuses me of trying to test it. No Claude, I am not testing you, my fleshy mammalian brain can only store a subset of the information it ingests.
1
0
6
Just spent my weekend building a TUI text editor in Python because why not? But this isn't just a UI wrapper. I wanted real performance, so I implemented a custom Piece Table data structure from scratch. Under the hood: O(1) operations: Insert/Delete works by moving
0
1
4
The third edition of the Toad Report is out! https://t.co/xy2hjbhhH3 Nanobanana came up with "Toad's Tech Trove" and I'm stealing it. #toad #AI
2
1
20
Curious. Textual saw a significant bump in downloads at the end of October. At a loss to explain why. 🤷♂️ Have my Toad posts have driven folk to check out Textual? Or has a Textual app seen a surge in popularity? https://t.co/wlmdEVqCcV
3
0
25
Awesome to see! @evalstate Integrating Toad with @huggingface 🐸+🤗 Watch this space. Aiming for a December release of Toad.
6
7
58
Last week, I mentioned a neat way to plot in your terminal with #Python But there are other terminal plotting libraries too. For example, you can plot with Textual if you get the textual-plot package. Here's an example:
1
2
12
Ok, that is looking much more like htop! htop uses a bunch of escape sequences I hadn't encountered. "It's an older code, sir, but it checks out."
1
0
5