• (cs)

    No XML anywhere? 

  • synesthetia (unregistered) in reply to R.Flowers

    heh, I thought the UPDATE statement comment was about as bad as the system structure

  • Just Another WTF (unregistered) in reply to R.Flowers

    R.Flowers:
    No XML anywhere? 

    Only if the Database in question is one of those 'lightweight' models that stores everything as XML

  • (cs)
    Alex Papadimoulis:

    But, the fact of the matter was, the A-team as falling a bit behind schedule and needed some help with their project.

    ... so to wrap it up ... Javascript embedded in HTML embedded in a SQL query embedded in an ASP page to display videos embedded in OBJECT tags embedded in HTML embedded in the database.

    And they were behind schedule?  No shit?
  • (cs)

    Great one, Alex!  I'm all for putting as much into your database as possible to keep your applicaiton flexible, but this is out of control.  WTF++ !

  • (cs) in reply to R.Flowers
    R.Flowers:
    No XML anywhere?


    That was my first thought, too.  Obviously, the A-team is not with it, skill or faddishness.

    Sincerely,

    Gene Wirchenko

  • (cs)

    Seat of the pants design will only get you so far.  Once you have a COMMITTEE for seat of the pants design, you're going in the wrong direction.

    (They called it an A-Team, but it smells like a committee, to me.)

  • uncool (unregistered) in reply to Gene Wirchenko

    it's not complicated enough...

     

     

    sidenote-hey someone else in bellingham!

  • (cs) in reply to uncool

    So, wait. I'm confused. Shouldn't the black van bust out of the barn, armed with this code?

  • (cs) in reply to Volmarias

    "I pity the fool who embeds too much!"




  • gwfc (unregistered) in reply to uncool
    Anonymous:

    it's not complicated enough...

     

     

    sidenote-hey someone else in bellingham!



    Ah yes, home of the illustrious Gene Wirchenko.  Perhaps you can meet up with him and slap him with a large trout.

    Sincerely,

    gwfc
  • (cs) in reply to R.Flowers

    I'm guessing it was a code generating tool...

  • James (unregistered)

    Damn, I owe Josh a burrito now. Well player sir, well played indeed.

  • (cs)

    <font size="2">I love it when a steaming pile of animal excrement that passes for code comes together.

    </font>

  • Face (unregistered) in reply to jvancil

    Hey!!! Don't worry, when their server room explodes into a massive fireball after a  catastrophic system failure, these coders will just crawl out of the rubble without any visible injury, brush off the ashes, and limp away to safety.

  • (cs)

    Buck Murdock?

  • (cs) in reply to Jeff S
    Jeff S:
    "I pity the fool who embeds too much!"


    This WTF is much easier on the goggles if you listen to this while reading.

    http://tv.cream.org/specialassignments/themes/ateam.mp3

  • (cs) in reply to Face

    So was Josh like the B.A. of this A-Team?  He'd say "I ain't embeddin' no Javascript in the database Hannibal!"  Then they'd whack him on the head and do it anyway.

  • (cs) in reply to Face

    I know people who write code like this.  For better or for worse, they can write working code.  Their design decisions invariably favor efficiency over flexibility.  They are the types who write logic to do many things at once to avoid the overhead of an extra loop.

    Their code is nearly unmaintainable, cannot be unit tested because there are no units, and has the maximum code momentum possible.

    The unfortunate thing is that this code will work when the A-Team is done with it.  It will quickly turn into a mess and atrophy within a year or two.  But who's going to notice -- or care -- before then?

  • LugNut (unregistered) in reply to marvin_rabbit

    LOL ! [6]

     

  • BeRT (unregistered) in reply to Sean

    They are probably using RecordSet.getString method, which is set to be faster than actually looping through the RecordSet. I've done things like this too (although that was for smaller, personal projects and not really production code).

    Some tutorials actually recommend this practice.

    Guess there are some things to be said about optimalization ;)

  • (cs)

    Wait a sec.... Murdock was on the A-Team? Why was he the only one going after MacGyver then? Why wasn't Mr T going after MacGyver? What's the A-Team got against MacGyver?

     

    I'm Confused... More then normal.... Which can be a bad thing....

    Erik of Ekedahl

  • (cs) in reply to Volmarias

    Volmarias:
    So, wait. I'm confused. Shouldn't the black van bust out of the barn, armed with this code?

    No, no, no.

    The code, embedded in the weapons embedded in the black van embedded in the barn  ...

  • just me (unregistered) in reply to BeRT

    Anonymous:

    Guess there are some things to be said about optimalization ;)

    talk about a WTF...

  • (cs) in reply to Sean
    Sean:
    "I ain't embeddin' no Javascript in the database Hannibal!"

    "Now have some milk! It's good for you, sucka!"
  • BeRT (unregistered) in reply to just me
    Anonymous:

    Anonymous:

    Guess there are some things to be said about optimalization ;)

    talk about a WTF...



    Yes yes,

    and I typed "said" wrong too, guess there are some things to be said about me getting some sleep
  • Runtime Error (unregistered) in reply to jvancil
    jvancil:
    I'm guessing it was a code generating tool...


    Oh, it sounds like they have an entire team of code generating "tools".
  • (cs) in reply to BeRT

    Anonymous:

    ...and I typed "said" wrong too, guess there are some things to be said about me getting some sleep

    Did you mean "sayed"?

  • (cs) in reply to Ford351-4V
    Ford351-4V:
    Buck Murdock?


    No, Buck Murdock.

    Over Macho Grande?
  • Minos (unregistered)

    I can see how dealing with a system like this could make one Howling Mad.  Or is it that you'd have to be Howling Mad to make a system like this?  Sounds like a vicious cycle.

  • (cs) in reply to John Bigboote

    John Bigboote:

    Over Macho Grande?

    Oh yes.... Macho Grande... I remember it well...

  • Runtime Error (unregistered) in reply to Minos
    Anonymous:
    I can see how dealing with a system like this could make one Howling Mad.  Or is it that you'd have to be Howling Mad to make a system like this?  Sounds like a vicious cycle.


    After 6 months you don't even think twice when they tell you the javascript is in the database and by then your fall to the dark side is complete.  The student has become the master.
  • (cs) in reply to lizardfoot
    lizardfoot:

    This WTF is much easier on the goggles if you listen to this while reading.

    http://tv.cream.org/specialassignments/themes/ateam.mp3


    I haven't seen the TV series, but that is a cool theme.
  • Hannibal (unregistered) in reply to dmitriy

    I love it when a plan comes together.

  • Just Another WTF (unregistered) in reply to rbriem
    rbriem:

    Volmarias:
    So, wait. I'm confused. Shouldn't the black van bust out of the barn, armed with this code?

    No, no, no.

    The code, embedded in the weapons embedded in the black van embedded in the barn  ...

    Only after 2 minutes welding plates sheet metal to the van to the soothing tones over bad 80's quasi-metal.

    Don't for get the exploding flower pots for everyone to stand behind whenever anyone fires a gun.

  • Calvin Spealman (unregistered)

    I am a big fan of SCID, but this is definately not what I had in mind!

  • (cs) in reply to marvin_rabbit

    marvin_rabbit:
    Seat of the pants design will only get you so far.  Once you have a COMMITTEE for seat of the pants design, you're going in the wrong direction.

    (They called it an A-Team, but it smells like a committee, to me.)

    A committee is defined as:

     A group of people who individually can do nothing and

    Collectively agree nothing can be done.

  • (cs) in reply to dmitriy

    dmitriy:
    lizardfoot:

    This WTF is much easier on the goggles if you listen to this while reading.

    http://tv.cream.org/specialassignments/themes/ateam.mp3


    I haven't seen the TV series, but that is a cool theme.

    That was the best part of the entire series.

    Bad acting, poorly constructed stoies, sloppy special effects and (did I mention?) bad acting.

    {Ooops, I think I have revealed my age}

  • (cs) in reply to ParkinT
    ParkinT:

    {Ooops, I think I have revealed my age}



    My guess: 44
  • (cs) in reply to dmitriy

    dmitriy:
    lizardfoot:

    This WTF is much easier on the goggles if you listen to this while reading.

    http://tv.cream.org/specialassignments/themes/ateam.mp3


    I haven't seen the TV series, but that is a cool theme.

     

    good lord go an watch some tvland ... I thought I was a young one but come on I watched the A-team ... Not theres the real WTF!!!!!!

  • (cs) in reply to ParkinT
    ParkinT:

    dmitriy:
    lizardfoot:

    This WTF is much easier on the goggles if you listen to this while reading.

    http://tv.cream.org/specialassignments/themes/ateam.mp3


    I haven't seen the TV series, but that is a cool theme.

    That was the best part of the entire series.

    Bad acting, poorly constructed stoies, sloppy special effects and (did I mention?) bad acting.

    {Ooops, I think I have revealed my age}

     

    you forgot to mention that they NEVER SHOT or ACTUALLY HIT ANYONE,

    At least the Dukes of Hazzard shot flaming arrows at things!

  • (cs) in reply to John Bigboote
    John Bigboote:
    Ford351-4V:
    Buck Murdock?


    No, Buck Murdock.

    Over Macho Grande?

    He thinks he's Ethel Merman.
  • (cs) in reply to Hannibal
    Hannibal:
    I love it when a plan comes together.


    As in a train wreck.

    Sincerely,

    Gene Wirchenko

  • (cs) in reply to Rick
    Rick:
    ParkinT:

    {Ooops, I think I have revealed my age}



    My guess: 44

    I'll take 39 in the office pool.
  • (cs) in reply to Rick
    Rick:
    ParkinT:

    {Ooops, I think I have revealed my age}



    My guess: 44

     

    I will take 35

  • (cs) in reply to gwfc
    Anonymous:
    Ah yes, home of the illustrious Gene Wirchenko.  Perhaps you can meet up with him and slap him with a large trout.


    With all due respect, I remember Gene Wirchenko from when we were both posters on alt.folklore.computers, a good 6 or 7 years ago now if not longer. He's probably been in the industry a good deal longer than  you have. As for his signature, it's exactly the same now as it was back then, so I'd guess that writing it is muscle memory.

    But of course I quite understand why he should make a concerted effort to change decade-grown habits in order to avoid annoying someone who can't even be bothered to sign any name at all.
  • ChiefCrazyTalk (unregistered) in reply to mrsticks1982
    mrsticks1982:
    Rick:
    ParkinT:

    {Ooops, I think I have revealed my age}



    My guess: 44

     

    I will take 35

     

    I was a fan of the "Team" myself - although caught a re-run recently on Canadian TV and couldn't believe  how bad it was.  I watched just long enough to see them have a car do the "A-Team flip" which was in every episode.  And I'm guessing 42, since that's my age :-)

     

     

  • (cs)

    What? Nobody willing to say, "The real WTF here is..."

    Face it - they can't all be this good.

    I mean, bad.

  • An apprentice (unregistered)
    Alex Papadimoulis:
    ...the highly revered team of crack coders...

    Crack coders? That explains it all.

  • (cs)
    Alex Papadimoulis:

    <font color="#0000ff">Josh</font>: Javascript in a SQL Query? Seriously?
    <font color="#ff0000">Murdock</font>: What's wrong with that? It's more efficient that way.
    <font color="#0000ff">Josh</font>: Okay ... well, any idea where the demo video tags are? I want to change the size but can't find 'em.
    <font color="#ff0000">Murdock</font>: Oh we put the OBJECT HTML Tags in the ItemMovieUrl column on the items table.
    <font color="#0000ff">Josh</font>: So this way ... we have to update every item whenever this changes?
    <font color="#ff0000">Murdock</font>: Well no, you just run an UPDATE statement and it will update them all at once.
    <font color="#0000ff">Josh</font>: Err ... isn't that just what I ... never mind. thanks ...

    <font size="5">J</font>osh is very good at keeping his cool and would make a good diplomat.  I would have lost it after hearing about where the demo-video tags were stashed.

Leave a comment on “Embedding The Embedded Embedding”

Log In or post as a guest

Replying to comment #:

« Return to Article