Share keyboard and mouse between OS X and XP


(It’s more fun when you’re two. Photo by me.)

While I love my Macbook there are still a few programs I need Windows XP to run, especially when you’re doing MIDP development as I happen to be doing at the moment.

So, I had to dust of my old PC and put it beneath my rather small desk. The problem then is that I don’t have room for two keyboards. What to do?

Synergy to the rescue!

Synergy is a program that lets you share mouse and keyboard between two computers using the network. It works really nice, even with simple copy-paste between the OSs.

The installation is not quite as straight forward as one might like so here’s a video showing how to set it up.

Posted in Software | Tagged , , , | 3 Comments

Learning a new language


(Photo by me).

I just started reading a book about Cocoa Programming for OS X. (This one). Cocoa uses Objective C, which is somewhat different from C, C++ or Java that I’m more familiar with.

Learning a new programming language is really like entering a new world. You are naked. You don’t know how to solve even the most basic task. It’s a bit scary but also refreshing. You’re being forced to think out of your ordinary little box.

I should do this more often.

Posted in Software | Tagged , , | Leave a comment

JMUnit: simple and good enough

I ended up using JMUnit for my mobile java project. The Sony Ericsson jUnit tool is great when you have to run the tests from a PC on a real device or from a “real” jUnit application. It’s a more advanced tool, but for my needs at the moment, it’s a bit overkill.

So I ended up with what can only be described as the direct opposite: JMUnit is extremey simple. If I change my mind in the future, converting the test cases to jUnit shouldn’t be too difficult.

Posted in Software | Tagged , , , , , , | 1 Comment

Unit testing java mobile

I used to work for Sony Ericsson and my first job for the company was developing the J2ME SDK. The last thing I did as a developer was initiating the Mobile jUnit development (another guy finished it, though, and he should get the credit for it becoming a great tool.)

This was a couple of years ago and now when I am in the need for a unit testing framework for Java ME it seems not much has happened. There seems to be basically three options and none of them seems very actively developed. I wonder why.

Posted in Software | Tagged , , , , | 1 Comment

Using iMacros for testing

I’ll try using the iMacros Firefox plugin for testing a web service I’m developing. Will get back on how good it works.

Speaking of Firefox plugins, Firebug is a must have if you’re doing web development.

Updated: a quick test and comparison to Selenium makes the latter the winner for testing.

Posted in Software | Tagged , , | 3 Comments

Subversion and dav using https: Method PROPFIND is not defined

The following error message can occur when trying to use subversion on an apache2 server over https and dav:

501 Method PROPFIND is not defined in RFC 2068 and is not supported by the Servlet API.

The error message is quite misleading. It can be caused by a simple misspelling of the server. In my case I tried to connect to zyx.server.com when the actual address was xyz.server.com.

Posted in Software | Tagged , , | Leave a comment

The beta is dead, long live the beta

Beta is not what it used to be.

It used to mean “buggy and unusable”, meant to be used in a transition phase from development to finished product. Now it means “usable, but still under development” or “we’re still adding new features” – or maybe just “free”. That’s slightly different.

Well, it’s actually very different.

The change is of course due to the internet and the ever more powerful web browser as an application platform. Moving your application to the internet means moving them into another heartbeat rhythm compared to the heydays of Win32 applications (or any similar platform of course). You’re going from nothing, nothing, RELEASE, patch, nothing, nothing, RELEASE, patch, nothing, nothing… to release, release, release, release…

Needless to say this has a major impact on the development process used for building the software. Feedback from users is instantaneous, updates can be applied in a flash, downtime affects every single one of your users and best of all – no one has to install anything.

This should of course influence how you manage your software project. When the cost of each new release goes down, you can make many of them. The beginning and the end of the project might be unclearer, it’s more of an ongoing upgrade and improvement.

There are books written about software maintenance. That used to mean the phase of development after the release.

Software projects of today are in a constant maintenance mode. Beta has gone from the exception to the normal state of things.

So, maybe the software maintenance face is a thing of the past, but the beta is more alive than ever.

Posted in Software | Tagged , , | Leave a comment

About competition


Meat

You might be the king of your field, but to someone else, you’re just dinner.

Posted in Software | Leave a comment

About comments


Dart is a tree

What does the sign mean?

When you comment your code, what you express might seem obvious and easy to understand. But what happens after some time has passed? Will it seem as obvious then?

Good code never makes the reader confused.

Posted in Software | Tagged , , | Leave a comment