[-] Phoenix@programming.dev 16 points 11 months ago

If I find myself repeating more than twice, I just ask "Can this be a function". If yes, I move it there. If not, I just leave it as it is.

Life's too short to spend all day rewriting your code.

[-] Phoenix@programming.dev 18 points 1 year ago* (last edited 1 year ago)

Yes, but also I would hope that if you have the autonomy to install linux you also have the autonomy to look up an unknown command before running it with superuser privileges.

[-] Phoenix@programming.dev 4 points 1 year ago

If you want a pretty cool example, Le morte d'Arthur was written in prison.

[-] Phoenix@programming.dev 4 points 1 year ago

They're definitely among the worst of the worst. It's always surprised me how comparatively sterile their wiki page is. Feels like they've got someone cleaning it up.

[-] Phoenix@programming.dev 6 points 1 year ago

Lazy is right. Spending fifty hours to automate a task that doesn't take even five minutes is commonplace.

It takes laziness to new, artful heights.

[-] Phoenix@programming.dev 7 points 1 year ago

That's only the first stage. Once you get tired enough you start writing code that not even you can understand the next morning, but which you're loathe to change because "it just works".

[-] Phoenix@programming.dev 10 points 1 year ago

"The bug is fixed, but we inadvertently created two new ones, one of which broke production because it was inexplicably not caught."

[-] Phoenix@programming.dev 3 points 1 year ago* (last edited 1 year ago)

If you want to disabuse yourself of the notion that AI is close to replacing programmers for anything but the most mundane and trivial tasks, try to have GPT 4 generate a novel implementation of moderate complexity and watch it import mystery libraries that do exactly what you want the code to do, but that don't actually exist.

Yeah, you can do a lot without writing a single line of code. You can certainly interact with the models because others who can have already done the leg work. But someone still has to do it.

[-] Phoenix@programming.dev 12 points 1 year ago

It really is big. From baby's first prompting on big corpo model learning how tokens work, to setting up your own environment to run models locally (Because hey, not everyone knows how to use git), to soft prompting, to training your own weights.

Nobody is realistically writing fundamental models unless they work with Google or whatever though.

[-] Phoenix@programming.dev 3 points 1 year ago* (last edited 1 year ago)

I read it a long time ago. The format is interesting, novel certainly. I suppose it's the selling point, over the prose.

To me it seemed like there were many competing "ways" to read it as well. Like a maze, you can go different paths. Do you read it front to back? Niggle through the citations? Thread back through the holes? It's not often you get a book that has this much re-read value.

[-] Phoenix@programming.dev 2 points 1 year ago

It's even better when you ask it to write code for you, it generates a decent looking block, but upon closer inspection it imports a nonexistent library that just happens to do exactly what you were looking for.

That's the best sort of hallucination, because it gets your hopes up.

[-] Phoenix@programming.dev 15 points 1 year ago

The real mystery is when they want five years of experience for the tech that's been out for three.

view more: next ›

Phoenix

joined 1 year ago