Click here to Skip to main content
15,909,530 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: A fond memory of assembly language Pin
brianwelsch9-Apr-07 4:44
brianwelsch9-Apr-07 4:44 
GeneralRe: A fond memory of assembly language Pin
Dan Neely9-Apr-07 5:11
Dan Neely9-Apr-07 5:11 
GeneralRe: A fond memory of assembly language Pin
Rick York9-Apr-07 7:02
mveRick York9-Apr-07 7:02 
GeneralRe: A fond memory of assembly language Pin
Ret Orrick9-Apr-07 7:32
Ret Orrick9-Apr-07 7:32 
GeneralRe: A fond memory of assembly language Pin
Mike Hankey9-Apr-07 15:27
mveMike Hankey9-Apr-07 15:27 
GeneralRe: A fond memory of assembly language Pin
Chris Losinger10-Apr-07 4:26
professionalChris Losinger10-Apr-07 4:26 
GeneralRe: A fond memory of assembly language Pin
Mike Hankey10-Apr-07 10:53
mveMike Hankey10-Apr-07 10:53 
GeneralRe: A fond memory of assembly language Pin
Rick York10-Apr-07 11:33
mveRick York10-Apr-07 11:33 
I did a fair amount of work on VAXes a few decades ago. Smile | :)

One of my most vivid memories is of a project we did that controlled a steel mill with VAXes, PDP-11s, and Modicon PLCs. We used the RTU protocol to talk to the PLCs and it used a CRC alogrithm for the checksum that would bring a 780 to its knees. One day the local repair tech came in to do an upgrade. DEC had implemented a new CRC instruction that was immensely faster and the tech had to do a whole bunch of wire-wrapping on the machine's 2x2 foot CPU circuit board to install the patch. OMG | :OMG:

We sure have come a long way in the 20+ years since then. Now the contents of at least four of those VAX CPU boards can fit on a single chip of less than a half a square inch that will consume far less power, perform thousands of times better, and its microcode can be updated electronically.

That Modicon 584 PLC was something else too. It had three circuit boards that were each roughly 2x2 feet in size, it used hundreds of AMD bite-slice chips to implement its processors, and it was the size of a small under-desk refrigerator. The afore-mentioned steel mill project utilized a whole bunch of them in redundancy configurations that had three of those refrigerator-sized boxes in a massive enclosure for "one" PLC. Today most PLCs are so reliable that redundant configurations are not needed nearly as often. It was needed there because a failure could result hundreds of tons of solidified steel that would be a huge PITA to deal with.

By cracky, you young whipper snappers sure have it easy these days. Cool | :cool:

GeneralRe: A fond memory of assembly language Pin
Mike Hankey10-Apr-07 12:02
mveMike Hankey10-Apr-07 12:02 
GeneralRe: A fond memory of assembly language Pin
Ret Orrick12-Apr-07 3:04
Ret Orrick12-Apr-07 3:04 
GeneralRe: A fond memory of assembly language Pin
Mike Hankey12-Apr-07 9:36
mveMike Hankey12-Apr-07 9:36 
GeneralRe: A fond memory of assembly language Pin
Ret Orrick12-Apr-07 9:43
Ret Orrick12-Apr-07 9:43 
GeneralRe: A fond memory of assembly language Pin
Mike Hankey12-Apr-07 9:50
mveMike Hankey12-Apr-07 9:50 
GeneralRe: A fond memory of assembly language Pin
beachsidepaul16-Apr-07 1:43
beachsidepaul16-Apr-07 1:43 
GeneralRe: A fond memory of assembly language Pin
Mike Hankey16-Apr-07 2:02
mveMike Hankey16-Apr-07 2:02 
GeneralRe: A fond memory of assembly language Pin
beachsidepaul16-Apr-07 9:51
beachsidepaul16-Apr-07 9:51 
GeneralRe: A fond memory of assembly language Pin
Mike Hankey16-Apr-07 10:18
mveMike Hankey16-Apr-07 10:18 
GeneralRe: A fond memory of assembly language Pin
Weldon Adair, Jr.16-Apr-07 9:16
Weldon Adair, Jr.16-Apr-07 9:16 
GeneralRe: A fond memory of assembly language Pin
Jasmine250111-Apr-07 12:50
Jasmine250111-Apr-07 12:50 
GeneralRe: A fond memory of assembly language Pin
Ret Orrick12-Apr-07 3:24
Ret Orrick12-Apr-07 3:24 
GeneralRe: A fond memory of assembly language Pin
Jasmine250112-Apr-07 5:49
Jasmine250112-Apr-07 5:49 
GeneralRe: A fond memory of assembly language Pin
Ret Orrick12-Apr-07 6:26
Ret Orrick12-Apr-07 6:26 
GeneralRe: A fond memory of assembly language Pin
Jasmine250112-Apr-07 8:05
Jasmine250112-Apr-07 8:05 
GeneralRe: A fond memory of assembly language Pin
Ret Orrick12-Apr-07 9:55
Ret Orrick12-Apr-07 9:55 
GeneralRe: A fond memory of assembly language Pin
Dave Sexton23-Apr-07 2:30
Dave Sexton23-Apr-07 2:30 

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.