Stories
Slash Boxes
Comments

SoylentNews is people

posted by Fnord666 on Tuesday January 31 2017, @06:42AM   Printer-friendly
from the tux-is-that-you? dept.

Hungry penguins have inspired a novel way of making sure computer code in smart cars does not crash. Tools based on the way the birds co-operatively hunt for fish are being developed to test different ways of organising in-car software. The tools look for safe ways to organise code in the same way that penguins seek food sources in the open ocean. Experts said such testing systems would be vital as cars get more connected.

Engineers have often turned to nature for good solutions to tricky problems, said Prof Yiannis Papadopoulos, a computer scientist at the University of Hull who, together with Dr Youcef Gheraibia from Algeria, developed the penguin-inspired testing system. The way ants pass messages among nest-mates has helped telecoms firms keep telephone networks running, and many robots get around using methods of locomotion based on the ways animals move.

Penguins were another candidate, said Prof Papadopoulos, because millions of years of evolution has helped them develop very efficient hunting strategies. This was useful behaviour to copy, he said, because it showed that penguins had solved a tricky optimisation problem - how to ensure as many penguins as possible get enough to eat. [...] "There must be something special about their hunting strategy," he said, adding that an inefficient strategy would mean many birds starved.

Tux was not involved.


Original Submission

 
This discussion has been archived. No new comments can be posted.
Display Options Threshold/Breakthrough Mark All as Read Mark All as Unread
The Fine Print: The following comments are owned by whoever posted them. We are not responsible for them in any way.
  • (Score: 3, Interesting) by butthurt on Tuesday January 31 2017, @12:35PM

    by butthurt (6141) on Tuesday January 31 2017, @12:35PM (#461160) Journal

    Millions of virtual monkeys have almost typed out the entire works of Shakespeare by bashing random keys on simulated typewriters.

    The virtual monkeys, created by an American programmer, have already typed up the whole of the poem A Lover's Complaint and are 99.99 per cent of the way through the Bard's complete works.

    The experiment attempts to prove the theory that an infinite number of monkeys sitting at an infinite number of typewriters would eventually reproduce the works of Shakespeare by chance.

    -- http://www.telegraph.co.uk/technology/news/8789894/Monkeys-at-typewriters-close-to-reproducing-Shakespeare.html [telegraph.co.uk]

    https://en.wikipedia.org/wiki/Infinite_monkey_theorem [wikipedia.org]

    Starting Score:    1  point
    Moderation   +1  
       Interesting=1, Total=1
    Extra 'Interesting' Modifier   0  
    Karma-Bonus Modifier   +1  

    Total Score:   3  
  • (Score: 0) by Anonymous Coward on Tuesday January 31 2017, @01:23PM

    by Anonymous Coward on Tuesday January 31 2017, @01:23PM (#461179)

    The experiment attempts to prove the theory that an infinite number of monkeys sitting at an infinite number of typewriters would eventually reproduce the works of Shakespeare by chance.

    Of course that experiment does nothing of the sort, as those are not real monkeys. Probably the programmer didn't even determine the probability distribution of characters typed by a real monkey on a real typewriter.

    Probably the problem as stated is ill-defined anyway since it doesn't say which species of monkey and which sort of typewriter (mechanical? electric? Which keyboard layout?), or how much training the monkey got (does a monkey even start proper typing when given a typewriter, but not trained to type on it? I'd expect it to just hit the keyboard pressing several characters at once, jam the letters and then quickly lose interest as the typewriter doesn't seem to do something interesting).

    • (Score: 2) by bob_super on Tuesday January 31 2017, @06:15PM

      by bob_super (1357) on Tuesday January 31 2017, @06:15PM (#461340)

      The beauty of infinity is that it doesn't actually matter what the probabilities are, as long as they're not zero.

      • (Score: 2) by maxwell demon on Tuesday January 31 2017, @07:47PM

        by maxwell demon (1608) on Tuesday January 31 2017, @07:47PM (#461394) Journal

        A monkey that quickly loses interest surely has zero probability of typing the works of Shakespeare.

        --
        The Tao of math: The numbers you can count are not the real numbers.
        • (Score: 2) by bob_super on Tuesday January 31 2017, @07:56PM

          by bob_super (1357) on Tuesday January 31 2017, @07:56PM (#461399)

          If you have a monkey with an infinite life, the probability that he will get back to typing is not zero.

          • (Score: 0) by Anonymous Coward on Tuesday January 31 2017, @08:56PM

            by Anonymous Coward on Tuesday January 31 2017, @08:56PM (#461420)

            You can't assume that. I'm still alive, but I have yet to take a botany course or show any signs of interest in botany. Even if I lived forever, I'd probably still not take any botany courses.

            Just because it's infinity doesn't mean you can just assume that a non-zero probability will be large enough for the result to occur.

            • (Score: 2) by bob_super on Tuesday January 31 2017, @09:31PM

              by bob_super (1357) on Tuesday January 31 2017, @09:31PM (#461439)

              In a sense, you can. The math sense.
              If the probability of anything doesn't decrease faster than the inverse of time, then mathematically, it will happen at some point over an infinite duration.

              You might realize, after spending 20000000 years watching porn, playing video games and reading Confucius a few thousand times, that maybe you could dedicate some time to knowing something about those odd plants around you.
              Unless you're shipped to outer space without any plants nor study material and spend eternity avoiding all planets with plants (qualifies as decreasing faster than time).

              • (Score: 2) by maxwell demon on Tuesday January 31 2017, @09:39PM

                by maxwell demon (1608) on Tuesday January 31 2017, @09:39PM (#461442) Journal

                It's infinitely many monkeys, but not monkeys with infinite lifetime. Although infinite life time won't help either if the typewriter rusts away before the monkey gets interested again.

                --
                The Tao of math: The numbers you can count are not the real numbers.
                • (Score: 2) by bob_super on Tuesday January 31 2017, @10:07PM

                  by bob_super (1357) on Tuesday January 31 2017, @10:07PM (#461453)

                  Isn't an infinite number of monkeys, and their equally infinite amount of typewriters, equivalent to a single eternal monkey with an infinitely-working typewriter, for the purpose of assessing the probability of something being typed?

                  It's a good thing that the original posting was so uninformative, considering how far off-topic we've drifted.

                  • (Score: 2) by maxwell demon on Wednesday February 01 2017, @04:26AM

                    by maxwell demon (1608) on Wednesday February 01 2017, @04:26AM (#461552) Journal

                    Isn't an infinite number of monkeys, and their equally infinite amount of typewriters, equivalent to a single eternal monkey with an infinitely-working typewriter, for the purpose of assessing the probability of something being typed?

                    No, it isn't, because the monkeys, and thus their typing-probabilities, are not time-independent. Fore example, what does sound more credible, a single monkey getting bored after 1000 minutes, or 1000 monkeys getting bored after 1 minute?

                    --
                    The Tao of math: The numbers you can count are not the real numbers.
                    • (Score: 2) by bob_super on Wednesday February 01 2017, @05:03PM

                      by bob_super (1357) on Wednesday February 01 2017, @05:03PM (#461692)

                      If you put a monkey in a featureless room for eternity, with only a typewriter... He's gonna type.

                      • (Score: 2) by maxwell demon on Wednesday February 01 2017, @06:37PM

                        by maxwell demon (1608) on Wednesday February 01 2017, @06:37PM (#461726) Journal

                        Are you sure he's not rather going to examine the typewriter, ruining it in the process?

                        --
                        The Tao of math: The numbers you can count are not the real numbers.
                        • (Score: 2) by bob_super on Wednesday February 01 2017, @07:01PM

                          by bob_super (1357) on Wednesday February 01 2017, @07:01PM (#461737)

                          A few posts ago in this giant digression, I did specify an infinitely working typewriter.

                          Because even an infinite amount of monkeys with an equally infinite number of typewriters would not be able to type the whole works of the Bard on a single one, if you don't provide them with paper or ink.

                          /thread at this point. Beaten that eternal monkey to death enough.

      • (Score: 0) by Anonymous Coward on Tuesday January 31 2017, @09:03PM

        by Anonymous Coward on Tuesday January 31 2017, @09:03PM (#461429)

        The beauty of infinity is that it doesn't actually matter what the probabilities are, as long as they're not zero.

        I'm not sure what I think about this. From an abstract mathematical perspective you are (probably) right... but are you really?

        For the sake of argument, let's say there are 2^10 particles in the universe, and the universe is 2^10 picoseconds old. Now imagine probability of randomly typing out Shakespeare is 1 out of 2^2^1000000000000000000. So really... it is effectively impossible in the universe.

        So does it merely matter that it is a non-zero probability, because I somehow feel like you need more than that, even if I don't know what or how.

  • (Score: 1, Informative) by Anonymous Coward on Tuesday January 31 2017, @08:59PM

    by Anonymous Coward on Tuesday January 31 2017, @08:59PM (#461424)

    That project is as useless and as deceptive as the "___ passes the Turing Test" headlines we occasionally hear.

    In my mind, the relevant statement is, "If the nine-letter sequence appears anywhere in one of Shakespeare's writings, it is matched against the relevant passage in a copy of the Bard's complete works, and is checked off the list."

    That's like saying, "aa, at, ag, ac, ta, tt, tg, tc, ga, gt, gg, gc, ca, ct, cg, cc." There, I've sequenced the entire Human genome, as every DNA strand is some combination of those DNA pairs!

    The project could potentially be interesting, but it is certainly nothing like the infinite monkey theorem. If anything, I'd say that it lends credence to exactly how unlikely it is to create the complete works of Shakespear at random, as simply producing the 9-letter combinations is taking this long, and the works are millions (?) of letters long and thus something like 2^1000000 more difficult (back-of-the-envelope math here).