Click here to Skip to main content
15,886,919 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: Offered with no comment Pin
NormDroid12-Mar-14 2:16
professionalNormDroid12-Mar-14 2:16 
JokeRe: Offered with no comment Pin
Rahul Rajat Singh3-Apr-14 1:53
professionalRahul Rajat Singh3-Apr-14 1:53 
GeneralGUIDs PinPopular
chayaphum1-Mar-14 23:47
chayaphum1-Mar-14 23:47 
GeneralRe: GUIDs PinPopular
Duncan Edwards Jones1-Mar-14 23:55
professionalDuncan Edwards Jones1-Mar-14 23:55 
GeneralRe: GUIDs Pin
Florian Rappl1-Mar-14 23:56
professionalFlorian Rappl1-Mar-14 23:56 
GeneralRe: GUIDs Pin
chayaphum2-Mar-14 0:29
chayaphum2-Mar-14 0:29 
GeneralRe: GUIDs Pin
Florian Rappl2-Mar-14 0:40
professionalFlorian Rappl2-Mar-14 0:40 
GeneralRe: GUIDs Pin
OriginalGriff2-Mar-14 0:44
mveOriginalGriff2-Mar-14 0:44 
chayaphum wrote:
And i thought I saved capitalism and the world by stoping my college


Nope, probably not.

A Guid is 128 bits, with 6 of them reserved: 2 for variant, 4 for version, so there are 2122 or 5,316,911,983,139,663,491,615,228,241,121,400,000 possible GUID values you can generate.
Even if your colleague's software was creating 1,000,000,000,000 per second, and running on every computer connected to the internet (and the latest figure for that I can find is 4 years old - 1,966,514,816) it would take 85,734,504 years to generate them all...
Those who fail to learn history are doomed to repeat it. --- George Santayana (December 16, 1863 – September 26, 1952)
Those who fail to clear history are doomed to explain it. --- OriginalGriff (February 24, 1959 – ∞)

GeneralRe: GUIDs Pin
Adam R Harris3-Mar-14 9:40
Adam R Harris3-Mar-14 9:40 
GeneralRe: GUIDs Pin
OriginalGriff2-Mar-14 0:06
mveOriginalGriff2-Mar-14 0:06 
GeneralRe: GUIDs Pin
Kornfeld Eliyahu Peter2-Mar-14 0:31
professionalKornfeld Eliyahu Peter2-Mar-14 0:31 
GeneralRe: GUIDs Pin
OriginalGriff2-Mar-14 0:36
mveOriginalGriff2-Mar-14 0:36 
GeneralRe: GUIDs Pin
Kornfeld Eliyahu Peter2-Mar-14 0:40
professionalKornfeld Eliyahu Peter2-Mar-14 0:40 
GeneralRe: GUIDs Pin
OriginalGriff2-Mar-14 1:01
mveOriginalGriff2-Mar-14 1:01 
GeneralRe: GUIDs Pin
thatraja2-Mar-14 0:43
professionalthatraja2-Mar-14 0:43 
GeneralRe: GUIDs Pin
Jörgen Andersson2-Mar-14 0:22
professionalJörgen Andersson2-Mar-14 0:22 
GeneralRe: GUIDs Pin
OriginalGriff2-Mar-14 0:29
mveOriginalGriff2-Mar-14 0:29 
GeneralRe: GUIDs Pin
Kornfeld Eliyahu Peter2-Mar-14 0:35
professionalKornfeld Eliyahu Peter2-Mar-14 0:35 
GeneralRe: GUIDs Pin
Jörgen Andersson2-Mar-14 1:35
professionalJörgen Andersson2-Mar-14 1:35 
GeneralRe: GUIDs Pin
JimmyRopes2-Mar-14 1:11
professionalJimmyRopes2-Mar-14 1:11 
GeneralRe: GUIDs Pin
Tim Carmichael2-Mar-14 1:47
Tim Carmichael2-Mar-14 1:47 
GeneralRe: GUIDs Pin
chayaphum2-Mar-14 2:48
chayaphum2-Mar-14 2:48 
GeneralRe: GUIDs Pin
0bx2-Mar-14 6:46
0bx2-Mar-14 6:46 
GeneralRe: GUIDs Pin
PIEBALDconsult2-Mar-14 5:28
mvePIEBALDconsult2-Mar-14 5:28 
QuestionRe: GUIDs Pin
Vladimir Svyatski3-Mar-14 8:24
professionalVladimir Svyatski3-Mar-14 8:24 

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.