<?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 russiantequila</title>
	<atom:link href="http://www.russiantequila.com/wordpress/index.php?feed=comments-rss2" rel="self" type="application/rss+xml" />
	<link>http://www.russiantequila.com/wordpress</link>
	<description>tech babble. random musings. no homers.</description>
	<lastBuildDate>Fri, 30 Jul 2010 19:55:59 -0400</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.6</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>Comment on On the heels of Google IO &#8211; playing with HTML5 and F# web services by pete</title>
		<link>http://www.russiantequila.com/wordpress/?p=70&#038;cpage=1#comment-4310</link>
		<dc:creator>pete</dc:creator>
		<pubDate>Fri, 30 Jul 2010 19:55:59 +0000</pubDate>
		<guid isPermaLink="false">http://www.russiantequila.com/wordpress/?p=70#comment-4310</guid>
		<description>both are wrong...I havent tried this, but looking at the Fibonacci values, I need to start furthur up the sequence as the lower values are not exactly the same (3/5 = .6,  8/5 = .615, 89/144=.618). 
Thanks.</description>
		<content:encoded><![CDATA[<p>both are wrong&#8230;I havent tried this, but looking at the Fibonacci values, I need to start furthur up the sequence as the lower values are not exactly the same (3/5 = .6,  8/5 = .615, 89/144=.618).<br />
Thanks.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on On the heels of Google IO &#8211; playing with HTML5 and F# web services by alex p</title>
		<link>http://www.russiantequila.com/wordpress/?p=70&#038;cpage=1#comment-4302</link>
		<dc:creator>alex p</dc:creator>
		<pubDate>Thu, 29 Jul 2010 21:52:57 +0000</pubDate>
		<guid isPermaLink="false">http://www.russiantequila.com/wordpress/?p=70#comment-4302</guid>
		<description>so what&#039;s wrong then - the tile sizes, or their locations? you might get rounding errors in arcX/arcY - i think those will be integers based on how your code is written.</description>
		<content:encoded><![CDATA[<p>so what&#8217;s wrong then &#8211; the tile sizes, or their locations? you might get rounding errors in arcX/arcY &#8211; i think those will be integers based on how your code is written.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on On the heels of Google IO &#8211; playing with HTML5 and F# web services by pete</title>
		<link>http://www.russiantequila.com/wordpress/?p=70&#038;cpage=1#comment-4296</link>
		<dc:creator>pete</dc:creator>
		<pubDate>Wed, 28 Jul 2010 15:23:47 +0000</pubDate>
		<guid isPermaLink="false">http://www.russiantequila.com/wordpress/?p=70#comment-4296</guid>
		<description>Thanks for the reply.
I&#039;m not actually plotting the values on screen yet. I&#039;m only drawing the tiles out by hand so see if my conversion is correct. The values will be plotted on a WPF canvas and I&#039;m still searching for the correct method to do that. (Arcsegement seems to be a possiblity but it doesnt use degrees or radians.) The JS to C# conversion was not an issue except I wasnt exactly sure I got the drawFactor right or possibly some other rounding issue.</description>
		<content:encoded><![CDATA[<p>Thanks for the reply.<br />
I&#8217;m not actually plotting the values on screen yet. I&#8217;m only drawing the tiles out by hand so see if my conversion is correct. The values will be plotted on a WPF canvas and I&#8217;m still searching for the correct method to do that. (Arcsegement seems to be a possiblity but it doesnt use degrees or radians.) The JS to C# conversion was not an issue except I wasnt exactly sure I got the drawFactor right or possibly some other rounding issue.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on On the heels of Google IO &#8211; playing with HTML5 and F# web services by alex p</title>
		<link>http://www.russiantequila.com/wordpress/?p=70&#038;cpage=1#comment-4293</link>
		<dc:creator>alex p</dc:creator>
		<pubDate>Wed, 28 Jul 2010 06:36:25 +0000</pubDate>
		<guid isPermaLink="false">http://www.russiantequila.com/wordpress/?p=70#comment-4293</guid>
		<description>what do you mean your numbers are wrong? the tilings? assuming you just copied the source (no reason not to - basic js should be the same as c#), then the only thing i can think of is maybe it&#039;s expecting degrees instead of radians?</description>
		<content:encoded><![CDATA[<p>what do you mean your numbers are wrong? the tilings? assuming you just copied the source (no reason not to &#8211; basic js should be the same as c#), then the only thing i can think of is maybe it&#8217;s expecting degrees instead of radians?</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on On the heels of Google IO &#8211; playing with HTML5 and F# web services by pkz</title>
		<link>http://www.russiantequila.com/wordpress/?p=70&#038;cpage=1#comment-4292</link>
		<dc:creator>pkz</dc:creator>
		<pubDate>Wed, 28 Jul 2010 06:19:57 +0000</pubDate>
		<guid isPermaLink="false">http://www.russiantequila.com/wordpress/?p=70#comment-4292</guid>
		<description>Trying to convert this to C#, but my numbers arent quite right:
            //
            var x = canvas.ActualWidth / 2;
            var y = canvas.ActualHeight / 2;
            var arcX = x;
            var arcY = y;

            // just hard code them
            int[] FibonacciValues = {0,1, 1, 2, 3, 5, 8, 13, 21, 34, 55, 89, 144, 233};

            var drawFactor = Math.Min(canvas.ActualWidth, canvas.ActualHeight) / (2 * (FibonacciValues[FibonacciValues.Length -1])) + 1;

            for (var i = 1; i &lt; FibonacciValues.Length; i++)
            {

                var last = FibonacciValues[i - 1];
                var current = FibonacciValues[i];

                var num = current * drawFactor;
                var lastNum = last * drawFactor;
                var idx = i - 2;

                var startAngle = 0.0;
                var endAngle = 0.0;
                switch (idx % 4)
                {
                    case 0:
                        x += lastNum;
                        y += lastNum - num;
                        arcX = x;
                        arcY = y;
                        startAngle = Math.PI / 2;
                        endAngle = Math.PI * 2;
                        break;
                    case 1:
                        x -= num - lastNum;
                        y -= num;
                        arcX = x;
                        arcY = y + num;
                        startAngle = Math.PI * 2;
                        endAngle = Math.PI * 3 / 2;
                        break;
                    case 2:
                        x -= num;
                        arcX = x + num;
                        arcY = y + num;
                        startAngle = Math.PI * 3 / 2;
                        endAngle = Math.PI;
                        break;
                    case 3:
                        y += lastNum;
                        arcX = x + num;
                        arcY = y;
                        startAngle = Math.PI;
                        endAngle = Math.PI / 2;
                        break;
                }

                if (idx &lt; 0)
                    continue;

            }

any idea of where I went wrong?</description>
		<content:encoded><![CDATA[<p>Trying to convert this to C#, but my numbers arent quite right:<br />
            //<br />
            var x = canvas.ActualWidth / 2;<br />
            var y = canvas.ActualHeight / 2;<br />
            var arcX = x;<br />
            var arcY = y;</p>
<p>            // just hard code them<br />
            int[] FibonacciValues = {0,1, 1, 2, 3, 5, 8, 13, 21, 34, 55, 89, 144, 233};</p>
<p>            var drawFactor = Math.Min(canvas.ActualWidth, canvas.ActualHeight) / (2 * (FibonacciValues[FibonacciValues.Length -1])) + 1;</p>
<p>            for (var i = 1; i &lt; FibonacciValues.Length; i++)<br />
            {</p>
<p>                var last = FibonacciValues[i - 1];<br />
                var current = FibonacciValues[i];</p>
<p>                var num = current * drawFactor;<br />
                var lastNum = last * drawFactor;<br />
                var idx = i &#8211; 2;</p>
<p>                var startAngle = 0.0;<br />
                var endAngle = 0.0;<br />
                switch (idx % 4)<br />
                {<br />
                    case 0:<br />
                        x += lastNum;<br />
                        y += lastNum &#8211; num;<br />
                        arcX = x;<br />
                        arcY = y;<br />
                        startAngle = Math.PI / 2;<br />
                        endAngle = Math.PI * 2;<br />
                        break;<br />
                    case 1:<br />
                        x -= num &#8211; lastNum;<br />
                        y -= num;<br />
                        arcX = x;<br />
                        arcY = y + num;<br />
                        startAngle = Math.PI * 2;<br />
                        endAngle = Math.PI * 3 / 2;<br />
                        break;<br />
                    case 2:<br />
                        x -= num;<br />
                        arcX = x + num;<br />
                        arcY = y + num;<br />
                        startAngle = Math.PI * 3 / 2;<br />
                        endAngle = Math.PI;<br />
                        break;<br />
                    case 3:<br />
                        y += lastNum;<br />
                        arcX = x + num;<br />
                        arcY = y;<br />
                        startAngle = Math.PI;<br />
                        endAngle = Math.PI / 2;<br />
                        break;<br />
                }</p>
<p>                if (idx &lt; 0)<br />
                    continue;</p>
<p>            }</p>
<p>any idea of where I went wrong?</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Introducing LoveSeat &#8211; a light-weight editor for CouchDB by alex p</title>
		<link>http://www.russiantequila.com/wordpress/?p=119&#038;cpage=1#comment-4280</link>
		<dc:creator>alex p</dc:creator>
		<pubDate>Mon, 26 Jul 2010 17:28:21 +0000</pubDate>
		<guid isPermaLink="false">http://www.russiantequila.com/wordpress/?p=119#comment-4280</guid>
		<description>hm. i&#039;ve been testing mono on osx. time build an ubuntu vm.</description>
		<content:encoded><![CDATA[<p>hm. i&#8217;ve been testing mono on osx. time build an ubuntu vm.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Introducing LoveSeat &#8211; a light-weight editor for CouchDB by Migs</title>
		<link>http://www.russiantequila.com/wordpress/?p=119&#038;cpage=1#comment-4267</link>
		<dc:creator>Migs</dc:creator>
		<pubDate>Thu, 22 Jul 2010 12:33:15 +0000</pubDate>
		<guid isPermaLink="false">http://www.russiantequila.com/wordpress/?p=119#comment-4267</guid>
		<description>Hi Alex,

Not really sure either what would cause this reaction to a different LANG env setting. I&#039;d love to be able to nail this down, but .NET/Mono development is beyond me. I might be able to squeeze in checking the code as I&#039;ve been meaning to learn .NET/Mono anyway, but that will happen in a couple of weeks, as I&#039;ve got a deadline to catch.

I forgot to mention that I ran it against mono on Lucid.</description>
		<content:encoded><![CDATA[<p>Hi Alex,</p>
<p>Not really sure either what would cause this reaction to a different LANG env setting. I&#8217;d love to be able to nail this down, but .NET/Mono development is beyond me. I might be able to squeeze in checking the code as I&#8217;ve been meaning to learn .NET/Mono anyway, but that will happen in a couple of weeks, as I&#8217;ve got a deadline to catch.</p>
<p>I forgot to mention that I ran it against mono on Lucid.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Introducing LoveSeat &#8211; a light-weight editor for CouchDB by alex p</title>
		<link>http://www.russiantequila.com/wordpress/?p=119&#038;cpage=1#comment-4264</link>
		<dc:creator>alex p</dc:creator>
		<pubDate>Wed, 21 Jul 2010 21:36:27 +0000</pubDate>
		<guid isPermaLink="false">http://www.russiantequila.com/wordpress/?p=119#comment-4264</guid>
		<description>interesting. i wonder what C has to do with locale, especially since it should be turning off syntax highlighting when running on mono...</description>
		<content:encoded><![CDATA[<p>interesting. i wonder what C has to do with locale, especially since it should be turning off syntax highlighting when running on mono&#8230;</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Introducing LoveSeat &#8211; a light-weight editor for CouchDB by Migs</title>
		<link>http://www.russiantequila.com/wordpress/?p=119&#038;cpage=1#comment-4261</link>
		<dc:creator>Migs</dc:creator>
		<pubDate>Tue, 20 Jul 2010 18:11:30 +0000</pubDate>
		<guid isPermaLink="false">http://www.russiantequila.com/wordpress/?p=119#comment-4261</guid>
		<description>Seems that that the LANG environment variable has to be set to C. otherwise, it crashes every few keystrokes (or mouseclicks as the case may be...) what tipped me off was the error 
&quot;X does not support your locale&quot; when running it from a terminal. a simple export LANG=C did the trick.</description>
		<content:encoded><![CDATA[<p>Seems that that the LANG environment variable has to be set to C. otherwise, it crashes every few keystrokes (or mouseclicks as the case may be&#8230;) what tipped me off was the error<br />
&#8220;X does not support your locale&#8221; when running it from a terminal. a simple export LANG=C did the trick.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Introducing furious &#8211; a proof-of-concept RRM for F# by Rick Minerich's Development Wonderland</title>
		<link>http://www.russiantequila.com/wordpress/?p=149&#038;cpage=1#comment-4248</link>
		<dc:creator>Rick Minerich's Development Wonderland</dc:creator>
		<pubDate>Fri, 16 Jul 2010 15:49:48 +0000</pubDate>
		<guid isPermaLink="false">http://www.russiantequila.com/wordpress/?p=149#comment-4248</guid>
		<description>&lt;strong&gt;F# Discoveries This Week 07/16/2010...&lt;/strong&gt;

As promised, a fresh batch of links to sooth your aching desire for more F#.&#160; I’m particularly excited...</description>
		<content:encoded><![CDATA[<p><strong>F# Discoveries This Week 07/16/2010&#8230;</strong></p>
<p>As promised, a fresh batch of links to sooth your aching desire for more F#.&#160; I’m particularly excited&#8230;</p>
]]></content:encoded>
	</item>
</channel>
</rss>
