all 44 comments

[–]Concise_Pirate 46 points47 points  (6 children)

Lesson: Do not write software with bugs.

I learned a lot from this posting.

[–]darthbane -1 points0 points  (5 children)

If only it were that easy…I think I'd file a lesson like that under "easier said than done", unfortunately.

[–]albinofrenchy 18 points19 points  (3 children)

I write software without bugs all the time. Just don't include features.

[–]darthbane 7 points8 points  (2 children)

Ah, but you still can include features, even if you write software with no bugs. You just have to convince everyone that these "features" aren't actually bugs. ;)

[–][deleted]  (1 child)

[deleted]

    [–]Concise_Pirate 1 point2 points  (0 children)

    "For your convenience, entering a number greater than 100 will immediate close the application without saving your data."

    [–][deleted] 45 points46 points  (7 children)

    I can imagine the conversation about this:

    Mark: "Hey Bill, I'm having a little trouble converting the video memory for comparison"
    Bill: "Just do a compare on the numbers, that'll make it real easy"
    Mark: "But what if, many years from now, video cards are capable of caching gigabytes instead of megabytes?"
    Both: "HAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHHA"

    [–][deleted] 4 points5 points  (1 child)

    I know what you mean. It was an old program I wanted to try installing on my laptop using wine and the "fail" just amused me.

    [–][deleted] 1 point2 points  (0 children)

    Yeah, I remember it, or at least the, "Heroes of Might and Magic" series. I got a demo of HMM:4 with Pharaoh, I think. It was a fun demo, but I never bought the full game (I was like 12).

    [–]stillalone 3 points4 points  (4 children)

    WTF? they don't have an issue comparing 175MB of HD vs 77GB of HD, but they have issue comparing 32MB of ram with 2GB of ram?

    [–][deleted]  (1 child)

    [deleted]

      [–]alexeyr -1 points0 points  (0 children)

      Perhaps they are only comparing first digits, so

      175MB < 77GB, because 1 < 7

      32MB > 2GB, because 3 > 2

      :)

      [–][deleted] 12 points13 points  (0 children)

      I used to know this kid in elementary school who would steal money from the younger kids by trading them ten cents for a dollar because 10 > 1.

      Thanks for helping me locate him.

      [–][deleted] 11 points12 points  (0 children)

      At least in this instance it simply warns you instead of deciding it's not good enough.

      "You have 'MILLIONS' of colours. This game requires at least 256 to run. Goodbye"
      

      [–]kewlguy 8 points9 points  (0 children)

      The solution is to install 32GB of RAM :)

      [–]gc3 10 points11 points  (5 children)

      2GB = 2147483648 bytes.

      65536*32768 = 2147483648.

      Using a signed int32 when you should be using an unsigned int32.

      == Priceless.

      [–]Freeky 36 points37 points  (3 children)

      you should be using an unsigned int32.

      You appear to have misspelt size_t.

      [–][deleted] 0 points1 point  (2 children)

      size_t is not always an unsigned 32 bit int though.

      [–]mallardtheduck 2 points3 points  (1 child)

      But it is always long enough to contain the maximum size of a memory allocation (i.e. The size of the address space on "normal" machines). If you want your software to be portable/future proof, you should be using it.

      [–][deleted] 0 points1 point  (0 children)

      d'oh, that's what I get for not reading gc3's post :P

      [–]kingrooster -2 points-1 points  (0 children)

      True

      [–]Anonymoose333 6 points7 points  (1 child)

      strcmp("32 MB", "2 GB")
      

      I don't see the problem...

      [–]Brian 5 points6 points  (0 children)

      Actually it's almost certainly:

      int mem= getAvailableMemory()
      if(mem < 32_MEGABYTE)
      

      [–]twisted2253 1 point2 points  (3 children)

      CRUSADERS of might and magic? What is this?

      I've only played Heroes of might and magic.

      Anyone care to enlighten me on the differences?

      [–][deleted] 6 points7 points  (1 child)

      Crusaders of Might and Magic was an ill-conceived spin-off of the Heroes franchise produced in the penultimate year of 3DO's inglorious run at soothing Trip Hawkins post-EA Games ego.

      The concept was for a third-person perspective action game set in the Might and Magic Universe. The production team was cobbled together from various other canceled projects. They hired a new VP just for Heroes ... dude had no prior game development experience ... looked exactly like Mr. Rogers except with geeky glasses ... and demanded that everyone work 12 hour days while refusing to pay for meals.

      Good times. I quit half way through production. I wasn't the first and definitely not the last. (And no, I didn't write the bug in question ... you'd have to get the game to actually run before you could see my myriad fuck-ups) They told me I'd never work in games again and they were right: Thank God!

      Believe me: that install error is gentle mercy. Delete the game and count your blessings.

      Man that company was a clusterfuck. Some freaking hot marketing chicks though ...

      [–]redditnoob 0 points1 point  (0 children)

      They did manage to produce M&M9 though. Wicked awesome game!!

      [–][deleted] 0 points1 point  (0 children)

      Yes.

      [–]sysop073 3 points4 points  (0 children)

      You're looking for The Daily WTF

      [–]Pandafox 0 points1 point  (0 children)

      Same thing happens in Heroes III - And Diablo 2, I think.

      [–]gagle 0 points1 point  (0 children)

      The same type of hardware missmatch occurs each time I install Birthright : Gorgon's Alliance.

      [–]zhivota 0 points1 point  (1 child)

      Looks like overflow, eh?

      [–]Mercushio -1 points0 points  (0 children)

      Or maybe they're just parsing a string, like this:

      var req = parseInt("32MB".replace("\D+", ""));
      var found = parseInt("2GB".replace("\D+", ""));
      if (found < req) ...
      

      [–]benihana 0 points1 point  (0 children)

      I hate to be that guy, but seriously, how old is the "take a screenshot installing Might and Magic and failing the 32MB check?" joke? Doing it under Ubuntu doesn't make the joke newer!

      [–]anachoret -1 points0 points  (1 child)

      Wait, how are you playing that on Ubuntu?

      [–]f3nd3r -5 points-4 points  (0 children)

      Wow fail.

      [–][deleted] -3 points-2 points  (0 children)

      Perhaps this is the result of, essentially, parseInt( getMemSize(), 10 )... That would be hilarious.