<?xml version="1.0" encoding="UTF-8"?>
<!--Generated by Squarespace Site Server v5.11.5 (http://www.squarespace.com/) on Fri, 30 Jul 2010 10:32:13 GMT--><rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:itunes="http://www.itunes.com/dtds/podcast-1.0.dtd" xmlns:dc="http://purl.org/dc/elements/1.1/" version="2.0"><channel><title>Tech Notes</title><link>http://mattmillr.com/tech/</link><description></description><lastBuildDate>Fri, 05 Mar 2010 00:15:48 +0000</lastBuildDate><copyright></copyright><language>en-US</language><generator>Squarespace Site Server v5.11.5 (http://www.squarespace.com/)</generator><item><title>Mac Apps</title><dc:creator>Matt Miller</dc:creator><pubDate>Thu, 04 Mar 2010 23:30:21 +0000</pubDate><link>http://mattmillr.com/tech/2010/3/4/mac-apps.html</link><guid isPermaLink="false">323023:5565700:6909744</guid><description><![CDATA[<p>I'm "moving out" of my Macs -- both the Mac Pro and the MacBook Pro -- at work, and I wanted to make notes about the software I have installed so when I get a new laptop (as soon as the MacBook Pros get refreshed...)</p>

<p>So here it is... a near-comprehensive listing of all the apps and tools I can't live without on my Mac. </p>

<ul>
<li><a href="http://www.arduino.cc/">Arduino IDE</a></li>
<li><a href="http://www.panic.com/coda/">Coda</a></li>
<li><a href="http://www.djangoproject.com/">Django</a></li>
<li><a href="http://bitbucket.org/bkerr/django-textmate-bundles/wiki/Home">Django Textmate Bundle</a> -- not the official one</li>
<li><a href="https://www.dropbox.com/home">Dropbox</a> is indispensable!</li>
<li><a href="http://www.evernote.com/">Evernote</a></li>
<li><a href="http://www.expandrive.com/mac">ExpanDrive</a></li>
<li><a href="http://famfamfam.com/lab/icons/">FamFamFam Icons</a></li>
<li><a href="http://getfirefox.com">Firefox</a></li>
<li><a href="http://www.google.com/chrome">Google Chrome</a></li>
<li><a href="http://earth.google.com/">Google Earth</a></li>
<li><a href="http://code.google.com/p/qsb-mac/">Google Quick Search Box</a></li>
<li><a href="http://growl.info/">Growl</a></li>
<li><a href="http://developer.apple.com/iphone/">iPhone SDK</a></li>
<li><a href="http://www.islayer.com/apps/istatmenus/">iStat Menus</a></li>
<li><a href="http://www.macports.org/">MacPorts</a></li>
<li><a href="http://monodevelop.com/">MonoDevelop</a></li>
<li><a href="http://www.mysql.com/">MySQL</a></li>
<li><a href="http://openscad.org/">OpenSCAD</a></li>
<li><a href="http://www.pandora.com/">Pandora Desktop</a></li>
<li><a href="http://www.navicat.com/">Navicat</a></li>
<li><a href="http://www.newsgator.com/INDIVIDUALS/NETNEWSWIRE/">NetNewsWire</a></li>
<li><a href="http://www.neooffice.org/neojava/en/index.php">NeoOffice</a></li>
<li><a href="http://qt.nokia.com/downloads">Qt SDK</a></li>
<li><a href="http://skitch.com/">Skitch</a></li>
<li><a href="http://www.skype.com/">Skype</a></li>
<li><a href="http://macromates.com/">TextMate</a></li>
<li><a href="http://www.panic.com/transmit/">Transmit</a> (though I just bought <a href="http://extendmac.com/flow/">Flow</a> through <a href="http://www.macheist.com/">MacHeist</a> and am looking forward to trying it out.)</li>
<li><a href="http://www.twhirl.org/">Twhirl</a></li>
<li><a href="http://www.videolan.org/">VideoLan - VLC media player</a></li>
<li><a href="http://www.virtualbox.org/">VirtualBox</a></li>
<li><a href="http://www.xmarks.com/">Xmarks</a></li>
</ul>
]]></description><wfw:commentRss>http://mattmillr.com/tech/rss-comments-entry-6909744.xml</wfw:commentRss></item><item><title>File Downloads with Django</title><dc:creator>Matt Miller</dc:creator><pubDate>Mon, 15 Feb 2010 21:26:43 +0000</pubDate><link>http://mattmillr.com/tech/2010/2/15/file-downloads-with-django.html</link><guid isPermaLink="false">323023:5565700:6702197</guid><description><![CDATA[<p>We recently added some reporting functions to an internal tool, including an export-to-excel feature powered by <a href="http://pypi.python.org/pypi/xlwt">xlwt</a>.</p>

<p>The report generator wrote the reports to a temporary folder, then we used something like the following in a view to download the file:</p>

<pre><code>filedata = open(settings.TEMP_FOLDER_LOCATION + '/' + filename,'r').read()
response = HttpResponse(filedata, mimetype='application/ms-excel')
</code></pre>

<p>That worked. Sortof. On some browsers the file was saved without the .xls extension. A <a href="http://support.microsoft.com/kb/260519">little</a> <a href="http://www.jtricks.com/bits/content_disposition.html">research</a> turned up the <a href="http://www.ietf.org/rfc/rfc2183.txt">Content-disposition header</a>.</p>

<p>Now, all I had to to was add that header to the Django response. Turns out, that's pretty easy. The Django HttpResponse object accepts headers as if it were a dictionary. I broker the above code out into a method I could reuse, and ended up with this:</p>

<pre><code>def tmp_file_response(filename):
    filedata = open(settings.TEMP_FOLDER_LOCATION + '/' + filename,'r').read()
    response = HttpResponse(filedata, mimetype='application/ms-excel')
    response['Content-disposition'] = 'attachment; filename=' + filename
    return response
</code></pre>

<p>Which does exactly what I wanted.</p>
]]></description><wfw:commentRss>http://mattmillr.com/tech/rss-comments-entry-6702197.xml</wfw:commentRss></item><item><title>Scratching an Itch</title><category>rumorscorecard</category><dc:creator>Matt Miller</dc:creator><pubDate>Sun, 17 Jan 2010 03:03:04 +0000</pubDate><link>http://mattmillr.com/tech/2010/1/16/scratching-an-itch.html</link><guid isPermaLink="false">323023:5565700:6348686</guid><description><![CDATA[<p>Unless you've been under rock the last few months (or you just don't read technology blogs like I do...) you're probably aware that Apple is anticipated to make a big announcement later this month. If the rumors are right, they're going to release the long-awaited Tablet.</p>

<p>As I've read the coverage -- the rumors, the predictions, the "leaks," the often wild speculation -- I've wondered if anyone is keeping track. Which bloggers have a track record of publishing accurate predictions and which are just blowing smoke.</p>

<p>In order to scratch that itch, I've been working on a database and a website, <a href="http://rumorscorecard.com" title="Rumor Scorecard">http://RumorScorecard.com</a>. The idea is, in the weeks running up to an anticipated big announcement, I'll keep track of who's publishing what predictions. Then when (if?!) the big day comes, I'll tally the scores and see which sources knew what they were talking about.</p>

<p>I'm just getting started, but I'm planning to put a few hours in every night over the next week so that the site is ready to go for the potential Apple event the 26th or 27th.</p>

<p>Check out <a href="http://rumorscorecard.com" title="Rumor Scorecard">Rumor Scorecard</a> and give me your feedback!</p>

<p><strong>Update: Feb 4, 2010</strong></p>

<p>I didn't make it very far on the rumor site, mostly because the week after I wrote that the organization I work shifted our Haiti response operation into full gear. I'll keep the site around though, and very possibly put it into action when the rumors start flying about the next big thing.</p>
]]></description><wfw:commentRss>http://mattmillr.com/tech/rss-comments-entry-6348686.xml</wfw:commentRss></item><item><title>The Unexpected</title><category>Lessons Learned</category><dc:creator>Matt Miller</dc:creator><pubDate>Tue, 28 Apr 2009 21:32:44 +0000</pubDate><link>http://mattmillr.com/tech/2009/4/28/the-unexpected.html</link><guid isPermaLink="false">323023:5565700:6249499</guid><description><![CDATA[<p></p>
]]></description><wfw:commentRss>http://mattmillr.com/tech/rss-comments-entry-6249499.xml</wfw:commentRss></item><item><title>Grading VoIP Call Quality</title><category>VoIP</category><dc:creator>Matt Miller</dc:creator><pubDate>Tue, 14 Apr 2009 16:58:17 +0000</pubDate><link>http://mattmillr.com/tech/2009/4/14/grading-voip-call-quality.html</link><guid isPermaLink="false">323023:5565700:6249504</guid><description><![CDATA[<p></p>
]]></description><wfw:commentRss>http://mattmillr.com/tech/rss-comments-entry-6249504.xml</wfw:commentRss></item><item><title>Recursive wget for FTPing a directory structure</title><category>Quick Tip</category><dc:creator>Matt Miller</dc:creator><pubDate>Mon, 13 Apr 2009 23:54:58 +0000</pubDate><link>http://mattmillr.com/tech/2009/4/13/recursive-wget-for-ftping-a-directory-structure.html</link><guid isPermaLink="false">323023:5565700:6249505</guid><description><![CDATA[<p></p>
]]></description><wfw:commentRss>http://mattmillr.com/tech/rss-comments-entry-6249505.xml</wfw:commentRss></item></channel></rss>