<?xml version="1.0" encoding="UTF-8"?><rss
version="2.0"
xmlns:content="http://purl.org/rss/1.0/modules/content/"
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/"
> <channel><title>Comments for Arunrocks</title> <atom:link href="http://www.arunrocks.com/blog/comments/feed/" rel="self" type="application/rss+xml" /><link>http://www.arunrocks.com/blog</link> <description>Representing Anti-monotonistic Tendencies</description> <lastBuildDate>Sat, 06 Mar 2010 18:20:48 -0500</lastBuildDate> <generator>http://wordpress.org/?v=2.8.6</generator> <sy:updatePeriod>hourly</sy:updatePeriod> <sy:updateFrequency>1</sy:updateFrequency> <item><title>Comment on The Dying Art of Talking Simple by Lobo</title><link>http://www.arunrocks.com/blog/archives/2010/03/04/the-dying-art-of-talking-simple/comment-page-1/#comment-2381</link> <dc:creator>Lobo</dc:creator> <pubDate>Sat, 06 Mar 2010 18:20:48 +0000</pubDate> <guid
isPermaLink="false">http://www.arunrocks.com/blog/?p=254#comment-2381</guid> <description>&lt;p&gt;One should keep it simple and precise esp. in the meetings/discussion forums.&lt;/p&gt; </description> <content:encoded><![CDATA[<p>One should keep it simple and precise esp. in the meetings/discussion forums.</p>]]></content:encoded> </item> <item><title>Comment on The Dying Art of Talking Simple by Arun Bhai</title><link>http://www.arunrocks.com/blog/archives/2010/03/04/the-dying-art-of-talking-simple/comment-page-1/#comment-2346</link> <dc:creator>Arun Bhai</dc:creator> <pubDate>Thu, 04 Mar 2010 19:27:48 +0000</pubDate> <guid
isPermaLink="false">http://www.arunrocks.com/blog/?p=254#comment-2346</guid> <description>&lt;p&gt;Well, that was a smashing article, wasn&#039;t it? I got a new found respect for my job, then I realised it was my guilt of being employed in the first place :D&lt;/p&gt; </description> <content:encoded><![CDATA[<p>Well, that was a smashing article, wasn&#8217;t it? I got a new found respect for my job, then I realised it was my guilt of being employed in the first place :D</p>]]></content:encoded> </item> <item><title>Comment on The Dying Art of Talking Simple by Pends</title><link>http://www.arunrocks.com/blog/archives/2010/03/04/the-dying-art-of-talking-simple/comment-page-1/#comment-2343</link> <dc:creator>Pends</dc:creator> <pubDate>Thu, 04 Mar 2010 15:35:48 +0000</pubDate> <guid
isPermaLink="false">http://www.arunrocks.com/blog/?p=254#comment-2343</guid> <description>&lt;p&gt;wotcher !~ .... for a sec, I had a look at your bookmarks and wondered as to when I sent you the link to the Atlantic.com article&lt;/p&gt;&lt;p&gt;it took a long time to sink in - its still possible that both of us perk up and read an article and both bookmark it ( of such in depth analysis combining psychology, finance, economy and evolution of family life ) ... so our reading habits still do overlap a little ;). was so impressed with this article, i&#039;ve sent it to my dad for him to read ...&lt;/p&gt;&lt;p&gt;still remember the good ol&#039; days (when I had my teeth ... ) and two of us sharing opposite cubicles and passing links to each other. well well well - with technology looks like we can still continue ..........&lt;/p&gt;&lt;p&gt;sadly, I do hope that the nay-sayers are proven right. but just in case, i&#039;m not against buckling up my seatbelt for the coming decade. I had a whole new appreciation for my job after reading that article ...&lt;/p&gt; </description> <content:encoded><![CDATA[<p>wotcher !~ &#8230;. for a sec, I had a look at your bookmarks and wondered as to when I sent you the link to the Atlantic.com article</p><p>it took a long time to sink in &#8211; its still possible that both of us perk up and read an article and both bookmark it ( of such in depth analysis combining psychology, finance, economy and evolution of family life ) &#8230; so our reading habits still do overlap a little ;). was so impressed with this article, i&#8217;ve sent it to my dad for him to read &#8230;</p><p>still remember the good ol&#8217; days (when I had my teeth &#8230; ) and two of us sharing opposite cubicles and passing links to each other. well well well &#8211; with technology looks like we can still continue &#8230;&#8230;&#8230;.</p><p>sadly, I do hope that the nay-sayers are proven right. but just in case, i&#8217;m not against buckling up my seatbelt for the coming decade. I had a whole new appreciation for my job after reading that article &#8230;</p>]]></content:encoded> </item> <item><title>Comment on 5 gifts to get from your friends in USA by Veera</title><link>http://www.arunrocks.com/blog/archives/2010/02/13/5-gifts-to-get-from-your-friends-in-usa/comment-page-1/#comment-2189</link> <dc:creator>Veera</dc:creator> <pubDate>Tue, 23 Feb 2010 12:46:52 +0000</pubDate> <guid
isPermaLink="false">http://www.arunrocks.com/blog/?p=243#comment-2189</guid> <description>&lt;p&gt;I always wanted get electronic products/cameras from USA mainly because it is cheaper in USA than India.&lt;/p&gt; </description> <content:encoded><![CDATA[<p>I always wanted get electronic products/cameras from USA mainly because it is cheaper in USA than India.</p>]]></content:encoded> </item> <item><title>Comment on 5 gifts to get from your friends in USA by Deepak Sundar</title><link>http://www.arunrocks.com/blog/archives/2010/02/13/5-gifts-to-get-from-your-friends-in-usa/comment-page-1/#comment-1859</link> <dc:creator>Deepak Sundar</dc:creator> <pubDate>Sat, 13 Feb 2010 14:45:04 +0000</pubDate> <guid
isPermaLink="false">http://www.arunrocks.com/blog/?p=243#comment-1859</guid> <description>&lt;p&gt;One more thing to include. Website billing. :P&lt;/p&gt; </description> <content:encoded><![CDATA[<p>One more thing to include. Website billing. :P</p>]]></content:encoded> </item> <item><title>Comment on Mars Rover in Python and Haskell by Erik Knowles</title><link>http://www.arunrocks.com/blog/archives/2010/02/01/mars-rover-in-python-and-haskell/comment-page-1/#comment-1766</link> <dc:creator>Erik Knowles</dc:creator> <pubDate>Fri, 05 Feb 2010 19:16:45 +0000</pubDate> <guid
isPermaLink="false">http://www.arunrocks.com/blog/?p=234#comment-1766</guid> <description>&lt;p&gt;I have to say, your Python code is just damn beautiful. Wonderfully idiomatic. (Err...one little quibble...using &quot;i&quot; to parse the character instructions gave me a little pause -- I kept trying to figure out what you were doing with the integer inside the eval() expression. Woulda been better to use a more descriptive name.)&lt;/p&gt; </description> <content:encoded><![CDATA[<p>I have to say, your Python code is just damn beautiful. Wonderfully idiomatic. (Err&#8230;one little quibble&#8230;using &#8220;i&#8221; to parse the character instructions gave me a little pause &#8212; I kept trying to figure out what you were doing with the integer inside the eval() expression. Woulda been better to use a more descriptive name.)</p>]]></content:encoded> </item> <item><title>Comment on Workaround to Easy Install PIL on Windows by niceguydave</title><link>http://www.arunrocks.com/blog/archives/2008/08/30/workaround-to-easy-install-pil-on-windows/comment-page-1/#comment-1755</link> <dc:creator>niceguydave</dc:creator> <pubDate>Thu, 04 Feb 2010 19:47:18 +0000</pubDate> <guid
isPermaLink="false">http://www.arunrocks.com/blog/?p=133#comment-1755</guid> <description>&lt;p&gt;Thanks for tip! As someone new to Django/Python this really helped me.&lt;/p&gt; </description> <content:encoded><![CDATA[<p>Thanks for tip! As someone new to Django/Python this really helped me.</p>]]></content:encoded> </item> <item><title>Comment on Mars Rover in Python and Haskell by Arun Bhai</title><link>http://www.arunrocks.com/blog/archives/2010/02/01/mars-rover-in-python-and-haskell/comment-page-1/#comment-1748</link> <dc:creator>Arun Bhai</dc:creator> <pubDate>Thu, 04 Feb 2010 05:18:11 +0000</pubDate> <guid
isPermaLink="false">http://www.arunrocks.com/blog/?p=234#comment-1748</guid> <description>&lt;p&gt;Apologies for not mentioning that comments are have markdown processing enabled. I have fixed the formatting in your original comment.&lt;/p&gt; </description> <content:encoded><![CDATA[<p>Apologies for not mentioning that comments are have markdown processing enabled. I have fixed the formatting in your original comment.</p>]]></content:encoded> </item> <item><title>Comment on Mars Rover in Python and Haskell by Roger Gammans</title><link>http://www.arunrocks.com/blog/archives/2010/02/01/mars-rover-in-python-and-haskell/comment-page-1/#comment-1745</link> <dc:creator>Roger Gammans</dc:creator> <pubDate>Wed, 03 Feb 2010 23:34:52 +0000</pubDate> <guid
isPermaLink="false">http://www.arunrocks.com/blog/?p=234#comment-1745</guid> <description>&lt;p&gt;Pah Thats:-
&lt;pre&gt;
r = lambda x, a: (x, -1j * a )
l = lambda x, a: (x,  1j *  a )
&lt;/pre&gt;&lt;/p&gt;&lt;p&gt;And the interpreter line of :-
for i in instrns: pos = locals ( ) [ i ]( * pos )&lt;/p&gt;&lt;p&gt;which keeps getting eaten by the blog softtware,..&lt;/p&gt; </description> <content:encoded><![CDATA[<p>Pah Thats:-<pre>
r = lambda x, a: (x, -1j * a )
l = lambda x, a: (x,  1j *  a )
</pre></p><p>And the interpreter line of :-
for i in instrns: pos = locals ( ) [ i ]( * pos )</p><p>which keeps getting eaten by the blog softtware,..</p>]]></content:encoded> </item> <item><title>Comment on Mars Rover in Python and Haskell by Roger Gammans</title><link>http://www.arunrocks.com/blog/archives/2010/02/01/mars-rover-in-python-and-haskell/comment-page-1/#comment-1744</link> <dc:creator>Roger Gammans</dc:creator> <pubDate>Wed, 03 Feb 2010 23:31:01 +0000</pubDate> <guid
isPermaLink="false">http://www.arunrocks.com/blog/?p=234#comment-1744</guid> <description>&lt;p&gt;If your using complex arithmetic you can recode the the l() and r() functions as rotations in complex form are equivalent to multiplications.&lt;/p&gt;&lt;p&gt;That and making dirs a dict gives the following:-
&lt;pre&gt;
dirs =  { &#039;N&#039;:1j, &#039;E&#039;:1, &#039;S&#039;:-1j, &#039;W&#039;:-1j }
rdirs=dict(reversed(d) for d in dirs.items())
r = lambda x, a: (x, -1j * a )
l = lambda x, a: (x,  1j *  a )
m = lambda x, a: (x + a, a )
raw_input()                     # Ignore the grid size
while 1:
# parse initial position triplet
x, y, dir = raw_input().split()
pos = (int(x) + 1j * int(y),dirs[dir] )
# parse instructions
instrns = raw_input().lower()
# Invoke the corresponding functions passing prev position
for i in instrns: pos = locals ( ) [ i ]( * pos )
print int(pos[0].real), int(pos[0].imag), rdirs[pos[1]]
&lt;/pre&gt;
Tested aginst the test vector only.&lt;/p&gt; </description> <content:encoded><![CDATA[<p>If your using complex arithmetic you can recode the the l() and r() functions as rotations in complex form are equivalent to multiplications.</p><p>That and making dirs a dict gives the following:-<pre>
dirs =  { 'N':1j, 'E':1, 'S':-1j, 'W':-1j }
rdirs=dict(reversed(d) for d in dirs.items())
r = lambda x, a: (x, -1j * a )
l = lambda x, a: (x,  1j *  a )
m = lambda x, a: (x + a, a )
raw_input()                     # Ignore the grid size
while 1:
    # parse initial position triplet
    x, y, dir = raw_input().split() 
    pos = (int(x) + 1j * int(y),dirs[dir] )
    # parse instructions
    instrns = raw_input().lower() 
    # Invoke the corresponding functions passing prev position
    for i in instrns: pos = locals ( ) [ i ]( * pos )
    print int(pos[0].real), int(pos[0].imag), rdirs[pos[1]]
</pre>Tested aginst the test vector only.</p>]]></content:encoded> </item> </channel> </rss><!--
This site's performance optimized by W3 Total Cache. Dramatically improve the speed and reliability of your blog!

Learn more about our WordPress Plugins: http://www.w3-edge.com/wordpress-plugins/

Minified using disk
Page Caching using disk (user agent is rejected)
Database Caching 8/23 queries in 0.091 seconds using disk

Served from: mshawking.asmallorange.com @ 2010-03-11 21:01:42 -->