- Feature Articles
- CodeSOD
- Error'd
- Forums
-
Other Articles
- Random Article
- Other Series
- Alex's Soapbox
- Announcements
- Best of…
- Best of Email
- Best of the Sidebar
- Bring Your Own Code
- Coded Smorgasbord
- Mandatory Fun Day
- Off Topic
- Representative Line
- News Roundup
- Editor's Soapbox
- Software on the Rocks
- Souvenir Potpourri
- Sponsor Post
- Tales from the Interview
- The Daily WTF: Live
- Virtudyne
Admin
LOL! Nope its all in Javascript. Still is :( the design firm is trying to convince the client to bring their website into 2011.
Admin
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
Admin
Finally?
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.
Admin
TRWTF is commenting out old code.
Admin
http://clientsfromhell.net/post/11446576194/client-i-dont-want-to-download-it-just-give-it
Admin
He was having performance issues and was trying to optimize out the branch from the loop, this is a normal coding practice
Admin
I wrote a program a lot like that in QBASIC. When I was 5.
Admin
Jeremy, How old are you now?
Admin
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.
Admin
what a smart guy, he can handle 76 items in a cart at once :D !