<?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>foilhat.org &#187; Uncategorized</title>
	<atom:link href="http://foilhat.org/category/uncategorized/feed/" rel="self" type="application/rss+xml" />
	<link>http://foilhat.org</link>
	<description>put on your tinfoil hat.</description>
	<lastBuildDate>Tue, 01 Dec 2009 20:04:24 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	
		<item>
		<title>yes.</title>
		<link>http://foilhat.org/2009/10/16/fat-lady-singing/</link>
		<comments>http://foilhat.org/2009/10/16/fat-lady-singing/#comments</comments>
		<pubDate>Fri, 16 Oct 2009 21:49:44 +0000</pubDate>
		<dc:creator>kitchen</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://foilhat.org/?p=44</guid>
		<description><![CDATA[]]></description>
			<content:encoded><![CDATA[<p><object width="445" height="364"><param name="movie" value="http://www.youtube-nocookie.com/v/gb7nwoQVkQE&#038;hl=en&#038;fs=1&#038;border=1"></param><param name="allowFullScreen" value="true"></param><param name="allowscriptaccess" value="always"></param><embed src="http://www.youtube-nocookie.com/v/gb7nwoQVkQE&#038;hl=en&#038;fs=1&#038;border=1" type="application/x-shockwave-flash" allowscriptaccess="always" allowfullscreen="true"width="445" height="364"></embed></object></p>
]]></content:encoded>
			<wfw:commentRss>http://foilhat.org/2009/10/16/fat-lady-singing/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Life Improvement, Step One.</title>
		<link>http://foilhat.org/2009/06/12/life-improvement-step-one/</link>
		<comments>http://foilhat.org/2009/06/12/life-improvement-step-one/#comments</comments>
		<pubDate>Fri, 12 Jun 2009 10:43:47 +0000</pubDate>
		<dc:creator>kitchen</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[gtd]]></category>
		<category><![CDATA[life]]></category>

		<guid isPermaLink="false">http://foilhat.org/?p=40</guid>
		<description><![CDATA[While flipping through Twitter earlier, I read a tweet from @tara mentioning the Four Hour Work Week, by David Allen.  It&#8217;s a book I&#8217;ve been hearing about a bit recently, so I thought I&#8217;d go see if Amazon had it for my Kindle.  Sure enough, they did, and I picked up a copy.  While I [...]]]></description>
			<content:encoded><![CDATA[<p>While flipping through Twitter earlier, I read a <a href="http://twitter.com/tara/status/2124958123">tweet</a> from @<a title="Tara &quot;Tiger&quot; Brown" href="http://twitter.com/tara">tara</a> mentioning the <a title="Four Hour Work Week" href="http://nove.la/4hww">Four Hour Work Week</a>, by <a title="Amazon's David Allen page" href="http://nove.la/davidallen">David Allen</a>.  It&#8217;s a book I&#8217;ve been hearing about a bit recently, so I thought I&#8217;d go see if Amazon had it for my Kindle.  Sure enough, they did, and I picked up a copy.  While I was there, they suggested I might like Getting Things Done, also by David Allen.  Another book I&#8217;ve been hearing a lot about and actually meaning to read.  So far I have only purchased the 2 books, I haven&#8217;t started reading them just yet..  I&#8217;m curretly in the middle of another book and want to finish that one before moving on, but they&#8217;re definitely next up on my reading list.  However, I did some searching around and decided to start getting some things organized in preparation for my GTD planning.</p>
<h1>Getting started with GTD</h1>
<p>The first thing I did was grab myself a copy of <a title="OmniFocus" href="http://www.omnigroup.com/applications/omnifocus/">OmniFocus</a>.  From what I&#8217;ve read, this is basically the best application around for GTD.  I like it so far, I watched the intro screencast and it seems like it has some really awesome features and workflows for getting organized and getting things done.  I started with the basic brain dump and will quite likely be adding lots and lots of tasks in to it over the coming weeks.</p>
<p>Unfortunately, with the app, I&#8217;ve already run into my problem of over-engineering every little thing, to the point where I don&#8217;t even finish because I&#8217;ve designed the task to be far far far to</p>
<h1>Laptop Organization</h1>
<p>One of the tasks I added to OmniFocus was to organize my laptop.  Right now, I basically have 3 folders: Applications, Documents, and Downloads.  I really don&#8217;t have any organization in those whatsoever.  I also have Time Machine nagging me like crazy saying it hasn&#8217;t backed up my machine in 8 months or something crazy.</p>
<h2>Documents, Applications, and Downloads</h2>
<p>The first part of organizing my laptop was to create a &#8220;Expires on 2009-08-31&#8243; folder inside my Applications folder.  I then went through and moved any apps I hadn&#8217;t been using into there, and if I don&#8217;t use them by 2009-08-31, they&#8217;re getting deleted.  That helped clean up my Applications folder quite a bit.</p>
<h2>EMail</h2>
<p>I also switched back to Mail.app from Thunderbird.  I&#8217;ve never really liked either, but OmniFocus has some nice integration with Mail.app, iCal, and such, so I kinda want to get back to some more integration.  Due to the massive amount of email I have for work and for my personal account, organizing my email is going to be a major task, so that will come later.  Hopefully I can put aside my personal preference issues with Mail.app and grow to like it more.  Anything&#8217;s better than Thunderbird, right? :\  Personally, KMail is my favorite mail client, but running on OSX I lose out on that.  I might look into mutt again, and just set up an account specifically for OmniFocus stuff, but we&#8217;ll see.  Mutt is a pretty steep learning curve if you&#8217;re picky, and also I&#8217;ve had issues with it in the past with very very large mail directories (of which I have many), but for now, Mail.app is my master.</p>
<h2>Browser</h2>
<p>Along with Thunderbird, I&#8217;ve been a long time Firefox user.  When I started at DreamHost I started making very extensive use of the keyword search functionality built into Firefox&#8217;s bookmark system.  I simply cannot live without this functionality.  There are some &#8216;hacks&#8217; for Safari which provide similar functionality, but they are severely lacking, both in features, multiple-machine synchronization, ease of use, and, in the case of Keywurl, lack of support for Safari 4 (which is really really trying hard to get me back to using Safari).  In order to replicate that functionality, I&#8217;m thinking of looking into some sort of plugin for QuickSilver (something of which I really don&#8217;t take enough advantage) to emulate that functionality.  I&#8217;ve looked in the past, but what I thought would be stupid simple wasn&#8217;t, I got discouraged, gave up, and went back to Firefox.  Another option I&#8217;ll likely pursue is just a simple web page with a form which does it all for me.  I&#8217;ll quite likely use this approach, as then I don&#8217;t have to worry about synchronization, and I can also make it available to other folks at DreamHost to help them get around our back-end management application more easily.  This is still not quite optimal, as it&#8217;s a copule of extra steps instead of just hitting cmd-l and typing in the quick search, but it&#8217;s way way way better than what one currently has to do if they don&#8217;t have keyword searches set up!</p>
<h1>Goals</h1>
<p>One of my goals is to start blogging more.  I&#8217;m not a great writer, and most people probably couldn&#8217;t care less about the things I&#8217;m likely to write about, but it&#8217;s good practice, and if nothing else it&#8217;s documentation of my life, something of which I have depressingly little.</p>
<p>Another of my goals is to be more productive at work.  I&#8217;ve kinda been in a rut for a while as far as actually getting things accomplished around the office.  I take care of my normal everyday duties such as server maintenance, helping tech support, etc, but I don&#8217;t feel like I&#8217;m getting much done in the way of actual progress.  I always feel like I&#8217;ve checked my email 10000 times, checked on random things 10000 times, and am constantly task-switching, which, unlike a computer, humans do very poorly.</p>
<p>Additionally, I want to get healthier, exercise more (I have a pretty decent road bike now!), eat better (I&#8217;ve been watching lots of Good Eats!), and manage my money better (saving up for a down payment on a house by forcefully stealing money from your checking account helps get rid of that obnoxious toy-buying habit).  And of course, QUIT SMOKING.  Ugh.  It&#8217;ll happen.  I just have to Get It Done <img src='http://foilhat.org/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>And finally, I want to be happier!  As part of the non-productivity at work, I&#8217;ve started to get a little on the depressed side which, knowing from past experience, ends up making me less productive, which ends up making me more depressed, and on and on in an uncontrollable downward spiral.  Getting my head back in the game, kicking ass at work, taking control of my life, and getting out of the house more often should certainly help with that.</p>
]]></content:encoded>
			<wfw:commentRss>http://foilhat.org/2009/06/12/life-improvement-step-one/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>HTML Entities and form handling.. fun times!</title>
		<link>http://foilhat.org/2008/12/02/html-entities-and-form-handling-fun-times/</link>
		<comments>http://foilhat.org/2008/12/02/html-entities-and-form-handling-fun-times/#comments</comments>
		<pubDate>Wed, 03 Dec 2008 06:20:28 +0000</pubDate>
		<dc:creator>kitchen</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://foilhat.org/?p=26</guid>
		<description><![CDATA[Lately, I&#8217;ve been getting more and more into Unicode and localization stuffs, so when I saw a bug come in at work regarding Hebrew text in our web panel, I jumped at the opportunity to take a stab at the issue. Unfortunately, the deeper I investigate the issue, the more I realize it will require [...]]]></description>
			<content:encoded><![CDATA[<p>Lately, I&#8217;ve been getting more and more into Unicode and localization stuffs, so when I saw a bug come in at work regarding Hebrew text in our web panel, I jumped at the opportunity to take a stab at the issue.</p>
<p>Unfortunately, the deeper I investigate the issue, the more I realize it will require a lot of sweeping changes to our web panel codebase and practices in order to handle properly.  Or, I could just make things happen at a lower level and things will be happy.</p>
<p>The main problem I&#8217;m coming across is the inconsistency of how Unicode characters and HTML special characters are encoded when being sent along as form data.  Take the ampersand character (&amp;) for example.  When sent in a form, by itself, it always is sent across literally as the ampersand character.  Less than and greater than characters are the same, they come across literally.  The problem arises when you start sending non-ascii characters.  The following text, which has been copy/pasted from <a title="www.nrg.co.il" href="http://www.nrg.co.il/online/HP_0.html">here</a> is sent across as the HTML entities which represent the Unicode codes:</p>
<blockquote><p>היישוב היהודי בחברון הוכרז שטח צבאי סגור</p></blockquote>
<p>(&amp;#1492;&amp;#1497;&amp;#1497;&amp;#1513;&amp;#1493;&amp;#1489;, etc)</p>
<p>This is all fine and dandy.  The way we normally have been doing things is taking whatever comes in and taking it verbatim.  We sanitize on the display end of things in most cases, with HTML::Entities and converting &amp;, &lt;, and &gt; characters to their HTML entity counterparts.  However, you&#8217;ll notice that there are &amp; characters in the text being sent to us, so now the browser is encoding it, and we&#8217;re encoding it again!  So it displays improperly for users (displaying the literal &amp;#1234; instead of the character they expected) as well as being stored in our database incorrectly (for non-HTML usage, like when sending automated emails and such).  However, if we simply decode the *entire* string, then we accidentally decode literal &amp;amp; and &amp;lt; etc. that people put in as form input, and when we encode it later, it doesn&#8217;t come back properly.  In either situation, all or nothing, we munge information.  At least when we do *no* decoding, we don&#8217;t *lose* information, but it&#8217;s not correct, either.</p>
<p>The solution I&#8217;ve come up with here is to simply only HTML entities decode Unicode entities (&amp;#1234;, etc) and leave all of the other entities alone.  This is something I can easily wedge into our lower level POST/GET processing and make transparent to the developer, but I&#8217;m unsure if it&#8217;s the correct approach, or if it will even work.  I&#8217;m definitely going to need to play around with it some more before I make anything live, but I&#8217;ll be talking about my experiences with it all right here, on this very blog, for the world to see.  Unfortunately, there don&#8217;t seem to be any pre-made perl libraries to do this for me.  HTML::Entities looks promising, but its decode method doesn&#8217;t seem to be able to take exceptions.  I&#8217;ll probably end up stealing a bunch of code from it and piecing it together.</p>
<p>As a quick side note: WordPress (at least as of the version I&#8217;m running, which is 2.7-rc1) handles this all excellently.  Not entirely sure if it&#8217;s just because of the &#8216;visual&#8217; editor, or if it handles it properly on the server side, or what, but I&#8217;ll definitely be looking more into this as well.</p>
]]></content:encoded>
			<wfw:commentRss>http://foilhat.org/2008/12/02/html-entities-and-form-handling-fun-times/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
