Home | Blog | Publications | Photos | Services | About | Contact

Blog Archive - April, 2004

Back to Blog index.

Fri, 30 Apr 2004 14:20:40 GMT:
Fragile mind

A person important to me became ill, and needed to be taken to the hospital.

As I didn't have much information about her illness, I decided to find more information from the Internet. One good site I found is called MTV3's Poliklinikka, available at www.mtv3.fi/poliklinikka.

Getting more information about her illness calmed my mind. Hopefully she's soon back with us.

Happy May 1st!

Sat, 24 Apr 2004 08:19:11 GMT:
SQL Server batch queries

SQL Server has a powerful feature called batch queries.

The ASP.NET Pro magazine has a nice little article how to use them efficiently from .NET applications.

But time flies, and I need to head my bike towards Martinlaakso.

Sun, 18 Apr 2004 06:36:42 GMT:
Early birds

I decided to make my daily bicycle trip early in the morning to avoid congested roads.

As the sea is soon free of ice except in the remotest bays, there are also many (sea) birds to spot.

For example, during my trip I spotted swans, gooses and even some grebes, not to mention the more common brids like gulls and wild ducks.

Sun, 11 Apr 2004 16:29:26 GMT:
Array alternatives

As I'm learning .NET programming, I've often wanted to add elements to an array once it has been constructed, and get the index of a given array item.

So far, I've always constructed a new array or scanned the array using a for loop, but today I noticed the System.Collections.ArrayList is just what I have been looking for.

With it, you can add elements freely, and also remove them.

For searching, I noticed that you can use the System.Array class, as everything in .NET is actually an object.

So, to get the index of, say, a string in an array, you could use the following construct in C#:

string[] myArr = new ...;
int index = Array.IndexOf(
  myArr, "lookup value");
if (index >= 0)
{
  // found
  ...
}

Quite easy, once you know it, right?

Thu, 08 Apr 2004 16:30:17 GMT:
Curvy road to Porkkalanniemi

As the fine Easter weather continues, I decided to make a quick trip to Porkkalanniemi.

The paved road that leads there is very curvy, which makes it fun to ride with a bike. However, some turns are quite sharp, so don't drive them too fast.

But once you can see clearly where the roads leads, open the throttle, and ride like the wind!

Thu, 08 Apr 2004 06:14:55 GMT:
New magazine article: using DPAPI

The April 2004 issue of Hardcore Delphi published my latest article.

The title is "Using DPAPI to Protect Your Secrets", and the article demonstrates how to use Delphi 7 to utilize the Microsoft Data Protection API from your own applications.

Tue, 06 Apr 2004 17:16:40 GMT:
Gotta be careful where you park your bike

I was a bit surprised this morning when I saw my bike moved to the green grass on the neighbouring house. The thing was that I didn't notice that every first Tuesday of the month is a road cleaning day on my home street...

Yeah, those guys had simply lifted my bike there, but they were nice to put a stone beneath the side stand, so as the bike would not fall on the soft ground. But, the chill greetings will come by post later, maybe a 50 to 60 € fine.

Mon, 05 Apr 2004 07:19:57 GMT:
Spring trip to Porvoo

Yesterday was a great sunny day, so I decided to ride my bike to Porvoo. The weather was pretty cold, about +5 centigrade, but the roads were dry.

I wanted to visit the old Cathedral, but of course I forgot it was the Palm Sunday, which meant there was a service requiring a 10 € ticket. So, I only got to photograph the building from the outside.

Fri, 02 Apr 2004 13:02:51 GMT:
Start of the biking season

Tuesday this week was the day when I took my bike out of the garage.

It is still quite cold (and slippery) outside, and not so many bikes around, but the coming weekend will surely get them out.

 

› Blog Archive