Ron Kuris ✅ @svjaneo.com · 04/11/2025#github-copilot is the shit. I love being able to steer AI while it's working. 020
Ron Kuris ✅ @svjaneo.com · 29/10/2025Documentation being worked on via #github-copilot for #firewood with assistance from the @github.com next team.... Pre release stuff!!! 030
Ron Kuris ✅ @svjaneo.com · 21/07/2025I need to make this bumper sticker! Any suggestions for an online site to do it? 100
Ron Kuris ✅ @svjaneo.com · 18/07/2025The next person who tells me rust is too verbose will get this post. TIL that in #javascript, parseInt(0.0000005) results in 5. Here's the equivalent in rust. Definitely too verbose. play.rust-lang.org?version=stab... 000
Ron Kuris ✅ @svjaneo.com · 09/06/2025Hire or don't hire? Gave the classic "two-sums" problem, where you try to find offsets of elements that sum up to some target value. Here's their rust implementation, rolled out quite quickly. 000
Ron Kuris ✅ @svjaneo.com · 08/05/2025Definitely no correlation. raw.githubusercontent.com/e3b0c442/key... 000
Ron Kuris ✅ @svjaneo.com · 02/05/2025Love teaching #rustlang, especially to #golang peeps Replacement for all the code in the pic is: db.root_hash_sync()?.unwrap_or_else(|| "no root hash".into()) 130
Ron Kuris ✅ @svjaneo.com · 29/04/2025#rustlang peeps, is this unreadable and is there a better way to write this? I want to handle overflows! Without overflows, this is just some subtractions, multiplications, and divisions. 120
Ron Kuris ✅ @svjaneo.com · 23/04/2025Whoa, #golang lint that isn't implemented in #rustlang clippy? I'm thinking about implementing it! 110
Ron Kuris ✅ @svjaneo.com · 18/04/2025Whatsapp sucks. I got a message from "WhatsApp", the Official WhatsApp account that looks like this: 110
Ron Kuris ✅ @svjaneo.com · 17/04/2025Root cause here was that AI doesn't understand what this #rustlang code does. It seems to think NodeReader is not implemented for things that can be dereferenced into a NodeReader. Do you do this sort of thing in your code? 120
Ron Kuris ✅ @svjaneo.com · 17/04/2025The moment you know #rustlang AI is lost. I let it run for about 30 minutes after this before telling it to give up. 120
Ron Kuris ✅ @svjaneo.com · 10/04/2025OMG it's a rust easter egg! Just in time for easter! play.rust-lang.org?version=stab... 14610
Ron Kuris ✅ @svjaneo.com · 09/04/2025OK #golang experts! Without running this code, how many of these modify their parent's data value? Playground: go.dev/play/p/FThEw... Mutability of the caller's data is soo important, which is why #rustlang has a `mut` keyword. Without it, and without interior mutability, you can't. #footgun 341
Ron Kuris ✅ @svjaneo.com · 08/04/2025Cool! New #rustlang 1.86 lint suggests changing `repeat().take()` to `repeat_n()` *AND* copilot can review my diffs now. Ah, but here's why copilot will never replace us. Doing both gives me this. What edge cases is this thing talking about? Artificial edge cases for artificial intelligence? 140
Ron Kuris ✅ @svjaneo.com · 08/04/2025Rewrite it in #rustlang, where it seems to work correctly. Playground: play.rust-lang.org?version=stab... 010
Ron Kuris ✅ @svjaneo.com · 08/04/2025So many #golang #footgun code snippets, so little time. Quick! What does this print? Playground: go.dev/play/p/cw_HO... 351
Ron Kuris ✅ @svjaneo.com · 07/04/2025Back on the #golang #footgun express train! Why doesn't this print "Nothing to see here"? Is my test for nil incorrect? Playground: go.dev/play/p/uc-wt... #rustlang FTW here, unless you use unsafe this can't happen. 350
Ron Kuris ✅ @svjaneo.com · 27/03/2025I got this #incryptted Ted's, aka schrodinger's cat, is in there, but you need the password to check if he's dead or alive. 030
Ron Kuris ✅ @svjaneo.com · 18/03/2025Since #rustlang footguns is too hard, here's another golang one! go.dev/play/p/JRDhN... Challenge: without running it, what will it output, and what would you change? 120
Ron Kuris ✅ @svjaneo.com · 16/03/2025LOL without UTF-8 it's 1.18s on my mac. Doing it without String was much harder. 100
Ron Kuris ✅ @svjaneo.com · 16/03/2025"Go’s syntactic sugar mainly focuses on variable declaration and assignment, making the code more concise." And buggy. In their code example, how many bits is a if "a := 10"? Answer: it depends! And there's no reason you can't declare multiple variables in one statement in rust. And these are i32. 130
Ron Kuris ✅ @svjaneo.com · 16/03/2025Oh sure! "Go uses the range keyword for traversal, with a simple and intuitive syntax." This looks "intuitive". Surely everyone has made this mistake at least once. Fortunately, you will get a type error if the array isn't ints... maybe. 140
Ron Kuris ✅ @svjaneo.com · 13/03/2025GFOTD (go footgun of the day). Did you know this #golang is very, very broken, and undetected with the race detector? Golang experts: do you see it? Do you have this footgun in your code today? Would you reject this pattern in a review? And why haven't you switched to #rustlang? ;) 140
Ron Kuris ✅ @svjaneo.com · 02/03/2025Egg prices in Mexico. Wow, $59.90 for 18 eggs. And I thought $10/dozen was expensive. 110
Ron Kuris ✅ @svjaneo.com · 22/02/2025Worst #ux ever. I am order 850. Am I done? Hide and seek every time you need to hunt for your number. #northstar please hire a few more people 420
Ron Kuris ✅ @svjaneo.com · 18/02/2025Seriously impressed with github's AI explanations of diffs. #rust #rustlang #github #ai 000
Ron Kuris ✅ @svjaneo.com · 14/02/2025First time at 100% execution score on my Garmin and it's only "good"? 000
Ron Kuris ✅ @svjaneo.com · 19/01/2025Great chart! Which arrow should you follow next? dev-to-uploads.s3.amazonaws.com/uploads/arti... 000
Ron Kuris ✅ @svjaneo.com · 09/01/2025Thought for today: every ChatGPT query uses power. I asked ChatGPT to tell me how much it estimates it uses. The result? One question uses enough power to run a single typical LED light bulb for 3 minutes, 36 seconds. I really love how it obscures the true answer. #ai #chatGPT #global_warming 110
Ron Kuris ✅ @svjaneo.com · 07/01/2025Can someone explain why #avax and #btc are so strongly correlated, and why it seems to be double magnitude? 000
Ron Kuris ✅ @svjaneo.com · 18/12/2024In a land where kids make the rules, they sure are tough on adults. 020