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

 
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 
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 
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 
If you are using a standard database product then mirroring is your friend; Oracle, SQL Server & Mongo all support mirroring. I have set up systems where there is a real time mirror of production onto a reporting DB. All updates are there and there is no problem for the eejits who say they need up to the minute data.
Then you can allow the geeks and freaks in MIS to build whatever mad reports they like. I have even seen on Oracle a reporting user create views of the [mirrored] production data in the most vile unnormalised way imaginable, but it gave the weirdo the data they wanted.

The only rules are reporting is from a copy of production rather than production itself, and that the integrity of the data is maintained.
veni bibi saltavi

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 

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.