Posted tagged ‘Development’

/dev/india – Day 0 – Every story has a beginning…


Hello and welcome to the /dev/india blog series! In twenty-three posts, I’m going to detail every day of my journey to the suburbs of Mumbai to participate in an internet venture.

Some backstory
A few months ago, my friend Oskari got me involved in a very interesting internet venture, a project that I have been doing part-time since. With the head of the project, Paul, and his marketing expert Hermine we decided to start an office in India to speed up development, my trip to the suburbs of Mumbai marking the beginning of the final push before the first private beta testing.

This blog series will last for twenty-three posts, from June tenth (Day of travel to India) to July third (Day of return to Sweden)

PS. The day of writing for this post is June 15th. Due to spotty internet connectivity and lack of time during my first days in India, I have not had time to post in the first few days. I am working on the backlog and will have everything posted as soon as possible until I get back in sync. DS.

Optimizing the JAVA QuickSort implementation – a real-world study


I recently found a report I wrote on JAVAs quicksort algorithm as part of the INDA course last year. I read it through and it’s actually pretty interesting stuff if you’re interested in how QuickSort works and how we can optimize the algorithm for specific data sets. So I figured I’d release this for anyone who is interested! I’ll gladly accept comments on the report, so don’t be a stranger!

The abstract below:

In this report, we examine four implementations of the famous sorting algorithm known as QuickSort – the optimized one included in the Java API, and three barebone versions that we write ourselves. We then put these algorithms against each other to see which one is faster in sorting arbitrary and sorted data. We discover that whilst the Java implementation is the best in some cases, it can also be easily outperformed if you know a lot about your information.

You can download the report below (421KB PDF)
Mirror 1
Mirror 2 to start charging for listening to radio stations


last-fm-logoYarr, I wants your monies!

…except if you live in one of the “fab-three” countries: The United States, United Kingdom or Germany. crew made the startling announcement a couple of weeks ago, and recently revisited it in another blog post postponing the decision somewhat but their goal remains unchanged.

Now what really aggravates me is the fact that these three countries can already play full-length tracks on demand, in a similar fashion to Spotify. Now not only will they be able to keep doing that – absolutely for free, but the rest of the world will have to pay for simply accessing the radio feature, which played either tracks from a genre or your personally recommended tracks based on what you had listened to earlier. It doesn’t end there, they’re taking the opportunity to also increase their subscription pricing. A quick visit to the forum topic regarding the blog post reveals I am not the only one in anger over this sudden move. This is definitely carrying things in the wrong direction. I have always been a strong supporter of and a subscriber for many months. I had high hopes of it being a strong contender in the music-on-demand race against Spotify in Sweden and was pleased when the on-demand feature was launched in the “fab-three” countries.

I won’t close my account like many in the forum post have threatened to do, and I completely understand’s reasoning behind this – some things aren’t economically feasible, but that doesn’t mean shutting a large part of the community out is a good way to proceed. Especially not for a site like which is mostly community-driven. That’s just not the way I remember the spirit like when it first started as a grassroots project many years ago. (I’m sure the CBS acquisition a couple of years ago has played its part.) Like one user cleverly pointed out – if is economically feasible in some countries, why not cut some of their features and let the ad revenue temporarily subsidize the other countries while they work on deals there?

Much has been said on the topic and I have a feeling the discussion is not going to end here, I just hope they pull themselves together before this all falls apart.