Sunday, October 31, 2010

O2 Wifi Hotspot Insanity

I have been frustrated on each occasion over the last three months that I have visited a public wifi hotspot. Frustrated because while I have been paying O2 for wifi access it hasn't worked ever since I upgraded my iPhone for an Android HTC Desire (see the backstory).

More generally my problems have been, the inability to "merge" two or more calls into a single conference and more significantly an error message each time I attempted to access to a BT Openzone hotspot or a Cloud hotspot.

I have had a complaint with O2 for many weeks and have provided details to numerous people but received little help.

A few weeks ago I did resolve the merge call problem. The solution to this is that O2 only provide this on their iPhone tariff. Changing back to the iPhone tariff, from a same priced smartphone tariff, resolved this immediately. They don't admit this anywhere but this was the only change required. Suffice to say that an iPhone is not required but the standard iPhone "bolt on" tariff includes the merge call feature and other tariffs do not. No-one I ever spoke to at O2 understands this. Hopefully this will save some-one else some grief.

Regarding the wifi access, my fix is to change the the user agent string so that the browser reports itself as an iPhone.

The default user agent reports

"Mozilla/5.0 (Linux; U; Android 2.2; en-gb; HTC Desire Build/FRF91) AppleWebKit/533.1 (KHTML, like Gecko) Version/4.0 Mobile Safari/533.1"

This clearly identifies the phone as an Android HTC Desire. Changing the user agent string to the same as the iPhone gives

"Mozilla/5.0 (iPhone; U; CPU iPhone OS 3_0 like Mac OS X; en-us) AppleWebKit/528.18 (KHTML, like Gecko) Version/4.0 Mobile/7A341 Safari/528.16"

This can be trivially changed under Android Froyo version by typing in "about:debug" in the location bar of the stock browser and then selecting menu -> Settings -> UAString and then selecting iPhone.

This works for both the Cloud and BT Openzone hotspots. This is only required to register the device for the first time. Thereafter the MAC address is recorded and access is automatically granted to future connections. This problem has cost me many hours of phone calls and numerous cups of coffee in various hotspots to resolve. It is good that the solution is so simple but annoying that O2 themselves were never able to resolve it.

Using the iPhone user agent string is likely to be only appropriate for customers on the iPhone tariff but I believe that O2 checks for only a small, exact, set of user agent strings during the hotspot registration process. Thus if you get an error across all hotspots then it may be that the user agent reported is not one that O2 is looking for. This is a system that is so brittle and error prone that they should at least have the appropriate logging in place to diagnose these problems but alas they don't.

I hope this helps someone avoid some of the frustration I went through.

update - 4 Nov 2010
O2 has offered a £30 goodwill credit for my trouble.


Saturday, September 11, 2010

On Book Burning and a World Gone Mad

The on-off plan to burn a bunch of copies of the Koran on 9/11 by members of the misnamed "Dove World Outreach Center" led by pastor Terry Jones has sparked almost universal condemnation.

The act is provocative, arrogant and naive and I have little respect for the right wing, religious fanatics behind this. Various responses have been proposed for dealing with this act and the inevitable backlash including; banning it, stopping media coverage of it and protesting against it.

What I don't understand is this medieval belief that burning any book can somehow threaten any religion. Books contains ideas and a narrative that cannot be destroyed by burning a copy. Burning copies of the Koran, the Bible, the Talmud or Darwin's Origin of the Species can only have a impact when people are denied or prevented from studying these texts for themselves. Clearly this is not the case here.

Imagine a very different response to the current crisis, one occurring in a parallel universe. One in which Bibles, the Talmud and other "sacred" texts are all burnt alongside the Koran. The burning ceases to be a sectarian act and becomes as impotent as the burning of the catholic Guy Fawkes on the 5th November each year. The burning of a book is so much less a sanction than the Fatwā issued against Salman Rushdie and others and should thus be preferable.

So while tolerance should be encouraged let's not lose sight of what matters and what should not matter. Material possessions, including books, can be replaced. Religious hatred, a willingness and eagerness to take offence and spoiling for a fight do no favours to society. These small minded people must have a god or many gods with very insecure egos. They must lack faith that the ideas and ideals contained within the pages of these books are strong enough to survive not just modern scrutiny but even the incineration of a minuscule number of books.

We don't view it as a national outrage when a copy of the Oxford dictionary or a French dictionary are burnt. In fact I can't recall a public case of such dictionary burning occurring because such an act is futile. If it were not then Al-Qaeda would be focused on the printing and subsequent burning of copies of the American Heritage Dictionary as the easiest way to bring about the collapse of the Great Satan.

Live and let live, read as much as possible, as widely as possible but don't be offended if someone, somewhere burns a copy of your favourite book.

Now where is my copy of the iPhone developers guide and a box of matches ....


Wednesday, April 21, 2010

Apple I{Pad/Pod/Phone}

So today Apple announced that 8.75 million iPhones were sold in the last quarter since the start of the year. This is around 95 000 each day. The iTunes market place for applications has grown making it the largest platform for smart phone applications and I have a habit of checking, or stroking, my iPhone several times an hours during the day. From Twitter feeds and FB to news, weather, SMS and email it seems difficult to remember an existence untethered from the internet. So what is the problem? Is Apple the new Microsoft?

Well maybe, except that confidence breeds arrogance and contempt and us customers are fickle creatures. On Thursday 25 March I tweeted the following -

"Have fallen out of love with my iPhone, this happened on Tuesday but I've been in denial since. Will keep it next while for sake of children"

followed by

"It is it's lack of multi-tasking, inflexibility and I lust after and android phone. Curses on google and their evil plot to rule the world."

and

"OMG just realised how insensitive it is to breakup via twitter/fb and from the handset in question. Sometimes I can be a real jerk."

Ignore the inappropriate apostrophe and focus on the content. The phone that did everything I wanted had, over the course of 12 months, begun to grate. Just as the missing toothpaste lid begins to sour a relationship the following began to niggle at me:

  1. The Lack of Multi-tasking. This prevented the download of news feeds in the background, the streaming of music while tweeting, the ability to map my bike rides or runs while taking a picture.
  2. The need to have a mac in-order to develop applications for the platform. In this day of multi-platform development, to limit to development tools to a single development platform might make marketing sense for Apple but it is just not cool.
  3. The Google Android OS was released on the HTC Hero, Desire, Legend and Nexus One phones, along with several other models from Motorola, Samsung and others.
  4. The Android OS is open-source, multitasking and exposes much more of the phone functionality to the developer. While Apple is creating a walled garden Google is sowing wild flowers that are starting to bloom.
There is reason to believe that Apple is worried. At the same time as Steve Jobs announced the iPhone OS 4.0 upgrade Apple also made a change to their developer agreement that controls 3rd party development of applications for the iTunes marketplace. This change enforces the constraint that applications must be developed using the tools developed by Apple - the same ones that only run on the mac. This is very unusual in that typically a software company will simply publish "look & feel" constraints and APIs that must be used and satisfied but this is much more controlling and I can't think of a precedent. Almost, but not quite unlike, dictating that your novel must be written with a HB pencil.

So why would they do this? One reason is that it kills a large piece of Adobe's business of producing applications that run across various platforms including the iPhone. There appears to be no love lost between Apple and Adobe and this supposes a school ground squabble between a bully and slightly weird kid that has spiralled out of control.

I believe a more significant reason is that this precludes the porting of applications developed for the Android to the iPhone and iPad. Given that the Android is an open platform it is much more tempting for developers to target this platform. Especially if they can port their applications to the iPhone and its many millions of users.

Will this work? Well according to Eric Schmidt, Google partners are shipping 60 000 phones a day and with new Android phones being released each month this is likely to increase. The hardware specifications of the new Android phones exceed to the specifications of the iPhone and with the intense competition there is likely to always be at least one manufacturer bringing out a new model ahead of Apple's one a year release date.

GetCliky gives provides some trend data for mobile operating systems. Although this varies from country to country.

I still have my iPhone, but I am developing for Android and conducting serial adultery with several Android phones before easing into stable, long-term relationship.

Monday, March 01, 2010

42

42 is the "the answer to life the universe and everything", the atomic number of molybdenum, the angle in degrees for which a rainbow appears, the number of minutes taken to fall through the earth. It is found repeated 3 times at place 242,422 in pi.

This is the first day of the next week of my life and each will be spent dwelling on the significance, the wonder and doom associated with the the number 42. Now, despite the sunshine, the quiet house, the fresh day, the week long holiday taken in anticipation of this event I kind of prefer the number 41.

Monday, February 22, 2010

Ten23 the outcome

Three weeks ago Annalise and I downed an entire bottle of homeopathic Belladonna and Arsenic as part of a nationwide stunt to expose homeopathy for the quackery that it is. Today two things happened - coincidence? I think not.
  • Firstly, the House of Commons select committee on science and technology released their report into Homeopathy and it was scathing. They advised on the closing of homeopathy hospitals and against the funding for any more more research into homeopathy.
  • Secondly the Royal Pharmaceutical Society of Great Britain (RPSGB) issued guidance that there is "no scientific or pharmacological basis for homeopathy".
I believe most users of homeopathy users its practioners mean well and many sincerely believe that homeopathy has worked for them but we humans are deluded creatures and see cause and effect when there are none. This is where science and random, controlled trials are used to measure objectively the efficacy of treatments.

There are also those who advocate homeopathy for the treatment of AIDS, malaria, cancer and other serious conditions - these people are at best naive and at worst evil.

Today was a small victory for science against 18th century superstition but it could be made all the sweeter if only the accusations of being in the pay of "Big Pharma" were true - I could do with the money.

The full report can be read here

Friday, January 22, 2010

Homeopathy and the 10:23 Campaign

On January 30th, 2010, at exactly 10:23am, large groups of skeptics will gather in the town centres of around a dozen cities in the UK and consume a full bottle of homeopathic pills, in order to demonstrate the ineffectiveness of homeopathy. Marsh explains why…

Homeopathy in the UK is alarmingly pervasive – setting aside the fact that the industry is worth an estimated £40million per year, the National Health Service actually plows £4million per year of taxpayers’ money into providing sugar pills as a Complementary Alternative Medicine – much of which goes into the upkeep of the four government-run homeopathic hospitals. That figure doesn’t even take into account the £20 million spent on the redevelopment of the Royal London Homeopathic Hospital. According to the British Homeopathy Association, more than 400 GPs regularly refer patients to homeopaths. Homeopathy is everywhere. And then we have the UK’s leading pharmacy, Boots…

Boots are as much a British national institution as the Royal family, the BBC and the sense of quiet superiority over our former colonies. Yet this well-respected and trusted organisation lends its well-earned reputation to quackery in the sale of homeopathic remedies (including it’s own-brand range) alongside real medicine. What’s more, their decision to stock these sugar pills is compounded by the fact that they have no real belief in their effectiveness, as became clear in the laugh-a-minute evidence check session, where Boots’ Professional Stand-up Com… sorry, Professional Standards Director Paul Bennett admitted the company’s policy of selling homeopathic remedies was based not on a belief that they work, but in a belief that they sell, and sell well. And that’s before we even take a look inside the Pandora’s box that is the Boots Learning Store – Alternative Medicine module (sample statement: ‘Foxglove (Digitalis) extract is used in the treatment of heart failure’).

Fortunately, homeopathy hasn’t been without its detractors and skeptical voices here in the UK – with David Colquhoun, Simon Singh & Edzard Ernst, James Randi (of course) and a whole range of other science writers and bloggers confronting homeopathy with sanity. Still, it’s not the science writers who have had the most success in getting information to the public of late – while having real science to hand is essential in helping dispense with the pseudoscience, it’s perhaps been the contributions of comedians and satirists that have had most success in spreading real information to the man on the street. For every Edzard Ernst picking apart the latest meta-analysis, we need a Dara Ó Briain telling the world ‘It’s just fecking water’; for every Quackometer showing where regulation is failing to keep homeopathy in check, we need a Mitchell & Webb to show us how ludicrous homeopathic healthcare actually is; for every Tim Farley answering the question ‘What’s The Harm?‘, we need a Tim Minchin asking the question ‘if water can remember a long lost drop of onion juice, how come it forgets all the poo it’s had in it?’ (the best answer to this, by the way, came from a satirist who claimed it was due to succussion: ‘As you beat the memory into the water, you beat the shit out of it’).

In short, the fight to raise awareness of homeopathy is best fought when everyone can bring what they have to the table, whether they’re ‘experts’ or otherwise. And this, essentially, was the inspiration behind the 10:23 campaign.

At the Merseyside Skeptics Society, we took inspiration from the success of the Australian Skeptics campaigning against ear candles via the publishing of an open letter, stealing the idea outright to pen An Open Letter To Alliance Boots appealing to them to remove homeopathic remedies from their shelves. From there, the 10:23 campaign grew – a website was launched with the aim to have a resource where people can go for basic information on homeopathy in simple, accessible English.

The goals of the 10:23 campaign are equally simple and accessible – to help raise awareness of what homeopathy is (and what it very much isn’t); to give individual writers and bloggers a banner and brand name to use when doing their day-to-day homeopathy-debunking, helping make their work easier to find and promote (do a quick search for #ten23 on Twitter and you’ll see what I mean); and to promote critical thinking to a wider audience.

As the campaign’s progressed, two questions have come up time and time again, and it’s probably a good idea to answer them now: ‘What’s next for the 10:23 campaign?’ and ‘Why is it called the 10:23 campaign anyway?’ I’ll answer the latter first… Yes, it is partly to do with the Avogadro constant. There are those that may think using this as the name for the campaign is something of an exclusive, scientific in-joke that would put off the non-science-savvy – here, I must disagree. Instead I believe it gives an opportunity to talk about the levels of dilution involved in homeopathy, and what effect they have on the ingredients of the sugar pills. What’s more, there’s more to the name than simply Avogadro, which leads me to the second questions…

On January 30th, 2010, at exactly 10:23am, large groups of skeptics will gather in the town centres of around a dozen cities in the UK and consume a full bottle of homeopathic pills, in order to demonstrate the ineffectiveness of homeopathy. Similar events will be taking place in the US, Canada and Australia. While the scientific evidence is there for people to find, we’re hoping this very public demonstration will help give people the motivation to go look for it.

Contact your nearest Skeptics in the Pub group for information about how to get involved. Organisers of local skeptical groups can email contact@1023.org.uk for more information. See you on January 30th!

Wednesday, January 06, 2010

Cornwall trip

There are few things as alluring as high cliffs and the Cornwall coast has some fine specimens. This year, for Christmas, we hired a cottage within comfortable walking distance of sea cliffs. We knew it would be cold but, ensconced within an old cottage, with log fire the weather was entirely enjoyable.


Within the ruins of a castle on the Tintagel Headland. This was captioned "family, ruins, rainbow" but Stephen pointed out that with a quick scan, ignoring the punctuation, it parsed badly.


The weather was conducive to rainbows - where ever we looked one would be arcing across the sky.



Ah - a respectable cliff, if it can't kill you then it is not a cliff ...



On Christmas eve we released as batch of 10 Chinese Laterns from the cliff edge, the conditions were perfect and the floated upwards looking not unlike a distress flare. Fortunately we had alerted the coast guard before hand.


Upwards until they flickered out and returned to earth.







A most enjoyable trip. It has been a rather hectic year, work wise, and thus we travelled less this year than we have for a long time. Resolution for 2010 - "work life balance, work life balance, work life balance ....."

Sunday, January 03, 2010

Alternate Nostril Breathing

During an episode of QI last week Stephen Fry brought up alternate nostril breathing. Supposedly, breathing in through one nostril sends oxygen to one brain hemisphere and through the other to the other brain hemisphere. This is "demonstrable" by checking for improved cognitive function related to each of the two hemispheres.

I just spent five minutes trying to kill off my left hemisphere, through oxygen deprivation, by blocking a nostril - no luck. Don't both nostrils send air to the lungs in equal amount?

The yoga literature seems awash with breathing exercises for alternate nostril breathing. For example http://bit.ly/81L2XC describes right nostril breathing as "to increase the Pranic energy , the physical energy, to revitalize the body. It increases the efficiency of digestive system, also boosts the nervous system." This is a slightly different claim from the idea that alternate nostril breathing can enhance brain function in one the two hemispheres.

Am I missing something or is this totally rubbish? I did find two studies on this subject done by the Yoga institute, neither of which appear to have controlled for the placebo effect.

Any test that compared cognitive function during left and right nostril breathing would have to:
  1. Ensure that subjects weren't influenced by the "expected" better spatial reasoning associated with one hemisphere or the better verbal function of the other 
  2. Ensure that the mental gymnastics required to breathe only though a single nostril was not affecting cognitive ability (ie. holding it closed with a left or right hand or closing one nostril without the use of the hands).
  3. Postulate a possible, plausible causative effect such as oxygen absorption directly into the brain from the back of nose.
Is there any reliable evidence to support, what appears to be an absurd claim, that breathing though a single nostril has any benefit over breathing through both at the same time?