<?xml version="1.0" encoding="UTF-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
  <title>~~</title>
  <id>http://127.0.0.1</id>
  <updated>2010-02-07T00:00:00-08:00</updated>
  <author>
    <name>jartur</name>
  </author>
  <entry>
    <title>KKT Website</title>
    <link rel="alternate" href="http://127.0.0.1/2010/02/07/kkt-website/"/>
    <id>http://127.0.0.1/2010/02/07/kkt-website/</id>
    <published>2010-02-07T00:00:00-08:00</published>
    <updated>2010-02-07T00:00:00-08:00</updated>
    <author>
      <name>jartur</name>
    </author>
    <summary type="html">&lt;p&gt;I need to make KKT website work by Tuesday. I haven&amp;rsquo;t accomplished anything yet. It&amp;rsquo;s only a gathering of notes in Tomboy.&lt;/p&gt;

&lt;p&gt;Also I&amp;rsquo;d better create a DB application tomorrow. Though most probably I would not be able to accompish even one of these tasks in such a short period of time&amp;hellip;&lt;/p&gt;
</summary>
    <content type="html">&lt;p&gt;I need to make KKT website work by Tuesday. I haven&amp;rsquo;t accomplished anything yet. It&amp;rsquo;s only a gathering of notes in Tomboy.&lt;/p&gt;

&lt;p&gt;Also I&amp;rsquo;d better create a DB application tomorrow. Though most probably I would not be able to accompish even one of these tasks in such a short period of time.&lt;/p&gt;

&lt;p&gt;&lt;em&gt;A little less procrastination, a little more action please.&lt;/em&gt;&lt;/p&gt;
</content>
  </entry>
  <entry>
    <title>Heh, test this thing.</title>
    <link rel="alternate" href="http://127.0.0.1/2010/02/07/heh-test-this-thing/"/>
    <id>http://127.0.0.1/2010/02/07/heh-test-this-thing/</id>
    <published>2010-02-07T00:00:00-08:00</published>
    <updated>2010-02-07T00:00:00-08:00</updated>
    <author>
      <name>jartur</name>
    </author>
    <summary type="html">&lt;p&gt;Blog without database. Without any frontend. Interesting. And fairly minimalistic. That&amp;rsquo;s what appealing.&lt;/p&gt;

&lt;p&gt;I think that modern programming suffers from overcomplification. I always have this feeling that things should not be so complex. That there are always easier solutions. We do not have to have a factory of generic factory classes to make a static website. We do not even need a database for a simple one&amp;hellip;&lt;/p&gt;
</summary>
    <content type="html">&lt;p&gt;Blog without database. Without any frontend. Interesting. And fairly minimalistic. That&amp;rsquo;s what appealing.&lt;/p&gt;

&lt;p&gt;I think that modern programming suffers from overcomplification. I always have this feeling that things should not be so complex. That there are always easier solutions. We do not have to have a factory of generic factory classes to make a static website. We do not even need a database for a simple one.&lt;/p&gt;

&lt;p&gt;I&amp;rsquo;m working on one small website now, unfortunately I absolutely have to use PHP, but I do not use any database, I do not use any framework, I have one model, couple of controllers and couple of views. Of course I do not structure the project around some kind of generic MVC core. I&amp;rsquo;m not even sure it&amp;rsquo;s really MVC. Well, we&amp;rsquo;ll see.&lt;/p&gt;
</content>
  </entry>
  <entry>
    <title>Okay, there are hooks to the rescue</title>
    <link rel="alternate" href="http://127.0.0.1/2010/02/07/okay-there-are-hooks-to-the-rescue/"/>
    <id>http://127.0.0.1/2010/02/07/okay-there-are-hooks-to-the-rescue/</id>
    <published>2010-02-07T00:00:00-08:00</published>
    <updated>2010-02-07T00:00:00-08:00</updated>
    <author>
      <name>jartur</name>
    </author>
    <summary type="html">&lt;p&gt;I had a problem with pushing to a repo with a WD. Post-update hook found on a good website promises to help.&lt;/p&gt;

&lt;p&gt;&lt;em&gt;Update&lt;/em&gt;: The aforementioned hook may be obtained at the following address: &lt;a href="http://utsl.gen.nz/git/post-update"&gt;http://utsl.gen.nz/git/post-update&lt;/a&gt;&lt;/p&gt;
</summary>
    <content type="html">&lt;p&gt;I had a problem with pushing to a repo with a WD. Post-update hook found on a good website promises to help.&lt;/p&gt;

&lt;p&gt;&lt;em&gt;Update&lt;/em&gt;: The aforementioned hook may be obtained at the following address: &lt;a href="http://utsl.gen.nz/git/post-update"&gt;http://utsl.gen.nz/git/post-update&lt;/a&gt;&lt;/p&gt;
</content>
  </entry>
  <entry>
    <title>Clojure-emacs-windows</title>
    <link rel="alternate" href="http://127.0.0.1/2010/02/20/clojure-emacs-windows/"/>
    <id>http://127.0.0.1/2010/02/20/clojure-emacs-windows/</id>
    <published>2010-02-20T00:00:00-08:00</published>
    <updated>2010-02-20T00:00:00-08:00</updated>
    <author>
      <name>jartur</name>
    </author>
    <summary type="html">&lt;h2&gt;1. Cygwin&lt;/h2&gt;

&lt;p&gt;I use cygwin for all my unix on Windows tasks. You may use MSYS or nothing at all probably, but I will tell you here how to do thing using cygwin. Adjust accordingly&amp;hellip;&lt;/p&gt;
</summary>
    <content type="html">&lt;h2&gt;1. Cygwin&lt;/h2&gt;

&lt;p&gt;I use cygwin for all my unix on Windows tasks. You may use MSYS or nothing at all probably, but I will tell you here how to do thing using cygwin. Adjust accordingly.&lt;/p&gt;

&lt;p&gt;If you want to install cygwin, go to &lt;a href="http://cygwin.org"&gt;cygwin.org&lt;/a&gt; and get setup.exe. Installation is pretty straightforward. If you don&amp;rsquo;t have wget check it here. Same applies to git.&lt;/p&gt;

&lt;h2&gt;2. Prerequisites.&lt;/h2&gt;

&lt;p&gt;Install wget (leiningen uses it), install git (you will need it in your projects, that&amp;rsquo;s for sure. And most public clojure projects use it). Also you&amp;rsquo;ll need Java JDK. Since we are on Windows just download it from &lt;a href="http://java.sun.com"&gt;http://java.sun.com&lt;/a&gt;.&lt;/p&gt;

&lt;h2&gt;3. Ant, Maven and Leiningen&lt;/h2&gt;

&lt;p&gt;Download Ant and put all its folders into your cygwin directory, so that its bin contents go to /bin, lib to /lib etc.&lt;/p&gt;

&lt;p&gt;Download maven and put its folders into, say, /opt/maven. Then add /opt/maven/bin to your path. You DO NOT want to put mnv to /bin because of maven and cygwin specifics (it will not work, most probably).&lt;/p&gt;

&lt;p&gt;Now get leiningen script from github (&lt;a href="http://github.com/technomancy/leiningen/raw/1.1.0/bin/lein"&gt;http://github.com/technomancy/leiningen/raw/1.1.0/bin/lein&lt;/a&gt;). Put it into /bin and run&lt;/p&gt;

&lt;pre&gt;&lt;code&gt;lein self-install
&lt;/code&gt;&lt;/pre&gt;

&lt;p&gt;Now you can create new clojure projects&lt;/p&gt;

&lt;pre&gt;&lt;code&gt;lein new sample_proj
&lt;/code&gt;&lt;/pre&gt;

&lt;p&gt;To put all dependencies in ./lib&lt;/p&gt;

&lt;pre&gt;&lt;code&gt;lein deps
&lt;/code&gt;&lt;/pre&gt;

&lt;p&gt;It will download needed jars and cache them locally in ~/.m2/&lt;/p&gt;

&lt;p&gt;To build project&lt;/p&gt;

&lt;pre&gt;&lt;code&gt;lein clean
lein uberjar
&lt;/code&gt;&lt;/pre&gt;

&lt;p&gt;This will create a big jar which contains all dependencies including clojure and clojure-contrib.&lt;/p&gt;

&lt;h2&gt;4. Clojure box&lt;/h2&gt;

&lt;p&gt;Download and install the latest version from &lt;a href="http://clojure.bighugh.com/"&gt;http://clojure.bighugh.com/&lt;/a&gt; This will get you EMacs with all things configured for clojure.&lt;/p&gt;

&lt;p&gt;Happy hacking.&lt;/p&gt;
</content>
  </entry>
</feed>
