Click here to Skip to main content
11,577,143 members (62,110 online)

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, embarrasing 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: Let's "switch" to Something Else Pin
jschell9-Apr-13 9:08
memberjschell9-Apr-13 9:08 
GeneralRe: Let's "switch" to Something Else Pin
Martin081510-Apr-13 1:41
memberMartin081510-Apr-13 1:41 
GeneralThings that make you go WTF... Pin
Gary Wheeler1-Apr-13 1:32
memberGary Wheeler1-Apr-13 1:32 
GeneralRe: Things that make you go WTF... Pin
Matt T Heffron1-Apr-13 8:53
memberMatt T Heffron1-Apr-13 8:53 
GeneralRe: Things that make you go WTF... Pin
Gary Wheeler1-Apr-13 8:59
memberGary Wheeler1-Apr-13 8:59 
GeneralRe: Things that make you go WTF... Pin
Brisingr Aerowing1-Apr-13 9:48
professionalBrisingr Aerowing1-Apr-13 9:48 
GeneralRe: Things that make you go WTF... Pin
Pete O'Hanlon2-Apr-13 7:17
protectorPete O'Hanlon2-Apr-13 7:17 
GeneralRe: Things that make you go WTF... Pin
Gary Wheeler2-Apr-13 7:25
memberGary Wheeler2-Apr-13 7:25 
GeneralRe: Things that make you go WTF... Pin
patbob2-Apr-13 5:49
memberpatbob2-Apr-13 5:49 
GeneralRe: Things that make you go WTF... Pin
Gary Wheeler2-Apr-13 6:38
memberGary Wheeler2-Apr-13 6:38 
GeneralRe: Things that make you go WTF... Pin
patbob2-Apr-13 8:03
memberpatbob2-Apr-13 8:03 
JokeRe: Things that make you go WTF... Pin
RafagaX2-Apr-13 6:50
memberRafagaX2-Apr-13 6:50 
GeneralRe: Things that make you go WTF... Pin
AspDotNetDev2-Apr-13 8:11
protectorAspDotNetDev2-Apr-13 8:11 
GeneralRe: Things that make you go WTF... Pin
Gary Wheeler2-Apr-13 8:24
memberGary Wheeler2-Apr-13 8:24 
WPF has the same constraint that you had under Win32 and MFC: you can only modify UI objects from the UI thread. I think the intent here was to promoted a UI change to the UI thread. Unfortunately, this code appeared in handlers that are already guaranteed to be called from the UI thread.
Software Zen: delete this;

GeneralRe: Things that make you go WTF... Pin
BobJanova3-Apr-13 23:29
memberBobJanova3-Apr-13 23:29 
GeneralRe: Things that make you go WTF... Pin
Gary Wheeler4-Apr-13 0:44
memberGary Wheeler4-Apr-13 0:44 
GeneralThat was weird... Pin
Brisingr Aerowing28-Mar-13 7:57
memberBrisingr Aerowing28-Mar-13 7:57 
GeneralRe: That was weird... Pin
Julien Villers8-Apr-13 5:10
memberJulien Villers8-Apr-13 5:10 
GeneralRe: That was weird... Pin
Brisingr Aerowing8-Apr-13 14:06
professionalBrisingr Aerowing8-Apr-13 14:06 
GeneralExternal System's Table's View's Table's View ('s Tables?) Pin
AspDotNetDev26-Mar-13 12:38
protectorAspDotNetDev26-Mar-13 12:38 
GeneralRe: External System's Table's View's Table's View ('s Tables?) Pin
Brisingr Aerowing5-Apr-13 5:16
professionalBrisingr Aerowing5-Apr-13 5:16 
GeneralFound this a few minutes ago Pin
SomeGuyThatIsMe26-Mar-13 10:51
memberSomeGuyThatIsMe26-Mar-13 10:51 
GeneralRe: Found this a few minutes ago Pin
Jan Steyn28-Mar-13 0:56
memberJan Steyn28-Mar-13 0:56 
GeneralRe: Found this a few minutes ago Pin
SomeGuyThatIsMe28-Mar-13 3:34
memberSomeGuyThatIsMe28-Mar-13 3:34 
GeneralRe: Found this a few minutes ago Pin
agolddog29-Mar-13 3:39
memberagolddog29-Mar-13 3:39 
GeneralRe: Found this a few minutes ago Pin
Leng Vang29-Mar-13 6:35
memberLeng Vang29-Mar-13 6:35 
GeneralRe: Found this a few minutes ago Pin
jschell29-Mar-13 10:43
memberjschell29-Mar-13 10:43 
GeneralRe: Found this a few minutes ago Pin
SomeGuyThatIsMe1-Apr-13 2:16
memberSomeGuyThatIsMe1-Apr-13 2:16 
GeneralRe: Found this a few minutes ago Pin
jschell1-Apr-13 8:08
memberjschell1-Apr-13 8:08 
GeneralRe: Found this a few minutes ago Pin
StatementTerminator1-Apr-13 9:58
memberStatementTerminator1-Apr-13 9:58 
GeneralFor your next job interview Pin
Gary Wheeler15-Mar-13 1:02
memberGary Wheeler15-Mar-13 1:02 
GeneralRe: For your next job interview Pin
Pranit Kothari15-Mar-13 1:22
memberPranit Kothari15-Mar-13 1:22 
GeneralRe: For your next job interview Pin
Gary Wheeler15-Mar-13 1:26
memberGary Wheeler15-Mar-13 1:26 
GeneralRe: For your next job interview Pin
Pete O'Hanlon15-Mar-13 1:34
protectorPete O'Hanlon15-Mar-13 1:34 
GeneralRe: For your next job interview Pin
Gary Wheeler15-Mar-13 1:44
memberGary Wheeler15-Mar-13 1:44 
GeneralRe: For your next job interview Pin
Marco Bertschi15-Mar-13 2:10
memberMarco Bertschi15-Mar-13 2:10 
GeneralRe: For your next job interview Pin
Gary Wheeler15-Mar-13 2:19
memberGary Wheeler15-Mar-13 2:19 
GeneralRe: For your next job interview Pin
SoMad28-Mar-13 22:54
memberSoMad28-Mar-13 22:54 
GeneralRe: For your next job interview Pin
Marco Bertschi15-Mar-13 2:19
memberMarco Bertschi15-Mar-13 2:19 
GeneralRe: For your next job interview Pin
ryanb3120-Mar-13 2:52
memberryanb3120-Mar-13 2:52 
GeneralRe: For your next job interview Pin
Gary Wheeler20-Mar-13 2:56
memberGary Wheeler20-Mar-13 2:56 
GeneralRe: For your next job interview Pin
ryanb3120-Mar-13 3:05
memberryanb3120-Mar-13 3:05 
GeneralRe: For your next job interview Pin
_Maxxx_28-Mar-13 22:22
member_Maxxx_28-Mar-13 22:22 
GeneralRe: For your next job interview Pin
Gary Wheeler29-Mar-13 2:25
memberGary Wheeler29-Mar-13 2:25 
GeneralRe: For your next job interview Pin
CHill6025-Mar-13 5:08
memberCHill6025-Mar-13 5:08 
GeneralShiva Lingam Pin
Prasad Khandekar13-Mar-13 0:26
memberPrasad Khandekar13-Mar-13 0:26 
GeneralRe: Shiva Lingam Pin
W Balboos13-Mar-13 0:36
memberW Balboos13-Mar-13 0:36 
GeneralRe: Shiva Lingam Pin
W Balboos13-Mar-13 0:37
memberW Balboos13-Mar-13 0:37 
GeneralRe: Shiva Lingam Pin
Keith Barrow13-Mar-13 0:42
mentorKeith Barrow13-Mar-13 0:42 
GeneralRe: Shiva Lingam Pin
Rajeev Jayaram13-Mar-13 1:39
memberRajeev Jayaram13-Mar-13 1:39 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.


Advertise | Privacy | Mobile
Web04 | 2.8.150603.1 | Last Updated 4 Jul 2015
Copyright © CodeProject, 1999-2015
All Rights Reserved. Terms of Service
Layout: fixed | fluid