<?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>Hackerdude &#187; osx</title>
	<atom:link href="http://www.hackerdude.com/tag/osx/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.hackerdude.com</link>
	<description>Software Development Blog by David Martinez</description>
	<lastBuildDate>Fri, 17 Sep 2010 18:31:30 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.1.4</generator>
		<item>
		<title>Speed Up Firefox web browser &#8211; Ubuntu Geek</title>
		<link>http://www.hackerdude.com/2009/04/09/speed-up-firefox-web-browserubuntu-geek/</link>
		<comments>http://www.hackerdude.com/2009/04/09/speed-up-firefox-web-browserubuntu-geek/#comments</comments>
		<pubDate>Thu, 09 Apr 2009 18:13:55 +0000</pubDate>
		<dc:creator>David Martinez</dc:creator>
				<category><![CDATA[Mozilla XUL]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Mac]]></category>
		<category><![CDATA[osx]]></category>
		<category><![CDATA[software]]></category>

		<guid isPermaLink="false">http://www.hackerdude.com/2009/04/09/speed-up-firefox-web-browserubuntu-geek/</guid>
		<description><![CDATA[Ubuntu Geek provides a great little guide on speeding up Firefox. A lot of the about:config settings he proposes changing are already fairly optimal on a Mac, but disabling IPv6 seemed to make the most difference on my case. [From Speed Up Firefox web browser&#160;&#124;&#160;Ubuntu Geek]]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.ubuntugeek.com">Ubuntu Geek</a> provides a great little guide on speeding up Firefox. A lot of the about:config settings he proposes changing are already fairly optimal on a Mac, but disabling IPv6 seemed to make the most difference on my case.</p>
<blockquote cite="http://www.ubuntugeek.com/speed-up-firefox-web-browser.html">
<p>[From <a href="http://www.ubuntugeek.com/speed-up-firefox-web-browser.html"><cite>  Speed Up Firefox web browser&#160;|&#160;Ubuntu Geek</cite></a>]
</p></blockquote>
]]></content:encoded>
			<wfw:commentRss>http://www.hackerdude.com/2009/04/09/speed-up-firefox-web-browserubuntu-geek/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Ruby, Folder actions and full automation</title>
		<link>http://www.hackerdude.com/2008/09/25/ruby-folder-actions-and-full-automation/</link>
		<comments>http://www.hackerdude.com/2008/09/25/ruby-folder-actions-and-full-automation/#comments</comments>
		<pubDate>Fri, 26 Sep 2008 00:03:37 +0000</pubDate>
		<dc:creator>David Martinez</dc:creator>
				<category><![CDATA[Mac]]></category>
		<category><![CDATA[osx]]></category>
		<category><![CDATA[Ruby]]></category>

		<guid isPermaLink="false">http://www.hackerdude.com/2008/09/25/ruby-folder-actions-and-full-automation/</guid>
		<description><![CDATA[I routinely scan my documents as PDFs so I can keep them in a virtual filing cabinet (you know, the whole "paperless office" thing). I use my HP all-in-one software running on a Windows VM inside a Mac (sorry, but the Mac scanning software on HP is complete garbage in my opinion). What bothered me [...]]]></description>
			<content:encoded><![CDATA[<p>I routinely scan my documents as PDFs so I can keep them in a virtual filing cabinet (you know, the whole "paperless office" thing). I use my HP all-in-one software running on a Windows VM inside a Mac (sorry, but the Mac scanning software on HP is complete garbage in my opinion).</p>
<p>What bothered me about this was that all the files scanned always end up named "scan12345.pdf". Because of the way I file, I like having my things as "year/company/year-monty-date.pdf" instead.</p>
<p><span id="more-532"></span></p>
<p>For a while there I was spending hours manually moving files to the correct folders while watching TV or doing another "using half-my-brain" activity. I thought there had to be a better way. I'm a bit handy with software, so I started a little ruby script to do the move for me.</p>
<p>The script uses pdftotext (you can get pdftotext using <a href="http://www.macports.org">MacPorts</a>  ) and ruby to determine information inside the actual PDF (scan them as "searchable PDFs" so it OCRs the text). Once it makes that determination, it does the file move to the appropriate place. A series of Regular expressions inside the script determine what company it belongs to, and a strong date parser takes a look at anything that looks significant enough that has a date attached to it in order to determine an appropriate date IN the scanned document, as opposed to the date of the file (which it uses if it can't find any parsable dates inside the document).</p>
<p>So now I had a script that could do those moves properly, but still didn't want to have to remember to continuously running the script. Here is where the Mac's Folder Actions feature comes in.</p>
<p>Using Folder Actions, I wrote the following script to wait for the file to drop in the folder (the scanning program on the Windows side uses a VMWare shared folder to drop the PDF on a mac folder):</p>
<p>It's not perfect. It uses a delay mechanism to wait for the Windows side to finish writing the PDF (dumb scanning program creates the zero-byte file and waits to fill it until it has run OCR on the whole thing). But because the folder action works on all PDFs on the document, it can pick up the ones it couldn't run pdftotext on the last time, so it's good enough for now. It also has a real problem pulling the correct date on documents where a lot of patterns could be a date (need to work on a good algorithm - I haven't found one yet).</p>
<p>Anyway, here are <a href="http://www.hackerdude.com/wp-content/sample_code/auto_file.rb">the auto_file script</a> and the <a href="http://www.hackerdude.com/wp-content/sample_code/added_scanned_doc.applescript.txt">applescript folder actions script</a> that triggers it.</p>
<p>Hopefully it will be useful for you if you have a similar need or just for learning how you can streamline some of the stuff you do every day with your Mac. Cheers!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.hackerdude.com/2008/09/25/ruby-folder-actions-and-full-automation/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Note taking applications: Evernote vs Journler</title>
		<link>http://www.hackerdude.com/2008/06/25/note-taking-applications-evernote-vs-journler/</link>
		<comments>http://www.hackerdude.com/2008/06/25/note-taking-applications-evernote-vs-journler/#comments</comments>
		<pubDate>Wed, 25 Jun 2008 16:31:49 +0000</pubDate>
		<dc:creator>David Martinez</dc:creator>
				<category><![CDATA[Windows]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[osx]]></category>
		<category><![CDATA[software]]></category>

		<guid isPermaLink="false">http://www.hackerdude.com/2008/06/25/note-taking-applications-evernote-vs-journler/</guid>
		<description><![CDATA[I stopped doing GTD. And I totally shouldn't have. I have determined that the problem was the lack of an "always there" todo list and note taking device. I write too slowly and am not organized enough to use my moleskine (never mind that I also tend to forget it), and my lifestyle is too [...]]]></description>
			<content:encoded><![CDATA[<div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;">
  <br />
  <span style="font-family: Arial; font-size: 13px;"><span style="font-family: Helvetica; font-size: 12px;">I stopped doing GTD. And I totally shouldn't have.</span><br /></span> </p>
<p><span style="font-family: Helvetica; font-size: 12px;">I have determined that the problem was the lack of an "always there" todo list and note taking device. I write too slowly and am not organized enough to use my moleskine (never mind that I also tend to forget it), and my lifestyle is too mobile to just use a laptop.</span></p>
<p><span style="font-family: Helvetica; font-size: 12px;">I tried iGTD and Omnifocus. Ominfocus was too heavy on the resources, though by now I should probably try it again (maybe when they come up with an iPhone rich client). I also used Circus Ponies' Notebook, which was pretty nice but didn't do spotlight with enough granularity. Then I tried Journler (for journaling, never used it for GTD) and now I'm trying out Evernote. So how does Evernote compare?</span></p>
<p>
</div>
<p><span id="more-529"></span><br />
<span style="font-family: Arial; font-size: 13px;">Well, it's not as nice as Journler. But it syncs online and does OCR, which is pretty unique. But only kind of works out for me because it's not ubiquitous.</span></p>
<p><span style="font-family: Arial; font-size: 13px;">The problem with syncing online is that sometimes you just don't have access to the online component. For example, I have a shopping list. I go to it online using the iPhone. When I enter the supermarket, signal drops and I no longer have access to the stuff I'm shopping for! (this *has* happened to me). As soon as there's an iPhone rich client that syncs locally, I'll be much happier.</span></p>
<div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;">
  <br />
  <span style="font-family: Arial; font-size: 13px;">Having said that, I also like features. And the last program I tried, Journler, spoiled me with them. To the point that I keep comparing Evernote to Journler, and find Evernote lacking.<br />
  Both Evernote and Journler support full Spotlight searching which is nice. But Journler (probably because they only have to worry about the client app) is a lot more polished. For example, in Journler you can add multiple pieces of content on the same entry, and these can be audio, video, and photos (through the iSight). When taking a picture with evernote (the only thing that's supported), it always creates a new entry. I can't seem to drag images from one note to another, though it does suport dragging and dropping multiple images.<br />
  A big selling point for Evernote is the text recognition that happens on the server. But it seems like it's only half a feature. For example, it recognizes the text and keeps it hidden, like an OCR'd PDF. It helpfully highlights the found words as it finds them during a search, but it doesn't let me drag and select text inside the image, like an OCR PDF would do in something like Preview. I know there's backing text being stored, and I would like to be able to select it to copy/paste, particularly for things like quickly updating my address book with information I photograph off a business card, or preparing a document based on some text that came in as a graphic.<br /></span></p>
<div style="text-align: center;">
    <br />
    <span style="font-family: Arial; font-size: 13px;"><img src="http://www.hackerdude.com/wp-content/uploads/2008/06/evernote-usenix-example.jpg" width="480" height="283" alt="Evernote Usenix Example.png" /><br /></span>
  </div>
<p><span style="font-family: Arial; font-size: 13px;">Journler supports real smart folder searches, categories and tags, which should make it possible to set up a GTD-like system based on what you write. Evernote only has tags, and saved searches, which let you save a textual search and a search that is only limited to a particular set of tags, except that multiple tags work like an AND instead of an OR (and you can't change this), so it makes it less flexible that it could be in practice.</span>
</div>
<div style="text-align: center;">
  <br />
  <img src="http://www.hackerdude.com/wp-content/uploads/2008/06/search-sample.jpg" width="480" height="182" alt="Search Sample.png" />
</div>
<div style="text-align: center;">
  
</div>
<div style="text-align: left;">
  <br />
  Evernote has one thing Journler can't match however, and that is the syncing and the ubiquity. The browser client for evernote is excellent, and it has a reasonable iPhone-specific ajax client. I would much prefer it if there was a real iPhone client now that the SDK is (almost) formally out. Since Evernote has a full client for all other platforms, I'm confident they will come up with a full iPhone client (but I don't know this for a fact).
</div>
<div style="text-align: left;">
  
</div>
<div style="text-align: left;">
  <br />
  I like Evernote, and I will probably continue to use it. I hope one day I can have an ubiquitous capture device. This one *almost* makes the cut.
</div>
]]></content:encoded>
			<wfw:commentRss>http://www.hackerdude.com/2008/06/25/note-taking-applications-evernote-vs-journler/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
	</channel>
</rss>

