Tuesday, March 9th, 2010
Windows XP is a picky beast. If you want to move it from one system to another, chances are that you’ll just get a BSOD upon boot. To get around this, you can do a repair install or “in-place upgrade” to convince it to take stock of all of the new hardware and then it will probably boot up fine. Of course, there’s other reasons to run a repair install, it might be able to save a system that isn’t working because of a strange configuration problem or a malware attack.
Anyway, here’s something that I’ve run into a few times now: After running a repair install using a Windows XP SP3 disc, after booting up and logging in, you’re given the message along the lines of: “You must activate Windows before you can log on. Would you like to activate Windows now?” If you select “Yes,” which is supposed to bring up the activation prompt, nothing happens. You get to stare at your desktop wallpaper until you decide to restart your computer manually. If you select “No,” you are immediately logged out. What to do?
Read the rest of this entry »
Tags: Windows XP Posted in Software | No Comments »
Monday, February 22nd, 2010
When you start up Cygwin’s X.Org X11 server via startxwin.exe, it likes to leave an xterm window open on your desktop.

I suppose this is kind of handy if you were manually starting Cygwin/X, it’s pretty annoying if you have it set to start up when you log in to Windows. To keep this from happening, you just need to add an empty .startxwinrc file to your Cygwin home directory. That is, start the Cygwin bash shell, and use this command:
touch .startxwinrc
That’s it! No more xterm windows popping up.
Oh, if you’d rather have something besides xterm start up when you start Cygwin/X, you can just add a list of commands to .startxwinrc and it will execute them after starting the X.Org server.
Tags: Cygwin Posted in Software | No Comments »
Sunday, February 21st, 2010
So, to combat spam, I recently deployed Postini at my workplace. We qualified for the K-12 promotion to it is awesome to have good spam handling for free. We currently use FirstClass as our mail server, and I’d rate it’s built in spam-handling mechanisms as “poor-to-none.” (We are eying Google Apps mail as a replacement in the next year or so.)
So, after finally getting Postini deployed and enabled for all accounts, the Postini stats report that just over 50% of incoming mail is being tossed out as “blatant spam,” with over 25% of the remaining mail being quarantined as “potential spam.” This is with Postini on the default lowest aggressiveness setting. So, assuming the worst case (“all incoming mail is spam”, which is almost true), our users are already receiving less than 37.5% as much spam as they used to. Once we’re satisfied that things are working fine, I’ll bump up the aggressiveness.
Anyways, I noticed that my FirstClass inbox was still being bombarded by spam messages (a few per hour), most of them obviously spam. Why weren’t these being blocked by Postini?
Read the rest of this entry »
Tags: E-mail, E-mail Security, Postini Posted in Software | No Comments »
Thursday, February 18th, 2010
I ran into this problem with WordPress running on a Mac OS X server. I suppose that this may happen on other servers running Apache as well. Attempting to access the WordPress site threw this error at you:
Server error!
The server encountered an internal error and was unable to complete your request. Either the server is overloaded or there was an error in a CGI script.
If you think this is a server error, please contact the webmaster.
Error 500
Turned out that the .htaccess file in the root of the WordPress install had some gibberish in it. It looks like this gibberish replaced some of the actual contents of the file. I don’t know how it got there, but fixing the .htaccess file solved the problem. So, that’s something to check if you are having this problem as well!
Tags: Mac OS X Server, WordPress Posted in Software | No Comments »
Thursday, February 11th, 2010
Yesterday, Facebook finally launched XMPP support for Facebook Chat. (More about XMPP here.) This is something that they announced that they were working on back in May, 2008 — almost two years ago. After a long time (of mostly silence), here we have it — you can now connect to Facebook using (almost) any XMPP client, including popular “universal” chat clients like Pidgin, Trillian, Adium, Digsby, Miranda, Empathy, etc., using the XMPP support that they already have. This also paves the way for Facebook Chat to become one of the most used IM protocols, up in the ranks with AOL Instant Messenger, Windows Live, and Google Talk.
I’m a bit disappointed, but not surprised, that this initial launch of XMPP support comes without support for XMPP federation (“S2S”). If we had S2S support for Facebook Chat, then Facebook users could talk with users on any XMPP/Jabber network, and vice versa. This would also enable a particularly cool bridge between Facebook Chat and Google Talk, which are both based on XMPP, and it might even push AIM and WLM more towards supporting XMPP, so that we could have a truly universal IM network on the Internet. (We have it for e-mail already… why not for IM?)
Read the rest of this entry »
Tags: Facebook, Facebook Chat, Google Talk, XMPP Posted in The World Online | 3 Comments »
Monday, February 1st, 2010
…How’s that for good grammar?
Anyway, this error popped up for me in Windows 7 the other day. After the computer boots up, you click on your user icon, type in your password, and BAM! “The User Profile Service failed the logon. User profile cannot be loaded.” And then you are logged off, and stuck back at the user select screen.
Read the rest of this entry »
Tags: Windows 7, Windows Vista Posted in Software | 6 Comments »
Wednesday, January 27th, 2010
I’ve recently taken a liking to Gmail’s built-in web interface to Google Talk. However, since I started using it for most of my chatting activities, I’ve noticed an odd bug.
If you hover over a contact and then click on the “Video and More” button, you get a nifty menu like this:

What I’m interested in is the option to “Always show” or “Never show” a contact. If I have a contact that I don’t talk to very often, or if a contact has several accounts but only uses one of them most of the time, I may want to hide some of them from my list. Additionally, there are some people that I might want to have on my list all the time, and not have them hidden at Google’s whim if I don’t talk to them very often.
Well, for some contacts, this setting seemed to be stuck on “Auto.” You could make a selection, and a confirmation message would appear at the top of the screen, but the behavior of the contact on the list would not change, and if you pull up the menu again, it’s still there on “Auto.”
Read the rest of this entry »
Tags: Gmail, Google Apps, Google Talk Posted in Software | No Comments »
Thursday, January 21st, 2010
Trying to set up a JSP application on Ubuntu 9.10, using Tomcat 6 and MySQL 5.1 (both from the Ubuntu repositories). I was getting a curious error when trying to get a connection to the MySQL database from the JDBC DriverManager:
SQLException: Communications link failure
The last packet sent successfully to the server was 0 milliseconds ago. The driver has not received any packets from the server.
SQLState: 08S01
VendorError: 0
After searching for a while and going through some solutions that didn’t work for me, I found the answer here. I’m re-posting it because that answer is posted in Spanish.
All you have to do is open /etc/init.d/tomcat6 in your favorite text editor (as root), find the line that looks like TOMCAT6_SECURITY=yes, and change it to TOMCAT6_SECURITY=no. Then, restart the Tomcat server (sudo service tomcat6 restart). Ta da!! MySQL connections are now working.
Now, there’s probably a better way to do this that doesn’t involve completely turning off “TOMCAT6_SECURITY,” but this seems fine for a small test project which is what I’m working on (it will eventually be deployed on the JBoss server). I’ll be sure to update this post if I find it… or if you know anything, leave a note in the comments below.
Tags: Java, MySQL, Ubuntu Posted in Software | 1 Comment »
Tuesday, January 19th, 2010
A bit over a month ago, I purchased a copy of Yoshi’s Island DS on eBay.
Well, I tried to, anyway. I used to have this game, but I don’t know what happened to the cartridge, so I was looking to get it replaced cheap-ish.
I’ve never received counterfeit merchandise from an eBay seller before, so I was a bit surprised when I received a non-genuine game. But, there were a few warning signs that I should have seen before I ordered it (though I did make sure to buy from a U.S. seller, as I hear that this is often a problem with games coming from, say, China). Here what happened to me; maybe this will help out people in similar situations if they stumble across this page while Googling for information.
Read the rest of this entry »
Tags: eBay, Nintendo DS, Nintendo DSi Posted in The World Online | 2 Comments »
Wednesday, January 6th, 2010
Three tab tricks in Firefox 3.6:
Open tabs on the right.
In Firefox 3.6, the default behavior is that when you open a new tab from a link on the page, it appears just to the right of the active tab. The old behavior was to have it appear at the very end of your list of tabs. To get the old behavior back, go to >about:config and set the value browser.tabs.insertRelatedAfterCurrent to false.
Ctrl+tab previews.
To get an about:config and set browser.ctrlTab.previews to true. Note, you can press Ctrl+Shift+Tab to show the expanded list of tabs, Ctrl+Tab just shows your most recent ones.
Windows 7 taskbar previews of all tabs.
If you are using Windows 7, you can go to about:config and set browser.taskbar.previews.enable to true. Now, the Windows 7 taskbar will have a preview for each tab, rather than just one for each Firefox window. (Note that this feature works off-and-on for me, I think that it’s probably not completely finished which is why it is not yet on by default.)
Tags: Mozilla Firefox Posted in Software | 1 Comment »
|