Tuesday, September 15, 2009

Klicknation Lies



http://klicknation.com/
So here i was going through this add i got through this site i found through google ads, Klicknation. I figured I'd go through the site since they seem to have a 'catchy' name. They have this installation counter on front page like the one i've attached. so me being as curios as i was , wanted to find out how they update their 'installs' counter coz i remember firefox has one too. I went through the site code and they slapped on a simple javascript counter that just randomly comes up with a number. Those are not installs ,its just a number generated from the date. code below, Shame on you!!!:


var date = new Date().getTime()/1000;
var count = Math.round(7103455+(date-1234398246)/9);
function addCommas(x1)
{
var rgx = /(\d+)(\d{3})/;
while (rgx.test(x1)) {
x1 = x1.replace(rgx, '$1' + ',' + '$2');
}
return x1;
}
function inccount()
{
count = count + 1;
out = document.getElementById('counter');
out.innerHTML = addCommas(count.toString());
}
window.setInterval(inccount, 5000);

Wednesday, September 9, 2009

DVD not read under linux but read under Windows

So, today my dvd rom drive just decided not to work. I thought it was a dirty laser or something. Cleaned that but still it would not budge.
I then tried to manually mount it by adding the following entry to etc fstab:

/dev/sr0 /media/dvd auto,iso9660 ro,user,noauto,unhide 0 0

and running: mount /dev/sr0 as root on command line
now i can't be doing this everytime i pop a disk in drive. I mean its been working before.
After a few searches i came across this entry made by Hal that has been causing this whole mess.

in
File: /etc/hal/fdi/information/media-check-disable-storage_model_$YOUR_DEVICE.fdi


\false\



If the key is set to false (it was in my case), all you have to do is to change the value of the key to true.

good luck.
I'm using Fedora 10 x86

Wednesday, December 17, 2008

Hello Gnome

So a couple of weeks ago i made the bold move to move from opensuse 11.0 to Fedora 10. My take on it.., i aint looking back at all. I'm actually impressed. I have to admit though, i kinda miss YAST, that there is a jewel. it will take a lot i guess to get a replacement. Yum seems to do the job, I've upgraded to yum presto, its a bit faster.

One thing though i've noticed is , gnome seems to be polished now. I remember using gnome on Redhat a few years back.It was not exactly the best thing, and made me choose KDE. Speakin of KDE, it seems to be getting blotted, or maybe its my suse 64bit installation. I had kde4.1, and i have to admit maybe i'm one of those guys who just want to resist change, but the idea of having to use a widget to access my desktop wasnt working.

I use java a lot in my day job, and i've found gnome isn't that resource hungry compared to kde. I'm now using gnome and happy.

Thursday, November 20, 2008

Gmail Now Has Themes!!!

Need i say more besides, sweet!!!

Friday, February 15, 2008

Crazy Thing Called Life

......................its that crazy