Click here to Skip to main content
15,889,527 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.

 
GeneralFrom one security guy to another (or to a "hacker"... don't care). Pin
Paulo Zemek27-Apr-16 16:52
mvaPaulo Zemek27-Apr-16 16:52 
GeneralRe: From one security guy to another (or to a "hacker"... don't care). Pin
Chris Quinn27-Apr-16 21:30
Chris Quinn27-Apr-16 21:30 
GeneralRe: From one security guy to another (or to a "hacker"... don't care). Pin
Paulo Zemek27-Apr-16 21:52
mvaPaulo Zemek27-Apr-16 21:52 
GeneralThe "One" Pin
Paulo Zemek24-Apr-16 13:00
mvaPaulo Zemek24-Apr-16 13:00 
GeneralRe: The "One" Pin
PIEBALDconsult24-Apr-16 14:14
mvePIEBALDconsult24-Apr-16 14:14 
GeneralRe: The "One" Pin
Paulo Zemek24-Apr-16 16:51
mvaPaulo Zemek24-Apr-16 16:51 
GeneralRe: The "One" Pin
Pete O'Hanlon24-Apr-16 21:37
mvePete O'Hanlon24-Apr-16 21:37 
GeneralRe: The "One" Pin
Paulo Zemek25-Apr-16 2:46
mvaPaulo Zemek25-Apr-16 2:46 
"But I was saying that the 1 multiplies instead of dividing"

That was actually my first thought... but then my crazy mind kept going (it is near 5:30 here, and I usually wake up near 10)...

Then I continued with:
"Oh... I see... there needs to be 57 ones for maximum power".
In my mind, you asked: "Why 57" (you probably wouldn't ask that, but anyways...)
- 57 because it is a prime and round number.
- WTF?!? Prime??? Round??? Are you crazy or stupid?
- More to crazy... see, I still didn't tell you which base I am using.
- OK... that makes sense.
- So, I am using the base 3. That makes the 57 a prime.
- Oh, oh, oh... hold on a minute. In base 3 we only have 0, 1 and 2.
- Yeah.... kinda. It's convention. We can have 5, 6 and 7. Or 5, 2 and 7... or even 5, 0 and 7, like my apartment number. So, 5, 2 and 7, representing the usual 0, 1 and 2, and 57 means 19... or it did when I divided 57 by 3... in any case, a prime.
- But how is it round?
- Can't you find a base where it is round? I know you can!

GeneralRe: The "One" Pin
Richard Deeming25-Apr-16 3:27
mveRichard Deeming25-Apr-16 3:27 
GeneralRe: The "One" Pin
Paulo Zemek25-Apr-16 11:14
mvaPaulo Zemek25-Apr-16 11:14 
GeneralRe: The "One" Pin
Lutosław25-Apr-16 11:38
Lutosław25-Apr-16 11:38 
GeneralRe: The "One" Pin
Matt T Heffron25-Apr-16 12:40
professionalMatt T Heffron25-Apr-16 12:40 
PraiseRe: The "One" Pin
Richard Deeming26-Apr-16 1:08
mveRichard Deeming26-Apr-16 1:08 
GeneralRe: The "One" Pin
Jörgen Andersson25-Apr-16 20:29
professionalJörgen Andersson25-Apr-16 20:29 
GeneralRe: The "One" Pin
Paulo Zemek25-Apr-16 20:44
mvaPaulo Zemek25-Apr-16 20:44 
GeneralRe: The "One" Pin
Paulo Zemek25-Apr-16 20:49
mvaPaulo Zemek25-Apr-16 20:49 
GeneralRe: The "One" Pin
David A. Gray1-Jul-16 21:46
David A. Gray1-Jul-16 21:46 
GeneralCaught in the trap again PinPopular
Bernhard Hiller21-Apr-16 20:48
Bernhard Hiller21-Apr-16 20:48 
GeneralRe: Caught in the trap again Pin
Rob Grainger22-Apr-16 1:16
Rob Grainger22-Apr-16 1:16 
GeneralRe: Caught in the trap again Pin
Richard Deeming22-Apr-16 1:22
mveRichard Deeming22-Apr-16 1:22 
JokeRe: Caught in the trap again Pin
Bernhard Hiller22-Apr-16 3:18
Bernhard Hiller22-Apr-16 3:18 
GeneralRe: Caught in the trap again Pin
Sascha Lefèvre22-Apr-16 4:11
professionalSascha Lefèvre22-Apr-16 4:11 
GeneralRe: Caught in the trap again Pin
Rob Grainger24-Apr-16 3:55
Rob Grainger24-Apr-16 3:55 
GeneralRe: Caught in the trap again Pin
Brisingr Aerowing24-Apr-16 13:18
professionalBrisingr Aerowing24-Apr-16 13:18 
JokeRe: Caught in the trap again Pin
Nicholas Marty28-Apr-16 0:53
professionalNicholas Marty28-Apr-16 0:53 

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.