Monday, September 26, 2005

Just check my mail and realised some of you were a bit puzzled my some of my previous posts! Ez even tried to decrypt it! FYI it was simply base64 text - this is how you email travels the world - very simple to decypher - but probably asking a bit much for the lazy reader!!

9/26/2005 11:13:41 AM (GMT Daylight Time, UTC+01:00)  #    Comments [0]  |  Trackback


Just noticed that some of my posts from Tenerife (ones without attachments) have not been dispaying correctly - they look base64 encoded. I´ve found an internet cafe and fixed the posts manually. Will fix the bugs with dasBlog when I return. Also noticed some of the translations on the site arent all in place - half my site is in spanish! BTW using a spanish keyboard is a nightmare!!!!

 

9/26/2005 10:57:15 AM (GMT Daylight Time, UTC+01:00)  #    Comments [0]  |  Trackback


Sunday, September 25, 2005
Off to zoo today. They have largest indoor iceberg for penguins. 28 outside!

9/25/2005 1:21:09 PM (GMT Daylight Time, UTC+01:00)  #    Comments [0]  |  Trackback


Rm9vZCBoZXJlIGluIFRlbmVyaWZlIHRvbyBnb29kLiBIYWQgcGFlbGxhLCBzd29yZGZpc2gsIHRl bmRlciBsYW1iICYgbG90cyBvZiBjYW5hcmlhbiBwb3RhdG9z

Food here in Tenerife too good. Had paella, swordfish, tender lamb & lots of canarian potatos.

9/25/2005 1:20:23 PM (GMT Daylight Time, UTC+01:00)  #    Comments [0]  |  Trackback


Saturday, September 24, 2005

V2UndmUgYm90aCBoYWQgYSBiaXQgdG9vIG11Y2ggYmFuYW5hIGxpcXVvci4gSGljay4uLg==

We´ve both had a bit too much banana liquor. Hick...

 

9/24/2005 9:33:52 PM (GMT Daylight Time, UTC+01:00)  #    Comments [0]  |  Trackback


Thursday, September 22, 2005

SSBoZWFyIG9uIGNubiB0aGF0IHNvbnkgaXMgY3V0dGluZyAxMWsgam9icyAmIDUxYiBhc3NldHMh

I hear on CNN that Sony is cutting 11K jobs & 51B in assets!

9/22/2005 6:22:46 PM (GMT Daylight Time, UTC+01:00)  #    Comments [0]  |  Trackback


Amanda on top of mount tiede. Landscape used in star wars, planet of apes & lots of westerns

Download: MOV00003.3gp

9/22/2005 7:43:44 AM (GMT Daylight Time, UTC+01:00)  #    Comments [0]  |  Trackback


Tuesday, September 20, 2005
Seen whales & dolphins. And 600m cliffs!

9/20/2005 1:23:14 PM (GMT Daylight Time, UTC+01:00)  #    Comments [0]  |  Trackback


Monday, September 19, 2005
Visited active volcano 3850m

9/19/2005 5:53:30 PM (GMT Daylight Time, UTC+01:00)  #    Comments [0]  |  Trackback


TGF5aW5nIGJ5IHBvb2wsIGJlY29taW5nIHN1ZG9rdSBtYXN0ZXIuIEJlZW4gdG8gdm9sY2Fubywg YnJlYXRoLXRha2luZy4gVm9kYWZvbmUgc2lnbmFsIHBvb3IsIHdpbGwgcG9zdCBwaG90b3Mgc29v bg==

Laying by pool, becoming sudoku master. Been to volcano, breath-taking views. Vodafone signal poor, will post photos soon

9/19/2005 5:52:46 PM (GMT Daylight Time, UTC+01:00)  #    Comments [0]  |  Trackback


Wednesday, September 14, 2005

I've just fixed several bugs in dasBlog that were preventing me from sending email via my phone (across Vodafone Live) direct to my blog. Vodafone were using non-standard casing in most of the email & attachment headers. Now I'm ready for my hols. Expect some pictures soon.

9/14/2005 11:24:58 PM (GMT Daylight Time, UTC+01:00)  #    Comments [1]  |  Trackback


I've been getting quite a few errors from dasBlog recently with invalid viewstate. After chatting with Scott Hanselman about possible causes, we've narrowed it down to two possiblities:

  1. someone is tampering with my site
  2. IIS is recycling whilst a postback occurs

The IIS recylcing sounds more likely, although I'm actually hosting this site on Windows 2000 with IIS5 which I didnt think recycled ever 20 minutes like IIS6.

Anyhow to rule that out I've set a manual machineKey for my dasBlog application: here's an example:

<machineKey  
validationKey="21F090935F6E49C2C797F69BBAAD8402ABD2EE0B667A8B44EA7DD4374267A75D7
               AD972A119482D15A4127461DB1DC347C1A63AE5F1CCFAACFF1B72A7F0A281B"           
decryptionKey="ABAA84D7EC4BB56D75D217CECFFB9628809BDB8BF91CFCD64568A145BE59719F"
validation="SHA1"
decryption="AES"
/>

That way if IIS does cycle during a request we should also use the same keys instead of getting new AutoGenerated ones. The same principle applys if you are using a web farm. Different servers might serve the inital request from the postbacks.

BTW: if you need to generate those keys above, here's some code:

using System;
using System.Text;
using System.Security;
using System.Security.Cryptography;

class App {
  static void Main(string[] argv) {
    int len = 128;
    if (argv.Length > 0)
      len = int.Parse(argv[0]);
    byte[] buff = new byte[len/2];
    RNGCryptoServiceProvider rng = new 
                            RNGCryptoServiceProvider();
    rng.GetBytes(buff);
    StringBuilder sb = new StringBuilder(len);
    for (int i=0; i<buff.Length; i++)
      sb.Append(string.Format("{0:X2}", buff[i]));
    Console.WriteLine(sb);
  }
}
9/14/2005 11:22:12 PM (GMT Daylight Time, UTC+01:00)  #    Comments [0]  |  Trackback


I think *all* developers could perhaps learn to be more honest with their end users. Take this example dialog from Microsoft Codename Max




But then again if sales & marketing didnt lie, we wouldnt need to?
9/14/2005 8:47:11 PM (GMT Daylight Time, UTC+01:00)  #    Comments [0]  |  Trackback


Tuesday, September 13, 2005

Recently several people I know including myself have started to create mp3 mixes of their favourite tunes. This is great, however, being a mix you lose all the track information which is a shame, especially if you want to burn the mix to CD for playing in the car. Car players generally always start playing mp3 from the beginning - and boy I cant listen to the first track of my mixes any more.

Well here's a solution - there are many tools to do this, but this is what I use:

mp3cue - its a WinAmp plugin

Here's a cue file I created for my Summer Mix 02
mix02.cue (1.05 KB)

Off you go now and fireup your copy of Nero and burn away...

9/13/2005 7:42:23 PM (GMT Daylight Time, UTC+01:00)  #    Comments [1]  |  Trackback