David Brochart

2.3K posts

David Brochart banner
David Brochart

David Brochart

@davidbrochart

Better not to start, once begun better to finish.

Paris, France 参加日 Nisan 2009
720 フォロー中1.6K フォロワー
Will McGugan
Will McGugan@willmcgugan·
Further refinements to the fuzzy path searching. I was using sub interpreters to do the matching across cores. Worked great, but it took ~300ms to start all those Python instances. It happens one time, but the delay was noticeable The fix was to ensure the code in the interpreter didn't pull in more imports that necessary. With that in place it is under 50ms. I've also fixed an issue with the directory scanning, where it was going multiple parallel scans. 🤦‍♂️ Now the initial directory scan is faster. Fixed a bunch of Path operations. Things like Path.resolve() touch the filesystem and will block asyncio for a brief period, potentially cause a tiny stutter. Always do those in asyncio.to_thread. Finally, I added truncation of the paths with a midline horizontal ellipsis (⋯) at the left if there is truncation. This makes much more sense for paths, where the final component should have priority. I *could* wrap the paths, but I figured that might look odd. WDYT? New Toad release coming tomorrow.
English
3
0
19
2K
David Brochart
David Brochart@davidbrochart·
Just published textual-editor to PyPI. It's a textual widget that is similar to TextArea but that actually runs a real editor and connects it to an embedded terminal emulator, so that you get all the power of neovim (or whatever your preferred editor is). github.com/davidbrochart/…
David Brochart tweet media
English
1
1
10
3.4K
David Brochart
David Brochart@davidbrochart·
Jupyverse now supports legacy Jupyter server extensions. It does that by proxying the server, so no rewrite of the original extensions is needed. You can try jupyterlab-git and jupyterlab-lsp with: pip install jupyverse[jupyterlab,auth,jupyterlab-git,jupyterlab-lsp]
English
0
0
1
139
Samuel Colvin
Samuel Colvin@samuelcolvin·
Fuck it, a bit early but here goes: Monty: a new python implementation, from scratch, in rust, for LLMs to run code without host access. Startup time measured in single digit microseconds, not seconds. @mitsuhiko here's another sandbox/not-sandbox to be snarky about 😜 Thanks @threepointone @dsp_ (inadvertently) for the idea. github.com/pydantic/monty
English
92
163
1.8K
317K
David Brochart
David Brochart@davidbrochart·
RTFM is turning into ATFA (ask the fucking AI)
English
0
0
0
68
François Voron
François Voron@fvoron·
My resolution of 2026: reduce reliance on US services – a hard task, sadly! ✅ Google Drive/Photos ➡️ Personal NAS ✅ OpenAI/Claude ➡️ @MistralAI@Spotify ✅ Netflix 🚮 🔄 Gmail ➡️ @ProtonMail 🤔 macOS ➡️ Linux Let’s go 🇪🇺
English
3
0
14
3.5K
David Brochart
David Brochart@davidbrochart·
@QuantStack/introducing-notebook-link-the-future-of-notebook-sharing-5de900a97b4a" target="_blank" rel="nofollow noopener">medium.com/@QuantStack/in…
ZXX
0
0
0
81
Will McGugan
Will McGugan@willmcgugan·
Been deep diving in to diffing lately in Toad. Had to unlearn a bunch of assumptions regarding diffs, which is not something I had ever given much thought before. There doesn't seem to be a perfect diff algorithm. At least not one for presenting to the user. And diffs just do not produce changes as if the user had edited them. Which makes sense given that from the POV of the algorithm, ever character is the same. The algorithm doesn't understand syntax or how humans edit. You would have to be a psychopath to insist upon preserving individual characters when editing a string. But that's what diffs show. 🤷‍♂️
English
24
0
38
6.5K
David Brochart
David Brochart@davidbrochart·
Jupyter has integrated AI in the notebook's environment. I think @willmcgugan's Toad is doing the other way around: integrating the notebook in the AI environment.
English
1
1
6
1.1K
David Brochart がリツイート
Will McGugan
Will McGugan@willmcgugan·
I recorded a short video on Toad's shell. If we are going to use AI in the terminal, it shouldn't replace the kind of terminal workflows devs have been using for years. We can keep the stuff that worked from the past. While benefiting from AI. Give Toad a try! 🐸 github.com/batrachianai/t…
English
4
3
52
5K
David Brochart
David Brochart@davidbrochart·
@willmcgugan @warpdotdev Interesting, now throw Python in the mix by directly running code blocks (instead of copy/pasting into a new interpreter) and you're getting closer to Jupyter.
English
0
0
1
139
Will McGugan
Will McGugan@willmcgugan·
A little polish on Toad's shell. How long before the other CLIs catch on? This is how agent CLIs should work. One upped by some cranky Scottish dude. Big tech? Big feck more like. Shell and AI interleaved like best bros. Sit down @warpdotdev Nobody was talking to you. github.com/batrachianai/t… No, I can never spell Fibonacci without looking it up. And probably never will.
English
11
11
84
9.6K
David Brochart
David Brochart@davidbrochart·
@willmcgugan @dhh It seems that having their own CLI is actually a good thing for companies because it allows to differentiate them, like for Mistral's Vibe who could have chosen to use Toad.
English
0
0
1
75
DHH
DHH@dhh·
I think it's great that all the model providers are coming out with their own CLIs, but let's be honest, no dev is going to want to have five different CLIs installed. They're going to want to learn and use one tool with all the models. For me, that tool is OpenCode.
English
176
124
3.5K
194.1K
Will McGugan
Will McGugan@willmcgugan·
More tweaking with Toad and Claude. Hopefully fixed sound on Windows. 🤞 Count down to New Years 2026. Pythonistas, run this in your terminal: uvx ny2026 #Python #AI #Toad
English
1
3
39
4.4K