<?xml version="1.0" encoding="utf-8"?>
<!-- generator="FeedCreator 1.7.2-ppt DokuWiki" -->
<?xml-stylesheet href="http://www.thelastcitadel.com/lib/styles/feed.css" type="text/css"?>
<rdf:RDF
    xmlns="http://purl.org/rss/1.0/"
    xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
    xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
    xmlns:dc="http://purl.org/dc/elements/1.1/">
    <channel rdf:about="http://www.thelastcitadel.com/feed.php">
        <title>theLastCitadel</title>
        <description></description>
        <link>http://www.thelastcitadel.com/</link>
        <image rdf:resource="http://www.thelastcitadel.com/lib/images/favicon.ico" />
       <dc:date>2010-01-26T15:43:17-08:00</dc:date>
        <items>
            <rdf:Seq>
                <rdf:li rdf:resource="http://www.thelastcitadel.com/me?rev=1264546376&amp;do=diff1264546376"/>
                <rdf:li rdf:resource="http://www.thelastcitadel.com/ideas?rev=1262815153&amp;do=diff1262815153"/>
                <rdf:li rdf:resource="http://www.thelastcitadel.com/dirt-simple-clojure?rev=1261429148&amp;do=diff1261429148"/>
                <rdf:li rdf:resource="http://www.thelastcitadel.com/blag/super_structure?rev=1250672835&amp;do=diff1250672835"/>
                <rdf:li rdf:resource="http://www.thelastcitadel.com/blag/clojure_multi-method?rev=1244142666&amp;do=diff1244142666"/>
                <rdf:li rdf:resource="http://www.thelastcitadel.com/blag/a_vision_of_the_future?rev=1233957531&amp;do=diff1233957531"/>
                <rdf:li rdf:resource="http://www.thelastcitadel.com/blag/i_am_really_tired_of_this_bullshit?rev=1233725449&amp;do=diff1233725449"/>
                <rdf:li rdf:resource="http://www.thelastcitadel.com/blag/i_am_undone?rev=1227263492&amp;do=diff1227263492"/>
                <rdf:li rdf:resource="http://www.thelastcitadel.com/blag/form_at_line_n?rev=1227158305&amp;do=diff1227158305"/>
                <rdf:li rdf:resource="http://www.thelastcitadel.com/clojure/arithmetic-mean?rev=1226993166&amp;do=diff1226993166"/>
                <rdf:li rdf:resource="http://www.thelastcitadel.com/kitten/shell?rev=1226958556&amp;do=diff1226958556"/>
                <rdf:li rdf:resource="http://www.thelastcitadel.com/clojure/time-meta?rev=1226870526&amp;do=diff1226870526"/>
                <rdf:li rdf:resource="http://www.thelastcitadel.com/blag/combinator_fn?rev=1226860021&amp;do=diff1226860021"/>
                <rdf:li rdf:resource="http://www.thelastcitadel.com/blag/combinator?rev=1226827869&amp;do=diff1226827869"/>
                <rdf:li rdf:resource="http://www.thelastcitadel.com/blag/pipe_macro?rev=1226609841&amp;do=diff1226609841"/>
                <rdf:li rdf:resource="http://www.thelastcitadel.com/blag/barbie?rev=1219976105&amp;do=diff1219976105"/>
                <rdf:li rdf:resource="http://www.thelastcitadel.com/blag/friday_working?rev=1216405949&amp;do=diff1216405949"/>
                <rdf:li rdf:resource="http://www.thelastcitadel.com/blag/cat?rev=1216153302&amp;do=diff1216153302"/>
                <rdf:li rdf:resource="http://www.thelastcitadel.com/blag/budgetting_for_budgets?rev=1215718266&amp;do=diff1215718266"/>
                <rdf:li rdf:resource="http://www.thelastcitadel.com/blag/pro_tip?rev=1215451902&amp;do=diff1215451902"/>
            </rdf:Seq>
        </items>
    </channel>
    <image rdf:about="http://www.thelastcitadel.com/lib/images/favicon.ico">
        <title>theLastCitadel</title>
        <link>http://www.thelastcitadel.com/</link>
        <url>http://www.thelastcitadel.com/lib/images/favicon.ico</url>
    </image>
    <item rdf:about="http://www.thelastcitadel.com/me?rev=1264546376&amp;do=diff1264546376">
        <dc:format>text/html</dc:format>
        <dc:date>2010-01-26T14:52:56-08:00</dc:date>
        <dc:creator>Kevin Downey</dc:creator>
        <title>me</title>
        <link>http://www.thelastcitadel.com/me?rev=1264546376&amp;do=diff1264546376</link>
        <description>&lt;redchin@gmail.com&gt; 
 &lt;hiredman@thelastcitadel.com&gt; 


tag:thelastcitadel.com,1984-09-25:KevinDowney</description>
    </item>
    <item rdf:about="http://www.thelastcitadel.com/ideas?rev=1262815153&amp;do=diff1262815153">
        <dc:format>text/html</dc:format>
        <dc:date>2010-01-06T13:59:13-08:00</dc:date>
        <dc:creator>Kevin Downey</dc:creator>
        <title>ideas</title>
        <link>http://www.thelastcitadel.com/ideas?rev=1262815153&amp;do=diff1262815153</link>
        <description>*  Online Dihime
		*  AppEngine
		*  Facebook
		*  chat use facebook ids, figure this out
		*  fb connect, least possible permissions
		*  &lt;http://forum.developers.facebook.com/viewtopic.php?id=21892&gt;
		*  currently fighting with lien
			*  adding GAE plugin</description>
    </item>
    <item rdf:about="http://www.thelastcitadel.com/dirt-simple-clojure?rev=1261429148&amp;do=diff1261429148">
        <dc:format>text/html</dc:format>
        <dc:date>2009-12-21T12:59:08-08:00</dc:date>
        <dc:creator>Kevin Downey</dc:creator>
        <title>dirt-simple-clojure</title>
        <link>http://www.thelastcitadel.com/dirt-simple-clojure?rev=1261429148&amp;do=diff1261429148</link>
        <description>Steps:

	*  mkdir $HOME/.jars/
	*  copy, move, or syslink all the jars you want to use into $HOME/.jars/
	*  Check your java version using java -version
	*  If you are using a JRE version 1.6 or higher, continue, if not GOTO Step VII 
	*  in the init file for the shell of your choice, set the environment variable CLASSPATH=”$HOME/.jars/*” (the star should not be expanded by the shell)
	*  GOTO Step VIII
	*  in the init file for the shell of your choice, set the environment variable CLASSPATH…</description>
    </item>
    <item rdf:about="http://www.thelastcitadel.com/blag/super_structure?rev=1250672835&amp;do=diff1250672835">
        <dc:format>text/html</dc:format>
        <dc:date>2009-08-19T02:07:15-08:00</dc:date>
        <dc:creator>Kevin Downey</dc:creator>
        <title>blag:super_structure</title>
        <link>http://www.thelastcitadel.com/blag/super_structure?rev=1250672835&amp;do=diff1250672835</link>
        <description></description>
    </item>
    <item rdf:about="http://www.thelastcitadel.com/blag/clojure_multi-method?rev=1244142666&amp;do=diff1244142666">
        <dc:format>text/html</dc:format>
        <dc:date>2009-06-04T12:11:06-08:00</dc:date>
        <dc:creator>Kevin Downey</dc:creator>
        <title>blag:clojure_multi-method</title>
        <link>http://www.thelastcitadel.com/blag/clojure_multi-method?rev=1244142666&amp;do=diff1244142666</link>
        <description>sort of pattern matchie


(defmulti fib identity)
(defmethod fib 0 [x] 0)
(defmethod fib 1 [x] 1)
(defmethod fib :default [n] (+ (fib (- n 2)) (fib (- n 1))))</description>
    </item>
    <item rdf:about="http://www.thelastcitadel.com/blag/a_vision_of_the_future?rev=1233957531&amp;do=diff1233957531">
        <dc:format>text/html</dc:format>
        <dc:date>2009-02-06T13:58:51-08:00</dc:date>
        <dc:creator>Kevin Downey</dc:creator>
        <title>blag:a_vision_of_the_future - created</title>
        <link>http://www.thelastcitadel.com/blag/a_vision_of_the_future?rev=1233957531&amp;do=diff1233957531</link>
        <description>I have the sneaking suspicion that some time the next 30 days I am going to build a freebsd gateway/router/NAT/dhcp box.</description>
    </item>
    <item rdf:about="http://www.thelastcitadel.com/blag/i_am_really_tired_of_this_bullshit?rev=1233725449&amp;do=diff1233725449">
        <dc:format>text/html</dc:format>
        <dc:date>2009-02-03T21:30:49-08:00</dc:date>
        <dc:creator>Kevin Downey</dc:creator>
        <title>blag:i_am_really_tired_of_this_bullshit - created</title>
        <link>http://www.thelastcitadel.com/blag/i_am_really_tired_of_this_bullshit?rev=1233725449&amp;do=diff1233725449</link>
        <description>the soho router/gateway/dhcp boxes most people have in their homes are crap. all they do is cause problems. And I have to deal with this shit. At home, at work, and other people’s homes. Ugh. I hate it. D-Link, Belkin, Linksys, etc. Burn in fire.</description>
    </item>
    <item rdf:about="http://www.thelastcitadel.com/blag/i_am_undone?rev=1227263492&amp;do=diff1227263492">
        <dc:format>text/html</dc:format>
        <dc:date>2008-11-21T02:31:32-08:00</dc:date>
        <dc:creator>Kevin Downey</dc:creator>
        <title>blag:i_am_undone - created</title>
        <link>http://www.thelastcitadel.com/blag/i_am_undone?rev=1227263492&amp;do=diff1227263492</link>
        <description>A blackard, A villain.</description>
    </item>
    <item rdf:about="http://www.thelastcitadel.com/blag/form_at_line_n?rev=1227158305&amp;do=diff1227158305">
        <dc:format>text/html</dc:format>
        <dc:date>2008-11-19T21:18:25-08:00</dc:date>
        <dc:creator>Kevin Downey</dc:creator>
        <title>blag:form_at_line_n</title>
        <link>http://www.thelastcitadel.com/blag/form_at_line_n?rev=1227158305&amp;do=diff1227158305</link>
        <description>overly simple form parser


(defn form-reader [charsource]
      (loop [[c &amp; r] (seq charsource) open-parens-count 0 out []]
            (cond 
              (= \( c)
                (recur r (inc open-parens-count) (conj out c))
              (= \) c)
                (recur r (dec open-parens-count) (conj out c))
              (and (not= 0 (count out)) (= open-parens-count 0))
                (apply str out)
              :else
                (recur r open-parens-count (conj out c)))))


(defn…</description>
    </item>
    <item rdf:about="http://www.thelastcitadel.com/clojure/arithmetic-mean?rev=1226993166&amp;do=diff1226993166">
        <dc:format>text/html</dc:format>
        <dc:date>2008-11-17T23:26:06-08:00</dc:date>
        <dc:creator>Kevin Downey</dc:creator>
        <title>clojure:arithmetic-mean</title>
        <link>http://www.thelastcitadel.com/clojure/arithmetic-mean?rev=1226993166&amp;do=diff1226993166</link>
        <description>(defn arith-mean [f n]
      (let [a (fn a [x &amp; [w &amp; i]]
                  (fn [&amp; [y &amp; u]]
                      (if (number? y)
                        (a (+ x y) (inc w))
                        (/ x w ))))]
        (if (number? f)
          ((a f 1) n)
          (f n))))</description>
    </item>
    <item rdf:about="http://www.thelastcitadel.com/kitten/shell?rev=1226958556&amp;do=diff1226958556">
        <dc:format>text/html</dc:format>
        <dc:date>2008-11-17T13:49:16-08:00</dc:date>
        <dc:creator>Kevin Downey</dc:creator>
        <title>kitten:shell - created</title>
        <link>http://www.thelastcitadel.com/kitten/shell?rev=1226958556&amp;do=diff1226958556</link>
        <description>5001 hiredman rincewind ~% [ -z $foo ] &amp;&amp; echo &quot;Way to go ace&quot;
Way to go ace
5002 hiredman rincewind ~% foo=&quot;a&quot;
5003 hiredman rincewind ~% [ -z $foo ] &amp;&amp; echo &quot;Way to go ace&quot;
zsh: exit 1
5004 hiredman rincewind ~%</description>
    </item>
    <item rdf:about="http://www.thelastcitadel.com/clojure/time-meta?rev=1226870526&amp;do=diff1226870526">
        <dc:format>text/html</dc:format>
        <dc:date>2008-11-16T13:22:06-08:00</dc:date>
        <dc:creator>Kevin Downey</dc:creator>
        <title>clojure:time-meta</title>
        <link>http://www.thelastcitadel.com/clojure/time-meta?rev=1226870526&amp;do=diff1226870526</link>
        <description>(defmacro time-meta
  [expr]
  `(let [start# (. System (nanoTime))
         ret# ~expr
	 tim# (/ (- (. System (nanoTime)) start#))]
     (with-meta [ret#] {:time tim#})))



user=&gt; (time-meta (math/f! 5))                    
[120]
user=&gt; (meta (time-meta (math/f! 5)))
{:time 1/43581}
user=&gt;</description>
    </item>
    <item rdf:about="http://www.thelastcitadel.com/blag/combinator_fn?rev=1226860021&amp;do=diff1226860021">
        <dc:format>text/html</dc:format>
        <dc:date>2008-11-16T10:27:01-08:00</dc:date>
        <dc:creator>Kevin Downey</dc:creator>
        <title>blag:combinator_fn - created</title>
        <link>http://www.thelastcitadel.com/blag/combinator_fn?rev=1226860021&amp;do=diff1226860021</link>
        <description>(defn combinate [&amp; x]
      (loop [i x f I]
            (if (&gt; (count i) 2)
              (recur (rest i) (f (first i)))
              f)))</description>
    </item>
    <item rdf:about="http://www.thelastcitadel.com/blag/combinator?rev=1226827869&amp;do=diff1226827869">
        <dc:format>text/html</dc:format>
        <dc:date>2008-11-16T01:31:09-08:00</dc:date>
        <dc:creator>Kevin Downey</dc:creator>
        <title>blag:combinator - created</title>
        <link>http://www.thelastcitadel.com/blag/combinator?rev=1226827869&amp;do=diff1226827869</link>
        <description>(defn K [x] (fn [y] x ))
(defn S [x] (fn [y] (fn [z] ((x z) (y z)))))
(defn I [x] (((S K) K) x))


(defmacro combinate [&amp; x]
	  (loop [i x]
		(if (&gt; (count i) 2)
		    (recur (conj (drop 2 i) (list (first i) (second i))))
                    i)))</description>
    </item>
    <item rdf:about="http://www.thelastcitadel.com/blag/pipe_macro?rev=1226609841&amp;do=diff1226609841">
        <dc:format>text/html</dc:format>
        <dc:date>2008-11-13T12:57:21-08:00</dc:date>
        <dc:creator>Kevin Downey</dc:creator>
        <title>blag:pipe_macro</title>
        <link>http://www.thelastcitadel.com/blag/pipe_macro?rev=1226609841&amp;do=diff1226609841</link>
        <description>(defmacro |&gt; [&amp; x]
  (loop [q (rest x) w (first x)]
        (if q
            (recur (rest q) (list (first q) w))
            w)))


 This macro is rather similar to --&gt;.  In fact I wrote it because I did not understand --&gt;.  |&gt; is simpler then --&gt;.  |&gt; can also take function literals in the pipeline, which --&gt; tends to make a mess of.</description>
    </item>
    <item rdf:about="http://www.thelastcitadel.com/blag/barbie?rev=1219976105&amp;do=diff1219976105">
        <dc:format>text/html</dc:format>
        <dc:date>2008-08-28T19:15:05-08:00</dc:date>
        <dc:creator>Kevin Downey</dc:creator>
        <title>blag:barbie - created</title>
        <link>http://www.thelastcitadel.com/blag/barbie?rev=1219976105&amp;do=diff1219976105</link>
        <description></description>
    </item>
    <item rdf:about="http://www.thelastcitadel.com/blag/friday_working?rev=1216405949&amp;do=diff1216405949">
        <dc:format>text/html</dc:format>
        <dc:date>2008-07-18T11:32:29-08:00</dc:date>
        <dc:creator>Kevin Downey</dc:creator>
        <title>blag:friday_working - created</title>
        <link>http://www.thelastcitadel.com/blag/friday_working?rev=1216405949&amp;do=diff1216405949</link>
        <description></description>
    </item>
    <item rdf:about="http://www.thelastcitadel.com/blag/cat?rev=1216153302&amp;do=diff1216153302">
        <dc:format>text/html</dc:format>
        <dc:date>2008-07-15T13:21:42-08:00</dc:date>
        <dc:creator>Kevin Downey</dc:creator>
        <title>blag:cat - created</title>
        <link>http://www.thelastcitadel.com/blag/cat?rev=1216153302&amp;do=diff1216153302</link>
        <description></description>
    </item>
    <item rdf:about="http://www.thelastcitadel.com/blag/budgetting_for_budgets?rev=1215718266&amp;do=diff1215718266">
        <dc:format>text/html</dc:format>
        <dc:date>2008-07-10T12:31:06-08:00</dc:date>
        <dc:creator>Kevin Downey</dc:creator>
        <title>blag:budgetting_for_budgets - created</title>
        <link>http://www.thelastcitadel.com/blag/budgetting_for_budgets?rev=1215718266&amp;do=diff1215718266</link>
        <description>Yesterday the $OWNER of $COMPANY was in a tizzy about budgets. I keep the budgets for the business. The budgets are basically just lists of expenses on a job. Expenses break down as labor and material. 

So $OWNER asked me to print out info on a lot of budgets so she could micromanage them. This got me to thinking that maybe I should do a weekly budget report available to everyone in the office. When I ran the idea by my immediate boss his reaction was “No, no no, No”.</description>
    </item>
    <item rdf:about="http://www.thelastcitadel.com/blag/pro_tip?rev=1215451902&amp;do=diff1215451902">
        <dc:format>text/html</dc:format>
        <dc:date>2008-07-07T10:31:42-08:00</dc:date>
        <dc:creator>Kevin Downey</dc:creator>
        <title>blag:pro_tip - created</title>
        <link>http://www.thelastcitadel.com/blag/pro_tip?rev=1215451902&amp;do=diff1215451902</link>
        <description>Yesterday I went to Red Robin with some out of towners who were in town for T2. We left a 15% tip. And a paper crane, a stick of gum, a fifty-cent piece, a cough-drop, and a Lowe’s coupon for $25 off a purchase of $250 or more.</description>
    </item>
</rdf:RDF>
