Click here to Skip to main content
15,887,328 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
TheGreatAndPowerfulOz21-Feb-14 9:40
TheGreatAndPowerfulOz21-Feb-14 9:40 
GeneralRe: Sutton's Zeroth Law Pin
Dan Sutton21-Feb-14 10:31
Dan Sutton21-Feb-14 10:31 
GeneralRe: Sutton's Zeroth Law Pin
robocodeboy25-Feb-14 0:58
robocodeboy25-Feb-14 0:58 
GeneralRe: Sutton's Zeroth Law Pin
Dan Sutton25-Feb-14 6:03
Dan Sutton25-Feb-14 6:03 
GeneralRe: Sutton's Zeroth Law Pin
Lutosław26-Mar-14 7:21
Lutosław26-Mar-14 7:21 
GeneralRe: Sutton's Zeroth Law Pin
Dan Sutton26-Mar-14 7:27
Dan Sutton26-Mar-14 7:27 
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 
You said it, but you don't know you said it: "even if the it was as small as a golf ball, a light would need the same time to travel through it" -- true. But when the universe was that compressed, time dilation around that much condensed mass meant that time itself ran slower. Light always takes one universe lifetime to go right around the universe once: it doesn't matter how large the universe is... but as the universe expands, time runs faster (from the point of view of an outside observer). From the point of view of an observer inside the universe, it always travels at the same speed over the same distance. But "speed" is dependent upon the rate of flow of time - which changes as the universe expands, and thus so does the speed of light and so forth. Consider the type of time dilation effects one would experience within the Schwarzchild radius of a black hole... then realize that the universe is entirely within the Schwarzchild radius of an expanding black hole. But things can change within it: the dilation of the flow of time doesn't preclude other physical effects taking place: there's nothing creationistic about it: in fact, it insists that there was a big bang, and that it's still exploding.
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 
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 

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.