• Shuffling (unregistered) in reply to david

    On the Iraqi side or the Iranian one?

  • Jabuco (unregistered) in reply to Kaewberg

    This comment really was my daily wtf

  • (nodebb) in reply to markm

    The only thing that makes sense to me is that it's more of an assembler-ism (which, given that we're agreed it can't have been TP4 as presented, doesn't particularly worry me): it's come from a calculation that's supposed to be unsigned but has overflowed into the sign bit, so we shift right (which is the same as dividing by two, right? At least if you're not in the mood for details) to bring it back into valid range. Admittedly, why you would do that instead of clamping to max eludes me, but it makes more sense than "if it's negative, divide by two".

  • MDB (unregistered) in reply to Moschops

    He is absolutely correct in what he says although perhaps he could have qualified it by saying "He obviously doen'st know much about Pascal (Turbo or otherwise) and missile control systems."

  • markm (unregistered) in reply to Bart

    Whatever programming language that was, it seems quite unlikely to have been any flavor of PASCAL - quite aside from the stupidity of picking PASCAL for embedded control programming, the code resembles PASCAL no more than C. So whatever '/' meant in PASCAL is irrelevant.

    Being a DOD project, I'd expect it was either ADA - but I think ADA can't have unclosed comments - or, some language developed specifically for the military. IIRC, they started doing that with the Atlas ICBM's in the 1950's (although I expect that language would have been limited to the common punch card character set, no {} brackets and no lower case letters), and a job interview in 1987 turned out to be for programming in some such internal language. I never did, so I can't tell you anything about those internal languages except that they existed and were used long after better choices were available.

  • (nodebb) in reply to Sole Purpose of Visit

    I would fire, no

    Indeed, as they would only travel 5m anyway.

  • jgh (unregistered)

    I've had to mangle code that starts with #define BEGIN { #define END }

    It wouldn't surprise me if somebody somewhere had managed to force a compiler to accept #define \n{ \nBEGIN #define \n} \nEND

  • Mike (unregistered) in reply to ray10k

    Green CRT's. I know, I coded that crap.

  • Dr. λ the Creator of Variables, Binder of Variables, Applicator of Terms and β-Reducer of Redexes (unregistered)

    I am AMAZING!

Leave a comment on “A Comment on the Military Industrial Complex”

Log In or post as a guest

Replying to comment #:

« Return to Article