willmcgugan Profile Banner
Will McGugan Profile
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
Don't wanna be here? Send us removal request.
@willmcgugan
Will McGugan
4 months
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
@willmcgugan
Will McGugan
10 hours
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
@willmcgugan
Will McGugan
1 day
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
@willmcgugan
Will McGugan
2 days
Seeing so many awesome Textual apps lately! Here’s another…
@tin_nqn_
Martín Gaitán ⭐⭐⭐
2 days
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
@willmcgugan
Will McGugan
2 days
One day I should compile all my micro-optimizations into a book. I will call it "Fast code you should never write".
@willmcgugan
Will McGugan
2 days
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
@realtordotcom
Realtor.com
8 days
Only 3 in 10 Veterans know about 0% down home loans. Join our mission to help veterans find their way home.
16
48
284
@willmcgugan
Will McGugan
2 days
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
@vanstriendaniel
Daniel van Strien
2 days
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
@willmcgugan
Will McGugan
2 days
Thinking of producing keyboard ASMR videos. I'll also whisper Python code for pay. Any requests?
@willmcgugan
Will McGugan
2 days
My terminal "emulator" widget for Textual reach a milestone. It can now accept text input. Next up, mouse control...
0
0
6
@willmcgugan
Will McGugan
2 days
My terminal "emulator" widget for Textual reach a milestone. It can now accept text input. Next up, mouse control...
2
1
26
@nedbat
Ned Batchelder
3 days
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
Tweet card summary image
python.org
The official home of the Python Programming Language
0
2
8
@willmcgugan
Will McGugan
4 days
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
@willmcgugan
Will McGugan
4 days
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
@vmanvs
Manvendra Singh
4 days
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
@willmcgugan
Will McGugan
4 days
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
@willmcgugan
Will McGugan
4 days
Presented without comment.
0
0
9
@willmcgugan
Will McGugan
5 days
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
@willmcgugan
Will McGugan
5 days
Awesome to see! @evalstate Integrating Toad with @huggingface 🐸+🤗 Watch this space. Aiming for a December release of Toad.
@evalstate
Shaun Smith
5 days
Some technologies are indistinguishable from magic... @willmcgugan
6
7
58
@driscollis
Mike Driscoll
11 days
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
@willmcgugan
Will McGugan
6 days
A Textual app running inside a Textual app!
2
0
10
@willmcgugan
Will McGugan
6 days
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