r/softwaregore • • Feb 24 '18

Hmm...

Post image
36.6k Upvotes

379 comments sorted by

3.9k

u/imarrangingmatches Feb 24 '18

More entertaining than

Something happened

Something happened

88

u/Momochichi Feb 24 '18

I'm a moron who pushed "congratulations, you found a bug. If you see this, claim your prize from Momochichi" to production. Client found it, and there was a short search for whoever momochichi was in my company.

30

u/albinoloverats Feb 24 '18

Could they not have used git blame (or similar) to find out who added the message? Or was that why it was only a short search?

50

u/Momochichi Feb 24 '18

No, the search was basically the question "who's momochichi" being emailed from the client to our project manager, cc our cto and ceo, along with a screenshot. I was the only momochichi in the entire company, so I got "retraining" in proper error handling.

→ More replies (1)

6

u/[deleted] Feb 24 '18

Error

Execute Error 66

→ More replies (1)

0

u/[deleted] Feb 24 '18

[deleted]

509

u/ablablababla Feb 24 '18

what if it wasn't supposed to work, so the success was actually an error?

202

u/1kSupport Feb 24 '18

When you compile code for the first time and everything works as intended is honestly scarier than bugs

→ More replies (15)
→ More replies (10)

135

u/standish_ Feb 24 '18

I have seen Error: This is not an error.

ok

→ More replies (11)

31

u/CausticInt Feb 24 '18

errno 0

In the standard C library a global value called errno gets set after invoking a function. Chances are some check caused a function to output the current human equivalent string of what errno was set to, even though no error occurred. And it was 0. Which is "Success"

→ More replies (1)
→ More replies (6)
→ More replies (2)

2.1k

u/sempf Feb 24 '18

We all have these stories.

Once, I wrote a Windows Service (fatherforgivemeforihavesinned) that watched to make sure a data transfer occurred. It had an output file, and if it couldn't find it, there was an exception. I had a dialog while I was testing that just said "you're fucked" that was SUPPOSED to be removed but of course I forgot.

Seven years later, the client moved the service to a machine without the D: drive and found the error. I got the strangest email...

328

u/Davidfreeze Feb 24 '18

Hahahaha I put shit like that in my code for debugging. Maybe I should stop

163

u/slashuslashuserid Feb 24 '18

let's be real, everyone knows it's bad and does it anyway because it's just too damn convenient

74

u/Pseudofailure Feb 24 '18

Let's be real, everyone it's hilarious and harmless and does it anyway because who cares about overly sensitive conformists.

34

u/while_e Feb 24 '18

The key is to use the same word or phrase, then you can grep your source before release.

66

u/Raestloz Feb 24 '18

If I do it, it'd be something like

"You're fucked"

"You're absolutely fucked"

"You're really fucked"

"You've done fucked up"

and I'd only search for "You're fucked", found a bunch of it, and ship the software blissfully forgetting the rest

→ More replies (2)

5

u/zdakat Feb 24 '18

If there's a frustrating problem, I'll sometimes put in messages like that to amuse myself while I debug. It still tells me what the program is doing(or not doing) but more fun.

→ More replies (1)

182

u/boing_boing_splat Feb 24 '18

The D: drive is my favourite drive cos

D:

26

u/SurpriseAnalProlapse Feb 24 '18

Mine too! I named my first D: Plunder

14

u/HelloThisIsFrode Feb 24 '18

You can name them? O M G how???

Edit: or it’s just a joke and I’m stupid lol idk help)

→ More replies (7)
→ More replies (1)

37

u/son-of-chadwardenn Feb 24 '18

Once uncovered an error condition in dev that logged as "problem with the shit". It had been in the code longer than our revision history went back. Created a new ticket titled "reduce app profanity".

4

u/sempf Feb 24 '18

I know it's over used but I literally lold

19

u/[deleted] Feb 24 '18

I was coding up a ridiculous event detector once and was nesting if trees (listen man it was like my third big project). I was putting in a vector that I knew should have results, but it kept erroring out, but I couldn't tell where.

My natural solution was to put print("You're fucked") in one place and then "You're fucked 2", "You're fucked 3" etc. etc. so that I could see where it popped.

Worked pretty well.

11

u/Moonchopper Feb 24 '18

Luckily, all of my scripts are just for impromptu house use, so in some cases I just nest 2 or 3 ifs and, at the end of it all, put "else { print "This should never happen. Notify Moonchopper." }

Maybe I should make mine a little more flavorful...

→ More replies (5)
→ More replies (1)

12

u/brando56894 Feb 24 '18

"Why is my computer telling me I'm fucked??"

→ More replies (1)

8

u/while_e Feb 24 '18

7 years later? Wtf?

→ More replies (8)

4

u/greenkey Feb 24 '18

I live the fact that the problem was that the drive was missing... Like WTF D:

→ More replies (1)
→ More replies (2)

1.2k

u/BlowsyChrism Feb 24 '18

The worst is when you are trying to fix something and think who the fuck coded this? Then see it was you

35

u/mylifeisashitjoke Feb 24 '18

See it can only ever be me on my shit tier side projects

But I'll be damned if I can't blame someone else's shit code

32

u/BlowsyChrism Feb 24 '18

Fair enough. It's basically me and one other dude for the most part supporting our one app. So it's either him or me... or the other guy who's not here anymore. He kinda became our default for blame heh

→ More replies (1)

15

u/[deleted] Feb 24 '18

Stumbling upon old code is like stumbling upon an embarassing high school photo.

9

u/Captain_Braveheart Feb 24 '18

“But I was looking for me the whole time! It’s the perfect crime!”

6

u/desert_igloo Feb 24 '18

A dev I know was telling me. A story of people making dumb design decisions one day. He was trying to figure out who wrote some code one day so he looked through the push request and found his name attached. He never got an answer to his question lol.

→ More replies (13)

3.1k

u/din7 Feb 24 '18

Whoever programmed this must be an idiot.

1.3k

u/DustiiWolf Feb 24 '18

It's possible this is from a framework that was distributed and packaged with the app (so it's one dev saying another dev which caused that error to trigger in another app is an idiot)

222

u/[deleted] Feb 24 '18

That made my head hurt

365

u/Gotta_Ketcham_All Feb 24 '18

If this wasn’t sarcasm... basically programmers can use other people’s code (a framework) so that they don’t have to write 100% of their code from scratch every time. This is very useful and super important. So it’s possible that this error message is from the framework they are using, rather than the code they wrote themselves.

→ More replies (17)
→ More replies (2)

14

u/lasiusflex Feb 24 '18

If you're developing a framework, you're responsible for good error management, even if the people using it are idiots.

21

u/LvS Feb 24 '18

As a framework developer, this quote very much applies.

10

u/polycarbonateduser Feb 24 '18

Whoever approved it is a BIGGER idiot

→ More replies (1)
→ More replies (4)

181

u/alexnoyle Feb 24 '18

Not gonna lie... I have written something like this before. lol

140

u/drunkcowofdeath Feb 24 '18

The number of times I have outputed "How are you seeing me?" while fixing broken if statements is staggering.

112

u/joshgreenie Feb 24 '18

Mine are "wut" "the shit" and "Testy McTesterson the 3rd"

→ More replies (12)

35

u/ablablababla Feb 24 '18

The number of times even the output statement is broken is staggering as well.

→ More replies (14)

0

u/[deleted] Feb 24 '18

[deleted]

234

u/[deleted] Feb 24 '18

If anyone took programming this serious, they'd go fucking postal.

50

u/mylifeisashitjoke Feb 24 '18

If the second day on the job aneurysm didn't kill them first

→ More replies (3)

56

u/[deleted] Feb 24 '18

Yeah of course. Someone is going to getting fired for making a joke.

→ More replies (3)

6

u/[deleted] Feb 24 '18

What an idiot

→ More replies (3)
→ More replies (1)

211

u/TheScareCrow27 Feb 24 '18

this is why u don't joke in the designing phase.

158

u/[deleted] Feb 24 '18

Programming student here. Thanks for the tip, I write the weirdest stuff in my codes to entertain myself.

44

u/[deleted] Feb 24 '18

Never stop being who you are!

16

u/DerekB52 Feb 24 '18

Keep doing it.

4

u/TheScareCrow27 Feb 24 '18

just don't do this in your assignments or your teacher will laugh.

→ More replies (17)

175

u/Fluffcake Feb 24 '18

I usually leave at least one easter egg error message for errors that would never occur, buried deep in everything I make that will never show up when running it unless you break the code: "Today is (date i wrote it), by the time you are reading this, I have moved on and you are on your own. If you are seeing this, you are either the poor sob stuck maintaining my garbage code, or someone else failed in doing so, in either case, may god have mercy on your soul." Signed with an obscure hotmail from the time before google that I check once a year or so.

40

u/fuzzynyanko Feb 24 '18

Doing some AOSP code, you find out that Log.wtf actually has a purpose

11

u/NorbiPeti Feb 24 '18

I had a program where after calling Environment.Exit(0) it'd have shown "Failed to shut down program"...

33

u/valgraz Feb 24 '18

Once saw code where the exceptions where: 'oops'

'error'

'bullshit'

'unbelieveblebullshit'

Never found out what the later ones looked like.

61

u/diamened Feb 24 '18

I used to put some "Oops, distracted programmer" popups on code that I should remember to strip off before production. Good times

14

u/Kuckmage Feb 24 '18

Backdoor insults.

23

u/Speedracer98 Feb 24 '18

the real idiot is the one that clicks the OK button.

me

7

u/ShiversTheNinja Feb 24 '18

For some reason all I can think of is this.

7

u/[deleted] Feb 24 '18

In a big internal application we found a bunch of Developer error! messages triggered by obscure reasons; I can't remember if we ever dug into why. Our easy fix was just to change that handler to say User error!. No longer our problem...

6

u/Shoverette Feb 24 '18

This is not software gore. It's just pure honesty.

6

u/a1454a Feb 24 '18 edited Feb 25 '18

I used to do shit like this during my early days of programming. Thinking I was so smart I thought of every possible code path and places the code should never reach and if reached have a message similar to this.

Then when the software goes into production, what almost always happen is there will be a situation I never thought of that will just cause the code to reach it and of course user complains about it, but then when I asked what the error was. It wasn't exactly helpful. I know where this error is, but I still have zero clue how it got there.

Many years and painful lessons of my own making later, today I just try to structure code in a way that these impossible code path simply don't exist, or when unavoidable, I don't error handle at all and just let the whole thing crash and burn. At least I get a very detailed message telling me how I fucked up

5

u/[deleted] Feb 24 '18

Reminds me of the fact that in the Japanese version of Paper mario you can access some dialogue that wasn't supposed to appear and it has similar messages left by the devs

4

u/satan_rocks_my_socks Error 404: flair not found Feb 24 '18

Why does the title of the error look different than the other text

→ More replies (3)

4

u/the_king_of_sweden Feb 24 '18

Can confirm, am programmer and also idiot

7

u/Jabulon Feb 24 '18

i just now realized how relative the word "idiot" is

1

u/Totalingearth5 May 03 '18

That looks pretty photoshopped...

2

u/[deleted] May 05 '18

How?

1

u/Totalingearth5 May 11 '18

Im not saying it is, im just saying it looks a little photoshopped...

2

u/[deleted] May 11 '18

How?

→ More replies (3)
→ More replies (1)

3

u/[deleted] Feb 24 '18

Reminds me of the notification I used to get on Parallel Space that said "This should not be seen. Tap to make this disappear. "

3

u/Creator13 Feb 24 '18

This is the kind of error message I put in an impossible catch clause or an (almost) unreachable else condition. If the program runs into those errors something is really terribly wrong.

3

u/mrdumbphone Feb 24 '18

Having worked in enterprise software, I feel this. Definitely put a few of those in ;)

3

u/Vega3gx Feb 24 '18

I sometimes use this kind of thing in C because if I want a Boolean variable, I have to use an unsigned integer. If I really screw up, it will end up with some value that isn't 1 or 0 and break the whole program.

→ More replies (4)

3

u/qubist1 Feb 24 '18

I built an error message that I was convinced no end-users one would ever see into some software recently. Luckily I made it serious and informative because sure enough, hundreds of people now receive that error message every day. I really have to get off reddit and fix that issue...

3

u/killmeplsimsupahstar Feb 24 '18

Win a free (undefined) just by going on to google!

1.Google.com 2.Google wet koala! 3.Google lemon party! 4.Google memz download! 5.Download memz and start it! 6.Memz is an amazing editing program for the peeps that are lazy!

3

u/JNCressey Feb 25 '18

if (false) {echo "why is this part of the code executing!??!"}

2

u/umbrellaedinfraction Feb 24 '18

Cleavege among purloiners

2

u/[deleted] Feb 25 '18

Looks like something I'd do in my own code.

2

u/isopat Feb 25 '18

damn error messages,tell me something I don't already know

2

u/[deleted] Feb 24 '18

Wait a second... How did this happen? We're smarter than this!

2

u/[deleted] Feb 24 '18

That looks photoshoped

11

u/RoBobik Feb 24 '18 edited Feb 24 '18

Is “photoshop” now a synonym for “fake”? You can just use PowerShell and create whatever system dialog you want with a single command. Why bother using Photoshop?

Edit: I looked at it again on bigger screen and it looks sketchy as fuck, so you were most likely right. The heading does not really match the message text. The heading is way sharper. I compared this image with the real system dialog and it certainly looks different. See the comparison

Edit 2: Maybe it has to do with DPI scaling but still it looks weird. Someone test it with different scaling while I go get my pitchforks.

5

u/Type-21 Feb 24 '18

You know how Windows themes are completely customizable? This user could be using a different font for normal text but not for window titles.

4

u/Sephonik Feb 24 '18

I'd say it's something to do with the font, it looks a bit odd. Then again it could just be a program I haven't seen before.

9

u/altnumberfour Feb 24 '18

What you said is true, but this just looks photoshopped.

1

u/AkshayD110 Feb 24 '18

I can only imagine Sales (or someone else) putting a gun at programmers head and making him include this.

1

u/Rhaifa Feb 24 '18

My text for exceptions that really shouldn't happen goes along the lines of 'Huh?', 'What?' and 'the fuck?!'. With of course a different one for every exception.

1

u/RottenPeachSmell Feb 24 '18

Well, hey, it's better than the program soft-locking.

1

u/Ationsol Feb 24 '18

I would say that great pop up makes up for it

1

u/yorgaraz Feb 24 '18

computer thinking: should i try{ or should i catch(?

1

u/[deleted] Feb 24 '18

I like that its wants us to say 'Ok'. Like 'Nah bruh!, That's fine. I gotchu.'

1

u/[deleted] Feb 24 '18

I think it's more like "uhum, i see, i comprehend the situation, i'll move on now"

1

u/PM_ME_YOUR_NACHOS Feb 24 '18

So what do we do if say.. not that it happened.. but if this was to happen? Asking for a friend of course.

1

u/lpreams Feb 24 '18

"The compiler made me catch this exception, but it's impossible for it to ever get thrown"

1

u/DaemonAfterdark Feb 24 '18

"Ok" is the most appropriate response to that.

1

u/CptHyde Feb 24 '18

Yet it was programmed to say that.

1

u/[deleted] Feb 24 '18

1

u/Xiefux Feb 24 '18

they're idiots

1

u/Liberalem Feb 24 '18

I wrote ones an error with texted: impossible program error. And yes it came on the clients sceen when sonething happened that shouldn't have occured. Glad that he could laugh about it.

1

u/[deleted] Feb 24 '18

I used to put things like this into my programs in college to mess with the professors. Like one professor only used a Mac to grade our projects and when he would close the program he would use "stupid squiggly Apple key + q" to exit, so I made it pop up an error window if the "stupid squiggly Apple key" was pressed that said something like "please use "alt + f4" or the GUI to close.

1

u/[deleted] Feb 24 '18

rm -rf /

1

u/[deleted] Feb 24 '18

lol

1

u/[deleted] Feb 24 '18

When you wrap the entire program in a try except

1

u/btcftw1 Feb 24 '18

I would say that great pop up makes up for it

1

u/NoSirThatsPaper Feb 24 '18

An actual ID10t error.

1

u/[deleted] Feb 24 '18

God damnit Mark.

1

u/PhoeniX_XVIII Feb 24 '18

Programmer humor?

1

u/ibreakservers Feb 24 '18

Ahha! I see you've found my code. Although it should read ..."the other programmers are idiots." Seriously though the amount of prototyping code that ends up in production is scary, I'm not surprised this shit happens.

1

u/noxumida Feb 24 '18

Why wouldn't you put at least a LITTLE information about what the potential error might be? This is infuriating!

1

u/[deleted] Feb 24 '18

This is probably done with a batch file on purpose

1

u/ubscal Feb 24 '18

This reminds me of paper Mario

1

u/BarkingDog7 Feb 24 '18

This is how I talk down to myself while programming. I put something like "Oh an error, well fuck me sideways" followed by "Would you like to send this error to the idiot developer that made this happen to you?"

1

u/xiexiexie Feb 24 '18

Wtf who coded this bs?!

  • Was me Oh..

1

u/honeydoodh Feb 24 '18

Do the engineers put this in for real?

1

u/ahmetalpbalkan Feb 24 '18

Clearly photoshopped (or Paint'ed)

1

u/UltimateKingGuy Feb 24 '18

"idiot" programers

1

u/bubbasann Feb 24 '18

Intelligent self-deprecation: there's no better way to motivate one's self 🤔😅

1

u/[deleted] Feb 24 '18

That. Is. Hilarious!

1

u/Dr_Legacy Feb 25 '18

The text was meh, that's not news. LOL at the title, though.

1

u/ItsRainbow Mar 09 '18

This comment shouldn’t appear. If it does, too bad.

1

u/[deleted] Mar 28 '18

Wtf?

1

u/conspit Apr 16 '18

|Denied| |Yes no)| |______|

1

u/Srelathon Apr 24 '18

Something very similar was actually discovered in Paper Mario 64 a while back. Stryder7x made a video covering it which you can find [here] (https://youtu.be/7a9N0k35jak)

1

u/mac44444alt2 AAAAAAAAAAAAAAAAAAAAA Jun 16 '18

The program is becomming self-aware.. Shut it down immediately!

1

u/NoNameRequiredxD Jun 26 '18

Paper mario refferance

1

u/Welsh32445544 Jul 02 '18

You know its bad when the PROGRAM is calling THE PROGRAMMERS idiots

0

u/0x1A4life Feb 24 '18

so we're just upvoting fake images now?

7

u/LeonardMH Feb 24 '18

Yes that’s what we do

3

u/WHY_DO_I_SHOUT Feb 24 '18

It may well be real. Programmers sometimes add "this shouldn't happen" popups to debug, and may forget to remove them before releasing the program.

→ More replies (1)

1

u/thespookiestboi Feb 24 '18

Honestly wish this popped up with any crash/bug.

0

u/[deleted] Feb 24 '18

[deleted]

348

u/Typewar Feb 24 '18

No answer from OP. He probably made it himself

173

u/kcazllerraf Feb 24 '18

OP is an idiot confirmed

19

u/[deleted] Feb 24 '18

Idiot and bamboozler!

Where's my bamboozleinsurance?

→ More replies (1)

17

u/kasbrr Feb 24 '18 edited Jun 28 '24

school upbeat sugar market growth hospital pathetic humor include obtainable

This post was mass deleted and anonymized with Redact

47

u/citewiki Feb 24 '18

It's easier to make the dialog box for real than to use Photoshop for it

14

u/x86_real_mode Feb 24 '18

MessageBox.Show("This shouldn't appear...if it does, the programmers are idiots.", "What the hell");

10

u/cfogarm Feb 24 '18

MessageBox(hWnd, "This shouldn't appear... if it does, the programmers are idiots", "What the hell", MB_OK);

FTFY

7

u/Sophira Feb 24 '18

Why do you say that?

24

u/korrakas Feb 24 '18

He  can tell from some of the pixels and from seeing quite a few shops in their time, probably.

16

u/kasbrr Feb 24 '18 edited Jun 28 '24

screw subtract liquid combative cheerful cooing plate payment attraction money

This post was mass deleted and anonymized with Redact

80

u/Sophira Feb 24 '18

That's actually because of a feature called DPI Virtualization. Basically, if a program doesn't natively support different DPI values (aka. isn't DPI-aware) then Windows will fake it by telling it to render the client area at 96 DPI, then scale it up for display. The title and window decorations, however, aren't part of the client area - they're rendered by the OS itself and are not scaled up. This means the title looks clear, while the main window looks blurred!

12

u/kasbrr Feb 24 '18 edited Jun 28 '24

cagey strong faulty scale shaggy sort truck run plant worthless

This post was mass deleted and anonymized with Redact

10

u/Sophira Feb 24 '18 edited Feb 24 '18

No problem! If you've never actually used the DPI settings from Windows Vista onwards and just left it at the default, you wouldn't actually have seen this, but I've seen this sort of thing quite a lot.

It's a bit unintuitive, because this is a standard OS-provided message box command and you'd think that the OS would know how to render its message boxes while never using DPI Virtualization at all, but it turns out to do that if the actual program needs it, even though it shouldn't have to do that for its own layouts. *shrugs*

[Edit: if you've actually used -> if you've never actually used]

2

u/WikiTextBot Feb 24 '18

Dots per inch

Dots per inch (DPI, or dpi) is a measure of spatial printing or video or image scanner dot density, in particular the number of individual dots that can be placed in a line within the span of 1 inch (2.54 cm).

Monitors do not have dots, but do have pixels; the closely related concept for monitors and images is pixels per inch or PPI. Many resources, including the Android developer guide, use the terms DPI and PPI interchangeably.


[ ^PM | Exclude ^me | Exclude from ^subreddit | FAQ / ^Information | ^Source | ^Donate ] Downvote to remove | v0.28

1

u/rongkongcoma Feb 24 '18

But a font is usually vector, shouldn't that be sharp at every size?

4

u/sampul1 Feb 24 '18

It renders the font at 96 DPI raster and upscales it.

1

u/Artorp Feb 24 '18

If programs are DPI aware, yes. Usually they're not, and Windows must scale it up after the program renders the window. There used to be a time when all programs claimed to be DPI aware without actually doing anything, so they'd end up tiny. Thankfully that doesn't happen much anymore, and when it does it is now possible to override the DPI scaling.

1

u/fwipyok Feb 24 '18

you said it yourself: usually
plus, there are vector fonts (ttf) that are made to be rendered at a specific size only (proggyfonts, unifont, gohufont, etc)

1

u/wikividibot Feb 24 '18

I'm a bot. Here's the Wikipedia article as a video: wikividi.com/?t=Dots_per_inch

0

u/[deleted] Feb 24 '18

[deleted]

1

u/kasbrr Feb 24 '18

I was only wondering about the top text being a lot sharper but the guy below explained it

0

u/[deleted] Feb 24 '18

[deleted]

5

u/Artorp Feb 24 '18

That's probably just DPI scaling, it happens when a program doesn't know how to render on high DPI monitors so Windows must scale it up. The title bar is rendered by Windows, so it's in a correct size. It might look weird if you don't use the DPI scaling feature, but it's something I see every day.

0

u/[deleted] Feb 24 '18

[deleted]

4

u/alexkayownsabus Feb 24 '18

I think we found the original programmer.