Tristan Brindle
tristanbrindle.com
Tristan Brindle
@tristanbrindle.com
This is ChatGPT 4-o, which has been trained on tens of millions of books and articles on every subject under the sun at eye-watering cost. Yet apparently it can't even correctly analyse a few hundred words of english text. And this is supposed to be the future?
May 29, 2025 at 3:52 PM
Only after I asked it to tell me the specific line numbers on which the alleged misspellings occurred did it "apologise for the earlier error"
May 29, 2025 at 3:52 PM
But the 5th of April was last month?
May 4, 2025 at 6:26 PM
Hey Matt, any truth to the rumour/legend that Jez San demo’d an early version (starring Yoshi) for Nintendo during Starfox 2 development, which then inspired Miyamoto to create Mario 64?
March 25, 2025 at 7:41 PM
Guessing: no empty structs in C (unlike C++) so 1 is not allowed, but 2 contains a “declaration” so is okay
March 8, 2025 at 8:59 AM
As noted, mine is about 10x slower with libc++'s std::unordered_map, so your approach might be faster? This is the hash table I'm using, it's a drop-in single header if you want to try it github.com/martinus/uno...
GitHub - martinus/unordered_dense: A fast & densely stored hashmap and hashset based on robin-hood backward shift deletion
A fast & densely stored hashmap and hashset based on robin-hood backward shift deletion - martinus/unordered_dense
github.com
December 11, 2024 at 5:54 PM
With the fast hash map it's about 3.5ms for part 2 on my laptop
December 11, 2024 at 5:50 PM
This is very nice! Clearly recursive lambdas were the way to go today
December 10, 2024 at 5:03 PM
I used exactly this approach to get the stars, but my solution took a couple of seconds to run. Rewrote it as a boring DFS and it ran in 10ms. Not sure what I did wrong the first time but it made me a bit sad!
December 7, 2024 at 10:59 PM
FYI the "144 pages" link in that article points to your C drive
December 6, 2024 at 11:28 AM
That `tl::split<T, N>` looks super interesting, is it available somewhere to have a look at?
December 5, 2024 at 7:30 PM