Monday, August 18, 2008

4723.aspx

Tools for debugging http and https traffic

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

4706.aspx

Never, ever, fly with VolareWeb

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

4647.aspx

Community Days Milano 2008: 09-10 July

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

4643.aspx

NEVER underestimate the power of female intuition!

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

4639.aspx

Contexts made GTD work for me

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 3, 2008

4633.aspx

Free essential guides for SQL Server

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

4630.aspx

The Tipping Point & Napoli?

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.