Click here to Skip to main content
15,890,670 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: seeing a student code Pin
musefan17-Feb-11 5:24
musefan17-Feb-11 5:24 
GeneralRe: seeing a student code Pin
kdgupta8717-Feb-11 5:31
kdgupta8717-Feb-11 5:31 
GeneralCan you top that? PinPopular
peterchen15-Feb-11 6:00
peterchen15-Feb-11 6:00 
GeneralRe: Can you top that? Pin
Vladimir Svyatski15-Feb-11 10:10
professionalVladimir Svyatski15-Feb-11 10:10 
GeneralRe: Can you top that? Pin
Single Step Debugger15-Feb-11 10:39
Single Step Debugger15-Feb-11 10:39 
GeneralRe: Can you top that? Pin
peterchen15-Feb-11 19:34
peterchen15-Feb-11 19:34 
JokeRe: Can you top that? Pin
musefan16-Feb-11 5:29
musefan16-Feb-11 5:29 
GeneralRe: Can you top that? Pin
fat_boy17-Feb-11 5:40
fat_boy17-Feb-11 5:40 
You never worked in the kernel then...

NTSTATUS ZwCreateFile(
__out PHANDLE FileHandle,
__in ACCESS_MASK DesiredAccess,
__in POBJECT_ATTRIBUTES ObjectAttributes,
__out PIO_STATUS_BLOCK IoStatusBlock,
__in_opt PLARGE_INTEGER AllocationSize,
__in ULONG FileAttributes,
__in ULONG ShareAccess,
__in ULONG CreateDisposition,
__in ULONG CreateOptions,
__in_opt PVOID EaBuffer,
__in ULONG EaLength
);
"It is a remarkable fact that despite the worldwide expenditure of perhaps US$50 billion since 1990, and the efforts of tens of thousands of scientists worldwide, no human climate signal has yet been detected that is distinct from natural variation."

Bob Carter, Research Professor of Geology, James Cook University, Townsville



GeneralRe: Can you top that? Pin
peterchen17-Feb-11 6:33
peterchen17-Feb-11 6:33 
GeneralRe: Can you top that? Pin
CDP180218-Feb-11 0:29
CDP180218-Feb-11 0:29 
GeneralWonderful naming Pin
Vladimir Svyatski14-Feb-11 9:46
professionalVladimir Svyatski14-Feb-11 9:46 
GeneralRe: Wonderful naming Pin
Keith Barrow14-Feb-11 10:08
professionalKeith Barrow14-Feb-11 10:08 
GeneralRe: Wonderful naming Pin
Manfred Rudolf Bihy14-Feb-11 10:22
professionalManfred Rudolf Bihy14-Feb-11 10:22 
GeneralRe: Wonderful naming Pin
Keith Barrow14-Feb-11 10:32
professionalKeith Barrow14-Feb-11 10:32 
GeneralRe: Wonderful naming Pin
Manfred Rudolf Bihy14-Feb-11 10:53
professionalManfred Rudolf Bihy14-Feb-11 10:53 
GeneralRe: Wonderful naming Pin
Vladimir Svyatski14-Feb-11 10:33
professionalVladimir Svyatski14-Feb-11 10:33 
GeneralRe: Wonderful naming Pin
Vladimir Svyatski14-Feb-11 10:26
professionalVladimir Svyatski14-Feb-11 10:26 
GeneralRe: Wonderful naming Pin
AspDotNetDev14-Feb-11 10:51
protectorAspDotNetDev14-Feb-11 10:51 
GeneralRe: Wonderful naming [modified] Pin
RobCroll14-Feb-11 16:42
RobCroll14-Feb-11 16:42 
GeneralRe: Wonderful naming Pin
Vladimir Svyatski15-Feb-11 9:43
professionalVladimir Svyatski15-Feb-11 9:43 
GeneralRe: Wonderful naming Pin
Bernhard Hiller16-Feb-11 4:02
Bernhard Hiller16-Feb-11 4:02 
GeneralRegitration Activation Mail Pin
Albin Abel13-Feb-11 23:34
Albin Abel13-Feb-11 23:34 
GeneralRe: Regitration Activation Mail Pin
musefan14-Feb-11 3:10
musefan14-Feb-11 3:10 
GeneralRe: Regitration Activation Mail Pin
Jeroen De Dauw14-Feb-11 3:58
Jeroen De Dauw14-Feb-11 3:58 
GeneralRe: Regitration Activation Mail Pin
AspDotNetDev14-Feb-11 9:19
protectorAspDotNetDev14-Feb-11 9: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.