Click here to Skip to main content
15,885,278 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.

 
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 
GeneralRe: Best web site design app? Pin
jsc4210-Mar-16 6:19
professionaljsc4210-Mar-16 6:19 
GeneralRe: Best web site design app? Pin
KarstenK9-Mar-16 20:07
mveKarstenK9-Mar-16 20:07 
GeneralRe: Best web site design app? Pin
effayqueue11-Mar-16 23:23
effayqueue11-Mar-16 23:23 
GeneralProduction reports from a test database - is this really best practice? Pin
johnsyd7-Mar-16 21:33
johnsyd7-Mar-16 21:33 
I'd heard of testing in Production, but until I joined my current job, I'd never heard of running live reports from a Testing environment (test code, test database). Apparently releasing code changes to Production outside the monthly release window is so dangerous and/or bad practice that it is safer to take a copy of the Production database into the Test database and run the revised code from there. This was a compliance report to the Tax Office by the way. My People Manager and her manager both maintain there is nothing wrong with this.

What could possibly go wrong? Well, only the main database was copied down, not the lookup databases etc. What if the main routine called a another routine which had been changed? What if a tester or a batch process changed the data? What if the collation or other properties of the database were different?

What does the Code Project think? I don't think logic is going to make any difference but majority opinion may sink in.
GeneralRe: Production reports from a test database - is this really best practice? Pin
dan!sh 7-Mar-16 21:44
professional dan!sh 7-Mar-16 21:44 
GeneralRe: Production reports from a test database - is this really best practice? Pin
johnsyd7-Mar-16 21:59
johnsyd7-Mar-16 21:59 
GeneralRe: Production reports from a test database - is this really best practice? Pin
johnsyd7-Mar-16 22:04
johnsyd7-Mar-16 22:04 
GeneralRe: Production reports from a test database - is this really best practice? Pin
dan!sh 7-Mar-16 22:45
professional dan!sh 7-Mar-16 22:45 
GeneralRe: Production reports from a test database - is this really best practice? Pin
Duncan Edwards Jones7-Mar-16 22:02
professionalDuncan Edwards Jones7-Mar-16 22:02 
GeneralRe: Production reports from a test database - is this really best practice? Pin
johnsyd7-Mar-16 22:16
johnsyd7-Mar-16 22:16 
GeneralRe: Production reports from a test database - is this really best practice? Pin
Nagy Vilmos7-Mar-16 22:57
professionalNagy Vilmos7-Mar-16 22:57 
GeneralRe: Production reports from a test database - is this really best practice? Pin
johnsyd7-Mar-16 23:05
johnsyd7-Mar-16 23:05 
GeneralRe: Production reports from a test database - is this really best practice? Pin
Nagy Vilmos7-Mar-16 23:25
professionalNagy Vilmos7-Mar-16 23:25 
GeneralRe: Production reports from a test database - is this really best practice? Pin
Bernhard Hiller8-Mar-16 4:38
Bernhard Hiller8-Mar-16 4:38 
GeneralRe: Production reports from a test database - is this really best practice? Pin
johnsyd8-Mar-16 9:36
johnsyd8-Mar-16 9:36 
GeneralRe: Production reports from a test database - is this really best practice? Pin
Bernhard Hiller8-Mar-16 21:33
Bernhard Hiller8-Mar-16 21:33 
GeneralRe: Production reports from a test database - is this really best practice? Pin
johnsyd8-Mar-16 23:22
johnsyd8-Mar-16 23:22 
GeneralRe: Production reports from a test database - is this really best practice? Pin
JohnLBevan9-Mar-16 0:14
professionalJohnLBevan9-Mar-16 0:14 
GeneralRe: Production reports from a test database - is this really best practice? Pin
johnsyd9-Mar-16 2:53
johnsyd9-Mar-16 2:53 
GeneralRe: Production reports from a test database - is this really best practice? Pin
Harrison Pratt9-Mar-16 1:58
professionalHarrison Pratt9-Mar-16 1:58 
GeneralRe: Production reports from a test database - is this really best practice? Pin
mbb019-Mar-16 2:58
mbb019-Mar-16 2:58 

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.