On SourceForge.net (Part 2)

I just released the latest version of my UUID Generator. Now as 0.3Beta, moving away from Alpha status. Not to sure what is the proper distinction between software in Alpha and Beta Stage. Despite the very limited amount of functionality my tool offers, it is still a good exercise to understand the logic of SF Open Source projects. I created feature requests, one of them is in the new release. Still observe the ranking, interesting enough in the second week it shot up to rank 998 then after a couple of days inactivity down to 2268. Now with the new release up to 1924. Guess it is the same like with blogs, you dont write, no visitors. With new entries visitors come back. Thanks 😉

I am browsing around SourceForge.net and check out other projects. Not sure how many projects are there in total, but there are many dead ones, also test rubbish with big title and ambitious description but no activity at all for months (years). I also notice that only serious projects do bugtracking and have a active forum. Almost no project offers documentation. Reflects a bit the real world though.

UUID Generator 0.3B

UUID Generator 0.3B

Project site at SF.net (link)


About unique numbers and ID’s

I am sure everyone of us had the requirement to save data in a DB, a hash or whatever. Most of the times we were creating this unique numbers, often used as keys for reference, by ourselves simply counting +1. Sooner or later we realized, oops I used the number already or I need to merge tables and now we have duplicate ID’s and so on and so on. Most DB offer some auto-increment feature or you make use of the row-id as oracle create one (internally for each record). I came across the UUID (wikipedia link), which is a universal unique ID creation method. In Java its damn simple to create one:

import java.util.UUID;
UUID uID = UUID.randomUUID(  );

I worked once for a company which used long integer as their ID field. The max value is 2,147,483,647 and recently they hit the limit facing the problem of hardcoded long integer all over the sourcecode and DB. I guess the UUID would help (using it from the start).
Remark: Putting in a lot of brain power they fixed the problem without refactoring about 1 mill lines of code.

With the help of 122 significant bits in a version 4 UUID you can create 2^122 (5,316,911,983,139,663,491,615,228,241,121,378,304) numbers ! Enough for the lifetime of this universe !