When the Query String Is Just Not Enough

« Return to Article
  • batasrki 2007-08-14 09:17
    HAHAHAHAHA

    I just love idiotic web developers. Makes it easier to sell myself as a quality one
  • Will 2007-08-14 09:19
    That's mind-boggling.
  • Mike5 2007-08-14 09:20
    120

    Love it!!!
  • death 2007-08-14 09:20
    Oh my... Paula did it?
  • elitas 2007-08-14 09:23
    Priceless! :D
  • James 2007-08-14 09:33
    Genius, I bet it’s quick!!
  • dubya 2007-08-14 09:38
    that's awesome.

    Pretty much the same thing happened at a place I used to work. They hired a bunch of consultants to rewrite the website in .Net (had been static before) - they got a static site with an empty db, and 100's of pages with long query string like values. Best part was they didn't realize it for months.
  • Jan 2007-08-14 09:44
    Well, this is best advertisment on Deamweaver i have ever seen.

    Captcha: ewwww, Yikes!
  • World Wide... Wait! 2007-08-14 09:50
    This is no WTF, this is just a manual cache for optimizing web page response! Remember, hardware price is high, consultants paid by the hour isn't! Or.. Wait...
  • Zecc 2007-08-14 09:53
    Is this "wget programming" ?
  • adrian 2007-08-14 09:55
    That's...that's just...I can't quite wrap my mind around the absurdity of that one. WTF???
  • Mike 2007-08-14 09:57
    Wow......just wow.

    You can only imagine what the inside of each of those pages looks like. Probably the exact same content, with a database search parameter changed.
  • soo true 2007-08-14 10:01
    I'm doing some freelance consulting with an acquaintance of mine right now - its my first gig as freelance - and he was going to set it up just like this. Not to fool them or such, but just because he thought it was supposed to be done like that. It's an ecommerce type website where every single page was going to be static. Worse, the pages were going to be image maps, gigantic image maps. If anything was changed, adding a customer, a product, a new advertisement, you would have nearly had to redesign the whole page. Finally convinced him it was correct to do a PHP/MySQL setup...now we just have a convince the guy we're doing it for...he just wants a pretty website.
  • Brady Kelly 2007-08-14 10:05
    Mike:
    Wow......just wow.

    You can only imagine what the inside of each of those pages looks like. Probably the exact same content, with a database search parameter changed.


    I just converted an Access application to WinForms, and the Access application had five detail forms, each painstakingly copying the control layout of the others. What was the difference? Each one had a different parameter in the data source query, so Access would prompt for a different criteria when opening different forms from the menu.
  • Jamie 2007-08-14 10:16
    Mike:
    Wow......just wow.

    You can only imagine what the inside of each of those pages looks like. Probably the exact same content, with a database search parameter changed.


    what makes u so sure there is a database behind the scenes....?! :-)
  • uwaefjoiafjio 2007-08-14 10:20
    Whoohoo! He's struck it rich!

    Too bad the price he'll pay will be his sanity.
  • JOHN 2007-08-14 10:22
    The REAL WTF is Visual Basic.



    I wish people would stop trying to make it easier for idiots to program. They lower salaries and increase costs, but corporations never realize this, due to the myth that workers * hours = productivity.
  • Bishop 2007-08-14 10:28
    Often there are some things so hard to believe that I can't help myselft not to google them to check if they are genuine. That one is :p
  • nixen 2007-08-14 10:32
    Ah haha hahahaha!
    Well, that happens when you let your team develop in vb ;-)

    (No, no, I realise that it's perfectly possible to make perfect code in visual basic - it's just that that particular language seems to be overly represented in these contraptions)
  • rob 2007-08-14 10:38
    That's brilliant! I think this will keep me grinning all the way to the end of the day.
  • ParkinT 2007-08-14 10:38
    Each page is created in MSWord and then "Save As" HTML?
  • TheRubyWarlock 2007-08-14 10:40
    Oh dear lord. WHY are people so stupid? Someone PLEASE tell me! It's idiots like this (and.. you know, all the rest of the idiots showcased on this site) that give real developers a bad name.
  • James 2007-08-14 10:46
    Jamie:
    Mike:
    Wow......just wow.

    You can only imagine what the inside of each of those pages looks like. Probably the exact same content, with a database search parameter changed.


    what makes u so sure there is a database behind the scenes....?! :-)


    Ye an XML file would be better :-)
  • Theo 2007-08-14 10:47
    The guy probably used "@" because he realised it was not possible to make static pages with a "regular" ? in the name...

    I'm sure he wondered for some time how the other web developers are doing with their "?"...
  • Keith 2007-08-14 10:49
    It gets better... take a look at the end of /pages/@id=5.aspx:

    <map name="Copyright">
    
    <area shape="rect" coords="5,10,142,28" href="../../www.i4.net/default.aspx" target="_blank">
    </map>


    Not only that, but http://www.i4.net/default.aspx is a .NET 404...

    !
  • Andrew 2007-08-14 10:56
    ASP = A shxxxy programmer

    People only get into ASP b/c they can't figure out anything else.
  • su 2007-08-14 10:57
    the real wtf is using dreamweaver
  • Lummox 2007-08-14 10:59
    Will:
    That's mind-boggling.


    I beg to differ; I think it's mind-bottling. You know, like when your mind feels like it's trapped in a bottle?
  • Andrew 2007-08-14 11:05
    Lummox:
    Will:
    That's mind-boggling.


    I beg to differ; I think it's mind-bottling. You know, like when your mind feels like it's trapped in a bottle?


    Like one with the words Jose Quervo Blanco written on the side?
  • Lummox 2007-08-14 11:09
    Andrew:
    Lummox:
    Will:
    That's mind-boggling.


    I beg to differ; I think it's mind-bottling. You know, like when your mind feels like it's trapped in a bottle?


    Like one with the words Jose Quervo Blanco written on the side?


    http://www.imdb.com/title/tt0445934/quotes

    I'm guessing you haven't seen Blades of Glory. Either that or I don't remember that quote in the movie.
  • SomeCoder 2007-08-14 11:09
    Theo:
    The guy probably used "@" because he realised it was not possible to make static pages with a "regular" ? in the name...

    I'm sure he wondered for some time how the other web developers are doing with their "?"...


    Unfortunately... I bet that's exactly what happened.

    This WTF hurts, physically.
  • Ben 2007-08-14 11:10
    now that his evil plan was in full swing, he only needed to convince the corporation it was their server's fault
  • Spartacus 2007-08-14 11:15
    http://www.google.com/search?hl=en&q=%22%40id%3D6.aspx%22&btnG=Search

    Second from the top for a possible candidate.
  • Whitey 2007-08-14 11:31
    Spartacus:
    http://www.google.com/search?hl=en&q=%22%40id%3D6.aspx%22&btnG=Search

    Second from the top for a possible candidate.


    That's it... They're selling anti-depressant medication. I wonder if they eat their own dog food, so to speak.
  • fewbars 2007-08-14 11:31
    They've buit a business out of hiding the fact that they are incompetent - www.i4.net's slogan is "perception is everything"

    Talk about truth in advertising!
  • Pilothaz 2007-08-14 11:31
    Christ, that is terrible. I can't believe someone would come up with that kind of static page naming scheme.

    I am glad that my co-op job is no where near that place of business.
  • YourMoFoFriend 2007-08-14 11:32
    JOHN:
    The REAL WTF is Visual Basic.
    I wish people would stop trying to make it easier for idiots to program. They lower salaries and increase costs, but corporations never realize this, due to the myth that workers * hours = productivity.
    JOHN, you're a retard. Every time I see someone going "The REAL WTF is Visual Basic" it's a retard like you with overinflated ego thinking he is smarter then everyone else just because he isn't using VB. There is a million different reasons why VB (and .NET in general) is used, and quiet successfully I might add, but you wouldn't understand them anyway because you are a retard.
    And finally, this crap could've been just as easily done in any of the other 30 or so CLR compatible languages including C++, it's the programmer, not the language.
  • Jasper Mantooth 2007-08-14 11:38
    I'm a bad man. I've actually handed off sites like this to clients. I'm just another ugly refugee of the NMJ* generation.



    *("not my job")
    (wget --mirror ftw too)
  • tired 2007-08-14 11:39
    <quote>The REAL WTF is Visual Basic.

    I wish people would stop trying to make it easier for idiots to program. They lower salaries and increase costs, but corporations never realize this, due to the myth that workers * hours = productivity.
    </quote>
    John

    Your attempt to open a subject that has been thrashed over and over again on this forum and many others is tiresome. The same code and set up could have been done in many other languages. The problem is not the language, I could pick up a book on C#, C++, php, mysql or anthing else and pump out crap like this in 24 hrs. Please comment on things that apply to the topic presented. Adding such a mundane comment only devalues this site. Thanks.

    tired.
  • poindexter 2007-08-14 11:42
    YourMoFoFriend:

    And finally, this crap could've been just as easily done in any of the other 30 or so CLR compatible languages including C++, it's the programmer, not the language.

    As a Java programmer can I just say that this WTF is not restricted to CLR compatible languages.
  • Hungry Dude 2007-08-14 11:47
    hmmm...a curiously similar structure to the site we're reading..

    http://worsethanfailure.com/Articles/When-the-Query-String-Is-Just-Not-Enough.aspx
  • JonC 2007-08-14 11:54
    Spartacus:
    http://www.google.com/search?hl=en&q=%22%40id%3D6.aspx%22&btnG=Search

    Second from the top for a possible candidate.

    Good find, it's almost certainly that one as 5.aspx seems to be the lowest id that works when I try various numbers, and looking at the source code this is the lowest id shown.
  • Bruce W 2007-08-14 12:03
    Keith:
    It gets better... take a look at the end of /pages/@id=5.aspx:

    <map name="Copyright">
    
    <area shape="rect" coords="5,10,142,28" href="../../www.i4.net/default.aspx" target="_blank">
    </map>


    Not only that, but http://www.i4.net/default.aspx is a .NET 404...

    !

    LOL! I know one of the top managers of i4 in Utah. (They actually set up our SAN and did an excellent job.) I should show him this abomination and tell him this is why I will probably never have his people code for me.
  • nowtf 2007-08-14 12:04
    It is by no means WTF. I've done that to develop sites for deployment on constrained servers - no DB, no scripts. You do this to ease your part of developement - use master page, DB, all locally. After that you wget --mirror site locally and - if properly created - you have fully functional, yet static website. I consider it normal practice in situations where it suits.
  • brazzy 2007-08-14 12:10
    poindexter:
    YourMoFoFriend:

    And finally, this crap could've been just as easily done in any of the other 30 or so CLR compatible languages including C++, it's the programmer, not the language.

    As a Java programmer can I just say that this WTF is not restricted to CLR compatible languages.

    To pharaphrase someone wiser than me: "The problem with making things idiot-proof is that the world keeps producing better idiots".

    Besides, what we're looking at is not necessarity a WTF. I remember doing something quite similar in order to host a DB-backed site on my university account that didn't support PHP - I had a PHP app running at home and with a little fiddling made it spit out static pages which I'd then upload to the university account.

    Maybe the actual code is running somewhere else?
  • savar 2007-08-14 12:21
    tired:

    John

    Your attempt to open a subject that has been thrashed over and over again on this forum and many others is tiresome. The same code and set up could have been done in many other languages. The problem is not the language, I could pick up a book on C#, C++, php, mysql or anthing else and pump out crap like this in 24 hrs. Please comment on things that apply to the topic presented. Adding such a mundane comment only devalues this site. Thanks.

    tired.


    A) You don't know how to use quote tags.

    B) The point that John was making is that while managed runtimes like VB.net are intended to increase developer productivity, they have the perverse side effect of lowering the bar for becoming a programmer. Then a company hires Philip Q. Shitforbrains instead of you or me because he has "tons" of VB.net experience and will work for 20% less.

    Just because you know/use/love VB.net doesn't make you an idiot. But VB.net does allow people who don't know what they're doing to get by anyway. If this project had been written in C++, the dumbass "consultant" who did this job would have never made the cut.

    At the same time, it would have taken more lines of code and more man hours to write it in C++. I think we all understand this. We just like to pick on VB because so many WTFs arise from it.
  • DW Sux 2007-08-14 12:25
    The real WTF is that the .NET file are set to open with Dreamweaver. Should have been his first clue.
  • vertagano 2007-08-14 12:29
    brazzy:

    Besides, what we're looking at is not necessarity a WTF. I remember doing something quite similar in order to host a DB-backed site on my university account that didn't support PHP - I had a PHP app running at home and with a little fiddling made it spit out static pages which I'd then upload to the university account.

    Maybe the actual code is running somewhere else?

    Either you're WaC, or this is a much more common practice than I would have imagined.
  • rumpelstiltskin 2007-08-14 12:31
    YourMoFoFriend:
    JOHN:
    The REAL WTF is Visual Basic.
    I wish people would stop trying to make it easier for idiots to program. They lower salaries and increase costs, but corporations never realize this, due to the myth that workers * hours = productivity.
    JOHN, you're a retard. Every time I see someone going "The REAL WTF is Visual Basic" it's a retard like you with overinflated ego thinking he is smarter then everyone else just because he isn't using VB. There is a million different reasons why VB (and .NET in general) is used, and quiet successfully I might add, but you wouldn't understand them anyway because you are a retard.
    And finally, this crap could've been just as easily done in any of the other 30 or so CLR compatible languages including C++, it's the programmer, not the language.

    Nice grammar there, YourMoFoFriend. Did you pick that up at DeVry?
    VB is a WTF- it exists so that people who can't be bothered with learning how to program, can write GUI apps. It's meant for Shirley in Accounting, but, somehow, the jokers using it started calling themselves programmers, and pointy haired bosses, not knowing any better, institutionalized the error.

  • Andrew 2007-08-14 12:35
    tired:
    <quote>The REAL WTF is Visual Basic.

    I wish people would stop trying to make it easier for idiots to program. They lower salaries and increase costs, but corporations never realize this, due to the myth that workers * hours = productivity.
    </quote>
    John

    Your attempt to open a subject that has been thrashed over and over again on this forum and many others is tiresome. The same code and set up could have been done in many other languages. The problem is not the language, I could pick up a book on C#, C++, php, mysql or anthing else and pump out crap like this in 24 hrs. Please comment on things that apply to the topic presented. Adding such a mundane comment only devalues this site. Thanks.

    tired.


    Now that's funny. Someone who's defeneding VB screws up the quote syntax!
  • Bruce W 2007-08-14 12:38
    Andrew:
    tired:
    <quote>The REAL WTF is Visual Basic.

    I wish people would stop trying to make it easier for idiots to program. They lower salaries and increase costs, but corporations never realize this, due to the myth that workers * hours = productivity.
    </quote>
    John

    Your attempt to open a subject that has been thrashed over and over again on this forum and many others is tiresome. The same code and set up could have been done in many other languages. The problem is not the language, I could pick up a book on C#, C++, php, mysql or anthing else and pump out crap like this in 24 hrs. Please comment on things that apply to the topic presented. Adding such a mundane comment only devalues this site. Thanks.

    tired.


    Now that's funny. Someone who's defeneding VB screws up the quote syntax!


    And someone criticizing him spelling a word wrong.
  • Russ 2007-08-14 12:43
    savar:
    tired:

    John

    Your attempt to open a subject that has been thrashed over and over again on this forum and many others is tiresome. The same code and set up could have been done in many other languages. The problem is not the language, I could pick up a book on C#, C++, php, mysql or anthing else and pump out crap like this in 24 hrs. Please comment on things that apply to the topic presented. Adding such a mundane comment only devalues this site. Thanks.

    tired.


    A) You don't know how to use quote tags.

    B) The point that John was making is that while managed runtimes like VB.net are intended to increase developer productivity, they have the perverse side effect of lowering the bar for becoming a programmer. Then a company hires Philip Q. Shitforbrains instead of you or me because he has "tons" of VB.net experience and will work for 20% less.

    Just because you know/use/love VB.net doesn't make you an idiot. But VB.net does allow people who don't know what they're doing to get by anyway. If this project had been written in C++, the dumbass "consultant" who did this job would have never made the cut.

    At the same time, it would have taken more lines of code and more man hours to write it in C++. I think we all understand this. We just like to pick on VB because so many WTFs arise from it.


    The real wtf is people writing websites in C++ or VB. Although these are general purpose languages, it's comparable to building a windows application in assembly. Sure you can do it, but why not use something that's a little more high level and more designed for the task.

    I've built websites with Pro*C for a school project once, and that was no picnic. If you are going to build a website, use a language that was designed to build websites, such as ColdFusion or even PHP.
  • Russ 2007-08-14 12:48
    vertagano:
    brazzy:

    Besides, what we're looking at is not necessarity a WTF. I remember doing something quite similar in order to host a DB-backed site on my university account that didn't support PHP - I had a PHP app running at home and with a little fiddling made it spit out static pages which I'd then upload to the university account.

    Maybe the actual code is running somewhere else?

    Either you're WaC, or this is a much more common practice than I would have imagined.


    As he mentioned, there are legitimate uses for this. Hosting that doesn't support dynamic languages, etc. Caching would be a good use as well. For sites that rarely change but have a lot of traffic, it might make sense to auto generate the static pages from the dynamic backend whenever a change is made.

    Also could've happened that someone bulid a dynamic site and then there were disagreements between the vendor and the client and the vendor would not allow the client to get the code. Someone probably went and used wget to grab all the pages on the site and make the site static.
  • wtf 2007-08-14 12:51
    It is by no means WTF.
    Nope. It just means you're one of those morons we're making fun of here.
  • Zygo 2007-08-14 13:13
    Russ:
    vertagano:
    brazzy:

    Besides, what we're looking at is not necessarity a WTF. I remember doing something quite similar in order to host a DB-backed site on my university account that didn't support PHP - I had a PHP app running at home and with a little fiddling made it spit out static pages which I'd then upload to the university account.

    Maybe the actual code is running somewhere else?

    Either you're WaC, or this is a much more common practice than I would have imagined.


    As he mentioned, there are legitimate uses for this. Hosting that doesn't support dynamic languages, etc. Caching would be a good use as well. For sites that rarely change but have a lot of traffic, it might make sense to auto generate the static pages from the dynamic backend whenever a change is made.

    Also could've happened that someone bulid a dynamic site and then there were disagreements between the vendor and the client and the vendor would not allow the client to get the code. Someone probably went and used wget to grab all the pages on the site and make the site static.


    ...except doesn't it defeat the purpose to use .aspx pages to make a static snapshot? If they were .html they'd be static, but they're obviously not...
  • StickyWidget 2007-08-14 13:17
    soo true:
    I'm doing some freelance consulting with an acquaintance of mine right now - its my first gig as freelance - and he was going to set it up just like this. Not to fool them or such, but just because he thought it was supposed to be done like that. It's an ecommerce type website where every single page was going to be static. Worse, the pages were going to be image maps, gigantic image maps. If anything was changed, adding a customer, a product, a new advertisement, you would have nearly had to redesign the whole page. Finally convinced him it was correct to do a PHP/MySQL setup...now we just have a convince the guy we're doing it for...he just wants a pretty website.


    The convincing part should be relatively simple. Make a flowchart of the process you follow when something changes. All text in the flowchart should be set to 22pt. font, and printed out so that it is visible from 10 feet away. Then, make a flowchart of what you want to do, using the same criteria. I'm betting yours will fit on 8.5x11, the other one will fit on 85x110.

    When in the meeting, ask him which one he would rather be beaten with, the convoluted flowchart or the beautiful design. Guess which one he goes with. If the process to make changes to a site is large enough to beat a man senseless, it's not the best process. And if he picks the huge process, he deserves to be beaten.

    Besides, it's freelance anyway.
  • jmroth 2007-08-14 13:19
    omg

    (actually I did something like that once, when I made the dynamic site static via wget, since the old web hoster wasn't going to let me take the source ;-)
  • nightkhaos 2007-08-14 13:37
    StickyWidget:

    soo true:

    I'm doing some freelance consulting with an acquaintance of mine right now - its my first gig as freelance - and he was going to set it up just like this. Not to fool them or such, but just because he thought it was supposed to be done like that. It's an ecommerce type website where every single page was going to be static. Worse, the pages were going to be image maps, gigantic image maps. If anything was changed, adding a customer, a product, a new advertisement, you would have nearly had to redesign the whole page. Finally convinced him it was correct to do a PHP/MySQL setup...now we just have a convince the guy we're doing it for...he just wants a pretty website.

    The convincing part should be relatively simple. Make a flowchart of the process you follow when something changes. All text in the flowchart should be set to 22pt. font, and printed out so that it is visible from 10 feet away. Then, make a flowchart of what you want to do, using the same criteria. I'm betting yours will fit on 8.5x11, the other one will fit on 85x110.

    When in the meeting, ask him which one he would rather be beaten with, the convoluted flowchart or the beautiful design. Guess which one he goes with. If the process to make changes to a site is large enough to beat a man senseless, it's not the best process. And if he picks the huge process, he deserves to be beaten.

    Besides, it's freelance anyway.


    Totally agree with you there Sticky. And if we had more developers that explained systems in this manner, we'd be a lot better off in the world. And for the record, you can still make the sight look "pretty" when you use PHP and MySQL as a backend. :)
  • fl 2007-08-14 13:39
    That is just hilarious. Thank you, WTF, for wrapping a smile around my face every day.
  • JOHN 2007-08-14 13:44
    savar:
    tired:

    John

    Your attempt to open a subject that has been thrashed over and over again on this forum and many others is tiresome. The same code and set up could have been done in many other languages. The problem is not the language, I could pick up a book on C#, C++, php, mysql or anthing else and pump out crap like this in 24 hrs. Please comment on things that apply to the topic presented. Adding such a mundane comment only devalues this site. Thanks.

    tired.


    A) You don't know how to use quote tags.

    B) The point that John was making is that while managed runtimes like VB.net are intended to increase developer productivity, they have the perverse side effect of lowering the bar for becoming a programmer. Then a company hires Philip Q. Shitforbrains instead of you or me because he has "tons" of VB.net experience and will work for 20% less.

    Just because you know/use/love VB.net doesn't make you an idiot. But VB.net does allow people who don't know what they're doing to get by anyway. If this project had been written in C++, the dumbass "consultant" who did this job would have never made the cut.

    At the same time, it would have taken more lines of code and more man hours to write it in C++. I think we all understand this. We just like to pick on VB because so many WTFs arise from it.



    Thank you, this was my point exactly.

    Languages like Visual Basic make computer languages "less scary" to the average person.

    I can't tell you how many times people tell me they can't figure out C# because it's too confusing "with all those symbols", and they prefer VB instead.

    Look, Computer Programming is a mathematics and engineering field. If you're afraid of "all those symbols", you really have no business making software.


    Software is used for important things. Your banks use it. Your cars use it. Your company uses it. Your airplanes use it. Your trains use it. Your hospital uses it. Your insurance company uses it.

    Do you really want to trust these critical systems to people who are afraid of learning what a curly bracket does?
  • YourMoFoFriend 2007-08-14 13:45
    rumpelstiltskin:
    YourMoFoFriend:
    JOHN:
    The REAL WTF is Visual Basic.
    I wish people would stop trying to make it easier for idiots to program. They lower salaries and increase costs, but corporations never realize this, due to the myth that workers * hours = productivity.
    JOHN, you're a retard. Every time I see someone going "The REAL WTF is Visual Basic" it's a retard like you with overinflated ego thinking he is smarter then everyone else just because he isn't using VB. There is a million different reasons why VB (and .NET in general) is used, and quiet successfully I might add, but you wouldn't understand them anyway because you are a retard.
    And finally, this crap could've been just as easily done in any of the other 30 or so CLR compatible languages including C++, it's the programmer, not the language.

    Nice grammar there, YourMoFoFriend. Did you pick that up at DeVry?
    VB is a WTF- it exists so that people who can't be bothered with learning how to program, can write GUI apps. It's meant for Shirley in Accounting, but, somehow, the jokers using it started calling themselves programmers, and pointy haired bosses, not knowing any better, institutionalized the error.
    Right, I missed a couple of commas and used "then" instead of "than" once, is that it? Considering that English is not my native language I think I did mighty fine :).
    Now to the question of VB... you seem to be a retard as well.
  • Nitrous 2007-08-14 13:50
    Hey now, I've written websites (CGI) in x86 Assembler before, simply because I had extra time. ... fastest cookie processing code you've ever seen. I've also used TCL, Perl, C, C++, Ruby, PHP, VBScript, JScript, Java, and Pascal. I'm probably forgetting some.

    VBScript is really slumming it, but to a competent coder, it's no different than coding with a really bad standard library. Sure, the language is less expressive, but you simply revert to the way of doing things in the "old days." I definitely prefer it over ColdFusion's super specialized and super-proprietary "tag" coding, CFScript and CFC's.

    VB is not always the wisest choice, but rarely is the decision up to the developers. Languages and tools are usually entrenched in corporate culture. It doesn't matter how good the tool is: If they're not using it, then neither can you. Developers rarely, if ever, can persuade the business. It would be nice to never work on a Microsoft platform project, but it's not always realistic in some regions of the country.
  • Tom 2007-08-14 13:58
    I still don't understand why people rag on Microsoft coding platforms. It's all about the quality of work the programmer puts out. I use .NET (C# and VB) daily for a high-profile site; the site is always up, the users are happy, the pages all validate (most of them to Strict) and we have increased our customers since migrating to strongly-coded .NET projects. It's also far easier to maintain than what previous programmers created.

    I don't slam PHP or Java just because it's not my preference to use them. An idiot can produce garbage in any language, and Microsoft's Visual Studio suite has gotten to be quite effective and useful.
  • Zygo 2007-08-14 14:08
    savar:

    But VB.net does allow people who don't know what they're doing to get by anyway. If this project had been written in C++, the dumbass "consultant" who did this job would have never made the cut.


    Speaking from experience, I doubt C++ would really be a barrier. If you diligently ignore all compiler warnings, use a debugger, and strictly fix or work around each bug as it is reported, just about anyone can get C++ code that runs for a given input data set. I've seen this more than once in a corporate setting.

    Russ:
    The real wtf is people writing websites in C++ or VB. Although these are general purpose languages, it's comparable to building a windows application in assembly. Sure you can do it, but why not use something that's a little more high level and more designed for the task.


    Don't look at http://www.tntnet.org/ then. You can embed HTML in C++ or C++ in HTML, your choice. If you want to update a web page on your site, you literally recompile the web server (unless you made a dynamic web page which looks at the URL, reads the matching file from disk, and sends it out...).

    It does a passable job of extending C++ to produce HTML. For example, it uses constructors and destructors to ensure XML tags balance:

    {
    Xmltag a("a", "href=\"http://worsethanfailure.com/\"");
    cout << "WTF";
    } // destructor emits "</a>"

    If you're looking for transparent encoding or escaping support, it's probably insufficient though.
  • Anthony 2007-08-14 14:09
    Thats an idiotic argument. Programming is one thing, telling a machine what you want it to do. There are different levels of programming required for project complexities. Sally in accounting should be able to open up a VBA script in excel and write a script to make her job easier...and if she can't do it there should be a "programmer" on staff that can. That is the point of computers to MAKE OUR JOBS EASIER. Then there are professional grade applications that must be reliable, complete, and easy to use. For those application a "real" programming language should be used. But it's all programming. Get off your high and mighty horse... as a programmer your ONLY job is to make peoples lives easier any way you can, be it VBA,C#,JAVA,C++, COBOL or whatever other solution best fits the problem. I've found that good programmers can write good code regardless of the language and bad programmers will write bad code regardless of the language.
  • Mr Ascii 2007-08-14 14:17
    JOHN:
    savar:
    tired:

    John

    Your attempt to open a subject that has been thrashed over and over again on this forum and many others is tiresome. The same code and set up could have been done in many other languages. The problem is not the language, I could pick up a book on C#, C++, php, mysql or anthing else and pump out crap like this in 24 hrs. Please comment on things that apply to the topic presented. Adding such a mundane comment only devalues this site. Thanks.

    tired.


    A) You don't know how to use quote tags.

    B) The point that John was making is that while managed runtimes like VB.net are intended to increase developer productivity, they have the perverse side effect of lowering the bar for becoming a programmer. Then a company hires Philip Q. Shitforbrains instead of you or me because he has "tons" of VB.net experience and will work for 20% less.

    Just because you know/use/love VB.net doesn't make you an idiot. But VB.net does allow people who don't know what they're doing to get by anyway. If this project had been written in C++, the dumbass "consultant" who did this job would have never made the cut.

    At the same time, it would have taken more lines of code and more man hours to write it in C++. I think we all understand this. We just like to pick on VB because so many WTFs arise from it.



    Thank you, this was my point exactly.

    Languages like Visual Basic make computer languages "less scary" to the average person.

    I can't tell you how many times people tell me they can't figure out C# because it's too confusing "with all those symbols", and they prefer VB instead.

    Look, Computer Programming is a mathematics and engineering field. If you're afraid of "all those symbols", you really have no business making software.


    Software is used for important things. Your banks use it. Your cars use it. Your company uses it. Your airplanes use it. Your trains use it. Your hospital uses it. Your insurance company uses it.

    Do you really want to trust these critical systems to people who are afraid of learning what a curly bracket does?


    Of course not. They should be (and many probably are) in COBOL, MUMPS and RPG.

    Or perhaps APL. After all if you want funny symbols in your programming language, you can't beat APL.


    Can we argue EMACS v. vi next?
  • Christophe 2007-08-14 14:22
    poindexter:
    YourMoFoFriend:

    And finally, this crap could've been just as easily done in any of the other 30 or so CLR compatible languages including C++, it's the programmer, not the language.

    As a Java programmer can I just say that this WTF is not restricted to CLR compatible languages.


    Stupidity is the Universal Meta-Language
  • YourMoFoFriend 2007-08-14 14:23
    JOHN:
    savar:

    A) You don't know how to use quote tags.
    B) The point that John was making is that while managed runtimes like VB.net are intended to increase developer productivity, they have the perverse side effect of lowering the bar for becoming a programmer. Then a company hires Philip Q. Shitforbrains instead of you or me because he has "tons" of VB.net experience and will work for 20% less.

    Just because you know/use/love VB.net doesn't make you an idiot. But VB.net does allow people who don't know what they're doing to get by anyway. If this project had been written in C++, the dumbass "consultant" who did this job would have never made the cut.

    At the same time, it would have taken more lines of code and more man hours to write it in C++. I think we all understand this. We just like to pick on VB because so many WTFs arise from it.



    Thank you, this was my point exactly.
    Languages like Visual Basic make computer languages "less scary" to the average person.
    I can't tell you how many times people tell me they can't figure out C# because it's too confusing "with all those symbols", and they prefer VB instead.
    Look, Computer Programming is a mathematics and engineering field. If you're afraid of "all those symbols", you really have no business making software.

    Software is used for important things. Your banks use it. Your cars use it. Your company uses it. Your airplanes use it. Your trains use it. Your hospital uses it. Your insurance company uses it.

    Do you really want to trust these critical systems to people who are afraid of learning what a curly bracket does?
    By that logic all good programmers write in assembly only and the really good ones in "1"-s and "0"-s directly. The idea that you can scare bad developers away by not having languages like VB is just wrong.
    Now, it is partially true that influx of poorly trained VB developers drove average salary down, but if it wasn't the VB it would've been another language all those people would've used. There was a huge demand for developers and marked filled the gap, regardless of the language chosen. I also happen to know for a fact that a ton of people found Java programming gigs after a week long course in Java. But sure, VB is the real WTF there... :)
  • John Doe 2007-08-14 14:38
    Keith:
    It gets better... take a look at the end of /pages/@id=5.aspx:

    <map name="Copyright">
    
    <area shape="rect" coords="5,10,142,28" href="../../www.i4.net/default.aspx" target="_blank">
    </map>


    Not only that, but http://www.i4.net/default.aspx is a .NET 404...

    !

    And when you click the link, the page goes to http://www.equilib.us/www.i4.net/default.aspx :D (does not exist of course)

    Going two "directories" up means you go to the "internet directory" or something?! Pretty WTF...
  • Lurker McGee 2007-08-14 14:43
    ack... view source on this thing. I just noticed that there's no hidden viewstate field... this is just an html page that wants to be run on microsoft servers. In that way, its not so much of a wtf to open it up in dreamweaver - it's not really an asp.net app, after all.

    There's also a big long chain of non-breaking spaces (for tabbing, obviously) and font abuse going on... Eeek.
  • APH 2007-08-14 14:47
    YourMoFoFriend:
    JOHN:
    savar:

    A) You don't know how to use quote tags.
    B) The point that John was making is that while managed runtimes like VB.net are intended to increase developer productivity, they have the perverse side effect of lowering the bar for becoming a programmer. Then a company hires Philip Q. Shitforbrains instead of you or me because he has "tons" of VB.net experience and will work for 20% less.

    Just because you know/use/love VB.net doesn't make you an idiot. But VB.net does allow people who don't know what they're doing to get by anyway. If this project had been written in C++, the dumbass "consultant" who did this job would have never made the cut.

    At the same time, it would have taken more lines of code and more man hours to write it in C++. I think we all understand this. We just like to pick on VB because so many WTFs arise from it.



    Thank you, this was my point exactly.
    Languages like Visual Basic make computer languages "less scary" to the average person.
    I can't tell you how many times people tell me they can't figure out C# because it's too confusing "with all those symbols", and they prefer VB instead.
    Look, Computer Programming is a mathematics and engineering field. If you're afraid of "all those symbols", you really have no business making software.

    Software is used for important things. Your banks use it. Your cars use it. Your company uses it. Your airplanes use it. Your trains use it. Your hospital uses it. Your insurance company uses it.

    Do you really want to trust these critical systems to people who are afraid of learning what a curly bracket does?
    By that logic all good programmers write in assembly only and the really good ones in "1"-s and "0"-s directly. The idea that you can scare bad developers away by not having languages like VB is just wrong.
    Now, it is partially true that influx of poorly trained VB developers drove average salary down, but if it wasn't the VB it would've been another language all those people would've used. There was a huge demand for developers and marked filled the gap, regardless of the language chosen. I also happen to know for a fact that a ton of people found Java programming gigs after a week long course in Java. But sure, VB is the real WTF there... :)


    "1"-s and "0"-s? Real programmers wire up the vacuum tubes by hand!
  • joshua 2007-08-14 14:55
    With all due respect, I could not disagree more. Software *is* most definitely used for important things. But, you know what? When I got out of college 10 years ago, I wrote an Access application for my parents to create invoices for their business. Mission-critical? Hardly. Useful, sure.

    I would agree that I would not want someone poorly versed in VB writing the software that keeps our economic systems viable, but, as a CEO (which I'm not, thank God, but play along for argument's sake), I do not want to spend $300 an hour for an Anders protege to build some reports.

    There is plenty of room for developers of all skill levels and expertise in our world. Some of us have moved beyond Access and VB to something bigger and better (and more complex), but that does not diminish either the value of people who still use those tools or the products they create. I am proud of the fact I invested a great amount of time and effort into learning to be a good developer and architect, but just because you can go out and buy a pneumatic nail gun, it doesn't make a hammer obsolete.

    Besides, if we were all "brillant" developers, this would be a horribly boring site.
  • rumpelstiltskin 2007-08-14 15:16
    YourMoFoFriend:
    rumpelstiltskin:
    YourMoFoFriend:
    JOHN:
    The REAL WTF is Visual Basic.
    I wish people would stop trying to make it easier for idiots to program. They lower salaries and increase costs, but corporations never realize this, due to the myth that workers * hours = productivity.
    JOHN, you're a retard. Every time I see someone going "The REAL WTF is Visual Basic" it's a retard like you with overinflated ego thinking he is smarter then everyone else just because he isn't using VB. There is a million different reasons why VB (and .NET in general) is used, and quiet successfully I might add, but you wouldn't understand them anyway because you are a retard.
    And finally, this crap could've been just as easily done in any of the other 30 or so CLR compatible languages including C++, it's the programmer, not the language.

    Nice grammar there, YourMoFoFriend. Did you pick that up at DeVry?
    VB is a WTF- it exists so that people who can't be bothered with learning how to program, can write GUI apps. It's meant for Shirley in Accounting, but, somehow, the jokers using it started calling themselves programmers, and pointy haired bosses, not knowing any better, institutionalized the error.
    Right, I missed a couple of commas and used "then" instead of "than" once, is that it? Considering that English is not my native language I think I did mighty fine :).
    Now to the question of VB... you seem to be a retard as well.


    Well, that's not it, but that's not important.
    I think English is your first language- your grammar is too much sloppy, and not enough wrong. It signals stupidity, not ignorance. But, since you use VB, we already got that message.
  • ggoon 2007-08-14 15:22
    When I first got into web applications development, I was tasked with the maintenance of something exactly like this.

    It was an online catalog of vet lab services my office offered for different animals, mainly blood work and the like.

    Rather than create a conventional database, the "developer" (now senior project manager) opted to create ~1485 static html pages, with the relevant information on each one for the animal. When information needed to be changed for the services offered on that genus/species, the update was emailed to the developer, who updated the correct HTML file.

    Each genus/species/subspecies/breed got its own HTML file. As you might imagine, in the veterinary world this is *quite* a collection!

    Enters GGoon: After writing the mother of all extraction scripts, I loaded it into an oracle schema. I then created 10 JSP pages. Maintenance time went from ~3 months to update the entire catalog to about 5 business days.

    ggoon
  • Pony Gumbo 2007-08-14 15:28
    Hungry Dude:
    hmmm...a curiously similar structure to the site we're reading..

    http://worsethanfailure.com/Articles/When-the-Query-String-Is-Just-Not-Enough.aspx



    Except that WorseThanFailure actually uses a URL rewriting scheme, not static pages.
  • Shinobu 2007-08-14 15:44
    JOHN:
    The REAL WTF is Visual Basic.
    * Brutally slaughters the troll with a chainsaw *
  • YourMoFoFriend 2007-08-14 15:45
    rumpelstiltskin:
    Well, that's not it, but that's not important.
    I think English is your first language - your grammar is too much sloppy, and not enough wrong. It signals stupidity, not ignorance. But, since you use VB, we already got that message.
    Well, what is it then?
    English is most certainly not my native language and you can confirm it by doing a quick search on my nick..., on this site alone you will find a few comments of mine in my native tongue. Having said that I will take the statement: "your grammar is too much sloppy, and not enough wrong" as a compliment and thus your "I think English is your first language" really "signals stupidity" as well as arrogance on your part. What was your programming language of choice again?

    P.S. Sucks to be outwitted by a foreigner in YOUR native language, huh? :))
  • Jeff 2007-08-14 16:20
    JOHN:
    The REAL WTF is Visual Basic.


    First thought after reading the story (other than "wow, that's stupid) was I wondered how long it would be before some jackass blamed it on the fact it was VB.NET. Never mind this monstrosity could have been just as easily created in C#, Java, PHP, etc.

    And, no, I use C#, so I'm not a VB homey defending it because I use it.

  • phaedrus 2007-08-14 16:21
    Mr Ascii:
    Can we argue EMACS v. vi next?


    ED!!! ED is the STANDARD!!
  • Jeff 2007-08-14 16:38
    Russ:
    The real wtf is people writing websites in C++ or VB.

    Hey, Russ, get a clue. ASP.NET (with which you can use VB.NET, C#, J#, or even C++ for .NET etc.) was specifically designed for building web sites. I mean, lets face it, little applications like DotNetNuke (VB.NET) or Rainbow Portal (C#) are all written using ASP.NET.

    I suppose the litany of HTTP* (i.e., HTTPResponse, HTTPRequest, HTTPCookie, etc.) objects in ASP.NET were never designed with the web in mind, were they?

    Know a little something about what you're writing about before you type.
  • Russ 2007-08-14 16:42
    Zygo:
    Russ:
    vertagano:
    brazzy:

    Besides, what we're looking at is not necessarity a WTF. I remember doing something quite similar in order to host a DB-backed site on my university account that didn't support PHP - I had a PHP app running at home and with a little fiddling made it spit out static pages which I'd then upload to the university account.

    Maybe the actual code is running somewhere else?

    Either you're WaC, or this is a much more common practice than I would have imagined.


    As he mentioned, there are legitimate uses for this. Hosting that doesn't support dynamic languages, etc. Caching would be a good use as well. For sites that rarely change but have a lot of traffic, it might make sense to auto generate the static pages from the dynamic backend whenever a change is made.

    Also could've happened that someone bulid a dynamic site and then there were disagreements between the vendor and the client and the vendor would not allow the client to get the code. Someone probably went and used wget to grab all the pages on the site and make the site static.


    ...except doesn't it defeat the purpose to use .aspx pages to make a static snapshot? If they were .html they'd be static, but they're obviously not...


    You're obviously a windows person. Only in windows does an extension very important. Either way, I can set up Apache on windows or linux and name my pages .wtf and still have them process using any language I like.

    If all the aspx pages contain is static html and there is no aspx handler defined, then the pages are static.
  • sammy 2007-08-14 16:55
    I'd bet some nominal number of dollars that this site was once dynamic, but had to be "captured" due to some kind of falling out with a developer, ISP, hosting service, etc.
  • Corey 2007-08-14 17:36
    Nitrous:
    Hey now, I've written websites (CGI) in x86 Assembler before, simply because I had extra time. ... fastest cookie processing code you've ever seen. I've also used TCL, Perl, C, C++, Ruby, PHP, VBScript, JScript, Java, and Pascal. I'm probably forgetting some.


    Whoa... CGIs in Pascal. Was there something driving that choice of language, or was it (like the x86 Assembler) just "because you could"?
  • J 2007-08-14 17:59
    YourMoFoFriend:
    rumpelstiltskin:
    Well, that's not it, but that's not important.
    I think English is your first language - your grammar is too much sloppy, and not enough wrong. It signals stupidity, not ignorance. But, since you use VB, we already got that message.
    Well, what is it then?
    English is most certainly not my native language and you can confirm it by doing a quick search on my nick..., on this site alone you will find a few comments of mine in my native tongue. Having said that I will take the statement: "your grammar is too much sloppy, and not enough wrong" as a compliment and thus your "I think English is your first language" really "signals stupidity" as well as arrogance on your part. What was your programming language of choice again?

    P.S. Sucks to be outwitted by a foreigner in YOUR native language, huh? :))


    rumpelstiltskin has been owned.
  • manarth 2007-08-14 18:36
    Russ:
    Zygo:

    ...except doesn't it defeat the purpose to use .aspx pages to make a static snapshot? If they were .html they'd be static, but they're obviously not...


    You're obviously a windows person. Only in windows does an extension very important. Either way, I can set up Apache on windows or linux and name my pages .wtf and still have them process using any language I like.

    If all the aspx pages contain is static html and there is no aspx handler defined, then the pages are static.


    FWIW, a quick and dirty fingerprinting (i.e. reading the http headers of a get request) of the Equilib site suggests that it is running IIS6 with asp.Net (and therefore probably are parsed by the asp parser - of course, assuming it's lacking dynamic <% // asp code %> tags it might as well be static for the difference it makes)

    (and yes, I know it could be apache faking the headers, but...do you really think so? really?)

    My guess is the developers sold a static site, but used an in-house templating system to simplify the development. Sometimes TRWTF is us, presuming to second-guess without a knowledge of the architecture or circumstances.

    Still, I'd love to know the real reason!
  • jimmy 2007-08-14 20:13
    YourMoFoFriend:
    JOHN:
    The REAL WTF is Visual Basic.
    I wish people would stop trying to make it easier for idiots to program. They lower salaries and increase costs, but corporations never realize this, due to the myth that workers * hours = productivity.
    JOHN, you're a retard. Every time I see someone going "The REAL WTF is Visual Basic" it's a retard like you with overinflated ego thinking he is smarter then everyone else just because he isn't using VB. There is a million different reasons why VB (and .NET in general) is used, and quiet successfully I might add, but you wouldn't understand them anyway because you are a retard.
    And finally, this crap could've been just as easily done in any of the other 30 or so CLR compatible languages including C++, it's the programmer, not the language.



    amen to that brother!
  • Mnc_ 2007-08-14 21:41
    This is one of those WTF's that gives you a migraine, and makes you want to cry.
    No, really.
  • Billco 2007-08-14 21:43
    I hate idiotic web developers, because they get fired and I have to take over their messes.

    I'd rather sell my fat ass for crack money than have to maintain some bonehead's half-broken web app.
  • JohnFx 2007-08-14 23:08
    No kidding. Only real programmers understand that using the most complicated tool for the job makes the most sense. That is why I use a Japaneese Keyboard and no mouse.
    </sarcasm>

    While every programmer who gets a boner over managing his own memory is debugging an incorrectly cased variable reference or a missed semi-colon there is a VB programmer out there that understands that programming is about producing software. The irony is that this type of programmer will obsess over the 80th level of abstraction in his data models yet scorn the very concept of letting a FRAMEWORK do his garbage collection. Snort!

    I wish people would stop making it easier for platform snobs like you to post.
  • JohnFx 2007-08-14 23:11
    YourMoFoFriend:
    rumpelstiltskin:
    Well, that's not it, but that's not important.
    I think English is your first language - your grammar is too much sloppy, and not enough wrong. It signals stupidity, not ignorance. But, since you use VB, we already got that message.
    Well, what is it then?
    English is most certainly not my native language and you can confirm it by doing a quick search on my nick..., on this site alone you will find a few comments of mine in my native tongue. Having said that I will take the statement: "your grammar is too much sloppy, and not enough wrong" as a compliment and thus your "I think English is your first language" really "signals stupidity" as well as arrogance on your part. What was your programming language of choice again?

    P.S. Sucks to be outwitted by a foreigner in YOUR native language, huh? :))


    I think this qualifies as the Burn of the day. OUCH!

    captcha: burned - No freaking kidding. Even the dang blog software felt the heat offa that one.
  • Nazlfrag 2007-08-15 00:14
    I think we've found a programmer who doesn't grasp the concept of variables. The mind boggles.
  • Wabbitseason 2007-08-15 04:23
    That "pages" directory is in fact the cache.
  • Opie 2007-08-15 05:36
    Russ:

    You're obviously a windows person. Only in windows does an extension very important. Either way, I can set up Apache on windows or linux and name my pages .wtf and still have them process using any language I like.


    You're obviously NOT a Windows person, purporting to know something that you don't actually understand.
    Extensions can be mapped to anything in Windows.
    And dreamweaver can be forced to open any file type, just like any other text editor out there.

    Apache is not special in being able to handle whatever file extension you throw at it.
    On the contrary, I'd argue it's easier to configure IIS for that. It can be done either by directly editing the metabase and adding one line or via the simple GUI interface at the server or application level.
    Our servers treat files with the .ddt extension as asp.net files, for one of our internal sites. It took me all of 20 seconds to set that up in IIS 6 and then export the config to copy it to the other servers in the farm.

    And guess what? Looking at the headers, you'd think the system was running Apache.
    You Apache people think IIS can't do everything your beloved Apache can... Think again...
  • Gordon JC Pearce 2007-08-15 06:09
    That's what Actinic e-commerce does. The management software has an Access database with all the product details. When you upload, it constructs static pages for all the products based on template fragments and the contents of the database. Finally it throws a couple of Perl scripts into /cgi-bin/ to handle the shopping cart.

    Makes sense in the context of old hosting that only gave you static HTML and a cgi-bin, really it does. These days, though...
  • A Zanescu 2007-08-15 06:37
    poindexter:
    YourMoFoFriend:

    And finally, this crap could've been just as easily done in any of the other 30 or so CLR compatible languages including C++, it's the programmer, not the language.

    As a Java programmer can I just say that this WTF is not restricted to CLR compatible languages.


    Java (J#) is a CLR compatible laguage
  • mrbungle 2007-08-15 07:06
    A true WTF!
  • Lachy Junior 2007-08-15 08:46
    I'm curious. Why are so many people convinced this is VB? It's true that the chances are high, but I can't see anything that identifies the language one way or another.
  • Someone You Know 2007-08-15 09:57
    Lachy Junior:
    I'm curious. Why are so many people convinced this is VB? It's true that the chances are high, but I can't see anything that identifies the language one way or another.


    Would you name your files with .vb at the end if they weren't VB?
  • gotcha 2007-08-15 11:14
    Pony Gumbo:
    Hungry Dude:
    hmmm...a curiously similar structure to the site we're reading..

    http://worsethanfailure.com/Articles/When-the-Query-String-Is-Just-Not-Enough.aspx



    Except that WorseThanFailure actually uses a URL rewriting scheme, not static pages.

    Why don't they scrap the ".aspx"?
  • Phill 2007-08-15 11:40
    gotcha:
    Pony Gumbo:
    Hungry Dude:
    hmmm...a curiously similar structure to the site we're reading..

    http://worsethanfailure.com/Articles/When-the-Query-String-Is-Just-Not-Enough.aspx



    Except that WorseThanFailure actually uses a URL rewriting scheme, not static pages.

    Why don't they scrap the ".aspx"?


    Probably because it's running on a hosting provider who won't let them change IIS to map everything to aspnet_isapi.dll therefore need the .aspx so that it hits the URL rewriter in the first place.
  • Anonymouse 2007-08-15 11:40
    Opie:
    You Apache people think IIS can't do everything your beloved Apache can... Think again...
    Can IIS come with the source code so I can study it and adapt it to my own needs?
  • Worf 2007-08-15 12:42
    Anonymouse:
    Opie:
    You Apache people think IIS can't do everything your beloved Apache can... Think again...
    Can IIS come with the source code so I can study it and adapt it to my own needs?


    Better yet... can IIS run on non-x86 platforms? Or anything not running Windows? (I have had apache running on an ARM platform, running Linux. 32MB of RAM, 16MB of flash. Can IIS run on that?).

    Though, I've switched to thttpd... and the platform has been upgraded to 32MB of flash and 64MB of RAM...
  • DavidTC 2007-08-15 13:42
    It's astonishing how many 'web designers' think that query strings represent actual pages.

    I understand it going the other way. I've seen people thinking that all /filename.html URLs were actual files, not realizing that someone did some SEO stuff and those were actually being pulled from a DB. I've had to sit and patiently explain that URLs are sometimes not files even when they look like them, and there is no filename.html to edit, that when you ask a website for a URL it can literally return anything it wants, from an actual file to something it just made up, and different sites do different things.

    But thinking query strings are actual pages is just...mindboggling. Why the hell would anyone voluntarily name pages like that?

    And actually _doing_ a site that way, of course, is even worse. The question is, did the designer do it because they think it's some sort of crazy standard, or were they trying to fool someone?
  • Andrew 2007-08-15 16:13
    vertagano:
    brazzy:

    Besides, what we're looking at is not necessarity a WTF. I remember doing something quite similar in order to host a DB-backed site on my university account that didn't support PHP - I had a PHP app running at home and with a little fiddling made it spit out static pages which I'd then upload to the university account.

    Maybe the actual code is running somewhere else?

    Either you're WaC, or this is a much more common practice than I would have imagined.


    Even if there's a reason to create a static page mirror of a site, why have a *.aspx suffix? Use an *.html or other static suffix in case your mirror later ends-up on a site with an ASP handler (note: I've never set-up an MS webserver or ASP, but I know Apache modules well.).

    I think this consultant defrauded the customer. It looks like a sham to make the customer think there were ASP dynamic pages.
  • Hal 2007-08-15 18:10
    arg! Iam so tired of the apache/IIS wars... yeah I have a bunch of sites that are reporting as Apache, thats what happens when you run an Apache firewall. So what? Did you guys really think Apache was all that and a bag-o-chips?
  • Ken 2007-08-15 18:39
    Actually, he's right. It's not a WTF. It's what others mentioned above as wget caching. Nothing exciting to look at here...move on...
  • Ken 2007-08-15 18:40
    wtf:
    It is by no means WTF.
    Nope. It just means you're one of those morons we're making fun of here.


    Actually, he's right. It's not a WTF. It's what others mentioned above as wget caching. Nothing exciting to look at here...move on...
  • Pingmaster 2007-08-15 20:52
    James:
    Jamie:
    Mike:
    Wow......just wow.

    You can only imagine what the inside of each of those pages looks like. Probably the exact same content, with a database search parameter changed.


    what makes u so sure there is a database behind the scenes....?! :-)


    Ye an XML file would be better :-)


    I could just see that...
    /xml/1.xml
    /xml/2.xml
    /xml/3.xml
    ...
    /xml/15.xml
    /xml/16.xml
    /xml/17.xml

  • Mr Steve 2007-08-16 03:40
    nowtf:
    It is by no means WTF. I've done that to develop sites for deployment on constrained servers - no DB, no scripts. You do this to ease your part of developement - use master page, DB, all locally. After that you wget --mirror site locally and - if properly created - you have fully functional, yet static website. I consider it normal practice in situations where it suits.



    I can appreciate what you're saying, but, can you even begin to imagine what maintaining this beast would be like for somebody else?

    That sort of approach is only cool if you either
    a) the client specified they will never update their website with new pages / products
    b) you are a sociopath, you bill your client then run like hell
  • Enzee 2007-08-16 09:30
    http://www.equilib.us/dform/Thankyou.aspx?userid=255&type=P

    Enrollment - 01/01/0001

    You will be contacted shortly by an enrollment representative to proceed with the next step in the enrollment process. Thanks for your interest in Evince!


    Brillant!

    http://www.equilib.us/dform/@id=1.aspx

    Nothing on the form is validated and the "userid" shows they have 52 (as of right now) registered users

    type=P = Patient
    type=D = Doctor

    http://www.equilib.us/dform/Thankyou.aspx?userid=1&type=P

    And you can view details on existing accounts.

  • Enzee 2007-08-16 09:36
    http://www.equilib.us/dform/Thankyou.aspx?userid=999999999999999999999999999&type=P

  • Opie 2007-08-16 15:29
    Better yet...You can just write an ISAPI plugin and be done with it.
    Next please.
    If you /really/ honestly need to modify the source of your web server, then have at it.

    Somehow I doubt you or 99.99% of other users of apache have touched the source code at all.
    If you have, then congratulations...You're one of the .01%.
    Yay?
  • Ian 2007-08-16 16:57
    While I'm starting to believe that this was a cached template, it makes me wonder why they didn't just use static templates in Dreamweaver. I guess maybe they knew ASP.NET more than they knew Dreamweaver or something.
  • stiggy 2007-08-17 16:17
    APH:
    YourMoFoFriend:
    JOHN:
    savar:

    A) You don't know how to use quote tags.
    B) The point that John was making is that while managed runtimes like VB.net are intended to increase developer productivity, they have the perverse side effect of lowering the bar for becoming a programmer. Then a company hires Philip Q. Shitforbrains instead of you or me because he has "tons" of VB.net experience and will work for 20% less.

    Just because you know/use/love VB.net doesn't make you an idiot. But VB.net does allow people who don't know what they're doing to get by anyway. If this project had been written in C++, the dumbass "consultant" who did this job would have never made the cut.

    At the same time, it would have taken more lines of code and more man hours to write it in C++. I think we all understand this. We just like to pick on VB because so many WTFs arise from it.



    Thank you, this was my point exactly.
    Languages like Visual Basic make computer languages "less scary" to the average person.
    I can't tell you how many times people tell me they can't figure out C# because it's too confusing "with all those symbols", and they prefer VB instead.
    Look, Computer Programming is a mathematics and engineering field. If you're afraid of "all those symbols", you really have no business making software.

    Software is used for important things. Your banks use it. Your cars use it. Your company uses it. Your airplanes use it. Your trains use it. Your hospital uses it. Your insurance company uses it.

    Do you really want to trust these critical systems to people who are afraid of learning what a curly bracket does?
    By that logic all good programmers write in assembly only and the really good ones in "1"-s and "0"-s directly. The idea that you can scare bad developers away by not having languages like VB is just wrong.
    Now, it is partially true that influx of poorly trained VB developers drove average salary down, but if it wasn't the VB it would've been another language all those people would've used. There was a huge demand for developers and marked filled the gap, regardless of the language chosen. I also happen to know for a fact that a ton of people found Java programming gigs after a week long course in Java. But sure, VB is the real WTF there... :)


    "1"-s and "0"-s? Real programmers wire up the vacuum tubes by hand!


    Luxury! We used to dream of having fancy-pants vacuum tubes.

    When I were a lad we had to cut cogs for that Mr. Babbage's difference engine with nowt but our teeth.
  • Richard 2007-08-20 08:49
    I'm probably going to get a WTF for not reading others talking about this, bit it's something I've done back in the days when static hosting was far far cheaper than dynamic and, although "dynamic" the page is effectively static as it doesn't change much. You build a dynamic site then use wget to get it and upload the wgotted files to the static hosting company.

    - Richard

    [Captha is Pinball - what ever happened to all the pinball machines you used to get to play on everywhere.]
  • Richard 2007-08-20 08:55
    I think the likes of Visual Studio are fine for simple rapid development projects that aren't expected to stand up to heavy maintenance, but if the project is non-trivial proper software design soon pays for itself again and again in the maintenance phase, robustness to change, all sorts!
  • YourMoFoFriend 2007-08-20 10:58
    Richard:
    I think the likes of Visual Studio are fine for simple rapid development projects that aren't expected to stand up to heavy maintenance, but if the project is non-trivial proper software design soon pays for itself again and again in the maintenance phase, robustness to change, all sorts!
    I fail to see how a development tool, i.e. Visual Studio can stand on the way of a proper software design process?
  • misha 2007-08-20 22:07
    YourMoFoFriend:
    JOHN:
    The REAL WTF is Visual Basic.
    I wish people would stop trying to make it easier for idiots to program. They lower salaries and increase costs, but corporations never realize this, due to the myth that workers * hours = productivity.
    JOHN, you're a retard. Every time I see someone going "The REAL WTF is Visual Basic" it's a retard like you with overinflated ego thinking he is smarter then everyone else just because he isn't using VB. There is a million different reasons why VB (and .NET in general) is used, and quiet successfully I might add, but you wouldn't understand them anyway because you are a retard.
    And finally, this crap could've been just as easily done in any of the other 30 or so CLR compatible languages including C++, it's the programmer, not the language.


    YourMoFoFriend is of course right and the troll is a troll, but there is some benefit, at least to me, in having easy to pickup languages. My first language was QBasic (not even QuickBasic, the demo version you used to get with DOS).

    I saw some kids at school playing around with it, and they showed me IF THEN ELSE, GOTO, LET, PRINT and INPUT. I read the help file and was very happy writing text adventure games for a few months.

    After a while, I realised how limiting the language was and decided to learn some "proper" languages. Prior to this I had no interest in programming, and I suspect if the first language I tried had been C++ or perl this would still be the case today.

    For every (hundred) accountants who learn VBA, there's one who becomes a decent coder.
  • Anonymous Coward 2007-08-21 20:47
    Enzee:
    http://www.equilib.us/dform/Thankyou.aspx?userid=999999999999999999999999999&type=P



    That is a real WTF

    ...and all those VB-or-not-VB-Flamewar-mongers should redirect themselves to /dev/null, i mean, nul. And smile :-)
  • Jim 2007-08-22 08:53
    TROLL !
  • Foo 2007-08-28 11:42
    You know what happened here!
    They hired a bunch of consultants to design the web site, who used a content-management system, and provided an e-commerce service.
    They parted company with them acrimoniously, and so had to hastily get the site up again on a new server. So they wget'ed the whole thing, and uploaded it.
  • bull 2007-11-19 12:37
    C'mon people, this is the best method to counter SQL-Injection
    LOL
    Captcha: muhahaha . Muhahaha
  • kingpin 2007-11-19 12:41
    bull:
    C'mon people, this is the best method to counter SQL-Injection
    LOL
    Captcha: muhahaha . Muhahaha

    You're funny

    Yes, we will make hackers cry and we will also cry. Imagine hundreds or even thousands of products.

    Rofl
  • omg 2008-05-20 09:32
    OH-MY-GOD
    this is too much for me
  • Blu Ray DVD Copy 2009-09-01 12:48
    �Ϻ�<a href=http://www.earth-soft.com/prodcuts.html>Blu Ray DVD Copy </a>��˾��ͬ��Blu Ray DVD Copy (TD)Blu Ray DVD Copy ��˾�ر�ע�����ĵ�Blu Ray DVD Copy ������Ŀǰ�Ϻ�Blu Ray DVD Copy ��˾�ɶ����ṩӢ��Blu Ray DVD Copy ����<a href=http://www.earth-soft.com/blurayripper.html>Blu Ray DVD Ripper</a>,����Blu Ray DVD Ripper,����Blu Ray DVD Ripper,����Blu Ray DVD Ripper,Blu Ray DVD Ripperý��,Blu Ray DVD Ripper�豸,Blu Ray DVD Ripper��˾,Blu Ray DVD Ripper��,Blu Ray DVD Ripper����,�װ���Blu Ray DVD to psp����-<a href=http://www.earth-soft.com/tutorial.html>Blu Ray DVD to psp</a>,����Blu Ray DVD to psp,Blu Ray DVD to psp����,��������,��������,������Blu Ray DVD to psp��һ�Ҽ�Ӱ�ӡ�<a href=http://www.earth-soft.com/blurayripper.html>Blu Ray Ripper</a>��Blu Ray Ripper��ý��Blu Ray Ripper���ء�Blu Ray Ripper���մ�������������������Blu Ray Ripperרҵ����ˮ׼���ۺ���Blu Ray Ripper��˾��Ҫ�ṩ<a href=http://www.topsoftwareol.com/product/DVD/BlurayRipper.html>blu ray software</a>��blu ray softwareϵ�е�blu ray software��Ʒ���ṩ�й���blu ray software��blu ray software�����Ϣ��ѯ�����߶���blu ray software�ȷ���<a href=http://www.earth-soft.com/tutorial.html>Blu Ray to psp</a>��˾-�ó�����Ͷ��Blu Ray to psp��˾-����Blu Ray to psp��˾-ר��Blu Ray to psp��˾-רҵ������Blu Ray to psp��˾�ṩ����<a href=http://www.topsoftwareol.com/product/Blu-ray/Blu-ray_to_HD_Converter.html>blu-ray hd dvd</a>Ӫ��ƽ̨����Ŀ����blu-ray hd dvd���blu-ray hd dvd��ƣ�blu-ray hd dvd����������blu-ray hd dvdӪ�����й�����boots shoesý����վ�����Լ�ʱ��<a href=http://www.tonykicks.com/>boots shoes</a>���š�������boots shoes��Ѷ�Ͷ�����boots shoes��Ϣ������Ϊ���boots shoes������
  • i4_fan 2010-07-14 09:11
    Just had to revive this one... it appears i4 have been inflicting this "design" on their customers (check out the very bottom of the page).

    http://www.equilib.us/pages/@id=6.aspx