this post was submitted on 12 Apr 2025
1268 points (98.5% liked)

Programmer Humor

22703 readers
1186 users here now

Welcome to Programmer Humor!

This is a place where you can post jokes, memes, humor, etc. related to programming!

For sharing awful code theres also Programming Horror.

Rules

founded 2 years ago
MODERATORS
 
you are viewing a single comment's thread
view the rest of the comments
[–] psud@aussie.zone 7 points 1 week ago* (last edited 1 week ago)

My favourite AI code test is code to point a heliostat mirror at (lattitude, longitude) at a target at (latitude, longitude, elevation)

After a few iterations to get the basics in place, "also create the function to select the mirror angle"

A basic fact that isn't often described is that to reflect a ray you aim the mirror halfway between the source and the target. AI Congress up with the strangest non-working ways of aiming the mirror

Working with AI feels a lot like working with a newbie