<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:trackback="http://madskills.com/public/xml/rss/module/trackback/" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:copyright="http://blogs.law.harvard.edu/tech/rss" xmlns:image="http://purl.org/rss/1.0/modules/image/">
    <channel>
        <title>Fun</title>
        <link>http://geekswithblogs.net/hammett/category/3806.aspx</link>
        <description>Fun</description>
        <language>en-US</language>
        <copyright>hamilton verissimo</copyright>
        <managingEditor>hammett@gmail.com</managingEditor>
        <generator>Subtext Version 0.0.0.0</generator>
        <item>
            <title>Does your wife or girlfriend...</title>
            <link>http://geekswithblogs.net/hammett/archive/2006/05/04/77238.aspx</link>
            <description>&lt;p&gt;
...snore like a bear with sinusitis? Please tell me I'm not alone on this!
&lt;/p&gt;&lt;p&gt;&lt;a href="http://www.pheedo.com/click.phdo?x=6cda6ad746d942b9a1110d0715a4fa12&amp;u=77238"&gt;&lt;img src="http://www.pheedo.com/img.phdo?x=6cda6ad746d942b9a1110d0715a4fa12&amp;u=77238" border="0"/&gt;&lt;/a&gt;&lt;/p&gt;&lt;iframe src="http://ads.geekswithblogs.net/a.aspx?ZoneID=5&amp;amp;Task=Get&amp;amp;PageID=31016&amp;amp;SiteID=1" width=1 height=1 Marginwidth=0 Marginheight=0 Hspace=0 Vspace=0 Frameborder=0 Scrolling=No&gt;
&lt;script language='javascript1.1' src="http://ads.geekswithblogs.net/a.aspx?ZoneID=5&amp;amp;Task=Get&amp;amp;Browser=NETSCAPE4&amp;amp;NoCache=True&amp;PageID=31016&amp;amp;SiteID=1"&gt;&lt;/script&gt;
&lt;noscript&gt;&lt;a href="http://ads.geekswithblogs.net/a.aspx?ZoneID=5&amp;amp;Task=Click&amp;amp;Mode=HTML&amp;amp;SiteID=1&amp;amp;PageID=31016" target="_blank"&gt;
&lt;img src="http://ads.geekswithblogs.net/a.aspx?ZoneID=5&amp;amp;Task=Get&amp;amp;Mode=HTML&amp;amp;SiteID=1&amp;amp;PageID=31016" width="1" height="1" border="0"  alt=""&gt;&lt;/a&gt;
&lt;/noscript&gt;
&lt;/iframe&gt;
&lt;img src="http://geekswithblogs.net/hammett/aggbug/77238.aspx" width="1" height="1" /&gt;</description>
            <dc:creator>hamilton verissimo</dc:creator>
            <guid>http://geekswithblogs.net/hammett/archive/2006/05/04/77238.aspx</guid>
            <pubDate>Thu, 04 May 2006 13:11:00 GMT</pubDate>
            <wfw:comment>http://geekswithblogs.net/hammett/comments/77238.aspx</wfw:comment>
            <comments>http://geekswithblogs.net/hammett/archive/2006/05/04/77238.aspx#feedback</comments>
            <slash:comments>3</slash:comments>
            <wfw:commentRss>http://geekswithblogs.net/hammett/comments/commentRss/77238.aspx</wfw:commentRss>
            <trackback:ping>http://geekswithblogs.net/hammett/services/trackbacks/77238.aspx</trackback:ping>
        </item>
        <item>
            <title>Silent Hill - the movie</title>
            <link>http://geekswithblogs.net/hammett/archive/2006/04/25/76385.aspx</link>
            <description>&lt;p&gt;
If you've played all Silent Hill games (I still need to complete SH4) I strongly advise you to go and see this movie. It's very cool ! It could be way better, though. :-)
&lt;/p&gt;&lt;p&gt;&lt;a href="http://www.pheedo.com/click.phdo?x=6cda6ad746d942b9a1110d0715a4fa12&amp;u=76385"&gt;&lt;img src="http://www.pheedo.com/img.phdo?x=6cda6ad746d942b9a1110d0715a4fa12&amp;u=76385" border="0"/&gt;&lt;/a&gt;&lt;/p&gt;&lt;iframe src="http://ads.geekswithblogs.net/a.aspx?ZoneID=5&amp;amp;Task=Get&amp;amp;PageID=31016&amp;amp;SiteID=1" width=1 height=1 Marginwidth=0 Marginheight=0 Hspace=0 Vspace=0 Frameborder=0 Scrolling=No&gt;
&lt;script language='javascript1.1' src="http://ads.geekswithblogs.net/a.aspx?ZoneID=5&amp;amp;Task=Get&amp;amp;Browser=NETSCAPE4&amp;amp;NoCache=True&amp;PageID=31016&amp;amp;SiteID=1"&gt;&lt;/script&gt;
&lt;noscript&gt;&lt;a href="http://ads.geekswithblogs.net/a.aspx?ZoneID=5&amp;amp;Task=Click&amp;amp;Mode=HTML&amp;amp;SiteID=1&amp;amp;PageID=31016" target="_blank"&gt;
&lt;img src="http://ads.geekswithblogs.net/a.aspx?ZoneID=5&amp;amp;Task=Get&amp;amp;Mode=HTML&amp;amp;SiteID=1&amp;amp;PageID=31016" width="1" height="1" border="0"  alt=""&gt;&lt;/a&gt;
&lt;/noscript&gt;
&lt;/iframe&gt;
&lt;img src="http://geekswithblogs.net/hammett/aggbug/76385.aspx" width="1" height="1" /&gt;</description>
            <dc:creator>hamilton verissimo</dc:creator>
            <guid>http://geekswithblogs.net/hammett/archive/2006/04/25/76385.aspx</guid>
            <pubDate>Wed, 26 Apr 2006 02:49:00 GMT</pubDate>
            <wfw:comment>http://geekswithblogs.net/hammett/comments/76385.aspx</wfw:comment>
            <comments>http://geekswithblogs.net/hammett/archive/2006/04/25/76385.aspx#feedback</comments>
            <slash:comments>2</slash:comments>
            <wfw:commentRss>http://geekswithblogs.net/hammett/comments/commentRss/76385.aspx</wfw:commentRss>
            <trackback:ping>http://geekswithblogs.net/hammett/services/trackbacks/76385.aspx</trackback:ping>
        </item>
        <item>
            <title>MonoRail job?</title>
            <link>http://geekswithblogs.net/hammett/archive/2006/04/25/76323.aspx</link>
            <description>&lt;p&gt;Funny job ad:&lt;/p&gt;

&lt;p&gt;
&lt;blockquote&gt;
&lt;b&gt;Senior Software Engineer (C#)&lt;/b&gt;
&lt;br/&gt;&lt;br/&gt;
We’re looking for the you! Must be able to be bend software with your mind, create hugely scalable web sites, program like the wind, and not get dizzy while confronted with two huge 20” monitors. We use a lot of C#, .NET, &lt;b&gt;MonoRail&lt;/b&gt;, Indigo. We like to drink beer and eat CheezIts.
&lt;/blockquote&gt;
&lt;/p&gt;

&lt;p&gt;
Btw, if you want to apply for this job, see &lt;A href="http://www.pluck.com/company/jobs.html"&gt;pluck web site&lt;/a&gt;
&lt;/p&gt;

&lt;p&gt;
And another thing: these guys developed the awesome &lt;A href="http://www.shadows.com/"&gt;Shadows&lt;/a&gt;
&lt;/p&gt;
&lt;p&gt;&lt;a href="http://www.pheedo.com/click.phdo?x=6cda6ad746d942b9a1110d0715a4fa12&amp;u=76323"&gt;&lt;img src="http://www.pheedo.com/img.phdo?x=6cda6ad746d942b9a1110d0715a4fa12&amp;u=76323" border="0"/&gt;&lt;/a&gt;&lt;/p&gt;&lt;iframe src="http://ads.geekswithblogs.net/a.aspx?ZoneID=5&amp;amp;Task=Get&amp;amp;PageID=31016&amp;amp;SiteID=1" width=1 height=1 Marginwidth=0 Marginheight=0 Hspace=0 Vspace=0 Frameborder=0 Scrolling=No&gt;
&lt;script language='javascript1.1' src="http://ads.geekswithblogs.net/a.aspx?ZoneID=5&amp;amp;Task=Get&amp;amp;Browser=NETSCAPE4&amp;amp;NoCache=True&amp;PageID=31016&amp;amp;SiteID=1"&gt;&lt;/script&gt;
&lt;noscript&gt;&lt;a href="http://ads.geekswithblogs.net/a.aspx?ZoneID=5&amp;amp;Task=Click&amp;amp;Mode=HTML&amp;amp;SiteID=1&amp;amp;PageID=31016" target="_blank"&gt;
&lt;img src="http://ads.geekswithblogs.net/a.aspx?ZoneID=5&amp;amp;Task=Get&amp;amp;Mode=HTML&amp;amp;SiteID=1&amp;amp;PageID=31016" width="1" height="1" border="0"  alt=""&gt;&lt;/a&gt;
&lt;/noscript&gt;
&lt;/iframe&gt;
&lt;img src="http://geekswithblogs.net/hammett/aggbug/76323.aspx" width="1" height="1" /&gt;</description>
            <dc:creator>hamilton verissimo</dc:creator>
            <guid>http://geekswithblogs.net/hammett/archive/2006/04/25/76323.aspx</guid>
            <pubDate>Tue, 25 Apr 2006 14:51:00 GMT</pubDate>
            <wfw:comment>http://geekswithblogs.net/hammett/comments/76323.aspx</wfw:comment>
            <comments>http://geekswithblogs.net/hammett/archive/2006/04/25/76323.aspx#feedback</comments>
            <slash:comments>2</slash:comments>
            <wfw:commentRss>http://geekswithblogs.net/hammett/comments/commentRss/76323.aspx</wfw:commentRss>
            <trackback:ping>http://geekswithblogs.net/hammett/services/trackbacks/76323.aspx</trackback:ping>
        </item>
        <item>
            <title>Vacations</title>
            <link>http://geekswithblogs.net/hammett/archive/2006/03/17/72655.aspx</link>
            <description>&lt;p&gt;
I can't remember the last time I had vacations. When I've been to London, as any ordinary geek, I used my time to really focus on studying english, thus it wasn't really vacations... I'm also taking a few books (7) and hopefully will find my peace to think about the MonoRail Caching and the new and improved DynamicProxy.
&lt;/p&gt;
&lt;p&gt;
Anyway, I'm leaving in a few hours, gonna drive for about 12 hours nonstop. I wish the weather were a little &lt;a href="http://br.weather.com/weather/local/BRXX0319?par=folha&amp;site=www.folha.com.br&amp;promo=0"&gt;better&lt;/a&gt; :-(
&lt;/p&gt;
&lt;p&gt;
Stay tunned on my &lt;a href="http://www.flickr.com/photos/hammett/"&gt;flickr&lt;/a&gt;, too!
&lt;/p&gt;
&lt;p&gt;&lt;a href="http://www.pheedo.com/click.phdo?x=6cda6ad746d942b9a1110d0715a4fa12&amp;u=72655"&gt;&lt;img src="http://www.pheedo.com/img.phdo?x=6cda6ad746d942b9a1110d0715a4fa12&amp;u=72655" border="0"/&gt;&lt;/a&gt;&lt;/p&gt;&lt;iframe src="http://ads.geekswithblogs.net/a.aspx?ZoneID=5&amp;amp;Task=Get&amp;amp;PageID=31016&amp;amp;SiteID=1" width=1 height=1 Marginwidth=0 Marginheight=0 Hspace=0 Vspace=0 Frameborder=0 Scrolling=No&gt;
&lt;script language='javascript1.1' src="http://ads.geekswithblogs.net/a.aspx?ZoneID=5&amp;amp;Task=Get&amp;amp;Browser=NETSCAPE4&amp;amp;NoCache=True&amp;PageID=31016&amp;amp;SiteID=1"&gt;&lt;/script&gt;
&lt;noscript&gt;&lt;a href="http://ads.geekswithblogs.net/a.aspx?ZoneID=5&amp;amp;Task=Click&amp;amp;Mode=HTML&amp;amp;SiteID=1&amp;amp;PageID=31016" target="_blank"&gt;
&lt;img src="http://ads.geekswithblogs.net/a.aspx?ZoneID=5&amp;amp;Task=Get&amp;amp;Mode=HTML&amp;amp;SiteID=1&amp;amp;PageID=31016" width="1" height="1" border="0"  alt=""&gt;&lt;/a&gt;
&lt;/noscript&gt;
&lt;/iframe&gt;
&lt;img src="http://geekswithblogs.net/hammett/aggbug/72655.aspx" width="1" height="1" /&gt;</description>
            <dc:creator>hamilton verissimo</dc:creator>
            <guid>http://geekswithblogs.net/hammett/archive/2006/03/17/72655.aspx</guid>
            <pubDate>Fri, 17 Mar 2006 21:22:00 GMT</pubDate>
            <wfw:comment>http://geekswithblogs.net/hammett/comments/72655.aspx</wfw:comment>
            <comments>http://geekswithblogs.net/hammett/archive/2006/03/17/72655.aspx#feedback</comments>
            <slash:comments>2</slash:comments>
            <wfw:commentRss>http://geekswithblogs.net/hammett/comments/commentRss/72655.aspx</wfw:commentRss>
            <trackback:ping>http://geekswithblogs.net/hammett/services/trackbacks/72655.aspx</trackback:ping>
        </item>
        <item>
            <title>Weekend experiences</title>
            <link>http://geekswithblogs.net/hammett/archive/2006/01/28/67435.aspx</link>
            <description>&lt;p&gt;I was able to compile and run the following code&lt;/p&gt;

&lt;pre&gt;
x = 10
x = x + 1
&lt;/pre&gt;

&lt;p&gt;Yeah, stupid, innit? You may look closer and realise that &lt;/p&gt;

&lt;p&gt;
&lt;ul&gt;
&lt;li&gt; 'x' is an undeclared variable&lt;/li&gt;
&lt;li&gt; 'x' type is thus not defined&lt;/li&gt;
&lt;li&gt; 'x''s type is inferred based on operations of attribution that follows the first appearance&lt;/li&gt;
&lt;/ul&gt;
&lt;/p&gt;

&lt;p&gt;
So x goes to a SymbolTable. Every assign expression that uses it is registered as a candidate on the SymbolTable entry. During the type resolval step it's easy to resolve the type of the first assign:
&lt;/p&gt;

&lt;pre&gt;
x = 10 # this is a int32 constant, nothing to compute here
&lt;/pre&gt;

&lt;p&gt;Now the second is trickier:&lt;/p&gt;

&lt;pre&gt;
x = x + 1
&lt;/pre&gt;

&lt;p&gt;
We're now trying to infer the type of a variable based on an expression that uses it. 
&lt;/p&gt;

&lt;p&gt;
Anyway, this is something I need to research more. My naive implementation is shameful.
&lt;/p&gt;

&lt;p&gt;
The IL code generated is:
&lt;/p&gt;

&lt;pre&gt;
.method public hidebysig static void xpto() cil managed
{
      .entrypoint
      // Code Size: 15 byte(s)
      .maxstack 2
      .locals init (
            int32 num1)
      L_0000: ldc.i4 10
      L_0005: stloc.0 
      L_0006: ldloc.0 
      L_0007: ldc.i4 1
      L_000c: add 
      L_000d: stloc.0 
      L_000e: ret 
}
&lt;/pre&gt;

&lt;p&gt;
Which as you can see doesn't have even the minimum of optimization, which should produce
&lt;/p&gt;

&lt;pre&gt;
.method public hidebysig static void xpto() cil managed
{
      .entrypoint
      // Code Size: 15 byte(s)
      .maxstack 2
      .locals init (
            int32 num1)
      L_0000: ldc.i4_s 10  # within a byte range, use the short form
      L_0005: stloc.0 
      L_0006: ldloc.0 
      L_0007: ldc.i4_1     # same thing
      L_000c: add 
      L_000d: stloc.0 
      L_000e: ret 
}
&lt;/pre&gt;

&lt;p&gt;But still better than the version produced by IronPython :-P &lt;/p&gt;
 
&lt;p&gt;I'm still not convinced about construction a 100% dynamic language. A hybrid would be best, but I'd like to hear opinions.&lt;/p&gt;

&lt;p&gt;&lt;a href="http://www.pheedo.com/click.phdo?x=6cda6ad746d942b9a1110d0715a4fa12&amp;u=67435"&gt;&lt;img src="http://www.pheedo.com/img.phdo?x=6cda6ad746d942b9a1110d0715a4fa12&amp;u=67435" border="0"/&gt;&lt;/a&gt;&lt;/p&gt;&lt;iframe src="http://ads.geekswithblogs.net/a.aspx?ZoneID=5&amp;amp;Task=Get&amp;amp;PageID=31016&amp;amp;SiteID=1" width=1 height=1 Marginwidth=0 Marginheight=0 Hspace=0 Vspace=0 Frameborder=0 Scrolling=No&gt;
&lt;script language='javascript1.1' src="http://ads.geekswithblogs.net/a.aspx?ZoneID=5&amp;amp;Task=Get&amp;amp;Browser=NETSCAPE4&amp;amp;NoCache=True&amp;PageID=31016&amp;amp;SiteID=1"&gt;&lt;/script&gt;
&lt;noscript&gt;&lt;a href="http://ads.geekswithblogs.net/a.aspx?ZoneID=5&amp;amp;Task=Click&amp;amp;Mode=HTML&amp;amp;SiteID=1&amp;amp;PageID=31016" target="_blank"&gt;
&lt;img src="http://ads.geekswithblogs.net/a.aspx?ZoneID=5&amp;amp;Task=Get&amp;amp;Mode=HTML&amp;amp;SiteID=1&amp;amp;PageID=31016" width="1" height="1" border="0"  alt=""&gt;&lt;/a&gt;
&lt;/noscript&gt;
&lt;/iframe&gt;
&lt;img src="http://geekswithblogs.net/hammett/aggbug/67435.aspx" width="1" height="1" /&gt;</description>
            <dc:creator>hamilton verissimo</dc:creator>
            <guid>http://geekswithblogs.net/hammett/archive/2006/01/28/67435.aspx</guid>
            <pubDate>Sat, 28 Jan 2006 23:31:00 GMT</pubDate>
            <wfw:comment>http://geekswithblogs.net/hammett/comments/67435.aspx</wfw:comment>
            <comments>http://geekswithblogs.net/hammett/archive/2006/01/28/67435.aspx#feedback</comments>
            <slash:comments>3</slash:comments>
            <wfw:commentRss>http://geekswithblogs.net/hammett/comments/commentRss/67435.aspx</wfw:commentRss>
            <trackback:ping>http://geekswithblogs.net/hammett/services/trackbacks/67435.aspx</trackback:ping>
        </item>
    </channel>
</rss>