Know when to <hold> them



  • I admit it. I like to play the occasional online poker. I'm not very good, so I don't play all that often.  In fact, I go for very long periods of time without even logging in.

    While doing some Start Menu Maintenance, I found the last poker room I hustled for a sign-up bonus. I couldn't remember if I still had money on there or not. So I signed in. After updating itself to the latest revision, it took me to the lobby. Seems I still had $35 there. Yay, lunch money.

    And then I saw, in the upper left corner, the news scroll. It slowly rolls one line of text across the screen, marquee-style. Well, imagine my surprise when I read what today's news was-- doubly so when I realize that it had just updated me to the latest, "greatest" revision of the software:

     Blackjack!

     

    Yup, the crappy Internet Explorer facade broke down, and I got a glimpse at the ugly, ugly guts beneath: 


    <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" >

    <HTML>

        <HEAD>

            <title>WebForm1</title>

            <meta name="GENERATOR" Content="Microsoft Visual Studio .NET 7.1">

            <meta name="CODE LANGUAGE" Content="C#">

            <meta name="vs defaultClientScript" content="JavaScript">

            <meta name="vs targetSchema" content="http://schemas.microsoft.com/intellisense/ie5">

        </HEAD>

        <body MS Positioning="GridLayout">

            <form name="Form1" method="post" action="Default.aspx" id ="Form1">

            <input type="hidden" name="  VIEWSTATE" value="wtfbbqlolgtfo" />

            </form>

        </body>

    </HTML>
     

     

    I think I'll be withdrawing my cash. 



  • Assuming you anonymized the viewstate, which by rights shouldn't even be there since the page has no controls, I don't really see the WTF. Someone forgot to nuke the boilerplate in the template and replace it with an <asp:Literal> control. Makes me want to go "hahaha, idiot" at the coder, not "what the F***" at the code.



  •  @TwelveBaud said:

    Assuming you anonymized the viewstate, which by rights shouldn't even be there since the page has no controls, I don't really see the WTF. Someone forgot to nuke the boilerplate in the template and replace it with an <asp:Literal> control. Makes me want to go "hahaha, idiot" at the coder, not "what the F***" at the code.

     Well, to paraphrase, "Code doesn't wtf code. [b]Coders[/b] wtf code."


Log in to reply