2,442 karma · joined Nov 21, 2010 (16y ago) · 635 submissions
comment 1mo ago · link · parent
Same thing with big companies. They knowingly break the law because the punishment is less than what they gain from it. There’s no incentive not to break the law at that point.
comment 2mo ago · link · parent
A hypothetical scenario is it needs to add two numbers so it writes add(x,y).
Later on it needs to add three numbers so it writes add(x, y, z)
Then it needs to add four…
Layers upon layers. A human would likely notice the pattern and refactor so add accepts a list.
comment 2mo ago · link · parent
Even worse is that it’s hard to do anything about it at this point because reviewing code is very different from writing it, so even if I’ve seen it all I don’t have that same deep level of understanding that I do when I write it myself.
All these AI code bases are ticking time bombs. Either AI gets smart enough that it won’t matter in the future or we’re going to have a huge mess to clean up.
comment 2mo ago · link · parent
It was a fun use of bitmasks; all availability is stored in 30 minute blocks (0001110000 would represent 1.5 hours available in 5 hours total) and then I use the AND operator across them all to find matching slots.
9.
Show HN: That works - Find a time that works for the whole group(thatworks.ca ↗)
1 points · by stanmancan · 2mo ago · 1 comment
comment 3mo ago · link · parent
I’d rather read a less polished but clearly human written article than something clearly written by AI. If I can’t tell I can’t tell.
Use it for editing or as a review but the weird hyperbolic AI stuff makes me instantly close an article. I barely got past the intro:
ONE ATTRIBUTE. EXACT BEHAVIOR.
The markup says what happens.
Start with local behavior. Add the server only when the interaction needs to cross the wire. The attribute is moo= — in case you were wondering what the ox says.comment 3mo ago · link · parent
I was just discussing this with a co-worker yesterday. I would really like a model (or harness?) that worked with me instead of for me. Walk me through its choices and decisions, let me correct it and guide it along. I would be way more confident in it's output, I would be more familiar with the changes that are being made, and it would make reviewing the final code way easier since I was making the decisions along side it. I'm sure it would also reduce the "brainrot" we're all going to experience the more we hand work to these models.
comment 4mo ago · link · parent
Congrats on being one of the mythical developers that manages to get AI to write perfect code consistently!
comment 4mo ago · link · parent
comment 4mo ago · link · parent
I think the best piece of advice is START SLOW. way slower than you think. And run for way shorter than you think. Even if your lungs and muscles are fine, if you haven’t ran for a while then your tendons certainly aren’t. You won’t know until it’s too late and then you’ll be out of the game for weeks or months. If you can run on grass or a softer surface your body will thank you, running on concrete is brutal until you’re used to it.
There’s probably programs than you can follow that introduce you to running, I’d follow one of those.