Solving the alt-tab problem: My solution

Tags:

Lately there’s been some discussion about “the alt tab problem” – In other words, when you have lots of windows open and when working on something you constantly jump between a few of them. Basically when doing this, it becomes tricky to recall which window you get when you alt tab once, or twice, and so on. If you’re not …

Drawing diagrams with JavaScript

Tags:

Opera was holding another widget competition, this time for more desktop application type of widgets. I was working on a widget as well, but sadly did not have enough time to complete it. Part of this was due to problems that I ran into in development. The widget was going to be an easy to use diagram editor. I managed …

Using Dojo’s dijit widgets for simple controller/view layers

Tags:

More complex JavaScript applications benefit from the MVC pattern just like other sorts of applications. Just like for other sorts of applications, there are dedicated MVC libraries for JavaScript, such as JavaScriptMVC. Dojo, in my opinion one of the most powerful and flexible JS libraries, can be easily adapted to provide a reasonably well working MVC scheme, so why use …

Come to the best LAN party of 2010, Solid Mojo @ Vantaa 14th May

Tags:

If you live in Finland or just happen to be in Finland in May, come to this year’s best LAN party event, Solid Mojo! I will be there so if you want to come laugh at me or something that should be possible too. With 1 000 places for computers, lots of activities and competitions, it will be a blast. …

Password policies generally suck

Tags:

The other day I was talking with someone about passwords. They had a policy that you are not allowed to use your old passwords again, and that got me thinking: Is this actually improving or reducing password safety? Especially bringing this topic to spotlight today is a recent password leak from a popular finnish online game, Älypää. Their site was …

Google Nexus One review: Is it a superphone?

Tags:

For the past few days I’ve had the chance to use the Google Nexus One as my phone. Now it’s time for the bottom line: Is this phone great? How does it compare to some other smartphones, such as the Palm Pre or Nokia’s N900? Read on for a thorough look at various aspects of the phone and how it …

Should a failed function return a value or throw an exception?

Tags:

You have created a nice, well written function, but you realize you forgot something: The failure case. What should a function do when it fails? There are two schools for this – the “throw an exception” school and the “return an error value” school. But which of these is the correct approach?

Benefits of Developing With Microsoft AND Open Source

Tags:

The Internet seems to be the latest battleground for the computer age-old struggle between Microsoft and open source solutions. For some reason, many web developers like to engage in holy wars over various web site hosting solutions and development platforms, fiercely defending their beloved vendor’s suite of products. They battle over their particular setup so much they block out any …