<?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>firdau.si</title>
	<atom:link href="http://blog.firdau.si/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.firdau.si</link>
	<description>Just another WordPress site</description>
	<lastBuildDate>Sun, 24 Apr 2011 04:07:23 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.2</generator>
		<item>
		<title><![CDATA[Scala Developer&#8217;s Level]]></title>
		<link><![CDATA[http://www.scala-lang.org/node/8610]]></link>
		<comments>http://blog.firdau.si/2011/02/04/scala-developers-level/#comments</comments>
		<pubDate>Fri, 04 Feb 2011 14:15:59 +0000</pubDate>
		<dc:creator>nanda</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://blog.firdau.si/?p=244</guid>
		<description><![CDATA[Martin Odersky wrote the leveling of Scala developers: Level A1: Beginning application programmer Java-like statements and expressions: standard operators, method calls, conditionals, loops, try/catch class, object, def, val, var, import, package Infix notation for method calls Simple closures Collections with map, filter, etc for-expressions Level A2: Intermediate application programmer Pattern matching Trait composition Recursion, in [...]<p><a href="http://blog.firdau.si/2011/02/04/scala-developers-level/" rel="bookmark" title="Permanent link to 'Scala Developer&#8217;s Level'" class="glyph">&#9733;</a></p>
]]></description>
			<content:encoded><![CDATA[<p>Martin Odersky wrote the leveling of Scala developers:</p>
<blockquote><p>
<strong>Level A1: Beginning application programmer</strong><br />
Java-like statements and expressions: standard operators, method calls, conditionals, loops, try/catch<br />
class, object, def, val, var, import, package<br />
Infix notation for method calls<br />
Simple closures<br />
Collections with map, filter, etc<br />
for-expressions<br />
<strong>Level A2: Intermediate application programmer</strong><br />
Pattern matching<br />
Trait composition<br />
Recursion, in particular tail recursion<br />
XML literals<br />
<strong>Level A3: Expert application programmer</strong><br />
Folds, i.e. methods such as foldLeft, foldRight<br />
Streams and other lazy data structures<br />
Actors<br />
Combinator parsers<br />
<strong>Level L1: Junior library designer</strong><br />
Type parameters<br />
Traits<br />
Lazy vals<br />
Control abstraction, currying<br />
By-name parameters<br />
<strong>Level L2: Senior library designer</strong><br />
Variance annotations<br />
Existential types (e.g., to interface with Java wildcards)<br />
Self type annotations and the cake pattern for dependency injection<br />
Structural types (aka static duck typing)<br />
Defining map/flatmap/withFilter for new kinds of for-expressions<br />
Extractors<br />
<strong>Level L3: Expert library designer</strong><br />
Early initializers<br />
Abstract types<br />
Implicit definitions<br />
Higher-kinded types
</p></blockquote>
<p>I guess I&#8217;m not even on A1 level <img src='http://blog.firdau.si/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p><a href="http://blog.firdau.si/2011/02/04/scala-developers-level/" rel="bookmark" title="Permanent link to 'Scala Developer&#8217;s Level'" class="glyph">&#9733;</a></p>
<div class="plus-one-wrap"><g:plusone size="small" href="http://blog.firdau.si/2011/02/04/scala-developers-level/"></g:plusone></div><p><a href="http://blog.firdau.si/2011/02/04/scala-developers-level/" rel="bookmark">Scala Developer&#8217;s Level</a> originally appeared on <a href="http://blog.firdau.si">firdau.si</a> on February 4, 2011.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.firdau.si/2011/02/04/scala-developers-level/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>&#9733; Documenting Jersey REST API</title>
		<link>http://blog.firdau.si/2011/02/04/documenting-jersey-rest-api/</link>
		<comments>http://blog.firdau.si/2011/02/04/documenting-jersey-rest-api/#comments</comments>
		<pubDate>Fri, 04 Feb 2011 14:06:24 +0000</pubDate>
		<dc:creator>nanda</dc:creator>
				<category><![CDATA[java]]></category>

		<guid isPermaLink="false">http://blog.firdau.si/?p=235</guid>
		<description><![CDATA[Documentation is error-prone. So the best documentation should be the code itself&#8230; or automatically generated from the code. I haven&#8217;t found any open source project that can do this so I created one. As I&#8217;m currently learning Scala, I decided to write the code with Scala. You can find the code in Bitbucket: https://bitbucket.org/enefem/restdoc It&#8217;s [...]]]></description>
			<content:encoded><![CDATA[<p>Documentation is error-prone. So the best documentation should be the code itself&#8230; or automatically generated from the code.</p>
<p>I haven&#8217;t found any open source project that can do this so I created one. As I&#8217;m currently learning Scala, I decided to write the code with Scala. You can find the code in Bitbucket: <a href="https://bitbucket.org/enefem/restdoc">https://bitbucket.org/enefem/restdoc</a></p>
<p>It&#8217;s by no mean complete so feel free to fork and add functionalities or ask for improvements.</p>
<h3>Screenshot</h3>
<p><a href="http://blog.firdau.si/wp-content/uploads/2011/02/restdoc.png"><img src="http://blog.firdau.si/wp-content/uploads/2011/02/restdoc-e1296827951386.png" alt="" title="restdoc" width="500" height="292" class="aligncenter size-full wp-image-237" /></a></p>
<h3> How To Use</h3>
<p>To use the tools, you must define an <strong>init-parameter</strong> in the Jersey Container. The <strong>param-name</strong> should be <strong>packageName</strong> and the <strong>param-value</strong> should the complete package name where your REST resources are located. Example is as follow:</p>
<pre class="brush: xml; title: ; notranslate">
&lt;servlet&gt;
    &lt;servlet-name&gt;Jersey REST Service&lt;/servlet-name&gt;
    &lt;servlet-class&gt;
         com.sun.jersey.spi.container.servlet.ServletContainer
    &lt;/servlet-class&gt;
    &lt;init-param&gt;
         &lt;param-name&gt;
              com.sun.jersey.config.property.packages
         &lt;/param-name&gt;
         &lt;param-value&gt;
              de.fraunhofer.iais.tat.targeting.resources
         &lt;/param-value&gt;
		  &lt;/init-param&gt;
    &lt;init-param&gt;
         &lt;param-name&gt;packageName&lt;/param-name&gt;
         &lt;param-value&gt;
             de.fraunhofer.iais.tat.targeting.resources
         &lt;/param-value&gt;
    &lt;/init-param&gt;
&lt;/servlet&gt;
</pre>
<p>If you are using Guice and jersey-guice (which I do), you can define init-parameter as follow:</p>
<pre class="brush: java; title: ; notranslate">
serve(&quot;/*&quot;).with(GuiceContainer.class,
   ImmutableMap.of(&quot;packageName&quot;, &quot;de.fraunhofer.iais.tat.resource&quot;));
</pre>
<p>And that&#8217;s all! The rest documentation should be available on path <strong>/restDoc</strong>.</p>
<div class="plus-one-wrap"><g:plusone size="small" href="http://blog.firdau.si/2011/02/04/documenting-jersey-rest-api/"></g:plusone></div><p><a href="http://blog.firdau.si/2011/02/04/documenting-jersey-rest-api/" rel="bookmark">Documenting Jersey REST API</a> originally appeared on <a href="http://blog.firdau.si">firdau.si</a> on February 4, 2011.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.firdau.si/2011/02/04/documenting-jersey-rest-api/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title><![CDATA[Eclipse 3.7 M5 New and Noteworthy]]></title>
		<link><![CDATA[http://download.eclipse.org/eclipse/downloads/drops/S-3.7M5-201101272034/eclipse-news-M5.html]]></link>
		<comments>http://blog.firdau.si/2011/01/31/eclipse-3-7-m5-new-and-noteworthy/#comments</comments>
		<pubDate>Mon, 31 Jan 2011 09:20:17 +0000</pubDate>
		<dc:creator>nanda</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://blog.firdau.si/?p=233</guid>
		<description><![CDATA[Here is the new and noteworthy list for the milestone 5 of Eclipse 3.7 (aka Indigo). &#9733;<p><a href="http://blog.firdau.si/2011/01/31/eclipse-3-7-m5-new-and-noteworthy/" rel="bookmark" title="Permanent link to 'Eclipse 3.7 M5 New and Noteworthy'" class="glyph">&#9733;</a></p>
]]></description>
			<content:encoded><![CDATA[<p>Here is the new and noteworthy list for the milestone 5 of Eclipse 3.7 (aka Indigo).</p>
<p><a href="http://blog.firdau.si/2011/01/31/eclipse-3-7-m5-new-and-noteworthy/" rel="bookmark" title="Permanent link to 'Eclipse 3.7 M5 New and Noteworthy'" class="glyph">&#9733;</a></p>
<div class="plus-one-wrap"><g:plusone size="small" href="http://blog.firdau.si/2011/01/31/eclipse-3-7-m5-new-and-noteworthy/"></g:plusone></div><p><a href="http://blog.firdau.si/2011/01/31/eclipse-3-7-m5-new-and-noteworthy/" rel="bookmark">Eclipse 3.7 M5 New and Noteworthy</a> originally appeared on <a href="http://blog.firdau.si">firdau.si</a> on January 31, 2011.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.firdau.si/2011/01/31/eclipse-3-7-m5-new-and-noteworthy/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>&#9733; The English Language In 24 Accents</title>
		<link>http://blog.firdau.si/2011/01/28/the-english-language-in-24-accents/</link>
		<comments>http://blog.firdau.si/2011/01/28/the-english-language-in-24-accents/#comments</comments>
		<pubDate>Fri, 28 Jan 2011 12:43:57 +0000</pubDate>
		<dc:creator>nanda</dc:creator>
				<category><![CDATA[fun]]></category>
		<category><![CDATA[accent]]></category>
		<category><![CDATA[english]]></category>

		<guid isPermaLink="false">http://blog.firdau.si/?p=230</guid>
		<description><![CDATA[This guy is simply amazing!]]></description>
			<content:encoded><![CDATA[<p>This guy is simply amazing!</p>
<p><iframe title="YouTube video player" class="youtube-player" type="text/html" width="500" height="311" src="http://www.youtube.com/embed/dABo_DCIdpM" frameborder="0" allowFullScreen></iframe></p>
<div class="plus-one-wrap"><g:plusone size="small" href="http://blog.firdau.si/2011/01/28/the-english-language-in-24-accents/"></g:plusone></div><p><a href="http://blog.firdau.si/2011/01/28/the-english-language-in-24-accents/" rel="bookmark">The English Language In 24 Accents</a> originally appeared on <a href="http://blog.firdau.si">firdau.si</a> on January 28, 2011.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.firdau.si/2011/01/28/the-english-language-in-24-accents/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>&#9733; State of Scala IDE on Eclipse</title>
		<link>http://blog.firdau.si/2011/01/28/state-of-scala-ide-on-eclipse/</link>
		<comments>http://blog.firdau.si/2011/01/28/state-of-scala-ide-on-eclipse/#comments</comments>
		<pubDate>Fri, 28 Jan 2011 12:19:50 +0000</pubDate>
		<dc:creator>nanda</dc:creator>
				<category><![CDATA[eclipse]]></category>
		<category><![CDATA[scala]]></category>

		<guid isPermaLink="false">http://blog.firdau.si/?p=222</guid>
		<description><![CDATA[Even thought Scala is now among the trendy programming languages, it still misses a lot before it is considered as one of the major players. Most Scala programmers are they who are not satisfied with Java, so it&#8217;s natural that most of them were before programming with Java. One of the things Java programmers miss [...]]]></description>
			<content:encoded><![CDATA[<p>Even thought Scala is now among the trendy programming languages, it still misses a lot before it is considered as one of the major players. </p>
<p>Most Scala programmers are they who are not satisfied with Java, so it&#8217;s natural that most of them were before programming with Java. One of the things Java programmers miss from Scala is a robust and functional IDE. Since I&#8217;m a big fans of Eclipse, this means Scala IDE for Eclipse. While surely the improvements have introduced to the plugin, there are many things left out.</p>
<p>So what are still missing? This is my list based on several months experience with Scala IDE. If some missing features are missing (duh&#8230;), just comment and I&#8217;ll try to update the post. </p>
<ul>
<li><strong>No refactoring</strong>. I miss refactoring a lot. I still remember the day I find refactoring features on RefactorIT for JBuilder. It&#8217;s like the day you saw sun for the first time. And not long after that, I found Eclipse with its build-in refactoring features. Call me lazy programmer, but<a href="http://blogoscoped.com/archive/2005-08-24-n14.html"> programmer <strong>should</strong> be lazy</a>, isn&#8217;t it?</li>
<li><strong>The content assist takes (almost) forever</strong>. Yesterday I found myself restarting Eclipse about five times just because I&#8217;m programming with Scala. And I&#8217;ve increase the timeout of content assist ten folds.</li>
<li><strong>Content Assist doesn&#8217;t show (not nearly) all posibilities</strong>. When it works, it doesn&#8217;t even show nearly all possibilities I want to have. On some cases, it even can&#8217;t show a pretty simple completion for a field. As small example: if I write &#8216;va&#8217;, I hope I can get &#8216;var&#8217; and &#8216;val&#8217; as the first entries of the completion suggestion.</li>
<li><strong>Limited formatting options</strong>. Eclipse&#8217;s Java Formatter is the best configurable formatter I&#8217;ve ever saw. This Scala formatter doesn&#8217;t even come near it.</li>
<li><strong>No suggestion, not even correction suggestion</strong>. I often use Ctrl+1 in Java editor to assign the statement to a variable. Not possible. If you got errors, you got no correction suggestion.</li>
<li><strong>No integration to scala documentation</strong>. Weird, but the Scala editor can show Javadoc but no Scala documentation is accessible.</li>
<li><strong>No auto import</strong>. I ended up importing the whole package everytime I need a class.</li>
</ul>
<p>But yes, I still put a lot of hope woth Scala IDE. It shouldn&#8217;t take a lot of time, because the code is in Scala and Scala means productivity, right?</p>
<div class="plus-one-wrap"><g:plusone size="small" href="http://blog.firdau.si/2011/01/28/state-of-scala-ide-on-eclipse/"></g:plusone></div><p><a href="http://blog.firdau.si/2011/01/28/state-of-scala-ide-on-eclipse/" rel="bookmark">State of Scala IDE on Eclipse</a> originally appeared on <a href="http://blog.firdau.si">firdau.si</a> on January 28, 2011.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.firdau.si/2011/01/28/state-of-scala-ide-on-eclipse/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title><![CDATA[guava-r08 is here!]]></title>
		<link><![CDATA[http://code.google.com/p/guava-libraries/wiki/Release08]]></link>
		<comments>http://blog.firdau.si/2011/01/28/guava-r08-is-here/#comments</comments>
		<pubDate>Fri, 28 Jan 2011 09:36:18 +0000</pubDate>
		<dc:creator>nanda</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://blog.firdau.si/?p=218</guid>
		<description><![CDATA[Last night, Kevin released the 8th version of Google Guava libraries. For me personally, nothing so exciting in this release. Just nice to have some bugs fixed and some new methods and classes. MinMaxPriorityQueue could be interesting, but I don&#8217;t have scenario where to use it right now. Enjoy it while it lasts! &#9733;<p><a href="http://blog.firdau.si/2011/01/28/guava-r08-is-here/" rel="bookmark" title="Permanent link to 'guava-r08 is here!'" class="glyph">&#9733;</a></p>
]]></description>
			<content:encoded><![CDATA[<p>Last night, Kevin released the 8th version of Google Guava libraries. For me personally, nothing so exciting in this release. Just nice to have some bugs fixed and some new methods and classes. <a href="http://guava-libraries.googlecode.com/svn/tags/release08/javadoc/com/google/common/collect/MinMaxPriorityQueue.html">MinMaxPriorityQueue</a> could be interesting, but I don&#8217;t have scenario where to use it right now.</p>
<p>Enjoy it while it lasts!</p>
<p><a href="http://blog.firdau.si/2011/01/28/guava-r08-is-here/" rel="bookmark" title="Permanent link to 'guava-r08 is here!'" class="glyph">&#9733;</a></p>
<div class="plus-one-wrap"><g:plusone size="small" href="http://blog.firdau.si/2011/01/28/guava-r08-is-here/"></g:plusone></div><p><a href="http://blog.firdau.si/2011/01/28/guava-r08-is-here/" rel="bookmark">guava-r08 is here!</a> originally appeared on <a href="http://blog.firdau.si">firdau.si</a> on January 28, 2011.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.firdau.si/2011/01/28/guava-r08-is-here/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>&#9733; Deployment parameter for REST resource</title>
		<link>http://blog.firdau.si/2011/01/28/deployment-parameter-for-rest-resource/</link>
		<comments>http://blog.firdau.si/2011/01/28/deployment-parameter-for-rest-resource/#comments</comments>
		<pubDate>Fri, 28 Jan 2011 09:27:18 +0000</pubDate>
		<dc:creator>nanda</dc:creator>
				<category><![CDATA[java]]></category>
		<category><![CDATA[guice]]></category>
		<category><![CDATA[jersey]]></category>
		<category><![CDATA[rest]]></category>

		<guid isPermaLink="false">http://blog.firdau.si/?p=215</guid>
		<description><![CDATA[When you are creating resource in a REST application, it will only be automatically created if you have an empty parameter. The problem is, sometime we need a resource that is configurable, so it can be reused by other applications. We can solve this problem by defining init parameter in our web.xml like this: Or [...]]]></description>
			<content:encoded><![CDATA[<p>When you are creating resource in a REST application, it will only be automatically created if you have an empty parameter. The problem is, sometime we need a resource that is configurable, so it can be reused by other applications. </p>
<p>We can solve this problem by defining init parameter in our web.xml like this:</p>
<pre class="brush: xml; title: ; notranslate">
&lt;servlet&gt;
    &lt;servlet-name&gt;JerseyTest&lt;/servlet-name&gt;
    &lt;servlet-class&gt;com.sun.jersey.spi.container.servlet.ServletContainer&lt;/servlet-class&gt;
    &lt;init-param&gt;
        &lt;param-name&gt;param&lt;/param-name&gt;
        &lt;param-value&gt;test&lt;/param-value&gt;
    &lt;/init-param&gt;
&lt;/servlet&gt;
</pre>
<p>Or if you&#8217;re using Guice (and jersey-guice), changing the end of your ServletModule like this:</p>
<pre class="brush: java; title: ; notranslate">
serve(&quot;/*&quot;).with(GuiceContainer.class,
     ImmutableMap.of(&quot;param&quot;, &quot;test&quot;));
</pre>
<p>The parameter can be read by your resource by defining ServletConfig as field and annotate that with @Context. Example:</p>
<pre class="brush: java; title: ; notranslate">
@Path(&quot;/test&quot;)
public class TestResource {
   @Context ServletConfig config;

   @GET public String testMethod() {
      return config.getInitParameter(&quot;param&quot;);
   }
}
</pre>
<div class="plus-one-wrap"><g:plusone size="small" href="http://blog.firdau.si/2011/01/28/deployment-parameter-for-rest-resource/"></g:plusone></div><p><a href="http://blog.firdau.si/2011/01/28/deployment-parameter-for-rest-resource/" rel="bookmark">Deployment parameter for REST resource</a> originally appeared on <a href="http://blog.firdau.si">firdau.si</a> on January 28, 2011.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.firdau.si/2011/01/28/deployment-parameter-for-rest-resource/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>&#9733; Fresh look for your Eclipse editor</title>
		<link>http://blog.firdau.si/2011/01/27/fresh-look-for-your-eclipse-editor/</link>
		<comments>http://blog.firdau.si/2011/01/27/fresh-look-for-your-eclipse-editor/#comments</comments>
		<pubDate>Thu, 27 Jan 2011 14:18:07 +0000</pubDate>
		<dc:creator>nanda</dc:creator>
				<category><![CDATA[eclipse]]></category>
		<category><![CDATA[color]]></category>
		<category><![CDATA[editor]]></category>
		<category><![CDATA[theme]]></category>

		<guid isPermaLink="false">http://blog.firdau.si/?p=210</guid>
		<description><![CDATA[The default theme of Eclipse is good, but I must admit that with some configuration, Vim can show code better. And this is pretty easy, just go to Google and search for &#8216;vim color&#8217;. I know from a long time ago that Eclipse allows us to change the color preference of our editor. Hence I [...]]]></description>
			<content:encoded><![CDATA[<p>The default theme of Eclipse is good, but I must admit that with some configuration, Vim can show code better. And this is pretty easy, just go to Google and search for &#8216;vim color&#8217;.</p>
<p>I know from a long time ago that Eclipse allows us to change the color preference of our editor. Hence I never change the default since it is just too much hassle to do that. Not counting that when I reinstall Eclipse, I might have to reconfigure all that stuffs. </p>
<p>So when I found this plugin <a href="http://marketplace.eclipse.org/content/eclipse-color-theme">Eclipse Color Theme</a>, I know I will like the plugin. But God, how I&#8217;m still surprised to see the result.</p>
<p><a href="http://blog.firdau.si/wp-content/uploads/2011/01/colorTheme.png"><img src="http://blog.firdau.si/wp-content/uploads/2011/01/colorTheme-e1296137798884.png" alt="" title="colorTheme" width="500" height="349" class="aligncenter size-full wp-image-211" /></a></p>
<p>Do you like it? There are even more themes you can download <a href="http://www.eclipsecolorthemes.org/">here</a>.</p>
<div class="plus-one-wrap"><g:plusone size="small" href="http://blog.firdau.si/2011/01/27/fresh-look-for-your-eclipse-editor/"></g:plusone></div><p><a href="http://blog.firdau.si/2011/01/27/fresh-look-for-your-eclipse-editor/" rel="bookmark">Fresh look for your Eclipse editor</a> originally appeared on <a href="http://blog.firdau.si">firdau.si</a> on January 27, 2011.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.firdau.si/2011/01/27/fresh-look-for-your-eclipse-editor/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>&#9733; Representation of class in Scala</title>
		<link>http://blog.firdau.si/2011/01/27/representation-of-class-in-scala/</link>
		<comments>http://blog.firdau.si/2011/01/27/representation-of-class-in-scala/#comments</comments>
		<pubDate>Thu, 27 Jan 2011 09:30:50 +0000</pubDate>
		<dc:creator>nanda</dc:creator>
				<category><![CDATA[scala]]></category>
		<category><![CDATA[scala type system]]></category>

		<guid isPermaLink="false">http://blog.firdau.si/?p=208</guid>
		<description><![CDATA[Seems very simple but can be source of frustration. So, how to represent class in Scala? In Java, you refer to a class by adding .class at the end of the class name. In Scala, you get the equivalent of that by using classOf[]. An example for referring String class is as follow: You can [...]]]></description>
			<content:encoded><![CDATA[<p>Seems very simple but can be source of frustration. So, how to represent class in Scala?</p>
<p>In Java, you refer to a class by adding <code>.class</code> at the end of the class name. In Scala, you get the equivalent of that by using <code>classOf[]</code>. </p>
<p>An example for referring String class is as follow:</p>
<pre class="brush: scala; title: ; notranslate">
classOf[String]
</pre>
<p>You can read more about Scala Type System <a href="http://programming-scala.labs.oreilly.com/ch12.html">here</a>. </p>
<div class="plus-one-wrap"><g:plusone size="small" href="http://blog.firdau.si/2011/01/27/representation-of-class-in-scala/"></g:plusone></div><p><a href="http://blog.firdau.si/2011/01/27/representation-of-class-in-scala/" rel="bookmark">Representation of class in Scala</a> originally appeared on <a href="http://blog.firdau.si">firdau.si</a> on January 27, 2011.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.firdau.si/2011/01/27/representation-of-class-in-scala/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title><![CDATA[Google Cloud Print?]]></title>
		<link><![CDATA[http://www.google.com/chrome/intl/en/p/cloudprint.html]]></link>
		<comments>http://blog.firdau.si/2011/01/24/google-cloud-print/#comments</comments>
		<pubDate>Mon, 24 Jan 2011 20:43:32 +0000</pubDate>
		<dc:creator>nanda</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://blog.firdau.si/?p=200</guid>
		<description><![CDATA[Will it be a better solution than AirPrint? By connecting your printer with the Google Cloud you will be able to print to your printer from any computer or smart phone, regardless of where you are. Just activate the Google Cloud Print connector in Google Chrome and your printer will automatically be available to you [...]<p><a href="http://blog.firdau.si/2011/01/24/google-cloud-print/" rel="bookmark" title="Permanent link to 'Google Cloud Print?'" class="glyph">&#9733;</a></p>
]]></description>
			<content:encoded><![CDATA[<p>Will it be a better solution than <a href="http://www.apple.com/ipad/features/airprint.html">AirPrint</a>?</p>
<blockquote><p>By connecting your printer with the Google Cloud you will be able to print to your printer from any computer or smart phone, regardless of where you are. Just activate the Google Cloud Print connector in Google Chrome and your printer will automatically be available to you from Google Cloud Print enabled web and mobile apps.</p></blockquote>
<p><a href="http://blog.firdau.si/2011/01/24/google-cloud-print/" rel="bookmark" title="Permanent link to 'Google Cloud Print?'" class="glyph">&#9733;</a></p>
<div class="plus-one-wrap"><g:plusone size="small" href="http://blog.firdau.si/2011/01/24/google-cloud-print/"></g:plusone></div><p><a href="http://blog.firdau.si/2011/01/24/google-cloud-print/" rel="bookmark">Google Cloud Print?</a> originally appeared on <a href="http://blog.firdau.si">firdau.si</a> on January 24, 2011.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.firdau.si/2011/01/24/google-cloud-print/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

