Killer Bees

July 29th, 2008

From Aunty

Just bees forage some distance away from their hives, so murderers avoid killing near their homes

This “geographic profiling” works so well in bees, the scientists say future experiments on the animals could now be fed back to improve crime-solving.

The scientist is working with colleagues Steve Le Comber and Kim Rossmo, a former detective in the US, to tag bees with tiny coloured numbers and follow them from their nests to flower patches.

The researchers’ analysis describes how bees create a “buffer zone” around their hive where they will not forage, to reduce the risk of predators and parasites locating the nest. It turns out that this pattern of behaviour is similar to the geographic profile of criminals stalking their victims.

“Most murders happen close to the killer’s home, but not in the area directly surrounding a criminal’s house, where crimes are less likely to be committed because of the fear of getting caught by someone they know,”

Understanding the geographic profiles of animals is interesting to biologists as it helps them predict the locations of important feeding grounds, and knowing these areas will inform more effective conservation measures.

This approach works well for very different creatures, from bees and bats to great white sharks.

But what is more unusual is that models used to describe bee foraging can be applied back to human behaviour

Instead of using information about the distribution of flowers visited by bees to explain the insects’ behaviour, criminologists’ models will use details about crime scenes, robbery locations, abandoned cars, even dead bodies, to hone the search for a suspect.

Bees have much simpler brains and so understanding how bees are recruited to flowers is much easier than understanding the complex thoughts of a serial murderer,”

More broadly, the London-based team hopes its work will lead to a better understanding of how one of the most familiar animals in nature goes about its daily business.

Bees’ pollination ’services’ account for about one in three mouthfuls of food that we eat as humans. They pollinate a huge diversity of our fruit and vegetable crops.

“If we don’t know how bees forage then we don’t really understand pollination, and that is quite detrimental to how we feed ourselves; which is becoming an increasing problem with bigger populations.”

I appreciate the importance of bees, but I find it a bit of a stretch to think we can derive much about the habits of serial killers from their daily routine, but y’know, whatever brings in the research grant money.

# all we are saying, is give bees a chance #

Dogging

July 28th, 2008

From Wikipedia

In 1998, the archaeologist B.J. Coles identified as “Doggerland” the now-drowned habitable and huntable lands in the coastal plain that was formed in the North Sea when sea level dropped. Doggerland has not caught the popular imagination, but the terrain was available for settlement. Its gentle swells remain as the Dogger Banks. Paleolithic reindeer hunters roamed the land; some traces of their encampments have been identified, but the timing of the submergence has not been fixed. The region was watered by the glacial River Rhine, into which flowed the River Thames as a tributary; the combined river flowed into the North Sea, permitting access to Britain by large mammals and humans.

… and from the brilliant StrangeMaps

“If the extensive schemes for the drainage of North Sea are carried out according to the plan illustrated above, which was conceived by a group of eminent English scientists, 100,000 square miles will be added to the overcrowded continents of Europe. The reclaimed land will be walled in with enormous dykes, similar to the Netherland dykes, to protect it from the sea, and the various rivers flowing into the North Sea will have their courses diverted to different outlets by means of canals.”

… and, there is even a map …



{My,Postgre}SQL smackdown

July 27th, 2008

http://www.youtube.com/watch?v=AAGgUCDiRlQ

Monty Widenius of MySQL and Josh Berkus of PostgreSQL scrap it out sumo style at the Sun party. Chris has also got footage of this fight, but it does not have me in it, yup thats right, if you look at the beginning of this video, myself, Brad, Josh and probably Chris ( I haven’t spotted him yet, ) are there in the background. I don’t have Chris’ footage, but I’ll link it when I do.

I think it’s fair to say Monty won the bout, I am half tempted to say it was rigged, it was a Sun party after all, and they were handing out Sun / MySQL stuffed toy dolphins that I picked up a couple of, and MySQL boxer shorts which I didn’t … for ( hopefully ) obvious reasons.

For the record, I stayed for the first two falls and then I went back to the hotel, so that bit at the beginning is all I would have been there for. The Sun party wasn’t that much fun, or maybe it just felt as if everyone was trying to hard to have fun, I don’t know.

Onions will bring a tear to your eye

July 27th, 2008

The annual Perl State of the Onion Address was delivered as always by Larry Wall, this one ( 2008 ) the 12th state of the onion Larry has done.

This is actually my second attempt to write about this, the first attempt was done as it was being given, but due to WordPress being a web application and networks being so reliable, while trying to save an update I lost all my text, wether this is a WordPress bug, or a PHP bug ( forget the language, the guts of the system is horrible, ) or it’s just the pain of people believing web applications work like applications, but whatever happened I deleted the post out of disgust. I am very tempted to write my own blog software again, but I have just increased my code workload considerably so we shall see.

Tim Bunce was saying in the Perl Myths talk that civilisations come and go, and languages are very like that, we still have FORTRAN in wide use in the scientific community, but on the whole languages come and go. Tim says that Larry is trying to draw out the lifespan of Perl 6, and from what I can see the way Larry knows best, by creating a language that can twist itself into weird positions that are more perverse than the karma sutra ( a great piece of bed time reading BTW. )

At the start of the address, Mr.Wall says when people ask him what he would change he says he has two answers …

Nothing

… and then he says …

Everything

Maybe the jeopardy question to the first answer is “what do you regret ?”

The second answer is most revealing, previous onion addresses I have read the transcripts from, I get the impression that Larry has come to dislike many of the things about Perl I dislike. What Perl 6 has that it doesn’t have in previous incarnations is maturity, Perl normally reads like the mad ramblings of a paranoid psychopath, Perl 6 has a spec and by all accounts, in it’s raw state, is a lot cleaner.

Perl 6 code looks a lot like a Yacc / Flex hybrid with this cleaner Perl syntax embedded in. Larry has obviously spent too many years using them all and thinking “why not ?”, however I don’t think he has managed to unify all these different aspects together as he had expected to in previous addresses, but maybe he has come to understand how these tools were designed in a way he hadn’t before. He has taken it in a new direction adding in sub-languages and polymorphism.

“Son, you use that regex prettier than a thirty dollar whore.”

I don’t know where that came from, but now I’ve typed it I don’t want to delete it.

Not just yet anyway, maybe it will take on some profound meaning later on.

The raw state of Perl 6 is … Perl 6, and apparently it is written in Perl 6, but these new features give you enough control to make the syntax you want easily and efficiently. This will mean, lots of local little languages, domain specific if you like, with Perl 6 being the stuff from which it’s made. In this scenario I think people will quite possibly stop discussing the pros and cons of Perl and instead go on about the pros and cons of what they are doing with Perl.

Like making the jump from newtonian physics to quantum physics, I think Perl hackers are going to find the leap to Perl 6 the hardest. Tim Bunce quoted Larry Wall as saying that Perl 6 saved Perl 5, because everyone who had opinions and objections to Perl 5 stopped complaining to the Perl 5 developers and went and complained to the Perl 6 developers instead, leaving the Perl 5 developers to get on with working on Perl 5. It was at this point I started to wonder if Perl 6 is not just a clever ruse, and that Perl 6 may never see the light of day, just to keep naysayers away from Perl 5.

Which brings us to the big question, “I want my MTV !” which does not seem to be the classic form of a question, but it makes a refreshing change from the chortles that occur when we ask where the fuck is Perl 6 and where can I get my greasy mitts on a release date ?

Christmas, or so the murmur from the corner was, which was paraphrased through the microphone onstage. Santa may be committing the branch, with the Easter Bunny riding shotgun and providing the 6.1 patch. I don’t know, but as I don’t think anyone actually heard what Larry said, he can deny everything, and we all know the rules …

Rule 2. Larry is allowed to change his mind about any matter at a later date, regardless of whether he previously invoked Rule 1.

.. and in this instance I believe we have a special case of rule one, what is rule one ?

Rule 1. Larry is always by definition right about how Perl should behave. This means he has final veto power on the core functionality.

… or in this case, Larry is always correct about the release date of Perl 6, he has final veto power and commit bits, and to be quite honest we have been waiting for Perl 6 almost as long as I have been exposed to Perl, so we can wait until our children have graduated from collage with Ruby and Python skills before we can truly claim he was yanking out chain with vapourware.

I think thats about it, if I remember anything else I’ll add it here, I still have … four Perl talks to type up from my notes, so I’m not done yet.

I am looking forward to Perl 6, it is a markedly different beast, but I don’t think I’ll be riding the Perl 5 camel with pleasure any time soon.

0xDEADB(R)EAD

July 26th, 2008

There are few things I enjoy more than returning back to Hilo after being away, even for a short time. It’s easy to lose ones appreciation of it, when it is all you see all the time.

The word on the streets is that O’Keefe and Sons Bakery is shutting up shop on Thursday, the cost of shipping flour from the mainland has become too expensive to make ends meet. I have no real sympathy for Jim O’Keefe, but the bakery is the one thing he seemed to have done right and it will be a real shame to see it go, however it does open up the market for some entrepreneur to overcome the logistical problems. The combined food and oil crises will hopefully provide plenty of motivation and opportunity.

Not sure what we are to do for bread now, make our own I guess.

SRSLY ?

July 26th, 2008

OH HAI !

While I wait for my plane, and as I haven’t got round to fleshing out my drafts from OSCON08 yet, I thought I’d share with you a little gem I picked up.

LOLCODE !!1!

First the obligatory, “Hello, World !” example


HAI
CAN HAS STDIO?
VISIBLE "HAI WORLD!"
KTHXBYE

OK, so far so good (?!) now how about loops and conditionals …


HAI
CAN HAS STDIO?
I HAS A VAR
IM IN YR LOOP
    UP VAR!!1
    VISIBLE VAR
    IZ VAR BIGGER THAN 10? KTHXBYE
IM OUTTA YR LOOP
KTHXBYE

OK, OK, how ’bout some IO ?


HAI
CAN HAS STDIO?
PLZ OPEN FILE "LOLCATS.TXT"?
    AWSUM THX
        VISIBLE FILE
    O NOES
        INVISIBLE "ERROR!"
KTHXBYE

SRSLY ?

Yup, and like all serious languages it has even been implemented for Parrot. Give it ten, maybe fifteen years and all code will look this way.

RLY ?

Yup

KTHXBYE !

funny pictures
moar funny pictures

Talula Does The Hula From Hawaii

July 25th, 2008

One for Brad, from Yahoo via Cherdan ( from Hawai’i ) …

A family court judge in New Zealand has had enough with parents giving their children bizarre names here, and did something about it.

Judge Rob Murfitt made the 9-year-old girl a ward of the court so that her name could be changed, he said in a ruling made public Thursday. The girl was involved in a custody battle, he said.

The new name was not made public to protect the girl’s privacy.

The court is profoundly concerned about the very poor judgment which this child’s parents have shown in choosing this name,” he wrote. “It makes a fool of the child and sets her up with a social disability and handicap, unnecessarily.”

The girl had been so embarrassed at the name that she had never told her closest friends what it was. She told people to call her “K” instead

In his ruling, Murfitt cited a list of the unfortunate names.

Registration officials blocked some names, including Fish and Chips, Yeah Detroit, Keenan Got Lucy and Sex Fruit, he said. But others were allowed, including Number 16 Bus Shelter “and tragically, Violence,” he said.

New Zealand law does not allow names that would cause offense to a reasonable person, among other conditions

officials usually talked to parents who proposed unusual names to convince them about the potential for embarrassment.

UPDATE : Also on the Beeb.

Names which people have named their babies in New Zealand …

Violence; Number 16 Bus Shelter; Midnight Chardonnay; Benson and Hedges (twins)

… and names they weren’t ….

Yeah Detroit; Stallion; Twisty Poi; Keenan Got Lucy; Sex Fruit; Fat Boy; Cinderella Beauty Blossom; Fish and Chips (twins)

OSCON 2008 closing keynotes

July 25th, 2008

As no one else amongst my compatriots will be here to blog this I might as well.

First, there was nudity, lots of nudity, I have to say unfortunatly nothing you wanted to see, some things you cannot unsee if you know what I mean.

Following that diamond sponsors were placed in stocks and pelted with rotten fruit and vegetables left over from the week. It was quite horrible, and yet it was hard to turn away.

Oh the humanity.

Then there was the Open Voices talk featuring Jim Zemlin of The Linux Foundation, Keith Bergelt of Open Invention Network, Karen Sandler of the Software Freedom Law Center and Phil Robb from Hewlett Packard and FOSS bazaar. Basically there are a number of legal organisations here at OSCON, and no one really knows what they do, so this is a chance to tell us all about themselves. The Software Freedom Law Center for example provide advice to non profits about open source licensing. FOSS bazaar is “a community dedicated to improving the governance and adoption of free and open source software within enterprises, institutions, and government,” they dismiss FUD about open source and they leverage HP’s resources for open source software, which are now available as open source software, such as being able to scan code for licenses.

They attempted to start discussion with SFLC of the BusyBox case, that they cannot talk about for legal reasons, but they said what you don’t see is the many cases that don’t make it to court which is the majority of their work.

Companies are used to standard proprietary licensing, where a violation means a trip to court, and are not used to being approached by people saying “how can we help make you become compliant ?”

OIN is concerned about protecting, primarily linux, from intellectual property problems, especially patent infringements, but also companies trying to establish patents that cause problems for linux. I think.

Next up we have Paul Fenwick of Perl Training Australia, to discuss an Illustrated History of Failure, which I believe has already been given as a talk I’m sure.

Paul is a very good and humerous speaker, and his talk has been covered elsewhere.

So there was a quote about causing a failure so catastrophic you invalidate your worth as a human. After a quick calculation we come up with a figure for the average australian, which is $3.17 million USD, we are now to use this metric to gauge the cost of a failure.

Most failures seem to be based on assumption, denial, different units of measurement or poor conversion, el niño ;O) and self diagnosis and correction.

The solutions seem to be based on these cases, test your code, test your spec, test your code before you deploy it, think hard about race conditions, test for race conditions, and as you won’t find them by testing, think really hard about race conditions, and then deploy it in new zealand first.

Oh BTW Alasdair won a prize for his picture from OSCON last year, you’ve won some kind of fancy HP photo printer thing. Nicely.

OSCON 2008 Friday morning keynotes

July 25th, 2008

Benjamin Mako Hill of the MIT Center for Future Civic Media and FSF talks about Advocating Software Freedom by Revealing Errors. He is saying that good technology is invisible to the user and that you cannot advocate free or open technology to people who do not know what the technology is. Technology is invisible until it goes wrong. When the average person is shocked that an ATM runs windows is when they get a blue screen and they realise that they run Windows a home and no it is not reliable and that they are trusting their money to it. He says that Windows is not the problem, but errors are ( insert cheap joke here. ) He is now showing us a online site that regexs news from the AP, the regex replaces words considered inappropriate such as ‘gay’ with more appropriate words such as ‘homosexual’, which is fine until you find an article about an athlete whose last name is ‘Gay’. Queue very amusing headlines. As an aside, I used to work for a company that tried to produce a text filter to remove potentially offensive words from a chat room for children, which is fine until you try and sell this software to clients in Scunthorpe. Noone notices until it goes wrong. Technology reflects the views of it’s creators, it should reflect the views of it’s users.

Dawn Nafus of Intel. She is an anthropologist, which is interesting.

She has three questions ….

Developed cultures are an audit society.

1) The world is awash with large datasets, how do we give life to them ?

Avoid the add-GPS-and-stir trap

Location is not Context, but just more auditing. It has to become human orientated or it becomes creepy.

2) Global crisis in food and water is hitting everyone to a greater or lesser degree.

1 in 3 do not have clean water, 50% world income comes from agriculture, farmers in the US using mules over tractors due to fuel costs.

She talks about talking to tree loggers about hunter gatherer societies which rely on trees for food. The people do not mind the loggers, trees are for everyone. So they geotag trees that are important for food or are considered sacred.

3) Strengthen global growth in technology producers, not just consumers.

Do we understand where growth comes from ?

She is talking about countries such as China, India and Brazil, which are the producers, to other countries such as the US, UK, France, Australia etc. which are the consumers.

Sam Ramji from M$ is discussing open source at M$. He sees open source as the code reuse promised by OO technologies such as C++. He lists the open source companies that M$ are now working with rather than against, Samba being the most interesting. Iron Ruby and Iron Python which are .NET implementations of their namesakes. They are still supporting Java …. really ? … ok. He wants us to be reassured that M$ are serious about open source and not trying to undermine it. He is wearing his firefox tshirt. He is talking about Poi, which should be interesting if it works. He wants to assure us that M$ are contributing back to open source projects. They have just announced that today, M$ has been accepted as a platinum sponsor of the Apache Software Foundation. The quote from the ASF president is that m$ “‘gets it’ with reagrds to the ASF way.”

Tim Bray of Sun, talking about dynamic languages.

What languages are we programming in ?

langpop and tiobe apparently gives goods stats, followed by a show of hands from the audience as to wether you currently are using a language and wether you would in an ideal world.

Does language design matter ?

PHP is poor but popular, Java the language imposed a “nuclear winter”, but the JVM remains important. C is flawless as a high level assembler and you cannot ignore it. Then there are the new dynamic languages. He likes Erlang for stability, OCaml for speed, he likes Scala, as does James Gosling, and the Fan language.

Static or dynamic typing, an argument many feels have been settled, but it really hasn’t, and I have to say this is an argument I have resolved for myself this week.

For a programmer, it’s a good time to be alive.

Jeremy Ruston founder of Osmosoft and creator of TiddlyWiki which was acquired by BT is using a analogy of an airport to open source. Single sign on, passport ID is used to acquire boarding passes which become ID. Interoperability between airlines. Simplicity of design, common design and shared housekeeping.

I hate airports, the design and information flow is terrible, but they sort of work and they do what people need, which is the only reason they continue to exist. Hmmm .. maybe it is a good analogy.

Q&A session.

It took 12 years of Samba prior to M$ helping out, why trust M$ ?

Ask Samba, who they have an open dialogue with, M$ now test Samba using the SMB tools they use, and so on.

M$ are using their money to force stuff through open standards et al rather than collaborating. It’s like screwing the porcupine, one prick against thousands, what’s changing ?

I was too busy laughing to hear the answer.

Will M$ not enforce patents against users of open source software ?

They claim they haven’t, but did not mention funding the likes of SCO.

Things are heating up, Sam Ramji has definatly the hardest job in the industry.

Zealot stands up and claims that while people are “doing the smart thing” switching from static to dynamic languages, they are “doing the dumb thing” going from “strong” licensing, such as the GPL, to weak licenses. As I said it’s an argument that has already been won for me this week, and like Tim Bray, I don’t lose sleep.

UPDATE : Networkworld covers how Sam Ramji’s fared at OSCON. I think the man is probably paid danger money to go out there, and I believe he is fairly sincere in what he says, I just think he is a pawn in a big game.

Ramji, dressed in a Firefox T-shirt like it was a virtual bullet proof vest, is use to the machine gun fire and didn’t shy away.

But it wasn’t all altruism, Ramji says the code makes it easier for PHP developers who routinely develop on Windows to actually deploy their applications on the platform.

“Those kinds of innovation are what lead companies like IBM to contribute to open source,” he says. “You have to find an operational business framework – legal, financial, development – that lets you move forward methodically. You can’t be a corporate-level contributor and have everything be ad hoc.”

“We feel that if we fight Sam we weaken him,” said Russell Nelson, the licensing approval chairman at the Open Source Initiative. “But it is going to take Microsoft time to figure out what they can execute. The biggest problem is that open source people feel under attack, under siege.”

Ramji says he battles on two fronts, those within Microsoft that see open source as a threat and the open source side which sees Microsoft as a villain.

I have to say that I am lucky enough now that M$ are completely insignificant in my life these days, I’m not going to say it will always be this way, but for now, for me anyway, M$ is just a non-issue.

The great IPv6 experiment … or how pr0n will fix the Internet

July 24th, 2008

A *ahem* private citizen ( who works for RIPE, which I mention as they have a vested interest in IPv6 adoption before IPv4 addresses run out, ) pointed us to to http://ipv6experiment.com/

We’re taking over 100 gigabytes of the most popular “adult entertainment” videos from one of the largest subscription websites on the internet, and giving away access to anyone who can connect to it via IPv6. No advertising, no subscriptions, no registration. If you access the site via IPv4, you get a primer on IPv6, instructions on how to set up IPv6 through your ISP, a list of ISPs that support IPv6 natively, and a discussion forum to share tips and troubleshooting. If you access the site via IPv6 you get instant access to “the goods”.

You can hear the excuses now, send your best to the usual address.

Shaved Pussy up close

Dedicated to the memory of Jun-ichiro “itojun” Hagino, IPv6 Samurai.