this post was submitted on 12 Jan 2026
306 points (99.4% liked)

Programmer Humor

28398 readers
1479 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
[–] ulterno@programming.dev 15 points 1 day ago (3 children)

I remember there being a CORS problem in a team project.
Perhaps I should ask the webdev at the time whether they had made that thing with AI or they really just made the whole thing themselves and somehow overlooked CORS.

CORS has always been a problem. I keep having to remind the backend team to send proper headers. They say it works in curl so why not in the browser. It’s not very intuitive.

[–] W3dd1e@lemmy.zip 4 points 17 hours ago (1 children)

When I was learning, CORS was a pain in my ass. It’s not taught well, and often glossed over.

[–] ulterno@programming.dev 2 points 16 hours ago (1 children)

So I guess AI and hence, vibe coders are having the same problems as normal programmers.

[–] W3dd1e@lemmy.zip 1 points 5 hours ago (1 children)

It could be either way, I haven’t tried “vibe coding” but I imagine you’re right if you don’t tell it to explicitly deal with CORS, AI probably doesn’t

[–] ulterno@programming.dev 0 points 5 hours ago

Yeah, I guess the CORS problem would have been fixed by now (by feeding CORS examples codes of course) by at least the dev targetted brands.

[–] SleeplessCityLights@programming.dev 8 points 1 day ago (1 children)

Cors was usually not part of any tutorials. To new people it was more of an afterthought, just set policy to get you page to work.

[–] ulterno@programming.dev 1 points 17 hours ago

Hehe yeah, security in general has been an afterthought in the computing space.
And it makes sense. You first make something possible, then restrict it for whatever cases you don't want it happening. The latter is supposed to be easier.