<?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>Bold dream &#187; Default</title>
	<atom:link href="http://bolddream.com/category/default/feed/" rel="self" type="application/rss+xml" />
	<link>http://bolddream.com</link>
	<description>Imagination is limitless. So is stupidity.</description>
	<lastBuildDate>Tue, 02 Mar 2010 22:42:48 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0</generator>
		<item>
		<title>What we want isn&#8217;t always what we need</title>
		<link>http://bolddream.com/2010/03/03/what-we-want-isnt-always-what-we-need/</link>
		<comments>http://bolddream.com/2010/03/03/what-we-want-isnt-always-what-we-need/#comments</comments>
		<pubDate>Tue, 02 Mar 2010 22:42:48 +0000</pubDate>
		<dc:creator>Emil Vladev</dc:creator>
				<category><![CDATA[Default]]></category>

		<guid isPermaLink="false">http://bolddream.com/?p=442</guid>
		<description><![CDATA[I found this amazing image stream on flickr (via):]]></description>
			<content:encoded><![CDATA[<p>I found this amazing image stream on flickr (<a href="http://greentech-bg.net/?p=5679">via</a>):</p>
<p><a href="http://www.flickr.com/photos/sock_puppet/sets/72157619316625559/with/3605117110/"><img src="http://farm4.static.flickr.com/3326/3605117110_72d20ed612_m.jpg" width="240" height="240" alt="Want more, need less"/></a></p>
]]></content:encoded>
			<wfw:commentRss>http://bolddream.com/2010/03/03/what-we-want-isnt-always-what-we-need/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Django AttributeError: type object &#8216;*Inline&#8217; has no attribute &#8216;date_hierarchy&#8217;</title>
		<link>http://bolddream.com/2010/01/29/django-attributeerror-type-object-inline-has-no-attribute-date_hierarchy/</link>
		<comments>http://bolddream.com/2010/01/29/django-attributeerror-type-object-inline-has-no-attribute-date_hierarchy/#comments</comments>
		<pubDate>Fri, 29 Jan 2010 10:18:32 +0000</pubDate>
		<dc:creator>Emil Vladev</dc:creator>
				<category><![CDATA[Default]]></category>

		<guid isPermaLink="false">http://bolddream.com/?p=294</guid>
		<description><![CDATA[I work on a simple Django Q&#038;A app and decided that Questions and Answers should be on the same page in the admin. Django already provides that using inlines, but after using it a strange error started appearing (usually on server restart or code reload). type object 'AnswerInline' has no attribute 'date_hierarchy' After a bit [...]]]></description>
			<content:encoded><![CDATA[<p>I work on a simple Django Q&#038;A app and decided that Questions and Answers should be on the same page in the admin. Django already provides that using <a href="http://docs.djangoproject.com/en/dev/ref/contrib/admin/#django.contrib.admin.ModelAdmin.inlines"><code>inlines</code></a>, but after using it a strange error started appearing (usually on server restart or code reload).</p>
<pre>
type object 'AnswerInline' has no attribute 'date_hierarchy'
</pre>
<p>After a bit of digging, I found that I was registering the <code>AnswerInline</code> with the admin, which was not necessary &#8211; it was already in the <code>inlines</code> attribute of <code>QuestionAdmin</code>.</p>
<p>Here is the code:</p>

<div class="wp_syntax"><div class="code"><pre class="python" style="font-family:monospace;"><span style="color: #ff7700;font-weight:bold;">from</span> django.<span style="color: black;">contrib</span> <span style="color: #ff7700;font-weight:bold;">import</span> admin
&nbsp;
<span style="color: #ff7700;font-weight:bold;">from</span> questions.<span style="color: black;">models</span> <span style="color: #ff7700;font-weight:bold;">import</span> Question, Answer
&nbsp;
<span style="color: #ff7700;font-weight:bold;">class</span> AnswerInline<span style="color: black;">&#40;</span>admin.<span style="color: black;">TabularInline</span><span style="color: black;">&#41;</span>:
    model = Answer
&nbsp;
<span style="color: #ff7700;font-weight:bold;">class</span> QuestionAdmin<span style="color: black;">&#40;</span>admin.<span style="color: black;">ModelAdmin</span><span style="color: black;">&#41;</span>:
    model = Question
    inlines = <span style="color: black;">&#40;</span>AnswerInline,<span style="color: black;">&#41;</span>
&nbsp;
admin.<span style="color: #dc143c;">site</span>.<span style="color: black;">register</span><span style="color: black;">&#40;</span>Question, QuestionAdmin<span style="color: black;">&#41;</span>
admin.<span style="color: #dc143c;">site</span>.<span style="color: black;">register</span><span style="color: black;">&#40;</span>Answer, AnswerInline<span style="color: black;">&#41;</span> <span style="color: #808080; font-style: italic;"># This line is not necessary and causes the problem</span></pre></div></div>

]]></content:encoded>
			<wfw:commentRss>http://bolddream.com/2010/01/29/django-attributeerror-type-object-inline-has-no-attribute-date_hierarchy/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Guy Kawasaki&#8217;s Art Of The Start presentation</title>
		<link>http://bolddream.com/2010/01/13/guy-kawasakis-art-of-the-start-presentation/</link>
		<comments>http://bolddream.com/2010/01/13/guy-kawasakis-art-of-the-start-presentation/#comments</comments>
		<pubDate>Wed, 13 Jan 2010 10:05:28 +0000</pubDate>
		<dc:creator>Emil Vladev</dc:creator>
				<category><![CDATA[Default]]></category>

		<guid isPermaLink="false">http://bolddream.com/?p=250</guid>
		<description><![CDATA[Just finished watching this presentation of Guy Kawasaki. Simple advice &#8211; whatever you do for a living &#8211; Watch It! Also, if you can, grab a copy of his book The Art of the Start. It&#8217;s the best 200 pages of entrepreneur advices you can get.]]></description>
			<content:encoded><![CDATA[<p>Just finished watching this presentation of Guy Kawasaki. Simple advice &#8211; whatever you do for a living &#8211; <strong>Watch It</strong>!</p>
<p>Also, if you can, grab a copy of his book <a href="http://www.amazon.com/gp/product/1591840562?ie=UTF8&#038;tag=bolddream-20&#038;linkCode=as2&#038;camp=1789&#038;creative=390957&#038;creativeASIN=1591840562">The Art of the Start</a><img src="http://www.assoc-amazon.com/e/ir?t=bolddream-20&#038;l=as2&#038;o=1&#038;a=1591840562" width="1" height="1" border="0" alt="" style="border:none !important; margin:0px !important;" />. It&#8217;s the best 200 pages of entrepreneur advices you can get.</p>
<p><embed id=VideoPlayback src=http://video.google.com/googleplayer.swf?docid=-3755718939216161559&#038;hl=en&#038;fs=true style=width:400px;height:326px allowFullScreen=true allowScriptAccess=always type=application/x-shockwave-flash> </embed></p>
]]></content:encoded>
			<wfw:commentRss>http://bolddream.com/2010/01/13/guy-kawasakis-art-of-the-start-presentation/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Fixing PDF printer on Ubuntu 9.10 after update</title>
		<link>http://bolddream.com/2009/12/11/fixing-pdf-printer-on-ubuntu-9-10-after-update/</link>
		<comments>http://bolddream.com/2009/12/11/fixing-pdf-printer-on-ubuntu-9-10-after-update/#comments</comments>
		<pubDate>Fri, 11 Dec 2009 14:15:20 +0000</pubDate>
		<dc:creator>Emil Vladev</dc:creator>
				<category><![CDATA[Default]]></category>

		<guid isPermaLink="false">http://bolddream.com/?p=244</guid>
		<description><![CDATA[On my computer at work the pdf printer has been broken for a while and today, happily, I found a way to fix it. Go to System &#8594; Administration &#8594; Printing and delete the pdf printer. Create the ~/PDF folder if it does not exists Run sudo aptitude reinstall cups-pdf to reinstall it. Add a [...]]]></description>
			<content:encoded><![CDATA[<p>On my computer at work the pdf printer has been broken for a while and today, happily, I found a way to fix it.</p>
<ol>
<li>Go to <strong><code>System &rarr; Administration &rarr; Printing</code></strong> and delete the pdf printer.</li>
<li>Create the <strong><code>~/PDF</code></strong> folder if it does not exists</li>
<li>Run <strong><code>sudo aptitude reinstall cups-pdf</code></strong> to reinstall it.</li>
<li>Add a pdf printer again using the wizard.</li>
<li>Profit. :)</li>
</ol>
]]></content:encoded>
			<wfw:commentRss>http://bolddream.com/2009/12/11/fixing-pdf-printer-on-ubuntu-9-10-after-update/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Fixing QT fonts in Ubuntu 9.10 Keramic</title>
		<link>http://bolddream.com/2009/11/12/fixing-qt-fonts-in-ubuntu-9-10-keramic/</link>
		<comments>http://bolddream.com/2009/11/12/fixing-qt-fonts-in-ubuntu-9-10-keramic/#comments</comments>
		<pubDate>Thu, 12 Nov 2009 19:51:05 +0000</pubDate>
		<dc:creator>Emil Vladev</dc:creator>
				<category><![CDATA[Default]]></category>

		<guid isPermaLink="false">http://bolddream.com/?p=239</guid>
		<description><![CDATA[A few days ago I decided to bite the bullet and update Ubuntu. The last time I did this it caused me quite a lot of frustration &#8211; but amazingly this time it was almost painless. The wireless stopped working but I managed to get it back in about 30 minutes. The other thing was [...]]]></description>
			<content:encoded><![CDATA[<p>A few days ago I decided to bite the bullet and update Ubuntu. The last time I did this it caused me quite a lot of frustration &#8211; but amazingly this time it was almost painless. The wireless stopped working but I managed to get it back in about 30 minutes. The other thing was Qt fonts (the fonts in <a href="http://skype.com">skype</a> or <a href="http://qbittorrent.sourceforge.net/">qbittorrent</a>). After a bit of searching and a few false attempts I managed to fix it.</p>
<p>The fix<sup>1</sup> is quite simple, actually &#8211; just paste the following code in <code>~/.fonts.conf</code>. This settings seem to work, unlike the many I tried before that.</p>

<div class="wp_syntax"><div class="code"><pre class="xml" style="font-family:monospace;"><span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;?xml</span> <span style="color: #000066;">version</span>=<span style="color: #ff0000;">&quot;1.0&quot;</span><span style="color: #000000; font-weight: bold;">?&gt;</span></span>
<span style="color: #00bbdd;">&lt;!DOCTYPE fontconfig SYSTEM &quot;fonts.dtd&quot;&gt;</span>
<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;fontconfig<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
 <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;match</span> <span style="color: #000066;">target</span>=<span style="color: #ff0000;">&quot;font&quot;</span><span style="color: #000000; font-weight: bold;">&gt;</span></span>
  <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;edit</span> <span style="color: #000066;">name</span>=<span style="color: #ff0000;">&quot;rgba&quot;</span> <span style="color: #000066;">mode</span>=<span style="color: #ff0000;">&quot;assign&quot;</span><span style="color: #000000; font-weight: bold;">&gt;</span></span>
    <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;const<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>rgb<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/const<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
  <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/edit<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
  <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;edit</span> <span style="color: #000066;">name</span>=<span style="color: #ff0000;">&quot;antialias&quot;</span> <span style="color: #000066;">mode</span>=<span style="color: #ff0000;">&quot;assign&quot;</span><span style="color: #000000; font-weight: bold;">&gt;</span></span>
   <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;bool<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>true<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/bool<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
  <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/edit<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
  <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;edit</span> <span style="color: #000066;">name</span>=<span style="color: #ff0000;">&quot;hintstyle&quot;</span> <span style="color: #000066;">mode</span>=<span style="color: #ff0000;">&quot;assign&quot;</span><span style="color: #000000; font-weight: bold;">&gt;</span></span>
   <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;const<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>hintfull<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/const<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
  <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/edit<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
   <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;edit</span> <span style="color: #000066;">name</span>=<span style="color: #ff0000;">&quot;hinting&quot;</span> <span style="color: #000066;">mode</span>=<span style="color: #ff0000;">&quot;assign&quot;</span><span style="color: #000000; font-weight: bold;">&gt;</span></span>
    <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;bool<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>true<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/bool<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
   <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/edit<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
  <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/match<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/fontconfig<span style="color: #000000; font-weight: bold;">&gt;</span></span></span></pre></div></div>

<p>The forts are anti-aliased, as expected, and look fine in FF, Gnome and Qt-based applications.</p>
<p>____________________<br />
<sup>1</sup> <a href="http://swiss.ubuntuforums.org/showthread.php?t=1316216">http://swiss.ubuntuforums.org/showthread.php?t=1316216</a></p>
]]></content:encoded>
			<wfw:commentRss>http://bolddream.com/2009/11/12/fixing-qt-fonts-in-ubuntu-9-10-keramic/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Grand opening</title>
		<link>http://bolddream.com/2009/05/23/grand-opening/</link>
		<comments>http://bolddream.com/2009/05/23/grand-opening/#comments</comments>
		<pubDate>Sat, 23 May 2009 15:33:48 +0000</pubDate>
		<dc:creator>Emil Vladev</dc:creator>
				<category><![CDATA[Default]]></category>

		<guid isPermaLink="false">http://zora.superhosting.bg/~bolaodre/?p=6</guid>
		<description><![CDATA[Hello, I finally managed to start a blog. I actually had an old one, hosted on blogger, but never really liked the experience there. In the beginning of 2009 I started to write my own blogging software in Django to learn the framework and almost finished it. Django simply rocks. But I don&#8217;t and never [...]]]></description>
			<content:encoded><![CDATA[<p>Hello,</p>
<p>I finally managed to start a blog. I actually had an <a href="http://vladev.blogspot.com/">old one</a>, hosted on blogger, but never really liked the experience there. In the beginning of 2009 I started to write my own blogging software in <a href="http://www.djangoproject.com/">Django</a> to learn the framework and almost finished it. Django simply rocks. But I don&#8217;t and never deployed it.<br />
So, 5 months later I gave <a href="http://wordpress.org">WordPress</a> a shot and here it is &#8211; brand new and shiny.</p>
<p>In this blog I will be writing about programming, marketing and maybe other interesting themes.</p>
<p>So, hope anyone actually read it &#8211; but as Jeff Atwood said &#8211; no one will read it for at least six months, so I&#8217;m (sort of) prepared.</p>
]]></content:encoded>
			<wfw:commentRss>http://bolddream.com/2009/05/23/grand-opening/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
	</channel>
</rss>
