Click here to Skip to main content
11,428,497 members (62,989 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: .NET is Hell (subtitle: An error message from Microsoft) Pin
Richard Deeming15-Oct-12 4:57
memberRichard Deeming15-Oct-12 4:57 
GeneralRe: .NET is Hell (subtitle: An error message from Microsoft) Pin
Thornik11-Oct-12 2:27
memberThornik11-Oct-12 2:27 
GeneralRe: .NET is Hell (subtitle: An error message from Microsoft) Pin
Stefan_Lang15-Oct-12 5:49
memberStefan_Lang15-Oct-12 5:49 
GeneralRe: .NET is Hell (subtitle: An error message from Microsoft) Pin
Thornik16-Oct-12 4:20
memberThornik16-Oct-12 4:20 
GeneralRe: .NET is Hell (subtitle: An error message from Microsoft) Pin
alexander ypema11-Oct-12 4:06
memberalexander ypema11-Oct-12 4:06 
GeneralRe: .NET is Hell (subtitle: An error message from Microsoft) Pin
Brendon123413-Oct-12 20:09
memberBrendon123413-Oct-12 20:09 
GeneralRe: .NET is Hell (subtitle: An error message from Microsoft) Pin
Stefan_Lang15-Oct-12 5:53
memberStefan_Lang15-Oct-12 5:53 
GeneralInfinate levels of hierarchal data [modified] Pin
asdrog3-Oct-12 2:30
memberasdrog3-Oct-12 2:30 
In many database solutions folk tend to use tables with one to many relationships in order to hierarchal data where as the following achieves the same.

ID - Field1 - Field2 - ParentID
1      x      y       0
2      xx    yy      1
3      rr      r       1
4      pr     p      2

modified 3-Oct-12 12:25pm.

GeneralRe: MySQL "in (list)" example to recursivly get information - And the power of Loops! Infinate levels of hierarchal data Pin
mark merrens3-Oct-12 6:22
membermark merrens3-Oct-12 6:22 
GeneralRe: MySQL "in (list)" example to recursivly get information - And the power of Loops! Infinate levels of hierarchal data Pin
asdrog3-Oct-12 7:30
memberasdrog3-Oct-12 7:30 
GeneralRe: MySQL "in (list)" example to recursivly get information - And the power of Loops! Infinate levels of hierarchal data Pin
mark merrens3-Oct-12 7:43
membermark merrens3-Oct-12 7:43 
GeneralRe: MySQL "in (list)" example to recursivly get information - And the power of Loops! Infinate levels of hierarchal data Pin
AspDotNetDev3-Oct-12 7:45
protectorAspDotNetDev3-Oct-12 7:45 
GeneralRe: MySQL "in (list)" example to recursivly get information - And the power of Loops! Infinate levels of hierarchal data Pin
mark merrens3-Oct-12 8:02
membermark merrens3-Oct-12 8:02 
GeneralRe: MySQL "in (list)" example to recursivly get information - And the power of Loops! Infinate levels of hierarchal data Pin
asdrog3-Oct-12 14:21
memberasdrog3-Oct-12 14:21 
GeneralRe: MySQL "in (list)" example to recursivly get information - And the power of Loops! Infinate levels of hierarchal data Pin
Sentenryu4-Oct-12 1:50
memberSentenryu4-Oct-12 1:50 
GeneralRe: Infinate levels of hierarchal data Pin
Bernhard Hiller4-Oct-12 1:28
memberBernhard Hiller4-Oct-12 1:28 
GeneralRe: Infinate levels of hierarchal data Pin
asdrog4-Oct-12 12:35
memberasdrog4-Oct-12 12:35 
GeneralRe: Infinate levels of hierarchal data Pin
AspDotNetDev4-Oct-12 13:24
protectorAspDotNetDev4-Oct-12 13:24 
GeneralRe: Infinate levels of hierarchal data Pin
asdrog4-Oct-12 14:20
memberasdrog4-Oct-12 14:20 
GeneralCSS selector of the day Pin
Chris Maunder2-Oct-12 9:41
adminChris Maunder2-Oct-12 9:41 
GeneralRe: CSS selector of the day Pin
Zac Greve2-Oct-12 10:32
memberZac Greve2-Oct-12 10:32 
GeneralRe: CSS selector of the day Pin
Mike Ortmans2-Oct-12 23:38
memberMike Ortmans2-Oct-12 23:38 
GeneralRe: CSS selector of the day Pin
BobJanova3-Oct-12 0:31
memberBobJanova3-Oct-12 0:31 
GeneralRe: CSS selector of the day Pin
Chris Maunder3-Oct-12 5:19
adminChris Maunder3-Oct-12 5:19 
JokeRe: CSS selector of the day Pin
Marcus Kramer3-Oct-12 5:23
memberMarcus Kramer3-Oct-12 5:23 

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
Web02 | 2.8.150428.2 | Last Updated 3 May 2015
Copyright © CodeProject, 1999-2015
All Rights Reserved. Terms of Service
Layout: fixed | fluid