<?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>Sealed Abstract &#187; Lifehacking</title>
	<atom:link href="http://sealedabstract.com/feed/?cat=3" rel="self" type="application/rss+xml" />
	<link>http://sealedabstract.com</link>
	<description>sealed abstract class drew {}</description>
	<lastBuildDate>Wed, 25 Aug 2010 16:45:42 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
		<item>
		<title>Phonepipe now open source</title>
		<link>http://sealedabstract.com/lifehacking/phonepipe-now-open-source/</link>
		<comments>http://sealedabstract.com/lifehacking/phonepipe-now-open-source/#comments</comments>
		<pubDate>Mon, 03 May 2010 17:53:05 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Code]]></category>
		<category><![CDATA[Lifehacking]]></category>
		<category><![CDATA[notifo]]></category>

		<guid isPermaLink="false">http://sealedabstract.com/?p=586</guid>
		<description><![CDATA[Phonepipe was one of my random app ideas that really never got the love and attention it deserved. I wrote it in a weekend, and then Monday happened and real work happened and it ended up on the shelf. There never was a terribly big market for it, and it would be too much work ]]></description>
			<content:encoded><![CDATA[<div>
<div>
<p>Phonepipe was one of my random app ideas that really never got  the love and attention it deserved.  I wrote it in a weekend, and then  Monday happened and real work happened and it ended up on the shelf.   There never was a terribly big market for it, and it would be too much  work for people to run their own server stack just to get one-off  notifications when the compile was done.</p>
<p>Well today I’m finally releasing it.  Notifo <a onclick="javascript:pageTracker._trackPageview('/outgoing/blog.notifo.com/send-notifications-with-your-user-account');" href="http://blog.notifo.com/send-notifications-with-your-user-account">published  a new API</a> allowing you to send notifications to yourself.  In the  space of about an hour, I copy-pasta-ed some old phonepipe code to  target the new API.</p>
<p>Phonepipe has changed the way I work.  I’m much more apt to go take a  walk or get involved in a conversation with someone knowing that I’ll  be pinged as soon as the download’s done and it won’t cost me any  precious work time.  I’ve found myself outside more, more social, and  overall more productive.  Not bad for a crappy little python script.</p>
<p>Go play with <a onclick="javascript:pageTracker._trackPageview('/outgoing/github.com/drewcrawford/Phone-Pipe');" href="http://github.com/drewcrawford/Phone-Pipe">phonepipe</a>.   Patches and feedback welcome.</p>
</div>
</div>
]]></content:encoded>
			<wfw:commentRss>http://sealedabstract.com/lifehacking/phonepipe-now-open-source/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Exporting an entire Evernote notebook (mac)</title>
		<link>http://sealedabstract.com/lifehacking/exporting-an-entire-evernote-notebook-mac/</link>
		<comments>http://sealedabstract.com/lifehacking/exporting-an-entire-evernote-notebook-mac/#comments</comments>
		<pubDate>Sun, 19 Jul 2009 18:36:39 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Evernote]]></category>
		<category><![CDATA[Lifehacking]]></category>

		<guid isPermaLink="false">http://sealedabstract.com/?p=496</guid>
		<description><![CDATA[Make sure Evernote is set up to export to your documents directory (File-&#62;Print-&#62;PDF-&#62;Save PDF as&#8230;) Make sure you don&#8217;t have anything important that would match &#8220;\d+.pdf&#8221; in ~/Documents Launch evernote, highlight the notebook, highlight the first note Run the applescript below Tell it how many notes are in the notebook set workingPath to (path to ]]></description>
			<content:encoded><![CDATA[<ol>
<li>Make sure Evernote is set up to export to your documents directory (File-&gt;Print-&gt;PDF-&gt;Save PDF as&#8230;)</li>
<li>Make sure you don&#8217;t have anything important that would match &#8220;\d+.pdf&#8221; in ~/Documents</li>
<li>Launch evernote, highlight the notebook, highlight the first note</li>
<li>Run the applescript below</li>
<li>Tell it how many notes are in the notebook</li>
</ol>
<pre class="brush: plain;">set workingPath to (path to documents folder as Unicode text)
set dialogResult to display dialog ¬
	¬
		&quot;How many times to loop?&quot; default answer &quot;1&quot;
set sTimes to text returned of dialogResult
repeat with i from 1 to sTimes
	set filename to ((workingPath &amp; i as text) &amp; &quot;.pdf&quot;)
	tell application &quot;Finder&quot;
		if exists file filename then delete filename
	end tell
end repeat

tell application &quot;Evernote&quot;
	activate
end tell

delay 1
repeat with i from 1 to sTimes
	tell application &quot;System Events&quot;
		keystroke &quot;p&quot; using command down
		repeat until window &quot;Print&quot; of process &quot;Evernote&quot; exists
		end repeat
		tell process &quot;Evernote&quot; to click menu button &quot;PDF&quot; of window &quot;Print&quot;
		tell process &quot;Evernote&quot; to click menu item &quot;Save as PDF…&quot; of menu &quot;PDF&quot; of menu button &quot;PDF&quot; of window &quot;Print&quot;
		repeat until window &quot;Save&quot; of process &quot;Evernote&quot; exists
		end repeat
		keystroke i as text
		keystroke (ASCII character 3)
		repeat while window &quot;Save&quot; of process &quot;Evernote&quot; exists
		end repeat
		tell application &quot;Evernote&quot; to activate
		keystroke (ASCII character 31)
	end tell
end repeat
set outputName to POSIX path of (workingPath &amp; &quot;export.pdf&quot;)
set command to &quot;python '/System/Library/Automator/Combine PDF Pages.action/Contents/Resources/join.py' -o &quot; &amp; outputName

repeat with i from 1 to sTimes
	set sPath to ((workingPath &amp; i as text) &amp; &quot;.pdf&quot;)
	set command to command &amp; &quot; &quot; &amp; POSIX path of sPath
end repeat
--return command
do shell script command
repeat with i from 1 to sTimes
	set filename to ((workingPath &amp; i as text) &amp; &quot;.pdf&quot;)
	tell application &quot;Finder&quot;
		if exists file filename then delete filename
	end tell
end repeat</pre>
]]></content:encoded>
			<wfw:commentRss>http://sealedabstract.com/lifehacking/exporting-an-entire-evernote-notebook-mac/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Lifehacking series: Dropbox</title>
		<link>http://sealedabstract.com/lifehacking/lifehacking-series-dropbox/</link>
		<comments>http://sealedabstract.com/lifehacking/lifehacking-series-dropbox/#comments</comments>
		<pubDate>Sun, 12 Jul 2009 20:41:19 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Lifehacking]]></category>

		<guid isPermaLink="false">http://sealedabstract.com/?p=448</guid>
		<description><![CDATA[My last article on book scanning did so well that I think it&#8217;s time to expand it to a whole series on Lifehacking.  What do I do to cut through the madness and get things done? Dropbox is a cloud service that keeps all my files in sync across all my computers.  It exposes itself ]]></description>
			<content:encoded><![CDATA[<p>My last article on book scanning did so well that I think it&#8217;s time to expand it to a whole series on <a href="http://en.wikipedia.org/wiki/Life_hack">Lifehacking</a>.  What do I do to cut through the madness and get things done?</p>
<p><a href="http://www.dpbolvw.net/click-3543190-10683022">Dropbox</a> is a cloud service that keeps all my files in sync across all my computers.  It exposes itself as a folder on my filesystem, and the folder contents are synced to the Dropbox cloud and pushed to all my computers.  It&#8217;s thoroughly cross-platform (Win, Mac, Nix).  Here&#8217;s how I use <a href="http://www.dpbolvw.net/click-3543190-10683022">Dropbox</a>:</p>
<ul>
<li>Git repositories.  All my code for all my projects is in Dropbox.  I can be working on some feature, walk out the door, and have everything with me: no commits to do, no git pushes to do, everything exactly in sync.  My working directory over here is exactly my working directory over there.  I don&#8217;t have to do meaningless commits just to move code between machines.</li>
<li>Flash drive replacement.  90% of the flash drive use cases are &#8220;take this PDF to the lab and print it&#8221;.  With Dropbox, I just put the PDF in there somewhere, and download it with the web interface on a lab computer.  This has saved my behind on several occasions when I&#8217;ve realized &#8220;Holy crap, I don&#8217;t have that paper&#8230;&#8221;  Dropbox is 30 seconds away.</li>
<li>Poor man&#8217;s backup.  I back up my entire music library with Dropbox.  As a bonus, it syncs to all my machines.</li>
<li>Poor man&#8217;s web hosting.  By dragging a file to the &#8220;Public&#8221; folder, it automagically is hosted via a publicly-accessible URL.  This is great for one-shot e-mail attachments that probably won&#8217;t fit on the recipient&#8217;s server.  I&#8217;ve got a really cool hack involving <a href="http://www.kavasoft.com/KavaTunes/">KavaTunes</a> that hosts my entire music library over Dropbox via a sweet web interface:</li>
</ul>
<div id="attachment_454" class="wp-caption alignnone" style="width: 310px"><a href="http://sealedabstract.com/wp-content/uploads/2009/07/Picture-1.png"><img class="size-medium wp-image-454" title="KavaTunes + Dropbox = win" src="http://sealedabstract.com/wp-content/uploads/2009/07/Picture-1-300x219.png" alt="KavaTunes + Dropbox = win" width="300" height="219" /></a><p class="wp-caption-text">KavaTunes + Dropbox = win</p></div>
<ul>
<li>Revision control.  Every file in Dropbox is revisioned.  With a few clicks, I can revert a file or folder to a previous snapshot:</li>
</ul>
<p><a href="http://sealedabstract.com/wp-content/uploads/2009/07/Picture-2.jpg"><img style="border: 0px initial initial;" title="Picture 2" src="http://sealedabstract.com/wp-content/uploads/2009/07/Picture-2-300x98.jpg" alt="Picture 2" width="300" height="98" /></a></p>
<ul>
<li>I can even restore deleted files (going back pretty much indefinitely)</li>
<li>Collaboration &#8211; multiple users can share folders and the changes are synced instantly.  This is great for collaboration on school projects, etc.  I&#8217;ve even used Dropbox as a central source control repo on occasion, when I needed something super lightweight.  Things *can* get a little hairy if your client software (Powerpoint, I&#8217;m looking at you) doesn&#8217;t notice a change somebody else wrote to the disk, but Dropbox&#8217;s revision system insures that if something does go wrong, no data is ever lost.</li>
<li>Awesome diff system:  Dropbox&#8217;s syncs are so efficient you&#8217;d never believe it.  It is *very* good about only syncing the deltas.  If you change 3kb on a 1GB file, it will cost you 3kb in bandwidth.  Every time.</li>
<li>Impossibly fast syncing.  On the backend, your files are divided into ~64kb chunks, which are hashed.  If somebody has already uploaded that 64kb chunk, you don&#8217;t have to.  This means that if you drag in an Ubuntu disk image, or something that&#8217;s already in somebody else&#8217;s Dropbox, it uploads instantly.  There are tons of posts in the forums from new users going &#8220;WTF!  That file was 1GB!  Why didn&#8217;t it upload!&#8221; when it&#8217;s perfectly safe and sound, because somebody else beat you to the punch.</li>
<li>Local caching: If you delete and re-add files, or move lots of things around, Dropbox will simply replay the shell commands on your other machines.  Deleted files are cached locally for awhile, so you can re-add them without any bandwidth cost.</li>
</ul>
<p>And best of all, <a href="http://www.dpbolvw.net/click-3543190-10683022">Dropbox</a> is free!  You get a 2GB Dropbox folder on all your machines for nothing.  Paid plans are available for 50GB and 100GB folders.  And you can always shoot them an e-mail if you&#8217;re crazy  like me and need more disk space.</p>
]]></content:encoded>
			<wfw:commentRss>http://sealedabstract.com/lifehacking/lifehacking-series-dropbox/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>The joy of electronic books</title>
		<link>http://sealedabstract.com/lifehacking/the-joy-of-electronic-books/</link>
		<comments>http://sealedabstract.com/lifehacking/the-joy-of-electronic-books/#comments</comments>
		<pubDate>Wed, 10 Jun 2009 05:03:40 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Lifehacking]]></category>

		<guid isPermaLink="false">http://sealedabstract.com/?p=410</guid>
		<description><![CDATA[If you&#8217;re anything like me, you read a lot. A lot. I&#8217;ve got a collection of around three thousand books. I&#8217;ve given up all hope of taking them with me when I move (semi-nomadic student; they don&#8217;t even fit in my car). I&#8217;ve got a smaller subset of my favorites that follow me around wherever ]]></description>
			<content:encoded><![CDATA[<p>If you&#8217;re anything like me, you read a lot.  A <strong>lot</strong>.  I&#8217;ve got a collection of around three thousand books.  I&#8217;ve given up all hope of taking them with me when I move (semi-nomadic student; they don&#8217;t even fit in my car).  I&#8217;ve got a smaller subset of my favorites that follow me around wherever I go&#8211;but we&#8217;re talking thousands of pounds of paper.</p>
<p>When I was younger, I used to read whole books at a time, but I find that now I primarily use them for reference.  Being well-read and having a large supply of material to draw from lets me churn out thoughtful papers in record time.  But most of my books aren&#8217;t really in the &#8220;reference&#8221; genre&#8211;I might remember a quote by Mark Twain, but who knows which of his twenty or so books I might have to read through before I find it.</p>
<p>Sure, I could bite the bullet and get a Kindle (or just use the iPhone app), but I&#8217;m no fan of DRM.  I want to be able to grep and parse my books; I want to read them from various computers I have lying around the house, and I want the images and technical drawings to render well.  I read a lot of old, obscure books that Amazon and Co. will never get around to digitizing.  Plus, I&#8217;m a poor college student, who doesn&#8217;t want to re-buy every book he already owns in digital format.</p>
<p>So, with a little trepidation, I decided to embark on a quest to scan and digitize every book I own.  I&#8217;ve been at this in my spare time for several months now, and I&#8217;ve got it down to a science.  It&#8217;s really not as bad as you might think once you know the pitfalls to avoid.</p>
<p>Step 1:  Get the cover off.  This is often the trickiest part of the entire enterprise.  Paperbacks covers can be <em>carefully</em> peeled off (I&#8217;ve torn a few).  Hardbacks will require you to slice through the cover lining.</p>
<p>Step 2:</p>
<p><a href="http://sealedabstract.com/wp-content/uploads/2009/06/books.jpg"><img class="alignnone size-full wp-image-411" title="books" src="http://sealedabstract.com/wp-content/uploads/2009/06/books.jpg" alt="books" width="320" height="240" /></a></p>
<p>Take the bound pages to a printshop and get them to cut it into loose-leaf pages.  Most printshops will cut a book for about a quarter; I found an on-campus bookshop that does it for free.</p>
<p>Step 3: Scan.  I found an awesome scanner for my mac, the ScanSnap S510M (no, I am not getting paid):</p>
<p><a href="http://sealedabstract.com/wp-content/uploads/2009/06/scansnap.jpg"><img class="alignnone size-full wp-image-412" title="scansnap" src="http://sealedabstract.com/wp-content/uploads/2009/06/scansnap.jpg" alt="scansnap" width="240" height="320" /></a></p>
<p>This thing has the smallest footprint I have ever seen, and it burns through my textbooks faster than can be described.  I can burn through a small paperback in 5-6 minutes, and large reference works like von Mises&#8217; thousand-page Human Action over the evening news.  I got it for a mere $350 refurbed on NewEgg, and it&#8217;s the best $350 I&#8217;ve ever spent.  Don&#8217;t let its cute appearance fool you, this scanner is SERIOUS.</p>
<p>4.  OCR.  OCR software for Mac is notoriously bad.  The stuff that comes with the ScanSnap is actually quite decent, although rather slow.  Fortunately it requires no interaction of any kind, so you can just let it run and come back later.  For text-and-illustration kinds of things, I leave it on &#8220;text and images only.&#8221;  There&#8217;s another option that embeds the text in an invisible layer under the page image, which creates much larger files, but you have the original page to refer to, which works well for complex diagrams and such.  I&#8217;ve also looked at both ReadIris and OmniPage, and have been rather unimpressed.</p>
<p>5.  Binding:  For awhile, this was the slowest part; I would add ten pages or so and apply some glue, wait a few hours to dry, repeat.  Then I discovered gorilla glue.  This stuff (not the wood glue crap, the <em>real</em> glue) is seriously strong&#8211;strong enough to bind everything with just one or two layers.  I stack all the pages in between two phone books, clamp them with some c-clamps, and apply a layer of Gorilla Glue:</p>
<p><a href="http://sealedabstract.com/wp-content/uploads/2009/06/glue.jpg"><img class="alignnone size-full wp-image-413" title="glue" src="http://sealedabstract.com/wp-content/uploads/2009/06/glue.jpg" alt="glue" width="240" height="320" /></a></p>
<p>In an hour or so, my book is bound more firmly than it was the day it was printed.  Another dab of glue puts the spine on, and that&#8217;s about it!  Finished result:</p>
<p>Grepping through Harry Potter:</p>
<p><a href="http://sealedabstract.com/wp-content/uploads/2009/06/picture-36.png"><img class="alignnone size-full wp-image-414" title="picture-36" src="http://sealedabstract.com/wp-content/uploads/2009/06/picture-36.png" alt="picture-36" width="137" height="320" /></a></p>
<p>Reading on my iPod with Stanza:</p>
<p><a href="http://sealedabstract.com/wp-content/uploads/2009/06/stanza.jpg"><img class="alignnone size-full wp-image-415" title="stanza" src="http://sealedabstract.com/wp-content/uploads/2009/06/stanza.jpg" alt="stanza" width="214" height="320" /></a></p>
<p>Spotlighting for &#8220;Narnia&#8221; in my (still-incomplete) library:</p>
<p><a href="http://sealedabstract.com/wp-content/uploads/2009/06/picture-37.png"><img class="alignnone size-full wp-image-416" title="picture-37" src="http://sealedabstract.com/wp-content/uploads/2009/06/picture-37.png" alt="picture-37" width="320" height="96" /></a></p>
<p>Did C.S. Lewis ever say anything about the Snow White Disney movie?</p>
<p><a href="http://sealedabstract.com/wp-content/uploads/2009/06/picture-4.png"><img class="alignnone size-full wp-image-417" title="picture-4" src="http://sealedabstract.com/wp-content/uploads/2009/06/picture-4.png" alt="picture-4" width="440" height="395" /></a></p>
<p>Let&#8217;s hand my phone to a friend so he can see what books are on my shelf:</p>
<p><a href="http://sealedabstract.com/wp-content/uploads/2009/06/img_0295.jpg"><img class="alignnone size-full wp-image-418" title="img_0295" src="http://sealedabstract.com/wp-content/uploads/2009/06/img_0295.jpg" alt="img_0295" width="480" height="320" /></a></p>
<p>I should be on track to digitize EVERYTHING by this summer.  What I&#8217;ve learned:</p>
<ul>
<li>Having my whole library on my iPhone vastly changed my definition of &#8220;reading time.&#8221;  Now, I can catch a paragraph while I&#8217;m waiting at the checkout line.  It&#8217;s one tap to bring up the last book I was reading with the correct page.</li>
<li>I find myself reading&#8211;really reading&#8211;more than I&#8217;ve ever done since childhood</li>
<li>Spotlighting a personal library is ridiculously powerful.  You feel almost giddy.  &#8221;I don&#8217;t know the frequency of EM fields, but I did scan this electricity textbook&#8230;&#8221;  BAM, there&#8217;s the answer.</li>
<li>You start doing random searches, and the results are scary.  How many books reference the wood chuck chuck question?  Let&#8217;s graph my books by publishing date.  Can we use a bayesian network to classify my books by genre?  Can we write a script to rip cover art from Amazon.com?  The possibilities are endless.</li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://sealedabstract.com/lifehacking/the-joy-of-electronic-books/feed/</wfw:commentRss>
		<slash:comments>22</slash:comments>
		</item>
	</channel>
</rss>
