<?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>Computers &#38; Technology</title>
	<atom:link href="http://summitlake.com/wp_1computers/?feed=rss2" rel="self" type="application/rss+xml" />
	<link>http://summitlake.com/wp_1computers</link>
	<description>a Summitlake.com Sites department</description>
	<lastBuildDate>Thu, 29 Jul 2010 19:38:07 +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>Welcome</title>
		<link>http://summitlake.com/wp_1computers/?p=258</link>
		<comments>http://summitlake.com/wp_1computers/?p=258#comments</comments>
		<pubDate>Thu, 29 Jul 2010 19:38:07 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[General]]></category>

		<guid isPermaLink="false">http://summitlake.com/wp_1computers/?p=258</guid>
		<description><![CDATA[Welcome to our Computers page, with articles on computer hardware and software, networking, programming, digital music technology, and more. <a href="http://summitlake.com/wp_1computers/?p=258">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>Welcome to our Computers page, with articles on computer hardware and software,  networking, programming, digital music technology, and more.</p>
]]></content:encoded>
			<wfw:commentRss>http://summitlake.com/wp_1computers/?feed=rss2&amp;p=258</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>BIOS &amp; Conclusion: Multiple Causes</title>
		<link>http://summitlake.com/wp_1computers/?p=254</link>
		<comments>http://summitlake.com/wp_1computers/?p=254#comments</comments>
		<pubDate>Mon, 12 Apr 2010 17:57:15 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Hardware]]></category>
		<category><![CDATA[Solutions]]></category>
		<category><![CDATA[system problems]]></category>
		<category><![CDATA[Windows]]></category>

		<guid isPermaLink="false">http://summitlake.com/wp_1computers/?p=254</guid>
		<description><![CDATA[<table border="0" cellpadding="5" width="100%">
<tbody>
<tr>
<td><img src="http://summitlake.com/graphics/pictures/Welcome-to-Comcast_thumb.jpg" title="Unwelcome welcome screen" width="124" height="83" /></td>
<td>This concludes the saga of "BIOS Won't Boot", a most unfortunate sequence of events occurring on April 1 (yes). The story was posted here April 8. Resolution required identifying and fixing two completely unrelated problems. <a href="http://summitlake.com/wp_1computers/?p=254">Read the article</a> in <em>Computers &#038; Technology</em>.</td>
</tr>
</tbody></table> <a href="http://summitlake.com/wp_1computers/?p=254">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<div class="wp-caption alignleft" style="width: 134px"><a href="http://summitlake.com/graphics/pictures/Welcome-to-Comcast.jpg"><img title="Welcome to Comcast browser greeting " src="http://summitlake.com/graphics/pictures/Welcome-to-Comcast_thumb.jpg" alt="Welcome to Comcast browser greeting " width="124" height="80" /></a><p class="wp-caption-text">unwelcome Welcome to Comcast (click image) </p></div>
<p>This concludes the saga of &#8220;<a href="http://summitlake.com/wp_1computers/?p=253">BIOS Won&#8217;t Boot</a>&#8220;, a most unfortunate sequence of events occurring on April 1 (yes). The story was posted here April 8.</p>
<p>On April 11, Sunday afternoon, the second day of my return from Phoenix, you couldn&#8217;t tell there had ever been any issue(s) on my Castro Valley machines, and I didn&#8217;t have to spend a nickel to replace any hardware, either. It&#8217;s always nice to have the spare 3V CR2032 BIOS battery I bought for this occasion in Phoenix, wouldn&#8217;t you think? But I didn&#8217;t need to use it.<br />
<span id="more-254"></span></p>
<h3>(1) PC Issues</h3>
<p>I disconnected all the PC peripherals and the BIOS booted right up. I went into Windows Safe Mode, then regular startup, and could find no problems except for internet connectivity.</p>
<p>Gradually adding back all the peripherals, I indeed did find a problem with the external <strong>USB &#8220;Backup&#8221; drive</strong>, but it wasn&#8217;t a showstopper. I let Windows scan the drive and repair any bad files. This USB drive is now back in use.</p>
<h3>(2) Internet connectivity</h3>
<p>This was, by far, the more time-consuming problem. I spend <strong>over two hours</strong> on the phone with the Comcast cable internet providers yesterday. This was in addition to the three hours already spent at the beginning of the month.  I had FTP and email internet access, but every browser session would become infested with multiple-tab copies of a dread <em>Welcome to Comcast</em> screen (image at top of this post), inviting me to set up my account and begin browsing. I&#8217;ve had an account since 2003.   Tech Support was friendly, patient and seemingly knowledgeable. He  found and fixed a host of problems on their side related to registration of my new <a href="http://www.motorola.com/Business/US-EN/Business+Product+and+Services/Cable+Broadband/SURFboard+Modems+and+Gateways/Motorola+SURFboard+SB6120_US-EN">Motorola SB6120 cable modem.</a></p>
<p>Every time we thought everything was fixed and I was back in business, one last test would have the problem back with a vengeance. It was obvious I had connectivity, but I couldn&#8217;t browse.  Finally he scheduled a service call for 8AM this morning &#8211; Sunday!</p>
<p>The senior tech arrived and he quickly reproduced the problem. He had more settings changes made to the Comcast account configuration. That didn&#8217;t make the problem go away either.</p>
<p>Finally his laptop diagnostics determined the problem. The new Motorola supports a new DOCSIS 3.0 broadband standard, which, he explained, is essentially three streams bundled into one high-speed cable signal. The Motorola is backwards-compatible with the older 2.0 standard. The problem seems to be that the Comcast configuration is <em>not fully compatible</em> with the newer modems; their system kept trying to push the 3.0 service onto an account set up for (and only paying for) 2.0 speeds, so the set-up would fail. Comcast is still setting up their 3.0 service and, it appears, hasn&#8217;t worked out all the compatibility issues.</p>
<p>I had the senior tech swap out modems and put in a generic 2.0 modem, and the problem went away. It hasn&#8217;t been back since.</p>
<p>In Phoenix, Cox Communications is already on 3.0, but I didn&#8217;t want to go into all that with them. I will just take the new Motorola modem down south, call Cox, and look into the cost of 3.0 there.</p>
<h3>The Moral of the Story?</h3>
<p><strong>(1) USB shutdown problems:</strong> if a tech support person asks you to reboot your computer, and  Windows hangs on shutdown, don&#8217;t use the power button to do a forced shutdown. &#8220;Just say no.&#8221; I more recently had a similar problem while in Phoenix: a USB drive was attached to a cheap USB hub. <span style="text-decoration: underline;">Disconnecting the hub allowed Windows to complete the shutdown.</span></p>
<p><strong>(2) Buying a new modem?</strong> Though an incredible affront to common sense, I would suggest calling your broadband provider before purchasing a new cable modem, especially if it supports DOCSIS 3.0. Make sure it is on their &#8220;approved&#8221; list. and is compatible with the level of service you are paying for.</p>
]]></content:encoded>
			<wfw:commentRss>http://summitlake.com/wp_1computers/?feed=rss2&amp;p=254</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>BIOS Won&#8217;t Boot!</title>
		<link>http://summitlake.com/wp_1computers/?p=253</link>
		<comments>http://summitlake.com/wp_1computers/?p=253#comments</comments>
		<pubDate>Thu, 08 Apr 2010 21:28:04 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Hardware]]></category>
		<category><![CDATA[Software]]></category>
		<category><![CDATA[Solutions]]></category>
		<category><![CDATA[PC]]></category>
		<category><![CDATA[system problems]]></category>
		<category><![CDATA[Windows]]></category>

		<guid isPermaLink="false">http://summitlake.com/wp_1computers/?p=253</guid>
		<description><![CDATA[<p>I just lugged this PC down here to Phoenix last month. Since I'm moving here soon anyway, lugging the PC back north with me just seems counter-intuitive. <a href="http://summitlake.com/wp_1computers/?p=253">Read this article</a> in <em>Computers &#38; Technology</em>.</p> <a href="http://summitlake.com/wp_1computers/?p=253">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>I&#8217;m in Phoenix at the moment, returning to the Bay Area tomorrow. I&#8217;m staring at my newly rebuilt Windows 7-64 PC, which is working great. It&#8217;s dawning on me that when I shut it down tonight I won&#8217;t need to say good-bye. Taxes are due in a week and my PC up north died.</p>
<p>I&#8217;ll be packing the car tonight for the drive north. In addition to the usual travel stuff,  I&#8217;m packing (1) a CR2032 3V Lithium CMOS battery, and (2) this PC. I just lugged this PC down here to Phoenix last month. Since I&#8217;m moving here soon anyway, lugging the PC back north with me just seems counter-intuitive.</p>
<p>Yes, I also have a fast Mac Pro up north, but all my tax stuff is on the PC.</p>
<p>Usually, when I post one of these &#8220;this happened to me&#8221; articles, there&#8217;s a moral to the story. In this case, I don&#8217;t know what it is yet. The PC failed just when I had to get a night&#8217;s rest for an early morning drive south. If I had to guess what the moral of the story will turn out to be, NOT forcing Windows shutdown with the Power Button would be high on my list!</p>
<p>Here&#8217;s the story (or what I know of it so far), excerpted from a letter to a friend. There&#8217;ll be a follow-up post once I do the diagnostics and fix the problem with whatever it takes.</p>
<blockquote><p>
I have a new Windows7-64 up north too, and I love it, but I may have to do all that over again too, if not very lucky, as soon as I get back next Friday.</p>
<p>Less than 12 hours before I had to leave for Phoenix, I was on the phone with Comcast cable/internet to get them to reset my new modem again. Some browser intercept feature of theirs was hijacking my browser on all 3 CA machines &#8211; a Mac and two PC&#8217;s.</p>
<p>Their tech guy reset the modem, got customer service to update something or other that should make the &#8220;hijack&#8221; screen go away, and he had me shut down and reboot the machines. This fixed the problem in the Mac and the old XP machine. The Win-7 machine refused to shut down. After several minutes, I forced it off with the 5-second Power Button trick. I don&#8217;t like to do that, and normally don&#8217;t.<br />
<span id="more-253"></span><br />
Well, this time it wouldn&#8217;t even boot into BIOS. The tech guy loved that &#8211; he admitted he &#8220;hates&#8221; PC&#8217;s. I had to point out the Mac had the problem too until he fixed things on his end.</p>
<p>So what I think is the machine was having problems that day to begin with. I suspect the CMOS battery or a bad USB drive. If disconnecting all the peripherals doesn&#8217;t make the problem go away, I&#8217;ll reset the CMOS. If that doesn&#8217;t work, I&#8217;ll buy a new battery and try again. If that doesn&#8217;t work, I&#8217;ll unplug all the internal hard drives. If that doesn&#8217;t work, I&#8217;ll try to load a new BIOS from flash drive or floppy.</p>
<p>Failing in all that, new motherboard, and you know how that game works. Any of the current generation of boards won&#8217;t support the old CPU socket (AM2), the old memory (DDR2) or most old graphics cards. My old board has been through two previous rebuilds and should be near end of life even if it didn&#8217;t fail. I have new ones picked out, but lord knows I don&#8217;t need the expense and setup time right now, especially with less than two weeks before taxes are due!</p>
<p>So hopefully it&#8217;s just a corrupted BIOS, USB or internal drive that went south, or a bad CMOS battery (also old, but cheap). I&#8217;ll know in a week!</p></blockquote>
]]></content:encoded>
			<wfw:commentRss>http://summitlake.com/wp_1computers/?feed=rss2&amp;p=253</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Why Doesn&#8217;t Stuff Just Work As It Should?</title>
		<link>http://summitlake.com/wp_1computers/?p=251</link>
		<comments>http://summitlake.com/wp_1computers/?p=251#comments</comments>
		<pubDate>Thu, 04 Mar 2010 21:24:06 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Article]]></category>
		<category><![CDATA[Programming]]></category>
		<category><![CDATA[Software]]></category>
		<category><![CDATA[Quality Control]]></category>

		<guid isPermaLink="false">http://summitlake.com/wp_1computers/?p=251</guid>
		<description><![CDATA[<table border="0" cellpadding="5" width="100%">
<tbody>
<tr>
<td><img src="http://summitlake.com/COMPUTERS_NET/graphics/QA-dev-Cycle-thumb.jpg" alt="" width="124" height="83" /></td>
<td>Mostly, I think the answer is software ... In truth, a coding project like a modern Mac-OS-X or Windows 7 may rival the Manhattan Project in resources and organizational complexity. When things go south, where did we go wrong?" <a href="http://summitlake.com/wp_1computers/?p=251">Read the article</a> in <em>Computers &#038; Technology</em>.</td>
</tr>
</tbody></table> <a href="http://summitlake.com/wp_1computers/?p=251">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>Steve Fox of <a href="http://pcworld.com">PCWorld</a> raised some timely questions in his March 2010 column <em>Tech Products: Revolting not Not Rebelling</em> :</p>
<blockquote><p>&#8230; our state-of-the-art technology too often fails to work as it should. That&#8217;s why I have to reboot my Wi-Fi router at least once a week; why my fingerprint-recognition pad periodically forgets what my thumb looks like; and why my smartphone keeps dropping calls without provocation.</p></blockquote>
<p>Mostly, I think the answer likes in our neglected software development process. In darker moments, many of us probably suspect that our software vendors hire besotted programmers to code their operating systems and mission-critical software in bars and back alleys. In truth, a coding project like a modern Mac-OS-X or Windows 7 may rival the Manhattan Project in resources and organizational complexity. When things go south, where did we go wrong?<br />
<span id="more-251"></span><br />
Funny, I read the Steve Fox article while rewriting a coding project of my own. I&#8217;m re-engineering a web app I had working perfectly about 10 years ago. Over the years, I added features which didn&#8217;t always play nicely with the existing code. With patches and add-ons, tracing the code execution became an exercise in frustration.</p>
<p>I also discovered that code I &#8220;locked down&#8221; years ago no longer works as originally designed and tested. In recent re-testing of old code, I found that some features I added in 2006 couldn&#8217;t possibly have ever worked. Yet such wasn&#8217;t actually the case. Software environments change over the years, and the code must change with them.</p>
<p>With 17 years in the software QA industry, I often recognized this kind of code in my own project. We called it &#8220;spaghetti code.&#8221; When you&#8217;re committed to preserving as much of the old code as possible, you&#8217;re wedded to old designs that may not be appropriate for the enhanced project.  Why hadn&#8217;t I designed a more modular web app?</p>
<p>Well, I know more now. I have years of professional experience testing software, but as an amateur programmer, I&#8217;m still learning basic techniques and standards that were part and parcel of  industry standards decades ago. Standards aren&#8217;t the problem with the major developers in the world that revolves around Silicon Valley.</p>
<p>So, what exactly IS the problem? Marketing deadlines and budget constraints certainly are major bugaboos for developers. Established standards are ignored or marginalized. In truth, every code change is a calculated exercise in risk-taking. &#8220;It should work&#8221; isn&#8217;t acceptable in aeronautical engineering. It shouldn&#8217;t be in software development either.</p>
<p>As I fix hidden defects in my own program, it seems like every fix opens the door for two new bugs. That tells me about where I am in the &#8220;development cycle&#8221; &#8211; not quite over the hill yet!</p>
<h3>QA Development Cycle</h3>
<div class="wp-caption alignnone" style="width: 334px"><a href="http://summitlake.com/COMPUTERS_NET/graphics/QA-dev-Cycle.jpg" target="_blank"><img class=" " title="QA Development Cycle" src="http://summitlake.com/COMPUTERS_NET/graphics/QA-dev-Cycle-324.jpg" alt="QA Development Cycle" width="324" height="223" /></a><p class="wp-caption-text">QA Development Cycle - click image for full-size graphic</p></div>
<p>My scratch-pad doodle shows life cycle of a software product, in terms of bugs found and fixed, on its path from programmer&#8217;s desk to client or end-user. This discussion talks in terms of a software enhancement. When we think about it, the same principles apply to routers, smartphones and even microwave ovens, autos and airplanes.</p>
<ul>
<li>if you recognize this graph as the classic &#8220;Bell Curve&#8221;, go to the head of the class.</li>
<li>vertical axis: bug &#8220;Severity&#8221;. Major bugs are &#8220;showstoppers&#8221;; minor bugs are annoying but don&#8217;t render the product unusable.</li>
<li>&#8220;Showstoppers&#8221; render the entire application unusable (such as a crash), or a major feature is inoperable, or produces a wrong result. There is no workaround for a showstopper, hence its highest severity.</li>
<li>Cosmetic bugs are appearance issues. They reflect badly on the product and annoy the user. Lower severity.</li>
<li>Functional bugs with lower severity have a workaround, or we can get past them without incorrect data or data  corruption.</li>
<li>horizontal axis: point in time in the development cycle.</li>
</ul>
<p><strong>Unit testing</strong> is mostly done by the programmer before the QA, QC or testing department ever sees it. Smaller modules of code are tested in a static setup against a spec sheet or checklist. Once all of the expected results can be created for all planned test conditions, the module is ready for &#8220;system testing&#8221;.</p>
<p><strong>System testing</strong> requires that the module talk to the existing application as a whole. It should produce the expected results of the enhancement without breaking anything. This is where the bulk of testing should take place.</p>
<p><strong>Beta and Acceptance testing</strong> is conducted by designated users in the client community to see if the product is ready for upgrade or replacement of an existing &#8220;production&#8221; product.</p>
<h3>Understanding The Curve</h3>
<p>You don&#8217;t need Statistics 101 to follow most of what the curve is telling us.</p>
<p>Programmer testing only suggests that the enhancement is ready for system testing. Getting early coding to run at all is just a part of the programmer&#8217;s job and doesn&#8217;t count in the bell curve. Just as pilots have to have a fundamental conviction that airplanes will fly, programmers are constitutionally constructed to believe the design is sound and can be made to produce the expected results.</p>
<p>Software testers are constitutionally built to believe that every product has serious latent flaws, and that they are capable of setting up the test conditions to expose them. Some &#8220;showstopper&#8221; bugs can&#8217;t be re-created in a real-world environment.</p>
<p>The real story is in the shape of the curve. Some shops don&#8217;t believe in wasting valuable resource dollars on &#8220;excessive&#8221; quality control. If fewer severe bugs are found, the curve will have a narrower &#8220;hill&#8221; and its peak will occur early in system testing. The likelihood increases that a &#8220;showstopper&#8221; will make it all the way to the end user&#8217;s desk.  If the severity curve &#8220;flattens&#8221; -  does not clearly go down by midpoint in budgeted system testing (the middle portion of the curve) &#8211; the project is in trouble.</p>
<p>A complete project flow-chart &#8220;map&#8221; looks like a street map of a real estate development project or even a small town. A flow chart of a poorly designed legacy product can look like a map of the New York City sewer system.  A development QA effort that never really finds showstoppers is probably in deeper trouble.</p>
<h3>The Sterilized Answer</h3>
<p>In analytical terms, the reason we get dumb smartphones, home finance software that won&#8217;t install, and operating systems that won&#8217;t shut down is: inadequate testing resources shift the development bell curve to the left, where there&#8217;s less motivation and training to see the system from the user&#8217;s point of view. &#8220;It ought to work&#8221; is NOT a language spoken in the homes and offices of the end user.</p>
<h3>The Bottom-line Answer</h3>
<p>Complex systems require complex testing and a clever, flexible and rigorous strategy to ensure the product meets end user expectations and needs. This is true whether the product is a software office suite or a Ford Pinto. It&#8217;s never unfair to call a slipshod product &#8220;slipshod&#8221;.</p>
<p>Budget cuts, layoffs and outsourcing can kill a product. A company that cannot afford good training and documentation is particularly unlikely to be able to supply replacement offshore development teams with the resources they need to assimilate the legacy &#8220;knowledge base.&#8221;</p>
<p>When complex systems fail, all too often the defect was cast-in-stone way back in the design stage, and it was never detected (or it was, but was ignored) due to rushed development. Inadequate testing can only be explained by budget shortfalls and unrealistic release deadlines.</p>
<p>I&#8217;m guessing on the numbers, but the millions of lines of code in a modern operating system should be approximately comparable to all the software NASA used to put men on the moon in 1969. And even NASA-grade software has been known to fail for non-hardware reasons. When we think about it, it&#8217;s nothing short of a miracle our software works as well is it does.</p>
]]></content:encoded>
			<wfw:commentRss>http://summitlake.com/wp_1computers/?feed=rss2&amp;p=251</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Smiley Madness</title>
		<link>http://summitlake.com/wp_1computers/?p=250</link>
		<comments>http://summitlake.com/wp_1computers/?p=250#comments</comments>
		<pubDate>Wed, 17 Feb 2010 03:24:41 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Programming]]></category>
		<category><![CDATA[Perl]]></category>

		<guid isPermaLink="false">http://summitlake.com/wp_1computers/?p=250</guid>
		<description><![CDATA[<p>Writing my own code to handle "smiley" icons in text messages was tougher than I thought :-). At least I learned something. Like a manager once said, "simplicity comes at the end, not the beginning." Read about <a href="http://summitlake.com/wp_1computers/?p=250">Smiley Madness</a>, with an example of test output, in <em>Computers</em>.</p> <a href="http://summitlake.com/wp_1computers/?p=250">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>It sounded so simple. Wouldn’t it be fun to add smiley recognition to my own little web programs? WordPress does it automatically. They just can’t decide whether it&#8217;s spelled &#8220;smilie&#8221; or &#8220;smiley&#8221; &#8211; depends who did their coding.</p>
<p>Well, after all, every time you see the symbols &#8220;:-)&#8221; , you&#8217;d just replace the symbols with the image path to the appropriate smiley, wouldn’t you <img src='http://summitlake.com/wp_1computers/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' /> ?</p>
<p>So you can see the manual smiley markups, I even had to enclose the symbols in quotes for this post, to prevent WordPress from converting them to their image equivalents.</p>
<p>Outside of WordPress, it turned out not to be so simple. You see, every symbol in the smiley &#8220;grin&#8221; markup is also a &#8220;special character&#8221; in Perl and most other programming languages. The coding to test for their presence will therefore match to symbols which, themselves, are program control characters. So the program thinks it sees a syntax error and blows up.<br />
<span id="more-250"></span><br />
Not only that, there are a lot more recognized smiley codes than the two I knew about. WordPress handles 44 distinct smiley codes. If you&#8217;re going to add smileys to your own projects, add all of them, as users aren&#8217;t going to be interested in guessing which ones you personally happen to know about.</p>
<p>I spent a day studying the WordPress code to see how they do it. I translated most of their relevant php code to Perl. I finally decided that (for my purposes) they are using the Large Hadron Collider to make refrigerator magnets, and I wrote my own code instead. That  works for me.</p>
<p>Nothing like a little coding exercise to clear out the cobwebs. Now all I have to decide is what I want to use it for.</p>
<p>In the end, all I was able to use from the WordPress code was their markup-key to icon-value hash lookup table. I needed to write a subroutine to handle escaping of all the special characters. Even there, the characters have to be encoded in hex so the program doesn&#8217;t blow up. Fortunately Perl has a built-in library for the actual escaping (use URI::Escape). Lastly, I had to write the code for the program that outputs the test display below. It loops through the big hash table once. It loops through each word in the input text 44 times, analyzing each one to see if it matches this particular smiley. You can&#8217;t assume people will only use one smiley in an entry or post. But there should be a pre-test to see how many smileys the text sample contains. Then the program can exit as soon as it&#8217;s found all of them: done!</p>
<p><strong>Example:</strong> In the test output below, quote marks enclose the found keys again, to make the display look more like the actual Perl html output. The quotes are not used in the original. The backslashes found elsewhere in the output below tell Perl not to treat the special characters as symbols, but just treat them like any other literal. In captured  text containing smiley markup, you backslash all the special characters (this is called <em>escaping</em> control characters). You also escape the patterns you are trying to match. If there&#8217;s a match, substitute the corresponding smiley icon image for the matched smiley code markup, word by word. Then reassemble the words back into a sentence or paragraph. Finally, unescape the final smiley-converted text and print it out. </p>
<hr />
<code><strong>IN text</strong> = This is some smilie ":-)" text. Some is sad ":-(" some is confused < ":???:" and some is really glad. ":grin:"</code></p>
<hr />
</code><code></p>
<h3>TEST3. Try splitting into words and testing each word against hash.</h3>
<p>read was key ":grin:" , value icon_biggrin.gif<strong> <span style="color: #ff0000;">Matched key </span> </strong> \:grin\: to <strong>word \:grin\:</strong></p>
<p>read was key ":-(" , value icon_sad.gif<strong> <span style="color: #ff0000;">Matched key </span> </strong> \:\-( to <strong>word \:\-(</strong></p>
<p>read was key ":???:" , value icon_confused.gif<strong> <span style="color: #ff0000;">Matched key </span> </strong> \:\?\?\?\: to <strong>word \:\?\?\?\:</strong></p>
<p>read was key" <img src='http://summitlake.com/wp_1computers/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' /> " , value icon_smile.gif<strong> <span style="color: #ff0000;">Matched key </span> </strong> \:\-\) to <strong>word \:\-\)</strong></p>
<h3>This is some smilie <img src="http://summitlake.com/graphics/smilies/icon_smile.gif" alt="" /> text. Some is sad <img src="http://summitlake.com/graphics/smilies/icon_sad.gif" alt="" /> some is confused <img src="http://summitlake.com/graphics/smilies/icon_confused.gif" alt="" /> and some is really glad. <img src="http://summitlake.com/graphics/smilies/icon_biggrin.gif" alt="" /></h3>
<hr />
<p></code></p>
]]></content:encoded>
			<wfw:commentRss>http://summitlake.com/wp_1computers/?feed=rss2&amp;p=250</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Mac &amp; Windows Notes</title>
		<link>http://summitlake.com/wp_1computers/?p=248</link>
		<comments>http://summitlake.com/wp_1computers/?p=248#comments</comments>
		<pubDate>Fri, 25 Dec 2009 02:50:09 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[General]]></category>
		<category><![CDATA[Review]]></category>
		<category><![CDATA[Hardware]]></category>
		<category><![CDATA[Mac]]></category>
		<category><![CDATA[music]]></category>
		<category><![CDATA[PC]]></category>
		<category><![CDATA[reviews]]></category>
		<category><![CDATA[streaming]]></category>

		<guid isPermaLink="false">http://summitlake.com/wp_1computers/?p=248</guid>
		<description><![CDATA[<table border="0" cellpadding="5" width="100%">
<tbody>
<tr>
<td><img src="http://summitlake.com/COMPUTERS_NET/graphics/SETI-Computers-122409-thumb.gif" alt="" width="124" height="81" /></td>
<td>I continue to enjoy my Mac Pro (under Snow Leopard) and my PC (with newly installed Windows 7-64). Following are some collected notes &#038; observations. Read the full post <a href="http://summitlake.com/wp_1computers/?p=248"><em>Mac &#038; Windows Notes</em></a> in <em>Computers</em>.</td>
</tr>
</tbody></table> <a href="http://summitlake.com/wp_1computers/?p=248">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>I continue to enjoy my Mac Pro (under Snow Leopard) and my PC (with newly installed Windows 7-64). Following are some collected notes &amp; observations.</p>
<ul>
<li><strong>Music:</strong> for years I&#8217;ve been careful to select PC motherboards with the best onboard sound processors (DAC&#8217;s). I knew I would be interested in finding the results of A/B sound comparisons between Mac and PC playing the same iTunes tracks in synch.</li>
<li><strong>iTunes:</strong> &#8220;PC music&#8221; is a hot topic in the high-end audio magazines these days. The thinking is that you have to get an external DAC to wring true &#8220;hi-fi&#8221; stereo sound out of your PC &#8211; and the pros are often as not using iTunes to create their own state of the art music servers &#8211; something I&#8217;ve been doing for years, using just the onboard digital-to-analog logic.</li>
<li><strong>And the audio quality winner is:</strong> <span id="more-248"></span><span style="color: #ff0000;">Mac Pro</span>, by the slightest of margins. My PC audio sounded indistinguishable from the original CD to me, or so I thought, so I didn&#8217;t see how the Mac could improve on that. Piped through the same back-end mini-stereo and Boston bookshelf speakers, the Mac highs sounded just a little crisper, and the bass just a little clearer and resonantly robust. That&#8217;s all the audiospeak you&#8217;ll get out of me &#8211; it was just enough difference that I could tell.</li>
<li><strong>HRT Music Streamer</strong> ($99): I wanted to see if one of these external DAC devices could really improve my PC audio. I ordered my $99 <a href="http://www.audioadvisor.com/prodinfo.asp?number=HRTMS" target="_blank">Music Streamer</a> from Amazon, but it shipped from their trustworthy partner Audio Advisor. There is also a $299 Music Streamer+ with a better Bryston digital conversion processor chip. Art Dudley of <em>Stereophile</em> raves about this thing (the cheaper one) in his <a href="http://http://www.stereophile.com/digitalprocessors/hrt_music_streamer_usb_converter/#" target="_blank">review</a>. Believe it or not, all these devices, from $99 to $3,000, get the raw audio input<em> from the USB data stream sent to any and all standard USB ports</em>.</li>
<li><strong>It works.</strong> The HRT raised the PC audio to &#8220;indistinguishable&#8221; as compared with the Mac. The ASUS motherboard (M2N-SLI Deluxe) hosts an HD Audio Device, an ADI AD1988B, an Analog Devices <a href="http://www.analog.com/en/audiovideo-products/audio-codecs/ad1988b/products/product.html" target="_blank">Audio Codec</a>.  (Check the link: it&#8217;s amazing what they cram into one chip). You would expect Apple to support top-rate media, so I suppose it&#8217;s a credit to ASUS that their more general-purpose motherboard came so close. Art Dudley must be using a Dell.</li>
<li><strong>I remain unconvinced</strong> that $299 or $1295 would get me a noticeably better audio experience. A good DAC is important, particularly if you&#8217;re running typical off-the-shelf retail PC&#8217;s,  but, goodness, there aren&#8217;t <em>that</em> many different grades of DAC chip on the market. If you can afford your table wine at over $100/bottle, go ahead and buy the $1,995 Bryston BDA-1 and let me know what you think &#8211; in plain English, not in winetaster-ese.</li>
<li><strong>Speed Comparisons:</strong> I&#8217;ve been running projects for SETI for years. I&#8217;m currently running it on (1) Mac, (2) PC&#8217;s, and a laptop. The Mac is pretty much producing <span style="color: #ff0000;">as much daily output as all the other machines combined</span>. SETI results below. Click the image for a readable full-size .gif image.</li>
<li>Machines #5 and #6 are not active. #5 is my current PC, but under the old XP OS; the sixth is the Phoenix machine which only runs a few days a month. Average Credit scores compute lower with disuse. My old 32-bit XP installation (#5) used to crank out an average credit of about 690 units per day, so Win7 under 64-bit is about 1/3 faster on the same machine, and the average is still creeping up.</li>
</ul>
<div class="wp-caption aligncenter" style="width: 334px"><a href="http://summitlake.com/COMPUTERS_NET/graphics/SETI-Computers-122409.gif"><img title="SETI Recent Results 12-24-3009 - click image for readable full-size page, hit browser back arrow for return." src="http://summitlake.com/COMPUTERS_NET/graphics/SETI-Computers-122409-sm.gif" alt="SETI results" width="324" height="213" /></a><p class="wp-caption-text">SETI Recent Results 12-24-3009</p></div>
<ul>
<li><strong>Quicken 2010:</strong> I use Quicken to manage all the household accounts. Under Windows 7 I found the older Quicken 2009 no longer displayed investment share price in portfolio management, which kind of defeats the whole purpose of maintaining a portfolio tracker. The online Chat folks at Intuit assured me this feature would work under Q2010, so I upgraded, and it did work. Make sure you <strong>don&#8217;t</strong> check <em>Run As Administrator</em> in the executable&#8217;s Properties (even if you have Admin privileges): you&#8217;ll get the annoying dialog &#8220;Quicken does not support the <em>Run As Administrator</em> command&#8221;. Everything else works fine. If you do a 1-hour 100% clean uninstall and reinstall, and I did, <span style="text-decoration: underline;">you still have to un-check the Properties box</span> to get rid of the dialog.  (That means their uninstaller didn&#8217;t find all old registry entries). Once I figured that out, it all works fine now. I wish their web page <em>could have just said that</em>.  Oh, and if you were thinking of migrating to <strong>Microsoft Money</strong>: did you know Microsoft tossed in the towel? MS Money is no longer offered and support will end soon.</li>
<li><strong>Sun Gonna Shine in My Back Door Someday Blues:</strong> If I ever get into the old Mac vs. PC flame war rhetoric, and I never did in the old days, I hope somebody will just shoot me. Having said that, if you want to install or uninstall a Mac app, you just drag the app&#8217;s icon into, or out of, the Applications folder. Heaven help us all if life on the PC side was ever so brilliantly simple.</li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://summitlake.com/wp_1computers/?feed=rss2&amp;p=248</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Windows 7 Impressions</title>
		<link>http://summitlake.com/wp_1computers/?p=247</link>
		<comments>http://summitlake.com/wp_1computers/?p=247#comments</comments>
		<pubDate>Thu, 03 Dec 2009 04:58:15 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Review]]></category>
		<category><![CDATA[Software]]></category>
		<category><![CDATA[OS]]></category>
		<category><![CDATA[reviews]]></category>

		<guid isPermaLink="false">http://summitlake.com/wp_1computers/?p=247</guid>
		<description><![CDATA[The Windows 7 OS has become a real pleasure to use. The 64-bit install was the fastest, cleanest and simplest Windows OS install I've done since my first PC in 1997. I like it, and recommend it to Windows users. <a href="http://summitlake.com/wp_1computers/?p=247">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>I won&#8217;t pretend there was any urgent reason to upgrade from XP to Win 7. My XP installation was getting slower and slower, and that was only just reinstalled in July. My new Mac Pro (64 bit Snow Leopard) greatly increased my dissatisfaction with the PC side: if I&#8217;m going to live with Windows, and I am, I needed to do something!</p>
<p>A new motherboard and chip was financially out of the question. I&#8217;m running an ASUS M2N-SLI Deluxe with AMD 64 6000+ CPU. It&#8217;s not<em> that</em> old. By the time you add all the other stuff you always find you need, a slight upgrade turns into a major investment. I decided to go full bore with 8GB RAM, Windows 7 Pro (64-bit), and a better graphics card that would support &#8220;Windows Aero&#8221;.<br />
<span id="more-247"></span></p>
<p>The graphics card arrived DOA and is all packed up with RMA and prepaid UPS shipping label to send back to NewEgg tomorrow. The old card actually seems to work fine.</p>
<p>Windows 7 does not support a direct &#8220;upgrade&#8221; from XP to any flavor of Windows 7. Just as well. I wanted a clean install anyway, which MS calls a &#8220;custom install&#8221; to take some of the sting out of it.</p>
<p>You can dual boot multiple OS&#8217;s in Windows. I wanted to keep XP as a fallback during a transition period, and I intend to take my time. If you&#8217;re interested in dual-boot, by all means Google the topic before commencing. Essentially, you can only have one OS in a partition.  You can either partition the existing C drive (if you have enough free space), or simply install a new HD (this is a big desktop box).  I bought a cheap new 1TB HD, and ran the new OS install into a partition on that.</p>
<p>The Win7-64 install was the<span style="text-decoration: underline;"> fastest and cleanest</span> of any Windows install I&#8217;ve ever done. Windows asked for a name, password and OS serial number. It figured out everything else, including discovery of the Mac Pro and other PC&#8217;s on the network. The Windows annoyance factor has dropped 90%.</p>
<p>I like it so much I hate to boot back into XP, but that still works, too.</p>
<p>The Win7 interface is sleek, logical, clean and beautiful. I enjoy it very much. It strikes me as a cross between Mac Snow Leopard and Vista, with none of the ugly bad habits of Vista. I won&#8217;t say Microsoft &#8220;copied&#8221; the slick Snow Leopard look and feel, but I&#8217;m grateful that I can find my way around so quickly because of my Mac experience.</p>
<p>I had a couple of solvable glitches. This <em>IS</em> 64-bit Windows. I got my Microsoft bluetooth mouse working quite easily. Never being one to leave well enough alone, I had to go and install the<strong> iogear</strong> bluetooth software. All hell broke loose. Three iterations of driver updates later, I was getting blue screens and still no mouse.</p>
<p>I turned off the mouse, unplugged the bluetooth USB dongle, and uninstalled all the bluetooth software I&#8217;d installed. I then plugged the dongle back in, and turned on the mouse. It was discovered instantly, and not a problem since. I&#8217;ll worry about finding out how to let it discover my cellphone later.</p>
<p>The other glitch was one-time: I had an iTunes crash while I was trying to reconfigure my bluetooth mouse with the bad software. After uninstalling all the non-native bluetooth software (described above), iTunes worked perfectly again.</p>
<p>There are some differences where I miss the old ways. Right-clicking the Start menu doesn&#8217;t bring you a context menu, and I&#8217;d heavily customized my registry shell commands. Importing those changes into the new registry displays nothing. Instead of trying to make Windows 7 look like my old Windows 98, I&#8217;m going to take the time to learn the new ways of doing things.</p>
<p>I recommend Windows 7, and in particular, the 64-bit version. Without a hardware upgrade, I&#8217;m noticing about double the speed on most apps even if they&#8217;re not 64-bit: even <em>Office</em> is fast.  Boot time and shut-down time are less than 60 seconds &#8211; very close to the Mac. Agonizing 15-minute boots are a thing of the past.</p>
<p>I have the security of being able to say this because I have a Mac and a (Vista) laptop to keep me going, and, heck, I can still boot into my old XP installation. If your only machine is a notebook, and the hard drive&#8217;s nearly full, and you can&#8217;t afford to be offline for a while whilst getting your new environment up and running with the right drivers: just wait until it&#8217;s time to buy a new Notebook. Too many devices (touchpad, fingerprint, built-in webcam, etc) may or may not work until you get the required driver support.</p>
<p><strong>The good news on drivers:</strong> in my own experience so far, I didn&#8217;t have to install <em>any</em> drivers. As noted above, I uninstalled the ones I put on the new OS. I didn&#8217;t even have to install nVidia and ASUS drivers for support at the motherboard level. Microsoft seems to have actually figured it out. So far, everything I need is installed and working correctly.</p>
<p>I will say that Mac has a better audio chip. The same WAV song played on  iTunes sounds distinctly crisper, clearer, and more &#8220;natural&#8221; on the Mac. I reported in an earlier post that I couldn&#8217;t distinguish between the great iTunes Windows and the original CD &#8211; but that A/B comparison was run through the same audio chip, so on reflection it was a silly test of audio reproduction.</p>
<p>Not to hijack the OS conversation, but the best solution is to buy an external USB DAC  &#8211; <em>digital to analog converter</em>. Art Dudley of <em>Stereophile</em> praises the $99 <a href="http://stereophile.com/digitalprocessors/hrt_music_streamer_usb_converter/">HRT Music Streamer USB D/A Converter</a> to the skies, and the lab test charts back up his claim. (There is also a $299 version with a slightly better chip). These things are not toys for the iPod crowd, but a serious power tool for any audiophile who pumps WAV libraries of a PC or Mac music server through a serious home entertainment or audio system. Turns out, the digital audio really is a part of the USB bus stream.  DAC devices like this allow interception and processing before our relatively weak motherboard audio processors convert it to analog for your headsets, PC speakers, or stereo line-in cable.</p>
<p>Don&#8217;t get me wrong.  The onboard chips are certainly more than adequate for iPod, MP3 and AAW compressed sound. I was certainly impressed with my RealTek and SoundMAX sound chips. For WAV reproduction, better digital to analog conversion makes a difference you can hear at once. Thanks to Mac for demonstrating that.</p>
<p>Even the new Snow Leopard 10.6.2 is still working through a few refinements (the buggy Skype once crashed it, so I uninstalled Skype). So far, I would say Microsoft has done a remarkable job of simplifying the installation and presenting a clean OS we can look forward to using.</p>
<p>I do like my Mac better, and I&#8217;m not one of those &#8220;Mac vs. PC&#8221; snobs. I use the tools that do the job.</p>
<p><strong>It&#8217;s a real pleasure to use Windows now, one I look forward to. </strong></p>
]]></content:encoded>
			<wfw:commentRss>http://summitlake.com/wp_1computers/?feed=rss2&amp;p=247</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>WordPress server on Mac localhost</title>
		<link>http://summitlake.com/wp_1computers/?p=246</link>
		<comments>http://summitlake.com/wp_1computers/?p=246#comments</comments>
		<pubDate>Sat, 14 Nov 2009 04:20:26 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Development]]></category>
		<category><![CDATA[Solutions]]></category>
		<category><![CDATA[Apache]]></category>
		<category><![CDATA[Hardware]]></category>
		<category><![CDATA[Mac]]></category>
		<category><![CDATA[music server]]></category>
		<category><![CDATA[MySQL]]></category>
		<category><![CDATA[Perl]]></category>
		<category><![CDATA[PhP]]></category>

		<guid isPermaLink="false">http://summitlake.com/wp_1computers/?p=246</guid>
		<description><![CDATA[Adding a web server to your Mac under OS-X and MAMP. The basic setup for a test WordPress installation on the local machine was done in one evening. Links and references. <a href="http://summitlake.com/wp_1computers/?p=246">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<div class="wp-caption alignnone" style="width: 334px"><a href="http://summitlake.com/graphics/wp-graphics/images/Mamp-localhost.jpg"><img class="  " title="MAMP localhost" src="http://summitlake.com/graphics/wp-graphics/sm324/Mamp-localhost.jpg" alt="First test WordPress installation on local Mac machine. Click image for 1024x768 view." width="324" height="243" /></a><p class="wp-caption-text">First test WordPress installation on local Mac machine. Click image for 1024x768 view.</p></div>
<p>Pictured above is a test WordPress installation running on a <strong>desktop Mac</strong>. It&#8217;s running under a free development environment for Mac called MAMP.  No internet connection or remote server uploads are involved at all.</p>
<p><a href="http://wordpress.org/">WordPress</a> is the popular free web blog engine that evolved into an excellent website platform. If the page pictured above looks familiar, that&#8217;s because Summitlake.com (and thousands of other sites) are running under WordPress. <span id="more-246"></span></p>
<p>Half of this article is general interest info, and half of it is tech talk for those who might like to start doing and testing web development on their own machines.</p>
<p><strong>Thumbnail terms and functionality:</strong> WordPress is written in <a href="http://en.wikipedia.org/wiki/PHP">PhP</a>, a popular web language related to <a href="http://en.wikipedia.org/wiki/Perl">Perl</a>. It currently consists of around 866 files or 10.3MB per installation. PhP code can also be embedded in HTML web pages with the .php extension, allowing page customization without  Perl or CGI server side includes and heavy javascript. WordPress gets all its posts, pages and configuration parameters from a <a href="http://en.wikipedia.org/wiki/MySQL">mySQL</a> database, to which it must be connected. When you click a link to a WordPress article, the resulting content loads from this database, not from within the page itself. This means that you can change the look and feel (&#8220;theme&#8221;) of the page in an instant, without messing with its content at all.</p>
<p>This sounds complex to the newcomer, but page loads are faster than HTML and arguably just as reliable. By dividing storage, rendering and presentation functionality, what looks like a &#8220;page&#8221; to the viewer is a simple, logical division of labor to the programmer, content creator, or webmaster. As I write this post, I don&#8217;t need to be concerned with page design beyond adding graphics and fonting in a &#8220;WYSIWYG&#8221; window, nor even know how it works; I&#8217;m free to focus on writing the article.</p>
<p>Of course, having said all that, it really <em>is</em> complex. It&#8217;s possible to screw up a customization. I&#8217;ve &#8220;wrecked&#8221; the Summitlake home page several times. I&#8217;ve destroyed a department database a couple of times and had to re-load it. For this kind of work, it&#8217;s preferable to develop and test your changes on a test site or test server. I do have a private test site on Summitlake&#8217;s server, but the server is actually in Salt Lake City, and code changes have to be uploaded &#8211; another layer of intrusion upon the developer who wants to see immediate results. Having a test server right on your own Mac or PC means you don&#8217;t even have to upload your work to test the changes.</p>
<p><strong>On October 24</strong>, I wrote about my first impressions of the Mac Pro, remarking &#8220;But I’ve always wanted to install a test server right on my own box. &#8221;</p>
<p>I devoted yesterday evening to discovering how to do just that (without migrating to Snow Leopard Server). To my surprise, I had a test server up and running before turning in for the evening. Admittedly, it was a long evening for me &#8211; I &#8220;turned in&#8221; at 130AM.</p>
<p>At first, I just couldn&#8217;t get the server page to come up. It turned out I was typing an unnecessarily complicated URL. The server path to site root is predefined, but this is a Mac; you don&#8217;t have to do everything twice. Just type the URL as <code>http://localhost/wordpress</code>. You&#8217;re there.</p>
<p>Mac comes with most of the necessary apps pre-installed: Apache, SQLlite and PhP. But WordPress wants mySQL. And I already know how long it can take to set up the config files to get all these services running. For a test server, I wanted a quick demonstration server. Enter <strong><a href="http://www.mamp.info/en/index.html">MAMP</a></strong>:</p>
<p style="text-align: center;"><img class="aligncenter" src="http://summitlake.com/graphics/wp-graphics/graphics/4logos.png" alt="MAMP - Mac, Apache, MySQL, PhP" /></p>
<p>This freeware bundle installs and preconfigures <a href="http://en.wikipedia.org/wiki/Apache_Server">Apache Server</a>, mySQL database services, and the PhP page engine, to a standard default configuration. All you have to do is change or retain the default path to the test page (which includes the powerful <a href="http://en.wikipedia.org/wiki/PhpMyAdmin">phpMyAdmin</a>) and server path to root (I chose &#8220;Sites&#8221;) and I was up and running in 1/2 hour.</p>
<p>This is the same stuff I run on our site&#8217;s virtual remote server, except for Apache, which I&#8217;m happy to let my hosting ISP worry about since it has never failed or needed my attention.</p>
<p>The <strong>free version of MAMP</strong> only supports localhost on the host machine, my Mac Pro. If you also want to view the test server on another machine (my Win-XP PC, for example), or if you actually would like to run a website from your Mac with a fixed IP address and domain name (I do not), then, for $99,  <strong>MAMP-Pro</strong> is for you. For the power and convenience, that&#8217;s an incredible bargain.</p>
<p>To install WordPress, I created an empty database, &#8216;wordpress&#8217;, in phpMyAdmin. I downloaded a clean current install of WordPress 2.8.6. I configured wp-config.php for connectivity to my fledgling database. At the outset, as I wrote before, I couldn&#8217;t get the URL right to run wordpress setup. I really just needed to type <code>http://localhost/wordpress/wp-admin/install.php</code>.</p>
<p>The &#8220;famous five-minute WordPress installation&#8221; actually takes about five minutes, including entry of basic WP setup fields like blog name and email.</p>
<p>After getting it running, I belatedly decided I wanted to change the password. They tell you, just use a user of &#8216;root&#8217; and a password of &#8216;root&#8217;. Sure, Macs are secure, but published default pw&#8217;s are asking for trouble, just like &#8216;admin&#8217;/'admin&#8217; defaults on router firewalls. Change the defaults.</p>
<p>I ran into trouble. There are also config files changed in the default MAMP installation that need to be changed manually if you change passwords. (You can edit files in BBEdit, TextMate or TextWrangler, and make other required command-line pw changes in Terminal).</p>
<p>If you are actually installing MAMP and WordPress on your Mac, bookmark and refer to these pages before doing anything else:</p>
<ul>
<li><a href="http://codex.wordpress.org/Installing_WordPress_Locally_on_Your_Mac_With_MAMP">Installing WordPress Locally on Your Mac With MAMP</a></li>
<li><a href="http://www.mamp.info/en/documentation/faq.html#q9">MAMP Frequently Asked Questions</a></li>
<li> <a href="http://forum.mamp.info/viewtopic.php?f=2&amp;t=1719">Cannot change MySQL Password after fresh Install</a>. Save and print out the step-by-step instructions posted by PBear on Mar 01 2007 at 5:15 am.</li>
</ul>
<p><strong>Next Steps:</strong></p>
<p>I&#8217;ve already loaded a clone of the custom Summitlake HOME installation, including yesterday&#8217;s database. The home page and linked articles load. The javascript slide show and portrait image are done by php virtual include. They do not work yet. The random quote snippets, server stats and &#8220;At A Glance&#8221; sidebar entries are Perl includes. They do not work yet. A lot of my code server paths are hard-wired (not relative paths) to defeat DreamWeaver&#8217;s rewriting of paths when a file is moved. Nowadays I mostly code in HomeSite or BBEdit. But I will get it going.</p>
<p>If you have a Mac and do website development, whether for personal blog or something bigger, this localhost server technology is robust, proven and here to stay. I recommend looking into it.</p>
<p>Cheers!</p>
]]></content:encoded>
			<wfw:commentRss>http://summitlake.com/wp_1computers/?feed=rss2&amp;p=246</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Use Wireless Router as &#8220;Repeater&#8221; Station</title>
		<link>http://summitlake.com/wp_1computers/?p=245</link>
		<comments>http://summitlake.com/wp_1computers/?p=245#comments</comments>
		<pubDate>Mon, 02 Nov 2009 16:57:02 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Hardware]]></category>
		<category><![CDATA[Network]]></category>
		<category><![CDATA[Solutions]]></category>
		<category><![CDATA[Software]]></category>

		<guid isPermaLink="false">http://summitlake.com/wp_1computers/?p=245</guid>
		<description><![CDATA[In this setup the wireless is just a “repeater station” so you can rove with the laptop. Now I have the best of both worlds: the speed of 100Mbps CAT5, and wireless mobility for roving devices. <a href="http://summitlake.com/wp_1computers/?p=245">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>I had seen mention on the internet that it was possible to use a wireless router on your home network without replacing the existing wired router-firewall and CAT5 installation. Most of my machines are already wired into my &#8220;blue cable&#8221; ethernet LAN (which is much faster).</p>
<p>Unlike an earlier experiment a few years back, this router had excellent range. It&#8217;s an ASUS WL-520GU broad range wireless router I picked up on the cheap on a whim at a NewEgg sale, but I never spent the time to try to work through the setup.<span id="more-245"></span></p>
<p>In this configuration you just connect a wireless LAN port into an existing CAT5 network port on any fast Ethernet switch. I use NetGear switches all over the house. However, in what was to be its &#8220;permanent&#8221; location, I was unsuccessful in getting the installation software to connect to the wireless router. Finally, I just plugged it into the unused extra Local Area Connection 2 port on the back of my desktop PC. The installer connected just fine.</p>
<p>The next step was to configure the router through its HTTP IP address. The web browser configuration panel is much more sophisticated than the installation software, and worked perfectly. I set up a very secure connection and soon had my wireless Toshiba laptop connected to it.</p>
<p>Moving the now-configured wireless router out to its permanent home in the living room (about 100&#8242; away), I connected it to the living room CAT5 connection. The Toshiba laptop, still here on my desk,  nevertheless got &#8220;Excellent&#8221; signal strength at that distance. I can’t see any signal drop-off.</p>
<p>In this setup the wireless is just a “repeater station” so you can rove with the laptop. Now I have the best of both worlds: the speed of 100Mbps CAT5, and wireless mobility for roving devices.</p>
<p>As others have pointed out, installation software is &#8220;horrible&#8221;. I saw that remark made about ASUS in a NewEgg user review; I would have to say that NetGear installation software is at least as bad.  Here we are criticizing only the software that comes with the installation CD&#8217;s; on the other hand, I&#8217;ve found that the ASUS and NetGear firmware HTTP configuration control panels that come with the same devices, which we use to administer router, print server and firewall router, are all reliably excellent.</p>
<p><a href="http://techgage.com/article/asus_wl-520gu_wireless_router/">Techgage review</a></p>
]]></content:encoded>
			<wfw:commentRss>http://summitlake.com/wp_1computers/?feed=rss2&amp;p=245</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Mac Pro &#8211; Impressions II</title>
		<link>http://summitlake.com/wp_1computers/?p=243</link>
		<comments>http://summitlake.com/wp_1computers/?p=243#comments</comments>
		<pubDate>Thu, 29 Oct 2009 00:58:56 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Hardware]]></category>
		<category><![CDATA[Mac]]></category>
		<category><![CDATA[reviews]]></category>

		<guid isPermaLink="false">http://summitlake.com/wp_1computers/?p=243</guid>
		<description><![CDATA[After a week and a day with my new Mac Pro, I'm more delighted than ever. Highlights in article. No wonder my Mac friends would never consider running on other platforms!
 <a href="http://summitlake.com/wp_1computers/?p=243">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>After a week and a day with my new Mac Pro, I&#8217;m more delighted than ever. Highlights:</p>
<ul>
<li>More software added: BBEdit, Photoshop Elements 8 for Mac</li>
<li>In the mail: Dreamweaver CS4 for Mac (crossgrade)</li>
<li>Win-PC networking fixed (issue on PC side)</li>
<li>Installed HP P1505N networked printer for all machines</li>
<li>Upgraded memory to 7GB (+3[2GB] SIMMS + 1 existing 1GB) - removed two 1GB&#8217;s to fill 4 slots.</li>
<li>Added 1TB Hitachi SATA for backups and music</li>
</ul>
<p><span id="more-243"></span><br />
The hardware upgrades were particularly pleasant. Adding memory and drives in any well-designed computer case should be a no-brainer, but Apple makes it even easier with pull-out trays or slot frames. No need to access the motherboard. No SATA cables needed &#8211; the drive just plugs in.</p>
<p>The HP CD installer did not work well with Snow Leopard. I had to manually delete the install and reinstall a download. The Win-XP install went fine and left me convinced that the Mac installer version is a stripped-down afterthought. It is the only Mac installer I have yet used that does not follow Apple installer interface conventions. However, all machines now print great on the new ethernet printer, which runs only $249, half the price and weight of the non-networked parallel port HP1100 we bought for this household in the year 2000.</p>
<p>I bought the Hitachi drive &#8220;bare&#8221; &#8211; unformatted. On the Mac, just partition the new drive, which takes abotu 15 seconds, and you&#8217;re done. Time Machine, Apple&#8217;s backup utility, is backing up the Mac HD now and is 75% through a 48GB backup, in about 20 minutes. Impressive!</p>
<p>All in all, now I wish all my machines were Mac. So many Windows XP and Vista operations are SO slow &#8211; especially, startup, shutdown and Internet Explorer 8 &#8211; even with the very fast AMD dual core processor. It is edifying to switch over to the PC, and unfortunately somewhat of a letdown. I am hoping to shed some of the startup crap that slows Windows down so much. Larger apps are so bloated that the PC app manufacturers load &#8220;helper apps&#8221; that run in the background all the time, giving the user the impression app startup is quicker than it would otherwise seem. Managing this in msconfig works but is a pain &#8211; I never did find a really good PC startup manager.</p>
<p>Apple users used to have really outstanding startup managers. I see no need of one at the moment, but if I do, I&#8217;m confident they&#8217;re still available.</p>
<p>No one seems to know of a really good IPTC photo editor for Mac. This is &#8220;the other&#8221; embedded file-info format on photo images (besides EXIF). IPTC contains all the comments and keywords that many photo browsers like JAlbum utilize so neatly. I can use PhotoShop or PS Elements (I think), but Photoshop is quite klutzy for IPTC and EXIF, with no batch or profiling functionality, and changing IPTC in Photoshop updates the EXIF, which is unacceptable.</p>
<p>Regular users know I run project SETI 24/7. I also use it as a realtime <strong>benchmarking standard</strong>.</p>
<ul>
<li>Average daily SETI credits: AMD dual core (Win-XP) 756.27, Intel Quad core Xenon (Mac OS 10.6) 978.61, AMD quad core (Win-XP) 1,430.15 units.</li>
<li>Measured floating point speeds: AMD dual core (Win-XP) 2993.42, Intel Quad core Xenon (Mac OS 10.6) 3131.16, AMD quad core (Win-XP) 2412.27 million ops/sec.</li>
<li>The Mac has not accumulated an average SETI credit yet equal to the two main Windows machines, but it takes some time for SETI to catch up to what the machines are uploading after they come online.   SETI already ranks the Mac #1, followed by the two AMD PC&#8217;s.</li>
</ul>
<p>No wonder my Mac friends would never consider running on other platforms!</p>
<p><strong>Postscript:  Hewlett Packard Registration</strong></p>
<p>&#8220;Thank You For Registering With HP&#8221;: Is this what we can expect as thanks for registering a new purchase with HP?</p>
<p><img class="alignnone" title="From my Outlook Deleted Items folder" src="http://summitlake.com/graphics/wp-graphics/images/HP-ThankYou.jpg" alt="" width="400" height="287" /></p>
]]></content:encoded>
			<wfw:commentRss>http://summitlake.com/wp_1computers/?feed=rss2&amp;p=243</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
