1,788 karma · joined Mar 13, 2025 (1y ago) · 921 submissions
comment 1y ago · link · parent
One of the first games I ever played was Warcraft I, and it was one of the games I always wanted to make but never could. One of the missing pieces of the puzzle was path finding. I still don't understand it, but at least now I have two resources that I can read when I'm done building my game maker and ready to make my game!
693.
A Visual Explanation of SQL Joins(blog.codinghorror.com ↗)
4 points · by 90s_dev · 1y ago · 1 comment
comment 1y ago · link · parent
Looks great.
Related story. In late 2010 a client asked me to write effectively the same thing for him as a Mac app, using that one protocol I can't remember the name of, but which had promise and never quite caught on. All I can remember about it is that I implemented JavaScript's `for await (...)` in 2010-era Objective-C, and I felt like a genius because I had never even heard of such a concept before, and came up with it on my own just to solve a problem in that project. That function worked amazingly and only took like 100 loc or something. I wonder if he still has that source code around somewhere.
comment 1y ago · link · parent
One thing I learned is that we're all different. To me, the magic of Rails is absolutely bonkers, unintuitive, and unmanagable. I also can't work without static types anymore. DHH is apparently my arch nemesis in these regards? Yet I can't definitively say it's because he's inherently flawed.
comment 1y ago · link · parent
comment 1y ago · link · parent
Clever solution, but it sounds like it will have one of two problems:
1. It doesn't allow fine enough grained control over what's prefetched
2. It does, but because of that it has become unmanagably overcomplicated
How do you avoid these?
comment 1y ago · link · parent
If I don't, then it's mighty strange that I've been binging Groucho Marx interviewing random people from the audience in the 1950s show You Bet Your Life for the past few hours, and his fascinating interviews with Dick Cavette and William Buckley Jr.
Anyway yeah that's literally the main reason any of us are on HN. Besides procrastinating.
comment 1y ago · link · parent
comment 1y ago · link · parent
comment 1y ago · link · parent
It's getting from point A to point B with whatever works best given the circumstances after considering all the pros and cons. Sometimes that is garbage software. I mean I've even used _____ once or twice! [edit] redacted to not throw any software under the bus
comment 1y ago · link · parent
When I was a kid, I hated even the smell of coffee so much, that tasting it could make me throw up.
A few years ago, to help kick my soda habit, I forced myself to drink black coffee every single day.
The first day, I could barely stomach a few sips. After a week or so, I could finish the whole cup with great difficulty. After another few weeks, I could finish it without minding. And finally, after maybe a month or a little more, I actually enjoyed the taste.
It seems that if you force yourself to taste any food or drink for 40 days, you'll eventually enjoy it.
I also noticed that I drink way too much coffee and way too quickly if I add cream or sugar. Black coffee is the ideal.
Since I'm too stupid and/or lazy to figure out how to clean my coffee machine (the instructions said something about vinegar once in a while) I realized you could just put a tablespoon of ground coffee into a filter, fold it twice, twist the edges like a tootsie roll, and tie them together, forming essentially a tea bag, then put it in a bot of water about 1-2 cups worth, squish it up with a spoon a bit, let it sit overnight as if you were making ice coffee, and heat it up in the morning long enough to go to the bathroom, and it's the perfect tempature and taste, and you only have to rinse the pot to clean it.
comment 1y ago · link · parent
Unless I gravely misunderstood Zig when I learned it, the Zig approach to memory safety is to just write a ton of tests fully exercising your functions and let the test allocators find and log all your bugs for you. Not my favorite approach, but your article doesn't seem to take into account this entirely different mechanism.
comment 1y ago · link · parent
Depends.
> Are ads fine if they can be used to track every detail of what you do and want?
Depends.
> Was it fine when CrowdStrike caused Windows systems in airports BSOD and lead to massive delays?
Depends.
That's my whole point. You're presuming some absolutes which aren't universally necessitated or desired.