|  About  |  Archives  |  Log in  | 

Archive for June, 2005

Podcasting

The Danish Broadcasting Corporation (DR) has announced podcast support and I decided to look for a podcasting aggregator. The podcast page at DR has a link for iPodder, but I chose iTunes, which I have been wanting to try for some time. iTunes now comes with podcasting support.Most of my audio files are in the Ogg Vorbis format (they take up less space on my phone) so I looked around for a .ogg support in iTunes. I found what I was looking for on the QuickTime Components Project. Plugins are available for iTunes on both Mac and Windows.

Oh, and there is an extension for Firefox, which enable you to control iTunes (and other media players) from the browser.

Some links to podcasts:

If you enjoyed this post, make sure you subscribe to my RSS feed!

Hårde Hvidevarer

…Or how to recognize trees from quite a long way away. Our house came with a couple of household appliances. I am trying to identify them now in order to find some instruction manuals. It appears that appliances are not identified by what is printed on the front, as in 'AEG LAVAMAT W 1150′. Rather, appliances are identified by a Product Number Code (PNC), which is usually printed on a well hidden label on the appliance. In this quest, the web sites of appliance manufacturers are of little help, since manufacturers only seem to keep information about the current line of models. In this respect, appliance manufacturers could probably learn something from computer parts manufacturers.
Our AEG LAVAMAT W 1150 washing machine could be this one…or this one - who knows??
To be really sure, I need the Product Number Code (PNC). I can then go here or here to search for the manual.
Ok, I got the PNC - it is 941 002 774 and the manual is this one.
Our Vestfrost BSKS 361 fridge is quite similar to this one.

Yesterday, we bought a Zanussi TCE 7124 tumble dryer and an Electrolux ECM1956 freezer.
Emhætte Thermex Decor 600 FH

If you enjoyed this post, make sure you subscribe to my RSS feed!

Service Oriented Architecture

I have just started to look into Service Oriented Architectures (SOA). As of yet, I have not really formed any crystal clear understanding of the concept - but from my investigation so far, I gather it is prudent to distinguish between SOA and Web Services (WS). I probably better come clean and reveal up front that this post it not really about SOA or WS, but about how people explain the concept of services. I have been looking around for introductions to and discussions of services, and after reading a few, I noticed something funny: People often refer to object oriented (OO) programming when explaining services, but there appears to be quite a bit of confusion about the object oriented paradigm.
To be real blunt about what follows, I am not out to defend OO in the face of SOA. As mentioned, I know pratically nothing about SOA and I have no idea how SOA compares to OO. I am just puzzled when someone tries to explain a concept by relating to another concept without a real clear understanding of this other understanding.
If you google for 'SOA', you will find an article by Hao He at webservices.xml.com among the first few search results. In this popular introduction, the SOA concept is explained through a Compact Disc (CD) example, illustrated in both SOA and OO terms. Thus, the article contains the following description:

"So, in object oriented programming style, every CD would come with its own player and they are not supposed to be separated. This sounds odd, but it's the way we have built many software systems."

I am not sure I follow the article's line of argument, but why would an OO CD need to come with its own player? Maybe the author arrives at the above conclusion because of encapsulation (an OO entity should encapsulate its data; the data of a CD are tracks and track information and CD tracks are accessed when a CD is played, so an OO representation of a CD should provide a play() operation) or semantics (being played is what happens to a CD, so an OO representation should provide a play() operation)? I am not sure, but the above description is misconceived. If we consider the real life phenomenon (always a good starting point for OO design), a CD does not come with its own player and a CD does not know how to be played. So why whould the OO representation? In real life, a CD player uses a laser beam to read the tracks and track information (from the physical properties) of a CD. So perhaps the OO representation of a CD should provide an interface that enabled clients to read track and track information? E.g. through getTrackInformation(), read(), read(int track) or readNext() operations?
Another claim held against OO is that OO is not sophisticated enough. In his blog, Simon Guest, explains how services help remove the intimacy from distributed computing. Simon does so by referring to an example of two entities, A and B, where A wants to borrow $5 from B. The interaction concerning the loan is both illustrated if A and B were objects, and if they were services. In the case of OO, the loan transaction must be carried out in a single and very simple operation invocation, where A basically snatches the money from B's pocket (as in B.getMoney(int amount)). In the case of A and B being services, the loan transaction is allowed to span multiple interactions - A requests the loan, B determines if A is eligible, based on the state of A and prior interaction between the two and B finally accepts the proposal.

Why is that? Why are concepts, such as conditional request, validation based on previous interaction, return enquiry of requestor and proposal accept not allowed to be represented in the case of OO? SOA might provide shortcuts to representing these specific concepts, but I do not see what prevents me from designing the exact same, rich interaction, using OO representations?

Finally, I have come across ramkoth, who in his blog claims that the OO paradigm provides the wrong set of abstractions. Ramkoth describes how different abstrations suit different technologies and concludes that OO does not provides 'first class' (ramkoth's term, meaning 'most suitable') abstractions for building business applications. Since OO does not readily provide representations of such concepts as customer, employee, business rules, business process, business workflow, OO is more suitable at lower levels of abstraction. I think it is the other way around: OO provide a more general set of abstractions. There is nothing to stop you from representing such concepts as 'customer' or 'business process' using OO (and ramkoth does not say so), but there is no intrinsic support for these concepts, you have to define them yourself.

If you enjoyed this post, make sure you subscribe to my RSS feed!

Currently Reading…

"The Confusion" - The Baroque Cycle, Vol. 2 - by Neal Stephenson, "Løgnhalsen fra Umbrien" af Bjarne Reuter.

If you enjoyed this post, make sure you subscribe to my RSS feed!

Skype Hype

I have been looking further into handsets to use with Skype or SkypeOut.While I was doing this, I also checked the SkypeOut rates. As it turns out, the saving on mobile telephony I had hoped for is not possible. In Denmark, calls made through SkypeOut costs €0.02 per minute (DKK 0.15) for a landline number, and €0.259 per minute (DKK 2.00) for a mobile number. Neither one of these rates are competitive when compared to the available telephone subscriptions in Denmark :-(

This means that the SkypeOut service is only interesting for long distance phone calls and that the investment in a special handset - which integrates with Skype - is not worth while. Unless, of course, a significant number of friends and family decide to start using Skype. In that case, using a headset with a PC will probably be too cumbersome in the long run and a regular, wireless phone will come in handy.

I sort of had my stare fixed on the Cordless Dualphone, which I have also seen branded as an 'Olympus' phone. The phone seems to be manufactured by the Danish company RTX, though. So, in order to satisfy my techno lust, one of two things must happen:

  1. SkypeOut rates have to come down a bit.
  2. I have some advocating (evangelism?) to do, convincing everybody I know to start using Skype.

The last one is a hard one, since this sort of phone requires the PC running Skype to be turned on. I do not know that many people that have their computers running 24-7 (besides myself). Which is probably a good thing, sanity wise, or else my time would be filled up by Mike Oldfield, Star Trek , LOTR and Douglas Adams…

If you enjoyed this post, make sure you subscribe to my RSS feed!

Our House - Yeppie!!!

Today was a truly special day for us:

Ida, Sofie and I took possession of our new house today!

Not in the sense that we moved in, but the previous owners finished moving out yesterday, so today we picked up the keys to the house from the real estate agent's office and then went to have our first really good look at the house. I think we all felt really excited and perhaps a bit overwhelmed, standing with key in hand at our future front door. I know I did!

Ida and I agreed that our gut feeling about buying the house was correct and since Sofie - who had not been inside the house before - seemed to settle right in, the overall conclusion must be that this house is really *IT* for us.

Our plan is to gradually move from the flat to the house over the next couple of weeks. Besides a major paint job, there are some - hopefully - minor renovations that we would like to do at the house.

If you enjoyed this post, make sure you subscribe to my RSS feed!

Skype phones

Yesterday, I received several emails from family members who were concerned about a new bill, which the Danish parliment may pass. The bill is essentially about removing the protection of family names: If passed, the bill will make it easier to take a family name that is not your own (e.g. a divorcee can take/keep the family name of ex) and if enough people (1000) all have the same familiy name, that family name is no longer protected. By 'protected' I mean that other people cannot just buy a family name, unless that name is very common (e.g. the Danish 'Smith': 'Jensen'). The concern of my family and others, is that these two rules constitute a slippery slope, which will make almost any family name common and accessible to all. A protest movement has been started at www.mitfamilienavn.dk where you can read the details of the law bill, and maybe voice your concern by sending an email to the appropriate state department.Furthermore, I have been discussing Skype phones with my mother, sister and oldest brother. My sister lives in the US and the rest of us have recently started to use Skype or SkypeOut when calling her. I initiated the discussion as I will be moving soon and I am considering what telephone and internet subscriptions to get for the new place. I am considering the Skype phones because 1) They will enable me to call my sister and 2) The SkypeOut rate is competitive for calling mobile phones in Denmark. One of my ideas is to get a telephone subscription which will get me landline calls at a flat rate (i.e. subscription only) and then use Skype for calling mobiles. Should save us a bit of money.

If you enjoyed this post, make sure you subscribe to my RSS feed!