<?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>DeBlog</title>
	<atom:link href="http://dendiz.com/blog/?feed=rss2" rel="self" type="application/rss+xml" />
	<link>http://dendiz.com/blog</link>
	<description>Things are impossible until they are not</description>
	<lastBuildDate>Fri, 06 Aug 2010 15:55:50 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.4</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Block the ads in evernote</title>
		<link>http://dendiz.com/blog/?p=296</link>
		<comments>http://dendiz.com/blog/?p=296#comments</comments>
		<pubDate>Fri, 06 Aug 2010 15:55:50 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://dendiz.com/blog/?p=296</guid>
		<description><![CDATA[Evernote is a greate online note taking service but the ads on their interface are bugging me because they take up space and create a distraction. The easiest way of getting rid of the add on the web interface is by adding the rule
*evernote.com##div[class*="SidebarInfoContainer"]
to the filters in the blacklist tab of adblock for chrome.

]]></description>
			<content:encoded><![CDATA[<p>Evernote is a greate online note taking service but the ads on their interface are bugging me because they take up space and create a distraction. The easiest way of getting rid of the add on the web interface is by adding the rule</p>
<pre>*evernote.com##div[class*="SidebarInfoContainer"]</pre>
<p>to the filters in the blacklist tab of adblock for chrome.</p>
<p><a href="http://dendiz.com/blog/wp-content/uploads/2010/08/adblock1.png" rel="lightbox[296]"><img class="alignnone size-medium wp-image-298" title="adblock" src="http://dendiz.com/blog/wp-content/uploads/2010/08/adblock1-300x175.png" alt="adblock" width="300" height="175" /></a></p>
]]></content:encoded>
			<wfw:commentRss>http://dendiz.com/blog/?feed=rss2&amp;p=296</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Crimson &#8211; A HTML5 Game</title>
		<link>http://dendiz.com/blog/?p=289</link>
		<comments>http://dendiz.com/blog/?p=289#comments</comments>
		<pubDate>Wed, 21 Jul 2010 18:18:53 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://dendiz.com/blog/?p=289</guid>
		<description><![CDATA[Just finished coding a demo version remake of the game crimsonland from 10tons. It runs in the browser using the canvas element for graphics rendering, and some Js for the AI of the NPC&#8217;s. Checkout the dedicated page for the game here for a video and screenshots and play the game it self.
]]></description>
			<content:encoded><![CDATA[<p>Just finished coding a demo version remake of the game crimsonland from 10tons. It runs in the browser using the canvas element for graphics rendering, and some Js for the AI of the NPC&#8217;s. Checkout the dedicated page for the game <a title="crimson" href="http://dendiz.com/blog/?page_id=277" target="_blank">here</a> for a video and screenshots and play the game it self.</p>
]]></content:encoded>
			<wfw:commentRss>http://dendiz.com/blog/?feed=rss2&amp;p=289</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>GMail as a TODO List</title>
		<link>http://dendiz.com/blog/?p=269</link>
		<comments>http://dendiz.com/blog/?p=269#comments</comments>
		<pubDate>Sun, 11 Jul 2010 19:25:07 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://dendiz.com/blog/?p=269</guid>
		<description><![CDATA[By enabling some Gmail labs features and with the help of a label and filter you can use gmail&#8217;s web interface to manage your todo list. Here&#8217;s how:
First create a label called TODO by clicking settings then labels.

now create a filter by going to settings, filters that will match the word TODO it the subject. [...]]]></description>
			<content:encoded><![CDATA[<p>By enabling some Gmail labs features and with the help of a label and filter you can use gmail&#8217;s web interface to manage your todo list. Here&#8217;s how:</p>
<p>First create a label called TODO by clicking settings then labels.<br />
<a href="http://dendiz.com/blog/wp-content/uploads/2010/07/settings-labels-2.png" rel="lightbox[269]"><img src="http://dendiz.com/blog/wp-content/uploads/2010/07/settings-labels-2-300x221.png" alt="settings-labels-2" title="settings-labels-2" width="300" height="221" class="alignnone size-medium wp-image-270" /></a></p>
<p>now create a filter by going to settings, filters that will match the word TODO it the subject. In the second step choose apply label action and select the new label TODO that you just created. </p>
<p><a href="http://dendiz.com/blog/wp-content/uploads/2010/07/settings-filters-2.png" rel="lightbox[269]"><img src="http://dendiz.com/blog/wp-content/uploads/2010/07/settings-filters-2-300x173.png" alt="settings-filters-2" title="settings-filters-2" width="300" height="173" class="alignnone size-medium wp-image-271" /></a></p>
<p>Now from the Labs features in the settings page enable the multiple inboxes feature and select the label todo as the display setting and you&#8217;re set to go.<br />
<a href="http://dendiz.com/blog/wp-content/uploads/2010/07/inbox-2.png" rel="lightbox[269]"><img src="http://dendiz.com/blog/wp-content/uploads/2010/07/inbox-2-300x190.png" alt="inbox-2" title="inbox-2" width="300" height="190" class="alignnone size-medium wp-image-272" /></a></p>
<p>Now any messages that you send to your self with the subject line TODO will be shown in the second inbox. </p>
]]></content:encoded>
			<wfw:commentRss>http://dendiz.com/blog/?feed=rss2&amp;p=269</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>A survey on artificial intelligence in stochastic games of imperfect information: poker.</title>
		<link>http://dendiz.com/blog/?p=264</link>
		<comments>http://dendiz.com/blog/?p=264#comments</comments>
		<pubDate>Tue, 22 Jun 2010 18:59:48 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://dendiz.com/blog/?p=264</guid>
		<description><![CDATA[Abstract &#8211; Poker is a game of incomplete information which contains elements that hold  a challange for artificial intelligence agents due to the nature of the game. These challanges are examined along with the methods used to solve these problems and different approaches for building a strong poker AI agent.
full article
]]></description>
			<content:encoded><![CDATA[<p><strong>Abstract</strong> &#8211; Poker is a game of incomplete information which contains elements that hold  a challange for artificial intelligence agents due to the nature of the game. These challanges are examined along with the methods used to solve these problems and different approaches for building a strong poker AI agent.</p>
<p><a href='http://dendiz.com/blog/wp-content/uploads/2010/06/swe578_paper_v2.pdf'>full article</a></p>
]]></content:encoded>
			<wfw:commentRss>http://dendiz.com/blog/?feed=rss2&amp;p=264</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>The Design Of SPATE</title>
		<link>http://dendiz.com/blog/?p=261</link>
		<comments>http://dendiz.com/blog/?p=261#comments</comments>
		<pubDate>Tue, 22 Jun 2010 18:47:05 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://dendiz.com/blog/?p=261</guid>
		<description><![CDATA[Abstract &#8211;
Computer based poker agents are a current hot research topic with many
universities producing publications and implementations about their advances
on the subject like the University of Alberta which produced Poki
and Vexbot. Also many hobbyist computer programmers
are implementing different agents and are constantly arguing on forums (such as http://www.pokerai.com)
which approach to implementing the perfect player is [...]]]></description>
			<content:encoded><![CDATA[<p><strong>Abstract</strong> &#8211;<br />
Computer based poker agents are a current hot research topic with many<br />
universities producing publications and implementations about their advances<br />
on the subject like the University of Alberta which produced Poki<br />
and Vexbot. Also many hobbyist computer programmers<br />
are implementing different agents and are constantly arguing on forums (such as http://www.pokerai.com)<br />
which approach to implementing the perfect player is better. There are many<br />
different approaches that can be taken when designing a poker playing program such as game theoretic methods,<br />
game tree search methods, Bayesian methods, etc. and it is not always easy to measure<br />
the competence of the program with regard to other players. Spate is a platform<br />
and API that tries to eliminate this handicap by providing agents with a poker playing<br />
environment and a detailed trace of the game later analysis and<br />
measurements. The document will explain the architecture of the Spate system.</p>
<p><a href='http://dendiz.com/blog/wp-content/uploads/2010/06/swe599-dizman-final-report.pdf'>full article</a></p>
]]></content:encoded>
			<wfw:commentRss>http://dendiz.com/blog/?feed=rss2&amp;p=261</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>A review of AI agents for limit Texas Hold&#8217;em</title>
		<link>http://dendiz.com/blog/?p=258</link>
		<comments>http://dendiz.com/blog/?p=258#comments</comments>
		<pubDate>Tue, 22 Jun 2010 18:41:55 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://dendiz.com/blog/?p=258</guid>
		<description><![CDATA[Abstract &#8211; This report will review four different artificial intelligence agents implemented to play the game of Texas Hold&#8217;em poker. Each agent applies a unique approach to the problems presented in creating a powerful poker player. The report will summarize the challenges in these approaches, the implementation and results of the agent if available.  [...]]]></description>
			<content:encoded><![CDATA[<p><strong>Abstract</strong> &#8211; This report will review four different artificial intelligence agents implemented to play the game of Texas Hold&#8217;em poker. Each agent applies a unique approach to the problems presented in creating a powerful poker player. The report will summarize the challenges in these approaches, the implementation and results of the agent if available.  The agents being surveyed are GS1, SARTRE, AKIREAL Bot and CASPER.<br />
<a href='http://dendiz.com/blog/wp-content/uploads/2010/06/swe555-dizman-research-report.pdf'>Full paper</a></p>
]]></content:encoded>
			<wfw:commentRss>http://dendiz.com/blog/?feed=rss2&amp;p=258</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Installing the mysql gem under windows 7</title>
		<link>http://dendiz.com/blog/?p=247</link>
		<comments>http://dendiz.com/blog/?p=247#comments</comments>
		<pubDate>Mon, 17 May 2010 13:43:49 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://dendiz.com/blog/?p=247</guid>
		<description><![CDATA[This one is a note so that I don&#8217;t have to struggle again:
The mysql client that ships with the latest mysql doesn&#8217;t play nice with the mysql gem. Even after gem install mysql you still get the annoying error that says
!!! The bundled mysql.rb driver has been removed from Rails 2.2. Please
install the mysql gem [...]]]></description>
			<content:encoded><![CDATA[<p>This one is a note so that I don&#8217;t have to struggle again:</p>
<p>The mysql client that ships with the latest mysql doesn&#8217;t play nice with the mysql gem. Even after gem install mysql you still get the annoying error that says</p>
<pre>!!! The bundled mysql.rb driver has been removed from Rails 2.2. Please
install the mysql gem and try again: gem install mysql</pre>
<p>Well the trick to fix this is simple. Download the old libmysql.dll from <a href="http://instantrails.rubyforge.org/svn/trunk/InstantRails-win/InstantRails/mysql/bin/libmySQL.dll">here</a> and move it into the bin/ directory of your ruby installation and restart the mysql service.</p>
]]></content:encoded>
			<wfw:commentRss>http://dendiz.com/blog/?feed=rss2&amp;p=247</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Some thoughts on Christopher Alexander&#8217;s OOPSLA keynote from &#8216;96</title>
		<link>http://dendiz.com/blog/?p=245</link>
		<comments>http://dendiz.com/blog/?p=245#comments</comments>
		<pubDate>Thu, 08 Apr 2010 10:52:16 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://dendiz.com/blog/?p=245</guid>
		<description><![CDATA[The keynote is here
Here&#8217;s my blabber:
Alexanders thoughts on patterns and how they come to form a living structure can be adapted to software to some extent. CA, not being an expert in the field even mentions mappings of what he calls &#8220;centers&#8221; to software objects. Objects in software can
be grouped in a few equivalence classes [...]]]></description>
			<content:encoded><![CDATA[<p>The keynote is <a href="http://www.patternlanguage.com/archive/ieee/ieeetext.htm">here</a></p>
<p>Here&#8217;s my blabber:</p>
<p>Alexanders thoughts on patterns and how they come to form a living structure can be adapted to software to some extent. CA, not being an expert in the field even mentions mappings of what he calls &#8220;centers&#8221; to software objects. Objects in software can<br />
be grouped in a few equivalence classes (interfaces, abstract classes, etc) that correspond to Alexander&#8217;s core entities and are the building blocks of patterns. Using patterns as a means of information transfer and communication guide lines is already being used extensively. CA asks about the morality and the profoundness of his pattern language and how that is used is software, if it ever is. He mentions that the objective of a living structure is to increase the quality of life of those who experience it. This can be adapted to software, but from a different point of view. Software runs on a system which means it is governed by the virtual machine it runs on and the operating system at the least. So it can only interact with the system in a very constrained way, so there is not too much room for morality here. On the other side the interaction with the humans is the place that can be improved and the software may increase the quality of the experience it offers.</p>
<p>I think that buildings can be alive or dead like CA mentions, but buildings are not living things. They are static. They can&#8217;t adapt to the changing environment or the circumstances. But software does have this opportunity. Software should be a living entity. Let me clarify this with a concrete example. The way many people start applications on they computers is usually by selecting the item through a variety of menus. In the DOS era such a visual aid providing an over sight of all the available applications was a contribution to the users perceived quality of life. This sort of application launching is still common today, but programs such as QuickSilver for mac (http://www.blacktree.com) take this one step further by allowing the user to conveniently type just a few letters of the program they wish to run, or an action they wish to perform (e.g copy a file) and adaptively suggest actions to the user by analyzing their usage patterns. This is what I understand from a living entity. The ability to adapt. So yes software can have profoundness and morality, but this can&#8217;t be achieved by using more design patterns, nor does using any design patterns bring this quality. This can be achieved by making the software understand the users patterns and making it more humane.</p>
<p>On the subject of generativity: using a patterns language can&#8217;t guarantee wholeness and coherence due to the fact that it is localized. So long as one doesn&#8217;t maintain an outlook at the whole system there is no way of achieving coherence. Hence it is no surprise that their attempt to create a living campus failed in general but delivered locally successful results. The same would be true for any system including software or hardware systems.</p>
<p>Another subject of patterns in software in the issue of graphical user interface design and the patterns associated with it.<br />
This seems more in tact with the pattern theory of CA. I think in the last decade major improvements have been made to the<br />
way we act with computers. Current user interfaces are profound and coherent. Do they increase the quality of our lives?<br />
probably yes. Do they make the world a better place? I don&#8217;t know. These are subjective matters, and I personally am not the<br />
type that really cares for &#8220;design&#8221; because I get bored easily. I sold my mac book pro for an ibm thinkpad, what do I understand from design. That&#8217;s why I shouldn&#8217;t be taken too seriously on these matters.</p>
]]></content:encoded>
			<wfw:commentRss>http://dendiz.com/blog/?feed=rss2&amp;p=245</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Spring Hibernate Maven Integration Testing setup</title>
		<link>http://dendiz.com/blog/?p=236</link>
		<comments>http://dendiz.com/blog/?p=236#comments</comments>
		<pubDate>Fri, 05 Mar 2010 17:38:08 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://dendiz.com/blog/?p=236</guid>
		<description><![CDATA[This one had me struggling for a day before I could actually get these guys to play nicely together. So here&#8217;s the setup and what I was trying to accomplish:

Standard maven 2 project layout
Spring MVC + IoC
Hibernate ORM

The project layout had the spring xml bean definitions under the WEB-INF directory. Which later proved to be [...]]]></description>
			<content:encoded><![CDATA[<p>This one had me struggling for a day before I could actually get these guys to play nicely together. So here&#8217;s the setup and what I was trying to accomplish:</p>
<ul>
<li>Standard maven 2 project layout</li>
<li>Spring MVC + IoC</li>
<li>Hibernate ORM</li>
</ul>
<p>The project layout had the spring xml bean definitions under the <code>WEB-INF</code> directory. Which later proved to be a bad choice once I started writing the integration tests. Also log4j was misbehaving and not outputting any logs to the console and complaining. Well I&#8217;ll just cut to the chase and explain my setup. By the way I&#8217;m using annotated controllers and hibernate entities.</p>
<p>This is the directory structure from the maven project:</p>
<p><img class="alignnone size-full wp-image-237" title="bss-dir-tree" src="http://dendiz.com/blog/wp-content/uploads/2010/03/bss-dir-tree.png" alt="bss-dir-tree" width="399" height="631" /></p>
<p>Place the hibernate <code>persistence.xml</code> file under <code>resources/META-INF</code>. This is crucial if you want your hibernate annotation configured entities to be picked up automatically or else you will have to manually add each one to your <code>persistence.xml</code> file.</p>
<p>Extend your test case classes from <code>AbstractTransactionalJUnit38SpringContextTests</code> and annotate your test case with the following annotations</p>
<pre name="code" class="java">
@TransactionConfiguration(transactionManager="transactionManager", defaultRollback=true)
@Transactional
@ContextConfiguration("/spring/app-config.xml")
</pre>
<p>Now spring will automatically initialize the application context for you when you run your tests, and all your hibernate entities will be picked up by hibernate. This will prevent that &#8220;Unknown Entity&#8221; exception from making your life a living hell. Also make sure your entities import the <code>javax.persistence.Entity</code> and not the hibernate Entity annotation. This should take care of running the tests with the application context.</p>
<p>Sorting out the log4j is also quite simple.</p>
<p>Create a testing log4j configuration file called <code>testing-log4j.xml</code> and place it under <code>src/test/resources</code>. This could be a plain copy of your production <code>log4j.xml</code> file it doesn&#8217;t really matter. Then you have to configure maven to understand your new configuration file. Edit your <code>pom.xml</code> file and add this in the build section:</p>
<pre name="code" class="xml">
		<testResources>
			<testResource>
				<directory>src/test/resources</directory>
				<includes>
					<include>testing-log4j.xml</include>
				</includes>
			</testResource>
		</testResources>
</pre>
<p>This will tell maven to look at the <code>src/test/resources</code> directory for test resources and copy them to the output directory <code>target/</code> when compiling.</p>
<p>Next add this:</p>
<pre name="code" class="xml">
<plugin>
					<groupId>org.apache.maven.plugins</groupId>
					<artifactId>maven-surefire-plugin</artifactId>
					<configuration>
						<systemProperties>
<property>
								<name>log4j.configuration</name>
								<value>testing-log4j.xml</value>
							</property>
						</systemProperties>
						<testFailureIgnore>true</testFailureIgnore>
						<useFile>false</useFile>
					</configuration>
				</plugin>
</pre>
<p>This will configure the sure-fire maven test runner plug-in and make it uses the <code>test-log4j.xml</code> when running tests. This will prevent your production log4j configuration from overriding your test version.</p>
]]></content:encoded>
			<wfw:commentRss>http://dendiz.com/blog/?feed=rss2&amp;p=236</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Zoundry desktop publishing</title>
		<link>http://dendiz.com/blog/?p=232</link>
		<comments>http://dendiz.com/blog/?p=232#comments</comments>
		<pubDate>Fri, 15 Jan 2010 16:18:07 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://dendiz.com/blog/?p=232</guid>
		<description><![CDATA[I&#8217;ll be trying out some desktop bloggers, and this is the first one from http://www.zoundryraven.com
]]></description>
			<content:encoded><![CDATA[<p>I&#8217;ll be trying out some desktop bloggers, and this is the first one from <a href="http://www.zoundryraven.com">http://www.zoundryraven.com</a></p>
]]></content:encoded>
			<wfw:commentRss>http://dendiz.com/blog/?feed=rss2&amp;p=232</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
