Archives for November 2006

Get rid of Sina Mail’s ads

I got really sick of the stupid ads while sorting my inbox today, so I crawled around the code and found a good set of lines for knocking out their hidous ads. Put these in your Firefox userContent.css file.

Don’t know what userContent.css is? Google it.

/* Ad rows in the mail window */
table[id=”tbList”] tr[bgcolor=”#ececec”][height=”26″] {
  display:none !important
}

/* Big stupid banner ad */
div[id=”bxAd”][style=”padding-bottom: 3px;”][align=”center”] {
  display:none !important
}

Are you hardcore?

My friend from college, Jimmy, is in town these days to get some extra pages stuck in his visa. He currently lives in China’s frozen north out in the wasteland that is Inner Mongolia.

We were coming back from the train station and decided we needed food, so I suggested this little restaurant near the gate in the west of Shuang Hua Yuan. I’ve eaten there before, and while their food isn’t too bad, it didn’t strike me as the cleanest place. Imagine a 40 year old A&W located in the armpits of Detroit and you will have a good visual of what it looks like.

Convincing Jimmy it was fairly clean, we both went in. He’s become a bit paranoid about cleanliness now that he no longer has health insurance. Wimp.

(more…)

Looking for a volunteer

I’m looking for a volunteer to help set up libpirate.org. The site is using MediaWiki and I’d like to get some kind of setup similar to what they use at Mono. However, I’m kind of too busy to learn how MediaWiki’s templating system works.

If you know a thing or two about MediaWiki and feel like making me some kind of basic CSS template (no graphics please) I would really appreciate it. If you’re interested, reply to this post and I’ll throw you an e-mail.

Compression makes things faster …?

It does when the program in question is a 48MB MAME executable.

As a test, I compressed an uncompressed MAME executable with UPX at compression level 9. When comparing the uncompressed EXE and the compressed one, the compressed one loaded in 2 seconds while the uncompressed took as long as 10.

That says something but I’m not sure what. Could it be with processors clocking 2GHz the delay in program load time is the hard disk speed? Is it faster to load a small EXE to RAM then decompress and execute it there than it is to run an uncompressed EXE off the hard disk?

I’m not sure, but it does merit further investigation.

(more…)

Where did my disk space go?

For a long time I kept wondering where all my disk space was going. After all, 6GB seemed reasonable for C:\Program Files\. Today while uninstalling various applications, I got a message that PeerGuardian’s install folder was too big to store in the Recycle Bin. Given my Recycle Bin is 1GB, that’s pretty big.

When I opened the folder I discovered PeerGuardian’s history file had grown to 3.8GB, and I haven’t even run it since early September. That’s quite a bit of disk space!

If you use PeerGuardian, I guess this is a good lesson to clean out its history from time to time, otherwise it will gobble up all your disk space.