Thursday, 10 March 2011
Cookie Trouble

I read the following news article with interest about the European Unions new laws that basically state you have to ask the users consent to place a cookie on their machine.  Reading through the new legislation I found the paragraph below, which appears to be the only paragraph that refers to cookies.

"Third parties may wish to store information on the equip­ment  of a user, or gain  access to information  already stored, for a number of purposes, ranging from the legiti­mate (such as certain types of cookies) to those involving unwarranted intrusion into the private sphere (such as spy­ware or  viruses). It is therefore of paramount importance that users be provided with clear and comprehensive infor­mation when engaging in any  activity which could result in such storage or gaining of access. The methods of pro­viding information and offering the right to refuse should be as user-friendly as possible. Exceptions to the obligation to provide information and offer the right to refuse should be limited to those situations where the technical  storage or access is strictly necessary for the legitimate purpose of
enabling the use of a specific service explicitly requested by the subscriber or user
. Where it is technically possible and effective,  in accordance  with the relevant  provisions  of Directive 95/46/EC, the user's consent to processing may be expressed by using the appropriate settings of a browser or other application. The enforcement of these require­ments should be made more effective by way of enhanced powers granted to the relevant national authorities.."

If you look at the second section of highlighted text it appears an exception to this rule is when placing a cookie onto the users machine is to do with the explicit working of the service the user was expecting. So for example if you log into your banks website with a username and password the placing of a cookie onto the users machine without their consent is legitimate as the service would not work without it as the user expected. This is basically how I understood this paragraph.

What I do think will be an issue are people that use analytics packages on their websites (it is unclear if this is covered), paid for advertising and  affiliate tracking programs. I can already think of several organisations such as Google, Yahoo and even MSN/Bing that may be affected by this. I don't feel much thought has gone into this legislation and I am not too sure how this legislation will be enforced. It will not stop affiliate or tracking sites that are not hosted in the EU. It could end up with companies hosting these services or making use of services from countries outside of the EU zone to get around this issue.

One thing that is incredibly difficult to do, and that is to govern how sites work on the Internet. It is not the job of governments but of International bodies how this should work.  What the legislation cannot protect against are spyware and illegal sites making use of this information or tracking users in this way. I also feel that not much thought has gone into how this legislation would be interpreted or if it could possibly destroy how some businesses work.

A rather funny take on this new legislation can be found here

posted on Thursday, 10 March 2011 00:25:18 (GMT Standard Time, UTC+00:00)  #    Comments [1]

 Thursday, 23 December 2010
The Fritz Box 7170

fritzI've always had a problem choosing ADSL modems. They've had a habit of letting me down and just being downright unreliable. As my wife works from home, reliable internet access is essential and we in the past have faced many issues with our Internet access, most of these issues being down to the BT Home Hub which for reasons only known to BT will drop the connection and suddenly choose to run an upgrade patch on itself. It did this without asking and with no thought to what important work was being done on the Internet at the time.

Other times Internet access would drop completely and the only way to get it back was to reboot the dreaded BT Home Hub. What was worse is that I had two SIP phone lines coming through my Internet connection. The BT Home Hub was awful at routing any traffic to the phones making them unreliable. 

Having put up with this issue for such a long time I told myself enough was enough and decided to trawl around the Internet to find the best solution. Just about everyone complained about the popular makes of ADSL routers when reading the reviews on Amazon. Then I spotted something called a Fritz! Box on Sipgates website, it was definitely more expensive than the others but doing more research found that people had nothing but good things to say about it. I decided to see if I could get it a bit cheaper. Searching Amazon I found the above model the 7170 for £73. It appeared to be an older model, but it still had many of the features found in the newer models so I placed my order.

The Fritz!Box was simplicity itself to setup. I moved the box over to the IP range I use at home unplugged by BT Home Hub, plugged in the Fritz!Box and it just worked! So far so good, I then decided to setup my SIPGate phone numbers on the box, in order to do this I turned advanced settings on the box on first. Then I entered my SIPGate details and tested calling the numbers, they worked first time and were crystal clear! There was no need to configure any ports on the box's in built firewall everything just worked out of the box. It was the first time I had ever managed to setup a SIP device so easily. I then decided to open port 80 on the firewall for my web server and that worked without any issues. The only thing I had left was my old BT Hub Phone number, after a little bit of research I found I was able to set this up on the Fritz!Box with no problems and it also worked first time. Not bad, not bad at all..

Looking through the screens for the Fritz!Box I realised it had a lot more to offer than I thought actually came with the box. It had built in multiple answer phones, a fax machine, NAS drive interface, UPNP Media Server, USB print server interface and a VPN client! The answer phone was easy to setup and I discovered I could also route calls based on caller id. So in theory I could route calls that withhold their numbers to an answering machine as they are more than likely sales calls.

A month on and the Fritz!Box has been nothing but reliable. Where we have had Internet problems the box has seamlessly detected them and reset the Internet connection in many cases without us even realising it. I suppose the old adage, you get what you pay for is so true with the Fritz!Box. The Fritz!Box has also reminded me just how reliable German engineering really is.

posted on Thursday, 23 December 2010 13:51:09 (GMT Standard Time, UTC+00:00)  #    Comments [0]

 Saturday, 04 December 2010
Southeastern trains – content is king


I read and watched the interview with Sarah Boundy spokeswoman for Southeastern Trains defending Southeastern's appalling service during the heavy snow fall recently.  I suppose the main point for me was how keen she was to talk about the improvements they had made since last time to their website. Unfortunately if Sarah had been monitoring the #southeastern twitter tag before she came to the BBC interview she would have realised that the information on the site was wildly inaccurate compared to what people were experiencing on the ground.  I appreciate the fact that Southeastern had invested millions in its new website but if the content is useless, so is the website which was why most customers resorted to twitter instead of trust what was on the website.

Many of us get the fact that the third rail system doesn't work too well in snowy conditions, however what we can't get is just how bad the communication is from this company.

Joined up content channels
Even if the content had been accurate, and to be fair Southeastern started to pay more attention to their website when people got angry. All the other channels people receive content in National Rails Website and the Station PA System were showing wildly conflicting messages on what was going on.

Take for example Thursday 2nd December, I made my way down to Sevenoaks Train Station wading through knee high snow to catch a train I was told would be running at 5:30am to Charring Cross station according to National Rails website. I arrived at the station to find it closed and not a train on the platform. I decided to wait, and I did so for 20 minutes before I saw the first Southeastern staff enter the station. I waited another 15 minutes before more customers arrived at the door and finally the staff opened the door. The first thing we heard from the staff was "has anyone checked the site?" apparently the staff didn't even know what was happening.  I made my way to the platform and the train the National Rails website told me was waiting on the platform (I used National Rails iPhone app) wasn't there! The stations PA system was useless, the only message it told me was that there were adverse weather conditions. You don't need all your station displays to point out the bleeding obvious, what would have been nice was it tell me that the next train had been cancelled because it had become stuck on the tracks. One screen in the station told us to look at Southeasterns website! We are in the station surrounded by Southeastern staff and are told to go to a website. Why can't the systems sitting in place at the station give us this information?

sorry no serviceChecking Southeasterns website on my iPhone gave conflicting information which showed some services would be running from Sevenoaks station until one of the staff eventually got information (we know not where) and put up the following board, stating "Our website is incorrect and we are doing our best to get it sorted".

(Picture thanks to @Bobajobbob)

Southeastern really has to work on how it communicates the status of its service. National Rail and the iPhone apps were showing trains as running on time until the very minute the train was supposed to depart it was marked as cancelled or just disappeared from the site.

In an age where information is freely available to all through multiple devices and communication channels its key that the information you make available to your customers and your staff is the same information. Updating this information should not be difficult, make use of your staff at stations and the train drivers themselves to help drive your communication network. Actively watch twitter feeds as companies such as BT have been doing rather well to help with damage limitation. Don't post general announcements about difficulties running services, be honest if the service will run or not. Sending out a vague message makes people unsure, they have to make a decision on whether they contact their place of work and tell them they can't make it in today because of the lines. People also need to know if they will be able to make it back home. Southeastern failed not because of the third rail but because they didn't communicate well. I understand perfectly that other countries have suffered the same problems with their trains and that in many cases it just can't be helped. But what can be helped is a company that shows it cares and provides information to its customers.

Southeastern has been annoying its customers more and more, even before the the heavy snow. Trains are often not long enough for the amount of passenger because they are short of working rolling stock or trains don't run on time. When their service does work well as I remember it used to you could get from Sevenoaks to London within 23minutes which is a brilliant service when it works. For a company that charges their customers some of the highest fairs in Europe they really need to start investing more money into their network or face losing their franchise.

posted on Saturday, 04 December 2010 12:41:22 (GMT Standard Time, UTC+00:00)  #    Comments [1]

 Friday, 09 July 2010
Healthy eating in schools
I read with interest an article in the Evening Standard regarding the governments plan to do a u turn on healthy eating in schools. It appears the new government is rejecting the teaching of Jamie Oliver and will inevitably end up with school dinners going back to the unhealthy stodgy meals they were in many schools.

I don't believe parents should be forced to get their children to eat healthy school meals although I do believe schools should offer healthy meals. If parents and children don't like that approach they can always send their children to school with packed lunches, but at least the government and schools can say "we provided the healthy option and you didn't take it". Parents then only have themselves to blame if their children suffer from childhood obesity later in life. I am pretty sure if the government stuck with healthy meals in schools, over a period of time (and it will take a while) we will end up with generations who have been through the education system who have known nothing but healthy school meals. These changes are not going to happen over night we are talking decades here to see the end result each generation will eventually pass these healthy eating habits onto their children.
posted on Friday, 09 July 2010 19:43:25 (GMT Standard Time, UTC+00:00)  #    Comments [0]

 Saturday, 03 July 2010
The technology push to your living room

I've been reading articles about Google TV, Microsoft, Sony, BT, Sky and (now) Apple with interest regarding their push to your living room to put content on your TV.  There's a hell of a lot of content on the web and the age old issue of watching this content conveniently on your TV instead of having to fire up browsers on your PC is a problem none of the big companies appear to have really solved.

Sure you can watch some of Sky's content on your Xbox 360 now. But you won't get all of Sky's content because of content restrictions enforced by content distributors. You also won't get 4OD, BBC iPlayer or the ITV Player on this service. In addition to that you won't get YouTube, Hulu or Joost. Basically there is not one set top box that will give you all of these services through your TV without having to switch or unplug some box out of the VGA, SCART or HDMI slot on your TV. My guess is that Google are trying to address this with their new set-top box idea. Weather it will work remains to be seen, because at the end of the day it doesn't matter how fancy your platform is, content is still king.

Content distributors also hold a lot of sway, they dictate how their content can be distributed. If a channel is distributed via the Internet and over encrypted satellite in the eyes of the content provider they are separate mediums which require separate content rights. Hence Sky's problem of only being able to broadcast some of their Sky 1 shows via SkyPlayer and blocking the channels for the duration of that show for SkyPlayer customers while satellite customers get to view it.

Likewise content providers may give the writes to distribute a show over a streaming Internet Service with the caveat that it cannot be streamed to a service that connects to a TV as this right could have been solved to a terrestrial provider. This arrangement makes things incredibly difficult while all the user wants to do is watch their TV shows in the most convenient way possible.

I wish Google TV every bit of success although I am struggling to see how they will be able to offer the content we want all through one set top box. In addition to this problem when watching a series on TV sometimes people would like to start from the beginning of a series people are all raving on about. Content providers don't make it easy to get to this content and their appears to be a high amount of people using illegal downloads via services such as Bit Torrent to get to this content. The video/TV entertainment industry appears to be out of touch with how people would like to consume their content. The same thing happened in the music industry which saw a huge shift in how music was distributed which lead to services such as Spotify.

Wouldn't it be nice if there was a service that held just about every movie, TV series, documentary that had ever been made, made available on demand? You could pay for the content per item or for a monthly fee have access to all of it?

posted on Saturday, 03 July 2010 10:42:38 (GMT Standard Time, UTC+00:00)  #    Comments [0]

 Friday, 04 June 2010
Handling the DropDownList SelectedIndexChanged event in a Repeater

This is more for my own reference more because I keep on forgetting how to do it and am constantly look it up all the time. If it helps you out, even better! And before you say "..but in MVC you can do it like this..". I know, but some of us still have to work with Webforms working with legacy apps. 

My main problem with DropDownLists in Repeater control examples on the net is they don't show you how to figure out which DropDownList in your Repeater list fired the SelectedIndexChanged event.

   2:  // This is bound to the ItemDataBound event on the repeater.
   3:  protected void RepeaterBasketItems_ItemDataBound(object sender, RepeaterItemEventArgs e)
   4:  {
   5:      DropDownList DropDownListQuantity = 
   6:          (DropDownList)e.Item.FindControl("DropDownListQuantity");
   8:      // hint after typing += you can hit TAB TAB in Visual 
   9:      // Studio for it to create the event handler for you.
  10:      DropDownListQuantity.SelectedIndexChanged 
  11:          += new EventHandler(DropDownListQuantity_SelectedIndexChanged);
  12:  }
  14:  // Handles the Selected Index changed event. 
  15:  void DropDownListQuantity_SelectedIndexChanged(object sender, EventArgs e)
  16:  {
  18:      DropDownList dropdown = (DropDownList)sender;
  20:      // Cast the parent to type RepeaterItem
  21:      RepeaterItem repeaterRow = (RepeaterItem)dropdown.Parent;
  23:      // Inside the RepeaterItem find a hidden Literal I 
  24:      // placed there which contains the Item Id of the row. 
  25:      // You could use the DataItem if this is being persisted
  26:      Literal LiteralItemId = (Literal)repeaterRow.FindControl("LiteralItemId");
  28:      // Parse this string into an integer
  29:      int itemId = int.Parse(LiteralItemId.Text);
  31:      //You can do some error handling here if the parse doesn't work..
  34:      // Get the value from the dropdown list.
  35:      int newQuantity = int.Parse(dropdown.SelectedValue);
  37:      // Over here you could put your update method. that uses itemid and new quantity.
  38:  }
posted on Friday, 04 June 2010 09:09:36 (GMT Standard Time, UTC+00:00)  #    Comments [0]

 Tuesday, 01 June 2010
Test blog entry from my iPhone
Testing blogging from my iPhone
posted on Tuesday, 01 June 2010 20:23:16 (GMT Standard Time, UTC+00:00)  #    Comments [0]

 Monday, 31 May 2010
Playing with Google’s Chromium OS

A while back Google announced they'd be working on their own Operating System (we all knew it was a matter of time before it happened eventually). At the time I was pretty excited by the prospect of trying out an Operating System released by one of the worlds most well known companies. However there wasn't much to see except for a few stick diagrams. Since then (almost a year), things have changed and we actually have something to look at and play with!

I got myself a VMWare disk image built from the source found at and made available as an image by gdgt.

Firing up Chromium on my VMware workstation I was presented with the following screen


I was a bit baffled on what to type for a username and password until I looked it up on some of the online forum's. Its your Google username and password aka your Gmail account details! Thinking about it, it made a lot of sense. The Chromium OS is supposed to be a web based operating system and what would make more sense than to hook it into your Google account details, think about it a bit more and you suddenly see yourself being hooked into a platform. Its not just the operating system you are hooked into its the infrastructure that one company provides that the OS needs to live - sound familiar?

BTW if you have UK keyboard setting you will need to press SHIFT + 2 to get the @ symbol for your email address.

After logging in you see the following screen, and all of a sudden I fully get what Chromium is all about.


If you've used Google's Chrome browser you've pretty much experienced what Chromium OS is like.

Chromium is effectively an OS with one application, you guessed it! Google's Chrome Browser. The browser is the operating system and yes this also starts to make a lot of sense. Google I suspect will be investing a lot into this platform being a web based company, a browser is all they need to get to their customers. If you make it cheaper by releasing a free operating system (open source) you pretty much cut out any dependence on the likes of Apple or Microsoft for your browser to run. You control the software technology stack between you and the user.

Playing with other apps I use quite frequently on Google such as Google Docs reminded me that the OS is pretty much still new and it would tend to hang on some applications every now and again. In the image below it hung on initialising Google Docs. Although I wasn't sure if this was my VMware host acting up or the OS itself.


Bouncing the virtual machine and logging in again I get the familiar screen below.


I attempt to access Google Docs again and everything works as it should! I then decided to fire up YouTube and yes it all seems to work. Although I was unable to work out if the video was playing with Flash or using a native HTML 5 player.


Verdict so far is that its a great idea and you can see its take up being pretty big, especially in third world countries where they can't afford expensive OS's such as Microsoft Windows and Mac OS X. Its a simple operating system that's easy to use and its very cleverly following the cloud paradigm where any computer you log into can be your workstation and all of "your stuff" is stored in the cloud. You're free from hardware, your laptop or PC just becomes a way for you to get to your web based OS.  I'm not too sure how the OS will work without the Internet though and its not too clear how I can work offline or store my files for use later. Will there be support for me to plug in my USB stick to transfer files or pictures I'd like to email? Will the OS use cached user credentials to log me in if I don't have Internet access at the time?

posted on Monday, 31 May 2010 11:55:25 (GMT Standard Time, UTC+00:00)  #    Comments [0]