Slashdot Mirror


Reverse Engineering a Missile Launcher Toy's Interface

nitro writes "A fairly in-depth technical report by the security researchers at TippingPoint was released on how to reverse engineer the proprietary protocol for controlling a USB missile-launching toy system. They develop an iPhone application to control the device. 'The hardware is coupled with a simple GUI controller written in Delphi (MissileLauncher.exe) and a USB Human Interface Device (HID) interface written in C++ (USBHID.dll). The toys lost their allure within minutes of harassing my team with a barrage of soft missile shots. That same night I thought I would be able to extend the fun factor by coding up a programmatic interface to the launchers in Python. ... One interesting thing is that we have a lot more granular control of the turret movement now than we did with the original GUI. I wrote two simple loops to count the number of possible horizontal and vertical ticks and the results were 947 horizontal and 91 vertical versus 54 and 10 from the original GUI respectively. Granular control allows you to slowly and quietly reposition the turret for stealthy attacks.'"

118 comments

  1. Legal implications by CRCulver · · Score: 5, Funny

    Just as Phil Zimmermann famously had to distribute PGP internationally in print form to avoid violating munitions laws, wouldn't these guys have to be really careful about their elite missle launching software? If this code makes it to Syria or Iran, we're in for a mildly annoying attack with state of the art styrofoam weaponry.

    1. Re:Legal implications by Chih · · Score: 1

      Iran already has styro nukes. We can't let this tech get into the hands of the terrorists. We'll have to confiscate all models under the guise of national security. Now all you guys have to do is slashdot the site.

      --
      For best results, avoid doing stupid things.
    2. Re:Legal implications by mc1138 · · Score: 1

      If only when we had gone into Iraq we thought to raid the coffee counters for any Weapons of Mass Flotation.

    3. Re:Legal implications by John+Hasler · · Score: 1

      The US munitions regulations that Zimmermann was arguing with were repealed many years ago.

      --
      Warning: this article may contain humor, sarcasm, parody, and perhaps even irony. Read at your own risk.
    4. Re:Legal implications by skiphoppotamus · · Score: 1

      isn't iran's new satellite called Nerf I?

    5. Re:Legal implications by Anonymous Coward · · Score: 0

      Just as Phil Zimmermann famously had to distribute PGP internationally in print form to avoid violating munitions laws, wouldn't these guys have to be really careful about their elite missle launching software? If this code makes it to Syria or Iran, we're in for a mildly annoying attack with state of the art styrofoam weaponry.

      I'm just glad they're closing the open source/closed source missile gap. Things were getting scary for open source before these guys' heroic efforts.

    6. Re:Legal implications by amori · · Score: 1

      Wonder if our missile defense system can handle this ?

    7. Re:Legal implications by Anonymous Coward · · Score: 0

      Theres already been the open source cruise missile built in new zealand. Anyone remember that ?

  2. Comment removed by account_deleted · · Score: 5, Funny

    Comment removed based on user account deletion

  3. Good work. by curtinparloe · · Score: 5, Funny

    Now you need to incorporate webcam target recognition and create an automated firing application.

    You could call it "Skynet".

    1. Re:Good work. by drinkypoo · · Score: 4, Insightful

      Actually, this seems like an almost ideal platform for sentry gun research. It's small, cheap, relatively harmless, can be operated in an office environment, and is probably wildly inaccurate which means that if you can make this work, actually shooting targets with some kind of accurate weapon will be trivial. I'd very much like a sentry gun that would squirt the @#$%@#@ deer with water (at least) when they come to eat the plants on the front porch.

      --
      "You're right," Fisheye says. "I should have set it on 'whip' or 'chop.'"
    2. Re:Good work. by diskis · · Score: 4, Insightful

      Why go for the complex solution?
      A motion sensor connected to a air horn should do the trick.

    3. Re:Good work. by im_thatoneguy · · Score: 2, Interesting

      Wouldn't an ultrasonic loud speaker be more effective and less likely to miss?

      Or perhaps a pop up scarecrow.

      Problem is deer are usually smart enough to figure out what is and is not dangerous. If they get squired a few times they'll just assume they're setting off your sprinkler system. And I've seen deer walk right through sprinklers without a care in the world.

    4. Re:Good work. by drinkypoo · · Score: 5, Funny

      That sounds fantastic. I'd love to jump out of bed at 3 am wondering where the iceberg is. And I won't need to squirt the deer with water, either; I just sleep on the porch, and when I fucking piss myself I can hose them down, too.

      --
      "You're right," Fisheye says. "I should have set it on 'whip' or 'chop.'"
    5. Re:Good work. by Anonymous Coward · · Score: 1

      Those are already commercially available. Search for motion-activated sprinkler.

    6. Re:Good work. by wisty · · Score: 2, Funny

      Who says the squirt gun has to use water?

    7. Re:Good work. by Dunbal · · Score: 0, Troll

      I'd love to jump out of bed at 3 am wondering where the iceberg is.

            Thanks to global warming, there are no icebergs anymore. Oh, wait-

      --
      Seven puppies were harmed during the making of this post.
    8. Re:Good work. by mk_is_here · · Score: 1

      And knocking it down the speaker attached from it should say "I don't hate you".

    9. Re:Good work. by Ihmhi · · Score: 3, Interesting

      Aren't there more than a few "Paintball turrets" floating around on the 'net that basically do this already? I recall seeing one that was already for sale as a package.

      I'd love to have one of these to get rid of the animals that poop in my backyard. Better biodegradable paint than cat shit.

      And with a little hacking into an alarm system and replacing paintballs with ball bearings...

      "Get the HELL out of my house! You have FIVE seconds to comply. FIVE. FOUR. ONE." *bam* *bam* *bam*

    10. Re:Good work. by Anonymous Coward · · Score: 5, Funny

      I'd love to jump out of bed at 3 am wondering where the iceberg is.

            Thanks to global warming, there are no icebergs anymore. Oh, wait-

      Shit, an iceberg got him!

    11. Re:Good work. by attackc0de · · Score: 1

      Increase your venison consumption. Studies show that increased hunting decreases deer trying to each your porch plants. Some good recipes to get you started: http://allrecipes.com/Recipes/Meat-and-Poultry/Game-Meats/Venison/Main.aspx :P

      --
      For a nice date: call strftime(3C)
    12. Re:Good work. by Hanyin · · Score: 3, Funny

      What kind of geek are you? Just make a project out of it ;-)

    13. Re:Good work. by enFi · · Score: 1

      You mean the automatic pellet turret?

    14. Re:Good work. by Cowmonaut · · Score: 1

      Wasn't that in a movie with a robot?

    15. Re:Good work. by mmontour · · Score: 1

      I'd very much like a sentry gun that would squirt the @#$%@#@ deer with water (at least) when they come to eat the plants on the front porch.

      You can get something like that here, although it's just a simple motion sensor rather than an active tracking platform.

    16. Re:Good work. by mweather · · Score: 0, Redundant

      I'd very much like a sentry gun that would squirt the @#$%@#@ deer with water (at least) when they come to eat the plants on the front porch.

      Like this?

    17. Re:Good work. by Jerry+Smith · · Score: 1

      Wasn't that in a movie with a robot?

      sigh Robocop.
      Motiondetection, bionic arms, waving aluminium foil: wouldn't that scare the animals away?

      --
      All those moments will be lost in time, like tears in rain. Time to die.
    18. Re:Good work. by Anonymous Coward · · Score: 0

      Perhaps the "Portable Autonomous Sentry" would do the trick: http://www.youtube.com/watch?v=RxBa5bQfTGc

    19. Re:Good work. by Anonymous Coward · · Score: 0

      Already been done.
      http://www.lattimore.id.au/2006/10/24/pymissile-the-python-missile-control-centre/

    20. Re:Good work. by Tubal-Cain · · Score: 1

      Surely your laser isn't so busy keeping squirrels off the bird feeder that it doesn't have time to shoot the occasional deer near the porch.

    21. Re:Good work. by Anonymous Coward · · Score: 0

      How about creating a new species of giant venus flytraps to eat the deer?

    22. Re:Good work. by Ihmhi · · Score: 1

      Yes, but it'd be boring when I put the video up on YouTube.

      And as for a counter to home invasion, what do you expect me to do? Hook up a bunch of cardboard cutouts to a model train set?

    23. Re:Good work. by johanatan · · Score: 0

      Not to mention false alarms... there's no telling how many other uninteresting types of small furry creatures are going to trigger the sensor.

    24. Re:Good work. by Kozz · · Score: 1

      Go buy yourself a cheap, bulk container of cayenne pepper. Sprinkle liberally on plants. That may deter the deer as well as rabbits, etc).

      --
      I only post comments when someone on the internet is wrong.
    25. Re:Good work. by Cyberax · · Score: 3, Funny

      I recommend landmines. Just don't forget where you put them :)

    26. Re:Good work. by drinkypoo · · Score: 1

      Do you have any idea what it costs to get hunting licenses in California? It's cheaper to buy meat.

      --
      "You're right," Fisheye says. "I should have set it on 'whip' or 'chop.'"
    27. Re:Good work. by swb · · Score: 1

      Your solution is called a compound bow.

      Totally silent and you will solve the problem.

    28. Re:Good work. by Anonymous Coward · · Score: 0

      I can't wait till global warming kills all these iceberg's once and for all!

    29. Re:Good work. by Tycho · · Score: 1

      Perhaps pepper spray sprayed a wide arc would work. Or maybe one could lob miniature tear gas canisters at the deer. Or just use VX nerve gas on them, those deer really do deserve it. If disposing of deer carcasses in order to avoid uncomfortable questions from game wardens, or even disposing of dead wardens is an issue, gas the deer with either Chlorine Trifluoride or Hydrogen Fluoride from lawn sprinklers. The deer will wander off, but will die in a couple of hours. Seal your house well and spraypaint any grass that ends up dying green. Finding a legitimate reason to posses or manufacture any of the above mentioned chemicals is an exercise left to the reader.

      --
      Impersonating Tycho from Penny Arcade since before there was a PA.
    30. Re:Good work. by glittalogik · · Score: 2, Funny

      I recommend tiger urine.

    31. Re:Good work. by Anonymous Coward · · Score: 0

      Now that there's finer resolution controls, just need to put together a reasonable ballistic table and get a good range finding solution. Then it should be a lot simpler to hit the target with some degree of consistency. (Provided other factors affecting a nerf missile launch can be kept fairly consistent.)

      Bonus points if you can put target designation and tracking in the UI software. Give it the ability to lead targets and try to make it so the missile doesn't fire unless its sure to hit.

      If it was good enough, it'd make for an interesting game of Havoc Heli vs. SAM battery.

    32. Re:Good work. by Anonymous Coward · · Score: 0

      http://www.critterridders.com/scarecrow.htm

      Sentry Sprinkler Squirts Water

  4. Cops and Robbers or Global Armageddon ? by mc1138 · · Score: 1

    Seriously, what kid wants to play a cop when they can play Leader of a Rouge nation bent on sending missiles against their uh, playmates? Attach a diaper to it and you have a playful way to play "Biological Warfare"

    1. Re:Cops and Robbers or Global Armageddon ? by paulmac84 · · Score: 1

      Leader of a Rouge nation

      Our kids want to play at being Communists? Or worse Canadians?

      Mein Gott, who will think of the children?

      --
      One of the universal rules of happiness is always be wary of any helpful item that weighs less than its operating manual
    2. Re:Cops and Robbers or Global Armageddon ? by drinkypoo · · Score: 3, Funny

      I was thinking of some joke a little more limp-wristed, which is what I always thought when I saw some kid talking about "Rouge Squadron". They fly the pink X-Wings, right?

      --
      "You're right," Fisheye says. "I should have set it on 'whip' or 'chop.'"
    3. Re:Cops and Robbers or Global Armageddon ? by mc1138 · · Score: 1

      Blame Canada... Seriously though, I always mix up those two words...

    4. Re:Cops and Robbers or Global Armageddon ? by mc1138 · · Score: 1

      No no, just Pink highlights...

    5. Re:Cops and Robbers or Global Armageddon ? by cleatsupkeep · · Score: 5, Funny

      I was thinking of some joke a little more limp-wristed, which is what I always thought when I saw some kid talking about "Rouge Squadron". They fly the pink X-Wings, right?

      Pink 5 standing by... And FABULOUS

    6. Re:Cops and Robbers or Global Armageddon ? by H0p313ss · · Score: 1

      Our kids want to play at being Communists? Or worse Canadians?

      Nous sommes plutot mauve que rouge voyons.

      --
      XML is a known as a key material required to create SMD: Software of Mass Destruction
    7. Re:Cops and Robbers or Global Armageddon ? by Jarik+C-Bol · · Score: 1

      i was more concerned that they wanted to play as nations made up of makeup for the cheeks... Rouge is not Rogue. still.

      --
      I've decided to Diversify my Holdings. I've divided my cash between my left and right pockets, instead of all in one.
  5. What happens next.... by SGDarkKnight · · Score: 1

    Nigan: He does fit the profile perfectly. He's intelligent, but an under-achiever; alienated from his parents; has few friends. Classic case for recruitment by the Soviets.

    Arthur Cabot: Now what does this say about the state of our country, hmm? I mean have you got any insight as to why a bright boy like this would jeopardize the lives of millions.
    [the General rolls his eyes]

    Nigan: No sir. He says he does this sort of thing for fun.

    Arthur Cabot: What!

    --

    ...A no smoking section in a restaurant is like having a no peeing section in a swimming pool...
    1. Re:What happens next.... by iluvcapra · · Score: 0, Redundant

      God damn it John I want answers and I want 'em now!

      --
      Don't blame me, I voted for Baltar.
  6. Python? by Anonymous Coward · · Score: 0

    It's incredibly much easier and faster to do these type of quick scriptable API's in Lua. I have no idea why people want to make it harder than it has to be. Python is certainly one of the easier scripting languages to extend but Lua is even easier and the language is cleaner (plus the VM is tiny).

    1. Re:Python? by Clueless+Moron · · Score: 5, Informative

      His python code is here. It implements a HTTP web server (as well as a command line and direct socket server mode) that directly invokes a DLL to control the unit. And so in the video he can control the thing using the web browser in his cellphone.

      All the code is only 283 lines and easy to understand. I don't see anything awkward about it.

      In what way exactly would Lua be better at doing that?

    2. Re:Python? by wisty · · Score: 1

      283 lines for a web-based missile control system? I wonder how that compares to the average defense project.

    3. Re:Python? by mobby_6kl · · Score: 1

      Yeah, but this is Python. I'm sure they could cut at least 280 lines if they only used perl. As for the defense projects, I'm convinced they're all just a bunch of shell scripts.

    4. Re:Python? by Anonymous Coward · · Score: 0

      All the code is only 283 lines and easy to understand. I don't see anything awkward about it.

      In what way exactly would Lua be better at doing that?

      283 lines... plus the Python runtime, including modules to implement the HTTP server.

      I could write a one line version of this. I'd just need to put his code into a separate module.

      You can't neglect the overhead of the runtime when you deploy something like this. Lua may well be a better choice, although I'd probably go with straight C. And drop a few features--do you really need to put the HTTP server into the Python code?

    5. Re:Python? by Jurily · · Score: 4, Funny
    6. Re:Python? by Anonymous Coward · · Score: 2, Insightful

      283 lines... plus the Python runtime, including modules to implement the HTTP server.

      ...plus the various C libraries, video drivers, operating system, etc. Wtf? The point is that 283 lines of new code makes for a web controlled nerfgun where previously there was none.

      You can't neglect the overhead of the runtime when you deploy something like this.

      Yes, you can.

      It's running on his desktop PC, which already has python on it. Just like my PC, which also has java, perl and various other languages sitting around. As far as he's concerned, an extra 9k of python script is all it took to make his pet project happen. And if I had one of those USB nerfguns, that same extra 9k of python would trivially do it for me too: right-click, save, "python ped_missile.py".

      although I'd probably go with straight C.

      I've been coding in C continuously for 25 years now, from apps to embedded systems. It's a great language for many things, but for this purpose it would be an absolutely idiotic choice. C is good for size and speed, neither of which is an issue for this task.

      And drop a few features--do you really need to put the HTTP server into the Python code?

      Yes, he does. He wants to be able to control it via a web browser. It's a requirement.

      Are you suggesting he install apache and write a CGI script to do it? I thought you were the one worried about deployment costs.

      Tell you what, go and implement what he did in probably an afternoon (including the web server interface) using pure Lua instead and then show us how much easier and better it is than the way he did it.

    7. Re:Python? by TheRaven64 · · Score: 1
      Actually, in this case, it's easier in Python. Just install the pymissile package on your OS of choice (I saw the USB missile launcher was imported into OpenBSD a few releases ago, and I'm fairly sure Linux and Net/FreeBSD have similar drivers). After doing this, you have a Python interface to your USB missile launcher without having to write a single line of code.

      Reverse engineering is fun and all, but I can't help think that it's a bit more of a challenge when you aren't reverse engineering something which has a well-understood and documented interface...

      --
      I am TheRaven on Soylent News
    8. Re:Python? by TheRaven64 · · Score: 1

      283 lines seems a bit too much. The pymissile package, which provides a Python interface to this kind of missile launcher, was released back in 2006. Connecting this up to a web interface shouldn't be more than a dozen lines. Unless you're going to 'reverse engineer' it by using a random proprietary DLL to interface with the missile launcher instead of the well-documented USB control interface...

      --
      I am TheRaven on Soylent News
    9. Re:Python? by Lennie · · Score: 1

      That was my thought exactly.

      --
      New things are always on the horizon
  7. Pft. by Spatial · · Score: 5, Funny

    No wireless. Less ammunition than an AH-64. Lame.

  8. George Carlin by michaelmalak · · Score: 0, Offtopic

    George Carlin had a few things to say about missiles.

    1. Re:George Carlin by Anonymous Coward · · Score: 0

      Yeah that sure was immature wasn't it Mr... uh... drinkypoo?

  9. The easiset solution I've found... by Anonymous Coward · · Score: 0

    ...is to find an old copy of Missle Command and rename MissleCommand.exe to MissileLauncher.exe.

    It also allows you to target with a trackball which is very useful for protecting the house from the neighbor's kids system. Little tyke looks like a red if you know what I'm saying. Damn gingers.

  10. Rememer Robot Wars? by anorlunda · · Score: 4, Interesting

    Oh wow. I was one of the enthusiastic fans of Muse Software's Robot Wars for the Apple ][. It sounds to me like Soulskill has invented a way to re-create Robot Wars in a more real and more fun way.

    Here's a description of the original game.


    Create code for a robot using the provided programing language, limited to 256 lines of code. Test your robot on the test bench by examining the code line by line and determining whether the bot performs as intended. Then put your finished robot in the arena with up to four other bots, set the number of battles, and watch them fight it out in a top-down view. Computer Gaming world had annual contests for several years in which readers could send their bots on disk to participate in the match, with results and prizes reported in the magazine.

    1. Re:Rememer Robot Wars? by Anonymous Coward · · Score: 1

      I thought I was the only one that loved this game.

    2. Re:Rememer Robot Wars? by kramulous · · Score: 1

      Me and a work mate have a battle every couple of months with Robocode. Winner gets bragging rights.

      It is as difficult or as easy as you want to make it. There are also world wide comps with 256 byte codes. Makes you also brush up on your high school trig. Awesome fun.

      --
      .
    3. Re:Rememer Robot Wars? by Rich0 · · Score: 1

      Sounds like this game which I loved as a kid.

      It is really a timeless concept - it could probably be successful if it were launched again on a more modern platform.

    4. Re:Rememer Robot Wars? by Anonymous Coward · · Score: 1, Informative

      Looks like someone did launch it again on a more modern platform... :)

      http://www.mindrover.com/

    5. Re:Rememer Robot Wars? by Thelasko · · Score: 1

      It sounds to me like Soulskill has invented a way to re-create Robot Wars in a more real and more fun way.

      I was thinking of getting two launchers and recreating Scorched Earth. To each his own.

      --
      One of our competitors trademarked the term "hypothesis". From now on, we will call them "boneheaded ideas".
    6. Re:Rememer Robot Wars? by Rich0 · · Score: 1

      I've tried it - haven't been impressed. It is a bit limited, and I don't like the fact that it doesn't really allow for procedural programming. It is more of a stimulus-response feedback loop design.

  11. iPhone this. iPhone that by Anonymous Coward · · Score: 1, Funny

    I don't Phone anyone so I stopped reading at "iPhone"

  12. Cheap Toys by Anonymous Coward · · Score: 1, Funny

    I watch Woot on pretty much a daily basis and as a result I frequently end up purchasing toys that I really don't need. Most recently I picked up this silly pair of USB Missile Launchers for just under 40$ shipped.

    Presumably this is how the guy ended up with an iPhone.

  13. Re:Hacking somethign that did not need a hack. by woolpert · · Score: 5, Funny

    These have been "hacked" for years now. I had one running under linux in my cubicle 4 years ago using a webcam for auto targeting coworkers.

    The code. Put up or shut up, AC.

  14. Hiring? by Anonymous Coward · · Score: 1, Funny

    It must be fun to reverse engineer toys at a computer security company and get paid.

  15. Re:More Granular Implies Poorer Control by Anonymous Coward · · Score: 0

    granâ...uâ...larâ â[gran-yuh-ler] Show IPA Pronunciation
    â"adjective
    1. of the nature of granules; grainy.
    2. composed of or bearing granules or grains.
    3. showing a granulated structure.

    So "more granular" can mean "more grainy" or "showing more of a granulated structure." The original was correct.

  16. Re:Hacking somethign that did not need a hack. by Anonymous Coward · · Score: 0

    Parent is referring to this: 2006 to 2009 counts as years:

    http://scott.weston.id.au/software/pymissile-20060126/
    link is broken, archive.org:
    http://web.archive.org/web/20060820072349/http://scott.weston.id.au/software/pymissile-20060126/

    So yeah, no need to hack this device.

  17. Re:More Granular Implies Poorer Control by vux984 · · Score: 2, Insightful

    If we're going to argue about the meaning of the word...

    When something is granular, it is made up of chunks.

    When something is granular it is made of granules, or 'grains'. Typically something granular is made of numerous grains that form a larger unit.

    When something is more granular, the chunks are larger, it has more of the characteristics of being grainy.

    That doesn't really follow. The characteristic of being granular is that it has granules or grains. "More granular" is actually ambiguous.

    It could mean: more granules or grains -- ie more of the actual characteristic that makes it granular.
    Or it could mean, as you say, larger granules or grains -- ie more pronounced characteristics

    Granular and continuous are antonyms.

    So? More grains doesn't make it 'more opposite', in fact, the fundamental theorem of calculus is that you can approximate continuity with lots of small discontunities... and if you let the number of discontinuites rise to infinity, their size goes zero and it becomes continuous.

    What the OP meant is that he achieved more fine grained control.

    Correct. And fine grained is a better way of putting it because its not ambiguous.

    Not more granular control; more granular control would be worse control than the original resolution.

    More granular control is ambiguous. Although easily understood from the context.

  18. Hello? Hak5 by Anonymous Coward · · Score: 1, Informative

    Hak5 did this a while back. They also did a few videos about it. The code has been around for a while.

    You can even control it yourself from the web, if it's not Slashdotted, over at the Hak House.

  19. Resume macho chest thumping... by Anonymous Coward · · Score: 0

    I hate how [pseudo-]engineers always have to get pissy about some of the stupidest things that most people (rightfully) don't even care about. In this case you have people getting into a genitalia measuring contest via the high/low level language debate. Hey, guess what kids, he used Python. It doesn't make him any less of a programmer.

    Then again, it is substantially easier to post on an Internet forum about how awesome you are because you write everything in C, than to actually do it.

  20. Re:DIADS by Tiger4 · · Score: 2, Funny

    Not such a joke. Look up DIADS, Digital integrated Air Defense (amazingly, not in Wikipedia!). This guy has just hacked the rudiments of Fire Control system. Which is approximately half of a DIADS. The other half being the radar and sensor integration. Which is handled by the many Open projects on sonar and video camera applications. Put them all together, and Our Sandbox Conquering Overlords will have all the tools they need to take them to Playground Domination.

    --
    Behold, this dreamer cometh. Come now, and let us slay him... and we shall see what will become of his dreams.
  21. Re:DIADS by eat+here_get+gas · · Score: 0

    I for one embrace Our Sandbox Conquering Overlords...

    --
    the significance of a signature is insignificant
  22. Re:Hacking somethign that did not need a hack. by kostmo · · Score: 5, Informative

    It's true. http://code.google.com/p/pyrocket/wiki/RelatedWork I hacked the thing about a year ago and started this google code project. You will be able to apt-get this package in Ubuntu Jaunty.

  23. Reverse engineering a proprietary protocol by Anonymous Coward · · Score: 0

    Wouldn't this be against the EULA?

    1. Re:Reverse engineering a proprietary protocol by Anonymous Coward · · Score: 0

      Even if you need to accept the EULA to be allowed to run the program (you only have the right to run the program if the copyright holder allows you), you don't need the copyright holder's permission to examine code for the purposes of interoperability. So it doesn't matter what the EULA says.

  24. Re:C++ by Hurricane78 · · Score: 1

    Nah. Haskell for high level stuff, Python for scripting, and Assembler instead of C.

    Of course, written to disk with the butterfly-effect technique.

    --
    Any sufficiently advanced intelligence is indistinguishable from stupidity.
  25. Re:More Granular Implies Poorer Control by pz · · Score: 0, Redundant

    More granular control is ambiguous.

    No, it is not. It means that the quanta of control are larger.

    More granular means more grain like (not more grains), which means the grains are more evident. Because they are ... LARGER. You are making exactly the same mistake as the OP: more granular does not mean there are more grains, but it is more grain-like. For a fixed parameter range more granular means the quanta are larger, and higher resolution means they are smaller.

    Granular and continuous are antonyms.

    --

    Put my fist through my alarm clock with its ding-dong death inside my ear. - The Blackjacks.
  26. Squirting deer... by Firethorn · · Score: 2, Insightful

    It also depends on how hungry a deer is and the relative quality of the food. A stuffed deer can afford to be very, very skittish. One that hasn't eaten it's fill in a couple days/weeks is going to start taking chances - including eating the plants off your back porch, especially if they're tasty to the deer.

    That's why we need hunters to actually reduce the deer population. If all everybody does is scare them off, eventually there will be so many deer that the non-scary food sources are exhausted and the deer overcome their fear of the scary things. That or start starving over the winter, which isn't a nice way to go either.

    Yes, I do have venison in my freezer...

    --
    I don't read AC A human right
    1. Re:Squirting deer... by Sir_Lewk · · Score: 4, Funny

      Personally, I don't see why we need any more justification for shooting deer than how damn good they taste. :)

      --
      "linux is just DOS with a UNIX like syntax" -- Galactic Dominator (944134)
    2. Re:Squirting deer... by BoothbyTCD · · Score: 1

      What we need is wolves. Unfortunately we can't have those though.

      --
      snig
  27. Done that by Space+cowboy · · Score: 4, Interesting

    Get a 'Striker' laser-target-enabled missile launcher ($40, I think). Then get a webcam or IP-enabled camera (I got one of these from Ebay for ~$70).

    Use the camera to detect motion and generate a centroid of motion; use the (high-intensity of red) laser-spot to detect where the missile is pointed (again from the camera image), and move the missile to make the centroid and laser-spot coincident.

    It's actually pretty trivial, but it looks pretty cool to have people walk into the office and have two missile-launchers automatically track them.

    I also have the think-geek big-red-button box, which I modified to allow the button to control a USB port. Now I can fire the (auto-targetting :) missiles by hitting the big-red-button :)

    It's actually only slightly harder to get the system to track two independent targets... The next step is to build in target-recognition by accessing the company's person-directory (we all have pictures)... Don't shoot the VP. Only directors and below are valid targets :)

    Simon

    --
    Physicists get Hadrons!
    1. Re:Done that by Anonymous Coward · · Score: 0

      BOFH, is that you?!!!

    2. Re:Done that by Space+cowboy · · Score: 1

      I've lost count of the number of times I've been asked that.... Hmmm....

      For the record: not related to Simon T. Perhaps there's something in the name-thing though [grin] ...

      Simon.

      --
      Physicists get Hadrons!
  28. Re:DIADS by GaryOlson · · Score: 1

    You are just an alarmist. Counting ticks on microcontrollers is a basic part of any modern CNC(computer numerical control) manufacturing system. Are you saying this software is a modified air defense software platform?

    --
    Every mans' island needs an ocean; choose your ocean carefully.
  29. *Warning!* by Anachragnome · · Score: 1

    timestamp:Feb. 14 2009 14:47:32
    sender:DOD
    return: false

    THIS THREAD HAS BEEN LOCKED BY THE UNITED STATES DEPARTMENT OF DEFENSE.stop
    UNITED STATES LAW DOES NOT REQUIRE DISCLOSURE FOR THIS ACTION, AS SAID DISCLOSURE MAY BE A THREAT TO NATIONAL SECURITY.stop
    REFER ALL ENQUIRIES REGARDING THIS ACTION TO:stop
    http://www.defenselinks.mil/faq/comment.html stop

    end

  30. Re:More Granular Implies Poorer Control by vux984 · · Score: 1

    No, it is not. It means that the quanta of control are larger.

    That's one meaning. Its not the only one.

    More granular means more grain like (not more grains)

    No. "granular" doesn't mean "grain like". So "more granular" doesn't mean "more 'grain like'"

    Granular means "made up of grains"; so "more granular" means "more 'made up of grains'" and that's ambiguous. The more could refer to the number of grains, or it could refer to to more pronounced grains.

    Same goes for "spikey". If I tell my stylist I want my hair to be "more spikey" that's ambiguous -- do I want more spikes (more in number), more pointy spikes (more spike pointiness)? or bigger spikes (more spike size)? Any interpretation is reasonable.

    More granular means more grain like (not more grains), which means the grains are more evident. Because they are ... LARGER.

    Still ambiguous. If I wanted wood with 'more grain', that means more stripes, not fewer larger ones. Or it might mean that I want the same number of stripes but with greater contrast between them. In any case I can't recall ever hearing someone say they want 'more grain' in connection with 'LARGER' stripes.

    For a fixed parameter range more granular means the quanta are larger,

    No. Its ambiguous. I don't know if you want more grains, or larger grains, or in fact whether you want the same number of grains the same size but with more definition between them.

    and higher resolution means they are smaller.

    That's correct. "Higher resolution" is unambiguous. "more granular" isn't.

  31. Re:Hacking somethign that did not need a hack. by Anonymous Coward · · Score: 0

    http://www.earth.li/~noodles/blog/2006/01/beware-my-study.html

  32. Re:This is your compiler speaking... by leuk_he · · Score: 0, Redundant

    your password is joshua.

  33. How about: by caincarter · · Score: 1

    If you really wanted to be slick, you'd use the webcam to capture where the projectile landed. Then create an algorithm to adjust the targeting system based on previous attacks.

  34. Re:C++ by 2.7182 · · Score: 1

    Oh yeah how do you like Haskell? I know some ML and OCaml, and I've been looking for a functional language to switch to from C/C++. I can't bring myself to switch to a programming language named after a cigarette brand. How is the Haskell support? Is there a decent compiler?

  35. Alternatively by phoebe · · Score: 4, Informative

    You can just download the developers guide from the manufacturer: http://www.dreamcheeky.com/dream/forum/viewtopic.php?f=13&t=102

    1. Re:Alternatively by Anonymous Coward · · Score: 0

      TippingPoint Engineering: Doing things the hard way, and proud of it!

      Sheesh. When are the lay offs?

    2. Re:Alternatively by TheRaven64 · · Score: 1

      The first thing a good developer does when confronted with a new problem is ask 'is there an appropriately-licensed library I can use to solve this?' The answer in this case would be 'yes, pymissile is BSD licensed'. Unfortunately, it's difficult to write an article explaining how great you are for buying some off-the-shelf hardware and used some off-the-shelf software to control it.

      --
      I am TheRaven on Soylent News
  36. Re:Hacking somethign that did not need a hack. by james2vegas · · Score: 1
  37. For continuos integration servers! by ciryon · · Score: 2, Interesting

    I am seriously considering to hook up one of these USB Missile Launchers to our continuos integration server at work. When someone checks in code that doesn't compile or breaks tests the launcher targets the offending developer (using pre-determined login aiming mapping) and fires a couple of rounds at him. That'll certainly increase code quality!

  38. Re:Hacking somethign that did not need a hack. by TheRaven64 · · Score: 1

    Reimplementing a BSD licensed package (pymissile) with a more restrictive license (GPLv3)? The Free Software Foundation must be so proud of you...

    --
    I am TheRaven on Soylent News
  39. Re:DIADS by Anonymous Coward · · Score: 0

    You are just an alarmist. Counting ticks on microcontrollers is a basic part of any modern CNC(computer numerical control) manufacturing system. Are you saying this software is a modified air defense software platform?

    WOOSH!!!

  40. Re:Hacking somethign that did not need a hack. by kostmo · · Score: 1

    They're complimentary packages, actually, in the hardware that they support. Besides, where does the FSF endorse BSD over GPL?

  41. Re:Hacking somethign that did not need a hack. by kostmo · · Score: 1

    Hmm.. maybe I deserve a *whoosh*

  42. I need help by duckInferno · · Score: 1

    Wouldn't it be so awesome if Iran developed an Intercontinental Ballistic Nerf Missile?

    One day the US gets an ICBM alert and they're going oh shit oh shit oh shit! Then it lands on the White House lawn and smashes a garden gnome or something. And then President Amjsnfsjfmed from Iran calls up Obama and tells him to look outside onto the front lawn, giggling, so Obama looks out, sees the nerf missile, replies with "ahhhhh you little terrorists!" with a big smile and maybe pointing a finger fonz-style.

    Then we all live happily ever after.

    --
    Fool me once, shame on you. Fool me twice, watch it -- I'm huge!