…
Category Archives: Other
Twisted Web IMPS Echo Client
January 13, 2009 – 2:36 pm
Having a twisted environment, I have been able to write a simple web resource handler. I like twisted, although the documentation is pretty weak, so you have to go down to read the code rather frequently if you want to know how to do things.
My first task was to handle an XML post for IMPS CSP. I thought I would skip the wbxml version to start with.
So first thing was to setup the test client. Just for now, I used curl to post the data:
curl http://localhost:8080/ -d @login-success.in.txt
Where login-success.in.txt is the first message the phone sends in:
<?xml version="1.0"?>
<!DOCTYPE WV-CSP-Message PUBLIC "-//OMA//DTD WV-CSP 1.2//EN" "http://www.openmobilealliance.org/DTD/WV-CSP.DTD">
<WV-CSP-Message xmlns="http://www.wireless-village.org/CSP1.1">
<Session>
<SessionDescriptor>
<SessionType>Outband</SessionType>
</SessionDescriptor>
<Transaction>
<TransactionDescriptor>
<TransactionMode>Request</TransactionMode>
<TransactionID>nok1</TransactionID>
</TransactionDescriptor>
<TransactionContent xmlns="http://www.wireless-village.org/TRC1.1">
<Login-Request>
<UserID>hermes.onesoup</UserID>
<ClientID>
<URL>WV:IMPEC01$00001@NOK.S60</URL>
</ClientID>
<Password>xxxxxxx</Password>
<TimeToLive>86400</TimeToLive>
<SessionCookie>wv:nokia.1789505498</SessionCookie>
</Login-Request>
</TransactionContent>
</Transaction>
</Session>
</WV-CSP-Message>
The payload is contained within the POST data, but there are not arguments on it (no a=x).…
Why Video-On-Demand Streaming in Airlines Sucks
August 19, 2008 – 1:59 am
It’s rare to take a flight from British Airways or Virgin Atlantic where the Video-On-Demand system just works. It might be a problem only with UK airlines, but I presume this is a general issue across aviation.
Sometimes you are part of the folks in the plane for whom the system does not work. The crew will normally start rebooting your seat, then the section, and then the whole plane. I guess they do so in hopes that the operating system running the streaming adheres to the same random rules as the one running on their desktop.…
Andrea Ayuso Morillo, Au Pair Vanished in Thin Air
February 21, 2008 – 11:10 pm
We got a new au pair in January from Spain, Andrea Ayuso Morillo, for our daughter. Our previous au pair had been Finnish, and Anaïs did learn pretty good language skills from her. We now wanted a Spanish girl to take care of our daughter Anaïs, to ensure her Spanish would improve. We found Andrea on a specialized site, au-pair world, and after a few calls and email exchanges she seemed like a really nice girl.
She came to the UK, and she seemed reliable and hard working.…
Being Phileas Fogg, Day 5
September 8, 2007 – 11:37 pm
The flight to Singapore left close to midnight, and I had to go through only 6 security checks, one person checking after another that the previous one had done their job. It’s always surprising to me to see how in India things are not necessarily always done in the most efficient ways. But then again, it is in fact and optimal utility point, since given the low cost of labour there is no incentive for being efficient in manual processes.
The flights with Singapore Airlines were fine, although the plane between Bangalore and Singapore was much older and rather run down than the one between Singapore and Seoul.…
Being Phileas Fogg, Day 4
September 8, 2007 – 11:37 pm
While talking this morning to the cab driver taking me to our EGL office in Bangalore, when for some unknown reason, the driver told me that his boss was paying him 3,400 rupees per month, and that after 22 years of service. That actually got me thinking..
The taxi company appointed by the hotel is paying a monthly contract fee of 60,000 rupees to the hotel. There are 30 drivers on contract. Each driver makes 3 to 4 trips a day, each bringing in 400 to 800 in sales.…
Being Phileas Fogg, Day 3
September 8, 2007 – 11:35 pm
I was reading today during breakfast the Economic Times of India when I came across a really interesting interview with the CEO of Airtel India, Mr. Sunil Bharti Mittal. He was making the point that given the development cycle in which India is in mobile is as important as broadband. According to the CEO of Airtel, consumers expect in India expect a seamless experience from broadband to mobile, and from mobile to TV.
When we funded Meridea back in 2001, we commissioned a research survey among CEO/CIOs to understand their likelihood of mobile booming as the channel of choice for financial services.…
Being Phileas Fogg, Day 2
September 8, 2007 – 7:36 pm
After a peaceful flight, and a short sleep, we landed at 4.30AM in Bangalore. Getting through immigration in Indian airports is always a unique experience, but this I time I really flew throw passport control and customs, especially since I only had carry on luggage. Note to self: never check-in luggage.
The problem was outside. My driver from Le Méridean was not there. There was another driver from the hotel waiting, but for another guest. I had to wait. And after more than 10 hours on a plane, with little sleep, I was wondering why I had to wait for my driver.…
Being Phileas Fogg, Day 1
September 2, 2007 – 12:15 pm
Yes, you are right, not Malkovich, but Phileas Fogg. At exactly 10.30am sharp today, I popped into a taxi that took me to Heathrow Terminal 4. I am currently writing from the BA Business Lounge waiting for my plane and ahead of my tour “Around the World in 15 days”. And yes, I am beating Mr. Fogg by an impressive 65 days (although a good 137 years later to tell the truth)!
I am flying east, same direction as Phileas Fogg, with stops in Bangalore, Singapore, Seoul, Sunyvale, Toronto and back to London Heathrow.…
Day Off, Installing a Satellite Dish
August 27, 2007 – 8:08 am
When you put all three together, you’ll find out why. 1) Today is a bank holiday in the UK. 2) We don’t have and we can’t have aerial TV coverage, we can’t have cable TV, and we can’t have Sky because I am not willing to pay anything beyond what we already pay in tax for TV; 3) They are playing the 2007 World Champs in Athletics that we really want to watch. So, I have been assigned a little project: get us the games on TV.…