Thursday, 31 May 2007

Browsing Catch 22

I just tried to install Firefox 2.0.0.4 and because me being me, I read the License Agreement. The interesting part here is section 4:

4. PRIVACY POLICY. You agree to the Mozilla Firefox Privacy Policy, made available online at http://www.mozilla.com/firefox/privacy/, as that policy may be changed from time to time. When Mozilla changes the policy in a material way a notice will be posted on the website at www.mozilla.com and when any change is made in the privacy policy, the updated policy will be posted at the above link. It is your responsibility to ensure that you understand the terms of the privacy policy, so you should periodically check the current version of the policy for changes.
In this they refer you to the web to read their privacy policy before you can accept the terms in the Licence Agreement which lets you install a browser with which you can read the privacy policy.
So I need a browser to be able to install a browser. The interesting thing here is that the setup window that provides the License Agreement provides hot, clickable links that open up your current browser. It feels a bit weird, somehow.

Zaaf

Sunday, 27 May 2007

Wii wait for Fathers day

Yesterday while I was out driving the old TV to the local dump site, my wife took the kids to the toy store to fetch the Wii. This is something my wife promised me to get me for Fathers day, which we celebrate Sunday, June 17th. When they got back, I was already at home doing something in the attic and it was interesting to see and hear what story the kids had come up with to keep the Wii a secret for me. It turned out that they were out buying lots of batteries for their toys and that the large packet they brought home was for someone else.
At diner my son asked how long our GameCube would last and I said that it would be at least two years before I would replace it with its successor, the Wii. Whereupon my son said that he could live with that.

Strange how we lie and cheat to our children, all in the name of raising them.

Now the aggravating wait begins. It's three weeks before I can open the box and connect my Wii to our new TV set. In the mean time, I think I need a new wireless router so I can connect the Wii to the internet. And when I buy one, I think I'm going for the Apple Airport Extreme in combination with the Apple TV.
There's a lot to look forward too.


Zaaf

Saturday, 26 May 2007

New TV


Last Friday morning, I bought ourselves a new TV. It's a Panasonic LCD-TV of 66 cm viewing diagonal (26"). It's only HD-ready and it did cost more than the € 700,- I specified in my requirements

However, it does have enough inputs to capture the whole range of input devices we have on our media side. And I just noticed that we tend to buy what looks best at the time. We're not partial to any specific vendor. Here's a list of things we have:

  • Sony VCR, 12 years old
  • JVC DVD player which also doubles as a CD player, 4 years old
  • Yamaha Receiver, 6 years old
  • Panasonic TV, 3 days old
  • Apple iPod, 8 months old
  • Pioneer Cassette player, 16 years old
This is quite a mixed landscape and it makes for a wide variety of remote controls, or zappers as we like to call them.

Zaaf

Tuesday, 22 May 2007

Contrasting food for thought

Yesterday I spent an informative 15 minutes in the TV-store looking for a new set. I had all my requirements with me (see here). I noticed that all LCD-TV's had two extra properties that sounded interesting: brightness and contrast-ratio.
The brightness varied from 400 Cd/m2 to 650 Cd/m2. The contrast ratio varied from 500:1 to 6000:1. The lady from the store informed me that the contrast ratio is the amount of colour differences you're able to see. And the higher the better. It turned out that the philips screen I'd been eying has a contrast ratio of 1200:1 whereas a similar looking (design-wise) Samsung set has a 4000:1 with the newer model having a 5000:1 ratio. These are big differences which has its impact on the price. The Philips costs €449,- where the Samsungs cost € 649,- and € 749,- respectively.

Food for thougth,
Zaaf

iPod Lost

I just noticed on the iTunes Store that there is a Lost game available for my iPod. I've made a mental note to self: Self by that game.

It's odd that I can buy the game, but can't buy the series from iTunes. The series is available with subtitles in my language, because they were broadcasted here. And even if they weren't available, I'm perfectly capable of understanding the series in English. I know, because I've seen the first 23 episodes of season one in English without the subtitles.

Zaaf

The future is now with music from the past

Today I've got a song planted in my head from my youth. I know the tune. I know part of the lyrics and I've got a desire to add that song and the album it comes from to my music collection. The only problem with this is that I cannot find that album in the stores anymore. So I can't get the cd. It is not available in the few second-hand stores in my town, which presumably comes from the fact that it's a good album. The online stores do not carry it because the music label it was on does not provide it to iTunes c.s.
This leaves the p2p networks as a last resort. However, since the album was released only on vinyl, there are almost no ripped to .mp3 versions of it. I can find a few songs from it, but this particular song is unavailable.

This is exemplatory of a lot of music of my youth. The international artists are often available online, but the local artists aren't. The music industry must have a huge back-catalog of music available only to them and to no-one else. And all they do with it is letting it rot in a cellar, where they could make some money out of it by selling it online via iTunes. On the one hand they talk about how p2p networks are killing them and stealing their profit, but on the other hand, they cannot provide the music to the soundtrack of my life. This feels like very inconsequential behaviour from the music industry. Could we please change that?

Oh and the song? It's "Later is allang begonnen" by "Het Klein Orkest".

Zaaf

Monday, 21 May 2007

Nintendo DS not Divine anymore

Last weekend we had my nephew sleep over. He brought is black Nintendo DS with him so he could play against my son. When his father first heard about the DS he immediately thought about the Citroën DS. Here the letters DS are spoken in the French way and sounding like (la) Deèsse, or the goddess. At the time, it seemed fitting of such a beautiful car. And in a way that's what the Nintendo DS is as well, a beautiful designed little handheld console. However, like the original DS, this DS can break as well.
My nephew and my son really got some quality time out of their DS's. And even after my nephew left, my son kept on playing. He has the habit of folding the screen completely open, instead of stopping at the first click. Perhaps he can view its contents better this way. He even has that habit when the screen is already completely open. And on Saturday evening, the cumulative force of all those openings became too much: the right hinge broke off completely.

So after he broke my G4, he broke my DS. Poor boy. He was so upset about it that I did not dare punish him.

Zaaf

Sunday, 20 May 2007

Requirements for a new TV

Our 10 year old Standard Definition 4:3 CRT Magnavox television set is aging fast now. And with age come those small nuisances that make life a bit harder. In the case of our tv-set, it's things like the tv-text not working at the moment you need the traffic jams report, sound quiting suddenly, or the picture freezing with the sound continuing, or the picture getting distorted. We even had the tv snowing. The cure to this is a quick re-boot. Just push the on / off button twice and everything is OK. The only problem with this is that the cap of the on / off button has fallen into the TV-set and now you need a screwdriver to push the actual button in order to it off and on again. And no, I cannot open the TV set, because the screws have some strange outlandish format (USA most likely) and they are un-turnable.

So we set out to find a new TV. And before we get it, we need a set of requirements that it has to fulfill:

  1. Scart input for the VCR
  2. Scart input for the DVD player
  3. rgb / scart input for the movies we play of the iPod
  4. rgb / scart / hdmi input for the Wii, which is soon replacing our GameCube.
  5. hdmi / component in for the Apple TV, which will be replacing the iPod on the TV.
  6. Black, so it fits with the rest of our set.
  7. Widescreen
  8. 82 cm / 32 inch diagonal at most
  9. 720p. 1080i would be a bonus.
  10. €700,- tops.
I've seen a few possible candidates in the local store-leaflets, but most likely they are just teasers to get you into the store where they will sell you something more profitable. The Philips 26PF5321 is looking nice, but we'll see what we end up with.

Zaaf

Wednesday, 16 May 2007

How not to fill a printer

Here at the office, we use a nice HP color printer. It comes with three trays for paper, labeled 2, 3 and 4. (Now here is a nice Obi Wan error.) The printer complained that tray 4 was empty and my colleague needed a print. So she got a whole box of printing paper and used a pair of scissors to remove the plastic binding. Then she took a pack of paper, opened it, took roughly one-third of the paper and started counting the trays. It is a good thing that they are numbered, because there are only three of them. When she finally put the paper in tray four, the printer started complaining that tray three was empty, so she put in the remaining paper from the pack in that tray. While this way of filling a printer with paper works, it has several drawbacks. To do it more efficient I'll note them here so I can refer my colleagues to them when they are in need of printer paper filling instructions.

  1. The plastic binding on the paper pack box has a self-release built in. Just find the part where it is sealed together, turn it upside-down and pull on the little end that is loose. It comes apart quite easily
  2. The printer trays and the paper pack sizes match each other. A whole pack will fit into one tray.
  3. Filling the first tray with half of a pack and the second with the other half will not make the printer any faster. It will only run out of paper earlier. Just put a whole pack in each tray.
Enough ranting for today ;-)

Zaaf

Monday, 14 May 2007

On the move

Today, for the third time this year our department was moved to another spot in the same building. I'm sure that the ultimate motive behind these moves is that our company as a whole works more efficient thus benefiting our shareholders, but packing and unpacking boxes everytime does make you wonder if that really can be true. It is not only this year that we've moved a lot. Last year we moved four times over the whole year. And every move costs at least one day.
This means that this year we've spent the following amount of hours not working because of work:





yeartimes movedpeoplelost hours
2006 (whole year)4936
2007 (ytd)3721
Total57

Mmmh, putting it in a table makes it look trivial. It's not even a whole week for this year. Ah well, with an hourly rate of about € 100,-- it still reflects a lot of money. The bright sides of it are of course that a) it provides the moving company a steady income and b) The things I keep at work, books, brochures, printouts of documents are now down to a minimum. Still, I hope that the next move announcement will not come before the third quarter this year.

Zaaf

Saturday, 12 May 2007

Encore for the G4

My G4 desktop computer is back and working fine. And although the technician working on it promised the repair would be a €560,- logic board replace, it turned out to be a €120,- power supply swap. I was so happy with this result, that on a whim, I decided to buy myself a 23" Cinema display. Unfortunately, the customer just before me had the last one, so I settled for a 20" display. And let me tell you, even though it is the smallest of the Cinema Display line, at 1680 x 1050 this is a grand display! It swaps out the old 17" CRT I have had for the last nine years and whose screen at 1280 x 1024 was definitely getting blurry. The machine looks so good and fresh now that I think I can live with it for at least another year, maybe even two. By then it is 5 years old and it will for sure need to be replaced with something bright and shiny. So the PowerMac G4 gets a new leash of live: G4 Encore!

By the way, the screen is much bigger than I expected when put in its place on my desk. I don't think that the 23" display would have fit. This showed me again that everything in the shop looks smaller than it is, getting you to buy bigger than needed. Which is something to keep in mind when we replace our TV-set.

Zaaf

Wednesday, 9 May 2007

Definitive

Subject Define

My day job mostly concerns handeling data. And one of the things that always strikes me as odd is that the definitions of those data is either very bad or completely missing. It is simply assumed that everyone that should know about the data already knows about it. It is these misconceptions that lead to misunderstandings and misinterpretations of data across various departments. When headquarters needs to reconcile the data it runs the risk of comparing apples with oranges. This is where the need for good and up-to-date descriptions of that data, or meta data, could be useful. And it is also where I seem to spend most of my time on. Here are some guidelines that are a result of roughly a decade of data modelling and writing definitions.

The first rule is that a definition should be a complete and valid sentence. Like your teacher told you in school when he explained how to write-up answers for a test, this makes it easier to read. So don't do the following when defining Incoming Mail:
something you get sent.
But please consider writing it more like:
Incoming Mail is Mail you get sent via the postal services.
The components of meta data obviously vary with its usage, but for a normal business person, the following components should be described:
  1. Subject Areas
  2. Descriptors
  3. Measures
  4. Dimensions with their Value Lists
  5. Relationships with other Subject Areas

1. Subject Areas

The data modelling world uses the term Entity, the object modelling world used Class or Object but in essence it is a specific subject in the area of the business about which there is a need to administer things. If something is good to know, but without a business need to administer it, then there is no need to describe its meta data.

A Subject Area should have a definition, because then everyone that has to deliver data for it, knows what to deliver. It is the definition that acts as a filter for the subject area: Every piece of data that fits the definition should become part of that Subject Area all others should be rejected.
Think of the out tray on your desk for all mail that has been processed but not yet archived. The mail out tray can be seen as a Subject Area and its definition would then be something like:
Out Tray Mail is Mail that is processed and that should be archived.
If you now receive a mail you and you want to put it in the out tray, then you could run it by the definition of the Out Tray Mail and check if it matches. It probably doesn't because you still need to process it. So you put it somewhere else. Once you've processed it, you make a mark on it to that effect and then it passes the definition of the Out Tray Mail. So now it can be part of Out Tray Mail.

This contrived example shows the importance of a good definition on a Subject Area level. But how to define a Subject Area. For this it is probably easiest if you think of sets and subsets. In the above example there is a set of things that should be in the Out Tray. It's called Out Tray Mail. And it is most likely that there is a set of things that are unprocessed Mails. Let us call it In Tray Mail. These both sets are part of the larger set that we can call Mail.
To write a good definition for a Subject Area, it is best to start to refer to a well-known term that is a more generic concept of the Subject Area. Then all you need to do is write the conditions under which the well-known term is the Subject Area. The well-known term can be seen as a set of data of which the Subject Area is a subset. In the above example, the well-known term is Mail and the subject area is Out Tray Mail. The condition that makes a Mail an Out Tray Mail is the fact that it has been processed and is ready for archiving. So that is what narrows the set of all Mails down to Out Tray Mails. And that is what has been put in the definition.

To recap:
Subject Area is a <more generic concept> that <conditions that make it Subject Area>.

2. Descriptors

Descriptors are things that describe the Subject Area. It's as simple as that. But how to go on describing or defining the descriptors? As with the Subject Area definition, you could refer to a more generic concept. The problem here is that there are only a few concepts that fit the bill. And the following list comes to mind:
  • Name,
  • Text,
  • Date,
  • Time,
  • Timestamp and
  • Number
but that's basically it. So we need something more to make the definition more descriptive. There is only one reason that you want a descriptor data item on a subject area and that is because it tells you something about that subject area. In fact the descriptor has a specific role to fill for the subject area, so
it should be part of the definition.

To elaborate on our Out Tray Mail example. A typical descriptor would be the timestamp at which the Mail was processed and put into the out tray. This descriptor simply describes the date and time at which the Mail landed in the out tray. So a definition could be:
Processed Timestamp is a Timestamp that records the date and time at which the Mail was processed.
This refers to a generic concept (Timestamp) and relates it to the subject area by explaining the role the data item plays for the subject area.

So the definition of a descriptor could be formulated thus:
A descriptor is a <[Name|Text|Date|Time|Timestamp|Number]> <role it plays for the Subject Area>.

3. Measures

Measure definitions are more or less the same, structurally as descriptor definitions. It's only the generic concepts that can vary. On the top of my head I can think of the following list
  • Amount, for which you should also note its unit of measure,
  • Ratio,
  • Percentage and
  • Promilage
which should basically cover it.
The rest of the format of the definition is the same. Describe what is measured of the Subject Area. So, for example, if you would want to describe the price of a product you would get something like:
Stock Price is an Amount denoted in US Dollars that denotes the price of the Product when it is in stock.
This refers to the generic concept Amount and its unit of measure, US Dollars. The subject area here the is called Product. It is also possible that the unit of measure is stored in another data item to which you can refer in your definition.
Stock Price is an Amount in the currency of Stock Price Currency that denotes the price of the Product when it is in stock.
Here the unit of measure is hold in another data item, presumably in the same data item.
So the definition of a Measure could be described thus:
A <measure> is a <[Amount with Unit of Measure|Ratio|Percentage|Promilage]> <role it plays for the Subject Area>.

4. Dimensions with Value Lists

This covers those data items whose value range is expressed by a list. This can be a simple yes / no list or a more complicated list. The definition should state the condition that makes you choose one of the items in that list. Please make sure that the values in the list are mutually exclusive so that it is always clear what option to choose. Also, if the dimension is mandatory, please make sure that the values are collectively exhaustive.
An example dimension for the Incoming Mail could be Mail Processed Indicator:
Mail Processed Indicator distinguishes Incoming Mails between those that have been processed and those that have not been processed. Possible domain values are:
  • Unprocessed Mail
  • Processed Mail
This is a simple indicator example. For larger sets this would still hold:
Mail Processing Urgency Type distinguishes Incoming Mails on how urgent they need to be processed. Possible domain values are:
  • Before Yesterday
  • As Soon As Possible
  • Within a week
  • Within a month
  • No urgency whatsoever
Here the last value had to be put in to make sure all possibilities are covered.

5. Relationships with other Subject Areas

To link subject areas together, you simply put in the name or ID of that subject area you link to. To define it is very similar to the way Dimensions are defined. What should be part of the definition is an explanation on why to choose one specific entry of the referred Subject Area over another. Another part should of course be explaining the role this link fulfills for this Subject Area.

Let's say that Mail is always from a Customer 1 then the definition would run something like
Customer is the Customer who signed the Mail.
This definition tells us that the data item Customer is a link to the Subject Area Customer and that the role it plays for the Mail is that it identifies the customer who signed the Mail. This is also how you would go about finding the Customer in your filing system: you'd look for the signature on the mail and then look that up in your Customer file. If you feel that this definition doesn't tell you anything about who or what a Customer is, then you're right. This is part of the definition of the Subject Area describing Customer. There is no need to repeat that information here.

The general form of this type of definition is:
<Data Item><[is|identifies]> a <Subject Area><how to select the right instance of refering Subject Area><role it plays for its Subject Area.>


Conclusions

For the definitions of data items it is important that you are able to put in the relationship to the Subject Area in the definition. If you cannot put it in, then that data item does not belong to the Subject Area. This is exactly what happened with the definition of the Processed Timestamp above. As you've noticed, it refers to Mail and not to Out Tray Mail because at the time of processing, the mail is not yet an Out Tray Mail. It is only at the moment when the processing is done, that the Mail becomes an Out Tray Mail. This is a bit of a border-line case. But writing the definition made me question where it should be.

Of course you could go all wild and analytical on it by applying all kinds of relational calculus to the data item to prove that it is in the first, second, third and boyce-codd normal forms, but looking at the definition and specifically at the relationship the data item has with the subject area will create a 3NF compliant data model for you.



1 Of course this is a contrived example. Most likely Mail will come from customers and suppliers, but for simplicity's sake, we'll pretend that it's only about Customers.back

Tuesday, 8 May 2007

Odd Lost

Finally, after what must be at least three years, We've started watching the TV-series Lost. I borrowed the DVD-set and everytime my wife and I are both in the livingroom and have time to watch TV, we pick the next episode. We've been doing this since early March 2007 and we've just covered episode 20. Only four or five to go before we're done with it.

It's a nice way to spend 42 minutes together, where my wife and I both comment on things that seem a bit improbable. For instance on last nights episode, Jack wanted to do a blood transfusion, but he couldn't find a needle. However he did have the tubes to transport the blood through. Odd.
And the way peoples hair is always orderly and they way their clothes are much neater than ours would be after two months in the jungle without much change of clothes. That's odd too.

But I'm sure that these are all old criticisms.

In related news there was a note in the local TV Guide that the ending of Lost is now known and that it will take at least three more seasons before the end. This means that after we've finished watching season 1, we have to sit through seasons two to six before we're done. I don't think that we can hold out that long. To put it a bit stronger, I hereby predict that we will not watch season two or later as our feeling is that it will get weirder and weirder. In a way it's a bit like Twin Peaks. Twin Peaks was a nineties TV show where everyone had some dark secret. Season one was interestingly entertaining, but season two became just weird. This is our main reference point as it is the previous series my wife and I watched together. The big difference is that we watched Twin Peaks when it aired, and we have time-shifted Lost.

Monday, 7 May 2007

No Computer, No Cry?

I've always understood the Bob Marley lyric "No Woman, No Cry" to mean something like: "Please dear woman of mine, don't cry, everything will be alright." So now I'm without a real desktop I'm testing to see if this can be extended from women to computers.

First of all, I'm happy to report that my G4 is undergoing some major surgery and is supposed to be up and running end of next week with a complete new logic board. So the "everything will be alright" part of the lyric should turn out just fine.

However, currently I'm using my rather ageing TiBook G4 667MHz (aka Gigabit Ethernet), which I purchased in March 2002 and there are things I sorely miss on this setup, so there is some reason for prolonged sadness. For starters, I can't take it with me, because my wife is now using it too. She brought home some Excel files from work and proclaimed that this computer was faster than the one she uses at work.
The main reason for my sadness though, is iTunes. I have a large list of podcasts that I listen to on a weekly basis and I have my subscriptions tuned just so that I can listen to (or view for that matter) all podcasts during the four days I commute to work. I sorely miss watching Happy Slip, or GeekBrief. And I miss listening to Anji Bees multiple podcasts, CC Chapmans Accident Hash and Adam Curry's Daily Source Code. I provided me with ample opportunity to listen to my own music catalogue. I cannot wait to get the play count and skip count synced with iTunes again to do some music library re-factoring on it. I don't know how other people do it, but every time I listen to a song and I find something is wrong with it, I make a mental note to update it in iTunes. And in at least 10% of the cases I do something about it. Here's a list of mental notes I've made:

  1. See which of the skipped items can be removed
  2. Make sure that Kate Bush's Aerial CD is one cd. Currently the numbers from the first CD are labeled "Aerial CD1" and those from the second CD are labelled "Aerial Disc 2".
  3. Make sure that the numbers of the Jimmy Hendrix BBC Sessions CD are in the correct order.
  4. Make a blog-post of the wide variety of songs played during the lapse in podcast listening.
I'm very sure that I've forgotten at least half of it. So being without a working desktop computer certainly has its drawbacks.

No Computer, No Cry (but only just).

Zaaf