<?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> &#187; it</title>
	<atom:link href="http://blog.kfirbreger.com/tag/it/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.kfirbreger.com</link>
	<description></description>
	<lastBuildDate>Tue, 24 Jan 2012 09:47:15 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>Installing PostgreSQL and Sql-Ledger for Django apps on Snow Leopard</title>
		<link>http://blog.kfirbreger.com/2010/10/15/installing-postgresql-and-sql-ledger-for-django-apps-on-snow-leopard/</link>
		<comments>http://blog.kfirbreger.com/2010/10/15/installing-postgresql-and-sql-ledger-for-django-apps-on-snow-leopard/#comments</comments>
		<pubDate>Fri, 15 Oct 2010 19:03:09 +0000</pubDate>
		<dc:creator>Kfir</dc:creator>
				<category><![CDATA[guide]]></category>
		<category><![CDATA[work]]></category>
		<category><![CDATA[django]]></category>
		<category><![CDATA[it]]></category>
		<category><![CDATA[os x]]></category>
		<category><![CDATA[postgresql]]></category>
		<category><![CDATA[python]]></category>
		<category><![CDATA[sql-ledger]]></category>

		<guid isPermaLink="false">http://blog.kfirbreger.com/?p=279</guid>
		<description><![CDATA[At DOP we started working on a django front end for Sql-Ledger with the idea of combining it later on with our ticketing system. Getting it going on my MacBook proved to be more challenging then expected. Most of the problems were easily solvable, but finding the oplossing proved to be tricky. Therefor I have [...]]]></description>
			<content:encoded><![CDATA[<p>At DOP we started working on a django front end for Sql-Ledger with the idea of combining it later on with our ticketing system. Getting it going on my MacBook proved to be more challenging then expected. Most of the problems were easily solvable, but finding the oplossing proved to be tricky. Therefor I have decided to create this simple guide, showing the steps I have taken to get everything going.</p>
<p><strong>Step 1: PostgreSQL</strong></p>
<p>You can download a binary installer from the <a title="PostgreSQL download" href="http://www.postgresql.org/download/">PostgreSQL site</a>. It will install Postgre to your <code>/Library</code> folder. This should take care of the Postgre part.</p>
<p><strong>Step 2: Sql-Ledger</strong></p>
<p>Ledger is written in perl, and requires perl to run. Luckily Snow Leopard comes standard with perl. What it does not come standard with is the perl binding for PostgreSQL. The following 3 commands will take care of that:</p>
<p><code>sudo perl -MCPAN -e "install +YAML"</code><br />
YAML is not necessary but it can be helpful, and lacking YAML might give you problems with DBI.</p>
<p><code>sudo perl -MCPAN -e "install DBI"</code></p>
<p><code>sudo perl -MCPAN -e "install DBD::Pg"</code></p>
<p>This will install the perl binding for PostreSQL.</p>
<p>Download Sql-Ledger from <a href="http://www.sql-ledger.com/source/sql-ledger-2.8.31.tar.gz">here</a>. As of this writing, the latest version is 2.8.31</p>
<p>Unzip and untar the archive and follow the instructions in the readme file. I did not manage to build using the automated script and had to do everything by hand. There is also <a href="http://www.sql-ledger.org/cgi-bin/nav.pl?page=source/mac/howto-sql-ledger-osx.html">this page</a> on the ledger page with a somewhat oldish instructions for OS X.</p>
<p>Once Ledger is tested and it is working, its time to get the python binding</p>
<p><strong>Step 3: Python binding</strong></p>
<p><strong> </strong>The pyhton binding is for PostgreSQL. You can get the binding library, called Psycopg2 (don&#8217;t ask me why) from <a href="http://initd.org/psycopg/download/">here</a>. Download and upack it. Installing is done by running:<br />
<code>python setup.py build</code><br />
<code>sudo python setup.py install</code><br />
If you are not able to build it might be a problem with your path. Python is trying to link to the PostgreSQL bin files. Try to add it to your path and then to build again.</p>
<p>And your done. Enjoy (or not) working with Django-Sql-Ledger</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.kfirbreger.com/2010/10/15/installing-postgresql-and-sql-ledger-for-django-apps-on-snow-leopard/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Secret software</title>
		<link>http://blog.kfirbreger.com/2008/08/07/secret-software/</link>
		<comments>http://blog.kfirbreger.com/2008/08/07/secret-software/#comments</comments>
		<pubDate>Thu, 07 Aug 2008 11:17:40 +0000</pubDate>
		<dc:creator>Kfir</dc:creator>
				<category><![CDATA[programming]]></category>
		<category><![CDATA[it]]></category>
		<category><![CDATA[spyware]]></category>
		<category><![CDATA[thinking]]></category>
		<category><![CDATA[video]]></category>

		<guid isPermaLink="false">http://blog.kfirbreger.com/?p=76</guid>
		<description><![CDATA[An interesting talk about secret software and why it should not be allowed in the public sector]]></description>
			<content:encoded><![CDATA[<div>
<p>
An interesting talk about secret software and why it should not be allowed in the public sector
</p>
</div>
<p>
<embed src="http://blip.tv/play/AcSDRIT3Pg" type="application/x-shockwave-flash" width="240" height="200" allowscriptaccess="always" allowfullscreen="true"></embed> </p>
]]></content:encoded>
			<wfw:commentRss>http://blog.kfirbreger.com/2008/08/07/secret-software/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

