<?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>Hawk Software</title>
	<atom:link href="http://hawksoft.com/feed" rel="self" type="application/rss+xml" />
	<link>http://hawksoft.com</link>
	<description>Programming, web design, and more</description>
	<lastBuildDate>Fri, 05 Mar 2010 20:55:33 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.6</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Virtual Computer Build – Part 3</title>
		<link>http://hawksoft.com/2010/virtual-computer-build-%e2%80%93-part-3-164.shtml</link>
		<comments>http://hawksoft.com/2010/virtual-computer-build-%e2%80%93-part-3-164.shtml#comments</comments>
		<pubDate>Fri, 05 Mar 2010 20:55:33 +0000</pubDate>
		<dc:creator>Phil Frisbie, Jr.</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://hawksoft.com/?p=164</guid>
		<description><![CDATA[When we last left this topic I had just installed Ubuntu, but in reality you can run virtual operating systems on just about any OS.  I choose to install the latest 64-bit version of Ubuntu, and for virtulization Oracle VirtualBox (formerly Sun VirtualBox before Sun was acquired by Oracle).  While I could have used VirtualBox [...]]]></description>
			<content:encoded><![CDATA[<p>When we last left this topic I had just installed Ubuntu, but in reality you can run virtual operating systems on just about any OS.  I choose to install the latest 64-bit version of <a href="http://www.ubuntu.com/">Ubuntu</a>, and for virtulization Oracle <a href="http://www.virtualbox.org/">VirtualBox</a> (formerly Sun VirtualBox before Sun was acquired by Oracle).  While I could have used VirtualBox on Windows 7, I just do not feel comfortable  relying so heavily on a Microsoft OS, especially before Service Pack 1 <img src='http://hawksoft.com/blog/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /> <span id="more-164"></span></p>
<p>Anyway&#8230;as I said, I installed VirtualBox (<a href="http://www.tomshardware.com/reviews/xp-mode-ubuntu,2434.html">here a good tutorial for Ubuntu</a>), then installed my client OSs.  The first client was Windows XP, then Ubuntu 32-bit, <a href="http://www.opensolaris.com/">OpenSolaris</a>, <a href="http://www.freebsd.org/">FreeBSD</a>, and finally I created a &#8220;catch-all&#8221; virtual machine.  The catch-all has two virtual hard drives and triple-boots DOS 6.21, Windows 3.1, and Windows 2000.  DOS is there because it is still a widely used OS for single purpose embedded devices like cash registers.  Windows 3.1 is there for nostalgia because it was my first version of Windows, and Windows 2000 is there mainly to make it easy to update the other two.</p>
<p>Here is a screen shot of my desktop:</p>
<p><a href="http://hawksoft.com/images/screenshot-1.png"><img class="size-large wp-image-177 alignnone" title="My Desktop" src="http://hawksoft.com/blog/wp-content/uploads/2010/03/Screenshot-11-600x187.png" alt="My Desktop" width="600" height="187" /></a></p>
<p>The screenshot above is from my dual wide-screen monitor setup.  From right to left: Windows XP in fullscreen mode running the free Visual C++ 2008 Express Edition, DOS 6.21 (you youngsters may have never seen MS-DOS Shell), then finally OpenSolaris.</p>
<p>Later I plan to set up <a href="http://www.freedos.org/">FreeDOS</a>, <a href="http://www.haiku-os.org/">Haiku</a> (inspired by BeOS), <a href="http://www.gnu.org/software/hurd/hurd.html">GNU HURD</a>, other <a href="http://www.bsd.org/">BSDs</a> including <a href="http://www.puredarwin.org/">PureDarwin</a> (Darwin is the core of Mac OS X), and other <a href="http://www.linux.org/dist/">Linux distros</a>.  Testing out new OSs or distros has never been easier!  Now on to some serious cross-platform programming&#8230;..</p>
]]></content:encoded>
			<wfw:commentRss>http://hawksoft.com/2010/virtual-computer-build-%e2%80%93-part-3-164.shtml/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Ask Phil &#8211; max UDP datagram size</title>
		<link>http://hawksoft.com/2010/ask-phil-max-udp-datagram-size-156.shtml</link>
		<comments>http://hawksoft.com/2010/ask-phil-max-udp-datagram-size-156.shtml#comments</comments>
		<pubDate>Tue, 02 Mar 2010 03:58:28 +0000</pubDate>
		<dc:creator>Phil Frisbie, Jr.</dc:creator>
				<category><![CDATA[Programming]]></category>

		<guid isPermaLink="false">http://hawksoft.com/?p=156</guid>
		<description><![CDATA[artm once asked:
is there the maximum UDP datagram size?
 
is there some recomendation to chose one based on the application /network?
My reply:
getsockopt() with SO_MAX_MSG_SIZE option will get you the size, but it is normally 65508 bytes.
Due to packet loss, generally apps do not send UDP packets larger than 16K. And it is most efficient to [...]]]></description>
			<content:encoded><![CDATA[<p>artm once asked:</p>
<p><em>is there the maximum UDP datagram size?</em></p>
<p><em> </em></p>
<p><em>is there some recomendation to chose one based on the application /network?</em></p>
<p>My reply:<span id="more-156"></span></p>
<p><em>getsockopt() with SO_MAX_MSG_SIZE option will get you the size, but it is normally 65508 bytes.</em></p>
<p><em>Due to packet loss, generally apps do not send UDP packets larger than 16K. And it is most efficient to send a multiple of the MTU less the UDP header size, or for Ethernet 1500 &#8211; 28 = 1472 bytes.</em></p>
<p>I love to answer programming questions.  Feel free to <a title="Phil  Frisbie, Jr." href="mailto:phil@hawksoft.com?subject=Ask%20Phil">send me</a> your  questions.  Use the subject “Ask Phil” to insure I spot it, and I will  do my best to get you a useful answer.</p>
]]></content:encoded>
			<wfw:commentRss>http://hawksoft.com/2010/ask-phil-max-udp-datagram-size-156.shtml/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Windows 7 &#8211; not too annoying!</title>
		<link>http://hawksoft.com/2010/windows-7-not-too-annoying-149.shtml</link>
		<comments>http://hawksoft.com/2010/windows-7-not-too-annoying-149.shtml#comments</comments>
		<pubDate>Fri, 19 Feb 2010 02:33:27 +0000</pubDate>
		<dc:creator>Phil Frisbie, Jr.</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://hawksoft.com/?p=149</guid>
		<description><![CDATA[While I love the appeal of free-open source operating systems like Linux, and love the polish on MacOS (but not the associated hardware costs), I am still a Windows user at heart.  Since 1993 when I installed DOS 5 and Windows 3.1 onto a generic 486SX based PC, I have grown comfortable (in a love-hate [...]]]></description>
			<content:encoded><![CDATA[<p>While I love the appeal of free-open source operating systems like Linux, and love the polish on MacOS (but not the associated hardware costs), I am still a Windows user at heart.  Since 1993 when I installed DOS 5 and Windows 3.1 onto a generic 486SX based PC, I have grown comfortable (in a love-hate kind of way) with Windows over the years. <span id="more-149"></span> Where it was a hassle to mold Windows 3.1 into a multimedia PC (with the addition of DOS <strong>and </strong>Windows sound and CD drivers, yuk!), Windows 95 actually knew about CD drives, sound cards, and had easy TCP\IP networking.  Then Windows 98 came out with the new USB support (yes, you other old timers know Windows 95b had USB support, but Microsoft quickly made changes to the Windows 98 USB support and forced hardware companies to drop support on Windows 95). Then Windows Millennium Edition (ME) came out&#8230;.wait&#8230;.let&#8217;s just continue to forget that version!</p>
<p>I quickly switched to NT 5.0, er, Windows 2000, shortly after it came out, and I used that for about 6 years before finally moving to Windows XP.  I have been happy with XP, as have most users, and never even considered moving to Vista (ME 2.0?).  Delaying or avoiding new versions of Windows is easy when you build your own computers like I usually do, but many of my friends and family are not so lucky, and my lack of experience with the new Vista layout and features, such as a user access control, make it difficult to provide phone support.</p>
<p>So, when I saw an opportunity to purchase an HP computer with Windows 7 for what I had expected to pay to upgrade my current PC, I decided to go for it.  And even though I am writing this while running Ubuntu Linux, Windows is close by in a virtual machine (more on this another time).</p>
<p>So, while my first impression of Windows 7, coming straight from Windows XP, was not very good (Why does Microsoft think that hiding options makes Windows easier to use?), I have grown accustomed to the interface, and like the glass look of the windows.  The Office 2007 ribbon bar drove me crazy until I figured out how it was partitioned (my Office 2002 would not install on Windows 7, and both my wife and I agree that the ribbon is NOT easier to use than the old menus).</p>
<p>The bottom line is that with Windows XP support winding down, Windows 7 will now be my Windows version of choice for as long as I remain using Windows &#8211; not because it is better than XP, but because it does not annoy me TOO much.</p>
]]></content:encoded>
			<wfw:commentRss>http://hawksoft.com/2010/windows-7-not-too-annoying-149.shtml/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Dare to make mistakes, and excel!</title>
		<link>http://hawksoft.com/2010/dare_to_make-mistakes-and-excel-146.shtml</link>
		<comments>http://hawksoft.com/2010/dare_to_make-mistakes-and-excel-146.shtml#comments</comments>
		<pubDate>Fri, 12 Feb 2010 22:58:14 +0000</pubDate>
		<dc:creator>Phil Frisbie, Jr.</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://hawksoft.com/?p=146</guid>
		<description><![CDATA[Growing up in the United States, taught by the public educational system, I automatically tend to play it safe.  In an educational system run like a manufacturing line -everyone got treated the same- teachers did not have the time to acknowledge free thinkers.  Those students who questioned the lessons, or the way they were taught, [...]]]></description>
			<content:encoded><![CDATA[<p>Growing up in the United States, taught by the public educational system, I automatically tend to play it safe.  In an educational system run like a manufacturing line -everyone got treated the same- teachers did not have the time to acknowledge free thinkers.  Those students who questioned the lessons, or the way they were taught, were labeled disruptive.  And their answers, if not the textbook answers, were marked as wrong, or mistakes.  Like Natasha Bedingfield says in her song &#8216;Unwritten&#8217;, &#8220;I break tradition, sometimes my tries, are outside the lines.  We&#8217;ve been conditioned to not make mistakes, but I can&#8217;t live that way.&#8221;  My thoughts exactly!<span id="more-146"></span></p>
<p>As young children we made mistakes all the time, but we LEARNED from those mistakes.  The adults who excel have either re-embraced the idea that mistakes are not bad, or they were lucky and did not succumb to conditioning.  They are not afraid to learn and try new things, to push themselves into situations which are not comfortable, and others notice them.  They are the ideal employees, who do not hesitate to take on new challenges where others would balk or  say it was not in their job description!</p>
<p>More importantly, not being afraid to make mistakes is the first step to innovation, because if you are REALLY pushing the envelope, working on the bleeding edge, or blazing a new trail, most of your ideas will not work as expected.  However, if you carefully evaluate those mistakes you WILL learn something you can apply to your next try, and you will be far ahead of those who play it safe.</p>
<p>Innovators will always have work because most businesses realize that innovation is a large part of staying competitive.  So go ahead, I dare you to make mistakes!  Push yourself.  Learn how to innovate.</p>
]]></content:encoded>
			<wfw:commentRss>http://hawksoft.com/2010/dare_to_make-mistakes-and-excel-146.shtml/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Ask Phil &#8211; What does the CE in WindowsCE stand for?</title>
		<link>http://hawksoft.com/2010/ask-phil-what-does-the-ce-in-windowsce-stand-for-142.shtml</link>
		<comments>http://hawksoft.com/2010/ask-phil-what-does-the-ce-in-windowsce-stand-for-142.shtml#comments</comments>
		<pubDate>Thu, 21 Jan 2010 02:01:26 +0000</pubDate>
		<dc:creator>Phil Frisbie, Jr.</dc:creator>
				<category><![CDATA[Programming]]></category>

		<guid isPermaLink="false">http://hawksoft.com/?p=142</guid>
		<description><![CDATA[On a news group, several years ago, Praba asked:
i want to know the abbreviation for CE in WinCE. help me pls..
I replied:
Compact Edition
To which an eMVP (a Microsoft embedded Most Valuable Professional) retorted:
Microsoft is _very_ adamant that CE has no official meaning.
To which I replied:
Yes, they say that NOW, just like they say NT does [...]]]></description>
			<content:encoded><![CDATA[<p>On a news group, several years ago, Praba asked:</p>
<p><em>i want to know the abbreviation for CE in WinCE. help me pls..</em></p>
<p>I replied:</p>
<p><em>Compact Edition</em></p>
<p>To which an eMVP (a Microsoft <strong>e</strong>mbedded <strong>M</strong>ost <strong>V</strong>aluable <strong>P</strong>rofessional) retorted:<span id="more-142"></span></p>
<p><em>Microsoft is _very_ adamant that CE has no official meaning.</em></p>
<p>To which I replied:</p>
<p><em>Yes, they say that NOW, just like they say NT does not mean &#8216;New Technology&#8217;.</em></p>
<p><em> This is a little like Fahrenheit 451 if you know what I mean <img src='http://hawksoft.com/blog/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /> </em></p>
<p><em> Anyway&#8230;Here is a KB article that provides some hints:</em></p>
<p><em> <a href="http://support.microsoft.com/kb/q166915/">http://support.microsoft.com/kb/q166915/</a></em></p>
<p><em> (this clip is complete, but with poor punctuation corrected)</em></p>
<p style="padding-left: 30px;"><em> &#8220;In the name &#8216;Windows CE,&#8217; the letters &#8216;CE&#8217; are not an abbreviation for  anything, but rather they imply a number of the precepts around which Windows CE  is designed, including &#8216;Compact&#8217;, &#8216;Connectable&#8217;, &#8216;Compatible&#8217;, &#8216;Companion&#8217;, and &#8216;Efficient&#8217;.&#8221;</em></p>
<p><em>I think &#8216;Compact Edition&#8217; is reasonable, and goes along with SE meaning &#8216;Second Edition&#8217; and ME meaning &#8216;Millennium Edition&#8217;.</em></p>
]]></content:encoded>
			<wfw:commentRss>http://hawksoft.com/2010/ask-phil-what-does-the-ce-in-windowsce-stand-for-142.shtml/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>The www prefix &#8211; so last century?</title>
		<link>http://hawksoft.com/2010/the-www-prefix-so-last-century-136.shtml</link>
		<comments>http://hawksoft.com/2010/the-www-prefix-so-last-century-136.shtml#comments</comments>
		<pubDate>Mon, 18 Jan 2010 22:50:13 +0000</pubDate>
		<dc:creator>Phil Frisbie, Jr.</dc:creator>
				<category><![CDATA[Web Design]]></category>

		<guid isPermaLink="false">http://hawksoft.com/?p=136</guid>
		<description><![CDATA[Do most people even know what &#8216;www&#8217; means in a URI (Uniform Resource Identifier)?  Is the www prefix really needed on today&#8217;s Internet?
I have been on the Internet since its stone age period (the fall of 1993 for you youngsters).  Back then the World Wide Web was just beginning to take off. Heck, Microsoft did [...]]]></description>
			<content:encoded><![CDATA[<p>Do most people even know what &#8216;www&#8217; means in a URI (Uniform Resource Identifier)?  Is the www prefix really needed on today&#8217;s Internet?<span id="more-136"></span></p>
<p>I have been on the Internet since its stone age period (the fall of 1993 for you youngsters).  Back then the World Wide Web was just beginning to take off. Heck, Microsoft did not have a web presence yet, not even an FTP server!  Anyone else remember downloading Windows 3.1 driver updates from Microsoft by dialing long distance to Redmond to use their BBS (bulletin board service) by modem? Or later when Windows 95 was released and Microsoft provided updates by CompuServe?  Yes, those were the good old days (NOT!).</p>
<p>Anyway, back then servers for different protocols tended to be physically separate, and using a prefix to designate the type of server( www [HTTP], ftp, gopher, mail [SMTP]) made sense.   And software was separate too: you had an FTP program to access FTP sites, a browser (Mosaic) for HTTP, etc.</p>
<p>But things are different now. Most traffic is HTTP or SMTP, with various multimedia protocols and good old FTP hidden behind URIs.  Many web sites, including this one, no longer use the www prefix.  Sure, you can access this site with the www, but your browser will get a permanent redirect (301) to a URI without the www.  My feeling is that the www is redundant, and just makes the URI longer and harder to remember.  I have no public FTP, or anything else in my domain (yet).</p>
<p>Most Internet users would not even notice whether a URI they click on has the www prefix, or would even notice if the browser was redirected.  To these users the Internet is whatever they access through a browser, or browser enabled software such as RealPlayer.  Most do not even consider e-mail to be the Internet!  So, unless some new protocol comes along to challenge HTTP, I will continue to leave off the redundant www prefix on the sites I manage.</p>
]]></content:encoded>
			<wfw:commentRss>http://hawksoft.com/2010/the-www-prefix-so-last-century-136.shtml/feed</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Use Progressive Headings for Accessibility</title>
		<link>http://hawksoft.com/2010/use-progressive-headings-for-accessibility-130.shtml</link>
		<comments>http://hawksoft.com/2010/use-progressive-headings-for-accessibility-130.shtml#comments</comments>
		<pubDate>Sat, 16 Jan 2010 06:12:55 +0000</pubDate>
		<dc:creator>Phil Frisbie, Jr.</dc:creator>
				<category><![CDATA[Accessibility]]></category>
		<category><![CDATA[Web Design]]></category>

		<guid isPermaLink="false">http://hawksoft.com/?p=130</guid>
		<description><![CDATA[Headings (h1-h6) should be used to begin sections; they should NOT be used for font effects (that is what CSS is for).  Using one h1 tag, and progressive h2-h6 tags not only creates a page structure which is easy to scan and find relevant content for sighted users, but it enhances accessibility for users of [...]]]></description>
			<content:encoded><![CDATA[<p>Headings (h1-h6) should be used to begin sections; they should NOT be used for font effects (that is what CSS is for).  Using one h1 tag, and progressive h2-h6 tags not only creates a page structure which is easy to scan and find relevant content for sighted users, but it enhances accessibility for users of screen reader software.<span id="more-130"></span></p>
<p>When creating a page, it can help to visualize the headings like this:</p>
<pre>&lt;h1&gt; page name
    &lt;h2&gt; major section
        &lt;h3&gt; subsection
        &lt;h3&gt; subsection
    &lt;h2&gt; another section
    &lt;h2&gt; another section
        &lt;h3&gt; subsection
        &lt;h3&gt; subsection</pre>
<p>And if that is not enough motivation to properly use headings, it is likely that search engines use headings when calculating page rankings.</p>
]]></content:encoded>
			<wfw:commentRss>http://hawksoft.com/2010/use-progressive-headings-for-accessibility-130.shtml/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Ask Phil &#8211; 3970 socket limit on Windows?</title>
		<link>http://hawksoft.com/2010/ask-phil-3970-socket-limit-on-window-127.shtml</link>
		<comments>http://hawksoft.com/2010/ask-phil-3970-socket-limit-on-window-127.shtml#comments</comments>
		<pubDate>Sat, 09 Jan 2010 04:09:14 +0000</pubDate>
		<dc:creator>Phil Frisbie, Jr.</dc:creator>
				<category><![CDATA[Programming]]></category>

		<guid isPermaLink="false">http://hawksoft.com/?p=127</guid>
		<description><![CDATA[Many people over the years have asked:
Why can&#8217;t I open more than (number usually varies from 3970 to 3974) sockets on Windows?
My response:
You have run into the ephemeral port limit on Windows.  Windows versions through XP and Server 2003 use a port range of 1024 though 5000 for ephemeral, or short-lived, ports.  These ports are [...]]]></description>
			<content:encoded><![CDATA[<p>Many people over the years have asked:</p>
<p><em>Why can&#8217;t I open more than (number usually varies from 3970 to 3974) sockets on Windows?</em></p>
<p>My response:<span id="more-127"></span></p>
<p><em>You have run into the <a href="http://en.wikipedia.org/wiki/Ephemeral_port">ephemeral port</a> limit on Windows.  Windows versions through XP and Server 2003 use a port range of 1024 though 5000 for ephemeral, or short-lived, ports.  These ports are the ones used if you call bind() on a socket and pass zero as the port number, allowing  Windows to assign a port for you.  This limit is not normally a problem, but usually manifests when testing the limits of programs.  In HawkNL I provide my own bind() which uses 1024 through 65535.  There is also a <a href="http://msdn.microsoft.com/en-us/library/aa560610%28BTS.20%29.aspx">registry modification</a> which can increase the range.</em></p>
]]></content:encoded>
			<wfw:commentRss>http://hawksoft.com/2010/ask-phil-3970-socket-limit-on-window-127.shtml/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Virtual Computer Build &#8211; Part 2</title>
		<link>http://hawksoft.com/2010/virtual-computer-build-part-2-113.shtml</link>
		<comments>http://hawksoft.com/2010/virtual-computer-build-part-2-113.shtml#comments</comments>
		<pubDate>Sun, 03 Jan 2010 06:00:11 +0000</pubDate>
		<dc:creator>Phil Frisbie, Jr.</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://hawksoft.com/?p=113</guid>
		<description><![CDATA[The holidays got me side-tracked for weeks, but I am going to continue my saga now.
The next step is system preparation.  The very first thing I do when I purchase or build a new system is to run Memtest86 on it to insure I will not have any memory problems.  This has saved me several [...]]]></description>
			<content:encoded><![CDATA[<p>The holidays got me side-tracked for weeks, but I am going to continue my saga now.</p>
<p>The next step is system preparation.  The very first thing I do when I purchase or build a new system is to run <a href="http://www.memtest86.com/">Memtest86</a> on it to insure I will not have any memory problems.  This has saved me several times when I either purchased bad memory, or the motherboard used too aggressive  timing settings on a module.  It is also a tool I use on existing systems when they show any sort of flakiness, since memory errors can manifest themselves in all sorts of strange ways.<span id="more-113"></span></p>
<p>After I ran Memtest86 for two full passes, I booted into Windows for more testing, and here is where I took a wrong turn!  I downloaded <a href="http://www.mersenne.org">Prime95</a> and loaded up all 4 AMD CPU cores overnight with no problems.  Of course, to download Prime95 I automatically installed <a href="http://www.mozilla.com/firefox/">Firefox</a> first (I avoid browsing with Internet Explorer at all costs).   And I automatically uninstalled the Norton free trial and installed <a href="http://free.avg.com/">AVG</a> for virus protection.</p>
<p>At this point I wanted to try freeing up some disk space for <a href="http://www.ubuntu.com/">Ubuntu</a> by shrinking the Windows 7 (Win7) partition from within Win7.  I have always relied upon Ubuntu to repartition  a drive, and it has always worked in the past, but I like looking at new ways of doing things.  My goal was to shrink the partition down to about 100GB so that I would have about 500GB for Ubuntu.  But there was a problem: the Win7 partition, which only had about 18GB of data, would not shrink below 280GB.  It seems when I installed the additional software it wrote some files way out in the partition, and Win7 will not move files during a shrink.  No problem I thought, I will just go ahead and install Ubuntu and let it move those files.</p>
<p>So, I boot up Ubuntu, perform the install (shrinking the Win7 partition to about 100GB), and then reboot back into Win7.  Or at least, I tried to boot into Win7.  Win7 complained about a dirty shutdown (as it should after Linux shrinks an NTFS partition).  But it crashed before getting to the desktop, even in safe mode. SIGH!  Good thing HP provides a simple system recovery.  So I recover the system, and this time before booting into Win7 I install Ubuntu and shrink the partition.  Ha! There is always more than one way to do things.</p>
<p>So I now boot into Win7 to go through the first-boot ritual again, and it crashes!  Win7 does not like the dirty flag set on an NTFS partition on the &#8220;first&#8221; boot. There is no safe boot on the first boot, and apparently there is also no chkdsk either to scan the partition and reset the dirty flag.  So, I run the HP system recovery again&#8230;.</p>
<p>Third try!  Boot into Win7, and soon as the first boot was finished I shrunk the partition to about 100MB.</p>
<p><a title="Screenshot" href="http://www.hawksoft.com/images/after_shrink.png"><img class="alignnone size-medium wp-image-115" title="after_shrink" src="http://hawksoft.com/blog/wp-content/uploads/2010/01/after_shrink-300x214.png" alt="after_shrink" width="300" height="214" /></a></p>
<p>Now I installed Ubuntu and could finally begin to set up my virtual machines&#8230;</p>
]]></content:encoded>
			<wfw:commentRss>http://hawksoft.com/2010/virtual-computer-build-part-2-113.shtml/feed</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>The downside of blogging</title>
		<link>http://hawksoft.com/2009/the-downside-of-blogging-108.shtml</link>
		<comments>http://hawksoft.com/2009/the-downside-of-blogging-108.shtml#comments</comments>
		<pubDate>Fri, 18 Dec 2009 02:08:01 +0000</pubDate>
		<dc:creator>Phil Frisbie, Jr.</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://hawksoft.com/?p=108</guid>
		<description><![CDATA[Or: How NOT to get your comment approved on my blog
As  planned to begin blogging, I allocated a number of hours per week to compose blog entries.  I was not naive; I knew there would be spam comments which would need to be weeded out.  But I thought that I could lift the manual approval [...]]]></description>
			<content:encoded><![CDATA[<p><strong>Or: How NOT to get your comment approved on my blog</strong></p>
<p>As  planned to begin blogging, I allocated a number of hours per week to compose blog entries.  I was not naive; I knew there would be spam comments which would need to be weeded out.  But I thought that I could lift the manual approval after determining how much of an issue it really was, and simply delete spam and improper entries periodically, perhaps once per week.  Well, that is NOT going to happen anytime soon.<span id="more-108"></span></p>
<p>No, the spam problem is WAY bigger than I anticipated.  For every post I approve (and I have really tried to be lenient), there are 5 to 8 others that do not make it.  So, in the interest of saving your time, and mine, here is how NOT to get your comment approved:</p>
<ul>
<li>Cut and paste the same seemingly sincere comment more than once. Like Star Trek philosopher Montgomery Scott (Scotty) once said, &#8220;Fool me once, shame on you; fool me twice, shame on me.&#8221;</li>
<li>Include a link to male performance drugs, or any other type of drugs.</li>
<li>Include a link to a blog that has been up for weeks with no content.</li>
<li>Include a link to illegal content (warez).</li>
<li>Comment in a language other than English.  How can (or should) I approve something I cannot read?</li>
<li>Include a link to a business without a sincere comment.</li>
</ul>
<p>Reviewing each comment carefully and following the links takes time; time I could be writing.  However, I will keep plugging away at this to try to post useful content.</p>
]]></content:encoded>
			<wfw:commentRss>http://hawksoft.com/2009/the-downside-of-blogging-108.shtml/feed</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
	</channel>
</rss>
