<?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>wilmens™</title>
	<atom:link href="http://wilmens.net/blog/feed" rel="self" type="application/rss+xml" />
	<link>http://wilmens.net/blog</link>
	<description>by William W. Mensah</description>
	<lastBuildDate>Sat, 17 Apr 2010 14:17:19 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.2</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Clear Visual Basic 2008 recent projects without messing with your registry</title>
		<link>http://wilmens.net/blog/http:/www.wilmens.net/blog/?p=123</link>
		<comments>http://wilmens.net/blog/http:/www.wilmens.net/blog/?p=123#comments</comments>
		<pubDate>Sat, 17 Apr 2010 14:09:21 +0000</pubDate>
		<dc:creator>wmensah</dc:creator>
				<category><![CDATA[Stuff]]></category>
		<category><![CDATA[clear recent projects]]></category>
		<category><![CDATA[recent projects]]></category>
		<category><![CDATA[visual basic 2008]]></category>

		<guid isPermaLink="false">http://wilmens.net/blog/http:/www.wilmens.net/blog/?p=123</guid>
		<description><![CDATA[]]></description>
			<content:encoded><![CDATA[<p>It&#8217;s pretty simple.</p>
<p>- Close Visual Basic 2008 if you have it opened.</p>
<p>- Go into My Documents or wherever the Visual Studio 2008 directory was created and rename the directory to something else. Preferably, append some characters to the end of the current name</p>
<p>- Start Visual Basic 2008 from your start menu</p>
<p>- When it&#8217;s done initializing, try opening the recent project you want to remove from the list. Visual Basic should say it can&#8217;t find it and ask if you want the project to be removed from the list &#8211; click yes!</p>
<p>- Exit Visual Basic 2008, go back into My Documents (or where you have the VB directory created) and delete the new Visual Basic 2008 directory that was created.</p>
<p>- Rename the original directory (that was renamed) back to its original name and then start VB again.</p>
<p>- Done.</p>
]]></content:encoded>
			<wfw:commentRss>http://wilmens.net/blog/http:/www.wilmens.net/blog/?p=123/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Wordpress for Blackberry</title>
		<link>http://wilmens.net/blog/http:/www.wilmens.net/blog/?p=123</link>
		<comments>http://wilmens.net/blog/http:/www.wilmens.net/blog/?p=123#comments</comments>
		<pubDate>Fri, 26 Feb 2010 02:48:32 +0000</pubDate>
		<dc:creator>wmensah</dc:creator>
				<category><![CDATA[Stuff]]></category>
		<category><![CDATA[blackberry]]></category>
		<category><![CDATA[wordpress]]></category>

		<guid isPermaLink="false">http://wilmens.net/blog/?p=241</guid>
		<description><![CDATA[Just found a Wordpress app in the Blackberry app store and I must say: I&#8217;m really impressed. The level of convenience is amazing. 
Got Wordpress? Got a Blackberry? You&#8217;ve got to have it!
]]></description>
			<content:encoded><![CDATA[<p>Just found a Wordpress app in the Blackberry app store and I must say: I&#8217;m really impressed. The level of convenience is amazing. </p>
<p>Got Wordpress? Got a Blackberry? You&#8217;ve got to have it!</p>
]]></content:encoded>
			<wfw:commentRss>http://wilmens.net/blog/http:/www.wilmens.net/blog/?p=123/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>www.example.com and example.com &#8211; same? or different?</title>
		<link>http://wilmens.net/blog/http:/www.wilmens.net/blog/?p=123</link>
		<comments>http://wilmens.net/blog/http:/www.wilmens.net/blog/?p=123#comments</comments>
		<pubDate>Mon, 22 Feb 2010 15:31:19 +0000</pubDate>
		<dc:creator>wmensah</dc:creator>
				<category><![CDATA[Thoughts]]></category>
		<category><![CDATA[add www to url]]></category>
		<category><![CDATA[mod_rewrite]]></category>
		<category><![CDATA[rewrite]]></category>

		<guid isPermaLink="false">http://wilmens.net/blog/?p=237</guid>
		<description><![CDATA[Well I just learned that they are not the same (by default) &#8211; the hard way. Spent 3 hours last night trying to figure out why a site I was working on&#8217;s login system works fine the first time and then when you click the site&#8217;s logo (or some other link that takes you to [...]]]></description>
			<content:encoded><![CDATA[<p>Well I just learned that they are not the same (by default) &#8211; the hard way. Spent 3 hours last night trying to figure out why a site I was working on&#8217;s login system works fine the first time and then when you click the site&#8217;s logo (or some other link that takes you to the home page), it &#8216;kicks you out&#8217; and takes you back to the login page even though you JUST logged in.</p>
<p>First I thought it was my PHP session that was timing out incredibly fast but I also realized that after logging in twice, everything is fine. Hmm&#8230;very strange.</p>
<p>I downloaded the Web Developer add-on for Firefox, and discovered that two sessions were being created after each login &#8211; 2 different session IDs, so I jumped into my code and realized that the URL I was typing in the browser was http://example.com and the url the site&#8217;s logo pointed to was http://www.example.com. So every time I clicked on the logo, I was taken to the second url (for which the session hasn&#8217;t been saved yet). And after that url&#8217;s session has been saved there are 2 different session information to be used regardless of whether you visit www.example.com or just example.com</p>
<p>So what now? did some Googling to find out how to automatically add a www to example.com if the user doesn&#8217;t add when typing the url and found a solution that worked here: <a href="http://snippetdb.com/htaccess/add-www" target="_blank">http://snippetdb.com/htaccess/add-www</a></p>
<p>It&#8217;s pretty simple actually, all I had to do was use the mod_rewrite snippet:</p>
<p>RewriteEngine On<br />
RewriteCond %{HTTP_HOST} ^snippetdb.com$<br />
RewriteRule (.*) http://www.snippetdb.com$1 [R=301]</p>
<p>by adding it to my .htaccess file and everything worked fine.</p>
<p>Nice!</p>
]]></content:encoded>
			<wfw:commentRss>http://wilmens.net/blog/http:/www.wilmens.net/blog/?p=123/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Pattern Recognition</title>
		<link>http://wilmens.net/blog/http:/www.wilmens.net/blog/?p=123</link>
		<comments>http://wilmens.net/blog/http:/www.wilmens.net/blog/?p=123#comments</comments>
		<pubDate>Fri, 12 Feb 2010 01:18:00 +0000</pubDate>
		<dc:creator>wmensah</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[pattern recognition]]></category>

		<guid isPermaLink="false">http://wilmens.net/blog/?p=236</guid>
		<description><![CDATA[Gotten into some sweet pattern recognition stuff and its taking away a good amount of time from software development &#8211; like working on myDiary and stuff. Several features have been requested but I haven&#8217;t had a chance to get to them yet. I kind of like PR though. Makes you feel intelligent. ha!
]]></description>
			<content:encoded><![CDATA[<p>Gotten into some sweet pattern recognition stuff and its taking away a good amount of time from software development &#8211; like working on myDiary and stuff. Several features have been requested but I haven&#8217;t had a chance to get to them yet. I kind of like PR though. Makes you feel intelligent. ha!</p>
]]></content:encoded>
			<wfw:commentRss>http://wilmens.net/blog/http:/www.wilmens.net/blog/?p=123/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>New Year</title>
		<link>http://wilmens.net/blog/http:/www.wilmens.net/blog/?p=123</link>
		<comments>http://wilmens.net/blog/http:/www.wilmens.net/blog/?p=123#comments</comments>
		<pubDate>Wed, 13 Jan 2010 22:02:49 +0000</pubDate>
		<dc:creator>wmensah</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://wilmens.net/blog/?p=234</guid>
		<description><![CDATA[Happy New Year. myDiary is 2 years old. Unbelievable!
]]></description>
			<content:encoded><![CDATA[<p>Happy New Year. myDiary is 2 years old. Unbelievable!</p>
]]></content:encoded>
			<wfw:commentRss>http://wilmens.net/blog/http:/www.wilmens.net/blog/?p=123/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>HTML form, 1 element array vs javascript</title>
		<link>http://wilmens.net/blog/http:/www.wilmens.net/blog/?p=123</link>
		<comments>http://wilmens.net/blog/http:/www.wilmens.net/blog/?p=123#comments</comments>
		<pubDate>Fri, 30 Oct 2009 14:45:36 +0000</pubDate>
		<dc:creator>wmensah</dc:creator>
				<category><![CDATA[Thoughts]]></category>
		<category><![CDATA[array]]></category>
		<category><![CDATA[check]]></category>
		<category><![CDATA[html]]></category>
		<category><![CDATA[javascript]]></category>
		<category><![CDATA[one element]]></category>
		<category><![CDATA[one element array]]></category>

		<guid isPermaLink="false">http://wilmens.net/blog/?p=229</guid>
		<description><![CDATA[For some reason, when you create an array inside a HTML form and pass it to a javascript function, the 1st element in the array turns out to be undefined when it is the only element in the array.
This can occur, for example, in the case where you have a group of checkboxes and want [...]]]></description>
			<content:encoded><![CDATA[<p>For some reason, when you create an array inside a HTML form and pass it to a javascript function, the 1st element in the array turns out to be undefined when it is the only element in the array.</p>
<p>This can occur, for example, in the case where you have a group of checkboxes and want to pass an array of them to a javascript function to, lets say, check/uncheck all of them. If there is only one checkbox, don&#8217;t blow your brains out wondering why it&#8217;s not working. Do an <em>alert</em> inside the javascript function and try to print out the value of the first element. You&#8217;ll find out that it&#8217;s undefined.</p>
<p>I&#8217;ve Googled/Binged (can we make that a term now?) around and haven&#8217;t found any legit solution, so my suggestion is to use a hidden checkbox field and assign it a value (that will be stored in the array) that would never be used when being processed by your javascript function &#8211; like a negative number if your array is storing only positive numbers.</p>
<p>That should save you some headache. If there&#8217;s a better solution/workaround, please comment on this.</p>
]]></content:encoded>
			<wfw:commentRss>http://wilmens.net/blog/http:/www.wilmens.net/blog/?p=123/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Discretization</title>
		<link>http://wilmens.net/blog/http:/www.wilmens.net/blog/?p=123</link>
		<comments>http://wilmens.net/blog/http:/www.wilmens.net/blog/?p=123#comments</comments>
		<pubDate>Wed, 07 Oct 2009 04:17:13 +0000</pubDate>
		<dc:creator>wmensah</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[discretization]]></category>
		<category><![CDATA[infogain]]></category>

		<guid isPermaLink="false">http://wilmens.net/blog/?p=228</guid>
		<description><![CDATA[For the record, the attributes (values) of each instance have to be replaced by their respective bin numbers after running infogain on the columns.
]]></description>
			<content:encoded><![CDATA[<p>For the record, the attributes (values) of each instance have to be replaced by their respective bin numbers after running infogain on the columns.</p>
]]></content:encoded>
			<wfw:commentRss>http://wilmens.net/blog/http:/www.wilmens.net/blog/?p=123/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>myDiary 4.5 Beta 3</title>
		<link>http://wilmens.net/blog/http:/www.wilmens.net/blog/?p=123</link>
		<comments>http://wilmens.net/blog/http:/www.wilmens.net/blog/?p=123#comments</comments>
		<pubDate>Tue, 28 Jul 2009 02:15:08 +0000</pubDate>
		<dc:creator>wmensah</dc:creator>
				<category><![CDATA[Troubleshooting]]></category>
		<category><![CDATA[myDiary]]></category>
		<category><![CDATA[Beta 3]]></category>

		<guid isPermaLink="false">http://wilmens.net/blog/?p=219</guid>
		<description><![CDATA[when u want to share stuff with the general public &#8211; you tweet or update your facebook status. When you want to keep it personal, you use myDiary. New version available: http://www.wilmens.net/downloads/myDiary-4.5-Beta3-Setup.exe
]]></description>
			<content:encoded><![CDATA[<p>when u want to share stuff with the general public &#8211; you tweet or update your facebook status. When you want to keep it personal, you use myDiary. New version available: <a href="http://www.wilmens.net/downloads/myDiary-4.5-Beta3-Setup.exe" target="_blank">http://www.wilmens.net/downloads/myDiary-4.5-Beta3-Setup.exe</a></p>
]]></content:encoded>
			<wfw:commentRss>http://wilmens.net/blog/http:/www.wilmens.net/blog/?p=123/feed</wfw:commentRss>
		<slash:comments>5</slash:comments>
		</item>
		<item>
		<title>Got my mojo working :)</title>
		<link>http://wilmens.net/blog/http:/www.wilmens.net/blog/?p=123</link>
		<comments>http://wilmens.net/blog/http:/www.wilmens.net/blog/?p=123#comments</comments>
		<pubDate>Sun, 19 Jul 2009 07:29:34 +0000</pubDate>
		<dc:creator>wmensah</dc:creator>
				<category><![CDATA[Stuff]]></category>
		<category><![CDATA[64-bit]]></category>
		<category><![CDATA[mojo]]></category>
		<category><![CDATA[palm]]></category>
		<category><![CDATA[palm mojo sdk]]></category>
		<category><![CDATA[sdk]]></category>

		<guid isPermaLink="false">http://wilmens.net/blog/?p=202</guid>
		<description><![CDATA[So I finally download Palm&#8217;s mojo SDK hoping it will be a quick and glorious download and install operation &#8211; but boy was I wrong! I run into quite a number of problems before finally getting it to work.
First, installing on my 64-bit copy of Windows 7 was a no-no! Installation will begin and progress [...]]]></description>
			<content:encoded><![CDATA[<p>So I finally download Palm&#8217;s mojo SDK hoping it will be a quick and glorious download and install operation &#8211; but boy was I wrong! I run into quite a number of problems before finally getting it to work.</p>
<p>First, installing on my 64-bit copy of Windows 7 was a no-no! Installation will begin and progress to the end only to  roll back everything and tell me it was interrupted. Wow, really? Interrupted by what? Retired a 2nd and 3rd time (and even a 4th time, i think) only to get the same error. Strange.</p>
<p>Okay, well I booted into my Windows Vista (64-bit) partition and repeated the installation process. As usual, I went with all the default setup options and ended up installing the SDK to C:\Program Files (x86). It was after that I found out online that the SDK doesn&#8217;t do too well with the parentheses in the path &#8211; ugh!</p>
<p>Looking for a way out, I thought to myself&#8230;&#8230;..hmm, maybe 64-bit Windows is really out of the question (because Palm claim&#8217;s it&#8217;s not currently supported, or kind of), and decided to attempt installing it on Ubuntu 8.04 which I have set up in VirtualBox on Windows Vista (see <a href="http://wilmens.net/blog/?p=52" target="_self">sweetness of Sun xVM VirtualBox</a>). Doing so, installation went well and I didn&#8217;t encounter any errors/problems starting up the emulator. The splash screen showed up for a few seconds and then an instance of VirtualBox was started but with a blank screen. The blank screen just sat there and stared me in the face like &#8220;what do you expect me to do? load some kind an interface?&#8221; Why I was getting a blank screen? I have no idea! Fine, forget the SDK on Linux via VirtualBox. What in the world am I doing wrong here? Everyone in every forum online seems to have happily installed the SDK.</p>
<p>Several forums recommended installing the SDK to a path such as C:\Palm, which I humbly followed later on, hoping I&#8217;d come across the remedy; oh but now guess what? The SDK can&#8217;t figure out where I have VirtualBox installed and thinks I might have an older version installed. I got the error:</p>
<p>&#8220;Palm emulator requires that virtualbox 2.2.0 or higher is installed&#8221;</p>
<p>Wow, really? Umm, now what?<br />
Googling didn&#8217;t help much. So after playing around for a bit, I remembered that I have 2 Program Files directories. One is simply &#8220;Program Files&#8221; and the other is &#8220;Program Files (x86)&#8221;. I also realized that the &#8220;Program Files&#8221; directory also contained a subdirectory (&#8230;\Program Files\Sun) where virtualbox was installed. Hmm, that might work.</p>
<p>Not feeling like going through the whole process of uninstalling and reinstalling the SDK in  Program Files, I simply copied and pasted the entire Palm directory from C:\Program Files (x86) to C:\Program Files and then double-clicked on palm-emulator.exe (inside the bin folder) &#8211; AND THAT&#8217;S WHEN IT WORKED!</p>
<p>Here&#8217;s a screenshot.</p>
<div class="wp-caption alignnone" style="width: 592px"><a href="http://www.wilmens.net/images/wilmens_mojosdk.jpg"><img class="     " title="Palm Mojo SDK" src="http://www.wilmens.net/images/wilmens_mojosdk.jpg" alt="Palm Mojo SDK emulator (Windows Vista 64-bit)" width="582" height="364" /></a><p class="wp-caption-text">Palm Mojo SDK emulator (Windows Vista 64-bit)</p></div>
<p>By the way, I came across a solution to the Windows 7 RC (64-bit) installation issue <a href="http://codeutopia.net/blog/2009/07/20/how-to-install-palm-prewebos-sdk-on-windows-7-x64/" target="_blank">here</a>. I haven&#8217;t gone through with it to verify that it works though.</p>
]]></content:encoded>
			<wfw:commentRss>http://wilmens.net/blog/http:/www.wilmens.net/blog/?p=123/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>wilmens wallpaper</title>
		<link>http://wilmens.net/blog/http:/www.wilmens.net/blog/?p=123</link>
		<comments>http://wilmens.net/blog/http:/www.wilmens.net/blog/?p=123#comments</comments>
		<pubDate>Tue, 14 Jul 2009 14:29:32 +0000</pubDate>
		<dc:creator>wmensah</dc:creator>
				<category><![CDATA[Stuff]]></category>
		<category><![CDATA[wallpaper]]></category>
		<category><![CDATA[wilmens]]></category>

		<guid isPermaLink="false">http://wilmens.net/blog/?p=190</guid>
		<description><![CDATA[Love the background at www.wilmens.net? Well now you can download it and set it as your desktop wallpaper for free.
]]></description>
			<content:encoded><![CDATA[<p>Love the background at <a href="http://www.wilmens.net" target="_blank">www.wilmens.net</a>? Well now you can download it and set it as your desktop wallpaper for free.</p>
<div class="wp-caption alignnone" style="width: 611px">
<div class="mceTemp"><a href="http://www.wilmens.net/images/wilmens_wallpaper.png"><img class=" " title="wilmens" src="http://www.wilmens.net/images/wilmens_wallpaper.png" alt="wilmens wallpaper" width="601" height="342" /></a></div>
<p><p class="wp-caption-text">wilmens wallpaper</p></div></p>
]]></content:encoded>
			<wfw:commentRss>http://wilmens.net/blog/http:/www.wilmens.net/blog/?p=123/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
