Click here to Skip to main content
15,885,910 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: Resistant to Change Pin
ColborneGreg1-Aug-14 12:19
ColborneGreg1-Aug-14 12:19 
GeneralWho cares? Pin
OriginalGriff1-Aug-14 22:33
mveOriginalGriff1-Aug-14 22:33 
GeneralRe: Who cares? Pin
ColborneGreg4-Aug-14 8:15
ColborneGreg4-Aug-14 8:15 
GeneralRe: Who cares? Pin
Stefan_Lang11-Aug-14 20:56
Stefan_Lang11-Aug-14 20:56 
GeneralRe: Who cares? Pin
ColborneGreg11-Aug-14 21:00
ColborneGreg11-Aug-14 21:00 
GeneralRe: Who cares? Pin
Stefan_Lang11-Aug-14 21:03
Stefan_Lang11-Aug-14 21:03 
GeneralRe: Who cares? Pin
ColborneGreg12-Aug-14 5:11
ColborneGreg12-Aug-14 5:11 
GeneralDebugging pain PinPopular
Dave Kreskowiak31-Jul-14 4:38
mveDave Kreskowiak31-Jul-14 4:38 
An intermittant problem that shows up only when you're writing code at home, not at work. Crashes hard at home with all kinds of OutOfMemory failures, but the machine isn't out of memory or resources at all. Not even close.

After 5 hours of fruitless debugging, the painful part is where you facepalm yourself hard because you just realized that in a Parallel.ForEach your using around an I/O bound problem, you forgot to cap the number of threads it can create! The process bombed out at about 600 threads. D'Oh! | :doh:

Whoops!
A guide to posting questions on CodeProject

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

Dave Kreskowiak

GeneralRe: Debugging pain Pin
ZurdoDev31-Jul-14 4:51
professionalZurdoDev31-Jul-14 4:51 
GeneralRe: Debugging pain Pin
Nguyen.H.H.Dang31-Jul-14 17:57
professionalNguyen.H.H.Dang31-Jul-14 17:57 
GeneralRe: Debugging pain Pin
MarkTJohnson1-Aug-14 6:45
professionalMarkTJohnson1-Aug-14 6:45 
GeneralFloorwise appplication PinPopular
Thanks787231-Jul-14 0:10
professionalThanks787231-Jul-14 0:10 
GeneralRe: Floorwise appplication Pin
Eddy Vluggen31-Jul-14 1:36
professionalEddy Vluggen31-Jul-14 1:36 
GeneralRe: Floorwise appplication Pin
Duncan Edwards Jones31-Jul-14 3:03
professionalDuncan Edwards Jones31-Jul-14 3:03 
GeneralRe: Floorwise appplication PinPopular
ZurdoDev31-Jul-14 4:05
professionalZurdoDev31-Jul-14 4:05 
GeneralRe: Floorwise appplication Pin
Richard Deeming31-Jul-14 4:14
mveRichard Deeming31-Jul-14 4:14 
GeneralRe: Floorwise appplication Pin
Thanks787231-Jul-14 4:29
professionalThanks787231-Jul-14 4:29 
GeneralRe: Floorwise appplication Pin
VICK12-Aug-14 0:48
professional VICK12-Aug-14 0:48 
GeneralRe: Floorwise appplication Pin
PIEBALDconsult31-Jul-14 4:31
mvePIEBALDconsult31-Jul-14 4:31 
GeneralRe: Floorwise appplication Pin
Thanks787231-Jul-14 4:33
professionalThanks787231-Jul-14 4:33 
GeneralRe: Floorwise appplication Pin
PIEBALDconsult31-Jul-14 4:38
mvePIEBALDconsult31-Jul-14 4:38 
GeneralRe: Floorwise appplication Pin
Bernhard Hiller31-Jul-14 20:54
Bernhard Hiller31-Jul-14 20:54 
GeneralRe: Floorwise appplication Pin
Richard Deeming1-Aug-14 2:08
mveRichard Deeming1-Aug-14 2:08 
GeneralRe: Floorwise appplication Pin
PIEBALDconsult4-Aug-14 12:45
mvePIEBALDconsult4-Aug-14 12:45 
GeneralRe: Floorwise appplication Pin
GuyThiebaut5-Aug-14 1:51
professionalGuyThiebaut5-Aug-14 1:51 

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.