Click here to Skip to main content
15,883,063 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: I heard you like code in your code Pin
Gary Wheeler30-Nov-23 1:33
Gary Wheeler30-Nov-23 1:33 
GeneralRe: I heard you like code in your code Pin
charlieg5-Jan-24 7:41
charlieg5-Jan-24 7:41 
GeneralRe: I heard you like code in your code Pin
honey the codewitch5-Jan-24 9:39
mvahoney the codewitch5-Jan-24 9:39 
GeneralRe: I heard you like code in your code Pin
honey the codewitch5-Jan-24 9:48
mvahoney the codewitch5-Jan-24 9:48 
GeneralRe: I heard you like code in your code Pin
Chris Maunder11-Jan-24 1:27
cofounderChris Maunder11-Jan-24 1:27 
GeneralThe biggest little array you've ever seen. Pin
honey the codewitch18-Nov-23 6:26
mvahoney the codewitch18-Nov-23 6:26 
GeneralRe: The biggest little array you've ever seen. Pin
Andre Oosthuizen18-Nov-23 7:57
mveAndre Oosthuizen18-Nov-23 7:57 
GeneralRe: The biggest little array you've ever seen. Pin
trønderen18-Nov-23 9:25
trønderen18-Nov-23 9:25 
In my student days, upon finding the book 'A Million Random Digits with 100,000 Normal Deviates[^], simply because I was fascinated by the madness of publishing a whole book of random numbers. In the Numerical Methods course, we had been through the theory of random number generator. The cost of the book was something like USD 150. It would be a great thing to pass around at parties with other Comp.Sci. students.

Well, I didn't spend the USD 150. Every now and then I regret it. As my link shows, it is still available, but my friends are different now; they don't see the absurdity / humor of it.

If I need a million integers, a generator would fit in a lot less space than 5.7 Mbytes.

(Btw: What makes a file of a million or so integers C#)? I'd think it was either binary or ASCII/ISO8859/UTF8, but neither is language dependent!)
GeneralRe: The biggest little array you've ever seen. Pin
honey the codewitch18-Nov-23 9:26
mvahoney the codewitch18-Nov-23 9:26 
GeneralQuick Tip: Windows Explorer, best shortcut ever!!! PinPopular
raddevus23-Oct-23 8:54
mvaraddevus23-Oct-23 8:54 
GeneralRe: Quick Tip: Windows Explorer, best shortcut ever!!! Pin
Mircea Neacsu23-Oct-23 10:38
Mircea Neacsu23-Oct-23 10:38 
GeneralRe: Quick Tip: Windows Explorer, best shortcut ever!!! Pin
raddevus23-Oct-23 10:48
mvaraddevus23-Oct-23 10:48 
GeneralRe: Quick Tip: Windows Explorer, best shortcut ever!!! Pin
Mircea Neacsu23-Oct-23 10:55
Mircea Neacsu23-Oct-23 10:55 
GeneralRe: Quick Tip: Windows Explorer, best shortcut ever!!! Pin
raddevus23-Oct-23 10:55
mvaraddevus23-Oct-23 10:55 
GeneralRe: Quick Tip: Windows Explorer, best shortcut ever!!! Pin
PIEBALDconsult23-Oct-23 12:45
mvePIEBALDconsult23-Oct-23 12:45 
GeneralRe: Quick Tip: Windows Explorer, best shortcut ever!!! Pin
raddevus24-Oct-23 2:44
mvaraddevus24-Oct-23 2:44 
GeneralRe: Quick Tip: Windows Explorer, best shortcut ever!!! Pin
PIEBALDconsult24-Oct-23 4:23
mvePIEBALDconsult24-Oct-23 4:23 
GeneralRe: Quick Tip: Windows Explorer, best shortcut ever!!! Pin
Peter Kassenaar24-Oct-23 23:57
Peter Kassenaar24-Oct-23 23:57 
GeneralRe: Quick Tip: Windows Explorer, best shortcut ever!!! Pin
PIEBALDconsult25-Oct-23 3:53
mvePIEBALDconsult25-Oct-23 3:53 
GeneralRe: Quick Tip: Windows Explorer, best shortcut ever!!! Pin
sasadler25-Oct-23 6:12
sasadler25-Oct-23 6:12 
GeneralRe: Quick Tip: Windows Explorer, best shortcut ever!!! Pin
PIEBALDconsult25-Oct-23 6:24
mvePIEBALDconsult25-Oct-23 6:24 
GeneralRe: Quick Tip: Windows Explorer, best shortcut ever!!! Pin
sasadler25-Oct-23 6:46
sasadler25-Oct-23 6:46 
GeneralRe: Quick Tip: Windows Explorer, best shortcut ever!!! Pin
Paul Sanders (the other one)24-Oct-23 21:22
Paul Sanders (the other one)24-Oct-23 21:22 
GeneralRe: Quick Tip: Windows Explorer, best shortcut ever!!! Pin
Gary Wheeler25-Oct-23 1:15
Gary Wheeler25-Oct-23 1:15 
GeneralRe: Quick Tip: Windows Explorer, best shortcut ever!!! Pin
Joe Fallon25-Oct-23 4:32
Joe Fallon25-Oct-23 4:32 

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.