Archive for the ‘Uncategorized’ Category

Add an sitemap to your web site easily

Friday, November 13th, 2009

Surf to XML-Sitemaps.com, fill out your web site’s URL and let it generate your sitemap automatically.

GameSeat.be (finally) launched

Thursday, November 12th, 2009

GameSeat.be gives everyone the opportunity to enjoy virtual rides with his/her dream cars. You can rent a steering wheel, a racing seat, a monitor, … or everything as a whole for one day or more.

Ideally for the car enthousiast or console racer who normally doesn’t have the place to store such racing seat and occasionally wants to enjoy the ride of his life in his living room. Top: check out rFactor!

The website is built using Vici MVC, a open-source lightweight and powerful ASP.NET MVC framework (part of the Vici Project).

GetHashCode() in .NET 1.1 vs .NET 2.0

Thursday, February 19th, 2009

notepadd

When migrating GarageTV from .NET 1.1 to .NET 3.5 I ran in a “strange” problem.

It seems that there is a SearchBarrel table containing the links between keywords and posts (and some other info like keyword weight etc), so when a search is made you simply do a select using this table.

But… the keyword is hashed using String.GetHashCode() and that’s stored in the DB. Not clever it seems, because the GetHashCode() in .NET 2.0+ differs from the .NET 1.1 version.

Quote from MSDN: Prior to the .NET Framework version 2.0, the hash code provider was based on the System.Collections.IHashCodeProvider interface. Starting with version 2.0, the hash code provider is based on the System.Collections.IEqualityComparer interface.”

And for your information I’ve found an implementation of the GetHashCode() of the .NET 1.1 version, so you can use this method in .NET 2.0 projects.


Int32 HashString(String szStr)
{
ulong hash = 5381;

foreach (int ch in szStr)
{
hash = ((hash << 5) + hash) ^ (ulong)ch;
}

return (Int32)hash;
}

So… enjoy.

Moonlight 1.0 released: brings Silverlight to Linux

Thursday, February 12th, 2009

You can download the Mozilla Firefox plugin at the official Moonlight website. Enjoy!

Songbird 1.0 finally released

Wednesday, December 3rd, 2008

After about 2 years of development, we can finally embrace the first major release of Songbird. It’s an open-source media player using the Mozilla Application Framework that has the capability to surf the web and is able to play, queue or subscribe to embedded media from a web page. Video support isn’t all that super, yet!

There is support of portable media devices, although the support of iPod devices is limited. As a (might-be-maybe-we-will-see) future owner of an iPhone, I would love to see Songbird supporting it. I do not like iTunes at all.

And of course… it’s cross platform! So your Mac, Linux box or Windows PC will happy to run it for you.

UPDATE: After writing this post I searched around a little and came upon this page: 10 Alternatives to iTunes for managing your iPod. Enjoy :o)

My “porn” contribution scores 5th in Google

Monday, November 3rd, 2008

Searching on the keyword “porn” in Google makes a contribution of mine to GarageTV shown on the 5th (or 6th) place… Strangely, the traffic of this video clip skyrocketed this weekend :)

I hope a lot of people clicked the ads…

PS: Funny sidenote… The AdWords under the video clip contained an ad for job vacancies at the National Railway Company of Belgium (NMBS/SNCB).

Belgian ISP Scarlet vs Copyright law: 1-0

Tuesday, October 28th, 2008

Belgian ISP Scarlet has scored its first victory in an important case that has been dragging on for years. This case is the first real test of how European copyright law can be applied to peer-to-peer networks.

More info: Article (with links to related stuff) on Security and the Net

Linux 2.6.27 is out…

Friday, October 10th, 2008

The whole shebang of changes, improvements and new drivers can be found on Linux Kernel Newbies.

Linux 2.6.27 Changelog