• accalia (disco)

    this is why we don't let beancounters touch SSRS.

  • Keith (disco)
    [image]

    Really?

    Here's some pseudo-code to help you resolve this problem:

    if (author_image_exists)
    {
        output_image_block();
    }
    

    I swear, the more of other people's software I see, the better I feel about my own skills and attention to detail.

  • accalia (disco) in reply to Keith

    NO REPRO [image]

  • Keith (disco) in reply to accalia
    Comment held for moderation.
  • accalia (disco) in reply to Keith

    yep!

    [image]
  • Keith (disco) in reply to accalia
    accalia:
    yep!

    I'll let them off this time then >_>

  • eViLegion (disco)

    This story doesn't make an ounce of sense.

  • Eldelshell (disco)
    Comment held for moderation.
  • VinDuv (disco)
    Comment held for moderation.
  • Shoreline (disco) in reply to Keith
    Comment held for moderation.
  • Pippo (disco)

    Ok, I byte (sic) it ... why not For i = 0 To 5!?

  • Shoreline (disco) in reply to Eldelshell
    Eldelshell:
    I don't get it.

    I don't think the OP could understand what they were looking at either.

    Some things man is better off not knowing.

  • algorythmics (disco)
    Comment held for moderation.
  • Kuro (disco) in reply to Eldelshell
    Comment held for moderation.
  • mughi (disco)

    Obviously, Cindy was flirting with Rich by providing him with subtle hints to call her..Unfortunately, Rich took too long to figure it out, and Cindy had already been snatched up by Hanzo.

  • Keith (disco) in reply to algorythmics
    Comment held for moderation.
  • Maciejasjmj (disco)

    What did the number "8569200" mean?

    Good question. To get to 8569200, you not only need to generate the binary number, you also need to remove the zeroes until you arrive at the first 7-digit number.

    So, TRWTF is that Cindy had a nice binary representation of her phone number?

  • Luhmann (disco) in reply to Maciejasjmj
    Comment held for moderation.
  • accalia (disco) in reply to Luhmann
    Comment held for moderation.
  • Yamikuronue (disco)

    Thanks guys :)

  • Mathias (disco) in reply to Maciejasjmj

    you cannot remove zeros to get 8569200, only 8659200.

  • Mathias (disco)

    trwtf is that the binary calculations are wrong. 8569200 is 0b100000101100000101110000.

  • BobbyTables (disco)

    The function doesn't get called at all but somehow slows down the reports? Did removing it help? And if so - how?

    Finally, I thoroughly disagree with Rich's approach. He should have surely travelled around Spain, asking anybody who ever touched the codebase whether the function that isn't used can be removed or not. That's what real developers do, right?

  • SteveWampler (disco) in reply to Mathias

    Ah - this is clearly a clever attempt to keep Cindy's phone from now ringing off the hook. See, the '56' switch is a transposition cypher. The extra zeroes? That's an extension cypher.

  • Mathias (disco) in reply to BobbyTables

    it doesn't say this caused the slow down. this was only the reason he looked at the code.

  • Mathias (disco) in reply to SteveWampler

    or it was a not so clever attempt by jane to anonymize the story.

  • BobbyTables (disco) in reply to Mathias

    Erm, yes it does.

    Maybe he could speed up the reports and earn her gratitude. How bad could it be?

    Apparently, this bad: //code goes here

    Unless I'm reading that wrong, Rich found this to be the speed issue. It doesn't say "How bad could the code be?" or "Maybe he could have a look at the codebase". It says, he looked into the speed issue, and what was it? It was that code. That's the only way I read this, not that he didn't find a speed issue just some weird code.

  • balazs (disco)

    "author of urban fantasy novels" This is just one of those. Rich is the WTF, he saw this code and it has driven him away from the speed problem completely.

  • balazs (disco) in reply to Mathias

    The poor one who has this number. He won't be able to sleep anymore.

  • aliceif (disco) in reply to balazs

    Just like Jenny (8675309) and Rosi (080/32168)?

  • Mathias (disco) in reply to BobbyTables
    BobbyTables:
    issue, and what was it? It was that code. That's the only way I read this, not that he didn't find a speed issue just some

    Yes, you are right, I didn't read it carefully enough. My guess is that Jane was writing it wrong. The binary calculation is wrong too, it's prob just a sloppy article.

  • algorythmics (disco)
    Comment held for moderation.
  • cdosrun1 (disco) in reply to algorythmics

    I don't understand. What binary string was being printed to the console?

  • Kainsin (disco)

    Slap a "The call is coming from inside the code!" and this could have been a great Halloween entry.

  • nmclean (disco) in reply to BobbyTables

    True, it didn't say "How bad could the code be". But it also didn't say "How bad could the speed issue be". The "it" is referring to the reports, which could involve either one of those things, or something else.

    According to the rest of that paragraph, the speed issue was never expected to be a real issue in the first place. He only decided to respond to her and look at the code because she was pretty.

  • boomzilla (disco) in reply to algorythmics
    algorythmics:
    Hannibal, dressed incredibly cunningly as an Oracle Developer - it was uncanny, there was no way anyone could have confused him for anything except an Oracle Developer

    TRWTF: should have been the Faceman, of course.

  • boomzilla (disco) in reply to BobbyTables
    BobbyTables:
    Erm, yes it does.

    I read it as just something he found while looking in the vicinity of the suspected bad code. Like a car crash on the side of the road that you can't help but look at along the side of the road when you're late for work.

  • xaade (disco) in reply to Mathias

    So the wrtier swapped a charatcer by mistake?

  • Edward_Meshuris (disco)

    This story is of course bogus. The code is slow because the pretty girl in accounting is incessantly complaining to get the boy she likes to swing by. Maybe he should bring a coffee and ask her if to dinner. Ya'll are a bunch of noids.

  • accalia (disco) in reply to aliceif
    aliceif:
    Just like Jenny (8675309)

    at the time that song was recorded that number was handed out by phone companies and several people got a lot of calls for Jenny.

    i think there were some lawsuits about that actually. i think that number is now routinely left unconnected because of that song.

    should look up the sources on that but i cant be arsed to.


    Filed under: Sources: Where the sun doesn't shine

  • JazzyJosh (disco) in reply to Edward_Meshuris
    Comment held for moderation.
  • Yamikuronue (disco) in reply to Mathias

    Jane has dyscalculia and may have transposed digits. Jane fully accepts responsibility for being TRWTF :(

  • Mathias (disco) in reply to Yamikuronue

    I wouldn't have noticed the difference myself. Still unsolved is the question as to why the binary number is wrong (too many 0).

  • TheGreatLobachevsky (disco)

    I'm guessing the origin of this is that a predecessor really didn't like Cindy and therefore intentionally slowed down her reports with that thing.

  • Tsaukpaetra (disco)
    Comment held for moderation.
  • Yamikuronue (disco) in reply to Mathias
    Comment held for moderation.
  • Mathias (disco) in reply to xaade

    I don't know, how would you swap that by mistake, you just copy and paste it?

  • TheGreatLobachevsky (disco) in reply to accalia

    867 is one of the local exchanges in State College, PA. Someone on Reddit said they tried it at one point and there was a fax machine attached.

  • Mathias (disco) in reply to Yamikuronue
    Comment held for moderation.
  • Yamikuronue (disco) in reply to Mathias

    That actually looks familiar.

Leave a comment on “A Binary Number Generator”

Log In or post as a guest

Replying to comment #:

« Return to Article