this post was submitted on 06 Jun 2025
1213 points (99.0% liked)

Programmer Humor

23899 readers
983 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
 
top 50 comments
sorted by: hot top controversial new old
[–] PieMePlenty@lemmy.world 4 points 4 hours ago

No problem, just mention it in the requirements - early on. Not when everything is built to work this one specific way.

[–] 8000gnat@reddthat.com 2 points 6 hours ago

mf said choas

[–] AdrianTheFrog@lemmy.world 10 points 18 hours ago (2 children)

The giant is easy. The ground is easy. The lava though... Do you want the particles to stick together? To visually connect? To collide with each other? To interact with dynamic objects?

[–] filcuk@lemmy.zip 5 points 6 hours ago

Design lead wants parting earth and flowing lava. Budget dictates static assets and baked in animations.

[–] Valmond@lemmy.world 2 points 5 hours ago

The player will jump on it, what happens then?

[–] milicent_bystandr@lemm.ee 43 points 1 day ago* (last edited 1 day ago) (4 children)

https://xkcd.com/1425

Alt text: In the 60s, Marvin Minsky assigned a couple of undergrads to spend the summer programming a computer to use a camera to identify objects in a scene. He figured they'd have the problem solved by the end of the summer. Half a century later, we're still working on it.


Edit: seems I'm the third person to comment this! :')

[–] MonkeMischief 1 points 6 hours ago

"Cat? Dog? Pig? LOAF OF BREAD. SYSTEM ERROR!"

https://youtu.be/LaK_8-3pWKk

[–] boonhet@lemm.ee 9 points 23 hours ago

I love how this is actually an example of progress. These days, ML can be used for this kinda thing and it's not too bad at it even.

[–] Giloron@programming.dev 3 points 23 hours ago

https://code.flickr.net/2014/10/20/introducing-flickr-park-or-bird/

This page about it still exists, but I guess the identification site died with Flickr.

load more comments (1 replies)
[–] Ephera@lemmy.ml 18 points 1 day ago (3 children)

Only in 3D. In 2D, you slap some pixels on top and there's your scarf:

[–] CanadaPlus@lemmy.sdf.org 5 points 8 hours ago

Do you have the Orb yet?

[–] Charzard4261@programming.dev 12 points 1 day ago* (last edited 1 day ago)

I tend to find it's the other way around. Once you've got a scarf modelled and rigged, it'll work* for all animations, but for animated 2D sprites you have a lot more things to do.

* May have visual artifacts like clipping

[–] mojofrododojo@lemmy.world 4 points 1 day ago

and add a couple of frames to the sprite sheet in order to animate the scarf if that's required.

[–] LillyPip@lemmy.ca 27 points 1 day ago (1 children)

There’s already a codebase for bursting from the ground in an explosion of lava. Everyone wants that.

You’re the first person asking for a scarf, and our system doesn’t even know what a neck is.

[–] bjoern_tantau@swg-empire.de 14 points 1 day ago

Time for the old NPC-with-a-train-for-a-hat trick.

[–] Susaga@sh.itjust.works 190 points 2 days ago (1 children)
[–] tja@sh.itjust.works 103 points 2 days ago (12 children)

This comic is so old, that both should be rather easy now

[–] CanadaPlus@lemmy.sdf.org 1 points 8 hours ago* (last edited 8 hours ago)

TBF it had been a long standing problem for roughly a half century before this. Specifically birds were the thing researchers tried to identify first, which is probably the reference here.

[–] kerf@lemmy.world 168 points 2 days ago (6 children)

She did get her research team after all :)

load more comments (6 replies)
[–] Susaga@sh.itjust.works 54 points 2 days ago

Oh, yeah, the specific example listed was solved within roughly a month of the comic being posted. But the idea still applies, as seen with the twitter post above.

load more comments (9 replies)
[–] LovableSidekick@lemmy.world 47 points 1 day ago* (last edited 1 day ago) (3 children)

Way back in the 90s I did a contract job at MS Research on a project called "V-Worlds" - a world simulator similar to the Doom or Quake engine, but it was browser-based and everything was a script, so changing how the world worked didn't mean you had to restart a server, just change the scripts and new stuff would appear right in front of you.

Anyway the concept of adding accessories to the player's avatar and even having a pet follow you around came up, and I remember there was an involved discussion of how difficult/impossible that would be. The player's avatar was a special object class that represented a user, and didn't have the same capabilities as ordinary objects in the world. I remember asking, "Why isn't the avatar just a world object the player happens to control? Then you could do all kinds of cool stuff like let the player transform into something else just by switching objects, or let another player run your character." Dead silence. I was just a contractor, what did I know?

[–] MonkeMischief 1 points 5 hours ago* (last edited 5 hours ago)

A browser based Doom or Quake engine world sim to run around playing with others sounds like such an awesome concept. I'd love that!! And in the 90"s no less. That would've been crazy impressive.

Microsoft and MMOs, man. I remember they were gonna make a really neat online fantasy one for the Xbox and canned it, too.

That's such a wild story. Thanks for sharing that with us! I wish they wouldn't have cold shouldered you like that...

Here's how I was imagining that went down the whole time I was reading it lmao. Just for you.

load more comments (2 replies)
[–] SkunkWorkz@lemmy.world 60 points 1 day ago (9 children)

Game director : we’re gonna add interact-able doors with proper door opening animations for the characters

The game designers:

The programmers and artists:

The producers:

[–] MonkeMischief 31 points 1 day ago* (last edited 1 day ago) (4 children)

Now we need to decide in the case of collisions if:

  • Doors violently push anyone out of the way, possibly "crushing" them into walls or
  • Force themselves back closed, turning any random NPC / obstacle on the other side into an unbeatable lock or
  • Just trap an unfortunate NPC in a corner on the other side, or
  • If they use the physics system to swing open, in which case they'll look smooth but possibly bonk the player/actor going through them a few times and could potentially (and comically) insta-kill them if physics is feeling grumpy.

The frustratingly comedic unintended results of any choice makes for great organic marketing though.

Gamedev is magical.

Aside: Know what did this really well though? Resident Evil games after RE:4.

The ability to "slowly quietly open", and then at any time decide to violently action-hero kick it open to send a zombie on the other side flying, was genius.

load more comments (4 replies)
load more comments (8 replies)
[–] tiredofsametab@fedia.io 16 points 1 day ago (1 children)

Player? Easy. Scarf? Easy. Wearing a scarf? That depends on a lot of factors such as which part of the body, how the models were made and rigged, etc.

[–] Baggie@lemmy.zip 4 points 1 day ago

And if it like blows in the wind that's a whole jigglebone system and wind simulation that's a lot of stuff going on

[–] tetris11@feddit.uk 97 points 2 days ago* (last edited 2 days ago) (17 children)

Well yeah, we have a character model for the giant demon and the giant demon has a huge use case.

A scarf? That's a model extension. Either you're asking me to create a whole new character with a scarf baked into the mesh that will deform weirdly as the character moves, or you're asking me to implement an accessory-anchor system all for the sake of a scarf (albeit other accessories might use this new framework) which will then need a physics/cloth sim to even look half good.

[–] Natanael@infosec.pub 28 points 1 day ago (1 children)

You could import fabric physics and just have it lie there, but that's going to be a bigger hit on performance than you possibly can imagine and it will move weirdly (in large part becomes we're not modeling wind, just fabric in a vacuum) and the model features it will lie on top of won't deform accurately from the simulated weight, etc...

load more comments (1 replies)
load more comments (16 replies)
[–] frezik@midwest.social 45 points 1 day ago* (last edited 1 day ago) (3 children)

Always have to remind myself of this when managers ask me if something could be done. If it's easy, I naturally get a little annoyed that they're even asking. But knowing that is my job, not theirs, and it's good that they ask. There's lots of places where they assume and things go badly.

load more comments (3 replies)
[–] pewpew@feddit.it 63 points 2 days ago (9 children)
  • "Can you make the player be able to summon a monster from the fifth dimension?" "Yes ok ez lol"
  • "Can you make the player able to exist in the world without having it fall though the ground?" "You are asking too much mate"
load more comments (9 replies)
[–] TheBat@lemmy.world 3 points 1 day ago

Sure. Player character? No.

[–] nokturne213@sopuli.xyz 28 points 1 day ago (14 children)

I just want a game that lets my avatar be left handed.

[–] Sylvartas@lemmy.dbzer0.com 38 points 1 day ago (6 children)

As a gameplay programmer, I got anxiety from reading this (and I think the animators are already in a fetal position on the floor)

[–] Knock_Knock_Lemmy_In@lemmy.world 26 points 1 day ago (12 children)

Can't you just swap x for -x. Run some unit tests just in case. We'll push to prod next Wednesday. Sound good? Got to dash, strategy meeting started 5 minutes ago. Seeyoubye.

load more comments (12 replies)
load more comments (5 replies)
load more comments (13 replies)
load more comments
view more: next ›