Friday, 31 October 2008

What a mess!

Oh no, such a big shit. Yesterday evening a heating pipe broke, fortunately not in our renovated rooms. So now we've got no heating over the weekend, while the outside night tempratures are about 2°. *shiver* But the technician ensured hot water and provided us two fan heaters. So it will be ok until the leakage will be fixed on monday.

At least there has been one positive event yesterday: I've received my passport including the visa for my trip to India in November.

Tuesday, 7 October 2008

SOA India 2008 - Visa invitation

So, I've received the visa invitation for the SOA India 2008. The last time I've needed a visa has been in 2001 for my Boston visits. It has been before 9/11, so I just got the stamps into the passport at the airport. Now I've got to contact the consulate. Times are changing.

Once again impressed

Yeah, once again I'm empressed by the power and beauty of Erlang. This time I've had to solve the task that all services inside the Tideland EAS have got no problem to talk asynchronously between each other while external event publishers had no chance to receive possible answers. So I developed the temporary event listener which subscribes - as the name is already implies - temporarilly to a channel and a topic together with a given timeout using eastel:new(Channel, Topic, Timeout). It immediately starts to collect the events it receives. Now the publisher can send his event. Afterwards it can fetch the fist matching received event using eastel:first(FMatch, TelId). If it has already been received the function will call immediately. Otherwise it will wait until either the right event will be received or otherwise the time is over. Really nice.

The whole thing is a combination of a gen_server, pattern matching, and funs. And it's a real simple and compact piece of code. In most environments it would have been a more complex solution. And I think only Smalltalk would be a good candidate for an alternative implementation, with more code, but also with a better readibility.

Wednesday, 1 October 2008

Preparing two presentations

I'm verry happy that I've been invited to give two sessions on the SOA India 2008 in November in Bengaluru. They first one is about modern software architectures on multi-core, multi-processor systems and in distributed environments like SOA, EDA, and clouds. So it's a more technical session. During the second one I'll introduce into the ideas of agile processes and how they can also help to lead SOA projects to a successful ending.