/egilh

Learning by doing

Monday, August 18, 2008

I spend a lot of time troubleshooting web applications. My Swiss army tool of choice for all network related issues is WireShark but it falls short when it comes to analyzing SSL encrypted traffic.

FireFox takes forever to load compared to IE7 but its wide range of add-ons can be a life saver at times for developers. I am a heavy user of:

  • User Agent Switcher which quickly lets me change the user agent of the browser
  • SwitchProxy lets you quickly swap between proxies. Proxy configuration scripts are great if you always use the same proxies but I frequently have to force a specific proxy to test different web application behaviors.
  • LiveHTTPHeaders plugs into FireFox so it is able to see all the http traffic in real time. You can filter the request using regular expressions and see https requests in clear text!

Fiddler is also able debug https but it relies on a "man-in-the-middle" approach which has some limitations.


Wednesday, July 23, 2008

I do not expect a great in flight service by a low cost company like www.VolareWeb.it but I do expect them to fly...

I flew with VolareWeb for my first time this summer when I booked a return flight from Milan to Athens for my summer vacation. They called me on my mobile phone two days before I was supposed to leave to tell me that my outgoing flight was cancelled. I didn't make a lot of fuss when they booked me on a flight the next day as I did not have any reservations in Greece and more than enough to do at work.

After a couple of weeks of some fantastic island hopping it was time to head back. At my last day of vacation, on my way out for dinner, I checked my mail just to prepare for my return back to reality. That "saved my life". I found a mail from VolareWeb that my booking had been updated and told me to call a free number in Italy, that cannot be called from abroad... But all my mails is on Google Apps so it didn't take me long to find the original reservation and a international phone number.

I called VolareWeb just before they closed in the evening. This is an shortened and edited transcript:
Me: I am calling from Athens. I have a flight home to Milan tomorrow morning. My reservation number is xyz.
VolareWeb: Yes. It has been cancelled. You have been booked on a flight in a few days.
Me: Sorry, but I have to be back in Milan tomorrow for several reasons.
   1) I have my parents coming tomorrow afternoon to Milan and I have to be there to pick them up.
   2) My brother in law just left on vacation so someone has to take care of our animals.
VolareWeb: That is not may fault. Your flight has been cancelled
Me: As I explained, I have to be back some time tomorrow. Can you book me on another flight?
VolareWeb: no.
Me: Will you cover the costs if I book another flight
VolareWeb: no
Me: Will you at last cover my extra expenses (rental car for an additional day, hotel for me, hotel for my parents, etc.)
VolareWeb: no
Me: So…. What can I do
VolareWeb: Nothing. The flight has been cancelled

End of story. A 30 min phone call with Volarweb (with outrageous roaming charges) which refused to cover any costs at all. Serious companies cover meals, hotel etc while you wait for the next flight.

The story had a happy ending though. We had already paid cash for the hotel room (to save time the next morning), but we jumped in the rental car in hunt for a travel agency and a flight home. We found our saving angel in Elena at erasinos Travel & Tours. She found a flight the next morning with Olympic Airlines and reserved it for us at no cost. The online booking system was unable to confirm our flight as it was late at night so she adviced us to drive to Athens airport to by the ticket at the Olympic Airlines counter. A couple of hours later we were back at the hotel with two very hungry and tired kids, but thanks to Elena we had tickets to go back home!

I thought the saga was over when I came home, but no. What really convinced me that VolareWeb is incompetent is the message I found on my answering machine. The day before I should have left I got this message at home: Hi. Your return flight from Athens to Milan has been cancelled. We have booked you on another flight.
Eh? I am in Athens waiting for my return flight to Milan, why are you calling me in at home? You have my mobile number, in fact you have called it before, and now you call me at my home number to tell me that my return flight is cancelled???

VolareWeb, it is official; I will never, ever, fly with you again. Leaving people on the ground without providing alternatives, helping out in any way, or covering any costs at all is bad, very bad...


Wednesday, May 21, 2008

The agenda is not finalized yet, but I am sure Community days 2008 will be as interesting as the past events.

I doubt I will attend the free event this year as I do not program in .NET at work. I still do some coding for fun but it is hard to justify two days away from work just for fun :-)

I will try to attend some Microsoft events to stay in touch with friends but you are more likely to see me at Python conferences in the future...


Tuesday, May 20, 2008

I have had a countdown status message in my office mail this week:

A female colleague a few thousand km away noticed and could not resist (keep in mind that I have never met her):

...
SuperWoman:  BTW, what are you celebrating in 2 days ;)
if i may ask

me: Guess
 
SuperWoman: wedding aniversary
 
me: correct !!!!
 
SuperWoman: congratulations ;)
 
me: The 10 years have gone very fast. Time flies when you have kids...
 
SuperWoman: next question...
 
how many ;)
 
sorry, I'm curious!
 
me: Since you are so incredibly good at guessing; lets see if you can guess the number of kids and age

SuperWoman: I'd say 2 kids, aged between 9 and 6??
 
me: I do NOT believe it.
My oldest daughter is 9
the youngest in 6
 

Are all women like this or am I that easy to read?

More importantly; what should I do with the aniversary gift? I am sure my wife knows what it is already...

 


Monday, May 19, 2008

I have played around with GTD for several years. It has worked reasonably well but I recently learned that I have done one thing wrong: I used categories instead of contexts. They sound like the same thing but using context has made a big difference.

In the past I used categories like: "personal" and "work". It works for grouping tasks together but it is a bad idea when you have to choose the next thing to work on as it says nothing about the "context" you require to do them. I could have a personal task like "scan letter" that I actually have to do in the office where I have access to a scanner.

Defining real context makes it very clear what you should work on at any given time. No need to scan through the tasks and discard the ones you cannot work on as you are missing something. These are the contexts I use the most

  • Computer
  • Home
  • Person A/B/C etc: Something to do/discuss the next time I meet the person.
  • Office
  • Waiting: Anything I am waiting for ends up in here. I review it on a weekly basis to make sure I'm not loosing track of something

You can find plenty of good contex suggestions here.

Seeing a long lists of things to do regardles of context is just overwhelming and causes stress, so I have extended poToday to use context as well. Changes in version 3 of poToday

  • Support English date formats
  • Added a "move to no date" feature
  • Added context support (using the categories in Outlook).
  • Support for different screen orientations and sizes

Saturday, May 03, 2008

SQL Server Magazine has a set of free essential guides regarding many SQL Server tasks. They are targeted at people that are new to the topic and they are short and to the point:

  • The Essential Guide to Business Intelligence Reporting: Choosing the Right Tool for the Right Job
  • Virtualization of SQL Server 2008
  • The Essential Guide to Reporting Services Tips & Tricks
  • The Essential Guide to Disaster Recovery and Virtualization
  • The Essential Guide to SQL Server Backup and Recovery
  • The Essential Guide to Jump Starting Your SQL Server Skills
  • The Essential Guide to User Continuity
  • Special Report: Perspectives on SQL Server Sprawl
  • The Essential Guide to Solving Server Sprawl
  • The Essential Guide to Analytic Dashboards
  • The Essential Guide to Antispam Solutions
  • The Essential Guide to Choosing a Clustering Alternative
  • The Essential Guide to Table Partitioning and Data Lifecycle Management
  • The Essential Guide to SQL Server Skills for the Oracle DBA
  • The Essential Guide to SQL Server Management Fundamentals

Registration is required for the guides I had a look at.


Wednesday, April 30, 2008

I haven't finished reading The Tipping Point yet but it has been a fascinating read so far. The part concerning crime on the New York underground is food for thought:

Back in the day, New York hired a new subway director named David Gunn who backed the Broken Windows way. "When you looked at the process of rebuilding the organization and morale, you had to win the battle against graffiti," Gunn said in an interview. "Without winning that battle, all the management reforms and physical changes just weren't going to happen." By preventing graffiti and cleaning subway cars after vandals struck, Gunn believed the city could also lessen subway muggings and undermine fare cheats. Transit Authority police chief William Bratton adopted a similar line of thinking. Rather than nailing felons first, Bratton urged coppers to pound fare cheats and public urinators. Such scoundrels were used to running amok underground. Under Bratton, however, they faced an arrest and jail time for minor crimes - a policy which often resulted in the cops finding guns on the criminals and nailing those with outstanding warrants.

I don't know if it really lowered the crime rates in New York but it certainly feels right. I also explains why people drop trash everywhere in Italy but hesitate before throwing a chewing gum on the road once they have crossed the border to Switzerland.

I wonder if the principle could be applied to Napoli. Instead of trying to beat crime “top down” by going after the mafia, why not start with the day to day stuff that makes people comfortable with breaking the law: many people driving on the same scooter without helmet, driving without seat belt and generally breaking every law there is… 

It just gets worse every day. The news today reported that doctors in Napoli have introduced a sign saying; pay 1 euro at the door. These are doctors that are paid by the public health system so the service is free (at least in the civilised parts of the country). 1 euro doesn't sound like much but the each doctor pull in tens of thousands of euros tax free a year and it hurts everyone, in particular the poor, old and sick.


Tuesday, April 08, 2008

Got a great idea for a web site or web service but not the resources to host it? Why not try Google App Engine:

Google App Engine lets you run your web applications on Google's infrastructure. App Engine applications are easy to build, easy to maintain, and easy to scale as your traffic and data storage needs grow. With App Engine, there are no servers to maintain: You just upload your application, and it's ready to serve your users.

You can serve your app using a free domain name on the appspot.com domain, or use Google Apps to serve it from your own domain. You can share your application with the world, or limit access to members of your organization.

App Engine costs nothing to get started. Sign up for a free account, and you can develop and publish your application for the world to see, at no charge and with no obligation. A free account can use up to 500MB of persistent storage and enough CPU and bandwidth for about 5 million page views a month.

During the preview release of Google App Engine, only free accounts are available. In the near future, you will be able to purchase additional computing resources.

I am not a big fan of Python as a language, but the service is too cool not to give it a try.

Thanks to Omar for the link.


Thursday, February 28, 2008

Wow...
10.000km of underseas cable that potentially can send 7.68 Terabits per second across the Pacific....

This new 10,000 kilometer (km) Trans-Pacific cable will provide connectivity between Chikura, located off the coast near Tokyo, to Los Angeles and other West Coast network points of presence.  At Chikura, Unity will be seamlessly connected to other cable systems, further enhancing connectivity into Asia.

The Unity consortium selected NEC Corporation and Tyco Telecommunications to construct and install the system during a signing ceremony held in Tokyo on February 23, 2008.  Construction will begin immediately, with initial capacity targeted to be available in the first quarter of 2010.

The new five fiber pair cable system can be expanded up to eight fiber pairs, with each fiber pair capable of carrying up to 960 Gigabits per second (Gbps).  By having a high fiber count, Unity is able to offer more capacity at lower unit costs.

I feel old. It wasn't that long ago that a few Kbit/s was fast


I was trying to install Ubuntu 7.10 on Virtual PC 2007 but I got this nasty screen when it went into graphics mode during the setup:

It turns out that Ubuntu sets the color depth to 24 bit which Virtual PC doesn't like. This detailed step by step guide shows how to fix the video and mouse issues so Ubuntu works on Virtual PC 2007.

The short version to fix the graphics problems:

  • Hit Ctrl+Alt+F1 when the screen goes in tilt to drop to a console
  • Change DefaultDepth 24 to 16 in /etc/X11/xorg.conf
  • Hit Ctrl+Alt+F7 to go back in graphics mode
  • Hit Ctrl+Alt+F7 to reload XWindows