<?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"
	>

<channel>
	<title>MINGER.NET</title>
	<atom:link href="http://www.minger.net/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.minger.net</link>
	<description>The Long Tail of Web 2.0</description>
	<pubDate>Tue, 30 Mar 2010 06:28:50 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.6.5</generator>
	<language>en</language>
			<item>
		<title>How to Get MagicJack and Lifecam Cinema Working on Windows 7 64-bit</title>
		<link>http://www.minger.net/2010/03/29/how-to-get-magicjack-and-lifecam-cinema-working-on-windows-7-64-bit/</link>
		<comments>http://www.minger.net/2010/03/29/how-to-get-magicjack-and-lifecam-cinema-working-on-windows-7-64-bit/#comments</comments>
		<pubDate>Tue, 30 Mar 2010 06:25:42 +0000</pubDate>
		<dc:creator>minger</dc:creator>
		
		<category><![CDATA[Uncategorized]]></category>

		<category><![CDATA[windows7 usb magicjack lifecam]]></category>

		<guid isPermaLink="false">http://www.minger.net/?p=197</guid>
		<description><![CDATA[I had a busy week using USB on my system.

I've needed to connect to my Android phone using developer tools through USB.
Install MagicJack.
Fix Microsoft Lifecam to work with my system again to video chat friends on Skype.

Getting my Windows 7 to read the Android phone was a minor PITA.  It worked in the end.
I needed [...]]]></description>
			<content:encoded><![CDATA[<p>I had a busy week using USB on my system.</p>
<ol>
<li>I've needed to connect to my Android phone using developer tools through USB.</li>
<li>Install MagicJack.</li>
<li>Fix Microsoft Lifecam to work with my system again to video chat friends on Skype.</li>
</ol>
<p>Getting my Windows 7 to read the Android phone was a minor PITA.  It worked in the end.</p>
<p>I needed to MagicJack to work.  Calling tech support *about* your cellphone is a hassle when your cellphone is the only number you have.  Skype voice, even if it sounds great to your friend on the other end on Skype, always sounds terrible to tech support.  My theory is that the call gets transferred at the other end of customer service from general to tech or advanced tech support over VOIP and the double sampling kills the quality.  MagicJack should also be susceptible to the same weaknesses as Skype, but I was desperate for a solution, and willing to give it a shot.  A MagicJack number is also good to have to support Google Voice, especially if you have more than one GV account.  Mobile numbers can only be used as such on one GV account.</p>
<p>I got it to work... on my Vista machine.  Windows 7 x64 was a problem no matter what I tried.  There are downloads for both firmware and the program on that MagicJack website.  The latter supposedly supports Windows 7.  I couldn't get Windows 7 to recognize the MagicJack.  I thought updating the firmware by plugging it into the Vista box and running the update and then plugging it back into the Windows 7 machine would work.  No dice.</p>
<p>Then my Microsoft Lifecam Cinema stopped working.  This device too also has a program update and a firmware update.  Both worked fine on the Vista machine.  Again, Windows 7 refused to recognize the webcam and install the drivers.</p>
<p>0/2 left me wondering if I did something to mess up my USB setup or if an update broke things.  Scouring the web and trying OLD solutions over and over -- for better or worse, Google likes long old threads on authoritative websites, like Microsoft Tech Social -- I got no closer than when I started.  (I didn't listen to the Microsoft support drones who are fond of telling you to reinstall the OS.)  I probably rebooted my computer two dozen times today, easily, in futile cycles of uninstalling and reinstalling.</p>
<p>Finally, I did a search on Microsoft's main tech support pages and found a USB hotfix for seemingly unrelated issues.  I figured that if something is broken with the USB, repairing with the latest USB system files could surely have collateral benefit.  I was right.</p>
<p>After applying kb 978258</p>
<p><a title="USB devices that are connected to a computer may not work after the computer is idle for more than one hour Windows 7 or in Windows Server 2008 R2" href="http://support.microsoft.com/kb/978258" target="_blank">USB devices that are connected to a computer may not work after the computer is idle for more than one hour Windows 7 or in Windows Server 2008 R2</a></p>
<p>My Windows 7 x64 machine was able to see and install the drivers for both MagicJack and the Lifecam.  (The Lifecam required uninstalling and reinstall and twiddling with the registry settings.)</p>
<p>Yay!   Let me know if this works for you.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.minger.net/2010/03/29/how-to-get-magicjack-and-lifecam-cinema-working-on-windows-7-64-bit/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Fix for Error Installing do_mysql Datamapper Adapter on Ubuntu</title>
		<link>http://www.minger.net/2009/09/30/fix-for-error-installing-do_mysql-datamapper-adapter-on-ubuntu/</link>
		<comments>http://www.minger.net/2009/09/30/fix-for-error-installing-do_mysql-datamapper-adapter-on-ubuntu/#comments</comments>
		<pubDate>Wed, 30 Sep 2009 21:15:20 +0000</pubDate>
		<dc:creator>minger</dc:creator>
		
		<category><![CDATA[software]]></category>

		<guid isPermaLink="false">http://www.minger.net/?p=193</guid>
		<description><![CDATA[Installing Datamapper on Ubuntu 9.04, I got this mysterious error:
$ sudo gem install do_mysql
Building native extensions.  This could take a while...
ERROR:  Error installing do_mysql:
ERROR: Failed to build gem native extension.
/usr/bin/ruby1.8 extconf.rb install do_mysql
extconf.rb:3:in `require': no such file to load -- mkmf (LoadError)
from extconf.rb:3

After much googling and trying other solutions like installing libmysqlclient16-dev, I stumbled upon [...]]]></description>
			<content:encoded><![CDATA[<p>Installing <a href="http://datamapper.org" target="_blank">Datamapper</a> on Ubuntu 9.04, I got this mysterious error:</p>
<p style="text-align: left; padding-left: 30px;">$ sudo gem install do_mysql<br />
Building native extensions.  This could take a while...<br />
ERROR:  Error installing do_mysql:<br />
ERROR: Failed to build gem native extension.</p>
<p style="text-align: left; padding-left: 30px;">/usr/bin/ruby1.8 extconf.rb install do_mysql<br />
extconf.rb:3:in `require': no such file to load -- mkmf (LoadError)<br />
from extconf.rb:3
</p>
<p style="text-align: left;">After much googling and trying other <a href="http://www.tatvartha.com/2009/07/installing-mysql-based-gems-on-ubuntu/" target="_blank">solutions like installing libmysqlclient16-dev</a>, I stumbled upon <a href="http://blogs.law.harvard.edu/hoanga/2006/10/27/fixing-mkmf-load-error-ruby-in-ubuntu/" target="_blank">Al Hoang's related problem and solution</a>:</p>
<p style="text-align: left; padding-left: 30px;">$ sudo aptitude install ruby-dev</p>
<p style="text-align: left;">Then</p>
<p style="text-align: left; padding-left: 30px;">$ sudo gem install do_mysql<br />
Building native extensions.  This could take a while...<br />
Successfully installed do_mysql-0.10.0<br />
1 gem installed
</p>
<p style="text-align: left;">Installing libmysqclient16-dev could have anticipated a problem that would have arisen later--it may or may not be necessary.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.minger.net/2009/09/30/fix-for-error-installing-do_mysql-datamapper-adapter-on-ubuntu/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Amazon Packages and Ships OEM Hard Drives Loose in Box with Two Air Pillows and Bubble Wrap ONLY</title>
		<link>http://www.minger.net/2009/06/24/amazon-packages-and-ships-oem-hard-drives-with-two-air-pillows-and-bubble-wrap-only/</link>
		<comments>http://www.minger.net/2009/06/24/amazon-packages-and-ships-oem-hard-drives-with-two-air-pillows-and-bubble-wrap-only/#comments</comments>
		<pubDate>Wed, 24 Jun 2009 20:19:01 +0000</pubDate>
		<dc:creator>minger</dc:creator>
		
		<category><![CDATA[hardware]]></category>

		<category><![CDATA[reviews]]></category>

		<guid isPermaLink="false">http://www.minger.net/?p=153</guid>
		<description><![CDATA[Executive summary for those who don't want to plow through the whole spiel:  Amazon shipped (standard via USPS) my OEM WD RE3 from Amazon with the packaging in the picture below.  Promised securely packaged replacement from Amazon came packaged exactly the same way, except one of the two air pillows was totally deflated. [...]]]></description>
			<content:encoded><![CDATA[<p><strong>Executive summary for those who don't want to plow through the whole spiel:  Amazon shipped (standard via USPS) my OEM WD RE3 from Amazon with the packaging in the picture below.  Promised securely packaged replacement from Amazon came packaged exactly the same way, except one of the two air pillows was totally deflated.  DO NOT BUY ENTERPRISE QUALITY HARDWARE FROM AMAZON.</strong></p>
<p>In need of extra storage capacity and after doing a bit of homework, I decided on the <a title="http://www.wdc.com/en/products/products.asp?driveid=503" href="http://" target="_blank">Western Digital RE3</a>, specifically model WD1002FBYS, as the best choice.  At $159 for 1 TB, the WD RE3 is significantly more expensive than drives of similar capacity, many of them the "lesser" models made by WD such as the Green, Blue or Black Caviar lines.  Based on the voluminous ratings and reviews on these drives found online, it's evident that the cheaper drives have high failure rates, often out of box.  Not wanting to entrust my data to the lottery, I opted for reliability, at a premium.  The RE3 has a 5 year warranty and few complaints against it relative to the field.</p>
<p><a href="http://www.minger.net/wp-content/uploads/2009/06/dscf4199.jpg"><img class="aligncenter size-full wp-image-158" title="Amazon Packaging for OEM Drives" src="http://www.minger.net/wp-content/uploads/2009/06/dscf4199.jpg" alt="" width="500" height="666" /></a></p>
<p>The mass market prefers cheap, so unfortunately the WD RE3 is available only as OEM.  You won't find the RE3 at Best Buy, or even at places that do sell OEM parts, such as Microcenter.</p>
<p>That left me to buy online as the only option.</p>
<p>The first place that came to mind was NewEgg.  It was there that I shifted through the volume of reviews to pin down the RE3.  Unfortunately, what I also learned from the reviews is that NewEgg ships OEM drives with not much more than their plastic bag in the box.  The drives are free to bounce around inside the box and suffer falls from their journey from the warehouse to your door.  That was a non-starter for me and defeats the choice of a premium reliable hard drive in the first place.</p>
<p>Then I checked Amazon.  I was surprised to find this enterprise quality esoteric drive model in Amazon's inventory but there it was.</p>
<p>The buyers of this model on Amazon have been tight lipped with their reviews, so I checked out the reviews for other more popular, cheaper drives to see what I could learn about their shipping experience.  Some of the reviews suggested NewEgg quality or marginally better packaging.  The typical experience was OEM drive in plastic bag with two air pillows for loose protection.  Others described a snug sandwich of foam in addition.  The pattern, if any, wasn't clear from the reviews.  Did Amazon improve packaging quality over time, or the packaging also a lottery through all time, depending on the warehouse or packager?</p>
<p>I couldn't dither much longer, I needed this drive and I had no choice but to order online.  The reviews suggested that Amazon's foam packaging was the best available across online retailers.<br />
Replacement drive with the same lousy packaging, on the right:<a href="http://www.minger.net/wp-content/uploads/2009/06/dscf4220_smal.gif"><img class="aligncenter size-full wp-image-186" title="dscf4220_smal" src="http://www.minger.net/wp-content/uploads/2009/06/dscf4220_smal.gif" alt="" width="500" height="666" /></a><br />
So I placed my order expecting snug foam.  What did I get?  First off, I requested standard shipping expecting UPS Ground.  The $160 drive was shipped via USPS.  Despite my misgivings, USPS delivered the parcel perfectly, but what was inside made me want to scream.  I had lost the packaging lottery with Amazon.  Inside was a drive in its plastic bag inside bubble wrap and two loose fitting air pillows.  The bubble wrap bubbles were TINY.  The drive could easily have jostled around and touched the edges of the box and not have survived any big fall.  I've purchased enough hard drives in my time to know how they should be packaged.</p>
<p>People will yell, I purchased an OEM drive, what should I expect?  I don't expect diagnostic CDs, cables or instruction sheets.  I do expect basic integrity of the drive on delivery.  Additionally, the WD RE3 is not available in retail form.</p>
<p>Air pillow in replacement shipment totally deflated:</p>
<p><a href="http://www.minger.net/wp-content/uploads/2009/06/dscf4225_small.jpg"><img class="aligncenter size-full wp-image-189" title="dscf4225_small" src="http://www.minger.net/wp-content/uploads/2009/06/dscf4225_small.jpg" alt="" width="500" height="375" /></a></p>
<p>Amazon obviously knows how to package OEM drives properly.  The reviews on Amazon report several such experiences.  Not only that, I suggested a 500 Gb WD RE3 to a friend a week earlier from Amazon.  HER DRIVE CAME PACKAGED WITH FOAM.  (I should to get her to take a picture of the packaging if she hasn't tossed it out yet.)  Why?  Our drives came from the same Sterling, VA Amazon facility but she ordered next day shipping, $20 v $7 for standard.  My guess is that rather than packaging being haphazard for OEM drives, Amazon packages OEM drives properly only when you pay for premium shipping.</p>
<p>If this shipping price discrimination is in fact Amazon's implicit policy, I would have ordered with next day shipping, rather than now have a drive that has been subjected to physical forces I can only imagine, with detrimental effects I will only discover later.  I'm formatting the drive as I write this.  It may work perfectly fine but a drop in shipping could have jarred the drive and shortened its effective life.</p>
<p>To wrap up, Amazon should ship all OEM drives with the same foam sandwich packaging--or plastic or cardboard egg crate.  Do the right thing Amazon!  Foam or plastic should only cost a few more cents.  Amazon should ship me a new replacement properly packaged.  I will gladly send this air pillow lottery child back (at their cost).</p>
<p>Update:<br />
After complaining to Amazon, they decided to ship me a replacement drive second day delivery.  The customer representative promised that it would be securely packaged.  The question still remained, how I do get Amazon on any future orders to ship OEM drives with secure packaging?</p>
<blockquote><p>Hello,</p>
<p>I'm sorry to hear about the condition in which your Western Digital OEM Hard Drive arrived. We make every attempt to package items securely to protect them during shipping, but sometimes, due to an error, a few orders get shipped without proper packaging.</p>
<p>I see that you have already submitted the feedback about the packaging you received to our shipping department. That was the correct action to take. This will ensure our shipping department to take every possible action to ship these items with secured packaging.</p>
<p>I've placed a new order for you at no charge. I can assure you that you will receive this order with a secured packaging.</p></blockquote>
<p>Speaking to customer service on the phone, I was told that in fact I could not get any such guarantee, that even the drive I am expecting for delivery cannot be guaranteed to have secure packaging.  She said there is no way customer service or the order system can influence how a particular order is packaged.  Shipping standard, next day, or second day should not be factor.  The only levers a customer can pull is to give post-order packaging feedback and request a replacement when a bozo shipment is received.</p>
<p>What's interesting is that the box I received has a label with four bar codes, including one with the model number of the drive.  Obviously this is the original box that carried the drive to Amazon in the first place.  Did they gut the original protection and reuse the box for reshipment to me, or is this how the drive was secured in the first place?  I'm appalled as how casually the industry -- Western Digital, the distributors, and end retailers like Amazon -- treat these delicate electronics.  Just because a product is OEM doesn't mean it should be treated any less carefully, especially since they are targeted for server or other high reliability or demand applications.  Again, there is no "retail" option for these expensive higher end drives.  How ironic that cheaper shit model drives can be bought retail with perfect packaging.</p>
<p>I just got shipping notification that the drive is coming next day delivery.  Though this extra premium shipping may be an act of atonement, it fuels my theory that premium shipping gets better packaging despite the assertions of the last rep on the phone.</p>
<p>Kudos the Amazon for great customer service.  Too bad they can't get their warehouse shipping act together to obviate these heroic acts in the first place--and obviate wasting my time.  Judging from the reviews for OEM drives on Amazon, packaging is a problem they continue to battle.</p>
<p>UPDATE UPDATE:<br />
Replacement drive came today from UPS.  The drive was packaged exactly the same way, except one of the two air pillows was totally deflated.  Good job Amazon.  I'm sending the replacement back.  Keeping the first since it seems to have passed basic diagnostics.  Amazon offered $20 to make up for their incompetence.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.minger.net/2009/06/24/amazon-packages-and-ships-oem-hard-drives-with-two-air-pillows-and-bubble-wrap-only/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Devious New Targeted Financial Phishing Scam Strikes Your Cellphone</title>
		<link>http://www.minger.net/2009/03/05/devious-new-targeted-financial-phishing-scam-strikes-your-cellphone/</link>
		<comments>http://www.minger.net/2009/03/05/devious-new-targeted-financial-phishing-scam-strikes-your-cellphone/#comments</comments>
		<pubDate>Thu, 05 Mar 2009 21:49:48 +0000</pubDate>
		<dc:creator>minger</dc:creator>
		
		<category><![CDATA[Uncategorized]]></category>

		<category><![CDATA[crime]]></category>

		<guid isPermaLink="false">http://www.minger.net/?p=148</guid>
		<description><![CDATA[I got this cryptic SMS this afternoon on my phone:
Sender: type@arlingtonvafcu.org
Arlington Virginia F C U system notify-unhandled exception . TOLL FREE 877 858 9026
Arlington Virginia Federal Credit Union happens to be legit and so is the domain of the supposed sender.  But how did this get onto my cellphone--and why??  The toll free numbers on [...]]]></description>
			<content:encoded><![CDATA[<p>I got this cryptic SMS this afternoon on my phone:</p>
<blockquote><p>Sender: type@arlingtonvafcu.org</p>
<p>Arlington Virginia F C U system notify-unhandled exception . TOLL FREE 877 858 9026</p></blockquote>
<p>Arlington Virginia Federal Credit Union happens to be legit and so is the domain of the supposed sender.  But how did this get onto my cellphone--and why??  The toll free numbers on the FCU website do not match the one in the text message.  When you call the TOLL FREE number, a synthesized voice asks you to verify your account by entering card numbers, passwords, account numbers, etc.  (I didn't have the patience to listen for more than few seconds.)</p>
<p>Phishing scam!</p>
<p>This FCU happens to be near me.  My best guess is that they harnessed the power of simple marketing or geographical databases or directories and wrote a script that blasts a SMS gateway with locally customized phishing messages directing everyone to the same automated toll free number.</p>
<p>Devious and sophisticated!</p>
<p>Who do you report a disembodied crime like this to?</p>
<p>* * *</p>
<p>The Credit Union knows about the scam and has put up an alert on their website:</p>
<blockquote><p><span style="color: #646464;"><span class="header1"><span style="color: #ff0000;"><strong>!FRAUD ALERT!</strong></span></span></span></p>
<p><span style="color: #646464;"><span class="header2"><span style="color: #808080;">Several new "phishing" and "SMiShing" attempts using Arlington Virginia Federal Credit Union's name have been detected.  While they are in no way related to the Credit Union, we want our members to beware ANY email, phone call or text message asking you to give out, or validate, your account information.  To protect yourself from "phishing" and "SMiShing" and other types of identity theft scams, simply don't give out your personal, private information to anyone... ever... over the phone, the Internet, your cell phone, etc...</span> <strong><span style="color: #0000ff;">AVFCU will never call, email, text or contact you in any other way and ask you to provide your personal, private information to us. DON'T FALL FOR THESE SCAMS! </span></strong> <a href="https://www.arlingtonvafcu.org/home/learn.fraud#idtheft">Click here</a> <span style="color: #808080;">to read more.</span></span></span></p></blockquote>
<p>Vishing and SMishing are the new variants of phishing.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.minger.net/2009/03/05/devious-new-targeted-financial-phishing-scam-strikes-your-cellphone/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Errata for Programming Collective Intelligence</title>
		<link>http://www.minger.net/2007/12/21/errata-for-programming-collective-intelligence/</link>
		<comments>http://www.minger.net/2007/12/21/errata-for-programming-collective-intelligence/#comments</comments>
		<pubDate>Fri, 21 Dec 2007 19:28:23 +0000</pubDate>
		<dc:creator>minger</dc:creator>
		
		<category><![CDATA[books]]></category>

		<category><![CDATA[python]]></category>

		<guid isPermaLink="false">http://www.minger.net/2007/12/21/errata-for-programming-collective-intelligence/</guid>
		<description><![CDATA[I'm making my way through Toby Segaran's excellent new book "Programming Collective Intelligence," and I'm posting here some of the errata I've found in the code thus far that hasn't been reported or published on the O'Reilly site yet.  I'll report them but also want to explain them here.  (I can't get the [...]]]></description>
			<content:encoded><![CDATA[<p>I'm making my way through Toby Segaran's excellent new book "Programming Collective Intelligence," and I'm posting here some of the errata I've found in the code thus far that hasn't been reported or published on the O'Reilly site yet.  I'll report them but also want to explain them here.  (I can't get the Python code to indent using the code markup plugin.  Please let me know if you have suggestions.)</p>
<p><strong>Chapter 3</strong>, <em>Discovering Groups</em></p>
<p><em>generatefeedvector.py</em></p>
<p>The main body of this file bombs on</p>
<pre class="python">&nbsp;
title,wc=getwordcounts<span style="color: black;">&#40;</span>feedurl<span style="color: black;">&#41;</span></pre>
<p>because the URL <a href="http://www.techeblog.com/index.php/feed/">http://www.techeblog.com/index.php/feed/</a> toward the bottom of</p>
<p><a href="http://kiwitobes.com/clusters/feedlist.txt">http://kiwitobes.com/clusters/feedlist.txt</a></p>
<p>no long returns an RSS feed.  We could remove that URL from feedlist.txt, find the working RSS URL for techeblog, or make our code more robust to deal with this problem in general.  To enable the last option, encapsulate getwordcounts in Python's error apparatus:</p>
<pre class="python">&nbsp;
<span style="color: #ff7700;font-weight:bold;">try</span>:
   title,wc=getwordcounts<span style="color: black;">&#40;</span>feedurl<span style="color: black;">&#41;</span>
<span style="color: #ff7700;font-weight:bold;">except</span> <span style="color: #008000;">AttributeError</span>:
   <span style="color: #ff7700;font-weight:bold;">continue</span></pre>
<p>The variable <em>feedlist</em> in the line</p>
<pre class="python">&nbsp;
frac=<span style="color: #008000;">float</span><span style="color: black;">&#40;</span>bc<span style="color: black;">&#41;</span>/feedlist</pre>
<p>is referenced but not initialized or computed before that.</p>
<p>The fix is initialize feedlist and increment it as each feedurl is processed:</p>
<pre class="python">&nbsp;
feedlist = <span style="color: #ff4500;">0</span>
<span style="color: #ff7700;font-weight:bold;">for</span> feedurl <span style="color: #ff7700;font-weight:bold;">in</span> <span style="color: #008000;">file</span><span style="color: black;">&#40;</span><span style="color: #483d8b;">'feedlist.txt'</span><span style="color: black;">&#41;</span>:
    <span style="color: #ff7700;font-weight:bold;">try</span>:
        title,wc=getwordcounts<span style="color: black;">&#40;</span>feedurl<span style="color: black;">&#41;</span>
    <span style="color: #ff7700;font-weight:bold;">except</span> <span style="color: #008000;">AttributeError</span>:
        <span style="color: #ff7700;font-weight:bold;">continue</span>
    feedlist += <span style="color: #ff4500;">1</span>
    wordcounts<span style="color: black;">&#91;</span>title<span style="color: black;">&#93;</span>=wc
    <span style="color: #ff7700;font-weight:bold;">for</span> word,count <span style="color: #ff7700;font-weight:bold;">in</span> wc.<span style="color: black;">items</span><span style="color: black;">&#40;</span><span style="color: black;">&#41;</span>:
        apcount.<span style="color: black;">setdefault</span><span style="color: black;">&#40;</span>word,<span style="color: #ff4500;">0</span><span style="color: black;">&#41;</span>
        <span style="color: #ff7700;font-weight:bold;">if</span> count&amp;gt;<span style="color: #ff4500;">1</span>:
            apcount<span style="color: black;">&#91;</span>word<span style="color: black;">&#93;</span>+=<span style="color: #ff4500;">1</span></pre>
<p>Lastly for Chapter 3, the string handling chokes on a character from one of the feeds that doesn't bridge the ascii and unicode worlds.  I googled for <a href="http://farmdev.com/thoughts/23/what-i-thought-i-knew-about-unicode-in-python-amounted-to-nothing/" target="_blank">a solution</a> and came up with this one simple fix:</p>
<pre class="python">&nbsp;
out = <span style="color: #008000;">open</span><span style="color: black;">&#40;</span><span style="color: #483d8b;">'blogdata.txt'</span>,<span style="color: #483d8b;">'w'</span><span style="color: black;">&#41;</span>
out.<span style="color: black;">write</span><span style="color: black;">&#40;</span><span style="color: #483d8b;">'Blog'</span><span style="color: black;">&#41;</span></pre>
<p>to</p>
<pre class="python">&nbsp;
out = <span style="color: #dc143c;">codecs</span>.<span style="color: #008000;">open</span><span style="color: black;">&#40;</span><span style="color: #483d8b;">'blogdata.txt'</span>,<span style="color: #483d8b;">'wb'</span>,<span style="color: #483d8b;">'utf-8'</span><span style="color: black;">&#41;</span>
out.<span style="color: black;">write</span><span style="color: black;">&#40;</span><span style="color: #483d8b;">'Blog'</span><span style="color: black;">&#41;</span></pre>
<p>You must</p>
<pre class="python">&nbsp;
<span style="color: #ff7700;font-weight:bold;">import</span> <span style="color: #dc143c;">codecs</span></pre>
<p>I'm not up to speed on unicode so don't ask me how it works; it works.</p>
<p>That's it for Chapter 3.  More later as I make my way through the book.  Btw, I just checked Toby's blog and found that you can <a href="http://blog.kiwitobes.com/?p=44" target="_blank">download the source code</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.minger.net/2007/12/21/errata-for-programming-collective-intelligence/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Yelp Battles Supporters of the Meier Family</title>
		<link>http://www.minger.net/2007/11/22/yelp-battles-supporters-of-the-meier-family/</link>
		<comments>http://www.minger.net/2007/11/22/yelp-battles-supporters-of-the-meier-family/#comments</comments>
		<pubDate>Thu, 22 Nov 2007 09:04:58 +0000</pubDate>
		<dc:creator>minger</dc:creator>
		
		<category><![CDATA[news]]></category>

		<guid isPermaLink="false">http://www.minger.net/2007/11/22/yelp-battles-supporters-of-the-meier-family/</guid>
		<description><![CDATA[The listing for Lori Drew's marketing business on Yelp has been ravaged by negative reviews posted by Yelpers, including yours truly.  The number of reviews numbered six or seven dozen.  Wednesday, the day before Thanksgiving, I received the following email from Yelp HQ:
Hi,
I'm writing to let you know about our decision to remove [...]]]></description>
			<content:encoded><![CDATA[<p>The <a href="http://www.yelp.com/biz/PsQxK7u59fv1kPBVn7cvsw" title="yelp review" target="_blank">listing for Lori Drew's marketing business on Yelp</a> has been ravaged by negative reviews posted by Yelpers, including yours truly.  The number of reviews numbered six or seven dozen.  Wednesday, the day before Thanksgiving, I received the following email from Yelp HQ:</p>
<blockquote><p>Hi,</p>
<p>I'm writing to let you know about our decision to remove your review of Drew Advantage in O'Fallon, MO. Your review was flagged by the Yelp community, and our Customer Service team has determined that it falls outside our review guidelines: <a href="http://www.yelp.com/faq#great_review" target="_blank">http://www.yelp.com/faq#great<wbr></wbr>_review</a>.</p>
<p>We review every situation with detail and care and take the removal of reviews very seriously.  If you have additional questions about this policy, please contact us at <a href="http://www.yelp.com/contact" target="_blank">http://www.yelp.com/contact</a>.</p>
<p>Regards,<br />
Kris<br />
Yelp User Support</p></blockquote>
<p>I checked -- not only did Yelp delete my review, they deleted every single one.  I just checked again -- two fresh negative reviews have been posted since the deletions.</p>
<p>I can't blame Yelp for asserting themselves as alpha dog on their boards, but the truly fair solution is to remove the listing for Drew Advantage altogether because is it really a business anymore?   With the notoriety of the Drew family in their community and the negative goodwill from being associated with them, what business in their right mind would today or ever?  Can Yelp name a standing client of Drew Advantage?</p>
<p>Just in case it is not clear, Drew Advantage is a marketing company for small local businesses.  They most likely send out those advertiser packs you get in the mail with coupons for pizza, dry cleaning, car washing, etc.  What does this business have to do with the Yelp demographic anyway?  My coupons were late in the mail?  They don't come anymore?  By implicitly coming down on the side of a now defunct B2B business, Yelp is risking a PR blunder for naught.</p>
<p>Meanwhile, I am the boss of me and I'm abstaining from posting reviews of DC area businesses on Yelp for six months.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.minger.net/2007/11/22/yelp-battles-supporters-of-the-meier-family/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Pictures of Lori Drew</title>
		<link>http://www.minger.net/2007/11/22/pictures-of-lori-drew/</link>
		<comments>http://www.minger.net/2007/11/22/pictures-of-lori-drew/#comments</comments>
		<pubDate>Thu, 22 Nov 2007 08:54:30 +0000</pubDate>
		<dc:creator>minger</dc:creator>
		
		<category><![CDATA[news]]></category>

		<guid isPermaLink="false">http://www.minger.net/2007/11/22/pictures-of-lori-drew/</guid>
		<description><![CDATA[Reader "Haywood" dug up these pictures of Lori Drew.  Curt's was easier to find.  Lori's just took longer.  The most popular person in the blogosphere couldn't hide her image forever.  The picture portfolio of the June 15th, 2006 meeting of St Peters Chamber of Commerce is the source 1, 2.


]]></description>
			<content:encoded><![CDATA[<p>Reader "Haywood" dug up these pictures of Lori Drew.  <a href="http://www.minger.net/2007/11/18/picture-of-curt-drew/" target="_blank">Curt's</a> was easier to find.  Lori's just took longer.  The most popular person in the blogosphere couldn't hide her image forever.  The picture portfolio of the June 15th, 2006 meeting of St Peters Chamber of Commerce is the source <a href="http://www.stpeterschamber.com/home/pop-up/savor_06.html?page=5" target="_blank">1</a>, <a href="http://www.stpeterschamber.com/home/pop-up/savor_06.html?page=7" target="_blank">2</a>.</p>
<p><img src="http://www.divshare.com/img/2849284-074.jpg" title="lori drew 1" alt="lori drew 1" /></p>
<p><img src="http://www.divshare.com/img/2849285-0d1.jpg" title="lori drew 2" alt="lori drew 2" /></p>
]]></content:encoded>
			<wfw:commentRss>http://www.minger.net/2007/11/22/pictures-of-lori-drew/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Picture of Curt Drew</title>
		<link>http://www.minger.net/2007/11/18/picture-of-curt-drew/</link>
		<comments>http://www.minger.net/2007/11/18/picture-of-curt-drew/#comments</comments>
		<pubDate>Mon, 19 Nov 2007 01:49:42 +0000</pubDate>
		<dc:creator>minger</dc:creator>
		
		<category><![CDATA[news]]></category>

		<guid isPermaLink="false">http://www.minger.net/2007/11/18/picture-of-curt-drew/</guid>
		<description><![CDATA[[thanks to "Haywood" we now also have pictures of Lori Drew.Â  and Yelp has been pulling reviews of Drew Advantage.]
Someone in a Facebook Group dedicated to the memory of Megan Meier found this picture of Curt Drew on his Coldwell Banker real estate agent profile:

Also, Yelpers have dug up information on Curt Drew's local business, [...]]]></description>
			<content:encoded><![CDATA[<p>[thanks to "Haywood" we now also have <a href="http://www.minger.net/2007/11/22/pictures-of-lori-drew/" target="_blank">pictures of Lori Drew</a>.Â  and <a href="http://www.minger.net/2007/11/22/yelp-battles-supporters-of-the-meier-family/" target="_blank">Yelp has been pulling reviews of Drew Advantage</a>.]</p>
<p>Someone in a Facebook Group dedicated to the memory of Megan Meier found this picture of Curt Drew <a href="http://www.cbgundaker.com/search/agent/detail.jsp?publicid=CCUDREW" target="_blank">on his Coldwell Banker real estate agent profile</a>:</p>
<p><img src="http://www.divshare.com/img/2803396-78d.jpg" /></p>
<p>Also, Yelpers have dug up information on <a href="http://www.yelp.com/biz/PsQxK7u59fv1kPBVn7cvsw" target="_blank">Curt Drew's local business, Drew Advantage</a>, including a <a href="http://www.yelp.com/biz/PsQxK7u59fv1kPBVn7cvsw#hrid:i8KfJBF6wqavrXC7q3N-OA" target="_blank">list of businesses</a> that advertise through it.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.minger.net/2007/11/18/picture-of-curt-drew/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Brandon Antron Rolle Goes on Trial Today</title>
		<link>http://www.minger.net/2007/11/16/brandon-antron-rolle-goes-on-trial-today/</link>
		<comments>http://www.minger.net/2007/11/16/brandon-antron-rolle-goes-on-trial-today/#comments</comments>
		<pubDate>Fri, 16 Nov 2007 11:32:28 +0000</pubDate>
		<dc:creator>minger</dc:creator>
		
		<category><![CDATA[news]]></category>

		<guid isPermaLink="false">http://www.minger.net/2007/11/16/brandon-antron-rolle-goes-on-trial-today/</guid>
		<description><![CDATA[[update: next hearing on the case is scheduled for 2008/01/17.  looks like yet another pre-trial hearing before the big show.  justice moves slowly in this case.]
Brandon Antron Rolle, the man accused of killing Ronald Gentile in Miami last year finally goes to trial today.Â  The killing was the subject of a crime investigation [...]]]></description>
			<content:encoded><![CDATA[<p>[update: next hearing on the case is scheduled for 2008/01/17.  looks like yet another pre-trial hearing before the big show.  justice moves slowly in this case.]</p>
<p>Brandon Antron Rolle, the man accused of killing Ronald Gentile in Miami last year finally goes to trial today.Â  The killing was the subject of a crime investigation show "48 Hours" that I saw on cable (probably in reruns) a few weeks ago.Â  Ronald Gentile was in Miami to see his son and was returning to his hotel after dropping the son off at work when he made a wrong turn in his rental car.Â  His stop to ask for directions turned into a mugging that became a murder.Â  The fingerprint lifted off the car belonged to Brandon Antron Rolle, a felon who had been released from jail only months prior.Â  Rolle was also identified as the man who tried to sell Gentile's driver's license.</p>
<p>The murder made national news and reports about it could be found on a handful of websites but nothing about the disposition of the accused could be found.Â  What happened to the accused?Â  Looking into the Miami court system, I found that <a target="_blank" href="http://www.miami-dadeclerk.com/cjis/case.asp?41A23FA465A275A2676765B463B467A63F8732A4387134A2377638B4346774A63F723802">Rolle's case</a> had been slowly making its way to trial, with much pre-trial work being done first.Â  Today is the hearing date.</p>
<p>Brandon Antron Rolle is a guy who received one chance too many.Â  The sad reality of criminality shown by "48 Hours" is that same people commit crime after crime until they get caught for doing something serious enough to put them away for good.Â  Perhaps this senselessness of the innocent suffering until the inevitable was the motivation for Philip K. Dick's <em>Minority Report.</em></p>
]]></content:encoded>
			<wfw:commentRss>http://www.minger.net/2007/11/16/brandon-antron-rolle-goes-on-trial-today/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Fixing Spurious Rails Routing Error</title>
		<link>http://www.minger.net/2007/07/15/fixing-spurious-rails-routing-error/</link>
		<comments>http://www.minger.net/2007/07/15/fixing-spurious-rails-routing-error/#comments</comments>
		<pubDate>Mon, 16 Jul 2007 02:25:20 +0000</pubDate>
		<dc:creator>minger</dc:creator>
		
		<category><![CDATA[software]]></category>

		<guid isPermaLink="false">http://www.minger.net/2007/07/15/fixing-spurious-rails-routing-error/</guid>
		<description><![CDATA[Rails stopped routing http requests the morning after everything was working fine.  I was running demo exercises from the Agile Rails book and didn't seem to do anything that could have messed up the installation.  Downloading and symlinking to the books own app code didn't fix the problem.
 "no route found to match [...]]]></description>
			<content:encoded><![CDATA[<p>Rails stopped routing http requests the morning after everything was working fine.  I was running demo exercises from the Agile Rails book and didn't seem to do anything that could have messed up the installation.  Downloading and symlinking to the books own app code didn't fix the problem.</p>
<blockquote><p> "no route found to match "/store" with {:method=&gt;:get}"</p></blockquote>
<p>attempting to debug:</p>
<blockquote><p><span>&gt;&gt; rs = ActionController::Routing:</span><wbr></wbr><span class="word_break"></span>:Routes<br />
&gt;&gt; rs.recognize_path "/store"<br />
=&gt; {:controller=&gt;"store", :action=&gt;"index"}</p></blockquote>
<p>routes.rb seems fine:</p>
<blockquote><p><span>ActionController::Routing:</span><wbr></wbr><span class="word_break"></span>:Routes.draw do |map|<br />
<span>map.connect ':controller/:action/:id.:</span><wbr></wbr><span class="word_break"></span>format'<br />
map.connect ':controller/:action/:id'<br />
end</p></blockquote>
<p>Everything looks good where is the problem? I googled and found a <a href="http://thenoobonrails.blogspot.com/2007/06/rails-12x-routing-issues.html" target="_blank">post pointing out spurious routing problems </a>in Rails 1.2.3 and a suggestion to change boot.rb to remedy it:</p>
<blockquote>
<p align="left">root_path = Pathname.new(root_path).cleanpath(true).to_s</p>
<p align="left">to</p>
<p>root_path = Pathname.new(root_path).cleanpath(true).realpath().to_s</p></blockquote>
<p>That suggestion did not work for me. Desperate to get my Rails show back on the road, I did the obvious:</p>
<blockquote><p>gem uninstall rails<br />
gem install rails</p></blockquote>
<p>Bingo!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.minger.net/2007/07/15/fixing-spurious-rails-routing-error/feed/</wfw:commentRss>
		</item>
	</channel>
</rss>
