Comment On Embedding The Embedded Embedding

Josh was a bit nervous about working with the A-team. No, not the A-Team with Mr. T, but the highly revered team of crack coders at Josh's company that, unlike the B-team, doesn't waste time with things like architecture, design, testing, formal requirements, or any of that other jibba jabba; they just got things done. But, the fact of the matter was, the A-team as falling a bit behind schedule and needed some help with their project. [expand full text]
« PrevPage 1 | Page 2 | Page 3Next »

Re: Embedding The Embedded Embedding

2006-03-09 14:08 • by R.Flowers
No XML anywhere? 

Re: Embedding The Embedded Embedding

2006-03-09 14:11 • by synesthetia
63512 in reply to 63511
heh, I thought the UPDATE statement comment was about as bad as the system structure

Re: Embedding The Embedded Embedding

2006-03-09 14:12 • by Just Another WTF
63513 in reply to 63511

R.Flowers:
No XML anywhere? 


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

Re: Embedding The Embedded Embedding

2006-03-09 14:13 • by marvin_rabbit
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?

Re: Embedding The Embedded Embedding

2006-03-09 14:14 • by Jeff S
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++ !

Re: Embedding The Embedded Embedding

2006-03-09 14:15 • by Gene Wirchenko
63516 in reply to 63511
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

Re: Embedding The Embedded Embedding

2006-03-09 14:17 • by 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.)

Re: Embedding The Embedded Embedding

2006-03-09 14:20 • by uncool
63518 in reply to 63516

it's not complicated enough...


 


 


sidenote-hey someone else in bellingham!

Re: Embedding The Embedded Embedding

2006-03-09 14:21 • by Volmarias
63519 in reply to 63518
So, wait. I'm confused. Shouldn't the black van bust out of the barn, armed with this code?

Re: Embedding The Embedded Embedding

2006-03-09 14:23 • by Jeff S
63520 in reply to 63519
"I pity the fool who embeds too much!"




Re: Embedding The Embedded Embedding

2006-03-09 14:29 • by gwfc
63521 in reply to 63518
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

Re: Embedding The Embedded Embedding

2006-03-09 14:29 • by jvancil
63522 in reply to 63511
I'm guessing it was a code generating tool...

Re: Embedding The Embedded Embedding

2006-03-09 14:32 • by James
Damn, I owe Josh a burrito now. Well player sir, well played indeed.

Re: Embedding The Embedded Embedding

2006-03-09 14:35 • by cconroy
I love it when a steaming pile of animal excrement that passes for code comes together.



Re: Embedding The Embedded Embedding

2006-03-09 14:36 • by Face
63526 in reply to 63522
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.

Re: Embedding The Embedded Embedding

2006-03-09 14:47 • by Ford351-4V
Buck Murdock?

Re: Embedding The Embedded Embedding

2006-03-09 14:50 • by lizardfoot
63528 in reply to 63520
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

Re: Embedding The Embedded Embedding

2006-03-09 14:50 • by Sean
63529 in reply to 63526
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.

Re: Embedding The Embedded Embedding

2006-03-09 14:55 • by squirrel
63531 in reply to 63526
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?

Re: Embedding The Embedded Embedding

2006-03-09 14:59 • by LugNut
63532 in reply to 63514

LOL ! [6]


 

Re: Embedding The Embedded Embedding

2006-03-09 15:00 • by BeRT
63533 in reply to 63529
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 ;)

MacGyver VS A-Team

2006-03-09 15:05 • by chaim79

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

Re: Embedding The Embedded Embedding

2006-03-09 15:05 • by rbriem
63536 in reply to 63519

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  ...

Re: Embedding The Embedded Embedding

2006-03-09 15:09 • by just me
63537 in reply to 63533

Anonymous:

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


talk about a WTF...

Re: Embedding The Embedded Embedding

2006-03-09 15:09 • by Otto
63538 in reply to 63529
Sean:
"I ain't embeddin' no Javascript in the database Hannibal!"

"Now have some milk! It's good for you, sucka!"

Re: Embedding The Embedded Embedding

2006-03-09 15:10 • by BeRT
63539 in reply to 63537
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

Re: Embedding The Embedded Embedding

2006-03-09 15:19 • by Runtime Error
63540 in reply to 63522
jvancil:
I'm guessing it was a code generating tool...




Oh, it sounds like they have an entire team of code generating "tools".

Re: Embedding The Embedded Embedding

2006-03-09 15:20 • by FriedEggs
63541 in reply to 63539

Anonymous:

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


Did you mean "sayed"?

Re: Embedding The Embedded Embedding

2006-03-09 15:21 • by John Bigboote
63542 in reply to 63527
Ford351-4V:
Buck Murdock?




No, Buck Murdock.



Over Macho Grande?

Re: Embedding The Embedded Embedding

2006-03-09 15:25 • by Minos
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.

Re: Embedding The Embedded Embedding

2006-03-09 15:29 • by FriedEggs
63545 in reply to 63542

John Bigboote:

Over Macho Grande?


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

Re: Embedding The Embedded Embedding

2006-03-09 15:31 • by Runtime Error
63546 in reply to 63544
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.

Re: Embedding The Embedded Embedding

2006-03-09 15:45 • by dmitriy
63547 in reply to 63528
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.

Re: Embedding The Embedded Embedding

2006-03-09 15:50 • by Hannibal
63548 in reply to 63547
I love it when a plan comes together.

Re: Embedding The Embedded Embedding

2006-03-09 15:50 • by Just Another WTF
63549 in reply to 63536
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.

Re: Embedding The Embedded Embedding

2006-03-09 15:57 • by Calvin Spealman
I am a big fan of SCID, but this is definately not what I had in mind!

Re: Embedding The Embedded Embedding

2006-03-09 15:59 • by ParkinT
63552 in reply to 63517

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.

Re: Embedding The Embedded Embedding

2006-03-09 16:04 • by ParkinT
63553 in reply to 63547

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}

Re: Embedding The Embedded Embedding

2006-03-09 16:08 • by Rick
63555 in reply to 63553
ParkinT:

{Ooops, I think I have revealed my age}



My guess: 44

Re: Embedding The Embedded Embedding

2006-03-09 16:20 • by mrsticks1982
63556 in reply to 63547

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!!!!!!

Re: Embedding The Embedded Embedding

2006-03-09 16:21 • by mrsticks1982
63557 in reply to 63553
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!

Re: Embedding The Embedded Embedding

2006-03-09 16:24 • by marvin_rabbit
63558 in reply to 63542
John Bigboote:
Ford351-4V:
Buck Murdock?




No, Buck Murdock.



Over Macho Grande?

He thinks he's Ethel Merman.

Re: Embedding The Embedded Embedding

2006-03-09 16:25 • by Gene Wirchenko
63559 in reply to 63548
Hannibal:
I love it when a plan comes together.


As in a train wreck.

Sincerely,

Gene Wirchenko

Re: Embedding The Embedded Embedding

2006-03-09 16:25 • by marvin_rabbit
63560 in reply to 63555
Rick:
ParkinT:

{Ooops, I think I have revealed my age}



My guess: 44

I'll take 39 in the office pool.

Re: Embedding The Embedded Embedding

2006-03-09 16:33 • by mrsticks1982
63561 in reply to 63555
Rick:
ParkinT:

{Ooops, I think I have revealed my age}




My guess: 44


 


I will take 35

Re: Embedding The Embedded Embedding

2006-03-09 16:35 • by gwenhwyfaer
63562 in reply to 63521
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.

Re: Embedding The Embedded Embedding

2006-03-09 16:37 • by ChiefCrazyTalk
63563 in reply to 63561
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 :-)


 


 

Re: Embedding The Embedded Embedding

2006-03-09 16:44 • by sammybaby

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


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


I mean, bad.

Re: Embedding The Embedded Embedding

2006-03-09 16:50 • by An apprentice
Alex Papadimoulis:
...the highly revered team of crack coders...

Crack coders? That explains it all.

Re: Embedding The Embedded Embedding

2006-03-09 17:19 • by triso
Alex Papadimoulis:

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


Josh 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.



« PrevPage 1 | Page 2 | Page 3Next »

Add Comment