<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>aaron-kelley.net &#187; Software</title>
	<atom:link href="http://aaron-kelley.net/blog/category/software/feed/" rel="self" type="application/rss+xml" />
	<link>http://aaron-kelley.net</link>
	<description>My little corner of the Internet</description>
	<lastBuildDate>Tue, 13 Jul 2010 17:56:27 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
		<item>
		<title>Bye-bye, Windows 2000!</title>
		<link>http://aaron-kelley.net/blog/2010/07/bye-bye-windows-2000/</link>
		<comments>http://aaron-kelley.net/blog/2010/07/bye-bye-windows-2000/#comments</comments>
		<pubDate>Tue, 13 Jul 2010 17:56:27 +0000</pubDate>
		<dc:creator>Aaron</dc:creator>
				<category><![CDATA[Software]]></category>
		<category><![CDATA[Windows]]></category>
		<category><![CDATA[Windows Vista]]></category>
		<category><![CDATA[Windows XP]]></category>

		<guid isPermaLink="false">http://aaron-kelley.net/?p=806</guid>
		<description><![CDATA[Today, support for Windows 2000 from Microsoft ends. Windows 2000 was released over ten years ago, on February 17, 2000. Although it may have had a shaky start as far as application compatibility goes, it is renowned as one of the most stable operating systems ever to come out of Microsoft, and it paved the [...]]]></description>
			<content:encoded><![CDATA[<p><img class="alignnone size-full wp-image-695" title="Windows 2000" src="http://aaron-kelley.net/wp-content/uploads/2010/07/win2000.png" alt="" width="250" height="60" /></p>
<p>Today, support for <a href="http://en.wikipedia.org/wiki/Windows_2000" target="_blank">Windows 2000</a> from Microsoft ends.  Windows 2000 was released over ten years ago, on February 17, 2000.  Although it may have had a shaky start as far as application compatibility goes, it is renowned as one of the most stable operating systems ever to come out of Microsoft, and it paved the way for Microsoft to merge the &#8220;home&#8221; (9x) and &#8220;business&#8221; (NT) lines of Windows with Windows XP, the following year.</p>
<p><span id="more-806"></span>Windows 2000 received its last service pack, Service Pack 4, on June 26, 2003.  It has been in &#8220;extended support&#8221; since June 30, 2005, and since then it has only been receiving security updates from Microsoft.  Now, all support for Windows 2000 is dropped, and security updates will no longer be issued.</p>
<p>Another Windows release passes on to the pile of Windows versions past.  But this was a great one, so I wanted to post a small tribute to it.  <img src='http://aaron-kelley.net/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' /> </p>
<p>If you were wondering, Windows ME was released <em>after</em> Windows 2000, on September 14, 2000.  However, Microsoft dumped support for this operating system, the last of the &#8220;9x&#8221; line, back in 2006.  The next operating system, Windows XP, is already in &#8220;extended support,&#8221; but will continue to receive security updates until April 8, 2014.  By this time, Windows Vista will be in extended support (which happens in April, 2012).  Only Vista Business and Vista Enterprise will be supported during the &#8220;extended support&#8221; phase, which will last until 2017, so support for the other editions (including Ultimate!) will end completely, before XP&#8217;s support runs out.  <img src='http://aaron-kelley.net/wp-includes/images/smilies/icon_razz.gif' alt=':-P' class='wp-smiley' /> </p>
]]></content:encoded>
			<wfw:commentRss>http://aaron-kelley.net/blog/2010/07/bye-bye-windows-2000/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Can&#8217;t activate Windows XP after a repair install or in-place upgrade</title>
		<link>http://aaron-kelley.net/blog/2010/03/cant-activate-windows-xp-after-a-repair-install-or-in-place-upgrade/</link>
		<comments>http://aaron-kelley.net/blog/2010/03/cant-activate-windows-xp-after-a-repair-install-or-in-place-upgrade/#comments</comments>
		<pubDate>Tue, 09 Mar 2010 16:50:40 +0000</pubDate>
		<dc:creator>Aaron</dc:creator>
				<category><![CDATA[Software]]></category>
		<category><![CDATA[Windows XP]]></category>

		<guid isPermaLink="false">http://aaron-kelley.net/?p=791</guid>
		<description><![CDATA[Windows XP is a picky beast.  If you want to move it from one system to another, chances are that you&#8217;ll just get a BSOD upon boot.  To get around this, you can do a repair install or &#8220;in-place upgrade&#8221; to convince it to take stock of all of the new hardware and then it [...]]]></description>
			<content:encoded><![CDATA[<p>Windows XP is a picky beast.  If you want to move it from one system to another, chances are that you&#8217;ll just get a BSOD upon boot.  To get around this, you can do a repair install or &#8220;in-place upgrade&#8221; to convince it to take stock of all of the new hardware and then it will probably boot up fine.  Of course, there&#8217;s other reasons to run a repair install, it might be able to save a system that isn&#8217;t working because of a strange configuration problem or a malware attack.</p>
<p>Anyway, here&#8217;s something that I&#8217;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&#8217;re given the message along the lines of: &#8220;You must activate Windows before you can log on.  Would you like to activate Windows now?&#8221;  If you select &#8220;Yes,&#8221; 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 &#8220;No,&#8221; you are immediately logged out.  What to do?</p>
<p><span id="more-791"></span>Anyway, I discovered an easy solution to this problem today:  Just boot the machine in safe mode and install Internet Explorer 8.  (You&#8217;ll need to download it from <a href="http://www.microsoft.com/windows/internet-explorer/worldwide-sites.aspx" target="_blank">Microsoft&#8217;s web site</a> and put it on a flash drive or something to move to the troubled machine.)  After IE8 is installed, reboot again in normal mode and you should be able to activate.  Note that you still may have to wait a minute or so for the activation window to appear after you click &#8220;Yes.&#8221;</p>
<p>This condition may be dependent on having IE8 (or 7?) installed before you attempt the repair install, and it somehow gets messed up during the install.</p>
]]></content:encoded>
			<wfw:commentRss>http://aaron-kelley.net/blog/2010/03/cant-activate-windows-xp-after-a-repair-install-or-in-place-upgrade/feed/</wfw:commentRss>
		<slash:comments>15</slash:comments>
		</item>
		<item>
		<title>Cygwin/X XWin Server leaves an xterm window behind when starting</title>
		<link>http://aaron-kelley.net/blog/2010/02/cygwinx-xwin-server-leaves-an-xterm-window-behind-when-starting/</link>
		<comments>http://aaron-kelley.net/blog/2010/02/cygwinx-xwin-server-leaves-an-xterm-window-behind-when-starting/#comments</comments>
		<pubDate>Mon, 22 Feb 2010 22:40:28 +0000</pubDate>
		<dc:creator>Aaron</dc:creator>
				<category><![CDATA[Software]]></category>
		<category><![CDATA[Cygwin]]></category>

		<guid isPermaLink="false">http://aaron-kelley.net/?p=784</guid>
		<description><![CDATA[When you start up Cygwin&#8217;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&#8217;s pretty annoying if you have it set to start up when you log in to Windows.  To keep this from [...]]]></description>
			<content:encoded><![CDATA[<p>When you start up <a href="http://x.cygwin.com/" target="_blank">Cygwin&#8217;s X.Org X11 server</a> via startxwin.exe, it likes to leave an xterm window open on your desktop.</p>
<p style="text-align: center;"><img class="size-full wp-image-785 aligncenter" title="xterm from Cygwin/X" src="http://aaron-kelley.net/wp-content/uploads/2010/02/xterm.png" alt="" width="534" height="413" /></p>
<p>I suppose this is kind of handy if you were manually starting Cygwin/X, it&#8217;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 <tt>.startxwinrc</tt> file to your Cygwin home directory.  That is, start the Cygwin bash shell, and use this command:</p>
<blockquote><p><tt>touch .startxwinrc</tt></p></blockquote>
<p>That&#8217;s it!  No more xterm windows popping up.</p>
<p>Oh, if you&#8217;d rather have something besides xterm start up when you start Cygwin/X, you can just add a list of commands to <tt>.startxwinrc</tt> and it will execute them after starting the X.Org server.</p>
]]></content:encoded>
			<wfw:commentRss>http://aaron-kelley.net/blog/2010/02/cygwinx-xwin-server-leaves-an-xterm-window-behind-when-starting/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Deployed Postini and still getting spam?  Spammers may be bypassing Postini altogether.</title>
		<link>http://aaron-kelley.net/blog/2010/02/deployed-postini-and-still-getting-spam-spammers-may-be-bypassing-postini-altogether/</link>
		<comments>http://aaron-kelley.net/blog/2010/02/deployed-postini-and-still-getting-spam-spammers-may-be-bypassing-postini-altogether/#comments</comments>
		<pubDate>Sun, 21 Feb 2010 22:47:35 +0000</pubDate>
		<dc:creator>Aaron</dc:creator>
				<category><![CDATA[Software]]></category>
		<category><![CDATA[E-mail]]></category>
		<category><![CDATA[E-mail Security]]></category>
		<category><![CDATA[Postini]]></category>

		<guid isPermaLink="false">http://aaron-kelley.net/?p=782</guid>
		<description><![CDATA[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&#8217;d rate it&#8217;s built in spam-handling mechanisms as &#8220;poor-to-none.&#8221;  (We are eying Google Apps mail as a replacement [...]]]></description>
			<content:encoded><![CDATA[<p>So, to combat spam, I recently deployed <a href="http://www.google.com/postini/" target="_blank">Postini</a> at my workplace.  We qualified for the <a href="http://www.google.com/support/a/bin/answer.py?hl=en&amp;answer=159594" target="_blank">K-12 promotion</a> to it is awesome to have good spam handling for free.  We currently use <a href="http://www.firstclass.com/" target="_blank">FirstClass</a> as our mail server, and I&#8217;d rate it&#8217;s built in spam-handling mechanisms as &#8220;poor-to-none.&#8221;  (We are eying Google Apps mail as a replacement in the next year or so.)</p>
<p>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 &#8220;blatant spam,&#8221; with over 25% of the <em>remaining</em> mail being quarantined as &#8220;potential spam.&#8221;  This is with Postini on the default lowest aggressiveness setting.  So, assuming the worst case (&#8220;all incoming mail is spam&#8221;, which is almost true), our users are already receiving less than 37.5% as much spam as they used to.  Once we&#8217;re satisfied that things are working fine, I&#8217;ll bump up the aggressiveness.</p>
<p>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&#8217;t these being blocked by Postini?</p>
<p><span id="more-782"></span>Checking the headers on these spam messages, I noticed that they weren&#8217;t being routed through the Postini servers.  This means that the <em>spammers are ignoring the MX records for our domain</em> and delivering mail directly to the FirstClass server.  They must have cached the old MX record and kept using it after we switched it to point to a Postini server, because what spammer wants to send mail through Postini if they have the choice?  Anyway, yuck.</p>
<p>Turns out that this is <a href="http://www.google.com/support/appsecurity/bin/answer.py?hl=en&amp;answer=140065" target="_blank">not an</a> <a href="http://spamhuntress.com/2005/09/19/virus-and-spam-ignores-mx-records/" target="_blank">unknown problem</a>.  I find it pretty interesting, though.  I didn&#8217;t know that spammers did this since I had never bumped into this situation before; just another pretty smart thing that the spammers are doing to get around your efforts to stop them.</p>
<p>Anyway, the solution in this case is to set the mail server (the FirstClass server in this case) or a firewall in between your mail server and the Internet to only accept connections from where it should be coming from.  Seems simple enough?  We are actually routing the mail through Google Apps, so the answer was to only allow connections from addresses that Google&#8217;s SPF record says that mail should be coming from.</p>
<blockquote><p><tt>209.85.128.0/17<br />
216.239.32.0/19<br />
64.233.160.0/19<br />
66.249.80.0/20<br />
72.14.192.0/18<br />
66.102.0.0/20<br />
74.125.0.0/16<br />
64.18.0.0/20<br />
207.126.144.0/20<br />
173.194.0.0/16</tt></p></blockquote>
<p>Anyway, I set these filters in our firewall and, presto, no spam messages all weekend.</p>
]]></content:encoded>
			<wfw:commentRss>http://aaron-kelley.net/blog/2010/02/deployed-postini-and-still-getting-spam-spammers-may-be-bypassing-postini-altogether/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>WordPress on Mac OS X &#8212; Server Error 500</title>
		<link>http://aaron-kelley.net/blog/2010/02/wordpress-on-mac-os-x-server-error-500/</link>
		<comments>http://aaron-kelley.net/blog/2010/02/wordpress-on-mac-os-x-server-error-500/#comments</comments>
		<pubDate>Thu, 18 Feb 2010 22:28:04 +0000</pubDate>
		<dc:creator>Aaron</dc:creator>
				<category><![CDATA[Software]]></category>
		<category><![CDATA[Mac OS X Server]]></category>
		<category><![CDATA[WordPress]]></category>

		<guid isPermaLink="false">http://aaron-kelley.net/?p=780</guid>
		<description><![CDATA[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 [...]]]></description>
			<content:encoded><![CDATA[<p>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:</p>
<blockquote><p><tt>Server error!<br />
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.<br />
If you think this is a server error, please contact the webmaster.<br />
Error 500</tt></p></blockquote>
<p>Turned out that the <tt>.htaccess</tt> 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&#8217;t know how it got there, but fixing the <tt>.htaccess</tt> file solved the problem.  So, that&#8217;s something to check if you are having this problem as well!</p>
]]></content:encoded>
			<wfw:commentRss>http://aaron-kelley.net/blog/2010/02/wordpress-on-mac-os-x-server-error-500/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>The User Profile Service service failed the logon.  User profile cannot be loaded.</title>
		<link>http://aaron-kelley.net/blog/2010/02/the-user-profile-service-failed-the-logon-user-profile-cannot-be-loaded/</link>
		<comments>http://aaron-kelley.net/blog/2010/02/the-user-profile-service-failed-the-logon-user-profile-cannot-be-loaded/#comments</comments>
		<pubDate>Tue, 02 Feb 2010 03:09:23 +0000</pubDate>
		<dc:creator>Aaron</dc:creator>
				<category><![CDATA[Software]]></category>
		<category><![CDATA[Windows 7]]></category>
		<category><![CDATA[Windows Vista]]></category>

		<guid isPermaLink="false">http://aaron-kelley.net/?p=702</guid>
		<description><![CDATA[&#8230;How&#8217;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!  &#8220;The User Profile Service service failed the logon.  User profile cannot be loaded.&#8221;  And then you are logged off, and [...]]]></description>
			<content:encoded><![CDATA[<p>&#8230;How&#8217;s that for good grammar?</p>
<p>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!  &#8220;The User Profile Service service failed the logon.  User profile cannot be loaded.&#8221;  And then you are logged off, and stuck back at the user select screen.</p>
<p><span id="more-702"></span>If you&#8217;re having this problem, hopefully you have another account on the computer that you can sign in to.  To fix it&#8230;</p>
<ul>
<li>Sign into another Windows account.</li>
<li>Run the registry editor.</li>
<li>Navigate to <tt>HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\ProfileList</tt>.</li>
<li>Look at the sub-keys here in the form of <tt>S-1-5-21-XXXXXXXXXX-XXXXXXXXXX-XXXXXXXXXX-XXXX</tt>.</li>
<li>One of them is probably duplicated with the extension &#8220;<tt>.bak</tt>.&#8221;  Remove (or backup) the one <em>without</em> the <tt>.bak</tt>, and then rename the remaining one, removing the <tt>.bak</tt> extension.</li>
<li>Log out and try to log in as your troublesome user.  Should be fixed now!</li>
</ul>
<p>Now, why did this happen in the first place?  I think it has something to do with Windows Backup creating a backup copy of the profile during the backup procedure, and then being interrupted or something and not restoring things to how they used to be.  Maybe there are other scenarios that can cause this problem as well.  In any case, I hope this helps someone!</p>
<p>By the way, while this happened to me on Windows 7, <a href="http://www.vistax64.com/tutorials/130095-user-profile-service-failed-logon-user-profile-cannot-loaded.html" target="_blank">I understand that the error can occur on Windows Vista as well</a>.</p>
<p><strong>Update: April 26, 2010</strong></p>
<p>Some commenters have noted that if you only have one account on your computer, you may still be able to use this trick to fix your problem.  Try booting in safe mode (press F8 at boot).  If you can log in using safe mode, fix the registry as described above, and then reboot into normal mode and you should be all set.</p>
]]></content:encoded>
			<wfw:commentRss>http://aaron-kelley.net/blog/2010/02/the-user-profile-service-failed-the-logon-user-profile-cannot-be-loaded/feed/</wfw:commentRss>
		<slash:comments>46</slash:comments>
		</item>
		<item>
		<title>Gmail Chat&#8217;s &#8220;Always show&#8221; or &#8220;Never show&#8221; options not sticking</title>
		<link>http://aaron-kelley.net/blog/2010/01/gmail-chats-always-show-or-never-show-options-not-sticking/</link>
		<comments>http://aaron-kelley.net/blog/2010/01/gmail-chats-always-show-or-never-show-options-not-sticking/#comments</comments>
		<pubDate>Thu, 28 Jan 2010 04:48:28 +0000</pubDate>
		<dc:creator>Aaron</dc:creator>
				<category><![CDATA[Software]]></category>
		<category><![CDATA[Gmail]]></category>
		<category><![CDATA[Google Apps]]></category>
		<category><![CDATA[Google Talk]]></category>

		<guid isPermaLink="false">http://aaron-kelley.net/?p=697</guid>
		<description><![CDATA[I&#8217;ve recently taken a liking to Gmail&#8217;s built-in web interface to Google Talk.  However, since I started using it for most of my chatting activities, I&#8217;ve noticed an odd bug. If you hover over a contact and then click on the &#8220;Video and More&#8221; button, you get a nifty menu like this: What I&#8217;m interested [...]]]></description>
			<content:encoded><![CDATA[<p>I&#8217;ve recently taken a liking to Gmail&#8217;s built-in web interface to Google Talk.  However, since I started using it for most of my chatting activities, I&#8217;ve noticed an odd bug.</p>
<p>If you hover over a contact and then click on the &#8220;Video and More&#8221; button, you get a nifty menu like this:</p>
<p style="text-align: center;"><img class="alignnone size-full wp-image-698" title="Google Chat Menu" src="http://aaron-kelley.net/wp-content/uploads/2010/01/gchat-options.png" alt="" width="564" height="183" /></p>
<p>What I&#8217;m interested in is the option to &#8220;Always show&#8221; or &#8220;Never show&#8221; a contact.  If I have a contact that I don&#8217;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&#8217;s whim if I don&#8217;t talk to them very often.</p>
<p>Well, for some contacts, this setting seemed to be stuck on &#8220;Auto.&#8221;  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&#8217;s still there on &#8220;Auto.&#8221;</p>
<p><span id="more-697"></span>I&#8217;ve been following <a href="http://www.google.com/support/forum/p/chat/thread?fid=35da3c23c32b876e00047e259672e586&amp;hl=en" target="_blank">this thread</a> (among others) in the Google Chat help forum.  A couple of solutions have been posted.</p>
<p>The first one, which will work for most Gmail users, is to just go to your <a href="http://www.google.com/ig" target="_blank">iGoogle page</a>, and use the chat contact list there to set your &#8220;Always show&#8221; and &#8220;Never show&#8221; preferences.  Somehow, this bug only affects the Gmail chat interface, and the one over at iGoogle works fine.</p>
<p>However, I&#8217;m a <a href="http://www.google.com/a/" target="_blank">Google Apps</a> user, and I don&#8217;t have a regular Gmail account.  As far as I know, there&#8217;s no way to use iGoogle with a Google Apps account.</p>
<p>So, this other solution, which was posted just yesterday by &#8220;zisvan&#8221; (thanks zisvan!), is a bit more tedious but it works fine with Google Apps accounts.</p>
<ul>
<li>Click &#8220;Contacts&#8221; in your Gmail account to bring up the Google contacts manager.  Locate the contact that you would like to &#8220;Always show&#8221; or &#8220;Never show.&#8221;</li>
<li>Edit them, and remove the e-mail address associated with the contact you want to change on your chat list.  (Don&#8217;t delete the contact entry altogether, just remove the e-mail address and click &#8220;Save.&#8221;  If you have multiple e-mail addresses for the contact, just remove one of them.)  The contact will disappear from your chat list.</li>
<li>Create a new contact with the same name as the contact you just edited.  Put the e-mail address on this new contact, with no other details.</li>
<li>Now, the contact reappears on your chat list.  You can change the &#8220;Show in chat list&#8221; option and it will stick.</li>
<li>Once you&#8217;re done, click on the &#8220;My Contacts&#8221; category in the contacts manager, and then click the &#8220;Find duplicates&#8221; button on the right.  It should find the duplicate contact that you just created, since you gave them the same name, and offer to merge them for you.  Go ahead and do this, and you&#8217;ll just have one contact again, with the e-mail address and whatever extra details you had stored with them before.</li>
<li>Now, the contact is still in your chat list.  Furthermore, the &#8220;Show in contact list&#8221; option is stuck again, but instead of being stuck on &#8220;Auto,&#8221; it&#8217;s stuck on whatever you set it to.  If you ever want to change it again, you&#8217;ll have to repeat this process.</li>
</ul>
<p>I&#8217;m not sure what causes this bug, but I found almost half of the contacts on my chat list to be affected by it.  Supposedly, <a href="http://www.google.com/support/forum/p/chat/thread?tid=35da3c23c32b876e&amp;hl=en" target="_blank">Google is looking into it</a>.  Hopefully, it will be fixed sooner or later!</p>
]]></content:encoded>
			<wfw:commentRss>http://aaron-kelley.net/blog/2010/01/gmail-chats-always-show-or-never-show-options-not-sticking/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>MySQL, Tomcat 6, and Ubuntu 9.10: Blah</title>
		<link>http://aaron-kelley.net/blog/2010/01/mysql-tomcat-6-and-ubuntu-9-10-blah/</link>
		<comments>http://aaron-kelley.net/blog/2010/01/mysql-tomcat-6-and-ubuntu-9-10-blah/#comments</comments>
		<pubDate>Thu, 21 Jan 2010 22:23:43 +0000</pubDate>
		<dc:creator>Aaron</dc:creator>
				<category><![CDATA[Software]]></category>
		<category><![CDATA[Java]]></category>
		<category><![CDATA[MySQL]]></category>
		<category><![CDATA[Ubuntu]]></category>

		<guid isPermaLink="false">http://aaron-kelley.net/?p=684</guid>
		<description><![CDATA[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 [...]]]></description>
			<content:encoded><![CDATA[<p>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:</p>
<blockquote><p>SQLException: Communications link failure<br />
The last packet sent successfully to the server was 0 milliseconds ago. The driver has not received any packets from the server.<br />
SQLState: 08S01<br />
VendorError: 0</p></blockquote>
<p>After searching for a while and going through some solutions that didn&#8217;t work for me, I found the answer <a href="http://demoniosypinguinos.wordpress.com/2009/12/01/configurar-tomcat-para-mysql-en-ubuntu-9-10/" target="_blank">here</a>.  I&#8217;m re-posting it because that answer is posted in Spanish.  <img src='http://aaron-kelley.net/wp-includes/images/smilies/icon_razz.gif' alt=':-P' class='wp-smiley' /> </p>
<p>All you have to do is open <tt>/etc/init.d/tomcat6</tt> in your favorite text editor (as root), find the line that looks like <tt>TOMCAT6_SECURITY=yes</tt>, and change it to <tt>TOMCAT6_SECURITY=no</tt>.  Then, restart the Tomcat server (<tt>sudo service tomcat6 restart</tt>).  Ta da!!  MySQL connections are now working.</p>
<p>Now, there&#8217;s probably a better way to do this that doesn&#8217;t involve completely turning off &#8220;<tt>TOMCAT6_SECURITY</tt>,&#8221; but this seems fine for a small test project which is what I&#8217;m working on (it will eventually be deployed on the JBoss server).  I&#8217;ll be sure to update this post if I find it&#8230; or if you know anything, leave a note in the comments below.</p>
]]></content:encoded>
			<wfw:commentRss>http://aaron-kelley.net/blog/2010/01/mysql-tomcat-6-and-ubuntu-9-10-blah/feed/</wfw:commentRss>
		<slash:comments>5</slash:comments>
		</item>
		<item>
		<title>Firefox 3.6 tab tricks</title>
		<link>http://aaron-kelley.net/blog/2010/01/firefox-3-6-tab-tricks/</link>
		<comments>http://aaron-kelley.net/blog/2010/01/firefox-3-6-tab-tricks/#comments</comments>
		<pubDate>Wed, 06 Jan 2010 21:47:55 +0000</pubDate>
		<dc:creator>Aaron</dc:creator>
				<category><![CDATA[Software]]></category>
		<category><![CDATA[Mozilla Firefox]]></category>

		<guid isPermaLink="false">http://aaron-kelley.net/?p=676</guid>
		<description><![CDATA[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 [...]]]></description>
			<content:encoded><![CDATA[<p>Three tab tricks in Firefox 3.6:</p>
<p><em>Open tabs on the right.</em></p>
<p>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 <tt>&gt;about:config</tt> and set the value <tt>browser.tabs.insertRelatedAfterCurrent</tt> to false.</p>
<p><em>Ctrl+tab previews. </em></p>
<p>To get an <tt>about:config</tt> and set <tt>browser.ctrlTab.previews</tt> to true.  Note, you can press Ctrl+Shift+Tab to show the expanded list of tabs, Ctrl+Tab just shows your most recent ones.</p>
<p><em>Windows 7 taskbar previews of all tabs.</em></p>
<p>If you are using Windows 7, you can go to <tt>about:config</tt> and set <tt>browser.taskbar.previews.enable</tt> 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&#8217;s probably not completely finished which is why it is not yet on by default.)</p>
]]></content:encoded>
			<wfw:commentRss>http://aaron-kelley.net/blog/2010/01/firefox-3-6-tab-tricks/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Disable remote UAC in Windows Vista and Windows 7</title>
		<link>http://aaron-kelley.net/blog/2010/01/disable-remote-uac-in-windows-vista-and-windows-7/</link>
		<comments>http://aaron-kelley.net/blog/2010/01/disable-remote-uac-in-windows-vista-and-windows-7/#comments</comments>
		<pubDate>Wed, 06 Jan 2010 00:43:03 +0000</pubDate>
		<dc:creator>Aaron</dc:creator>
				<category><![CDATA[Software]]></category>
		<category><![CDATA[Windows 7]]></category>
		<category><![CDATA[Windows Vista]]></category>

		<guid isPermaLink="false">http://aaron-kelley.net/?p=673</guid>
		<description><![CDATA[In earlier versions of Windows, if you had files or folders with NTFS permissions assigned to the &#8220;Administrators&#8221; group (i.e., &#8220;Administrators&#8221; are allowed to edit the files but other users are not), they applied to all users in the Administrators group like you would expect.  In Windows Vista and Windows 7 (with UAC enabled), a [...]]]></description>
			<content:encoded><![CDATA[<p>In earlier versions of Windows, if you had files or folders with NTFS permissions assigned to the &#8220;Administrators&#8221; group (i.e., &#8220;Administrators&#8221; are allowed to edit the files but other users are not), they applied to all users in the Administrators group like you would expect.  In Windows Vista and Windows 7 (with UAC enabled), a process must be elevated <em>and</em> be running as a user in the Administrators group to be given these permissions.  This is fine when you&#8217;re dealing with stuff on your local machine&#8230; when you try to do something with a file that you need administrative permission to do, Windows just prompts you to elevate, and you may get a UAC prompt depending on your system settings.</p>
<p>But if you are dealing with stuff on a different machine, perhaps by Windows file sharing, there&#8217;s no way to elevate yourself.  So, if you are trying to access a shared folder that only &#8220;Administrators&#8221; are allowed to access, even if you are a member of the &#8220;Administrators&#8221; group, you will not be able to access it.</p>
<p><span id="more-673"></span>The fix for this is to disable remote UAC processing.  With this disabled, users in the &#8220;Administrators&#8221; group will be able to do what they have permission to do without elevating, if they are accessing the machine over the network.  To do this, create the following DWORD registry value (if it does not exist already):</p>
<p><tt>HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System\LocalAccountTokenFilterPolicy</tt></p>
<p>Set the value data to 0 to disable remote UAC processing and to 1 to enable it.</p>
<p>The reason I wanted to disable remote UAC processing is so that I can access the contents of local backups created by Windows Backup on Windows 7 remotely.  Windows automatically restricts access to the backup folder it creates to the &#8220;Administrators&#8221; group.  Even if you change the permissions, they will be reset next time the backup runs.  But I imagine that there are a number of situations where this would be helpful.</p>
<p>For more information, see <a href="http://msdn.microsoft.com/en-us/library/aa826699%28VS.85%29.aspx" target="_blank">this MSDN article</a>.</p>
<div id="_mcePaste" style="overflow: hidden; position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px;"><strong>HKLM</strong>\<strong>SOFTWARE</strong>\<strong>Microsoft</strong>\<strong>Windows</strong>\<strong>CurrentVersion</strong>\<strong>Policies</strong>\<strong>system</strong>\<strong>LocalAccountTokenFilterPolicyHKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\system\LocalAccountTokenFilterPolicy</strong></div>
]]></content:encoded>
			<wfw:commentRss>http://aaron-kelley.net/blog/2010/01/disable-remote-uac-in-windows-vista-and-windows-7/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
