this post was submitted on 10 Apr 2024
11 points (100.0% liked)

Programmer Humor

34877 readers
50 users here now

Post funny things about programming here! (Or just rant about your favourite programming language.)

Rules:

founded 5 years ago
MODERATORS
 
top 50 comments
sorted by: hot top controversial new old
[–] [email protected] 4 points 1 year ago* (last edited 1 year ago) (4 children)

One of the things I like most about my customer-facing technical role is that users find the craziest bugs. My favorite is a bug in a chat program that would keep channels from rendering and crash the client. The only clue I got was "it seems to be affecting channels used by HR more than other departments, but it's spreading."

Turns out the rendering engine couldn't handle a post that was an emoji followed by a newline and then another emoji. So when the HR team posted this, meaning "hair on fire" it broke things:

🔥
😬
[–] [email protected] 2 points 1 year ago

Gotta love user reported bugs. I had one that reported a product of ours crashed only on Mondays. We spent a total of 5 minutes thinking of a cause and appointed customer support for a Friday morning. Lo and behold the app still crashed.

In this case the app only crashed on Mondays... because that's when this user actually used the application

[–] [email protected] 1 points 1 year ago

User reported bugs can be wild. I had one where the user was tapping a button repeatedly so fast that the UI was not keeping up with the code and would no longer sync certain values properly. I'm talking like tap the button 15 times in a second. Another issue involved flipping back and forth between the same page like 10 times then turn the device Bluetooth off and immediately back on.

[–] [email protected] 1 points 1 year ago* (last edited 1 year ago)

Before we had mindblown emoji, we had this.

💥
😳
[–] [email protected] 0 points 1 year ago (1 children)

Why would you post this, my phone exploded and took a shit. I didnt know it could do that.

[–] [email protected] 1 points 1 year ago

Be thankful it didn't take an explosive shit.

[–] [email protected] 4 points 1 year ago (3 children)

One of my favorite examples of the difficulty in idiot-proofing things comes from a national park ranger talking about the difficulty of designing a bear-proof garbage can. He said "There is considerable overlap between the smartest bears and the dumbest humans."

[–] [email protected] 2 points 1 year ago (6 children)

Lmao, yeah.... You can make a can so secured a bear definitely won't get in; but will people go to the effort to use it then?

Definitely some overlap there.

load more comments (6 replies)
load more comments (2 replies)
[–] [email protected] 3 points 1 year ago

The act of someone sitting at a brand new Mac, with a never-before-used interface, and immediately clicking the computer icon to drag it to the trash, is such a powerful image for me.

The statement of, "this is what I think of this computer" is so strong, because I have to believe that whomever did that must have been a tech person to be at the event; but perhaps they just thought it was a shortcut and didn't like shortcuts on their desktop so they tried to remove it? Like, you can do this with Windows.... Because the computer object (in Explorer) is immutable, and any reference to it is simply a link to that object.

I prefer the thought of them just being like "this computer is trash" and doing that, and causing the system to crash.

[–] [email protected] 2 points 1 year ago (2 children)

I’m a user experience designer. My favourite story is from aviation engineering. I don’t remember the year or all the details, but the US Navy had put stupid amounts of money and time into engineering a new fighter jet. It was worked out on paper and built to exact specifications. Then, during the first human test of it, the pilot ejected on the tarmac before it took off. The plane crashed, obviously, but the pilot couldn’t explain what happened (apparently he had a concussion from his unscheduled landing).

The plane was built again, and shortly after takeoff, the pilot again ejected without explanation.

What the fuck was going on?

In the retelling I heard, someone finally noticed the design of the cockpit was to blame. In trying to cram all the standard controls plus new ones into the smallest amount of space, the designers had moved the eject lever right next to the lever to adjust the seat position – they’d coloured the eject lever red, but the pilot couldn’t see that since it was below and slightly to the right of his ass, and both levers were the same size and shape. Nobody noticed this was a problem until at least two pilots accidentally ejected on takeoff.

This might be apocryphal, I don’t know, but I learnt it as an example of how things might look good on paper, but you can’t really know until a user fucks everything up.

[–] [email protected] 1 points 1 year ago

My favourite story about aircraft design about some of the design mistakes on the F-16 fighter.

The F-16 was the first fly-by-wire fighter. They didn't have much experience with it, and tried out some new things. One was that instead of having a stick between the legs of the pilot they used a side stick. And, since everything was fly-by-wire they didn't need the stick to mechanically move. They decided they'd just use a solid stick with pressure transducers, since it was simpler and more reliable than a stick that moved.

The trouble was that the pilots couldn't estimate how much pressure they were using. This led to the pilots over-rotating on take-off (pulling back too hard). Even funnier was that at early airshows, when the pilots were doing a high-speed roll, you could see the control surfaces twitching with the heartbeat of the pilots as they shoved the stick as hard as they could to get maximum roll.

That led to them adding a small amount of give to the stick, essentially giving the pilots feedback on how hard they were pushing the control surfaces.

Another more subtle issue with the design was that originally the stick was set up for forward, back, left and right aligned with the axes of the plane itself. But, they discovered that when pilots pulled back on the stick, they were pulling slightly towards themselves, causing the plane to also roll. So, they realigned it so that "pulling back" is slightly pulling towards the pilot's body, rather than directly along the forward / backward axis of the plane.

[–] [email protected] 1 points 1 year ago (1 children)

Id hardly call that a user fucking things up, that's not even good on paper. Those are a retarded pair of things to have next to one another regardless of any coloring on them. Especially with the same handles

[–] [email protected] 3 points 1 year ago* (last edited 1 year ago) (1 children)

I'm not a fighter pilot, but when I think "ejection", can't imagine anything but a high-stress situation where the pilot doesn't have time to figure out which is the ejection lever. Imagine a real emergency where the pilot grabs the wrong lever, gently slides back with the seat, and then fucking dies on impact.

[–] [email protected] 1 points 1 year ago

"Gently slides back" 😂

[–] [email protected] 2 points 1 year ago
[–] [email protected] 2 points 1 year ago (1 children)

If you ever think "an actual human couldn't possibly click that fast", you are wrong. Debounce your critical actions.

[–] [email protected] 1 points 1 year ago (1 children)

It doesn't matter if a human can't, some idiot is going to open an autoclicker at 1000cps and break it

[–] [email protected] 3 points 1 year ago

I promise you I have done exactly that, i had an auto clicker bound to my space bar and was to lazy to click and would just hold the space bar down when I knew that I was going to click a bunch of gui buttons.(which I though wouldnt be problem) Quickly learned some programs don't like it at all. Lol

[–] [email protected] 1 points 1 year ago (2 children)

The closest I ever got to this story was working help desk in 1996. A user called up saying they had deleted the Internet.

Took me a while to understand he dragged “the Internet” to the recycle bin on the desktop.

[–] [email protected] 2 points 1 year ago

Was it Jen? She was entrusted to take care of the Internet by Roy and Moss, and she did a piss-poor job of it.

[–] [email protected] 0 points 1 year ago (1 children)

Yes! I remember this happening a lot, and I could never really truly understand the thought process behind it! But the thing is, this is still happening today, just in different context, and it's still equally as baffling!

[–] [email protected] 1 points 1 year ago (1 children)

It just means that they called their browser “the internet” right? Or am I missing something here?

[–] [email protected] 1 points 1 year ago* (last edited 1 year ago)

It was an actual icon:

(found the image here https://mastodon.social/@benjedwards/11031604817437112)

I don't remember what it did though. I think it wasn't the browser, and I have a vague memory it wasn't for dial up either, but my memory's shit so I personally wouldn't trust me on that

Edit: had to look this up, it was IE. I think I didn't remember it because I never really used IE since I started off with NCSA Mosaic and then Netscape

[–] [email protected] 1 points 1 year ago (2 children)

As a programmer, I consider The User to be the enemy. No matter how thoroughly I seemingly test my code, the second the user gets their hands on it, it breaks left and right from all the crazy shit they do.

[–] [email protected] 2 points 1 year ago

“Huh, I wonder” has been driving general scientific progress and heart failures in engineering since forever.

[–] [email protected] 0 points 1 year ago (1 children)

I was a QA engineer. I think one of the guys on the team I was on developed a stress response from hearing me walk over to his desk.

Lots of "page crashes if the user doesn't have a last name"

"Why wouldn't they have a last name??"

"No idea, but 372 users in the DB don't, and 20 of them were created this month so it's not an old problem"

"incoherent muttering and cursing"

[–] [email protected] 1 points 1 year ago

Some cultures don't use last names.

[–] [email protected] 1 points 1 year ago

QA today seems to just be releasing software in whatever state and maybe fixing it later.

[–] [email protected] 1 points 1 year ago

Game makers should hire me to test their maps, if there's a spot where I can get 100% stuck no matter what, you bet your shiny metal ass I'll find it.

[–] [email protected] 1 points 1 year ago
[–] [email protected] 0 points 1 year ago* (last edited 1 year ago) (7 children)

That's a very funny anecdote about Apple that I can find no evidence of ever actually happening. Leaving aside the fact that Xerox had GUI, including the modern WIMP GUI we're all familiar with today, in 1974. The Apple Lisa was released at least a year before the Macintosh 128K came out in 1984. As much as I love the idea of Apple making such an amateur mistake, I'm going to need a reputable source before I believe that story actually happened.

Edit: I'm seeing a lot of "it's technically possible" but still no sources to confirm that it actually occurred. Until a a verifiable source emerges, I'm still going to assume this story never actually happened. Anyone have Woz's contact info? We could always just ask him.

[–] [email protected] 1 points 1 year ago (1 children)

I've seen multiple new users drag Macintosh HD or Documents to Trash in literally the first minute of using a computer. It was perhaps the most common first action I witnessed. Fortunately, none of them located the "Empty Trash" command before I stepped in.

It never crashed the system, but this was in the 90s when we were already on System 7 or even OS 8, so I'm not sure how the older versions handled it. Dragging a disk icon to the Trash on the classic Mac OS ejected the disk, so I wouldn't be surprised. Simply dragging the System Folder shouldn't cause an instant crash, but it would fail to boot if you restarted for sure. So the story could be mostly accurate but just missing a step.

[–] [email protected] 1 points 1 year ago (1 children)

Speaking from experience, it functionally ruined them, at least the early macs -exact os/model unknown- we had (school computers well behind the curve and all). They’d need to be reformatted after. It would delete, then iirc just crash and you’d reboot into errors (my memory of this is spotty, it was a very long time ago)

I used to do that in the computer lab when I was supposed to be doing typing practice. Fucking hate typing “properly”.

Note: I am not a verifiable source, this is anecdata.

[–] [email protected] 1 points 1 year ago

Maybe you had ones with built-in hard drives which, if ejected unexpectedly, may have caused problems on early Macs.

But there was and still is no "computer" icon on the Mac OS desktop, and dragging a disk to the trash just ejects it.

load more comments (6 replies)
load more comments
view more: next ›