Click here to Skip to main content
15,885,216 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: String "bitmaps" Pin
Richard A. Dalton20-Aug-10 6:58
Richard A. Dalton20-Aug-10 6:58 
GeneralRe: String "bitmaps" Pin
Keith Barrow21-Aug-10 23:45
professionalKeith Barrow21-Aug-10 23:45 
GeneralRe: String "bitmaps" Pin
Richard A. Dalton22-Aug-10 12:21
Richard A. Dalton22-Aug-10 12:21 
GeneralRe: String "bitmaps" Pin
Keith Barrow22-Aug-10 12:49
professionalKeith Barrow22-Aug-10 12:49 
GeneralRe: String "bitmaps" Pin
Richard A. Dalton22-Aug-10 23:32
Richard A. Dalton22-Aug-10 23:32 
GeneralRe: String "bitmaps" Pin
T M Gray20-Aug-10 6:15
T M Gray20-Aug-10 6:15 
GeneralRe: String "bitmaps" Pin
Dr.Walt Fair, PE20-Aug-10 7:56
professionalDr.Walt Fair, PE20-Aug-10 7:56 
GeneralRe: String "bitmaps" Pin
Nagy Vilmos22-Aug-10 0:34
professionalNagy Vilmos22-Aug-10 0:34 
#cough# years ago, I was working on an interface to the ATM / POS network for the bank. The message spec has a bitmap at the beginning indicating the fields that would be provided; IIR it was 4 or 8 bytes. We created it properly but communicated with the card server sending strings rather then byte arrays; don't ask. Windows in it's infinite wisdom saw that the two boxes had different code pages so converted the messages. It took us an age to find that one and I got a 3 1/2 year contract in Budapest on the back of it.


Panic, Chaos, Destruction.
My work here is done.


or "Drink. Get drunk. Fall over." - P O'H

GeneralRe: String "bitmaps" Pin
Blake Miller21-Sep-10 12:30
Blake Miller21-Sep-10 12:30 
GeneralOne of those bad days and now i find stuff like this... Pin
Bigdeak18-Aug-10 1:29
Bigdeak18-Aug-10 1:29 
GeneralRe: One of those bad days and now i find stuff like this... Pin
hammerstein0518-Aug-10 6:22
hammerstein0518-Aug-10 6:22 
JokeRe: One of those bad days and now i find stuff like this... Pin
akyriako7820-Aug-10 2:56
akyriako7820-Aug-10 2:56 
GeneralRe: One of those bad days and now i find stuff like this... Pin
Jeroen De Dauw18-Aug-10 7:22
Jeroen De Dauw18-Aug-10 7:22 
GeneralRe: One of those bad days and now i find stuff like this... Pin
AspDotNetDev18-Aug-10 12:57
protectorAspDotNetDev18-Aug-10 12:57 
GeneralRe: One of those bad days and now i find stuff like this... Pin
Camilo Sanchez18-Aug-10 16:27
Camilo Sanchez18-Aug-10 16:27 
JokeRe: One of those bad days and now i find stuff like this... Pin
AspDotNetDev18-Aug-10 16:29
protectorAspDotNetDev18-Aug-10 16:29 
GeneralRe: One of those bad days and now i find stuff like this... Pin
Camilo Sanchez18-Aug-10 17:38
Camilo Sanchez18-Aug-10 17:38 
GeneralRe: One of those bad days and now i find stuff like this... Pin
PIEBALDconsult18-Aug-10 15:25
mvePIEBALDconsult18-Aug-10 15:25 
GeneralRe: One of those bad days and now i find stuff like this... Pin
Chris Meech19-Aug-10 1:44
Chris Meech19-Aug-10 1:44 
GeneralRe: One of those bad days and now i find stuff like this... Pin
R. Giskard Reventlov19-Aug-10 4:48
R. Giskard Reventlov19-Aug-10 4:48 
GeneralRe: One of those bad days and now i find stuff like this... Pin
elchupathingy19-Aug-10 19:38
elchupathingy19-Aug-10 19:38 
GeneralRe: One of those bad days and now i find stuff like this... Pin
BillW3325-Aug-10 6:47
professionalBillW3325-Aug-10 6:47 
GeneralRe: One of those bad days and now i find stuff like this... Pin
oggenok6420-Aug-10 11:39
oggenok6420-Aug-10 11:39 
GeneralRe: One of those bad days and now i find stuff like this... Pin
Ray Cassick22-Aug-10 8:37
Ray Cassick22-Aug-10 8:37 
GeneralRe: One of those bad days and now i find stuff like this... Pin
Bigdeak22-Aug-10 22:36
Bigdeak22-Aug-10 22:36 

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.