Click here to Skip to main content
15,881,882 members

The Weird and The Wonderful

   

The Weird and The Wonderful forum is a place to post Coding Horrors, Worst Practices, and the occasional flash of brilliance.

We all come across code that simply boggles the mind. Lazy kludges, embarrassing mistakes, horrid workarounds and developers just not quite getting it. And then somedays we come across - or write - the truly sublime.

Post your Best, your worst, and your most interesting. But please - no programming questions . This forum is purely for amusement and discussions on code snippets. All actual programming questions will be removed.

 
GeneralRe: Would normally seem unrelated. Pin
Nagy Vilmos17-Mar-16 2:03
professionalNagy Vilmos17-Mar-16 2:03 
GeneralRe: Would normally seem unrelated. Pin
Brisingr Aerowing17-Mar-16 16:40
professionalBrisingr Aerowing17-Mar-16 16:40 
GeneralRe: Would normally seem unrelated. Pin
Jörgen Andersson17-Mar-16 20:51
professionalJörgen Andersson17-Mar-16 20:51 
GeneralApplebee's Website Fail Pin
Brisingr Aerowing12-Mar-16 10:58
professionalBrisingr Aerowing12-Mar-16 10:58 
GeneralRe: Applebee's Website Fail Pin
Afzaal Ahmad Zeeshan12-Mar-16 11:27
professionalAfzaal Ahmad Zeeshan12-Mar-16 11:27 
GeneralRe: Applebee's Website Fail Pin
Dave Kreskowiak12-Mar-16 11:54
mveDave Kreskowiak12-Mar-16 11:54 
GeneralRe: Applebee's Website Fail Pin
raddevus12-Mar-16 12:53
mvaraddevus12-Mar-16 12:53 
GeneralRe: Applebee's Website Fail Pin
Dave Kreskowiak12-Mar-16 14:02
mveDave Kreskowiak12-Mar-16 14:02 
Well, if you're going to get serious about what I posted, I blame a lack of testing and/or a proper testing environment. I blame a lack of a properly planned and executed deployment plan.

At work, I run two test environments. One for functionality testing by the team I'm on and another for deployment testing. My production environment is backed up every night, the site content, code, databases, ..., everything. I can restore it to either of my testing environments at will and do my deployment then make damn sure my updated site runs properly before I deploy to production.

Even then, production runs on a set of virtual machines. Before deployment, all backups are forced to run and verified, the VM's get shut down, snapshotted and restarted in a carefully planned and executed deployment plan. (Yes, I can shutdown half of my servers without affecting production.) I then test the old production site for functionality to make sure I'm not introducing a problem before deployment. When that passes, I deploy and test the crap out of the update before the machines are put back into production, again, as part of a carefully planned and executed deployment plan.

And that's just the site that runs and tracks my teams entire process! A good friend I work with and myself wrote the site and continue to do maintenance and feature-add on it.

We never have problems like this because we make damn sure we never have problems like this. Even Microsoft releasing a bad patch isn't a problem for us because we put them through the same testing as our site updates go through and it takes a lot of testing, more testing, deployment testing and more deployment testing to be considered for deployment to production.

This is what we get paid to do and we do it. EVERY. SINGLE. TIME.
A guide to posting questions on CodeProject

Click this: Asking questions is a skill.
Seriously, do it.

Dave Kreskowiak

GeneralRe: Applebee's Website Fail Pin
raddevus12-Mar-16 14:07
mvaraddevus12-Mar-16 14:07 
GeneralRe: Applebee's Website Fail Pin
Sentenryu14-Mar-16 4:08
Sentenryu14-Mar-16 4:08 
GeneralRe: Applebee's Website Fail Pin
Dave Kreskowiak14-Mar-16 4:46
mveDave Kreskowiak14-Mar-16 4:46 
GeneralRe: Applebee's Website Fail Pin
Brisingr Aerowing12-Mar-16 14:57
professionalBrisingr Aerowing12-Mar-16 14:57 
GeneralMessage Closed Pin
12-Mar-16 13:04
professionaljgakenhe12-Mar-16 13:04 
GeneralRe: Applebee's Website Fail Pin
Brisingr Aerowing12-Mar-16 14:54
professionalBrisingr Aerowing12-Mar-16 14:54 
GeneralRe: Applebee's Website Fail Pin
snorkie16-Mar-16 9:48
professionalsnorkie16-Mar-16 9:48 
GeneralRe: Applebee's Website Fail Pin
Rob Grainger26-Mar-16 11:57
Rob Grainger26-Mar-16 11:57 
GeneralDataView.RowFilter considered harmful.. Pin
Sascha Lefèvre11-Mar-16 1:57
professionalSascha Lefèvre11-Mar-16 1:57 
GeneralLet the user know you care - say something nice Pin
imagiro11-Mar-16 1:28
imagiro11-Mar-16 1:28 
GeneralI was wandering around The Daily WTF and.. Pin
Brisingr Aerowing9-Mar-16 20:14
professionalBrisingr Aerowing9-Mar-16 20:14 
GeneralRe: I was wandering around The Daily WTF and.. Pin
Rob Grainger11-Mar-16 3:56
Rob Grainger11-Mar-16 3:56 
GeneralRe: I was wandering around The Daily WTF and.. Pin
Sentenryu14-Mar-16 3:54
Sentenryu14-Mar-16 3:54 
GeneralBest web site design app? Pin
VE29-Mar-16 14:09
VE29-Mar-16 14:09 
GeneralRe: Best web site design app? Pin
Wonde Tadesse9-Mar-16 14:49
professionalWonde Tadesse9-Mar-16 14:49 
GeneralRe: Best web site design app? Pin
VE29-Mar-16 15:19
VE29-Mar-16 15:19 
GeneralRe: Best web site design app? Pin
Brisingr Aerowing9-Mar-16 15:27
professionalBrisingr Aerowing9-Mar-16 15:27 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.