Tim McNamara @timclicks.dev · 03/09/2026"The spherical cow approximation is widely used in the literature, but is rarely justified. Here, I propose several schemes for extending the spherical cow approximation to a full multipole expansion, in which the spherical cow is simply the first term." arxiv.org/abs/2504.00506 060
Tim McNamara @timclicks.dev · 17/08/2026I know that this is an oddly specific thing to become concerned about, but what in digital typesetting is this? How does it even happen? Is an MS Word thing? Do we blame Adobe PDF Maker? Chrome's PDF renderer? (Original link www.regulation.govt.nz/assets/Publi...) 330
Tim McNamara @timclicks.dev · 26/06/2026Today in cursed code: a computer program that plays pong by modifying its own source code. (Each frame is a new compilation). See github.com/uellenberg/I... 040
Tim McNamara @timclicks.dev · 02/06/2026A picture to feed the algorithm. By returning impl Trait, you're free to change what's happening underneath. This is especially useful when you want to compose iterators. 090
Tim McNamara @timclicks.dev · 08/12/2025Prediction: the next wave of programming languages will just be AI prompts. Someone's just released ai_bindgen (github.com/germangb/ai...) into the Rust ecosystem, which allows annotation to create functionality with natural language: 3100
Tim McNamara @timclicks.dev · 02/12/2025Apparently the message here is that I should be uploading more ragebait. 2100
Tim McNamara @timclicks.dev · 02/12/2025Code review: do you know why this code triggers undefined behavior? play.rust-lang.org/?version=st... 3101
Tim McNamara @timclicks.dev · 30/11/2025This doesn't feel particularly "timClicks" (I've tried very hard to steer away from engagement bait).. but I also sort of feel the need to respond to the idea that Fil-C is a better Rust. Should I make the video? If so, use this thumbnail or something less antagonistic? 1120
Tim McNamara @timclicks.dev · 25/11/2025Everyone knows that the PDF spec is powerful enough to allow a full Linux kernel to boot, right? linux.doompdf.dev/ 03715
Tim McNamara @timclicks.dev · 24/11/2025A workflow for working with AI agents to develop high-quality software quickly (A downloadable PDF and further info available to subscribers free or paid timclicks.dev/ai-workflow) 260
Tim McNamara @timclicks.dev · 23/11/2025Earning its rightful place on the HN front page in record time 110
Tim McNamara @timclicks.dev · 23/11/2025Good news everyone! The future is now. The Algol 68 front end to gcc is finally approved for inclusion. The tyranny of C-based languages may soon be over. 1303
Tim McNamara @timclicks.dev · 19/11/2025A cheat sheet of Cargo plugins to improve your day as a #rustlang developer. More detailed notes and a PDF version is available through the link in the QR code. 0287
Tim McNamara @timclicks.dev · 19/11/2025Cloudflare generated many millions of HTTP 5XX responses today. They were triggered because code in a core proxy called .unwrap() on a Result for an operation that was expected to never fail. 57012
Tim McNamara @timclicks.dev · 16/11/2025Productivity tip for people using #rustlang: The rustup command can generate shell completions for your shell: 2211
Tim McNamara @timclicks.dev · 14/11/2025What happens when you execute code with undefined behavior? Nothing good. In my testing, the compiler generated code that provoked the CPU to fault due to an illegal instruction. 120
Tim McNamara @timclicks.dev · 14/11/2025Code quiz time. Why are we not allowed to create `ub` this way? 1120
Tim McNamara @timclicks.dev · 11/11/2025It looks as though Apple is adding WSL to macOS. Perhaps 2026 is the year of the Linux desktop? apple.github.io/containeriz... 1190
Tim McNamara @timclicks.dev · 09/11/2025Rust has a few known code patterns that cause undefined behavior in Rust which have their lint level set to warning, rather than error. (Links to references at the end of the thread) 1220
Tim McNamara @timclicks.dev · 07/11/2025Raw pointers have a "guaranteed_eq" method that's even more guaranteed than the Eq trait. 1100
Tim McNamara @timclicks.dev · 04/11/2025Why do computer scientists use the word "atomic" in phrases such as "atomic operation" and "atomic type"? 160
Tim McNamara @timclicks.dev · 04/11/2025To understand what that that means, take a look at this code: if 1 > -7 { println!("🍎"); } else { println!("🍐"); } The compiler can deduce that one is greater negative seven, so it doesn't need to compile the "else" side. The whole conditional can be eliminated. 120
Tim McNamara @timclicks.dev · 04/11/2025Let's start with some code. For slightly esoteric reasons about how computers are built, the may_overflow function is only allowed to be called with numbers between -2,147,483,648 (approx. -2.1 billion) and 0 inclusive. 120
Tim McNamara @timclicks.dev · 30/10/2025Today, I've been spending too much time wondering about what the safety comment in this example should be. play.rust-lang.org/?version=st... 140
Tim McNamara @timclicks.dev · 30/10/2025In case you were curious, the situation was resolved by discretely adding support to the upstream package: a 170
Tim McNamara @timclicks.dev · 30/10/2025So, why are they re-implementing a mature software package anyway? The main reason is portability. It's almost easier to build Rust programs for multiple operating systems than to port a large C codebase that's platform-specific. 271
Tim McNamara @timclicks.dev · 30/10/2025If you visit the uutils/coreutils-tracking project on Github, you'll actually discover that they automatically test conformance over time and publish results automatically. It's improving, but far from perfect. 180
Tim McNamara @timclicks.dev · 30/10/2025Importantly - uutils makes no claims that it's ready to be used at this scale (yet) The test coverage page in the documentation linked to from the README makes it clear that there are gaps in the test compatibility. 160
Tim McNamara @timclicks.dev · 30/10/2025Did you hear that Rust broke Ubuntu updates? That's right, or at least that's what it seems like at first look. A component added to Ubuntu that's written in Rust was broken, and that prevented automatic updates. 2152
Tim McNamara @timclicks.dev · 09/09/2025When a bot with 100k followers drops into your mentions, I suppose it's only fair to respond politely,, 1386
Tim McNamara @timclicks.dev · 01/09/2025There are so many people who need to be thanked repeatedly, but these two women are really what lifted us from very good to excellent. Thank you Tash and Amber - incredible. 090
Tim McNamara @timclicks.dev · 01/09/2025But wait .. there's more (It's also nice to see that our night tour was mentioned - WHERE WE SAW LIVE KIWI) 150
Tim McNamara @timclicks.dev · 01/09/2025People are saying so many nice things. It's really quite hard to take in. 2280
Tim McNamara @timclicks.dev · 12/08/2025I created some new banner art for Rust Forge this morning. What do you think? 1120
Tim McNamara @timclicks.dev · 11/08/2025Rust Forge is a tech conference for stable, secure and energy efficient computing (& I'm totally down for it) 182
Tim McNamara @timclicks.dev · 07/08/2025Maybe the Rust compiler could incorporate a teaching mode that would allow emoji identifiers like 🫠: 0110
Tim McNamara @timclicks.dev · 21/07/2025So, Trump's added a USD 250 "visa integrity fee" for visitor visas among others.. ...you know, you don't need to go to the USA to go to an amazing Rust conference this year. You've got options. 1190
Tim McNamara @timclicks.dev · 21/07/20254. BE ACTIVE IN THE DISCORD SERVER Make it easier for people to remember you by participating in discussions online. There are hundreds of people already there. It's pretty easy to find. Open up the Rust Forge website and there's a button right there. Look for the word "Discord". 110
Tim McNamara @timclicks.dev · 21/07/2025Conferences are not expensive. They should pay for themselves. Here's how: 181
Tim McNamara @timclicks.dev · 18/07/2025Make connections with Rustaceans from all around the world at Rust Forge Conf next month 071
Tim McNamara @timclicks.dev · 16/07/2025Not to alarm you, but if you were interested in attending the Application Security Workshop at Rust Forge Conf next month, there's only 1 space left (link to register is in the image's alt text) 111
Tim McNamara @timclicks.dev · 13/07/2025What are those workshops? We have 4! Security, game dev (Bevy), web dev (leptos), TUI apps (ratatui). 120
Tim McNamara @timclicks.dev · 13/07/2025Find yourself a community that talks about you the way the Rust Forge community talks about you 1101
Tim McNamara @timclicks.dev · 12/07/2025Let's get 50 registrations sold in 25 days! Who do you know who knows Rust, or has always wanted to ever since they first heard about it? 010