Life of Pi

July 9, 2004
0 comments Photos

Life of Pi Life of Pi by Yann Martel is a book that everyone should read. Yes, this has been said about many books but still, I for one have recommended this book to several people already.

I read this book on my holiday to Sweden last week and it was many times hard to stop, but I think I'm still reading it today in my head. Not a day has gone by yet without thinking about this book and what I learned from it. It's difficult to explain without spoiling anything so I'll just leave it at that. Read what Ned Batchelder has to say about the book

As a non-native English person I found many of the terms difficult I must admit. Especially the boat-related terms, but when I read this book I actually had access to a English-Swedish dictionary for boating/sailing which was very convenient.

Thank you Melitta for recommending the book!

Now I have a Gmail account

June 29, 2004
186 comments Misc. links

Gmail I was invited by my friend David Otton and I've just had a quick look at it and the little I've seen looks very promising. The big question mark for me is: POP! I've already got a POP account that I use for all my other email and I want to keep using it. How do I read my POP3 email in Gmail? Would be great if I can set it up to have one copy of an unread email in Gmail and one in my POP3 account.

Before I've been using @pen Webmail which was pretty good because when I went to it it fetch my unread mail (once) and left them on the server. Then when I come home to my home PC I get the those emails again but this time they're deleted from the POP3 server. So the webmail becomes an extra copy.

I know there are solutions (read hacks) to make your Gmail look like a POP3 account but that's not what I want. When will they support reading from POP3 accounts (and IMAP too maybe) but only when I tell it to and without deleting them from the server.

Truncated! Read the rest by clicking the link below.

Evil HTML frames

June 29, 2004
0 comments Web development

Evil HTML frames Here's a brilliant example for why frames are evil and should be avoided as much as possible. This site uses about four of them making it scattered with scoll lists.

This site is also quite stupid in that there's a Javascript alert() that pops up every time you roll the mouse over any image. I don't know why because if you need download them you can by simply viewing the source code of the page. What happens is that the mouse is in the centre of the page and when you try to move the mouse across to the menu on the left you're bound to roll over another image and that will force you to move the mouse back to the centre to cancel the Javascript alert.

Think again David.

TBODY tag in a XHTML table

June 25, 2004
2 comments Web development

For all HTML language lawyers out there... I've got a page that is defined as XHTML 1.0 Transitional and in it I use a table that has many <tbody> tags, in these I have a class definition like this:


<table>
  <tr>
    <th>No</th><th>Name</th>
  </tr>
  <tbody class="foo">
    <tr>
      <td>1.</td><td>One</td>       
    </tr>
  </tbody>
</table>

That was not valid XHTML according to the W3C Validator and it took me some time to figure out why. Now I've got it! One has to use the thead tag too if you want to use the tbody tag. Here's an example:


<table>
  <thead>
    <tr>
      <th>No</th><th>Name</th>
    </tr>
  </thead>
  <tbody class="foo">
    <tr>
      <td>1.</td><td>One</td>       
    </tr>
  </tbody>
</table>

Worth remembering.

Underwater MP3 player

June 21, 2004
4 comments Misc. links

Underwater MP3 player An MP3 player you can use under when swimming and diving. I don't understand how the headphones work but I bet you must loose some of the sound quality.

This has a far reaching implication on our lives. Diving is typical for being soundless. That's why you need the body language that divers have worked out. Now, this simple technology marks an end to that. The price: $649.95 (~£350)

Ugliest site of the month, stradbally

June 17, 2004
0 comments Web development

A horrible experience of a website. There are so many bad and ugly elements that you can't even find anything that is actually good about the design. Not a single thing. All the subpages (if you find them) are all different and there's no consistency other than every page being equally crap. The GAA page is also worth a look for laughs.

If you know a bit about HTML, have a look at the source of the page for laughs. 114 "spacer gifs" and absurd use of div tags.

As you might notice little of the text on stradbally is readable, but this page about cats or something is even worse.