<?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>dannyman.toldme.com</title>
	<atom:link href="http://dannyman.toldme.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://dannyman.toldme.com</link>
	<description>Interesting bits of information and editorial, evolving online since 1995.</description>
	<lastBuildDate>Tue, 08 Dec 2009 20:54:16 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.6</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Why Python Can Suck (But I Still Like It)</title>
		<link>http://dannyman.toldme.com/2009/12/08/perl-vs-python-documentation/</link>
		<comments>http://dannyman.toldme.com/2009/12/08/perl-vs-python-documentation/#comments</comments>
		<pubDate>Tue, 08 Dec 2009 20:54:16 +0000</pubDate>
		<dc:creator>dannyman</dc:creator>
				<category><![CDATA[About Me]]></category>
		<category><![CDATA[Python]]></category>
		<category><![CDATA[Technical]]></category>
		<category><![CDATA[documentatioon]]></category>
		<category><![CDATA[Perl]]></category>

		<guid isPermaLink="false">http://dannyman.toldme.com/?p=2767</guid>
		<description><![CDATA[Based on something I posted to Facebook:
Perl&#8217;s &#8220;natural language&#8221; emphasis and non-obvious locutions encourage developers to document their code.  Many times I have put some hard work into a line or a block of code, and ended up writing in some comments as a part of the process.
Python code is nice and readable but [...]]]></description>
			<content:encoded><![CDATA[<p>Based on something I posted to Facebook:</p>
<blockquote><p>Perl&#8217;s &#8220;natural language&#8221; emphasis and non-obvious locutions encourage developers to document their code.  Many times I have put some hard work into a line or a block of code, and ended up writing in some comments as a part of the process.</p>
<p>Python code is nice and readable but often very poorly documented.  &#8220;The code should speak for itself,&#8221; and while it is easier to read Python code sometimes a few human-language comments would save some time and annoyance.</p>
<p>Maintaining Python code is easier than maintaining Perl, but using Perl modules is often easier than using Python modules because Perl developers are kinda forced to explain their work.</p>
<p>One of the first things I had to accept about pydoc is it is almost universally worthless, and even good functional documentation will often omit the sort of useful examples that I am most likely to find quickly intuitive.</p>
<p>This is why I have transitioned so slowly. Python&#8217;s strengths breed a certain weakness just as Perl&#8217;s weaknesses breed a certain strength.</p></blockquote>
<p>At this point, I would consider myself approaching bi-linguality, and pretty comfortable in either language.  If I have a preference it would be for Python, because I am lazy about documentation and even maintaining my own code, it is a lot easier to figure out what I wrote in Python somewhat after the fact.  But my fondness for Perl and its generally more approachable documentation stands, and I&#8217;m not about to dis what has served me so long and so well.</p>
]]></content:encoded>
			<wfw:commentRss>http://dannyman.toldme.com/2009/12/08/perl-vs-python-documentation/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Notes on Porting a Django App from SQLite to MySQL</title>
		<link>http://dannyman.toldme.com/2009/12/04/django-migrate-database-sqlite-mysql/</link>
		<comments>http://dannyman.toldme.com/2009/12/04/django-migrate-database-sqlite-mysql/#comments</comments>
		<pubDate>Fri, 04 Dec 2009 21:06:55 +0000</pubDate>
		<dc:creator>dannyman</dc:creator>
				<category><![CDATA[Python]]></category>
		<category><![CDATA[Technical]]></category>

		<guid isPermaLink="false">http://dannyman.toldme.com/?p=2749</guid>
		<description><![CDATA[This was painful.  I&#8217;ll be doing this again next week, then hopefully never again.
First off, if you ever hit an error, drop and re-create your MySQL database, or at least drop the tables, or things just get weirder.
Grab the data from SQLite:
python manage.py dumpdata &#62; $APPNAME.json
The, update settings.py to connect to the MySQL database, [...]]]></description>
			<content:encoded><![CDATA[<p>This was painful.  I&#8217;ll be doing this again next week, then hopefully never again.</p>
<p>First off, if you ever hit an error, drop and re-create your MySQL database, or at least drop the tables, or things just get weirder.</p>
<p>Grab the data from SQLite:</p>
<pre>python manage.py dumpdata &gt; $APPNAME.json</pre>
<p>The, update <code>settings.py</code> to connect to the MySQL database, and if you are really lucky:</p>
<pre>python manage.py syncdb
python manage.py reset contenttypes
python manage.py loaddata $APPNAME</pre>
<p>(Thank you, <a href="http://stackoverflow.com/questions/853796/problems-with-contenttypes-when-loading-a-fixture-in-django/855583#855583">Carl Meyer</a>!)</p>
<p>Now, here&#8217;s the cute things I ran into.  I had originally built a model with a <code>TextField</code> primary key.  This is fine by SQLite but when Django tries to create a BLOB field <a href="http://code.djangoproject.com/ticket/2495">you get in trouble</a> asking for it to be unique, never mind a primary key.  Fortunately, it was easy enough for me to simply change it to a <code>CharField</code>, which will tell Django to use VARCHAR.  (SQLite certainly didn&#8217;t mind.)</p>
<p>The other was that neither Django nor SQLite were enforcing field length limitations, so I would hit some errors when loaddata tried to bring in database entries that were too long.  I worked around this by raising my length limitations.  There was also some ugliness with a UTF-8 string, which I solved by creating the text object in question.</p>
]]></content:encoded>
			<wfw:commentRss>http://dannyman.toldme.com/2009/12/04/django-migrate-database-sqlite-mysql/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Windows 7 vs Ubuntu 9.10</title>
		<link>http://dannyman.toldme.com/2009/12/02/windows-7-ubuntu-first-impression/</link>
		<comments>http://dannyman.toldme.com/2009/12/02/windows-7-ubuntu-first-impression/#comments</comments>
		<pubDate>Wed, 02 Dec 2009 22:03:02 +0000</pubDate>
		<dc:creator>dannyman</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Sundry]]></category>
		<category><![CDATA[Technical]]></category>
		<category><![CDATA[Technology]]></category>
		<category><![CDATA[GUI]]></category>
		<category><![CDATA[Shell]]></category>
		<category><![CDATA[ubuntu]]></category>
		<category><![CDATA[windows]]></category>

		<guid isPermaLink="false">http://dannyman.toldme.com/?p=2731</guid>
		<description><![CDATA[So, I tried Windows 7 beta, and recently scored a copy of Windows 7 for my desktop PC, via employee discount.  (I&#8217;d be willing to pay $50 for the OS, so $25 isn&#8217;t a bad deal.  The again, Microsoft sent me some very large checks for my Tellme equity in 2007 so a [...]]]></description>
			<content:encoded><![CDATA[<p>So, I tried Windows 7 beta, and recently scored a copy of Windows 7 for my desktop PC, via employee discount.  (I&#8217;d be willing to pay $50 for the OS, so $25 isn&#8217;t a bad deal.  The again, Microsoft sent me some very large checks for my Tellme equity in 2007 so a very small Capitalist part of me is rooting for them.)</p>
<p><a href="http://www.flickr.com/photos/dannyman/4153687603/" title="Where do you want to install Windows? by dannyman, on Flickr"><img align="right" src="http://farm3.static.flickr.com/2586/4153687603_17f2487c9a_m.jpg" width="240" height="180" alt="Where do you want to install Windows?" /></a></p>
<p>It is pretty nice: basically a refresh of Windows XP, with extra spit-and-polish.  Zippier, too!  It boots and shuts down faster than XP or Ubuntu, and manages OS updates without requiring my intervention and subsequently breaking things, like Ubuntu does.  I was musing to my coworkers that if it had the following, I could switch from Linux:</p>
<p>1) A decent software packaging system.<br />
2) Built-in Virtual Desktops.<br />
3) Middle-button paste.</p>
<h3>Boot/Shutdown Speed</h3>
<p>I turn my computers off when I&#8217;m not using them.  I like that Firefox will remember tab sessions.  But waiting for an OS to boot is wasted time.</p>
<p>Despite recent improvements, Ubuntu still takes way too long to boot, and seemingly forever to shut down.  Windows 7, by contrast, is pretty darn zippy.  I like that!</p>
<p style="text-align: center;">Winner: <strong>Windows 7</strong></p>
<h3>System Updates</h3>
<p>So, for the record, I&#8217;m thinking to turn off system updates on my Ubuntu environments, because they aren&#8217;t worth it and they keep breaking my stuff.  I&#8217;ll just refresh twice a year when the new release comes out, therefor managing the pain of upgrades.  Windows updates are more important, given the constant security threats.  Fortunately, Windows does that for me without my noticing, save the stupid &#8220;I will forcibly reboot you in 5 minutes&#8221; thing that hasn&#8217;t hit me (yet?) on Windows 7.</p>
<p style="text-align: center;">Winner: <strong>Windows 7</strong></p>
<h3>Software Packaging</h3>
<p>Windows seems to have made some improvements with software packaging, and I gotta say it is convenient to go to a web site, click on an installer, and a few minutes later have the application running.  Of course, then there&#8217;s another icon on your desktop and the Yahoo! tool bar has been added to your web browser . . .</p>
<p>On Ubuntu, though, most of the time I go to a shell and type:</p>
<p><code>sudo aptitude install <em>foo</em></code></p>
<p>And there I go!</p>
<p>Sometimes software isn&#8217;t available in the central repositories, but 9.10 has made adding some PPAs easier.  And sometimes I go to a web site, click on a link to a .deb file, it downloads, the system asks for my password, and the software gets installed without leaving crappy toolbars in my environment.  Victory!</p>
<p style="text-align: center;">Winner: <strong>Ubuntu</strong></p>
<h3>Virtual Desktops</h3>
<p>Ubuntu&#8217;s Gnome interface would be nicer if I could drag windows to the side of the screen and they&#8217;d pop over to the next screen, like the fvwm2 pager.  But, I&#8217;m pretty well content with Ubuntu&#8217;s virtual desktop ability.</p>
<p>You could probably install a decent hack on Windows 7 to get this, but really, virtual desktops and pagers should be built in.</p>
<p style="text-align: center;">Winner: <strong>Ubuntu</strong></p>
<h3>Command Line Environment</h3>
<p>So, with Ubuntu I can fire off command shells with wild abandon and do what I need to do.  (I&#8217;m a Unix system administrator, so I relate to computers mostly by typing commands and scripting.)  Windows 7 has a new &#8220;PowerShell&#8221; feature that implements a few Unix commands.  After half an hour of searching I discovered that you can get to the PowerShell by hitting Windows+R and then typing &#8220;powershell&#8221; &#8212; heck forbid we should put this in the start menu or make it available by searching for &#8220;shell&#8221; but okay . . .</p>
<p>With Ubuntu, I can highlight text by dragging and clicking my mouse.  This is just like other environments, but instead of hitting control-C (or, ahem Open-Apple-C) to copy the highlighted text into your clipboard, and control-V (I mean, Command-V) to paste from your clipboard, with Unix, whatever you highlight goes straight to the clipboard, and you paste by tapping the middle mouse button.</p>
<p>That can be a little scary sometimes but once you get used to the convenience you really can&#8217;t go back to having to mouse <em>and</em> keyboard to cut and paste.</p>
<p>Once you figure out how to launch the PowerShell, <strong>you can not simply highlight text with the mouse.</strong>  Seriously, WTF!?  No, <a href="http://www.vistax64.com/powershell/122541-keyboard-cut-paste.html">this is how you copy-and-paste stuff with PowerShell</a>:</p>
<blockquote><p>Hit Alt+Space to bring up the console menu, then type &#8216;E&#8217; to bring up the &#8216;Edit&#8217; menu and then &#8216;k&#8217; to start copying or &#8216;P&#8217; to paste the text in the clipboard to the console. In &#8216;copying&#8217; mode, you just use the arrow keys while holding down the shift key to select text, and hit Enter to add the selection to the clipboard.</p></blockquote>
<p style="text-align: center"><a href="http://www.flickr.com/photos/dannyman/4154449286/" title="Durr by dannyman, on Flickr"><img src="http://farm3.static.flickr.com/2679/4154449286_d17ea5e992.jpg" width="500" height="375" alt="Durr" /></a><br />
&#8220;Ah, hello, Microsoft?  Yes, the 1980s called and they want their primitive user interface back.  Thanks!&#8221;</p>
<p>Update: You can launch PowerShell is a window that supports text highlighting by dragging the mouse via <strong>Start &gt; All Programs &gt; Windows PowerShell &gt; Windows PowerShell</strong>.  It looks like you can copy highlighted text with control+C and paste with the right mouse button.  (Getting closer, I guess!)</p>
<p style="text-align: center;">Winner: <strong>Ubuntu</strong></p>
<h3>Focus Follow Mouse</h3>
<p>Down in the accessibility menu, there&#8217;s an option for &#8220;Activate a window by hovering over it with a mouse&#8221; . . . but checking that option doesn&#8217;t actually change the behavior . . .</p>
<p>. . . correction: it does.  After some seconds it brings the window you are hovering over to front.  No, I just want focus, not raise!  <a href="/2008/02/12/geek/">Arrr!  Ubuntu knows how to do this, with just a little checkbox.</a></p>
<p>Update: There are <a href="http://www.sevenforums.com/general-discussion/9000-how-mouse-hover-makes-window-active.html">three ways to do this</a>.  The registry hack was my solution.</p>
<p style="text-align: center;">Winner: <strong>Ubuntu</strong></p>
<h3>Default Web Browser</h3>
<p>I&#8217;ll give Internet Explorer some credit; I can type whatever crazy thing I want into the URL bar and the second it realizes I didn&#8217;t type a URL, it goes over to Bing.  Nice!</p>
<p>But then the default behavior is to create new windows all over.  Seriously: what is the point of tabbed browsing if you don&#8217;t put stuff in the tabs?  The big fail though is that for whatever reason the WordPress HTML editor in Explorer keeps jumping up to the top of the text input window, which made working out this post a seriously annoying experience.</p>
<p>A quick install of Google Chrome and my web browsing experience not only interfaces well with WordPress and pops new windows into tabs, but I can type whatever crazy stuff I want into the URL bar and in a not-be-evil sort of way, it shunts me with due humility over to Bing.  So, Chrome is my new default web browser for Windows 7.  (And I&#8217;ll continue trying out Bing, even though I&#8217;m a Google fan-boy.)</p>
<p style="text-align: center;">Winner: <strong>Ubuntu</strong></p>
]]></content:encoded>
			<wfw:commentRss>http://dannyman.toldme.com/2009/12/02/windows-7-ubuntu-first-impression/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Week of 29 November, 2009</title>
		<link>http://dannyman.toldme.com/2009/12/02/week-of-29-november-2009/</link>
		<comments>http://dannyman.toldme.com/2009/12/02/week-of-29-november-2009/#comments</comments>
		<pubDate>Wed, 02 Dec 2009 19:13:32 +0000</pubDate>
		<dc:creator>dannyman</dc:creator>
				<category><![CDATA[Biography]]></category>
		<category><![CDATA[Featured]]></category>
		<category><![CDATA[Sundry]]></category>
		<category><![CDATA[Blazing Saddles]]></category>
		<category><![CDATA[Cheryl's]]></category>
		<category><![CDATA[christmas tree]]></category>
		<category><![CDATA[Ghostbusters]]></category>
		<category><![CDATA[Libertarian]]></category>
		<category><![CDATA[Ozzie's]]></category>
		<category><![CDATA[Somalia]]></category>
		<category><![CDATA[Tea Lounge]]></category>
		<category><![CDATA[TiVo]]></category>

		<guid isPermaLink="false">http://dannyman.toldme.com/?p=2723</guid>
		<description><![CDATA[Despite the promised weather report, it did not snow in New York City.]]></description>
			<content:encoded><![CDATA[<h3>Sunday, November 29</h3>
<p>After making it home and grabbing a shower, I roamed in search of coffee.  Alas, the Tea Lounge was pretty packed, so I wandered down to 5th Ave and ordered a hot chocolate from Ozzie&#8217;s.  After making sure I was &#8220;to stay&#8221; they served me in a paper cup with a plastic cap, no whipped cream.</p>
<p>Yeah well, I wandered home and around 4:30pm started watching Nova on the TiVo, but fell asleep hard on the couch.</p>
<h3>Monday, November 30</h3>
<p>Booked my travel to California for next week.  Mei is working night shifts this month but I was able to take her out for sushi this evening.</p>
<h3>Tuesday, December 1</h3>
<p>Last night I dreamed I was driving an old Beetle in California.  Mei was with me and we were going to pick Brian up to take him to dinner.  Brian still had long hair but the sides of his head had been buzzed clean.</p>
<h3>Wednesday, December 2</h3>
<p>Notes from Facebook:</p>
<blockquote><p>I can only respect a Libertarian if they have the faith in their convictions to homestead in Somalia.</p>
<p>The Constitution enshrines the right to bear arms, in the interests of well-regulated militia. Police forces are a fairly recent innovation, often used in the service of tyranny, like standing armies. Somalia&#8217;s system of locally supported militias seems awfully close to a &#8220;strict interpretation&#8221; Libertarian ideal of limited government, with the burden of personal safety being placed upon the individual.</p></blockquote>
<p>I walked down to the Tea Lounge for lunch: a giant salad and a <em>pain au chocolat</em>.  One man beamed at a friend that the Senate was going to vote today, after setting aside 4 hours for debate.  I knew what he was talking about.  &#8220;You heard about DC,&#8221; his friend replied.  Later I read a cartoon: why didn&#8217;t the Army notice Major Alawi&#8217;s erratic behavior?  Because he wasn&#8217;t acting gay!  I laughed out loud.</p>
<h3>Thursday, December 3</h3>
<p>Today I booked my holiday travel, and this time it is Amtrak all the way.  Just over $200 round-trip, but this time my ride to Chicago will be via Washington, DC, where I will switch trains.</p>
<p>On Wednesday I had a small cup of coffee at the Tea Lounge.  And a giant salad.  That&#8217;s the only coffee I have had this week.  Trying to &#8220;detox&#8221; a bit.  Quite unintentionally, I haven&#8217;t eaten any meat either.  A lot of oatmeal.  I love oatmeal!  Mei is working nights so everything just feels weird.  It didn&#8217;t help that I managed to watch the six-hour &#8220;The Prisoner&#8221; mini-series this week as well.  I thought it was really very good, and goes well with alcohol, but that means I am out of Scotch.</p>
<p>Tonight I ate a half pound of frozen veggies.  Delicious enough but I&#8217;m a bit gassy, so it is just as well that Mei is at work.</p>
<p>If I were maintaining a Christmas list, I would add &#8220;HP 60 color and black-and-white printer cartridges.&#8221;</p>
<h3>Friday, December 4</h3>
<p>I spent the last of my cash on sandwiches, sodas, flowers, and some whiskey on the theory that Mei might like some tasty sammiches before she had to go to work.  Alas, she is off Friday and Saturday night.  Doh!  We figured we could go see the Mr Fox movie, but ended up relaxing indoors instead.  Despite the promised weather report, it did not snow in New York City.</p>
<p>I went to bed with a nasty headache.  I rarely get headaches.</p>
<h3>Saturday, December 5</h3>
<p>I woke up with a scummy throat, and Mei was feeling worse all day.  I took her out to Cheryl&#8217;s where there was a substantial wait, but it was a deliciously good experience nonetheless.  She bought a chicken and stock on the way home and as she set to cooking I went and moved her car, dropping the old printer and scanner at the Goodwill, then scoring a Christmas tree off a friendly French screenwriter outside of the Rite Aid on Flatbush.  Back home I sorted through digital photographs while playing &#8220;Blazing Saddles&#8221; and &#8220;Ghostbusters&#8221; off Netflix Instant on the TiVo, after which we enjoyed a soup dinner together.</p>
<p>I did not make it to the bicycle recycle store up in DUMBO . . . maybe during the week.  I did some Christmas shopping online and built a spreadsheet to track my Christmas gift spending, on the theory that I&#8217;ll transfer a certain amount from Savings to cover it all.</p>
<p>What I could also use for Christmas: a wireless Ethernet doohickey for the TiVo HD.</p>
]]></content:encoded>
			<wfw:commentRss>http://dannyman.toldme.com/2009/12/02/week-of-29-november-2009/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Week of 22 November, 2009</title>
		<link>http://dannyman.toldme.com/2009/11/29/week-of-22-november-2009/</link>
		<comments>http://dannyman.toldme.com/2009/11/29/week-of-22-november-2009/#comments</comments>
		<pubDate>Sun, 29 Nov 2009 21:58:05 +0000</pubDate>
		<dc:creator>dannyman</dc:creator>
				<category><![CDATA[Amtrak]]></category>
		<category><![CDATA[Biography]]></category>
		<category><![CDATA[Featured]]></category>
		<category><![CDATA[Movies]]></category>
		<category><![CDATA[Road Trips]]></category>
		<category><![CDATA[Sundry]]></category>
		<category><![CDATA[Travels]]></category>
		<category><![CDATA[USA]]></category>
		<category><![CDATA[Django]]></category>
		<category><![CDATA[duck]]></category>
		<category><![CDATA[Greyhound]]></category>
		<category><![CDATA[MySQL]]></category>
		<category><![CDATA[pizza]]></category>
		<category><![CDATA[SQLite]]></category>
		<category><![CDATA[Wall-E]]></category>

		<guid isPermaLink="false">http://dannyman.toldme.com/?p=2705</guid>
		<description><![CDATA[Thanksgiving week in Chicago, brought to you by Amtrak and Greyhound.]]></description>
			<content:encoded><![CDATA[<p>I don&#8217;t narrate my life any more, whether for good or for ill.  Well, maybe . . . I should try a weekly update.   This has been working well at work, anyway.</p>
<h3>Saturday, 21 November</h3>
<p>On Friday I took Mei out to dinner, since we were going to not see each other for most of a week.  We went to an Indian place up near the Kips Bay theater, where we then saw &#8220;Where the Wild Things Are&#8221;.  I think the first time I saw that book I was impressed with its style, and so my Mom thought I liked the story and read it to me a bunch, but I always thought Max was kind of a spoiled brat.  At the end of the movie I mumbled to Mei, &#8220;if my son pulls that crap he is not getting any chocolate cake.&#8221;  When asked if he&#8217;d get any dinner, I responded that I wasn&#8217;t so sure.  I wonder if the kid might have some blood sugar issues such that missing dinner may be a bad move.</p>
<p>Saturday morning, Mei was up early to go to work.  I slept in a bit, and treated myself to brunch at Teddy&#8217;s, which served me two eggs, fried potatoes, Canadian bacon, rye toast, fruit salad, orange juice and coffee for $8.25.  Now, Cheryl&#8217;s has some tastier food, so I&#8217;ll take Mei over there, but if it is just me, I stick with the cheaper, hearty meal.</p>
<p>I went home, washed the dishes and relaxed a bit, until around 1400 when I rode up to Penn Station to catch the 3:45 to Chicago.  Now, a plane would have been faster and cheaper, but now that I live in New York, I can &#8220;afford&#8221; the relative luxury of a train ride home.  The train was pretty full, and a guy named Don sat next to me.  I got the modem working on my laptop and caught up somewhat on Internet reading.  At Albany they took our engine off the train and shunted a series of cars from Boston onto the front.  This was exciting to me, so I shot some dark, blurry video from the passenger area.</p>
<p>I treated myself to dinner in the dining car.  Lamb shank, half a bottle of wine, dessert, coffee, and conversation with a cute college couple who were switching to the California Zephyr in Chicago, arriving in Emeryville on Tuesday to enjoy Thanksgiving in Santa Cruz.  Robin the Film major and Miru the Art History major.  They&#8217;re both minoring in Making a Living.</p>
<p>Despite ample legroom and a glass of Scotch from the Cafe car, I tossed and turned a great deal.<span id="more-2705"></span></p>
<h3>Sunday, November 22</h3>
<p>After much tossing and turning at some point I blanked out for what must have been several hours, until they turned the lights on at 7am.  I kept my eyes covered with my scarf for another hour or two, taking peeks out at as Indiana passed us in an early morning haze.  After South Shore we set our watches back an hour, and our train pulled into Chicago about 15 minutes early.</p>
<p>Don had disappeared by morning.  He found me on the platform at Union Station and explained that I had been tossing and turning so much he found a seat elsewhere.  He said he wanted to afford me more room, but I think he also wanted some peace and quiet.  I also got to bid Robin and Miru adieu, then went upstairs to be reunited with my family.  We had brunch at a place called The Breakfast Club, and headed home.</p>
<p>I took a walk around the neighborhood, noting the really cheap house prices, the fat and friendly squirrels at Indian Boundary Park, and the friendly duck who approached the benches with what looked like a weird chewed gum wattle hanging from his chin.  When he got closer I saw he was missing his lower beak, and that wattle was his tongue hanging limply down his throat.  He looked otherwise healthy, and I like to think that people manage to stuff some food down his throat.  My hunch is that he will not survive the winter.</p>
<p>After a dinner of Mom&#8217;s ham-and-potato casserole, at some point we were watching squirrel videos on the Internet, starting with <a href="http://www.youtube.com/watch?v=p_ImvNbkdq0">this family classic</a>.</p>
<h3>Monday, November 23</h3>
<p>For some reason my work laptop couldn&#8217;t join Mom&#8217;s wireless network, and after trying to fix it I only made things worse, so I upgraded Ubuntu to 9.10, and then fixed networking.</p>
<p>Following advice from Mei, I did some very light research on the physical rehabilitation benefits of the Nintendo Wii, and after talking with Gwen, went ahead and ordered a Nintendo Wii and a Nintendo Fit for Dad&#8217;s birthday.  With any luck, he&#8217;ll find the video game system sufficiently engaging that it will improve his physical activity and range of motion.</p>
<p>In the evening we ordered a pizza from Gulliver&#8217;s and I found that Netflix had Wall-E available for instant viewing, which I showed Mom on her laptop.  (Now that I have a DVR again, standard cable TV is just obnoxious.)</p>
<h3>Tuesday, November 24</h3>
<p>Dinner was $2 burger special at the sports bar near the house with Mom.  I was supposed to go by Sue&#8217;s house to help repair chairs with glue, but forgot, so I invited Sue to join us for burgers, and she and Mom concluded over dinner that it would be easiest for everyone concerned if we just brought a few more chairs to Sue&#8217;s house.</p>
<h3>Wednesday, November 25</h3>
<p>At work I took a stab at converting my Django application from a SQLite backend to MySQL, but ran in to all sorts of trouble because in trying to reload the data, Django freaks out because Django&#8217;s internal metadata has changed between versions, and newer Django doesn&#8217;t want to deal with older Django&#8217;s data.  So much for making things painless.  Anyway, this will take more effort than I had hoped.</p>
<p>After work I shied away from the tuna casserole and discovered the leftover pizza I had promised Mei had in fact been consumed.  She also scored an earlier flight so after picking her up at O&#8217;Hare, I had her order a pizza at Gulliver&#8217;s which I picked up on the way home.  On the one hand, this was the late night before Thanksgiving and she would have been sated on our local leftovers.  On the other hand, she was only going to be in town for the day and I wanted to indulge my girl in a Chicago pizza.</p>
<h3>Thursday, November 26</h3>
<p>Thanksgiving!  Turkey at Sue&#8217;s house.  As a bonus, Erik and Jeannie joined us with their one year old kid and Jeannie&#8217;s parents, who don&#8217;t speak much English.  Of course, Chinese know how to feast just as well as Americans so they were very much at home.  I was able to exchange a very few words in Mandarin, with Jeannie&#8217;s mother enthusiastically guiding my pronunciation.</p>
<h3>Friday, November 27</h3>
<p>Up at the butt crack of dawn to drive Mei back to the airport in Grandma&#8217;s car.  She was hoping to try and catch an earlier flight just-in-case there might be delays.  I dropped her off at O&#8217;Hare at 6am, then drove back home and hibernated.  Mei called around noon to say that she had caught her scheduled flight, which arrived on-time in New York, and she would rest a few hours before work.</p>
<p>I took the bus down to join Erik and Jeannie at their place for lunch.  Chinese-style noodles, followed by Jeannie&#8217;s inaugural experiment with home-made pizza, and then a dim-sum style dessert with puff pastry and ice cream.  Fanciest home-made lunch I have had in some time.  Along with Jeannie&#8217;s parents we were joined by Erik&#8217;s college friend.  On the way back I saw a fire truck blocking Lincoln, and a body covered in a white cloth resting in the street.  An ambulance came up and picked up body.  I would guess a hit pedestrian, and only now do I wonder if they may in fact have been retrieving a corpse.  At Paulina I managed to card in at the turnstile and leap through the closing doors: always a rush!</p>
<p>Dinner was Thanksgiving Part 2, featuring Janice and Dan and Dan&#8217;s new girlfriend.  We played charades.</p>
<h3>Saturday, November 28</h3>
<p>Brunch at P&#038;S with Mom, Grandma, and Jessica.  I packed a container full of turkey, stuffing, and veggies that proved a delicious Greyhound meal.  My &#8220;Third Thanksgiving&#8221; at a truck stop McDonalds amid other pilgrims.  I also grabbed a small order of french fries.</p>
<p>Greyhound is more uncomfortable than I remember.  All the same I slept better than I had on Amtrak.  I figure my body had adjusted to &#8220;travel&#8221; mode over the week, the first night out of the usual comforts of my own bed being the hardest.</p>
<h3>Sunday, November 29</h3>
<p>At 2AM our coach arrived in Cleveland, and we all had to get off so the coach could be cleaned, but we could leave our stuff on and we eventually got to re-board before the other passengers joining us from Cleveland.  This was not a joyful experience but at least the Cleveland station had some architectural style and orderliness to it that reassured us that the ugly chaos of Chicago is not the universal truth of Greyhound.</p>
<p>At around 2AM, there were about three bus loads of passengers boarding coaches for New York.  We waited in a separate line as the throngs marched past, until our coach was ready and we were once again aboard.  My new seat mate was a tall, thin, blond, bespectacled English major named Joe returning to NYU from Louisville, (<em>lew-uh-ville</em>) Kentucky.  Nearby was a passenger from Chicago who, through strategic sprawl of his own corpulence and feigned sleep, had managed to secure two seats to himself thus far.  But as the bus filled up and the Pretty Girl came aboard, he suddenly discovered that the seat next to his was astonishingly empty, and he gallantly offered it to her.  Alas, the Pretty Girl had not just come into her beauty yesterday, so she managed to look past this offer to other seats that might be available to plain-looking folk.  But at this point, the bus was pretty darn full, so she soon accepted the offered seat.</p>
<p>From Cleveland it was two rest stops until we hit Newark Penn Station, which was choked with poorly managed traffic.  After some patient navigation were were finally en route to the Port Authority Bus Terminal, and it was not much after noon that I was home, and grateful for a shower.</p>
]]></content:encoded>
			<wfw:commentRss>http://dannyman.toldme.com/2009/11/29/week-of-22-november-2009/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Mutt Macro: Mass-Delete System Spam</title>
		<link>http://dannyman.toldme.com/2009/11/18/mutt-tag-prefix-cond/</link>
		<comments>http://dannyman.toldme.com/2009/11/18/mutt-tag-prefix-cond/#comments</comments>
		<pubDate>Wed, 18 Nov 2009 19:46:12 +0000</pubDate>
		<dc:creator>dannyman</dc:creator>
				<category><![CDATA[Technical]]></category>
		<category><![CDATA[macro]]></category>
		<category><![CDATA[mutt]]></category>
		<category><![CDATA[regex]]></category>

		<guid isPermaLink="false">http://dannyman.toldme.com/?p=2699</guid>
		<description><![CDATA[I just added this to my .muttrc:
macro index Z '&#60;tag-pattern&#62;~f (cron\&#124;nagios\&#124;root)&#60;enter&#62;&#60;tag-prefix-cond&#62;&#60;delete-message&#62;'
Now if I hit shift-z, all the mail from cron, nagios, and root is marked deleted.  If I&#8217;m feeling aggressive I can then hit x, which for me means &#8220;expunge&#8221; deleted messages.  (I came from pine.)
]]></description>
			<content:encoded><![CDATA[<p>I just added this to my <code>.muttrc</code>:</p>
<p><code>macro index Z '&lt;tag-pattern&gt;~f (cron\|nagios\|root)&lt;enter&gt;&lt;tag-prefix-cond&gt;&lt;delete-message&gt;'</code></p>
<p>Now if I hit shift-z, all the mail from cron, nagios, and root is marked deleted.  If I&#8217;m feeling aggressive I can then hit x, which for me means &#8220;expunge&#8221; deleted messages.  (I came from pine.)</p>
]]></content:encoded>
			<wfw:commentRss>http://dannyman.toldme.com/2009/11/18/mutt-tag-prefix-cond/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>San Francisco Transit Map</title>
		<link>http://dannyman.toldme.com/2009/11/03/san-francisco-transit-map/</link>
		<comments>http://dannyman.toldme.com/2009/11/03/san-francisco-transit-map/#comments</comments>
		<pubDate>Tue, 03 Nov 2009 02:26:23 +0000</pubDate>
		<dc:creator>dannyman</dc:creator>
				<category><![CDATA[Featured]]></category>
		<category><![CDATA[doodles]]></category>

		<guid isPermaLink="false">http://dannyman.toldme.com/?p=2694</guid>
		<description><![CDATA[After several weeks of effort and a few false starts, I present my first transit map, aimed at the casual explorer of San Francisco . . .]]></description>
			<content:encoded><![CDATA[<p>After several weeks of effort and a few false starts, I present my first transit map, aimed at the casual explorer of San Francisco:</p>
<p style="text-align: center"><a href="http://www.flickr.com/photos/dannyman/4070761348/" title="San Francisco Transit Map by dannyman, on Flickr"><img src="http://farm3.static.flickr.com/2437/4070761348_26ee5df8f5.jpg" border=0  width="500" height="500" alt="San Francisco Transit Map" /></a></p>
<p>You can download the <a href="http://www.flickr.com/photos/dannyman/4070761348/sizes/l/">large</a> or <a href="http://www.flickr.com/photos/dannyman/4070761348/sizes/o/">360dpi</a> version from <a href="http://www.flickr.com/photos/dannyman/4070761348/">Flickr</a>.  Or you can download the InkScape <a href="/warez/sftrans-15in.svg">SVG source file</a> from ratchet.</p>
<p>I&#8217;m not 100% happy about it, and it is lacking the SamTrans buses I wanted to add.  All the same, I&#8217;m rather proud.  It is train-centric but features connecting bus routes.  I managed to include the three levels of rail transit on Market St by consolidating each service into its trunk lines, which let me gloss over the whole KT thing.  My original ambition was to populate it with all the landmarks you wouldn&#8217;t find on your regular tourist map, but I sort of moved out of town.</p>
<p>Alas, I like to think that modifying info on the map should be pretty easy for others to do.  The <a href="/warez/sftrans-15in.svg">SVG file</a> contains multiple layers that can be turned on or off, modified, add a new layer . . . you could totally create your own map based on this, if you like . . .</p>
<p>In selecting the size of this map, I went for a square, because despite its free-wheeling ways, San Francisco is geographically quite square, and figured to make the map 15&#8243; x 15&#8243; . . . if one really wanted to one could slice it in fourths and print 7.5&#8243;+ on US Letter-sized paper and voila&#8211;your own map!</p>
<p>If anyone finds this map useful or hacks on it, please let me know!  Enjoy!</p>
<p>-danny</p>
]]></content:encoded>
			<wfw:commentRss>http://dannyman.toldme.com/2009/11/03/san-francisco-transit-map/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Dream: Sidekick 4</title>
		<link>http://dannyman.toldme.com/2009/11/02/electric-sheep/</link>
		<comments>http://dannyman.toldme.com/2009/11/02/electric-sheep/#comments</comments>
		<pubDate>Mon, 02 Nov 2009 15:59:06 +0000</pubDate>
		<dc:creator>dannyman</dc:creator>
				<category><![CDATA[Sundry]]></category>
		<category><![CDATA[Technology]]></category>
		<category><![CDATA[android]]></category>
		<category><![CDATA[dream]]></category>
		<category><![CDATA[Sidekick 2]]></category>

		<guid isPermaLink="false">http://dannyman.toldme.com/?p=2691</guid>
		<description><![CDATA[I remembered a dream this weekend. I was walking in Bangkok and it occurred to me I should turn off the data on my smart phone, lest I get raped by the service provider. Then I was kind of pleased to see that my smart phone was my Sidekick 2, because that thing was just [...]]]></description>
			<content:encoded><![CDATA[<p>I remembered a dream this weekend. I was walking in Bangkok and it occurred to me I should turn off the data on my smart phone, lest I get raped by the service provider. Then I was kind of pleased to see that my smart phone was my Sidekick 2, because that thing was just wonderful.</p>
<p>Then I said to myself &#8220;I&#8217;m in Bangkok with a smart phone and its a Sidekick 2 when I know I own a G1, so like, am I dreaming?!&#8221; And so my unconscious was like shitshit, no look, it says Sidekick 4! Whoo! Shiny! Wouldn&#8217;t that make an awesome Android phone!? And I was like &#8220;damn, that rocks! When did we come up with this?&#8221;</p>
<p>I woke up.</p>
<p>(Thanks for the prompt, RJ.)</p>
]]></content:encoded>
			<wfw:commentRss>http://dannyman.toldme.com/2009/11/02/electric-sheep/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Adventures in Inkscape</title>
		<link>http://dannyman.toldme.com/2009/11/01/adventures-in-inkscape/</link>
		<comments>http://dannyman.toldme.com/2009/11/01/adventures-in-inkscape/#comments</comments>
		<pubDate>Sun, 01 Nov 2009 22:24:00 +0000</pubDate>
		<dc:creator>dannyman</dc:creator>
				<category><![CDATA[Sundry]]></category>

		<guid isPermaLink="false">http://dannyman.toldme.com/?p=2684</guid>
		<description><![CDATA[I have always been enchanted by maps, especially transit maps.  I have used the London Tube, New York Subway and Santa Clara VTA maps as wall decor.  Earlier this year I began working on my own version of a transit map, &#8220;just for fun&#8221; to cover transit options within San Francisco.  I [...]]]></description>
			<content:encoded><![CDATA[<p>I have always been enchanted by maps, especially transit maps.  I have used the London Tube, New York Subway and Santa Clara VTA maps as wall decor.  Earlier this year I began working on my own version of a transit map, &#8220;just for fun&#8221; to cover transit options within San Francisco.  I figured I would focus on making a map that would be useful for casual exploration of San Francisco, showing the metro lines and those bus lines which reliably connect between them.</p>
<p style="text-align: center"><img src="http://dannyman.toldme.com/wp-content/uploads/2009/11/sftrans-preview2.png" alt="sftrans-preview2" title="sftrans-preview2" width="600" height="600" class="alignright size-full wp-image-2686" /></p>
<p>I shelved the project for a while when it came time to move to New York, but I have finally picked up again, due in part to inspiration from discovering <a href="http://maps.complutense.org/">this site</a>, and hope to release an &#8220;open source&#8221; transit map soon.</p>
<p style="text-align: center"><img src="http://dannyman.toldme.com/wp-content/uploads/2009/11/sftrans-preview.png" alt="sftrans-preview" title="sftrans-preview" width="600" height="600" class="alignright size-full wp-image-2685" /></p>
<p>Speaking of San Francisco, if anyone has a free guest room or couch this Tuesday and Wednesday evening, I would be happy to keep it warm for you!  (I have been visiting monthly at my own expense.)</p>
]]></content:encoded>
			<wfw:commentRss>http://dannyman.toldme.com/2009/11/01/adventures-in-inkscape/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Achewood: North Korean Magical Realism</title>
		<link>http://dannyman.toldme.com/2009/10/29/achewood-seriously-wtf/</link>
		<comments>http://dannyman.toldme.com/2009/10/29/achewood-seriously-wtf/#comments</comments>
		<pubDate>Thu, 29 Oct 2009 18:23:26 +0000</pubDate>
		<dc:creator>dannyman</dc:creator>
				<category><![CDATA[Free Style]]></category>
		<category><![CDATA[Sundry]]></category>

		<guid isPermaLink="false">http://dannyman.toldme.com/?p=2673</guid>
		<description><![CDATA[
Glorious Ranger confronts Ultraviolet Thunder over the danger a fish presents to a squirrel&#8217;s nuts.
Some people wonder at the recent Achewood story arc, in which Todd, a substance-abusing squirrel, attempts to &#8220;piss up a rope&#8221; and thereby triggers his transportation into a text adventure game in which he and Kim Jong-il together flee North Korea [...]]]></description>
			<content:encoded><![CDATA[<div class="capRight240"><a href="http://achewood.com/index.php?date=10282009"><img src="http://dannyman.toldme.com/wp-content/uploads/2009/10/achewood.gif" alt="Todd&#039;s Misadventures in North Korean Magical Realism" title="achewood" width="240" height="240" class="size-full wp-image-2675" /></a><br />
Glorious Ranger confronts Ultraviolet Thunder over the danger a fish presents to a squirrel&#8217;s nuts.</div>
<p>Some people wonder at the <a href="http://achewood.com/index.php?date=10142009">recent Achewood story arc</a>, in which Todd, a substance-abusing squirrel, attempts to &#8220;piss up a rope&#8221; and thereby triggers his transportation into a text adventure game in which he and Kim Jong-il together flee North Korea to found the &#8220;PEOPLE&#8217;S KINGDOM OF ECSTASY AND WRATH!&#8221;</p>
<p>To quote a friend: &#8220;Man, Achewood, WHAT THE FUCK . . . I don&#8217;t know if [Chris Onstad] is ignorant or nuts.&#8221;</p>
<p>So, leveraging my International Baccalaureate high school education, I explained:</p>
<blockquote><p>He is riffing on a Latin American literary convention known as &#8220;magical realism&#8221; popularized in the English canon by translations of Gabriel Garcia Marquez.</p>
<p>An example of magical realism can be found in Marquez&#8217; &#8220;One Hundred Years of Solitude&#8221; when the town of Macondo comes under an insomnia plague.  At first, people don&#8217;t have to sleep, but then they realize they are losing their memories.  So they start putting labels on things to remind them what what they are.  And they put a big sign over the main road that says GOD EXISTS.  In case one might forget.</p>
<p>In the context of magical realism, it is entirely reasonable that Todd should type with a stutter.</p></blockquote>
]]></content:encoded>
			<wfw:commentRss>http://dannyman.toldme.com/2009/10/29/achewood-seriously-wtf/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Open Source Projects Could Augment CS Curricula</title>
		<link>http://dannyman.toldme.com/2009/10/27/or-why-i-dont-care-about-snakeoil-salesmen/</link>
		<comments>http://dannyman.toldme.com/2009/10/27/or-why-i-dont-care-about-snakeoil-salesmen/#comments</comments>
		<pubDate>Tue, 27 Oct 2009 23:10:29 +0000</pubDate>
		<dc:creator>dannyman</dc:creator>
				<category><![CDATA[About Me]]></category>
		<category><![CDATA[Biography]]></category>
		<category><![CDATA[Featured]]></category>
		<category><![CDATA[Good Reads]]></category>
		<category><![CDATA[Technical]]></category>
		<category><![CDATA[Technology]]></category>

		<guid isPermaLink="false">http://dannyman.toldme.com/?p=2667</guid>
		<description><![CDATA[Computer programming is fun because when you get down to it, it is a lot like computer games: a person at the interface banging away until they get their dopamine fix by either beating the level boss or getting the damn thing to compile and spit out the correct result.]]></description>
			<content:encoded><![CDATA[<p><a href="http://everythingsysadmin.com/2009/10/using-commercial-tools-to-teac.html">Everyone</a> is <a href="http://stochasticgeometry.wordpress.com/2009/10/27/joel-spolsky-snake-oil-salesman/">talking about Joel Spolsky</a>, especially <a href="http://www.joelonsoftware.com/items/2009/10/26.html">with his latest article</a>.</p>
<p>Many appreciate what he has to say, but then again, he is basically articulating what we all know, and plenty figure that maybe his writing is no longer fresh, and he is just cranking out articles in order to shill his warez:</p>
<blockquote><p>&#8220;This might be a neat opportunity to use Scrum. Once a week, the team gets together, in person or virtually, and reviews the previous week’s work. Then they decide which features and tasks to do over the next week.  FogBugz would work great for tracking this . . .&#8221;</p></blockquote>
<p>My position is that most stuff we read is mediocre, and Joel at least writes well, and Joel wears his ulterior motives on his sleeve, so when he starts figuring FogBugz can cure what ails CS curricula, I just figure &#8220;and now a word from our sponsors&#8221; and my brain hits the fast-forward button.</p>
<p>I think Tom actually has the best reaction to the issue Joel brings up, in that he adds that different people have different learning methods:</p>
<blockquote><p>We all know there are students that are &#8220;visual learners&#8221;, &#8220;audio learners&#8221; and &#8220;kinesthetic&#8221; learners.</p></blockquote>
<p>We all know what?  Okay, yeah, and &#8220;everyone&#8221; is talking about this, right?  Anyway, Tom, like me, is a learning-by-doing kind of guy who didn&#8217;t always &#8220;get&#8221; the formal CS curriculum:</p>
<blockquote><p>When I took my undergraduate class on software engineering methodology I felt it was useless because I couldn&#8217;t see the point of most of what I was being taught. Most of my programming had been done solo or on a small team. I could not take seriously the problems that were being &#8220;fixed&#8221; by the software methodologies discussed in our lectures. &#8220;Code size estimation? Bah! Impossible, so why even try!&#8221;</p></blockquote>
<p>In my CS days, the bits I enjoyed most were the learning-by-doing: compiling my first C program, bending my mind around recursion and functional programming to complete assignments in MIT Scheme, implementing a virtual spanning tree, and coming up on my own with the idea of a finite-state automaton to parse NWS weather forecasts.  (Okay, that wasn&#8217;t a CS assignment and I didn&#8217;t know how to talk to girls.)</p>
<p>The parts where I fell completely flat were the theoretical classes where we considered bizarre hypothetical problems that didn&#8217;t make sense, using Greek letters that didn&#8217;t seem to have anything to do with reality.  One day my ECE roommate asked how, as a CS major, I would go about sorting one million integers.  My response was &#8220;why would you want to sort one million integers?&#8221;  Later I slept through multiple lectures where the best methods of sorting integers were discussed at length.  I skimmed the slides so I know that Quicksort performs well and in-place, but that Bubble Sort may work better if your data is mostly sorted, so in my mind that just means that if anybody asks how you would sort one million integers, the correct answer is to ask some questions as to why they need to sort one million integers.</p>
<p>Uh, yeah.  Anyway, what was I nattering on about?  Joel&#8217;s schtick is that CS students aren&#8217;t taught to manage large, complex, &#8220;real world&#8221; projects with lots of moving pieces.  CS mostly focuses on the &#8220;interesting 10%&#8221; like how you would sort a million integers and skips over the boring 90% of hard work like implementing the interface for the customer to provide their million integers and retrieve the results.  And Mark Dennehy&#8217;s reaction was &#8220;of course we focus on the interesting ten percent: the other 90% is constantly changing and best learned on the job!&#8221;</p>
<p>But, addressing the &#8220;how do you tackle big projects&#8221; thing, I think Joel has a point.  And his point isn&#8217;t new.  The point is extra-curricular activity.</p>
<p>Whether you&#8217;re a visual learner or whatever, the biggest secret to learning things is to find the thing that you are studying interesting.  The very best computer programmers are all fucking fascinated by the challenge of getting the computers to do things within given parameters.  Computer programming is fun because when you get down to it, it is a lot like computer games: a person at the interface banging away until they get their dopamine fix by either beating the level boss or getting the damn thing to compile and spit out the correct result.</p>
<p>Well, that is for the learning-by-doing types.  Some computer programmers get their jollies by trying to fathom a new and novel method of sorting one million integers.  Whatever floats their boat, I guess.</p>
<p>Anyway, long story short, I&#8217;m thinking the learning-by-doing types tend to get a little queasy after a few CS theory classes and end up majoring in English in order to score a bachelors degree, but they keep tinkering with the computers along the way, and end up, like Tom and me, as systems administrators, figuring out the best way to keep 1,000 computers running in order to make it possible to sort billions of objects with map-reduce algorithms in constant time.</p>
<p>Oh yeah, and that I agree with Joel that motivated CS students ought to find non-class projects that they are passionate about, and thereby gain chances to collaborate with others on the sort of &#8220;real world&#8221; challenges that they are likely to face in their professional careers.  Back at <a href="http://cs.illinois.edu/">Illinois</a> the <a href="http://www.acm.uiuc.edu/">ACM</a> played a big role in this.  I myself did some time apprenticing at <a href="http://www.ncsa.illinois.edu/">NCSA</a> and at an ISP, and the big win these days it would seem are the oodles of Open Source projects ready to put interested volunteers to work.  And that&#8217;s why <a href="http://code.google.com/soc/">Google&#8217;s &#8220;Summer of Code&#8221;</a> just sounds like a fantastically great idea.</p>
]]></content:encoded>
			<wfw:commentRss>http://dannyman.toldme.com/2009/10/27/or-why-i-dont-care-about-snakeoil-salesmen/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Barack O&#8217;Thompson</title>
		<link>http://dannyman.toldme.com/2009/10/22/barack-othompson/</link>
		<comments>http://dannyman.toldme.com/2009/10/22/barack-othompson/#comments</comments>
		<pubDate>Thu, 22 Oct 2009 15:34:34 +0000</pubDate>
		<dc:creator>dannyman</dc:creator>
				<category><![CDATA[Politics]]></category>
		<category><![CDATA[Sundry]]></category>
		<category><![CDATA[Barack Obama]]></category>
		<category><![CDATA[Bill Thompson]]></category>
		<category><![CDATA[Bloomberg]]></category>
		<category><![CDATA[democrat]]></category>
		<category><![CDATA[mayor]]></category>
		<category><![CDATA[new york city]]></category>

		<guid isPermaLink="false">http://dannyman.toldme.com/?p=2661</guid>
		<description><![CDATA[
Barack Obama stumps for his mayoral candidacy near Grand Army Plaza, Brooklyn.
Here in New York City, there is a Democrat running a seemingly futile campaign against Mike Bloomberg.  As far as I can tell the campaign platform is that Bloomberg is ambitious and power-hungry, with delusions of grandeur.  Which, from what I can [...]]]></description>
			<content:encoded><![CDATA[<p><span class="capLeft240" style="width: 180px"><a href="http://www.flickr.com/photos/dannyman/4034300337/" title="2009-10-22 09.42.47 by dannyman, on Flickr"><img src="http://farm3.static.flickr.com/2753/4034300337_bc320f3af0_m.jpg" width="180" height="240" alt="2009-10-22 09.42.47" /></a><br />
Barack Obama stumps for his mayoral candidacy near Grand Army Plaza, Brooklyn.</span></p>
<p>Here in New York City, there is a Democrat running a seemingly futile campaign against Mike Bloomberg.  As far as I can tell the campaign platform is that Bloomberg is ambitious and power-hungry, with delusions of grandeur.  Which, from what I can tell, must surely be a ringing indictment of character for the Mayor of Lake Woebegone, MN.</p>
<p>Anyway, His Holiness recently passed through town, bestowing upon Bloomberg&#8217;s Democrat opponent the ringing laurel of endorsement that his colleague was &#8220;in the house&#8221; . . . somewhere . . . they didn&#8217;t have time to meet . . . and then President Obama was off to New Jersey to stump hard for the governor there.</p>
<p>This morning the lamp posts in my black neighborhood are adorned with photographs of Barack Obama, who would surely be an awesome mayor . . . of Chicago.</p>
]]></content:encoded>
			<wfw:commentRss>http://dannyman.toldme.com/2009/10/22/barack-othompson/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Intelligence</title>
		<link>http://dannyman.toldme.com/2009/10/14/intelligence/</link>
		<comments>http://dannyman.toldme.com/2009/10/14/intelligence/#comments</comments>
		<pubDate>Wed, 14 Oct 2009 15:18:07 +0000</pubDate>
		<dc:creator>dannyman</dc:creator>
				<category><![CDATA[Featured]]></category>
		<category><![CDATA[Free Style]]></category>
		<category><![CDATA[Quotes]]></category>
		<category><![CDATA[Sundry]]></category>
		<category><![CDATA[Testimonials]]></category>
		<category><![CDATA[education]]></category>
		<category><![CDATA[intelligence]]></category>
		<category><![CDATA[passion]]></category>

		<guid isPermaLink="false">http://dannyman.toldme.com/?p=2657</guid>
		<description><![CDATA[The brain is like a car engine: whether you have a little two-stroke or a V-12 you still aren't going to get anywhere without some passion fuel, and the going will be really tough without some nice, smooth educational asphalt to help guide you to where you want to go.]]></description>
			<content:encoded><![CDATA[<p>A comment I made on an e-mail thread that was well-received:</p>
<blockquote><p>Intelligence is the product of basic brainpower, passion, and education.  The brain is like a car engine: whether you have a little two-stroke or a V-12 you still aren&#8217;t going to get anywhere without some passion fuel, and the going will be really tough without some nice, smooth educational asphalt to help guide you to where you want to go.</p></blockquote>
<p>Also, to those endlessly debating nature-versus-nurture, the answer is usually &#8220;both&#8221; . . . you start with a certain genetic baseline, then a childhood you don&#8217;t have much control over, and you make of your life what you will.  Some folks receive a terrible start in life and are going to have it hard whatever they do, but most people have something they can work with, and with the right sort of ambition, positive attitude, and tenacity, can achieve some sort of success in life.</p>
]]></content:encoded>
			<wfw:commentRss>http://dannyman.toldme.com/2009/10/14/intelligence/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>HOWTO: Ubuntu Support for Audio in XVidCap</title>
		<link>http://dannyman.toldme.com/2009/09/28/howto-ubuntu-xvidcap-audio-support/</link>
		<comments>http://dannyman.toldme.com/2009/09/28/howto-ubuntu-xvidcap-audio-support/#comments</comments>
		<pubDate>Mon, 28 Sep 2009 15:05:26 +0000</pubDate>
		<dc:creator>dannyman</dc:creator>
				<category><![CDATA[Linux]]></category>

		<guid isPermaLink="false">http://dannyman.toldme.com/?p=2648</guid>
		<description><![CDATA[XVidCap is a very nice screen-capture program for Linux.  I have been dabbling in it to capture video of my desktop.
Unfortunately, the binary offered by Ubuntu&#8217;s software distribution has audio disabled.  I found a bug about that somewhere and added my two cents, then went and installed it manually.  Then I had to [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://xvidcap.sourceforge.net/">XVidCap</a> is a very nice screen-capture program for Linux.  I have been dabbling in it to capture video of my desktop.</p>
<p>Unfortunately, the binary offered by Ubuntu&#8217;s software distribution has audio disabled.  I found a bug about that somewhere and added my two cents, then went and installed it manually.  Then I had to reinstall it manually because the Ubuntu version had been bumped and the &#8220;newer&#8221; version replaced my audio-supporting version.</p>
<p><strong>Step 1: Remove Existing xvidcap</strong></p>
<p><code>sudo aptitude remove xvidcap</code></p>
<p><strong>Step 2: Install XVidCap from SourceForge</strong></p>
<p><a href="http://sourceforge.net/projects/xvidcap/">http://sourceforge.net/projects/xvidcap/</a> &#8212; click &#8220;download now&#8221; and the rest is all point-and-click.</p>
<p><strong>Step 3: Lock XVidCap Version</strong></p>
<p>Ubuntu will be quietly bide its time until it can &#8220;upgrade&#8221; xvidcap to a version that doesn&#8217;t support Audio.  Fortunately, you can tell it not to do that!</p>
<p>Open: <i>System > Administration > Synaptic Package Manager</i></p>
<p>Search for &#8220;xvidcap&#8221;</p>
<p>Select the package, go to the Package menu and select &#8220;Lock Version&#8221;</p>
<p>(From what I can tell, <code>sudo aptitude hold</code> won&#8217;t actually prevent xvidcap from being &#8220;upgraded.&#8221;)</p>
]]></content:encoded>
			<wfw:commentRss>http://dannyman.toldme.com/2009/09/28/howto-ubuntu-xvidcap-audio-support/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Firing Off SSH Commands</title>
		<link>http://dannyman.toldme.com/2009/09/09/firing-off-ssh-commands/</link>
		<comments>http://dannyman.toldme.com/2009/09/09/firing-off-ssh-commands/#comments</comments>
		<pubDate>Wed, 09 Sep 2009 14:49:02 +0000</pubDate>
		<dc:creator>dannyman</dc:creator>
				<category><![CDATA[Technical]]></category>
		<category><![CDATA[ssh]]></category>

		<guid isPermaLink="false">http://dannyman.toldme.com/?p=2643</guid>
		<description><![CDATA[This is more for my own reference, because there are some broken rc scripts that don&#8217;t detach the PTY correctly, which can be really aggravating if you&#8217;re starting or stopping multiple daemons on multiple servers.

1-7:45 djh@opshost ~> cat .ssh/config
StrictHostKeyChecking no
BatchMode yes
KeepAlive yes

That KeepAlive yes is more for my interactive sessions.  but here&#8217;s the real [...]]]></description>
			<content:encoded><![CDATA[<p>This is more for my own reference, because there are some broken rc scripts that don&#8217;t detach the PTY correctly, which can be really aggravating if you&#8217;re starting or stopping multiple daemons on multiple servers.</p>
<pre>
1-7:45 djh@opshost ~> <b>cat .ssh/config</b>
StrictHostKeyChecking no
BatchMode yes
KeepAlive yes
</pre>
<p>That <code>KeepAlive yes</code> is more for my interactive sessions.  but here&#8217;s the real mojo:</p>
<p><code><strong>ssh -f</strong> user@server command</code></p>
<p>I can add an <code>&#038;</code> if I like . . .</p>
]]></content:encoded>
			<wfw:commentRss>http://dannyman.toldme.com/2009/09/09/firing-off-ssh-commands/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

<!-- Dynamic Page Served (once) in 1.895 seconds -->
<!-- Cached page generated by WP-Super-Cache on 2009-12-12 11:10:28 -->
