<?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>Wizard Mode</title>
	<atom:link href="http://wizardmode.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://wizardmode.com</link>
	<description>Justin de Vesine on life, food, technology, and whimsy</description>
	<lastBuildDate>Thu, 18 Apr 2013 19:43:42 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.5.2-alpha</generator>
		<item>
		<title>System Python, Python, and Virtualenv</title>
		<link>http://wizardmode.com/2013/04/system-python-python-and-virtualenv/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=system-python-python-and-virtualenv</link>
		<comments>http://wizardmode.com/2013/04/system-python-python-and-virtualenv/#comments</comments>
		<pubDate>Thu, 18 Apr 2013 19:43:42 +0000</pubDate>
		<dc:creator>Justin</dc:creator>
				<category><![CDATA[Tech]]></category>
		<category><![CDATA[python]]></category>
		<category><![CDATA[virtualenv]]></category>

		<guid isPermaLink="false">http://wizardmode.com/?p=416</guid>
		<description><![CDATA[If you use both a system python (without virtualenv) and a custom python (with virtualenv), it can be a bit of a pain to get virtualenv to use the right python &#8211; and what&#8217;s worse, it can create subtle errors that are hard to track down. Thankfully, the solution is very easy, if you&#8217;re using&#8230;]]></description>
				<content:encoded><![CDATA[<p>If you use both a system python (without <a href="https://pypi.python.org/pypi/virtualenv">virtualenv</a>) and a custom python (with virtualenv),  it can be a bit of a pain to get virtualenv to use the right python &#8211; and what&#8217;s worse, it can create subtle errors that are hard to track down.  Thankfully, the solution is very easy, if you&#8217;re using <a href="http://virtualenvwrapper.readthedocs.org/en/latest/">virtualenvwrapper</a> &#8211; just a couple extra (documented but uncommon) settings, to tell virtualenv where to find the right python, virtualenv, and virtualenv-clone:</p>
<pre class="brush: bash; title: ; notranslate">
# This is common
export WORKON_HOME=&quot;$HOME/.virtualenvs&quot;
# This is uncommon, for non-default python installations
export PYTHON27=&quot;$HOME/local/python-2.7.4/bin&quot;
export VIRTUALENVWRAPPER_PYTHON=&quot;${PYTHON27}/python&quot;
export VIRTUALENVWRAPPER_SCRIPT=&quot;${PYTHON27}/virtualenvwrapper.sh&quot;
export VIRTUALENVWRAPPER_VIRTUALENV=&quot;${PYTHON27}/virtualenv&quot;
export VIRTUALENVWRAPPER_VIRTUALENV_CLONE=&quot;${PYTHON27}/virtualenv-clone&quot;
# And back to common (_lazy only loads the environment when you workon the first time)
source &quot;${PYTHON27}/virtualenvwrapper_lazy.sh&quot;
</pre>
<p>With that in place, you can use your system python with impunity, then switch to a custom-python virtualenv with the usual <code>workon someproject</code> call, rather than messing around with the PYTHONPATH and so forth.</p>
]]></content:encoded>
			<wfw:commentRss>http://wizardmode.com/2013/04/system-python-python-and-virtualenv/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Make Mail.app and Gmail play nice(r)</title>
		<link>http://www.macworld.com/article/2033842/make-mail-and-gmail-play-nice.html?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=make-mail-app-and-gmail-play-nicer</link>
		<comments>http://wizardmode.com/2013/04/make-mail-app-and-gmail-play-nicer/#comments</comments>
		<pubDate>Wed, 17 Apr 2013 17:51:33 +0000</pubDate>
		<dc:creator>Justin</dc:creator>
				<category><![CDATA[Tech]]></category>
		<category><![CDATA[gmail]]></category>
		<category><![CDATA[mail.app]]></category>

		<guid isPermaLink="false">http://wizardmode.com/?p=412</guid>
		<description><![CDATA[It&#8217;s not perfect, but it&#8217;s better than what I had. (hat tip: @rands)<p style="clear: both;"><a href="http://wizardmode.com/2013/04/make-mail-app-and-gmail-play-nicer/">#</a></p>]]></description>
				<content:encoded><![CDATA[<p>It&#8217;s not perfect, but it&#8217;s better than what I had.  (hat tip: <a href="https://twitter.com/rands/status/324568366859816961">@rands</a>)</p>
<p style="clear: both;"><a href="http://wizardmode.com/2013/04/make-mail-app-and-gmail-play-nicer/">#</a></p>]]></content:encoded>
			<wfw:commentRss>http://wizardmode.com/2013/04/make-mail-app-and-gmail-play-nicer/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Two-factor authentication</title>
		<link>http://wizardmode.com/2013/04/two-factor-authentication/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=two-factor-authentication</link>
		<comments>http://wizardmode.com/2013/04/two-factor-authentication/#comments</comments>
		<pubDate>Wed, 17 Apr 2013 16:21:23 +0000</pubDate>
		<dc:creator>Justin</dc:creator>
				<category><![CDATA[Tech]]></category>
		<category><![CDATA[passwords]]></category>
		<category><![CDATA[security]]></category>
		<category><![CDATA[two-factor auth]]></category>

		<guid isPermaLink="false">http://wizardmode.com/?p=409</guid>
		<description><![CDATA[Security is hard. In fact, it&#8217;s pretty much impossible; it&#8217;s all a question of making your house look like it&#8217;s going to be more work to break in than there is gain to be had, and that going elsewhere will be easier. For the average house on the street, owned by the average joe, to&#8230;]]></description>
				<content:encoded><![CDATA[<p>Security is hard.  In fact, it&#8217;s pretty much impossible; it&#8217;s all a question of making your house look like it&#8217;s going to be more work to break in than there is gain to be had, and that going elsewhere will be easier.  For the average house on the street, owned by the average joe, to the average thief, that means having no obvious valuables visible from outside, having locks, windows in good repair, lit approaches, and generally not looking like the easiest pickings on the street.  If someone is targeting you specifically, it gets a lot harder; there isn&#8217;t an &#8216;elsewhere&#8217; for them to go, and the bar for deterrent is much, much higher.</p>
<p>It&#8217;s pretty much the same thing with server security.  Most attacks on servers are wide-cast nets, looking for obvious vulnerabilities and brute-forcing passwords; the people controlling these botnet-powered scans aren&#8217;t concerned about getting into <i>your</i> server, they just want to get into lots of servers.  Anyone who is being specifically targeted needs a high degree of security expertise and likely outside support to fend off attacks, but for the rest of us, best practices will generally keep things pretty safe: keeping software up to date, following best practices about firewalls, using a password manager, and turning on two-factor authentication everywhere it is possible to do.</p>
<p>Thankfully, that last point is getting easier.  The <a href="http://code.google.com/p/google-authenticator/">Google Authenticator</a> project provides client (iOS, Android, Blackberry) packages which work with more and more compliant systems &#8211; including Google, of course &#8211; and a server (Unix PAM) package to allow securing ssh (or sudo, or ssh only for users with sudo, or&#8230;) accounts with two-factor authentication.  There is a <a href="http://wordpress.org/extend/plugins/google-authenticator/">WordPress</a> plugin (thanks, <a href="http://alexking.org/blog/2013/04/17/scared-straight">Alex</a>) to require it on your blog, and Amazon&#8217;s AWS and Dropbox both implement it for account access.  </p>
<p>Start using two-factor authentication now, and encourage your favorite web services to implement it as well &#8211; it&#8217;s really, really easy to set up, and it is one of the most effective deterrent systems currently available for login security.</p>
]]></content:encoded>
			<wfw:commentRss>http://wizardmode.com/2013/04/two-factor-authentication/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Depression and Geeks</title>
		<link>http://scientopia.org/blogs/goodmath/2013/01/15/depression-and-geeks/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=depression-and-geeks</link>
		<comments>http://wizardmode.com/2013/01/depression-and-geeks/#comments</comments>
		<pubDate>Tue, 15 Jan 2013 18:56:48 +0000</pubDate>
		<dc:creator>Justin</dc:creator>
				<category><![CDATA[Life]]></category>
		<category><![CDATA[depression]]></category>
		<category><![CDATA[living well]]></category>

		<guid isPermaLink="false">http://wizardmode.com/?p=404</guid>
		<description><![CDATA[The delightful Good Math, Bad Math blog discusses the often-misunderstood nature of depression. The thing that you always need to remember about depression &#8211; and which Benjy mentions &#8211; is that depression is not something which you can reason with. Depression isn&#8217;t a feeling. It&#8217;s not a way of thinking, or a way of viewing&#8230;<p style="clear: both;"><a href="http://wizardmode.com/2013/01/depression-and-geeks/">#</a></p>]]></description>
				<content:encoded><![CDATA[<p>The delightful <a href="http://scientopia.org/blogs/goodmath/">Good Math, Bad Math</a> blog discusses the often-misunderstood nature of depression.</p>
<blockquote><p> The thing that you always need to remember about depression &#8211; and which Benjy mentions &#8211; is that depression is not something which you can reason with. Depression isn&#8217;t a feeling. It&#8217;s not a way of thinking, or a way of viewing the world. It&#8217;s not something that you can choose not to suffer from. It&#8217;s a part of how your brain works.</p>
<p>The thing that anyone who suffers from depression needs to know is that it&#8217;s a disease, and that it&#8217;s treatable. It doesn&#8217;t matter if your friends are nice to you. It doesn&#8217;t matter if you know that they love you. That kind of thinking &#8211; that kind of reasoning about depression &#8211; is part of the fundamental trap of depression.</p></blockquote>
<p>So true.  Also:</p>
<blockquote><p>When I started taking antidepressants, it was almost frightening, because it changed the world so much. Antidepressants didn&#8217;t make me happy. In fact, for a while, they made me very sad, because I was realizing how awful I&#8217;d been treating my wife and daughter. </p></blockquote>
<p>Antidepressants aren&#8217;t &#8220;happy pills&#8221; any more than tylenol are &#8220;pleasure pills&#8221;.  They (when they work properly) remove something that gets in the way of happiness &#8211; but that same thing is also in the way of curiosity, of contentment, of sadness &#8211; of feeling, and having those feelings be real and normal and work properly.</p>
<p>If you&#8217;re depressed, get treatment.  People don&#8217;t sit around and try to deal with a broken leg.  They shouldn&#8217;t sit around and try to deal with a broken brain either.</p>
<p style="clear: both;"><a href="http://wizardmode.com/2013/01/depression-and-geeks/">#</a></p>]]></content:encoded>
			<wfw:commentRss>http://wizardmode.com/2013/01/depression-and-geeks/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>New year, same delightful life</title>
		<link>http://wizardmode.com/2012/12/new-year-same-delightful-life/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=new-year-same-delightful-life</link>
		<comments>http://wizardmode.com/2012/12/new-year-same-delightful-life/#comments</comments>
		<pubDate>Tue, 01 Jan 2013 06:35:20 +0000</pubDate>
		<dc:creator>Justin</dc:creator>
				<category><![CDATA[Life]]></category>
		<category><![CDATA[living well]]></category>

		<guid isPermaLink="false">http://wizardmode.com/?p=400</guid>
		<description><![CDATA[Another year has turned past. I read an article recently exhorting people to learn to do something in the next year well enough to astonish other people. I thought about that for a long time, and I realize that we do, regularly. Sitting still (at least intellectually) does not sit well, so we find new&#8230;]]></description>
				<content:encoded><![CDATA[<p>Another year has turned past.</p>
<p>I read an article recently exhorting people to learn to do something in the next year well enough to astonish other people.  I thought about that for a long time, and I realize that we do, regularly.  Sitting still (at least intellectually) does not sit well, so we find new skills, work on them until we know them well enough to really make a judgement, and then stick with them or pass them by as we feel &#8211; but many of these skills are simply astonishing to other people, despite how simple they are in practice.</p>
<p>So&#8230;Rather than that, I&#8217;m going to try to learn how to do something well enough to astonish myself.  Don&#8217;t know what, yet.  Perhaps I&#8217;ll finally get around to learning to play the piano, though.</p>
<p>May your new year be filled with joy, faced with bravery, and seen with love.</p>
]]></content:encoded>
			<wfw:commentRss>http://wizardmode.com/2012/12/new-year-same-delightful-life/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>On Being a Senior Engineer</title>
		<link>http://www.kitchensoap.com/2012/10/25/on-being-a-senior-engineer/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=on-being-a-senior-engineer</link>
		<comments>http://wizardmode.com/2012/11/on-being-a-senior-engineer/#comments</comments>
		<pubDate>Mon, 05 Nov 2012 19:24:15 +0000</pubDate>
		<dc:creator>Justin</dc:creator>
				<category><![CDATA[Tech]]></category>

		<guid isPermaLink="false">http://wizardmode.com/?p=384</guid>
		<description><![CDATA[An excellent, insightful, and interesting read about, among other things, engineering maturity. The whole thing can be summed up with the quote at the end of the article: &#8220;It is amazing what you can accomplish if you do not care who gets credit.&#8221; but the article is full of a rich texture and depth of&#8230;<p style="clear: both;"><a href="http://wizardmode.com/2012/11/on-being-a-senior-engineer/">#</a></p>]]></description>
				<content:encoded><![CDATA[<p>An excellent, insightful, and interesting read about, among other things, engineering maturity.  The whole thing can be summed up with the quote at the end of the article:</p>
<blockquote><p>&#8220;It is amazing what you can accomplish if you do not care who gets credit.&#8221;</p></blockquote>
<p>but the article is full of a rich texture and depth of exploration of that simple phrase as applied to engineering.</p>
<p style="clear: both;"><a href="http://wizardmode.com/2012/11/on-being-a-senior-engineer/">#</a></p>]]></content:encoded>
			<wfw:commentRss>http://wizardmode.com/2012/11/on-being-a-senior-engineer/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>RVM: Installing Ruby 1.8.7 on Mountain Lion</title>
		<link>http://stackoverflow.com/questions/11664835/mountain-lion-rvm-install-1-8-7-x11-error?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=rvm-installing-ruby-1-8-7-on-mountain-lion</link>
		<comments>http://wizardmode.com/2012/08/rvm-installing-ruby-1-8-7-on-mountain-lion/#comments</comments>
		<pubDate>Thu, 30 Aug 2012 20:00:06 +0000</pubDate>
		<dc:creator>Justin</dc:creator>
				<category><![CDATA[Tech]]></category>
		<category><![CDATA[mountain lion]]></category>
		<category><![CDATA[os x]]></category>
		<category><![CDATA[ruby]]></category>

		<guid isPermaLink="false">http://wizardmode.com/?p=372</guid>
		<description><![CDATA[If you&#8217;re seeing errors related to Tcl/Tk when building Ruby 1.8.7 (say, with RVM) on Mountain Lion, it&#8217;s because X11 is no longer shipped with OS X. Now you have to install XQuartz instead; also install a non-clang gcc-4.2. Then:<p style="clear: both;"><a href="http://wizardmode.com/2012/08/rvm-installing-ruby-1-8-7-on-mountain-lion/">#</a></p>]]></description>
				<content:encoded><![CDATA[<p>If you&#8217;re seeing errors related to Tcl/Tk when building Ruby 1.8.7 (say, with RVM) on Mountain Lion, it&#8217;s because X11 is no longer shipped with OS X.  </p>
<p>Now you have to install <a href="http://xquartz.macosforge.org/landing/">XQuartz</a> instead; also <a href="http://wizardmode.com/2012/03/compiling-ruby-with-xcode-4-3/">install a non-clang gcc-4.2</a>.  Then:</p>
<pre class="brush: plain; title: ; notranslate">CC=/usr/local/bin/gcc-4.2 CPPFLAGS=-I/opt/X11/include rvm install 1.8.7</pre>
<p style="clear: both;"><a href="http://wizardmode.com/2012/08/rvm-installing-ruby-1-8-7-on-mountain-lion/">#</a></p>]]></content:encoded>
			<wfw:commentRss>http://wizardmode.com/2012/08/rvm-installing-ruby-1-8-7-on-mountain-lion/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>WordPress Incoming Links admin dashboard widget error</title>
		<link>http://thecustomizewindows.com/2012/04/wordpress-incoming-links-error-updated-fix-and-explanation/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=wordpress-incoming-links-admin-dashboard-widget-error</link>
		<comments>http://wizardmode.com/2012/08/wordpress-incoming-links-admin-dashboard-widget-error/#comments</comments>
		<pubDate>Thu, 02 Aug 2012 20:35:32 +0000</pubDate>
		<dc:creator>Justin</dc:creator>
				<category><![CDATA[Tech]]></category>
		<category><![CDATA[google]]></category>
		<category><![CDATA[wordpress]]></category>

		<guid isPermaLink="false">http://wizardmode.com/?p=368</guid>
		<description><![CDATA[Short answer: Google&#8217;s blogsearch now redirects, which breaks the WordPress widget. Change the URL it&#8217;s looking at to http://www.google.com/search?ie=utf-8&#038;partner=wordpress&#038;q=link:http://BLOG.EXAMPLE.COM/&#038;tbm=blg&#038;tbs=sbd:1&#038;output=rss and everything should work again.<p style="clear: both;"><a href="http://wizardmode.com/2012/08/wordpress-incoming-links-admin-dashboard-widget-error/">#</a></p>]]></description>
				<content:encoded><![CDATA[<p>Short answer: Google&#8217;s blogsearch now redirects, which breaks the WordPress widget.  Change the URL it&#8217;s looking at to <code>http://www.google.com/search?ie=utf-8&#038;partner=wordpress&#038;q=link:http://BLOG.EXAMPLE.COM/&#038;tbm=blg&#038;tbs=sbd:1&#038;output=rss</code> and everything should work again.</p>
<p style="clear: both;"><a href="http://wizardmode.com/2012/08/wordpress-incoming-links-admin-dashboard-widget-error/">#</a></p>]]></content:encoded>
			<wfw:commentRss>http://wizardmode.com/2012/08/wordpress-incoming-links-admin-dashboard-widget-error/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>New shell utilities in Mountain Lion</title>
		<link>http://apple.blogoverflow.com/2012/07/interesting-new-unix-commandsbinaries-in-os-x-mountain-lion/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=new-shell-utilities-in-mountain-lion</link>
		<comments>http://wizardmode.com/2012/07/new-shell-utilities-in-mountain-lion/#comments</comments>
		<pubDate>Wed, 01 Aug 2012 01:34:17 +0000</pubDate>
		<dc:creator>Justin</dc:creator>
				<category><![CDATA[Tech]]></category>
		<category><![CDATA[cli]]></category>
		<category><![CDATA[os x]]></category>
		<category><![CDATA[utilities]]></category>

		<guid isPermaLink="false">http://wizardmode.com/?p=364</guid>
		<description><![CDATA[Including the exceedingly helpful caffeinate, which provides a command-line interface to what I&#8217;ve been doing with Caffeine for ages &#8211; keep your mac from sleeping for a period of time, without entirely changing the sleep preferences. (By way of DF.)<p style="clear: both;"><a href="http://wizardmode.com/2012/07/new-shell-utilities-in-mountain-lion/">#</a></p>]]></description>
				<content:encoded><![CDATA[<p>Including the exceedingly helpful <code>caffeinate</code>, which provides a command-line interface to what I&#8217;ve been doing with <a href="http://www.lightheadsw.com/caffeine/">Caffeine</a> for ages &#8211; keep your mac from sleeping for a period of time, without entirely changing the sleep preferences.  (By way of <a href="http://daringfireball.net/linked/2012/07/31/cli">DF</a>.)</p>
<p style="clear: both;"><a href="http://wizardmode.com/2012/07/new-shell-utilities-in-mountain-lion/">#</a></p>]]></content:encoded>
			<wfw:commentRss>http://wizardmode.com/2012/07/new-shell-utilities-in-mountain-lion/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Mountain Lion and homebrew vim: &#8220;ImportError: No module named site&#8221;</title>
		<link>http://wizardmode.com/2012/07/mountain-lion-and-homebrew-vim-importerror-no-module-named-site/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=mountain-lion-and-homebrew-vim-importerror-no-module-named-site</link>
		<comments>http://wizardmode.com/2012/07/mountain-lion-and-homebrew-vim-importerror-no-module-named-site/#comments</comments>
		<pubDate>Fri, 27 Jul 2012 19:16:09 +0000</pubDate>
		<dc:creator>Justin</dc:creator>
				<category><![CDATA[Tech]]></category>
		<category><![CDATA[homebrew]]></category>
		<category><![CDATA[mountain lion]]></category>
		<category><![CDATA[vim]]></category>

		<guid isPermaLink="false">http://wizardmode.com/?p=361</guid>
		<description><![CDATA[If you use homebrew&#8217;s macvim recipe, Mountain Lion, and any of the vim plugins that use the python support (such as the excellent Gundo, which provides a handy navigable graph of your vim undo history for a buffer), you should remove and reinstall macvim: The upgrade to Mountain Lion changed the system Python environment sufficiently&#8230;]]></description>
				<content:encoded><![CDATA[<p>If you use homebrew&#8217;s macvim recipe, Mountain Lion, and any of the vim plugins that use the python support (such as the excellent <a href="http://sjl.bitbucket.org/gundo.vim/">Gundo</a>, which provides a handy navigable graph of your vim undo history for a buffer), you should remove and reinstall macvim:</p>
<pre class="brush: plain; title: ; notranslate">brew rm macvim
brew install macvim</pre>
<p>The upgrade to Mountain Lion changed the system Python environment sufficiently to cause vim to crash (with an unhelpful &#8220;ImportError: No module named site&#8221; message to stderr) if you try to execute python, for instance by triggering Gundo.</p>
<p>(This may also affect things that use Ruby bindings, such as the <a href="https://wincent.com/products/command-t">Command-T</a> fuzzy-file-finder plugin.  I ran into the Python issue first, and after reinstalling macvim, Command-T works fine.)</p>
<p>Edit: As observed below, if you have a homebrew version of python installed, you may need to unlink it while rebuilding macvim.</p>
]]></content:encoded>
			<wfw:commentRss>http://wizardmode.com/2012/07/mountain-lion-and-homebrew-vim-importerror-no-module-named-site/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
	</channel>
</rss>
