July 21, 2008

Prototyping

I've been working on defining development processes for NHSBT and have been discussing useful forms of prototypes.

The way I see it there are two main classifications:
  • User Interface Prototype
  • Technology Prototype
One typically prototypes to communicate concepts to a user or to prove a technology.

I tend to use two types of User Interface Prototype:
  • Wireframe
  • Ghost Town
A wireframe prototype is used in most projects that have a UI. It is typically a set of drawings (electronic or paper) that show the layout and flow of the UI screens. It is great when you have experienced users who are familiar with a broadly similar application and can visualise the final functionality. It falls down badly when the users are unfamiliar with the type of functionality.

A ghost town prototype fills in the gap. The UI is implemented in actual code as a shell with no actual business logic or persistence. It is called a 'ghost town' because it is like the towns in western shows and films where the entire street is just a set of thin facades held up by beams and boxes. The UI is fully interactive and it makes it very easy for the user to grasp the functionality. Traditionally ghost towns were considered 'throw away'; nowadays with the Model View Controller pattern it is very easy to implement ghost towns where the majority of code can be reused. The only real drawback is that they can give a false impression to the user that the application is finished and ready.

There are also only two technology prototype forms that I use:
  • Proof of Concept
  • Tracer Bullet
The proof of concept is a purely exploratory prototype which is done to investigate a new technology. It follows a simple process of writing code and seeing if it works in the expected way. This prototype can be very dangerous if clear goals and criteria are not established early on as it can become very undirected and any decisions made as a result can become matters of opinion that may not be in the best interests of the wider project or programme. The proof of concept should always be written expecting to throw the code away as the technology being investigated may not be suitable; that does not mean that the code should be written as if it were expected to be thrown away. A poorly written proof of concept can be less than useless in evaluating a technology, also with modern refactoring a successful proof of concept can be turned into production code.

The tracer bullet is used when the choice of technology is well established but the particular technology stack has never been used before. A very thin vertical slice of functionality is selected that touches all the novel integrations and the prototype is written to implement it. This prototype should always be of production quality as the code it produces will define the patterns and standards for the finished application and will normally be the first check in to the development repository.

These are the types of prototype that I use on a regular basis, are there any that I should be using that I have missed?

July 17, 2008

I've got to be careful not to let it grow out of control...

I've been working and thinking about my encrypted zip framework and in the process of refactoring and abstracting I find myself teetering on the brink of creating a grand unified storage framework for Java, where one defines 'entries' and those can be stored to filesystem, database, zip file, etc.

I think that a Grand Unified Storage Framework would not be a bad thing as I have long been frustrated at the Java API differences in writing data to the different storage media, but I really should focus on delivering the encrypted zip framework. I think that I need to keep the GUSF in mind so that whatever I produce for encrypted zip can be rolled in.

July 16, 2008

Mobile Broadband

Well I've taken the plunge and have got mobile broadband from T-Mobile.

I'm still trying to work out how to get access the the wireless hotspots as I need to send a text using my SIM card to get a username and password.

I think that I'm just going to have to stick the SIM card in my normal phone, send the text and see what happens.

I've been working on the Encrypted Zip on the train to and from work and having access to the internet has been a godsend. Especially when negotiating the deep, dark waters of Java Cryptography. Why are the APIs so overcomplicated? I'm facade-ing a lot away and so may end up with some classes that will be of wider use.

I'm also swearing at the wider Cryptography community. There is a dearth of decent keystore standards and implementations. For those who don't know what a keystore is, it is a type of file where you keep the keys and certificates that you use to encrypt things and to prove your identity online. The only broadly portable 'standard' keystore is PKCS#12 which is widely held up as an example of how not to create a cryptography standard. In my implementation I'll probably have to default to simple password based encryption and allow users to specify better levels of encryption at the cost of reduced cross-platform portability.

On the other hand I have working code and am beginning to see my way clear to a working encrypted zip.

June 30, 2008

Working with OutputStreams

I'm a big fan of the implementations of OutputStreams in Java - a very good example of the decorator pattern. It is great to be able to add capabilities by simple composition.

I'm using various OutputStream implementations to create an API to encrypt files within a Zip file. Unfortunately there are some maddening inconsistencies.

The one that is giving me the biggest headache is the fact that the CipherOutputStream close method closes the underlying output stream. With any other OutputStream implementation one would call the flush method, but for block ciphers, the block is not flushed until close is called. If one is encrypting multiple files to the underlying stream one has to work out some way to close the CipherOutputStream without closing the underlying stream.

What is even more maddening is the fact that DeflaterOutputStream has a method called finish that does exactly what I would need, it completes the deflation without closing the underlying stream.

Why can't CipherOutputStream have a similar method?

April 01, 2008

Tumultuous Times

Been a bit busy of late, landing a role as the Enterprise Architect for NHSBT. As usual I intend to work myself out of the role, but for now my day is filled with learning a whole new business domain and fleshing out my skills with a few new ones.

I'm having to pinch myself, realising that Enterprise Architect is only one step down from board level. My self-belief and arrogance will really be put to the test.

February 26, 2008

The Death of my Great Great Grandfather. (8/8)

That's it. The End...

I'm really glad that I got this out and shared it. This is the final part of the tale as I have it.

"The Standard", June 10th., 1881

The Corrientes Murder
-

With much pleasure I make room for the following papers, which speak for themselves. We shall be only too glad to lend our poor aid to the object expressed in Mr. Budge's letter and receive subscriptions to help so merited a testimonial.

-

Concordia, June 5th., 1881

My Dear Mr. Clarke.

Since the dreadful murder of poor Macdonald and Guthrie we have had occasion to note and admire the conduct of Commandante Casco, Gefe Politico of Monte Caseros, for the zeal, energy and success with which he hunted down and captured the whole gang of assassins.

He himself worked night and day, and did not rest until he had succeeded. In view of this we have drawn up the enclosed subscription list in order to raise funds for the purchase of some sort of token as a recognition of his services.

As you have already taken the matter up, we trust you will still further use your influence, either publicly or otherwise, to receive the list of subscriptions: the proceeds of same can be forwarded to myself and handed to the secretary of the Committee.


Yours faithfully,

O. Budge.


-

LIST OF SUBSCRIPTIONS FOR THE "CASCO" TESTIMONIAL
_____________________

W.G. Smart, F.C. Concordia 1-0-0
J. Carrol 1-0-0
C. Fair 0-10-0
John McCorquodale 1-0-0
F. Forkett 10-0
A.H. Coaker, Concordia 1-0-0
Philip A. Paye, Concordia 1-0-0
E. Tulbais 1-0-0
O. Budge 1-0-0
G. McLeod 1-0-0
Amadeo Bonibent 10-0
G. Brown 10-0
A. Parker, Concordia 1-0-0
Edward Ware, Salto 1-0-0
Edwards Morice 1-0-0
William Johnson 1-0-0
Robert Wilkinson, Salto 1-0-0
Hugo Lindsay 1-0-0
C. Tipper, Salto 10-0
Hume & Hardy 1-0-0
James Shaw 10-0
Revd. W.H. Shimield 15-0
W. Thompson 1-0-0
J. Perxy Clarke 10-0
John Armstrong 1-0-0
Edward Dickinson 1-0-0
J. Harris 1-0-0
G. Dickinson, Bs. Aires 1-0-0
John White 10-0
Thomas Ebrey 1-0-0
Thomas Taylor, Concordia 1-0-0
A.H. Caley 1-0-0
T.C. Clarke 1-0-0

February 21, 2008

The Death of my Great Great Grandfather. (7/8)

News of the murderers.
"The Standard", May 28th., 1881

The Murder in Corrientes
-
Naranjito, May 23rd., 1881

To the Editor of "The Standard"

Dear Sir,

I am happy to inform you that the last of the murderers of Macdonald and Guthrie passed up, well secured in the train to-day to Monte Caseros; he had the watch and ring of Macdonald, and also the recado of Guthrie, so that now the whole thing will come out.

I hope you will use your influence with the British Minister to hurry on the Government to do what is right, in having the men shot here and not sending them on to the capital, because if they are sent on there, then good-bye to justice as they in a short time will be back here again to do worse still.

Yours very sincerely,

Subscriber

February 03, 2008

The Death of my Great Great Grandfather. (6/8)

A slightly shorter update this time - The response from the Governor of Corrientes and a Mr. McCorquodale gives some details on the murderers.


Buenos Aires "Standard", April 26th, 1881


The Naranjito Murder

-

With much pleasure we publish the following telegram from the Governor of Corrientes to the President of the Republic, in reply to the President's message sent the moment His Excellency discovered that the crime was committed in Corrientes. The message in question is fully corroborated by two letters we give at foot, and for which we are much indebted to the kind attention of Mr. McCorquodale, station at Naranjito on the Eastern Argentine Railway.

-

Corrientes, 24th April, 1881

To the Most Excellent President of the Republic.

I have received Your Excellency's telegram; The Gefe Politico of Caseros announces the capture of one of the assassins of the British subjects, and is in active search of the others, as ordered by this Government the first moment it heard of the crime. I can assure your Excellency that I heartily condemn those crimes, and while I cannot possibly prevent them, I am determined to have them severely atoned for.

I fully appreciate our position and credit, and will leave no stone unturned to guarantee life and property.

I salute your Excellency

A.B. Gallino

-

Naranjito, Corrientes, April 22nd. 1881

To the Editor of "The Standard"

I have just seen in your paper of 19th April, where it is given out that the murder of Macdonald and Guthrie was in Entre Rios, it is not so, they lived in Corrientes.

It may be of some service to you from what I personally know, that the Gefe Politico in Monte Caseros, Sr. Casco, has exerted himself in every way possible and is still doing so, to find out the murderers; he has not left a moment day or night, since the murder, in searching every corner, and I learn that he has taken about thirty prisoners.

To-day I hear that he had staked out a man yesterday, and he confessed that the chief was a brother of the "capataz" of Macdonald and Guthrie; and this man the capataz they had discharged some weeks before: this has to be corroborated by further proofs yet, but Casco is labouring like a good Briton, in this affair, and also Juez de Paz of Monte Caseros told me that he would offer a reward of $500. to anyone who would discover who had been the assassins.

As you truly say, this crime comes at a bad moment, when Dean Dillon has just gone home to foment emigration to this country, and Macdonald and Guthrie told me that others were to follow them here to settle down, now this will put a scare on English coming here. The Province of Corrientes is a splendid one in rich camps, either for sheep or cattle, and a most magnificent one for agriculture.

If I learn anything new, and you should careto be acquainted with it, I shall be proud to let you know.

J.F.M.C.

P.S.
Naranjito, April 22nd. 1881

I forgot to mention in my letter that three days after the murder of our countrymen, within three or four squares a "Tropero" (Brazilian) was attempted to be assassinated also, by his own Peon, while lying down and serving mate.

The Peon gave him two shots behind and luckily that the Comisario was at the house of Macdonald and galloped over, if not the man was killed: the Peon was captured, but not before he was nearly hacked to pieces.

I have no more time, train hour.

Yours truly,

J.F. McCorquodale

January 24, 2008

Sigh... HTTP Status 408 after Login on Tomcat.

Quick little post to share the results of a day's worth of wasted effort. I was creating a tracer bullet prototype of a web application for a customer and was configuring the security using an LDAP server (Apache Directory Server and Apache Directory Studio - a very good combo). Having configured the LDAP server I set up form based security and pointed a browser at the web application. I first tested the failed login and sure enough I got the login error page. I tested the correct login and disaster - I got an HTTP 408 page from Tomcat telling me that the session had expired because I had taken to long to login.

I followed all the usual paths, I checked that the LDAP was authenticating correctly, I checked that the browser was handling cookies correctly, I looked at the Tomcat logs for any unexpected exceptions. I did a whole lot more.

Eventually, after building my own version of Tomcat with lots of trace, I found the problem. The Login JSP that I was using had a nasty little taglet that included a session invalidate command. After removing this everything worked correctly.

I must remember that when I reuse code from elsewhere in a project, I should check for any gotchas.

January 22, 2008

The Death of my Great Great Grandfather. (5/8)

One of the murderers is caught in a very long piece
.
The Corrientes Murder
-
One Assassin Caught.
-
One of the best proofs of the generally improved state of affairs in this country, is the very decided action taken by the authorities in the case of the murder of the two Scotch farmers at Naranjito, Corrientes.

The very day the news reached this city, and the matter was brought to the attention of the National Government by Sir Horace Rumbold, who not only wrote a note to the Minister of Foreign Affairs, but took the note himself to the Minister. President Roca despatched a telegram to the Governor of Entre Rios, which telegram we have already published, as also the Governor's reply. President Roca, finding that the murder was committed in Corrientes and not in Entre Rios, at once despatched a fresh telegram to the Governor of Corrientes, and the Minister of Foreign Affairs received a reply on Friday night from the Governor, who stated that every step possible to catch the assassins had been taken, and that a telegram from the Gefe Político, at the Monte Caseros had just arrived announcing that one of the assassins had been caught. The Governor of Corrientes says in his message, that every step possible will be taken to bring the other murderers to justice, and we believe that the probabilities are that they will all be caught.

Steps have been taken by the British Minister to appoint a "curation" to look after the property of the murdered men, and Mr. Smart the Manager of the East Argentine Railway has been asked to designate the proper person as "Curator".

Of all the terrible murders it has been our melancholy task to record, we think that we may safely say this is the first instance where the authorities, one and all, have show a determination to catch the assassins. The British Minister, the Minister of Foreign Affairs, and even the President himself, have been duly in the receipt of telegrams on the subject, and let us hope now that when the assassins are caught, they will be at once tried, and if convicted, summarily executed. President Roca has expressed his determination to have full justice done in the matter. The following are the latest details of this terrible crime.
-
Salto, 20th. 1881
Dear G

I went up to Corrientes, as you already know, to learn some particulars of the said affair, and to see how things stood, &c. It appears that on the night of the 12th inst. about 8 o'clock more or less, two men called at Guthrie's and Macdonald's Estancia and asked for "Pasado" which was granted, they then unsaddled their horses, tied them out and came back to the house, and one of them took his boots off and put on slippers. This one was well dressed, silver "recado" stirrups &c., and talked "muy politico". The other was not so well dressed and appeared to be a peon. Guthrie asked them if they had eaten, and they said they had not, he then told his wife to make them an "asado" which she did, the peon eating in the kitchen and the other at the door of the house, and talking with Guthrie about camp, &c.

After eating the roast Guthrie said to the man (if he can be called one) "You will please excuse me putting the bed outside as the house is so small", so he took out the "catre" and put it about 15 yards from the house, near a little "Remanada", and returned for a mattress to make up a bed, and when in the act of arranging the mattress, the fellow went behind him, caught him either by the hair or collar, and at the same time cut the poor fellow's throat from ear to ear, he fell instantly and half raised himself on one leg: seeing this, his wife got a revolver and was running out to Guthrie, when Macdonald took it from her, thinking that perhaps he could do more with it, or else to give it to Guthrie. Then the poor wife ran to poor Guthrie and got hold of him, when he fell dead covering her with his blood. She then ran into the house, took up her child and crossed into a wild "potrero" passing an Arroyo up to her neck in water to get to a house about four squares off. When Macdonald came out he may have been stabbed whilst passing the doorway, by the man in the kitchen, as the neighbour and wife say that eight shots were fired, if Macdonald fired them all, he fired without aim, as the night was as clear as day. If he was stabbed coming out of the house of course that would account for it, but still I don't think that he was, as José Maria Fonseca told me that he was stabbed under each breast and the wounds so large as to put your hand in either, and if he got them coming out of the house, he must have fallen at once, his head was almost severed from his body also; and between the thumb and first fore fingers there was a great gash, and it was supposed that Macdonald had caught one of their "facones". Next morning
José M. Fonseca with the Comisario, Juez de Paz, &c., had the bodies put in coffins and sent them on to Monte Caseros, Fonseca attended to the taking of the inventory and all papers, &c., that were then in the room, and the door sealed.

A capataz and two peons are in charge of he sheep and cattle, there are 268 Sheep, 133 head of cattle, 23 horses and mares (17 Horses). Mrs. Guthrie is a Fonseca's, and wants him to look to her interests: but who is to represent Mr. Macdonald's family? Perhaps Mr. Clarke can; he may have Mr. Macdonald's will if he made one when in Buenos Aires, and wanted to give you a "Poder"; however tell Mr. Clarke what I say. The contract of the "Sociedad" may be with the papers in the house, or at Coll & Salda's, where Macdonald had money; I think Guthrie entered with $1,200., Guthrie to pay Macdonald 3% per annum for difference of capital and Macdonald to put $7,000., so as all the capital in stock is only what I say, all Guthrie's capital will have been invested: this the books ought to show, Guthrie to manage, &c., and gains on halves.

The capital in stock as you see is small, but the sooner something is done the better for all concerned, as the stock will get big, Juez expenses increase, &c., and the matter becomes more difficult to deal with. What I think best to be done is, if Mr. C. is not executor of any will Macdonald might have made, and there is no will existing, he might get a power to name somebody to represent Macdonald's interests, and signed by someone of influence in Buenos Aires.

This done, get the sheep passed into Entre Rios and sold on this side (as in Corrientes there are no buyers) report proceeds and see how things stand and arrange matters.

I don't know how much money there will be with Coll & Sarda's but this is all right. They were building a new house 16 by 12 vs.; it was ready to be thatched, the work was contracted for at $100. nothing paid on account, another man had received 300 sheep on shares some days ago also.

I went to the house with Felipe Fonseca to save sheep, &c., where Guthrie fell there was as much blood as if a sheep had been killed, where Macdonald fell there was not so much blood; probably from the stabs the blood would keep inwards, I believe that they had money, so Mrs. Guthrie says, sovereigns and condors in a bag. The murderers took Macdonald's gold watch and chain, his gold ring, revolvers, stirrups, &c.; Guthrie's "recado", black clothes, whips, shirts, &c., and cut mattresses open, took everything away they could, they left Macdonald's saddle.

A colder blooded affair than this could not have been done, the Fonsecas have done everything in their power, and are as sorry as if the deceased were their brothers, Mrs. Guthrie is staying there. THe Gefe
Político of Monte Caseros, Jose Maria Casco, is after the fellows night and day: no man could possibly do more than he is doing, and he has taken 30 "Bandidos" prisoners, stretched them out &c., but has not got the thread yet, if they are to be found he is the man for it, I was with him at Fonseca's, Mrs. Guthrie gave me the description of the men, and this morning I gave same to Mr. Viera (Comisario); also description of Recado, Ring, &c. and English watch. Mr. Viera will advise all the Comisarios in case the murderers have passed over there.

Excuse this long epistle, but it is necessary at times.

January 13, 2008

The Death of my Great Great Grandfather. (4/8)

With this posting it is revealed that Corrientes is in fact the province where the murders occurred so I've retitled the posts to date. I believe that this confusion is due to the high rate of immigration and settlement leading to some difficulties in administrating the country.

From the Buenos Aires Standard, April 21st, 1881.

The Murder of Messrs. Macdonald & Guthrie

President Roca received yesterday the following answer to his telegram to the Governor of Entre Rios, which we published yesterday. It appears, however, that the scene of the horrible crime 'Naranjito', is in Corrientes, and not in Entre Rios, and the President despatched yesterday an energetic telegram to the Governor, who will certainly do his utmost to catch the assassins.

-

To the Most Excellent President of the Republic.

I have this moment received your Excellency's telegram, which has astounded me, as up to this hour I have no news whatever of the murder of any British subjects in any part of this Province. I do not know either of any placein the Province of Entre Rios called Naranjito but there is a place so called in Corrientes, near the frontier.

Nevertheless, I will enquire at once, and if unfortunately this crime has been committed in the Province, I will set the police on the track of the criminals and have them judged with all the rigour of the law.

Your Excellency may rely on this: to-day I have dismissed from his post a Gefe Polítice for not having reported to the Government the murder of a Spanish subject.


José J. Autelo,
Governor.

December 30, 2007

The Death of my Great Great Grandfather. (3/8)

From the 'Buenos Aires Standard' April 20th 1881.

Abolition of Capital Punishment

With much pleasure we state that the announcement in one of the city papers of the intention of President Roca to propose to Congress the Abolition of Capital Punishment is utterly incorrect, and we are fully authorised to say that the President, so far from being in favour of any such measure, views with regret that so many assassins escape capital punishment, which the law of the country provides, and which it is the President's determination to use every effort to carry out.

In all the cases called "Alevoso" the National Government will use every effort to have the criminals, no matter in which province the crime may be committed, at once tried and on conviction executed. When the President received news of the terrible murder of the two Scotch Farmers in Entre Rios he was greatly shocked, expressed himself most strongly on the matter, and at once despatched a telegram to the Governor of Entre Rios, to urge the Provincial authorities to scour the whole country and to catch the assassins. It is most probable that they will be caught, and quite certain that if caught and convicted, they will be at once executed. The following copy of President Roca's telegram to the Governor of Entre Rios will show the British Residents of the Plate that the President is in earnest in the matter, that he is the right man in the right place, and instead of favouring the abolition of capital punishment, is fully resolved on the abolition of assassination in the Plate, which is only attainable by rigorously executing the criminals, and showing to murderers the same mercy they have shown to their unfortunate victims.

-
Buenos Aires, April 19th. 1881
To the Governor of Entre Rios.
Uruguay.

Several Englishmen have called on me to tell me that two of their countrymen most estimable and respectable persons, have been wilfully murdered ant Nranjit Province of Entre Rios.

I request therefore that you will use every exertion in your power, and adopt every possible measure to make an example of the criminals. Such crimes as this dishonour and injure us abroad; and it is for us a duty of morality, of justice, and even of self-interest, to put a stop to them.

Yours friend,

Julio A. Roca.

December 28, 2007

The Death of my Great Great Grandfather. (2/8)

Part two: I'm not sure who G.E. is.

Such a dreadful affair has happened near Monte Caseros, Macdonald and Guthrie, both of Salto, who had taken an Estancia in Corrientes have both been brutally murdered by a band of four assassins, whilst preparing to accommodate two of them. Macdonald lately went home to take his children there.

Full details have not yet reached us, they have been buried in Monte Caseros. The murderers so far have not been found. "Como siempre" robbery was the object.

G.E.

December 26, 2007

The Death of my Great Great Grandfather. (1/8)

A little while ago my mother handed me a sheaf of typewritten papers detailing in rather horrifying detail the murder of my great, great grandfather in 1881.

I thought that I would share this in an episodic format. Offering it as an interesting piece of family history and as a fascinating period piece.

From the 'Buenos Aires Standard' April 19th, 1881.

Terrible Murder in Entre Rios
Two Scotchmen Assassinated.

It is our gloomy task to report the murder of two much respected Scotch sheep-farmers, at a place on the Eastern Argentine Railway, called Naranjito.

The unfortunate victims were Mr. Charles Macdonald and Mr. Arthur Guthrie, who had just rented a piece of land there, bought a flock of sheep, and started as sheep-farmers. The country thereabout is well settled on, and there are Estancias and sheep-farmers on all sides, the camps are very fine, with rich pasturage and abundance of wood and water.

Mr. Macdonald some few months ago returned from England where he leaves five children to mourn his untimely loss. For many years he was engaged in Salto B.O. on the Santa Rosa Ry., and had a wide circle of friends in this city; his friends here state that he had just invested up there about 6000. Pat's in sheep.

Mr. Arthur Guthrie was from Dundee and was partner of Mr. Macdonald. Mr. McCorquodale, who resides up there, has written down to friends here, giving the following hurried particulars of this truly barbarous crime, the details of which intensify its atrocity.

It seems that on the evening of the murder two men, Gauchos, rode up to the rancho and asked leave to rest and pass the night; they were invited to dismount and given their dinner: these villains, after tying their horses out and pretending to make the usual arrangements for passing the night, entered the house, and whilst poor Guthrie was in the act of preparing a bed for one of them the double dyed villain stabbed him in the back, and he fell dead. The noise of the fall attracted the attention of Macdonald, who rushed at once to get his revolver to defend his life as dearly as possible, but he was soon overpowered, stabbed to death and then both their throats were cut in a most barbarous manner; Guthrie's wife, a native woman, it seems escaped and rushed off to a neighbouring rancho; there were six men accomplices outside.

The rancho was sacked from top to bottom, and everything that could be carried off was taken away, trunks broken open, clothes, house linen &c. It is quite evident that the murderers counted on finding a sum of money in the house as Macdonald and Guthrie were buying stock, and it was supposed that the money might still be there.

Yesterday the friends of these unfortunate countrymen waited upon the British Minister, Sir Horace Rumbold, and we trust that he will call the attention of the Government to the matter, and the necessity of taking the most immediate steps to catch the assassins, and execute them.

This horrible crime comes at a time of increased significance. Dean Dillon leaves to-day on a special mission to foment British emigration to this country, and President Roca, as is stated in the papers, is about to propose to Congress the Abolition of Capital Punishment. The credit of the country is at stake in this matter. If the villain who seeks hospitality and in return murders his host is to escape Capital Punishment, then at least it will be well to acquaint the people of Europe with the fact. We reserve the matter for further comment.

December 17, 2007

A petition that everyone should sign.

If you're at all concerned about the protection of your personal data you should consider signing the following online petition. Following the progressive release of stories about the extreme indifference to digital electronic privacy, this petition seeks to introduce a little more accountability.

Petition to: require all organisations notify customers immediately of any personal data security breaches.

November 28, 2007

Sitting on the Ferry from Denmark

I've just had a very pleasant week in Denmark and Sweden.

The reason for the journey was Magnus' wedding to the lovely Helene in Kiaby, Sweden. I'll post a full entry on the wedding once I've had a chance to sort out the pictures. For now I'll just talk a little bit about my impressions of the countries that I've visited.

Denmark Part 1

I left England on the ferry between Harwich and Esbjerg in Denmark. The ferry operator was DFDS. It's an overnight journey arriving at lunch time. I had an excellent meal on board and fell asleep in a comfortable little cabin. I rolled off the ferry and pulled over to make my headlights legal for the journey - an useful feature of the TT is that the headlights are 'pan-european' so once you get into the housings there is a useful little switch that changes their focus.

With that acccomplished I was on my way. My first night was to be in Copenhagen so I had to drive the breadth of Denmark by check-in at 6pm local time. My route was incredibly simple sticking to the E20 the whole way the on ly complexities being some of the junctions with other motorways, remembering to drive on the right and making head or tail of the speed limits.

My first impressions of Denmark were of a neat, well organised country, the green gently rolling countryside looking very autumnal under a crisp blue sky. The towns and farms consisted of neat, low buildings with peaked roofs that, despite being completely modern, put me in minds of the long houses of old. Along the motorway were frequent places to stop, relieve yourself or even supply yourself with petrol and food. All was clean and pleasant.

Before long I had settled into a steady cruise at an indicated 110 kph and enjoyed smooth, clear motorways populated with some of the politest drivers I had ever encountered. They all understood that the overtaking lanes were precisely that and only stayed out for as long as it took them to get past the slower vehicles. My only run in with a rude driver was an idiot in a Beemer who tailgated me as I overtook a stream of cars including a police car and then roared into the distance as I pulled back into the inside lane. It was with great satisfaction that I watched the police car turn on its lights and give pursuit. I passed the Beemer soon enough sat on the hard shoulder with an irritated looking Danish policeman having words.

In a surprisingly swift journey broken by paying a toll and crossing a magnificent suspension bridge from Zealand I reached Copenhagen with a couple of hours to spare before check in and came off the motorway at a sign post for the O2. The O2 according to my map was the main way into the centre of Copenhagen where my hotel was and I was dreading a drive through a capital city. Once again I was pleasantly surprised, the drivers were marginally more aggressive than those I had encountered on the motorway but were still courteous to a poor Brit abroad.

Between my maps and a reasonable sense of direction I made my way to the hotel and found somewhere to park. The only flaw that I had discovered in an otherwise well ordered country were that Copenhagen's street signs were not always very visible from the (very) wide main thoroughfares. Parking was a doddle, finding a parking spot just around the corner from the hotel and using my credit card in an on-the-road pay machine (with a button for english instructions) to get a ticket. Prices were not exactly low as one would expect from the centre of a capital city.

The Imperial Hotel took up most of the city block and despite the huge sign on the roof had a relatively modest entrance nestled among the shop frontages. On entry I was greeted courteously first in Danish and then, when I exercised my phrasebook to explain that I spoke no Danish, in excellent English. After a short constitutional to familiarise myself with the area I had a delicious meal in the elegant 'Imperial Grill', chatting to very professional yet friendly staff. I retired to bed to prepare for the next push to Sweden an Kristianstad.

Sweden

Getting to Sweden involves crossing the Oresund Bridge. Oresund translates roughly as 'The Sound' - I'm going to assume that you all know the nnautical meanings of 'Sound'. The bridge was opened in 1999 providing a link between Sweden and Denmark. Malmo and its outlying area was relatively financially depressed but is now coming along in leaps and bounds since it is now less than 30 minutes by road from Copenhagen. Even so the bridge has yet to meet expectations for volumes of traffic, thanks in no small part to a relatively high fee for crossing. The crossing is a very impressive piece of engineering spanning more than 20 miles by tunnel, causeway and suspension bridge. Unfortunately there is nowhere to stop to take photos and as it was a grey day with poor visibility, there was no chance of photos from the shore.

The most immediate visible change on crossing to Sweden was the road signs. Instead of a white background there was a yellow one. Less obvious was the fact that the quality of the motorway road surfaces was just not quite as good as Denmark, in fact on several occasions I felt like I was driving in Britain. Past Malmo I had to come off the E20 and join the E22 which would take me directly to Kristianstad. The E22 was only a motorway for part of the way it became single carriageway on a number of occasions and frequently the speed limit was dropped to 70 or even 50 kph for a town or village that we passed through. The towns and villages looked very similar to those in Denmark, perhaps largely because this area had historically been under Danish control. The place was still very neat, but with a little more wear and tear visible than in Denmark.

Preparing for the journey I had read up on driving in Scandinavia and had read all the warnings about running into wildlife. It wasn't until I saw a warning sign followed by a brief glimpse of a rather large elk that I realised quite how serious they were. Unfortunately I was never in a position to take a photograph of this rather magnificent creature. Then again I should be rather happy as it meant that I was less likely to have one come through my windscreen; something that I understand is almost invariably fatal.

I made Kristianstad just after 1pm local time and made my way to the local hotel that Magnus had booked for me. The Hotel Hertigern was a pleasantly modest hotel just across from the station and next to the frankly magnificent brick-built 17th century main church. After a brief skirmish where I discovered that Magnus had made the booking in his name I dumped my bags in the room and wandered off to explore my first Swedish town and find some food.

I discovered the main shopping area very easily (it was started just behind the church) and shivering in the now much cooler atmosphere I went in search of education and just a little food.

Kristianstad is a lovely little bustling town. The shoopping area was packed with interesting shop fronts and they were just gearing up for Christmas. While there were many brands known to me (H&M, MacDonalds, Burger King and Electronic Boutique) I was pleased to see many small shops and businesses that appeared to be local. What I did not see was anywhere to eat except small cafes selling sandwiches. Consulting my guide book I found that Kristianstad had several restaurants - however only a few of them seemed to still exist and those that were still there were not open for lunch. Eventually I found an open restaurant - a chinese offering a lunch buffet. The staff were only too delighted to see a tourist and speak English to me. I had an excellent meal, though I was disappointed not to be able to eat 'Swedish' food. After a little more walking around the centre of Kristianstad I took myself back to the hotel and called Magnus who had kindly offered me dinner on this, the day before his wedding.

Magnus was just on his way back by train and promised to pick me up from the hotel once he had got back to Kristianstad and an hour later he appeared at my door. Magnus proposed that as Helene was working hard preparing for the wedding we should get takeaway. A few minutes later we walked into a Thai takeaway, my first two meals in Sweden were to be oriental. Interestingly the Thai food was sweeter and less spicy than I was used to in England and the Chinese food was much more savoury.

While we waited for the food Magnus and I caught up. He was working hard at Sony Ericsson and very content with the conjugal direction that his life had taken him. I told him the trivia of my life since last we talked.

The food arrived and, still talking, we walked to his flat that he shared with Helene and her two children. The flat was of a lovely design enlivened by Helene's enthusiastic dog bouncing a greeting. There was noone else there. I think that Magnus was a little surpised that we were the first ones back, but we continued talking as Magnus watered a magnificent array of houseplants and fed the dog. Eventually we worried that the takeaway was going to get too cold to be enjoyable and after failing to get through on the mobile we decided that (as Magnus put it) 'The mountain should go to Mohammed' and set off to take the food to the parish hall where Helene and her friends were setting up for the wedding.

Before we had got more than a couple of minutes from the flat the phone rang and Helene told Magnus that she was home.

We had a very pleasant evening where I met Helene's children and her best friend Mele.

I did my best to offer help with the preparations but was only able to offer a little bit of chopping before I made my way back to the hotel for a good night's sleep.

I awoke and after a pleasant breakfast faced a significant and important goal - I had to work out how to get to Kiaby before the wedding started at 4pm. I had noticed a tourist bureau the previous day and so made my way to it and within 5 minutes I had a free local map and directions from the (very pretty) girl behind the desk. I also had the impression that I now knew how to pronounce Kiaby (sch-ee-ah-bee).

A bit more time spent wandering around Kristianstad and taking photographs left me with a very favourable impression of the place and I finally found a good restaurant offering something like Swedish cuisine open at lunchtime!

After lunch I adjourned to the hotel and prepared myself to venture off the main roads and attend my first ever Swedish wedding.

Thanks to the directions that I had been given Kiaby was easy to find and I pulled up outside a simple whitewashed church with a tower that looked quite modern. Beside it was the parish hall where the reception was to be held. It was already dark, the temperature had dropped and rain was starting to fall so I was very happy to enter the well lit entry to the church.

On entering I realised that my first impressions were quite wrong. The church was much older. Inside was beautifully carved stone and wood, painted with motifs and frescoes. Already many people had gathered and I approached the lady handing out the hymn books and orders of service and there my luck let me down. She didn't speak any English! Fortunately Helene's mother appeared and told me to sit anywhere I like. As I walked past the first pew, I was surprised to be greeted by an English accent and to discover that I was not the only British person present. Sally was an old friend of Helene's mother and had also come over especially for the wedding.

Having chatted briefly and promised to talk more at the reception I wandered off to find myself a place to sit and ended up about half way down the aisle. I passed my time puzzling over the decoration and wondering why the board showed that we were to sing several psalms including 903. I hadn't realised there were that many psalms. It wasn't until much later that I realised that 'psalm' as a word was used in its original sense of 'hymn'. I was left wondering however how they differentiate between the psalms in the bible and the hymns sung from a hymnal.

The wait was enlivened by the arrival of some of the more unusual friends including a girl in full Japanese costume despite looking entirely European and a range of interesting hairstyles and colours.

The priest appeared at the front of the church and spoke to the congregation in Swedish. I knew that Magnus and Helene approved of him greatly and I certainly felt that I liked what I heard and saw of him. To this day I still have no idea of what he said but it caused the congregation to nod and laugh.

Before long the Maid of Honour (Melinda), the Best Man (Helene's brother), the bridesmaids and the pageboy appeared. I had pointed out to Magnus and Helene the night before that in the past the Maid of Honour and the Best Man were there so that if either the bride or groom were absent a marriage would still occur...

Then Magnus and Helene started their walk down the aisle, Helene on Magnus's arm. Apparently the Swedish church had decided that having the father of the bride give here away was too chauvinistic so they were discouraging the practice. I personally feel that they should have said that either the bride isn't given away or the groom's mother gives him away too.

Magnus was (disappointingly) not in a kilt, but was in a very elegant morning suit. Helene was radiant in a beautifully simple strapless wedding dress with a vestigial built-in train. A sheer wisp of charcoal fabric draped over her shoulders and a simple floral headdress.

Magnus and Helene both looked tired but very, very happy as they walked down the aisle arm in arm. It had been a long day, apparently they had only managed a few hours sleep before getting up at 6.

The service started and I dumbly stood up, sat down and kneeled at the same time as everyone else. Mercifully the service was short and I was largely able to follow the structure of the service (momentarily dazzled by flash photography at the 'You can now kiss the bride.').

After the service we stood outside and many, many photographs were taken before the weather forced us into the parish hall for the reception. Unfortunately any seating plan was kicked into touch by the outbreak of a virus that had prevented ten people from attending. However Sally and I were looked after and an English speaking table was instituted.

The reception was a blast - everyone was very kind to the poor benighted English speakers and I really, really enjoyed myself. Thank you to everyone.

The food was excellent including two cakes. One of the cakes that was very similar to a Lithuanian one that I had tried that effectively was an immensely tall meringue cone that had been cooked on a spit over an open fire.

After the food was the inevitable disco - of which the less said the better. If you can imagine all the most mainstream, turgid pop of the early to mid eighties...

Eventually, replete on good food and good company I adjourned to the Hertigen.

TBC

November 02, 2007

Milk and Paprika Fried Chicken with Citrus Sauce

One of my recipes that my sister has wanted for ages.

The ingredient list is per person and can be scaled up appropriately.
  • Chicken Breast
  • 1/2 pint of milk
  • 50g Corn Flour (Corn Starch in the US)
  • Seasonings
    • 1 tsp. Paprika - Smoked for preference.
    • 1 pinch Salt
    • 1/2 tsp Dried garlic powder.
    • Alternatively use Schwartz Season All - 1 1/2 tsp.
  • 1/2 lemon
  • Good quality vegetable oil (sunflower or avocado are good)
Chop the chicken breast into strips and marinade at least overnight in the milk in the fridge. You can marinade for up to 24 hours but take care past that.

Remove the chicken from the milk shaking off any excess liquid. The milk will have sweetened and tenderised the chicken due to an interaction between the enzymes in the milk and chicken.

Pour a goodly amount of oil into the bottom of a frying pan and start to heat.

Put the corn flour and seasoning in a plastic bag, shake. Add the chicken pieces and shake until they are well coated in the corn flour and seasoning.

Take the chicken pieces out allowing the excess corn flour to fall back into the bag.

When the oil in the frying pan has got hot enough to have a shimmer above it (but not catch and burn) add the chicken pieces. Cook them for about 5-10 minutes depending on how large they are so that the outside is crisp and the chicken cooked.

While the chicken is cooking it is time to make the sauce.

Put the marinade into a saucepan and heat. Bring it to the boil and you will notice it start to clump. Add the juice of the lemon and a little zest and bring back to the boil. Reduce the heat so it simmers gently.

The sauce will curdle further.

Finally, depending on how thick you want the sauce, take some of the coating mix from the plastic bag, add a little water to form a smooth emulsion and add to the simmering sauce. This adds the flavours of the seasoning to the sauce. Allow the sauce to thicken. If you want a smooth sauce - blitz it. I personally quite like the texture of the sauce as is without blitzing.

Serve the chicken on a bed of noodles with a crisp side salad and pour the sauce over the chicken and noodles.

October 04, 2007

A New Combination of Flavours

Well, my time off has given me back my leisure time and I have been pursuing a number of projects. All of which will be blogged here some time soon. The first and simplest one is a new combination of flavours that I have found that works really, really well.
  • Fennel Seed
  • Szechuan Pepper
  • Garlic (smoked if available)
  • Avocado Oil
  • Lime Juice
It work brilliantly well either as a marinade for fish, poultry or quorn or as a salad dressing.

First grind about a teaspoons worth of fennel seed with the same amount of the pepper in a pestle and mortar Then chop a large clove of the garlic roughly and grind together with the fennel seeds and pepper. Scrape the micture out in a bowl and add the juice of one lime before pouring in about three times as much avocado oil.

If you're going to use it as a marinade; it can be a good to add a tablespoon of corn flour (corn starch as the USA has it) and beat thoroughly to help it coat better.

As a salad dressing use sparingly as it packs a punch.

July 31, 2007

The TT has landed.

Well, my car arrived last Friday and in between the fun of running it in I've taken the time to take a couple of photos...

July 11, 2007

Is Writing Software an Engineering Discipline?

The answer is a very and extremely definite - no.

There have been many learned and wise discussions on this topic. Some people believing that it is an art and other people people believing that it is engineering. I vociferously straddle the fence and state clearly that we are all artisans. We, like the medieval cathedral builders, partake equally of art and science to build our towering edifices.

The simple fact is that for the majority of projects we still can't properly predict the time and effort required to complete them. We are not methodical enough and have yet to build up the corpus of knowledge and expertise to bring true science to our discipline. We are at the most creative phase, where new problems and new solutions are being devised all the time. We are slowly going the engineering path, using patterns and other tools to start to define best practices, but we are not there yet.

There is one major thing that I believe that people working in software can learn from engineers: The fact that all true engineering is a methodical approach to compromise.

Too many people fail to understand and manage the fact that every piece of software is a balance between competing technical, business and personal concerns. We are still artisans because personal opinion still is the best tool in determining the compromise that is reached and so many of the so called 'methodologies' are nothing more than snake oil.