<?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/"
	xmlns:media="http://search.yahoo.com/mrss/"
	>

<channel>
	<title>.an</title>
	<atom:link href="http://dotann.wordpress.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://dotann.wordpress.com</link>
	<description>The Code to Perfection</description>
	<lastBuildDate>Sat, 31 May 2008 09:50:04 +0000</lastBuildDate>
	<generator>http://wordpress.com/</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<image>
		<url>http://www.gravatar.com/blavatar/31e82433c5c9ea52cc48f8940fddc021?s=96&#038;d=http://s.wordpress.com/i/buttonw-com.png</url>
		<title>.an</title>
		<link>http://dotann.wordpress.com</link>
	</image>
			<item>
		<title>Why jQuery Rocks</title>
		<link>http://dotann.wordpress.com/2008/05/31/why-jquery-rocks/</link>
		<comments>http://dotann.wordpress.com/2008/05/31/why-jquery-rocks/#comments</comments>
		<pubDate>Sat, 31 May 2008 00:12:04 +0000</pubDate>
		<dc:creator>dotan</dc:creator>
				<category><![CDATA[Coding]]></category>
		<category><![CDATA[Programming]]></category>
		<category><![CDATA[Ruby]]></category>
		<category><![CDATA[Ruby On Rails]]></category>
		<category><![CDATA[general]]></category>
		<category><![CDATA[jQuery]]></category>
		<category><![CDATA[javascript]]></category>

		<guid isPermaLink="false">http://dotann.wordpress.com/?p=48</guid>
		<description><![CDATA[I wanted to see whats the deal behind in-place-editing with ajax (IPE). More specifically, I have a list of DOM elements with similar *class* and I want to enable IPE for all of them at once. First place I looked was Prototype, even though I&#8217;ve only used jQuery, and thats because I know Ruby on [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=dotann.wordpress.com&blog=1943916&post=48&subd=dotann&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p>I wanted to see whats the deal behind in-place-editing with ajax (IPE). More specifically, I have a list of DOM elements with similar *class* and I want to enable IPE for <strong>all</strong> of them at once. First place I looked was Prototype, even though I&#8217;ve only used jQuery, and thats because I know Ruby on Rails uses a &#8216;component&#8217; which does that automagically, and that uses Prototype.</p>
<p>Short story long, I ended up with 10 lines, 3 errors on the way, and 20 minutes deep, which included browsing for the source, copying the files, troubleshooting and reading Prototype documentation. Which isn&#8217;t bad at all.</p>
<p>Then, with the remaining 20 minutes I had dedicated for this little research I&#8217;ve decided to see what kind of stuff jQuery offers.</p>
<p>Enter <a href="http://www.appelsiini.net/projects/jeditable">jEditable<br />
</a></p>
<p>I can go along and say how great it is, how it does justice for jquery, and how it fits the mentality.</p>
<p>But i&#8217;ll just say this: it took me 1 line of code, 1 minute.</p>
<p><strong>Goal</strong></p>
<p>Hopefully you won&#8217;t waste time researching javascript frameworks for your next project. Just pick jQuery.</p>
<p>EDIT: I&#8217;ve cut this post 70% down.</p>
<img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/dotann.wordpress.com/48/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/dotann.wordpress.com/48/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/dotann.wordpress.com/48/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/dotann.wordpress.com/48/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/dotann.wordpress.com/48/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/dotann.wordpress.com/48/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/dotann.wordpress.com/48/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/dotann.wordpress.com/48/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/dotann.wordpress.com/48/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/dotann.wordpress.com/48/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/dotann.wordpress.com/48/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/dotann.wordpress.com/48/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=dotann.wordpress.com&blog=1943916&post=48&subd=dotann&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://dotann.wordpress.com/2008/05/31/why-jquery-rocks/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/15c3bc7ccf4caabc322ac2813523dd29?s=96&#38;d=identicon" medium="image">
			<media:title type="html">dotan</media:title>
		</media:content>
	</item>
		<item>
		<title>Web MVC Frameworks</title>
		<link>http://dotann.wordpress.com/2008/05/24/web-mvc-frameworks/</link>
		<comments>http://dotann.wordpress.com/2008/05/24/web-mvc-frameworks/#comments</comments>
		<pubDate>Sat, 24 May 2008 14:45:49 +0000</pubDate>
		<dc:creator>dotan</dc:creator>
				<category><![CDATA[.NET]]></category>
		<category><![CDATA[Coding]]></category>
		<category><![CDATA[Programming]]></category>
		<category><![CDATA[general]]></category>

		<guid isPermaLink="false">http://dotann.wordpress.com/?p=47</guid>
		<description><![CDATA[A while ago I&#8217;ve started playing with Ruby on Rails again. The last time I did that was pre-v1.0, so it really has been a while. Now days however, the MVC framework world is much different. The difference is that the first time I saw Rails, I (and most of the people back then) did [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=dotann.wordpress.com&blog=1943916&post=47&subd=dotann&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p>A while ago I&#8217;ve started playing with Ruby on Rails again. The last time I did that was pre-v1.0, so it really has been a while. Now days however, the MVC framework world is much different. The difference is that the first time I saw Rails, I (and most of the people back then) did not know very much of ORM, and there simply weren&#8217;t any such rapid framework around. So, with MVC.NET, django, pylons, and more around.. what has changed?</p>
<p>More importantly, now that we have the luxury of choosing, by what criteria can one examine alternatives.</p>
<p>I&#8217;m trying to compile a list, as I go over each of the frameworks, this is a work in progress so it is incomplete.</p>
<ul>
<li><strong>Model</strong>: how coupled is the framework and the ORM? <em>how easy is it</em>? what databases does it play with? (see: ActiveRecord)</li>
<li><strong>View</strong>: which template engines are there? how coupled? whats the performance of rendering one? <em>how clear is the syntax</em>? (see: Haml, Breve for template beauty)</li>
<li><strong>Helpers</strong>: what kind of syntactic sugar is there?</li>
<li><strong>Forms</strong>: <em>how easy is it</em> to handle forms, read: are we able to load a model object from a POST directly, can we drop a model object to a form directly? can we generate an object from a request directly? can the framework generate the form in html for us?</li>
<li><strong>Validation</strong>: what kind of validation is there? <em>how capable is it</em>? can we bind it to the model? to the form? <em>how easy is it</em> to add validation rules?</li>
<li><strong>Authorization and Authentication</strong>: does the framework have a built-in module for that? <em>how fast</em> can we configure and run it? can we extend it?</li>
<li>J<strong>avascript/ajax</strong>: what libraries are supported? if none, how well will it play with one?</li>
<li><strong>Scalability</strong>: apparently, no one knows about scalability, I will not pretend to know what its all about. But one can <em>gather information </em>about how scalable is a framework, for better or worse (worse, see: twitter )</li>
<li>TBC&#8230;</li>
</ul>
<img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/dotann.wordpress.com/47/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/dotann.wordpress.com/47/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/dotann.wordpress.com/47/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/dotann.wordpress.com/47/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/dotann.wordpress.com/47/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/dotann.wordpress.com/47/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/dotann.wordpress.com/47/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/dotann.wordpress.com/47/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/dotann.wordpress.com/47/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/dotann.wordpress.com/47/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/dotann.wordpress.com/47/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/dotann.wordpress.com/47/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=dotann.wordpress.com&blog=1943916&post=47&subd=dotann&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://dotann.wordpress.com/2008/05/24/web-mvc-frameworks/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/15c3bc7ccf4caabc322ac2813523dd29?s=96&#38;d=identicon" medium="image">
			<media:title type="html">dotan</media:title>
		</media:content>
	</item>
		<item>
		<title>yielding</title>
		<link>http://dotann.wordpress.com/2008/05/17/yielding/</link>
		<comments>http://dotann.wordpress.com/2008/05/17/yielding/#comments</comments>
		<pubDate>Sat, 17 May 2008 20:49:50 +0000</pubDate>
		<dc:creator>dotan</dc:creator>
				<category><![CDATA[.NET]]></category>
		<category><![CDATA[Coding]]></category>
		<category><![CDATA[Programming]]></category>
		<category><![CDATA[Add new tag]]></category>

		<guid isPermaLink="false">http://dotann.wordpress.com/2008/05/17/yielding/</guid>
		<description><![CDATA[While reviewing xUnit&#8217;s sourcecode, I&#8217;ve stumbled upon this:
static IEnumerable&#60;string&#62; SplitLines(string input)
{
while (true)
{
int idx = input.IndexOf(Environment.NewLine);
if (idx &#60; 0)
{
yield return input;
break;
}
yield return input.Substring(0, idx);
input = input.Substring(idx + Environment.NewLine.Length);
}
}
Thats a very nice use of yield. I&#8217;ve translated it to python just for fun:
Python
&#62;&#62;&#62; def split(str):
while True:
idx = str.find(&#8217;\n&#8217;);
if(idx &#60; 0):
yield str
break
yield str[0:idx]
str = str[idx+1 :]
&#62;&#62;&#62; g = [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=dotann.wordpress.com&blog=1943916&post=45&subd=dotann&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p>While reviewing xUnit&#8217;s sourcecode, I&#8217;ve stumbled upon this:</p>
<blockquote><p>static IEnumerable&lt;string&gt; SplitLines(string input)<br />
{<br />
while (true)<br />
{<br />
int idx = input.IndexOf(Environment.NewLine);</p>
<p>if (idx &lt; 0)<br />
{<br />
yield return input;<br />
break;<br />
}</p>
<p>yield return input.Substring(0, idx);<br />
input = input.Substring(idx + Environment.NewLine.Length);<br />
}<br />
}</p></blockquote>
<p>Thats a very nice use of yield. I&#8217;ve translated it to python just for fun:</p>
<h2>Python</h2>
<blockquote><p>&gt;&gt;&gt; def split(str):<br />
while True:<br />
idx = str.find(&#8217;\n&#8217;);<br />
if(idx &lt; 0):<br />
yield str<br />
break</p>
<p>yield str[0:idx]<br />
str = str[idx+1 :]</p>
<p>&gt;&gt;&gt; g = split(&#8221;hello\nworld\nyea&#8221;)<br />
&gt;&gt;&gt; g.next()<br />
&#8216;hello&#8217;<br />
&gt;&gt;&gt; g.next()<br />
&#8216;world&#8217;<br />
&gt;&gt;&gt; g.next()<br />
&#8216;yea&#8217;</p></blockquote>
<img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/dotann.wordpress.com/45/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/dotann.wordpress.com/45/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/dotann.wordpress.com/45/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/dotann.wordpress.com/45/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/dotann.wordpress.com/45/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/dotann.wordpress.com/45/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/dotann.wordpress.com/45/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/dotann.wordpress.com/45/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/dotann.wordpress.com/45/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/dotann.wordpress.com/45/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/dotann.wordpress.com/45/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/dotann.wordpress.com/45/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=dotann.wordpress.com&blog=1943916&post=45&subd=dotann&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://dotann.wordpress.com/2008/05/17/yielding/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/15c3bc7ccf4caabc322ac2813523dd29?s=96&#38;d=identicon" medium="image">
			<media:title type="html">dotan</media:title>
		</media:content>
	</item>
		<item>
		<title>Asp ValidationSummary Alerts</title>
		<link>http://dotann.wordpress.com/2008/05/17/asp-validationsummary-alerts/</link>
		<comments>http://dotann.wordpress.com/2008/05/17/asp-validationsummary-alerts/#comments</comments>
		<pubDate>Sat, 17 May 2008 19:21:59 +0000</pubDate>
		<dc:creator>dotan</dc:creator>
				<category><![CDATA[.NET]]></category>
		<category><![CDATA[Programming]]></category>

		<guid isPermaLink="false">http://dotann.wordpress.com/?p=44</guid>
		<description><![CDATA[If you want to use ASP.NET&#8217;s ValidationSummary, you have two options: display a div inline with the summary of the validation errors, or display an ugly alert() box.
There are a couple of guides which explain how to make ValidationSummary display the errors in a modal of your choice, but all are annoyingly incomplete. One even [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=dotann.wordpress.com&blog=1943916&post=44&subd=dotann&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p>If you want to use ASP.NET&#8217;s ValidationSummary, you have two options: display a div inline with the summary of the validation errors, or display an ugly alert() box.</p>
<p>There are a couple of guides which explain how to make ValidationSummary display the errors in a modal of your choice, but all are annoyingly incomplete. <a href="http://www.codeproject.com/KB/validation/vsum.aspx">One</a> even required you to change the ASP.NET core files, which is a hassle if you ask me.</p>
<p>I&#8217;m going to take a different, easier path.</p>
<p>Since ValidationSummary uses <strong>alert</strong>, I&#8217;ll replace alert with the modal of my choice.</p>
<blockquote><p>function <strong>alert</strong>(msg) {   mymodal(msg); }</p></blockquote>
<p>Now all you have to do is find a <a href="http://famspam.com/facebox">nice modal box</a>.</p>
<img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/dotann.wordpress.com/44/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/dotann.wordpress.com/44/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/dotann.wordpress.com/44/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/dotann.wordpress.com/44/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/dotann.wordpress.com/44/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/dotann.wordpress.com/44/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/dotann.wordpress.com/44/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/dotann.wordpress.com/44/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/dotann.wordpress.com/44/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/dotann.wordpress.com/44/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/dotann.wordpress.com/44/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/dotann.wordpress.com/44/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=dotann.wordpress.com&blog=1943916&post=44&subd=dotann&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://dotann.wordpress.com/2008/05/17/asp-validationsummary-alerts/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/15c3bc7ccf4caabc322ac2813523dd29?s=96&#38;d=identicon" medium="image">
			<media:title type="html">dotan</media:title>
		</media:content>
	</item>
		<item>
		<title>Javascript Revelations #1</title>
		<link>http://dotann.wordpress.com/2008/05/11/javascript-revelations-1/</link>
		<comments>http://dotann.wordpress.com/2008/05/11/javascript-revelations-1/#comments</comments>
		<pubDate>Sun, 11 May 2008 21:43:41 +0000</pubDate>
		<dc:creator>dotan</dc:creator>
				<category><![CDATA[Coding]]></category>
		<category><![CDATA[javascript]]></category>
		<category><![CDATA[Programming]]></category>

		<guid isPermaLink="false">http://dotann.wordpress.com/?p=43</guid>
		<description><![CDATA[I&#8217;m starting to find out that javascript isn&#8217;t a crappy language at all. Did you know it&#8217;s closer to lisp than it is to Java?.
Heres currying in javascript.

&#62;&#62;&#62; var c = function (b) { return function (a) { return b + a;}};
&#62;&#62;&#62; var add5 = c(5)
&#62;&#62;&#62; add5(3)
8





       <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=dotann.wordpress.com&blog=1943916&post=43&subd=dotann&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p>I&#8217;m starting to find out that javascript isn&#8217;t a crappy language at all. Did you know it&#8217;s closer to lisp than it is to Java?.</p>
<p><strong>Heres currying in javascript.</strong></p>
<blockquote>
<div class="logRow logRow-command"><span class="objectBox objectBox-text">&gt;&gt;&gt; var c = function (b) { return function (a) { return b + a;}};</span></div>
<div class="logRow logRow-command"><span class="objectBox objectBox-text">&gt;&gt;&gt; var add5 = c(5)</span></div>
<div class="logRow logRow-command"><span class="objectBox objectBox-text">&gt;&gt;&gt; add5(3)</span></div>
<div class="logRow logRow-command">8</div>
</blockquote>
<div class="logRow logRow-command">
</div>
<div class="logRow logRow-command">
</div>
<img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/dotann.wordpress.com/43/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/dotann.wordpress.com/43/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/dotann.wordpress.com/43/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/dotann.wordpress.com/43/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/dotann.wordpress.com/43/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/dotann.wordpress.com/43/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/dotann.wordpress.com/43/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/dotann.wordpress.com/43/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/dotann.wordpress.com/43/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/dotann.wordpress.com/43/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/dotann.wordpress.com/43/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/dotann.wordpress.com/43/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=dotann.wordpress.com&blog=1943916&post=43&subd=dotann&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://dotann.wordpress.com/2008/05/11/javascript-revelations-1/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/15c3bc7ccf4caabc322ac2813523dd29?s=96&#38;d=identicon" medium="image">
			<media:title type="html">dotan</media:title>
		</media:content>
	</item>
		<item>
		<title>Update</title>
		<link>http://dotann.wordpress.com/2008/02/03/update/</link>
		<comments>http://dotann.wordpress.com/2008/02/03/update/#comments</comments>
		<pubDate>Sun, 03 Feb 2008 16:40:37 +0000</pubDate>
		<dc:creator>dotan</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://dotann.wordpress.com/?p=42</guid>
		<description><![CDATA[Long time no blog. These are the things that happened lately.

School started after 3-month lecturer strike.
Completed MSC
Polished Hulz
Started a new project: Rub
Lost most of the sources for my fun/hobby coding in a HDD crash (As it happens, I do not backup those)
Started reading CLR via C#.
Started reviewing IronRuby sources.
Started reviewing Rotor (shared CLI) sources (oh [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=dotann.wordpress.com&blog=1943916&post=42&subd=dotann&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p>Long time no blog. These are the things that happened lately.</p>
<ul>
<li><b>School started after 3-month lecturer strike.</b></li>
<li>Completed MSC</li>
<li>Polished Hulz</li>
<li>Started a new project: Rub</li>
<li><b>Lost most of the sources for my fun/hobby </b>coding in a HDD crash (As it happens, I do not backup those)</li>
<li>Started reading CLR via C#.</li>
<li>Started reviewing IronRuby sources.</li>
<li>Started reviewing Rotor (shared CLI) sources (oh boy).</li>
</ul>
<p>I&#8217;ll post if I find anything interesting.</p>
<p>You could also check <a href="http://blogs.microsoft.co.il/blogs/dotan">my new blog</a>, in which I reserve the right to write (no pun intended)  in  Hebrew.</p>
<img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/dotann.wordpress.com/42/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/dotann.wordpress.com/42/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/dotann.wordpress.com/42/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/dotann.wordpress.com/42/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/dotann.wordpress.com/42/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/dotann.wordpress.com/42/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/dotann.wordpress.com/42/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/dotann.wordpress.com/42/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/dotann.wordpress.com/42/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/dotann.wordpress.com/42/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/dotann.wordpress.com/42/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/dotann.wordpress.com/42/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=dotann.wordpress.com&blog=1943916&post=42&subd=dotann&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://dotann.wordpress.com/2008/02/03/update/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/15c3bc7ccf4caabc322ac2813523dd29?s=96&#38;d=identicon" medium="image">
			<media:title type="html">dotan</media:title>
		</media:content>
	</item>
		<item>
		<title>Next programming languages</title>
		<link>http://dotann.wordpress.com/2008/01/07/next-programming-languages/</link>
		<comments>http://dotann.wordpress.com/2008/01/07/next-programming-languages/#comments</comments>
		<pubDate>Mon, 07 Jan 2008 22:01:37 +0000</pubDate>
		<dc:creator>dotan</dc:creator>
				<category><![CDATA[Coding]]></category>
		<category><![CDATA[general]]></category>

		<guid isPermaLink="false">http://dotann.wordpress.com/2008/01/07/next-programming-languages/</guid>
		<description><![CDATA[What would my next new language endeavor be?.

F# &#8211; yes.
Erlang &#8211; went over it, couldn&#8217;t find anything suitable apart from the &#8220;chat server&#8221;. Syntax is a killer.
Eiffel maybe later.
CLOS maybe later.
Dylan maybe later
Ruby &#8211; refresh.
ANTLR- yes (not really a language).

       <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=dotann.wordpress.com&blog=1943916&post=17&subd=dotann&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p>What would my next new language endeavor be?.</p>
<ul>
<li>F# &#8211; yes.</li>
<li><strike>Erlang</strike> &#8211; went over it, couldn&#8217;t find anything suitable apart from the &#8220;chat server&#8221;. Syntax is a killer.</li>
<li><strike>Eiffel</strike> maybe later.</li>
<li><strike>CLOS</strike> maybe later.</li>
<li><strike>Dylan</strike> maybe later</li>
<li>Ruby &#8211; refresh.</li>
<li><a href="http://www.antlr.org/">ANTLR</a>- yes (not really a language).</li>
</ul>
<img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/dotann.wordpress.com/17/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/dotann.wordpress.com/17/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/dotann.wordpress.com/17/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/dotann.wordpress.com/17/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/dotann.wordpress.com/17/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/dotann.wordpress.com/17/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/dotann.wordpress.com/17/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/dotann.wordpress.com/17/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/dotann.wordpress.com/17/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/dotann.wordpress.com/17/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/dotann.wordpress.com/17/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/dotann.wordpress.com/17/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=dotann.wordpress.com&blog=1943916&post=17&subd=dotann&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://dotann.wordpress.com/2008/01/07/next-programming-languages/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/15c3bc7ccf4caabc322ac2813523dd29?s=96&#38;d=identicon" medium="image">
			<media:title type="html">dotan</media:title>
		</media:content>
	</item>
		<item>
		<title>HomeRow: Take Matters Into Your Hands</title>
		<link>http://dotann.wordpress.com/2008/01/05/homerow-take-matters-into-your-hands/</link>
		<comments>http://dotann.wordpress.com/2008/01/05/homerow-take-matters-into-your-hands/#comments</comments>
		<pubDate>Sat, 05 Jan 2008 16:41:24 +0000</pubDate>
		<dc:creator>dotan</dc:creator>
				<category><![CDATA[.NET]]></category>
		<category><![CDATA[Agile]]></category>
		<category><![CDATA[Coding]]></category>
		<category><![CDATA[Hardware]]></category>
		<category><![CDATA[Programming]]></category>
		<category><![CDATA[general]]></category>
		<category><![CDATA[cool]]></category>
		<category><![CDATA[homerow]]></category>
		<category><![CDATA[keyboard]]></category>

		<guid isPermaLink="false">http://dotann.wordpress.com/2008/01/05/homerow-take-matters-into-your-hands/</guid>
		<description><![CDATA[This article shows how we take a useless, stupid, keyboard key like CAPSLOCK, and make it our own programming sidekick.<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=dotann.wordpress.com&blog=1943916&post=38&subd=dotann&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><div align="left"></div>
<div align="center"><img src="http://dotann.files.wordpress.com/2008/01/homerow.gif" alt="Home Row" /></div>
<div align="left"></div>
<div align="left">
<h2>Background</h2>
</div>
<div align="left"><i><b>UPDATE: 01.02.2008 </b></i></div>
<div align="left"><i><b>Due to a hard-drive crash, I lost sources for HomeRow and other hobby projects of mine.  I&#8217;ve been requested to add configurable keys (was planned anyway). That will take time, since I&#8217;m reversing .Net IL into C# (but not too much time).</b></i></div>
<div align="left"><i><b> </b></i></div>
<div align="left"></div>
<div align="left">Usually experienced programmers navigate their code without using the mouse. This means, moving the right hand to arrows, and home/end/del keygroups. Alot of time can be lost by leaving the homerow in such a harsh way.</div>
<div align="left">Someone already have defined it as a sort of VI mode for mode-less editing.</div>
<h2>Getting it back!</h2>
<div align="left">
<div align="left">HomeRow <b>overloads</b> your keyboard with additional functionality, using the CAPSLOCK key to toggle on/off. It isolates you from every IDE&#8217;s specific configuration, and gives you the same consistent interface without changing keyboards.</div>
<div align="left"></div>
<div align="left"></div>
<div align="left">This is what your keyboards becomes <b>only when CAPSLOCK is active</b>.</div>
<div align="left"></div>
</div>
<div align="left">
<div style="text-align:center;"><img src="http://dotann.files.wordpress.com/2008/01/hrlayout1.gif" alt="hrlayout1.gif" /></div>
<div style="text-align:center;" align="left"></div>
</div>
<div align="left"></div>
<div align="left"></div>
<h2>Go wild&#8230;</h2>
<div align="left"> You can now navigate your code using an FPS-like key layout (<i>not really, FPSs use ASDW, this uses SDFE because its more natural</i>)</div>
<div align="left"></div>
<div align="left">Dont forget <b>power-navigating</b>, try CTRL-W which is now equivalent to CTRL-BKSP to <b>delete whole words</b>.</div>
<div align="left">Try CTRL-F to jump to <b>next word</b>.</div>
<div align="left">Play around!.</div>
<div align="left"></div>
<h2>Download</h2>
<p>This is <b>free</b> software, and <b>no installation</b> needed. It <b>doesn&#8217;t do any permanent change</b> to your layout of course.</p>
<p>Here is <a href="http://www.paracode.com/files/HomeRow.zip">the Windows version</a>.<br />
Linux and OSX are in the works.</p>
<h2>Notes and reqs</h2>
<p><b>Reqs:</b> <a href="http://www.microsoft.com/downloads/details.aspx?FamilyID=0856EACB-4362-4B0D-8EDD-AAB15C5E04F5">.NET Framework 2.0</a>, only tested on Windows XP.</p>
<div align="left"><b>Note:</b> it does take time to get used to the fact that the keyboard is &#8220;overloaded&#8221;. You will notice yourself trying to move the caret and getting a stream of &#8220;ffffdddddwww&#8221;s, because you forgot to enable HomeRow. Once <b>your mind adjusts</b>, it [HomeRow toggling] becomes really fluent and addictive.</div>
<div align="left"></div>
<div align="left"></div>
<img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/dotann.wordpress.com/38/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/dotann.wordpress.com/38/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/dotann.wordpress.com/38/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/dotann.wordpress.com/38/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/dotann.wordpress.com/38/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/dotann.wordpress.com/38/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/dotann.wordpress.com/38/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/dotann.wordpress.com/38/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/dotann.wordpress.com/38/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/dotann.wordpress.com/38/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/dotann.wordpress.com/38/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/dotann.wordpress.com/38/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=dotann.wordpress.com&blog=1943916&post=38&subd=dotann&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://dotann.wordpress.com/2008/01/05/homerow-take-matters-into-your-hands/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/15c3bc7ccf4caabc322ac2813523dd29?s=96&#38;d=identicon" medium="image">
			<media:title type="html">dotan</media:title>
		</media:content>

		<media:content url="http://dotann.files.wordpress.com/2008/01/homerow.gif" medium="image">
			<media:title type="html">Home Row</media:title>
		</media:content>

		<media:content url="http://dotann.files.wordpress.com/2008/01/hrlayout1.gif" medium="image">
			<media:title type="html">hrlayout1.gif</media:title>
		</media:content>
	</item>
		<item>
		<title>Eclipse PDE &amp; log4j</title>
		<link>http://dotann.wordpress.com/2008/01/02/eclipse-pde-log4j/</link>
		<comments>http://dotann.wordpress.com/2008/01/02/eclipse-pde-log4j/#comments</comments>
		<pubDate>Wed, 02 Jan 2008 18:04:44 +0000</pubDate>
		<dc:creator>dotan</dc:creator>
				<category><![CDATA[Coding]]></category>
		<category><![CDATA[Eclipse]]></category>
		<category><![CDATA[Java]]></category>
		<category><![CDATA[Programming]]></category>

		<guid isPermaLink="false">http://dotann.wordpress.com/2008/01/02/eclipse-pde-log4j/</guid>
		<description><![CDATA[In continuation of my quick and dirty tips for eclipse , if you&#8217;re developing an eclipse plugin, and want to use log4j in it, this is what you should do.


Download log4j
Extract log4j.jar to a directory in your plugin bundle layout. (e.g. /lib)
Add an entry in MANIFEST.MF, Bundle-ClassPath: .. ,lib/log4j.jar ,..
Create a log4j properties file somewhere [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=dotann.wordpress.com&blog=1943916&post=36&subd=dotann&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p align="left">In continuation of my <a href="http://dotann.wordpress.com/2007/12/29/eclipse-parallel-source-hirarchies/">quick and dirty tips</a> for eclipse , if you&#8217;re developing an eclipse plugin, and want to use log4j in it, this is what you should do.</p>
<div align="left">
<ol>
<li>Download <a href="http://logging.apache.org/">log4j</a></li>
<li>Extract <b>log4j.jar</b> to a directory in your plugin bundle layout. (e.g.<b> /lib</b>)</li>
<li><b>Add</b> an entry in MANIFEST.MF, Bundle-ClassPath: <b>.. ,lib/log4j.jar ,..</b></li>
<li>Create a <b>log4j properties</b> file somewhere  in your plugin bundle layout. (/log4j/log4j.properties)</li>
<li>public static final Logger log = Logger.getLogger(&#8221;com.mycompany&#8221;);</li>
<li>PropertyConfigurator.configure(findFile(&#8221;/log4j/log4j.properties&#8221;));</li>
<li>Anywhere in your code: log.info(&#8221;hello world&#8221;);</li>
</ol>
</div>
<p align="left">Heres how findFile works:</p>
<p align="left"><b>    public static String findFile(String file)<br />
{<br />
String result=&#8221;";<br />
try<br />
{<br />
result= FileLocator.toFileURL(FileLocator.find(getDefault().getBundle(), new Path(file), null)).getPath().toString();<br />
}<br />
catch(IOException ex)<br />
{<br />
ex.printStackTrace();<br />
}<br />
return result;<br />
} </b></p>
<img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/dotann.wordpress.com/36/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/dotann.wordpress.com/36/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/dotann.wordpress.com/36/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/dotann.wordpress.com/36/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/dotann.wordpress.com/36/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/dotann.wordpress.com/36/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/dotann.wordpress.com/36/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/dotann.wordpress.com/36/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/dotann.wordpress.com/36/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/dotann.wordpress.com/36/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/dotann.wordpress.com/36/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/dotann.wordpress.com/36/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=dotann.wordpress.com&blog=1943916&post=36&subd=dotann&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://dotann.wordpress.com/2008/01/02/eclipse-pde-log4j/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/15c3bc7ccf4caabc322ac2813523dd29?s=96&#38;d=identicon" medium="image">
			<media:title type="html">dotan</media:title>
		</media:content>
	</item>
		<item>
		<title>Programming Fonts</title>
		<link>http://dotann.wordpress.com/2008/01/01/programming-fonts/</link>
		<comments>http://dotann.wordpress.com/2008/01/01/programming-fonts/#comments</comments>
		<pubDate>Tue, 01 Jan 2008 10:02:22 +0000</pubDate>
		<dc:creator>dotan</dc:creator>
				<category><![CDATA[Coding]]></category>
		<category><![CDATA[Programming]]></category>

		<guid isPermaLink="false">http://dotann.wordpress.com/2008/01/01/programming-fonts/</guid>
		<description><![CDATA[I&#8217;m rating my current favorites.

Consolas 11pt (AA)
Bitstream Vera (AA)
Envy Code B 10pt
Lucida Console
Courier New 10pt*

*Not a programming font by definition but is lightweight and very familiar.
Programming fonts are featured to have a more condensed nature, so you could see more lines on your screen, better character disambiguation for common combinations: l1, o0, etc.
As a result [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=dotann.wordpress.com&blog=1943916&post=34&subd=dotann&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p>I&#8217;m rating my current favorites.</p>
<ol>
<li>Consolas 11pt (AA)</li>
<li>Bitstream Vera (AA)</li>
<li>Envy Code B 10pt</li>
<li>Lucida Console</li>
<li>Courier New 10pt*</li>
</ol>
<p>*Not a programming font by definition but is lightweight and very familiar.</p>
<p>Programming fonts are featured to have a more condensed nature, so you could see more lines on your screen, better character disambiguation for common combinations: l1, o0, etc.</p>
<p>As a result I used to have Envy Code at the top, but after realizing it crams so much text it might strain my eyes in, lets say 3 years of prolonged usage, I went with Consolas and set it the highest size I could.</p>
<p>I admit I do sin and use Courier as the alternate font, since I&#8217;m not into anti-aliasing that much.  I am yet to find a replacement for Envy Code.</p>
<p>I&#8217;m also not sure yet if serifs are good for code readability.</p>
<img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/dotann.wordpress.com/34/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/dotann.wordpress.com/34/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/dotann.wordpress.com/34/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/dotann.wordpress.com/34/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/dotann.wordpress.com/34/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/dotann.wordpress.com/34/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/dotann.wordpress.com/34/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/dotann.wordpress.com/34/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/dotann.wordpress.com/34/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/dotann.wordpress.com/34/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/dotann.wordpress.com/34/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/dotann.wordpress.com/34/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=dotann.wordpress.com&blog=1943916&post=34&subd=dotann&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://dotann.wordpress.com/2008/01/01/programming-fonts/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/15c3bc7ccf4caabc322ac2813523dd29?s=96&#38;d=identicon" medium="image">
			<media:title type="html">dotan</media:title>
		</media:content>
	</item>
	</channel>
</rss>