<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Solutions on flow</title><link>https://eric.harris-braun.com/blog/categories/solutions/</link><description>Recent content in Solutions on flow</description><generator>Hugo</generator><language>en-US</language><lastBuildDate>Fri, 16 Sep 2011 00:00:00 +0000</lastBuildDate><atom:link href="https://eric.harris-braun.com/blog/categories/solutions/index.xml" rel="self" type="application/rss+xml"/><item><title>clojurescript syntax hilighting in emacs</title><link>https://eric.harris-braun.com/blog/2011/09/16/clojurescript-syntax-hilighting-in-emacs/</link><pubDate>Fri, 16 Sep 2011 00:00:00 +0000</pubDate><guid>https://eric.harris-braun.com/blog/2011/09/16/clojurescript-syntax-hilighting-in-emacs/</guid><description>&lt;p>To get emacs to syntax color clojurescript files (cljs) add this to your .emacs (or other emacs config file):&lt;/p>



&lt;div class="goat svg-container ">
 
 &lt;svg
 xmlns="http://www.w3.org/2000/svg"
 font-family="Menlo,Lucida Console,monospace"
 
 viewBox="0 0 592 25"
 >
 &lt;g transform='translate(8,16)'>
&lt;text text-anchor='middle' x='8' y='4' fill='currentColor' style='font-size:1em'>(&lt;/text>
&lt;text text-anchor='middle' x='16' y='4' fill='currentColor' style='font-size:1em'>s&lt;/text>
&lt;text text-anchor='middle' x='24' y='4' fill='currentColor' style='font-size:1em'>e&lt;/text>
&lt;text text-anchor='middle' x='32' y='4' fill='currentColor' style='font-size:1em'>t&lt;/text>
&lt;text text-anchor='middle' x='40' y='4' fill='currentColor' style='font-size:1em'>q&lt;/text>
&lt;text text-anchor='middle' x='56' y='4' fill='currentColor' style='font-size:1em'>a&lt;/text>
&lt;text text-anchor='middle' x='64' y='4' fill='currentColor' style='font-size:1em'>u&lt;/text>
&lt;text text-anchor='middle' x='72' y='4' fill='currentColor' style='font-size:1em'>t&lt;/text>
&lt;text text-anchor='middle' x='80' y='4' fill='currentColor' style='font-size:1em'>o&lt;/text>
&lt;text text-anchor='middle' x='88' y='4' fill='currentColor' style='font-size:1em'>-&lt;/text>
&lt;text text-anchor='middle' x='96' y='4' fill='currentColor' style='font-size:1em'>m&lt;/text>
&lt;text text-anchor='middle' x='104' y='4' fill='currentColor' style='font-size:1em'>o&lt;/text>
&lt;text text-anchor='middle' x='112' y='4' fill='currentColor' style='font-size:1em'>d&lt;/text>
&lt;text text-anchor='middle' x='120' y='4' fill='currentColor' style='font-size:1em'>e&lt;/text>
&lt;text text-anchor='middle' x='128' y='4' fill='currentColor' style='font-size:1em'>-&lt;/text>
&lt;text text-anchor='middle' x='136' y='4' fill='currentColor' style='font-size:1em'>a&lt;/text>
&lt;text text-anchor='middle' x='144' y='4' fill='currentColor' style='font-size:1em'>l&lt;/text>
&lt;text text-anchor='middle' x='152' y='4' fill='currentColor' style='font-size:1em'>i&lt;/text>
&lt;text text-anchor='middle' x='160' y='4' fill='currentColor' style='font-size:1em'>s&lt;/text>
&lt;text text-anchor='middle' x='168' y='4' fill='currentColor' style='font-size:1em'>t&lt;/text>
&lt;text text-anchor='middle' x='184' y='4' fill='currentColor' style='font-size:1em'>(&lt;/text>
&lt;text text-anchor='middle' x='192' y='4' fill='currentColor' style='font-size:1em'>c&lt;/text>
&lt;text text-anchor='middle' x='200' y='4' fill='currentColor' style='font-size:1em'>o&lt;/text>
&lt;text text-anchor='middle' x='208' y='4' fill='currentColor' style='font-size:1em'>n&lt;/text>
&lt;text text-anchor='middle' x='216' y='4' fill='currentColor' style='font-size:1em'>s&lt;/text>
&lt;text text-anchor='middle' x='240' y='4' fill='currentColor' style='font-size:1em'>(&lt;/text>
&lt;text text-anchor='middle' x='248' y='4' fill='currentColor' style='font-size:1em'>"&lt;/text>
&lt;text text-anchor='middle' x='256' y='4' fill='currentColor' style='font-size:1em'>\&lt;/text>
&lt;text text-anchor='middle' x='264' y='4' fill='currentColor' style='font-size:1em'>.&lt;/text>
&lt;text text-anchor='middle' x='272' y='4' fill='currentColor' style='font-size:1em'>c&lt;/text>
&lt;text text-anchor='middle' x='280' y='4' fill='currentColor' style='font-size:1em'>l&lt;/text>
&lt;text text-anchor='middle' x='288' y='4' fill='currentColor' style='font-size:1em'>j&lt;/text>
&lt;text text-anchor='middle' x='296' y='4' fill='currentColor' style='font-size:1em'>s&lt;/text>
&lt;text text-anchor='middle' x='304' y='4' fill='currentColor' style='font-size:1em'>"&lt;/text>
&lt;text text-anchor='middle' x='320' y='4' fill='currentColor' style='font-size:1em'>.&lt;/text>
&lt;text text-anchor='middle' x='336' y='4' fill='currentColor' style='font-size:1em'>c&lt;/text>
&lt;text text-anchor='middle' x='344' y='4' fill='currentColor' style='font-size:1em'>l&lt;/text>
&lt;text text-anchor='middle' x='352' y='4' fill='currentColor' style='font-size:1em'>o&lt;/text>
&lt;text text-anchor='middle' x='360' y='4' fill='currentColor' style='font-size:1em'>j&lt;/text>
&lt;text text-anchor='middle' x='368' y='4' fill='currentColor' style='font-size:1em'>u&lt;/text>
&lt;text text-anchor='middle' x='376' y='4' fill='currentColor' style='font-size:1em'>r&lt;/text>
&lt;text text-anchor='middle' x='384' y='4' fill='currentColor' style='font-size:1em'>e&lt;/text>
&lt;text text-anchor='middle' x='392' y='4' fill='currentColor' style='font-size:1em'>-&lt;/text>
&lt;text text-anchor='middle' x='400' y='4' fill='currentColor' style='font-size:1em'>m&lt;/text>
&lt;text text-anchor='middle' x='408' y='4' fill='currentColor' style='font-size:1em'>o&lt;/text>
&lt;text text-anchor='middle' x='416' y='4' fill='currentColor' style='font-size:1em'>d&lt;/text>
&lt;text text-anchor='middle' x='424' y='4' fill='currentColor' style='font-size:1em'>e&lt;/text>
&lt;text text-anchor='middle' x='432' y='4' fill='currentColor' style='font-size:1em'>)&lt;/text>
&lt;text text-anchor='middle' x='448' y='4' fill='currentColor' style='font-size:1em'>a&lt;/text>
&lt;text text-anchor='middle' x='456' y='4' fill='currentColor' style='font-size:1em'>u&lt;/text>
&lt;text text-anchor='middle' x='464' y='4' fill='currentColor' style='font-size:1em'>t&lt;/text>
&lt;text text-anchor='middle' x='472' y='4' fill='currentColor' style='font-size:1em'>o&lt;/text>
&lt;text text-anchor='middle' x='480' y='4' fill='currentColor' style='font-size:1em'>-&lt;/text>
&lt;text text-anchor='middle' x='488' y='4' fill='currentColor' style='font-size:1em'>m&lt;/text>
&lt;text text-anchor='middle' x='496' y='4' fill='currentColor' style='font-size:1em'>o&lt;/text>
&lt;text text-anchor='middle' x='504' y='4' fill='currentColor' style='font-size:1em'>d&lt;/text>
&lt;text text-anchor='middle' x='512' y='4' fill='currentColor' style='font-size:1em'>e&lt;/text>
&lt;text text-anchor='middle' x='520' y='4' fill='currentColor' style='font-size:1em'>-&lt;/text>
&lt;text text-anchor='middle' x='528' y='4' fill='currentColor' style='font-size:1em'>a&lt;/text>
&lt;text text-anchor='middle' x='536' y='4' fill='currentColor' style='font-size:1em'>l&lt;/text>
&lt;text text-anchor='middle' x='544' y='4' fill='currentColor' style='font-size:1em'>i&lt;/text>
&lt;text text-anchor='middle' x='552' y='4' fill='currentColor' style='font-size:1em'>s&lt;/text>
&lt;text text-anchor='middle' x='560' y='4' fill='currentColor' style='font-size:1em'>t&lt;/text>
&lt;text text-anchor='middle' x='568' y='4' fill='currentColor' style='font-size:1em'>)&lt;/text>
&lt;text text-anchor='middle' x='576' y='4' fill='currentColor' style='font-size:1em'>)&lt;/text>
&lt;/g>

 &lt;/svg>
 
&lt;/div></description></item><item><title>gendocs</title><link>https://eric.harris-braun.com/blog/2011/09/15/gendocs/</link><pubDate>Thu, 15 Sep 2011 00:00:00 +0000</pubDate><guid>https://eric.harris-braun.com/blog/2011/09/15/gendocs/</guid><description>&lt;p>&lt;a href="http://tomfaulhaber.github.com/autodoc/" target="_blank" rel="noreferrer">Autodoc&lt;/a> is a great tool for automatic documentation generation for your clojure code (the clojure api itself uses it).&lt;/p>
&lt;p>If you are using github-pages to publish the docs, here&amp;rsquo;s a simple little gendocs sh script to dump into your bin folder to do all the work in one go:&lt;/p></description></item><item><title>Upgrading postgres on Snow Leopard (Mac OS X 10.6)</title><link>https://eric.harris-braun.com/blog/2009/11/10/upgrading-postgres-to-snow-leopard/</link><pubDate>Tue, 10 Nov 2009 00:00:00 +0000</pubDate><guid>https://eric.harris-braun.com/blog/2009/11/10/upgrading-postgres-to-snow-leopard/</guid><description>&lt;p>Well, I too have gone down the rabbit hole of having to upgrade compiled-from-source apps to 64bit architecture after moving to Snow Leopard.  The hardest by far was postgres.  The sad thing is that 32bit version works just fine, but the adapter gems for rails don&amp;rsquo;t, hence the need for the recompile.&lt;/p></description></item><item><title>wordpress update time &amp; syntax coloring</title><link>https://eric.harris-braun.com/blog/2009/08/20/wordpress-update-time/</link><pubDate>Thu, 20 Aug 2009 00:00:00 +0000</pubDate><guid>https://eric.harris-braun.com/blog/2009/08/20/wordpress-update-time/</guid><description>&lt;p>So I&amp;rsquo;ve just spent a couple hours updating wordpress to 2.8.4 (it&amp;rsquo;s been a long time since I&amp;rsquo;ve done an upgrade) and I&amp;rsquo;m trying to pick from the myriad syntax coloring plugins.  I tried using &lt;a href="http://wordpress.org/extend/plugins/syntaxhighlighter-plus" target="_blank" rel="noreferrer">SyntaxHighlighter Plus&lt;/a> which has nicer configuration options. But it doesn&amp;rsquo;t look as good as &lt;a href="http://wordpress.org/extend/plugins/wp-syntax/" target="_blank" rel="noreferrer">wp-syntax&lt;/a>&lt;/p></description></item><item><title>MacBook Pro trackpad clicking intermittently broken</title><link>https://eric.harris-braun.com/blog/2008/10/30/macbook-pro-trackpad-clicking-intermittently-broken/</link><pubDate>Thu, 30 Oct 2008 00:00:00 +0000</pubDate><guid>https://eric.harris-braun.com/blog/2008/10/30/macbook-pro-trackpad-clicking-intermittently-broken/</guid><description>&lt;p>So when I got my new MacBook Pro (late 2008 edition) with the fancy new trackpad that is an integrated mouse button, it had an incredibly annoying problem:  every 4th or 5th click, didn&amp;rsquo;t click!  So I&amp;rsquo;d be clicking on a window behind the current one, or clicking on an icon in the dock, and it would sometimes take two or three clicks to switch to the window or app.  After checking in with Apple (and unfortunately 2 hours on the phone walking through all sorts of different options), they ended up sending me out a new MacBook Pro.  The new one arrived yesterday and after a fairly straightforward migration (only the printer driver for my Canon MX850 didn&amp;rsquo;t automatically migrate), I now have laptop with a properly clicking trackpad.So, if you have this problem, you at least have my experience telling that it&amp;rsquo;s a hardware not a software problem.&lt;/p></description></item><item><title>git me some solutions</title><link>https://eric.harris-braun.com/blog/2008/04/17/git-me-some-solutions/</link><pubDate>Thu, 17 Apr 2008 00:00:00 +0000</pubDate><guid>https://eric.harris-braun.com/blog/2008/04/17/git-me-some-solutions/</guid><description>&lt;p>Well, git definitely takes some gitting used to.&lt;/p>
&lt;p>My situation is using git with three team members and a private shared repository that we all pull from and push too.  Additionally our project has a submodule that lives on a public git-hub repository (metaform).&lt;/p></description></item><item><title>ubuntu gutsy on a xen virtual host</title><link>https://eric.harris-braun.com/blog/2008/02/04/ubuntu-gutsy-on-a-xen-virtual-host/</link><pubDate>Mon, 04 Feb 2008 00:00:00 +0000</pubDate><guid>https://eric.harris-braun.com/blog/2008/02/04/ubuntu-gutsy-on-a-xen-virtual-host/</guid><description>&lt;p>Hey googlers looking for tech-support:&lt;/p>
&lt;p>I was trying to install various packages (emacs, etc) from universe on Ubuntu Gutsy (7.10), and I kept getting weird segmentation faults (&lt;code>Setting up emacsen-common (1.4.17) Segmentation fault&lt;/code>). Turns out that the problem was that my server was being hosted on a VPS running XEN for virtualization, and you have to first install libc6-xen: &lt;code>apt-get install libc6-xen&lt;/code>&lt;/p></description></item><item><title>rails capistrano deploy script OS X to Ubuntu</title><link>https://eric.harris-braun.com/blog/2007/04/19/rails-capistrano-deploy-script-os-x-to-ubuntu/</link><pubDate>Thu, 19 Apr 2007 00:00:00 +0000</pubDate><guid>https://eric.harris-braun.com/blog/2007/04/19/rails-capistrano-deploy-script-os-x-to-ubuntu/</guid><description>&lt;p>Ok, so in a previous post I described the rabit-hole which is switching to rails. Below&amp;rsquo;s my capistrano deploy script which solves a number of problems:&lt;/p>
&lt;ol>
&lt;li>The production server needs a mongrel cluster configuration file added.&lt;/li>
&lt;li>Deployment requires restarting the mongrel cluster.&lt;/li>
&lt;li>On Ubuntu the database.yaml spec has to be modified to because you need to specify a mysql socket path differently from OS X.&lt;/li>
&lt;/ol>
&lt;p>So here&amp;rsquo;s what I added to make it work:&lt;/p></description></item><item><title>A "list items won't wrap" Firefox css fix!</title><link>https://eric.harris-braun.com/blog/2007/04/15/a-list-items-wont-wrap-firefox-css-fix/</link><pubDate>Sun, 15 Apr 2007 00:00:00 +0000</pubDate><guid>https://eric.harris-braun.com/blog/2007/04/15/a-list-items-wont-wrap-firefox-css-fix/</guid><description>&lt;p>The last few days working on the &lt;a href="http://openmoney.info" target="_blank" rel="noreferrer">openmoney.info&lt;/a> website, I&amp;rsquo;ve had a major hassle dealing with what appears to be a bug in the html renderer in Firefox.&lt;/p>
&lt;p>The issue is that in Firefox, text in a list item won&amp;rsquo;t wrap around a right floated image; like this:&lt;/p></description></item><item><title>down the rails rabbit hole</title><link>https://eric.harris-braun.com/blog/2007/04/13/down-the-rails-rabbit-hole/</link><pubDate>Fri, 13 Apr 2007 00:00:00 +0000</pubDate><guid>https://eric.harris-braun.com/blog/2007/04/13/down-the-rails-rabbit-hole/</guid><description>&lt;p>The last month has been quite a trip down the rabbit hole into the new reality of &lt;a href="http://www.rubyonrails.org/" title="rabbit hole!" target="_blank" rel="noreferrer">ruby on rails&lt;/a>! The promise of a powerful and well designed web application framework was just too much for me to resist, so I decided to leave my own &lt;a href="http://yawaf.org" target="_blank" rel="noreferrer">yawaf&lt;/a> framework behind (though it has certainly served me well).&lt;/p></description></item><item><title>Solved: usb audio headphones muted when pugged in</title><link>https://eric.harris-braun.com/blog/2006/12/06/solved-usb-audio-headphones-muted-when-pugged-in/</link><pubDate>Wed, 06 Dec 2006 00:00:00 +0000</pubDate><guid>https://eric.harris-braun.com/blog/2006/12/06/solved-usb-audio-headphones-muted-when-pugged-in/</guid><description>&lt;p>Don&amp;rsquo;t you hate it in the computer field where something that was working fine for ages suddenly stops working? So this is what happened to me this time:&lt;/p>
&lt;p>All of a sudden, when I plugged in my nice new Sennheiser USB headphones (PC165 USB) I couldn&amp;rsquo;t hear the sound. To get the sound to play, I&amp;rsquo;d have to go to the Audio MIDI Setup utility and toggle the mute button in the audio output settings. It had been working fine for a month, just plug it in and any audio output would just switch over from the speaker to th headphones. So I called AppleCare tech support who said this was a Sennheiser problem, and I sent e-mail to Sennheiser who of course pointed back at Apple.&lt;/p></description></item><item><title>tcsh: command not found</title><link>https://eric.harris-braun.com/blog/2006/05/02/tcsh-command-not-found/</link><pubDate>Tue, 02 May 2006 00:00:00 +0000</pubDate><guid>https://eric.harris-braun.com/blog/2006/05/02/tcsh-command-not-found/</guid><description>&lt;p>Have you ever gotten the &lt;code>tcsh: Command not found.&lt;/code> error after installing some code? Well it happened to me today, and I couldn&amp;rsquo;t figure out what the problem was. I had already added the commands directory into my PATH, and set it to executable with &lt;code>chmod 755&lt;/code>, but still the error kept coming up. The answer turned out to be that the command file (a shell script) that I had download had DOS line endings. Which, I quicly fixed using my trusty &lt;a href="http://barebones.com/products/bbedit/index.shtml" target="_blank" rel="noreferrer">bbedit&lt;/a> and bingo it worked fine.&lt;/p></description></item><item><title>Gnucash &amp; Tiger</title><link>https://eric.harris-braun.com/blog/2006/03/23/gnucash-tiger/</link><pubDate>Thu, 23 Mar 2006 00:00:00 +0000</pubDate><guid>https://eric.harris-braun.com/blog/2006/03/23/gnucash-tiger/</guid><description>&lt;p>Another installment in the collective tech-support arena: &lt;a href="http://www.gnucash.org/" target="_blank" rel="noreferrer">Gnucash&lt;/a> wasn&amp;rsquo;t working under OS X Tiger (10.4.5); whenever I tried to run a report I kept getting the following cryptic error message in my terminal: &lt;code>dyld: Symbol not found: _program_invocation_short_name Referenced from: /sw/lib/libgnome.32.dylib Expected in: flat namespace&lt;/code> A google search didn&amp;rsquo;t reveal anything with those error messages as keywords, so it was up to me to find the answer. Fourtunately my first stab in the dark worked! I did a &lt;code>fink selfupdate&lt;/code> and then &lt;code>fink update-all&lt;/code> (I&amp;rsquo;m using &lt;a href="http://finkcommander.sourceforge.net/" target="_blank" rel="noreferrer">FinkCommander&lt;/a> so I did those fink commands from the &lt;strong>Source&lt;/strong> menu). I&amp;rsquo;m guessing that when I reinstalled gnucash after updating to Tiger, there were still some bugs in several of the libraries that were fixed by the fink update. Be forewarned that this take a loooong time to complete (overnight for me on my G4 powerbook). [tags]gnucash,fink,FinkCommander[/tags]&lt;/p></description></item><item><title>blogging and tech support</title><link>https://eric.harris-braun.com/blog/2006/01/24/blogging-and-tech-support/</link><pubDate>Tue, 24 Jan 2006 00:00:00 +0000</pubDate><guid>https://eric.harris-braun.com/blog/2006/01/24/blogging-and-tech-support/</guid><description>&lt;p>I&amp;rsquo;ve found that numerous times when I type into google a technical question, be it an error message that I&amp;rsquo;m seeing when installing some software package or some feature about a programming language, that where I often end up is in some person&amp;rsquo;s blog where they describe how they coped with exactly the same problem. This phenomenon seems to me a generalized solution to tech support, and also a wonderfully comunal and &lt;a href="http://www.thetransitioner.org/wiki/tiki-index.php?page=Gift&amp;#43;Economy" target="_blank" rel="noreferrer">gift economy&lt;/a> approach to problem solving. So I&amp;rsquo;ve decided to play the game too by creating a category for this blog called solutions, and, as often as I can, post my minor little breakthroughs in hopes that they will be helpful to someone else. And here&amp;rsquo;s my first:&lt;/p></description></item></channel></rss>