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

 
GeneralSee the writing on the wall... PinPopular
CDP18022-May-12 22:42
CDP18022-May-12 22:42 
JokeRe: See the writing on the wall... Pin
kdgupta872-May-12 23:32
kdgupta872-May-12 23:32 
GeneralRe: See the writing on the wall... Pin
CDP18022-May-12 23:56
CDP18022-May-12 23:56 
GeneralRe: See the writing on the wall... Pin
Jeremy Hutchinson4-May-12 1:29
professionalJeremy Hutchinson4-May-12 1:29 
GeneralRe: See the writing on the wall... PinPopular
Jörgen Andersson3-May-12 0:00
professionalJörgen Andersson3-May-12 0:00 
GeneralRe: See the writing on the wall... PinPopular
CDP18023-May-12 0:17
CDP18023-May-12 0:17 
GeneralRe: See the writing on the wall... Pin
Jörgen Andersson3-May-12 0:59
professionalJörgen Andersson3-May-12 0:59 
GeneralRe: See the writing on the wall... Pin
CDP18023-May-12 2:34
CDP18023-May-12 2:34 
He definitely is. Decoding his stuff is fun as long as the code gives you some hints to what is going on. Here he's messing around with files. By trying to kill running executables he also gives me the impression that this is supposed to be some kind of DIY deployment and updating mechanism. It really gets funny when it comes to updating the obviously running program itself.

If you really want to have a challenge, then you should look at how he works with relational data. First everything is 'imported'. That means a lot of files are copied from somewhere in the network into a folder of the mobile device. The stuff is not XML or CSV, of which he usually is very fond. It's some creation of his own with fixed record and field lengths. And then he does not actually import anything. The program searches through those files to find and display data and changes are made to copies in another folder. Those changes are then sent off into the network again once the device is docked.

That's what I call retro! A 'database' in the style of 1960 and a DIY DBMS that relies heavily on the file system and 'database files' which must be named after the primary keys of the content. All that in a mobile application that has been finished last week Smile | :)
At least artificial intelligence already is superior to natural stupidity



GeneralRe: See the writing on the wall... Pin
MythicalMe11-May-12 4:59
MythicalMe11-May-12 4:59 
GeneralRe: See the writing on the wall... Pin
Jörgen Andersson11-May-12 8:28
professionalJörgen Andersson11-May-12 8:28 
GeneralRe: See the writing on the wall... Pin
Florin Jurcovici5-Jun-12 23:02
Florin Jurcovici5-Jun-12 23:02 
GeneralRe: See the writing on the wall... Pin
Jörgen Andersson6-Jun-12 1:05
professionalJörgen Andersson6-Jun-12 1:05 
GeneralRe: See the writing on the wall... Pin
BrainiacV4-May-12 3:59
BrainiacV4-May-12 3:59 
GeneralRe: See the writing on the wall... Pin
Bruce Patin7-May-12 6:00
Bruce Patin7-May-12 6:00 
GeneralRe: See the writing on the wall... Pin
BillW333-May-12 0:40
professionalBillW333-May-12 0:40 
GeneralRe: See the writing on the wall... Pin
CDP18023-May-12 0:49
CDP18023-May-12 0:49 
GeneralRe: See the writing on the wall... Pin
BillW333-May-12 3:00
professionalBillW333-May-12 3:00 
GeneralRe: See the writing on the wall... Pin
Florin Jurcovici5-Jun-12 23:05
Florin Jurcovici5-Jun-12 23:05 
GeneralRe: See the writing on the wall... Pin
BillW336-Jun-12 1:27
professionalBillW336-Jun-12 1:27 
GeneralRe: See the writing on the wall... Pin
BobJanova3-May-12 0:59
BobJanova3-May-12 0:59 
GeneralRe: See the writing on the wall... Pin
BillW334-May-12 2:45
professionalBillW334-May-12 2:45 
GeneralRe: See the writing on the wall... Pin
Manfred Rudolf Bihy3-May-12 2:56
professionalManfred Rudolf Bihy3-May-12 2:56 
GeneralRe: See the writing on the wall... Pin
CDP18023-May-12 4:03
CDP18023-May-12 4:03 
GeneralRe: See the writing on the wall... Pin
OriginalGriff3-May-12 6:01
mveOriginalGriff3-May-12 6:01 
GeneralRe: See the writing on the wall... Pin
CDP18023-May-12 12:36
CDP18023-May-12 12: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.