Archive for the Technology Category

November 14th, 2009

Mac troubles, part two

Issues with my Mac continued, and the backup failed several times — I checked the problematic file, deleted it, and then tried again. No avail.

On Tuesday, I made a full copy of my working files to a server in the network. Then I continued to rescue my hard disk, finally getting into situation in which my Mac would not boot — except into single mode. Apple’s disk “repair” program “repaired” my disk into an unusable state. It was readable in single user mode, but OS X’s graphical front-end was broken on the disk, due to a bad block.

I had to purchase a new hard drive, that fortunately was available in 24 hours, and install the whole system again. This took most part of Wednesday afternoon and evening. I got the system up and running just before midnight, when the Time Machine backup was restored.

I installed OS X first from scratch, and then restored the backup. This resulted a situation that some of the settings, such as contents of /etc directory were not restored. Some settings, like my custom keyboard was restored with no issues. I copied the old contents of /etc to my desktop, and I have since then copied stuff to the current /etc when something is not working as expected.

I would probably have avoided this issue by running restore while installing the OS. When everything was done, it was too late to start from scratch.

My computer is now faster than earlier, so probably the disk has been somewhat broken for some time.

This is now third or fourth disk trouble that we’ve experienced in the company during this autumn. Either we have had really bad luck, or Apple’s quality is deteriorating. I suspect the latter, as some of my friends have experienced similar issues with their laptops.

Further, HFS+ sucks as a file system. It cannot recover itself from a bad block, and the tools to fix disk issues are really bad. They cannot do much and then they don’t tell you anything informative. Time Machine is extremely bad in the latter sense. There’s never any reasons why the backup failed. Is it so hard to make a couple of informative error messages.

It’s sad that ZFS project went bust, as Apple needs to have a better filesystem. And they should also invest a bit more money to have better quality hard drives. These issues — along other hardware issues that we’ve experienced in the past — should not occur with hardware priced like Apple’s.

March 1st, 2009

New website for Exove

I’ve updated the website of my company, Exove, last Thursday.

After spending three months of getting the design and the implementation just right, the site has been finally released. I never thought that making a company website for a company that makes websites for other companies would be this hard. But we are more engineers than copywriters…

During the development, I implemented a specific plugin to WordPress to create some dynamic parts of the site, such as carousels and accordions. They pick their content from a set of other pages, so your textual content does not get crowded with HTML.

The site is bilingual and for that I needed to reimplement quite a big portion of functionality of WordPress theme tags. These are in a specific class that gets instantiated using Singleton pattern in every theme file, and then provides site menus and other similar content in a proper language.

I found a lot of limitations in the current thinking of WordPress themes. Someone should reimplement the theme support with Smarty to allow better flexibility and control of the content. Now, WordPress provides too much HTML from inside.

Maybe I’ll roll my sleeves when Exove updates their website next time…

August 8th, 2008

Visited TripSay launch party

A new travel service with Web 2.0 twists was launched yesterday. Check it out at www.tripsay.com for more information.

I happen to know a couple persons in the company behind the service, and have been discussing with them about the system along the years. Yesterday there was a launch party in their premises, located in the design district of Helsinki.

Unfortunately I hadn’t enough time to mingle with all friends and acquittances, but meeting people even for a small amount of time was uplifting — need to do more of that in the future.

July 5th, 2008

The most expensive glass of Pepsi ever

Wednesday seemed to be one of those normal hectic days at the office; emails were flowing and people were calling me at such a pace that I barely got myself out of the office to grab a sub for lunch.

The atmosphere changed drastically when I tried to savour my lunch between phone calls, and suddenly I knocked off a glass of Pepsi Max to my dear MacBook Air. It was a small wine glass, half full, so not that much of liquid — but it managed to splash shock middle my keyboard.

I instantly turned the laptop over and dried it with a bunch of paper. It seemed to be intact, so I continued working and went to a couple of meetings to a customer. While there, the keyboard started to send extra keypressed, from the QWERTYUIOP row. A dash of letters appeared three times during the afternoon.

When I got home, I plugged in my Time Machine hard disk to backup the system. I also opened Aquamacs to grab the keyboard input. When the backup was over, there were more than three thousand letters in the Aquamacs window. All from the same row.

Other rows had stopped working, too. I tried rebooting, but no avail. External keyboard worked, so I could log in and make another copy of my working files.

The rest of the evening was spent with friends, so I couldn’t worry too much of the computer. Thursday saw me copying files from Air to my old G4 12″. The old laptop wouldn’t recognise the backup disk at all, so I ended up copying 1.2GB of stuff with SCP.

While copying, I also upated Office, Thunderbird, Camino and Adium to newer versions — time seems to take its toll on software pretty fast.

Finally, the copy was ready and I walked to Humac, an Apple reseller and service center a couple of kilometers from the office. I (or Exove in fact) paid extra 75€ to get the system inspected and fixed right away.

They called me later on Thursday, informing that only the keyboard had got wet and changing it would cost 400€. What else can you do but just accept the price?

I gave the permission and they called me on late Friday afternoon. The laptop was fixed and available for picking up. I dashed to the store, got Air back with a shiny new top cover including the keyboard and trackpad.

Maybe I should invest to some kiddy mug or similar that can’t be spilled over…

February 20th, 2008

First Finnish spams

I just received my first Finnish language spams ever. And when it rains, it pours. I got the same message several times (no wonder), and then also some different messages. Someone has inserted Finnish language files to some bots.

The first mail batch was peculiar. Nothing to do with the normal spam stuff, but it was about a nuclear reactor meltdown in Mikkeli. Rather odd message to be sent as spam, but probably tries to lure people to click on the link at the end to get them infected with spyware or something. Don’t know, didn’t try.

The message would have been more effective, if a) the sender would have had a Finnish name and b) there would be a nuclear power plant in Mikkeli. At least spammers got the name of the town right.

Jokes aside, I think that this development is alarming. There are a lot of people, especially older ones, that do not speak English or any other foreign language in Finland. They have been protected from spam threats by natural means, but now that protection is going to wear off.

I do hope that my parents are not fooled to click on the links, or I end up running anti-spyware tools all the time for them. Better call them tonight.

February 9th, 2008

Changing hosts

I’ve been forced to move out from my current hosting company (OnSmart) as they are moving out of business.

They first lost one domain for me (kept the money, though) and then had radio silence for a couple of weeks — until today they informed that they are swiftly going out of business. I had reacted a few days earlier and moved to HostMonster.com.

The site moving was surprisingly painless. I made a tarball of the files and dumped the databases, unpacked the files to the new location, and recreated the databases from the dumps. A few configuration file needed changing and then everything works ok. Or at least it looks like that. If you notice any glitches, please inform me.

Fortunately, nomadig.com is not registered through OnSmart. Better keep my domains and hosts in two different vendors.

October 26th, 2007

Enterprise 2.0: Business in the network

Some of my Finnish readers may know that I’ve been participating in Enterprise 2.0 ebook project. My chapter related to doing business in the network in modern age has now been published. Unfortunately, it is available only in Finnish.

July 17th, 2007

Gunnar Selheden, were art thou?

I’ve recently received a huge amount of various spam messages that have been addressed to Gunnar Selheden @ various domains of mine.

In the past, the spam has arrived with various addresses that are just random. This behaviour has changed a bit for now, and maybe in the future there will be more poor Gunnars as recipients.

I’m curious to know where the name has been picked up. Probably I’ll never know (but you never know).