<?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 on: Telogis Puzzle</title>
	<atom:link href="http://lojic.com/blog/2007/09/19/telogis-puzzle/feed/" rel="self" type="application/rss+xml" />
	<link>http://lojic.com/blog/2007/09/19/telogis-puzzle/</link>
	<description></description>
	<lastBuildDate>Sun, 25 Dec 2011 09:28:24 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.4</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: Brian Adkins</title>
		<link>http://lojic.com/blog/2007/09/19/telogis-puzzle/comment-page-1/#comment-88</link>
		<dc:creator>Brian Adkins</dc:creator>
		<pubDate>Fri, 14 Dec 2007 03:32:06 +0000</pubDate>
		<guid isPermaLink="false">http://lojic.com/blog/2007/09/19/telogis-puzzle/#comment-88</guid>
		<description>@Ralph hmm... I hadn&#039;t thought about the problem of publishing a solution too soon. If you check back here, let me know what you think would be an appropriate waiting period before posting a solution. Although, I&#039;m sure you can find out rather quickly if a candidate is the type to simply look up a solution instead of solving it themselves.</description>
		<content:encoded><![CDATA[<p>@Ralph hmm&#8230; I hadn&#8217;t thought about the problem of publishing a solution too soon. If you check back here, let me know what you think would be an appropriate waiting period before posting a solution. Although, I&#8217;m sure you can find out rather quickly if a candidate is the type to simply look up a solution instead of solving it themselves.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Ralph Mason</title>
		<link>http://lojic.com/blog/2007/09/19/telogis-puzzle/comment-page-1/#comment-87</link>
		<dc:creator>Ralph Mason</dc:creator>
		<pubDate>Wed, 12 Dec 2007 19:42:37 +0000</pubDate>
		<guid isPermaLink="false">http://lojic.com/blog/2007/09/19/telogis-puzzle/#comment-87</guid>
		<description>It was written in ruby originally, but was tweaked not to run in *any* language.  I will be constructing another one soon - the answer to this one is everywhere now.</description>
		<content:encoded><![CDATA[<p>It was written in ruby originally, but was tweaked not to run in *any* language.  I will be constructing another one soon &#8211; the answer to this one is everywhere now.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Brian Adkins</title>
		<link>http://lojic.com/blog/2007/09/19/telogis-puzzle/comment-page-1/#comment-86</link>
		<dc:creator>Brian Adkins</dc:creator>
		<pubDate>Tue, 25 Sep 2007 18:24:23 +0000</pubDate>
		<guid isPermaLink="false">http://lojic.com/blog/2007/09/19/telogis-puzzle/#comment-86</guid>
		<description>Thanks for the link Ed. I&#039;ve copied a bunch of puzzles from that site. I&#039;ll post them here periodically. Something tells me that the slowness of Ruby might be a hindrance for some of them; I may have to switch to Lisp.</description>
		<content:encoded><![CDATA[<p>Thanks for the link Ed. I&#8217;ve copied a bunch of puzzles from that site. I&#8217;ll post them here periodically. Something tells me that the slowness of Ruby might be a hindrance for some of them; I may have to switch to Lisp.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Ed</title>
		<link>http://lojic.com/blog/2007/09/19/telogis-puzzle/comment-page-1/#comment-85</link>
		<dc:creator>Ed</dc:creator>
		<pubDate>Sat, 22 Sep 2007 11:25:14 +0000</pubDate>
		<guid isPermaLink="false">http://lojic.com/blog/2007/09/19/telogis-puzzle/#comment-85</guid>
		<description>http://www.itasoftware.com/careers/puzzles07.html#Sling_Blade_Runner</description>
		<content:encoded><![CDATA[<p><a href="http://www.itasoftware.com/careers/puzzles07.html#Sling_Blade_Runner" rel="nofollow">http://www.itasoftware.com/careers/puzzles07.html#Sling_Blade_Runner</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Ed</title>
		<link>http://lojic.com/blog/2007/09/19/telogis-puzzle/comment-page-1/#comment-84</link>
		<dc:creator>Ed</dc:creator>
		<pubDate>Sat, 22 Sep 2007 11:24:44 +0000</pubDate>
		<guid isPermaLink="false">http://lojic.com/blog/2007/09/19/telogis-puzzle/#comment-84</guid>
		<description>Here is another set of programming puzzles that you have to solve in order to get your foot in the door to this company (ITA):

&lt;a href=&quot;http://www.itasoftware.com/careers/puzzles07.html#Sling_Blade_Runner&quot; title=&quot;Programming Puzzles&quot; rel=&quot;nofollow&quot;&gt;</description>
		<content:encoded><![CDATA[<p>Here is another set of programming puzzles that you have to solve in order to get your foot in the door to this company (ITA):</p>
<p><a href="http://www.itasoftware.com/careers/puzzles07.html#Sling_Blade_Runner" title="Programming Puzzles" rel="nofollow"></a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Brian Adkins</title>
		<link>http://lojic.com/blog/2007/09/19/telogis-puzzle/comment-page-1/#comment-83</link>
		<dc:creator>Brian Adkins</dc:creator>
		<pubDate>Thu, 20 Sep 2007 17:40:24 +0000</pubDate>
		<guid isPermaLink="false">http://lojic.com/blog/2007/09/19/telogis-puzzle/#comment-83</guid>
		<description>Ok, as promised, here&#039;s the Ruby solution to get the name of the web page. Ruby doesn&#039;t have a post-decrement operator, so &lt;code&gt;a=b--&lt;/code&gt; was translated to &lt;code&gt;a = b; b -= 1&lt;/code&gt;. Also, Ruby has a somewhat different definition of truth, so expressions of the form (x) had to be translated to (x != 0) in cases where non-zero was supposed to be true.

&lt;pre&gt;
require &#039;pp&#039;

z = 4254145 * 0x18712495
b = (z &amp; 1) &lt;&lt; 4
a = b
b -= 1
o = []
c = a - b
x = b - a
while z != 0
  x = (a &amp; x) != 0 ? a &amp; b : c + x
  if (z / a &amp; b^x) == 0
    o[z &amp; b^x] = (x + 6 * a + b / 5 - c).chr
    z = z / a / a
  end
  pp o
end

pp o
&lt;/pre&gt;</description>
		<content:encoded><![CDATA[<p>Ok, as promised, here&#8217;s the Ruby solution to get the name of the web page. Ruby doesn&#8217;t have a post-decrement operator, so <code>a=b--</code> was translated to <code>a = b; b -= 1</code>. Also, Ruby has a somewhat different definition of truth, so expressions of the form (x) had to be translated to (x != 0) in cases where non-zero was supposed to be true.</p>
<pre>
require 'pp'

z = 4254145 * 0x18712495
b = (z &#038; 1) < < 4
a = b
b -= 1
o = []
c = a - b
x = b - a
while z != 0
  x = (a &#038; x) != 0 ? a &#038; b : c + x
  if (z / a &#038; b^x) == 0
    o[z &#038; b^x] = (x + 6 * a + b / 5 - c).chr
    z = z / a / a
  end
  pp o
end

pp o
</pre>
</pre>
]]></content:encoded>
	</item>
</channel>
</rss>

