Click here to Skip to main content
15,176,221 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 3:03
professionalNagy Vilmos17-Mar-16 3:03 
GeneralRe: Would normally seem unrelated. Pin
Brisingr Aerowing17-Mar-16 17:40
professionalBrisingr Aerowing17-Mar-16 17:40 
GeneralRe: Would normally seem unrelated. Pin
Jörgen Andersson17-Mar-16 21:51
professionalJörgen Andersson17-Mar-16 21:51 
GeneralApplebee's Website Fail Pin
Brisingr Aerowing12-Mar-16 11:58
professionalBrisingr Aerowing12-Mar-16 11:58 
GeneralRe: Applebee's Website Fail Pin
Afzaal Ahmad Zeeshan12-Mar-16 12:27
mveAfzaal Ahmad Zeeshan12-Mar-16 12:27 
GeneralRe: Applebee's Website Fail Pin
Dave Kreskowiak12-Mar-16 12:54
mveDave Kreskowiak12-Mar-16 12:54 
GeneralRe: Applebee's Website Fail Pin
raddevus12-Mar-16 13:53
mvaraddevus12-Mar-16 13:53 
GeneralRe: Applebee's Website Fail Pin
Dave Kreskowiak12-Mar-16 15:02
mveDave Kreskowiak12-Mar-16 15: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 15:07
mvaraddevus12-Mar-16 15:07 
GeneralRe: Applebee's Website Fail Pin
Sentenryu14-Mar-16 5:08
MemberSentenryu14-Mar-16 5:08 
GeneralRe: Applebee's Website Fail Pin
Dave Kreskowiak14-Mar-16 5:46
mveDave Kreskowiak14-Mar-16 5:46 
GeneralRe: Applebee's Website Fail Pin
Brisingr Aerowing12-Mar-16 15:57
professionalBrisingr Aerowing12-Mar-16 15:57 
GeneralRe: Applebee's Website Fail Pin
Brisingr Aerowing12-Mar-16 15:54
professionalBrisingr Aerowing12-Mar-16 15:54 
GeneralRe: Applebee's Website Fail Pin
snorkie16-Mar-16 10:48
professionalsnorkie16-Mar-16 10:48 
GeneralRe: Applebee's Website Fail Pin
Rob Grainger26-Mar-16 12:57
MemberRob Grainger26-Mar-16 12:57 
GeneralDataView.RowFilter considered harmful.. Pin
Sascha Lefèvre11-Mar-16 2:57
professionalSascha Lefèvre11-Mar-16 2:57 
GeneralLet the user know you care - say something nice Pin
imagiro11-Mar-16 2:28
Memberimagiro11-Mar-16 2:28 
GeneralI was wandering around The Daily WTF and.. Pin
Brisingr Aerowing9-Mar-16 21:14
professionalBrisingr Aerowing9-Mar-16 21:14 
GeneralRe: I was wandering around The Daily WTF and.. Pin
Rob Grainger11-Mar-16 4:56
MemberRob Grainger11-Mar-16 4:56 
GeneralRe: I was wandering around The Daily WTF and.. Pin
Sentenryu14-Mar-16 4:54
MemberSentenryu14-Mar-16 4:54 
GeneralBest web site design app? Pin
VE29-Mar-16 15:09
MemberVE29-Mar-16 15:09 
GeneralRe: Best web site design app? Pin
Wonde Tadesse9-Mar-16 15:49
professionalWonde Tadesse9-Mar-16 15:49 
GeneralRe: Best web site design app? Pin
VE29-Mar-16 16:19
MemberVE29-Mar-16 16:19 
GeneralRe: Best web site design app? Pin
Brisingr Aerowing9-Mar-16 16:27
professionalBrisingr Aerowing9-Mar-16 16:27 
GeneralRe: Best web site design app? Pin
jsc4210-Mar-16 7:19
professionaljsc4210-Mar-16 7:19 

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.