The Daily WTF: Curious Perversions in Information Technology
Welcome to TDWTF Forums Sign in | Join | Help
in Search

681765,999616 bytes of data

Last post 12-04-2008 12:13 PM by Jake Grey. 24 replies.
Page 1 of 1 (25 items)
Sort Posts: Previous Next
  • 12-02-2008 5:11 AM

    681765,999616 bytes of data

    Working with the unreal engine, I found the following line in a logfile. Just a case using floats and then not displaying them at the right precision, but still worth a 11 seconds smile...
    Log: COOKEDPHYSICS: 89 TriMeshes (665.787109 KB), 1510 Convex Hulls (3610.155273 KB) - Total 4275.942383 KB

  • 12-02-2008 5:33 AM In reply to

    Re: 681765,999616 bytes of data

    TRWTF is your subject line is completely misleading, how the hell did you get 681 765 999 616 bytes out of something that adds up to ~4 275 000 bytes? Also storing file sizes as floats is WTFy too.
    irc://irc.slashnet.org/#TDWTF
    <Ling> Looks like [lotus] notes was indeed clock sucking and pissing wildly on my disk
    <Duplication_Prevention_Bot> Wow, that was a disturbing image.
  • 12-02-2008 5:55 AM In reply to

    • NSCoder
    • Top 500 Contributor
    • Joined on 07-24-2005
    • Geneva, Switzerland
    • Posts 73

    Re: 681765,999616 bytes of data

    665.787109*1024=681765.999616. Clearly kvdveer uses a comma as a decimal separator, which is fairly obvious considering there is only one of them in the number in the subject, not one every three digits.
  • 12-02-2008 6:06 AM In reply to

    Re: 681765,999616 bytes of data

    NSCoder:
    665.787109*1024=681765.999616. Clearly kvdveer uses a comma as a decimal separator, which is fairly obvious considering there is only one of them in the number in the subject, not one every three digits.
    Except, there's actually 4275kB of _data_, just 665kB of _trimeshes_. But I see your point.
    irc://irc.slashnet.org/#TDWTF
    <Ling> Looks like [lotus] notes was indeed clock sucking and pissing wildly on my disk
    <Duplication_Prevention_Bot> Wow, that was a disturbing image.
  • 12-02-2008 8:18 AM In reply to

    • pbean
    • Top 500 Contributor
    • Joined on 10-06-2008
    • Posts 54

    Re: 681765,999616 bytes of data

    I started to wonder why each and every thread got a 1-star rating and after some investigation I noticed 'fatdog' rates all of them with 1 star. :O Dubious.

  • 12-02-2008 10:21 AM In reply to

    Re: 681765,999616 bytes of data

    pbean:

    I started to wonder why each and every thread got a 1-star rating and after some investigation I noticed 'fatdog' rates all of them with 1 star. :O Dubious.

    It's a dirty job but someone's got to do it
    Ken sent me
  • 12-02-2008 10:29 AM In reply to

    Re: 681765,999616 bytes of data

    pbean:
    I started to wonder why each and every thread got a 1-star rating and after some investigation I noticed 'fatdog' rates all of them with 1 star. :O Dubious.
    I've known that for months.  There was a time that he rated everything a 5 for about a week, but that encouraged too many shitty OPs so he went back to 1s.

    SpectateSwamp: I can see you. You don't have to hide anymore. C'mon out and play!

    [10:07] <fatdog> so from now on.. be sure to wear nice clean underwear
    [10:07] <mps> fatdog: That is simply not going to happen
  • 12-02-2008 10:31 AM In reply to

    Re: 681765,999616 bytes of data

    pbean:
    I started to wonder why each and every thread got a 1-star rating and after some investigation I noticed 'fatdog' rates all of them with 1 star. :O Dubious.

    Yeah, but the OPs usually rate themselves "5" so it evens out.  Nobody really gives a shit about the ratings, anyway, but I think it's better to err on the side of "1-star" than the side of "5-stars". 

  • 12-02-2008 10:42 AM In reply to

    Re: 681765,999616 bytes of data

    morbiuswilters:

    pbean:
    I started to wonder why each and every thread got a 1-star rating and after some investigation I noticed 'fatdog' rates all of them with 1 star. :O Dubious.

    Yeah, but the OPs usually rate themselves "5" so it evens out.  Nobody really gives a shit about the ratings, anyway, but I think it's better to err on the side of "1-star" than the side of "5-stars". 

    Boo!  Lame post.  I rate it 1 star.
  • 12-02-2008 11:14 AM In reply to

    Re: 681765,999616 bytes of data

    One byte of memory is 0,0009765625 kilobytes. There's nothing wrong with the precision used. The reason the total value doesn't match the sum is because the displayed values are rounded to the nearest millionth of a kilobyte. 

  • 12-02-2008 11:17 AM In reply to

    Re: 681765,999616 bytes of data

    Jonathan:
    One byte of memory is 0,0009765625 kilobytes. There's nothing wrong with the precision used. The reason the total value doesn't match the sum is because the displayed values are rounded to the nearest millionth of a kilobyte.
    Really?  How enlightening!

    SpectateSwamp: I can see you. You don't have to hide anymore. C'mon out and play!

    [10:07] <fatdog> so from now on.. be sure to wear nice clean underwear
    [10:07] <mps> fatdog: That is simply not going to happen
  • 12-02-2008 1:08 PM In reply to

    Re: 681765,999616 bytes of data

    morbiuswilters:
    Yeah, but the OPs usually rate themselves "5" so it evens out.

    Didn't even know you could do that, though I really should be past the point where I find it surprising by now.

    You can never have too much time, luck, shelf space or spare duct tape.
  • 12-02-2008 1:14 PM In reply to

    • Zagyg
    • Top 500 Contributor
    • Joined on 03-07-2008
    • Posts 80

    Re: 681765,999616 bytes of data

    belgariontheking:
    Larry Ellison I am coming to your house so you can fix your broken program at gunpoint

    I've been meaning to ask, haven't you made it to Larry's house yet?  We're still waiting for the fix so I guess not.

  • 12-02-2008 1:25 PM In reply to

    Re: 681765,999616 bytes of data

    Zagyg:

    belgariontheking:
    Larry Ellison I am coming to your house so you can fix your broken program at gunpoint

    I've been meaning to ask, haven't you made it to Larry's house yet?  We're still waiting for the fix so I guess not.

    He made the mistake of storing the address in Oracle, and he can't figure out how to get it out.
  • 12-02-2008 3:00 PM In reply to

    Re: 681765,999616 bytes of data

    bstorer:

    Zagyg:

    belgariontheking:
    Larry Ellison I am coming to your house so you can fix your broken program at gunpoint

    I've been meaning to ask, haven't you made it to Larry's house yet?  We're still waiting for the fix so I guess not.

    He made the mistake of storing the address in Oracle, and he can't figure out how to get it out.
    The reason it's so hard is that there's a bunch of fields with FileNotFound in the database, and the address isn't directly stored as text, but instead requires these FileNotFound fields to provide auxiliary information which are then passed to the paulaBean.getPaula() for more processing.
    ((lambda (f) (f f)) (lambda (f) (f f)))
  • 12-02-2008 3:06 PM In reply to

    Re: 681765,999616 bytes of data

    bstorer:

    He made the mistake of storing the address in Oracle, and he can't figure out how to get it out.

    Easy.  Install the JVM, the Oracle client, Oracle Data Access Components, Run the Net Configuration Manager, configure it to use TNSNames, run something else to create your TNSNames.ora file, done.  Honestly, what could be simpler?

    What if the hokey cokey really IS what it's all about?
  • 12-02-2008 3:57 PM In reply to

    Re: 681765,999616 bytes of data

    upsidedowncreature:

    bstorer:

    He made the mistake of storing the address in Oracle, and he can't figure out how to get it out.

    Easy.  Install the JVM, the Oracle client, Oracle Data Access Components, Run the Net Configuration Manager, configure it to use TNSNames, run something else to create your TNSNames.ora file, done.  Honestly, what could be simpler?

    Knocking on every door in North America until he finds the right house?
  • 12-02-2008 4:48 PM In reply to

    Re: 681765,999616 bytes of data

    bstorer:

    upsidedowncreature:

    bstorer:

    He made the mistake of storing the address in Oracle, and he can't figure out how to get it out.

    Easy.  Install the JVM, the Oracle client, Oracle Data Access Components, Run the Net Configuration Manager, configure it to use TNSNames, run something else to create your TNSNames.ora file, done.  Honestly, what could be simpler?

    Knocking on every door in North America until he finds the right house?
    Gentlemen, RVs. Discuss.
  • 12-02-2008 11:10 PM In reply to

    Re: 681765,999616 bytes of data

    j6cubic:
    bstorer:

    upsidedowncreature:

    bstorer:

    He made the mistake of storing the address in Oracle, and he can't figure out how to get it out.

    Easy.  Install the JVM, the Oracle client, Oracle Data Access Components, Run the Net Configuration Manager, configure it to use TNSNames, run something else to create your TNSNames.ora file, done.  Honestly, what could be simpler?

    Knocking on every door in North America until he finds the right house?
    Gentlemen, RVs. Discuss.
    Dammit why did you have to bring that up?  I never thought of knocking on every stationary door and every moving door. 

    Shit, Larry could be on a yacht.  Or a Yacht-plane.  How am I gonna knock on every door of everyYacht-plane?

    Here's hoping he's famous enough to be on a Star Map.

    SpectateSwamp: I can see you. You don't have to hide anymore. C'mon out and play!

    [10:07] <fatdog> so from now on.. be sure to wear nice clean underwear
    [10:07] <mps> fatdog: That is simply not going to happen
  • 12-03-2008 12:08 AM In reply to

    • lolwtf
    • Top 150 Contributor
    • Joined on 04-02-2008
    • (null)
    • Posts 235

    Re: 681765,999616 bytes of data

    belgariontheking:

    j6cubic:
    bstorer:

    upsidedowncreature:

    bstorer:

    He made the mistake of storing the address in Oracle, and he can't figure out how to get it out.

    Easy.  Install the JVM, the Oracle client, Oracle Data Access Components, Run the Net Configuration Manager, configure it to use TNSNames, run something else to create your TNSNames.ora file, done.  Honestly, what could be simpler?

    Knocking on every door in North America until he finds the right house?
    Gentlemen, RVs. Discuss.
    Dammit why did you have to bring that up?  I never thought of knocking on every stationary door and every moving door. 

    Shit, Larry could be on a yacht.  Or a zeppelin  How am I gonna knock on every door of every zeppelin?

    Here's hoping he's famous enough to be on a Star Map.

    FTFY
    (null)
  • 12-03-2008 8:36 AM In reply to

    Re: 681765,999616 bytes of data

    belgariontheking:

    Dammit why did you have to bring that up?  I never thought of knocking on every stationary door and every moving door. 

    Shit, Larry could be on a yacht.  Or a Yacht-plane.  How am I gonna knock on every door of everyYacht-plane?

    Here's hoping he's famous enough to be on a Star Map.

    If only there were some sort of oracle to answer these questions...
  • 12-03-2008 10:47 AM In reply to

    Re: 681765,999616 bytes of data

    NSCoder:
    665.787109*1024=681765.999616. Clearly kvdveer uses a comma as a decimal separator, which is fairly obvious considering there is only one of them in the number in the subject, not one every three digits.

    I clicked on the title expecting a bug that inserted commas every 6 decimal places rather than every 3. Come to think of it, that would have been more interesting than the innapropriate use of a float in a harmless debug context.

     Anyway, I'd be careful about making "clear" and "obvious" assumptions with logic gleaned from posts dedicated to illogical programming practices.

  • 12-04-2008 7:40 AM In reply to

    Re: 681765,999616 bytes of data

    > 681765,999616

     Hey, wasn't that my Compuserve user id?

  • 12-04-2008 11:53 AM In reply to

    Re: 681765,999616 bytes of data

    Cantabrigian:

    > 681765,999616

     Hey, wasn't that my Compuserve user id?

    Geeze, it does look like a Compuserve id! By the way, what happened to Compuserve? Are they still an ISP? Or do they even exist anymore?
  • 12-04-2008 12:13 PM In reply to

    Re: 681765,999616 bytes of data

     From Wikipedia:

    CompuServe, (CompuServe Information Service, also known by its acronym CIS), was the first major commercial online service in the United States. It dominated the field during the 1980s and remained a major player through the mid-1990s, when it was sidelined by the rise of information services such as AOL that charged monthly subscriptions rather than hourly rates. Today the CompuServe Information Service operates as an online service provider and an Internet service provider, owned by AOL.


    You can never have too much time, luck, shelf space or spare duct tape.
Page 1 of 1 (25 items)
Powered by Community Server (Non-Commercial Edition), by Telligent Systems