• Josiah (unregistered) in reply to Peter

    LOL! Nope its all in Javascript. Still is :( the design firm is trying to convince the client to bring their website into 2011.

  • Renderman82 (unregistered) in reply to Josiah

    So... it seems like the site is down. No custom error page as well...

    Server Error in '/' Application.

    Column 'id' does not belong to table Table.

    Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.

    Exception Details: System.ArgumentException: Column 'id' does not belong to table Table.

    Source Error:

    An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.

    Stack Trace:

    [ArgumentException: Column 'id' does not belong to table Table.] System.Data.DataRow.get_Item(String columnName) +120 Photoplay.Site.SiteInfo..ctor(DataRow drow) Photoplay.Site.SiteUtility.GetSiteInfo() Photoplay.Site.SitesModule.Application_BeginRequest(Object source, EventArgs e) System.Web.SyncEventExecutionStep.System.Web.HttpApplication+IExecutionStep.Execute() +60 System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) +87

    Version Information: Microsoft .NET Framework Version:1.1.4322.2407; ASP.NET Version:1.1.4322.2407

  • Sole Reason For Visit (unregistered) in reply to Larry
    OK... this is finally my chance to learn something on TDWTF... and since my computer doesn't have google installed...

    What are "DRY principles"?

    • Do it yourself
    • Run Ycursively?


    OK, kid, let yourself rip.

    Bing is your friend.

    Also Dave Thomas and his motley crue of Pragmatic Programmers, but you'd actually have to read them on dead trees for that.

  • John Hensley (unregistered)

    TRWTF is commenting out old code.

  • Keep on derpin' (unregistered) in reply to Ken B.
    Comment held for moderation.
  • Howling mad (unregistered)

    He was having performance issues and was trying to optimize out the branch from the loop, this is a normal coding practice

  • Jeremy (unregistered)

    I wrote a program a lot like that in QBASIC. When I was 5.

  • (cs) in reply to Jeremy
    I wrote a program a lot like that in QBASIC. When I was 5.

    Jeremy, How old are you now?

  • UnStandard (unregistered)

    OK I'm surprised no one caught this - TRWTF is including jquery just to "tighten up" this code, addressing only this issue.

    While jquery can be handy, it most certainly is not required or appropriate for this.

    Looking at the code on the site, it appears that Josiah has included 274.34 KB of jquery code to "reduce" 31.9 KB of code to 1.69 KB (+274.34 KB of jquery code).

    This is exactly when you do not use a library.

  • malik (unregistered)

    what a smart guy, he can handle 76 items in a cart at once :D !

Leave a comment on “The WET Cart”

Log In or post as a guest

Replying to comment #:

« Return to Article