Click here to Skip to main content
15,887,351 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: Sutton's Zeroth Law Pin
Lutosław26-Mar-14 8:37
Lutosław26-Mar-14 8:37 
GeneralRe: Sutton's Zeroth Law Pin
Dan Sutton26-Mar-14 8:46
Dan Sutton26-Mar-14 8:46 
GeneralRe: Sutton's Zeroth Law Pin
Lutosław26-Mar-14 9:13
Lutosław26-Mar-14 9:13 
GeneralRe: Sutton's Zeroth Law Pin
Dan Sutton26-Mar-14 10:02
Dan Sutton26-Mar-14 10:02 
GeneralRe: Sutton's Zeroth Law Pin
Lutosław26-Mar-14 11:10
Lutosław26-Mar-14 11:10 
GeneralRe: Sutton's Zeroth Law Pin
Dan Sutton26-Mar-14 11:24
Dan Sutton26-Mar-14 11:24 
GeneralRe: Sutton's Zeroth Law Pin
Lutosław26-Mar-14 14:50
Lutosław26-Mar-14 14:50 
GeneralRe: Sutton's Zeroth Law Pin
Dan Sutton26-Mar-14 15:13
Dan Sutton26-Mar-14 15:13 
Funny you should mention the Planck thing: I've thought of it myself: I have a feeling that all singularities detonate as soon as they form, having achieved critical mass. However, current theory holds that a singularity has zero size -- but if that were the case, then there would be zero time flow within it, and thus (to the outside observer) the detonation would take an infinite amount of time to occur -- which violates a number of principles, not least that of heat death. So in fact, I think the singularity is probably one Planck length in diameter - which allows the explosion to occur - and, as you say, solves any other number of inconveniences.

Talking about singularities is vaguely problematic, in that they're mathematical derivatives rather than observed phenomena: we believe they're there, but theory states that they don't form until after the black hole itself comes into existence: mathematics says they must exist and thus they do... but that's as close as we're going to get - at least for now.

I'm not a bona-fide physicist, no - but I am fascinated by the subject and I study it quite a bit. I will, however, admit to being a science-fiction freak -- it's a great genre for getting the mind working...

Speaking of the science fiction, and of the Theory of Everything, Greg Egan suggests in his book "Distress" that as soon as anyone is able to explain exactly how the universe works and provide such a grand unifying theory, the universe will rearrange itself spontaneously so that it has always worked that way. Similar quantum theory suggests that a lot of reality exists because we observe it: that, for example, there was no such thing as a quark until someone discovered them, and then, at that point, the universe had always had quarks in it. Unfortunately, quantum theory supports this type of retroactive creation... I wonder what we've done with this conversation!
GeneralRe: Sutton's Zeroth Law Pin
Tim Carmichael26-Feb-14 2:25
Tim Carmichael26-Feb-14 2:25 
GeneralRe: Sutton's Zeroth Law Pin
Dan Sutton26-Feb-14 6:37
Dan Sutton26-Feb-14 6:37 
GeneralRe: Sutton's Zeroth Law Pin
Tim Carmichael26-Feb-14 7:16
Tim Carmichael26-Feb-14 7:16 
GeneralRe: Sutton's Zeroth Law Pin
Dan Sutton26-Feb-14 7:57
Dan Sutton26-Feb-14 7:57 
GeneralRe: Sutton's Zeroth Law Pin
Brisingr Aerowing26-Feb-14 11:02
professionalBrisingr Aerowing26-Feb-14 11:02 
GeneralRe: Sutton's Zeroth Law Pin
Oscar021-Feb-14 7:42
Oscar021-Feb-14 7:42 
GeneralRe: Sutton's Zeroth Law Pin
Richard Deeming21-Feb-14 8:26
mveRichard Deeming21-Feb-14 8:26 
GeneralRe: Sutton's Zeroth Law Pin
Jörgen Andersson21-Feb-14 9:18
professionalJörgen Andersson21-Feb-14 9:18 
GeneralRe: Sutton's Zeroth Law Pin
TheGreatAndPowerfulOz21-Feb-14 9:41
TheGreatAndPowerfulOz21-Feb-14 9:41 
GeneralRe: Sutton's Zeroth Law Pin
Dan Sutton21-Feb-14 10:32
Dan Sutton21-Feb-14 10:32 
GeneralRe: Sutton's Zeroth Law Pin
Jörgen Andersson21-Feb-14 10:54
professionalJörgen Andersson21-Feb-14 10:54 
GeneralRe: Sutton's Zeroth Law Pin
fixthebugg21-Feb-14 11:31
fixthebugg21-Feb-14 11:31 
GeneralRe: Sutton's Zeroth Law Pin
Jörgen Andersson21-Feb-14 11:45
professionalJörgen Andersson21-Feb-14 11:45 
GeneralRe: Sutton's Zeroth Law Pin
PIEBALDconsult22-Feb-14 10:48
mvePIEBALDconsult22-Feb-14 10:48 
GeneralRe: Sutton's Zeroth Law Pin
Dan Sutton21-Feb-14 11:54
Dan Sutton21-Feb-14 11:54 
GeneralRe: Sutton's Zeroth Law Pin
Lutosław26-Mar-14 7:47
Lutosław26-Mar-14 7:47 
GeneralRe: Sutton's Zeroth Law Pin
SoMad21-Feb-14 14:12
professionalSoMad21-Feb-14 14:12 

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.