Snow covered driveway

Archive for January, 2008

How to Stop the Computer Beep

Here’s a super great tip I learned from an article at Lifehacker.

My laptop here at work, a Lenovo ThinkPad, has a tremendously loud beep (through headphones, it will nearly blow your ears out). This beep occurs every so often when I’m typing faster than the computer thinks I should, and I end up pressing several keys on the keyboard at once. Thankfully, there’s now a way to disable this annoying sound!

To temporarily disable the beep: net stop beep
To permanently disable the beep: sc config beep start= disabled

In the latter command, note the space between the equals and the word ‘disabled.’ I’m not sure if that’s necessary or not, but including it worked for me. The space is indeed required (thanks Dustin). I had no idea that a Windows service was responsible for this annoyance!

The MinWin Concept

There’s an interesting article at InformationWeek about the new Windows architecture that Microsoft is developing. Windows 7, which is slated to be the successor to Vista, will use a new “MinWin” architecture. Essentially, the Windows core will be stripped down to the bare essentials, and additional functionality will be supplied through modules. According to the article, Eric Traut, a Microsoft distinguished engineer, demoed a version of the Windows core running with only a 25 MB footprint (as opposed to the 4 GB footprint of Vista).

I think this is a step in the right direction. Hard drive size increases have made sloppy programming, resulting in software bloat, much more prevalent. It’s time to step back, trim the fat, and work towards leaner software.

Donald Trump the Comedian

My mom and I are watching Larry King last night, and he’s talking with Robert Kiyosaki, a businessman and motivational speaker. The subject of conversation is the tanking US economy. Mr. Kiyosaki is wearing a hideously ugly suit and tie. On the phone with Larry and Robert is Donald Trump. The following scene ensues:

KING: Real estate is a good deal, even if you don’t have the money. Donald, what’s your feelings about the Bush administration and their handling of the crisis?

TRUMP: I think the first thing I’d do if I were the president is I’d ask Robert to go out and buy a new suit and tie. That would help the economy and it would help Robert.

Zing! Who knew The Donald had such a great sense of humor? :D

TF2 Update Sneak Peek

PC Gamer apparently got a sneak peek at the updates coming for Team Fortress 2. Not too long ago, Valve teased the community with a somewhat cryptic message, saying that a ‘large scale modification’ was planned for the game.

According to the article, this large scale modification includes unlockable weapons for each class, which will be selectable from a load out screen. These changes will be rolled out to the Medic class first. The first weapon described is a new medi-gun that will permanently boost your teammates’ health to 200% their normal values (instead of the temporary 150% boost that the current medi-gun supplies). There are no details yet on the second weapon, but it will be another medi-gun that will alter the class in a different way. It sounds like the first gun will be unlockable by acquiring half of the 35 new achievements coming for the Medic class, while the second update will be unlocked after acquiring them all. It should be interesting to see how this new feature pans out.

Another announcement is the new game type being planned, in which the attacking team will have to accompany a mine cart from one end of a map to the other. The article linked above goes into more depth about this game type, and it sounds super fun. In short, I can’t wait for these updates!

Three iTunes Annoyances

There are a few gripes I’ve got with iTunes, all of which revolve around my subscriptions to podcasts:

1. Large downloads freeze iTunes (and sometimes the entire system) upon completion.
When a large (~250 to 500 MB) video podcast file has completed downloading, iTunes will completely freeze up. It feels to me like this hang is related to copying the file from a temporary download location to the intended destination (which is undoubtedly what iTunes is doing). Seeing as iTunes is a multi-threaded application, this should not, under any circumstance, happen. It should spawn a child thread to do the copy operation in the background, so that I can still use the application. Every once in a while, I even see my entire system hang up during this operation, which is doubly bad.
2. Some video files cannot be recycled immediately after viewing them.
After completing a video podcast, I find that I cannot immediately recycle the corresponding file from within iTunes. If I try to do so, the entry in iTunes is removed, but the file does not get removed! To recycle the file properly, I have to shut down iTunes, start it back up, and delete the entry. Somewhere a handle isn’t being released properly, and the file remains locked. Again, this is a bug that could easily be solved.
3. The Windows screen saver screws up video playback.
If you have iTunes installed on a Windows system, try this experiment. Get a video file through iTunes (a video podcast for example), and start it playing. Pause the video and walk away from your computer for a while. Allow the screen saver to turn on and, when it has, come back to your computer. When the screen saver is cleared, try to play the video again. What happens? No video! This particular bug has existed for years (I’ve seen forum references to this bug as far back as iTunes 5 and 6), and it’s apparently a known bug at Apple. That they don’t get around to fixing it is very intriguing to me.

WordPress Security Tips

Matt Cutts has posted three security tips for WordPress users. Here’s a quick overview:

  1. Protect your wp-admin directory with an .htaccess file
  2. Protect your wp-content/plugins folder with either a blank index.html or an .htaccess file
  3. Keep your WordPress install up to date by keeping tabs on the WordPress development blog

I was already doing item 1, though I don’t currently handle IP white-listing (that’s an appealing idea). Item 2 was something I didn’t even know to do. When I checked to see if my plugins were listed, they did indeed show up. I have since corrected this issue. Item 3 is a no-brainer.

Matt also suggests removing the WordPress meta tag from your theme’s header.php file (which I have also done). This particular “bonus” tip doesn’t add a whole lot, but it at leasts cuts down on your broadcasting what version of WordPress you have installed.

Sun Purchases MySQL

It seems as if Sun Microsystems has purchased MySQL. I don’t fully understand the motivation behind this purchase, but Sun must have some plan; otherwise they wouldn’t have paid one billion dollars for the company. In my opinion, Sun doesn’t have the greatest track record in software, so it should be interesting to see what happens as a result of this change. According to the official MySQL post:

Will MySQL’s support for other programming languages and operating systems now be given less attention? Absolutely not. MySQL is still being managed by the same people, and the charter is still the same.

We can only hope.