<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Hacker News: zyzzy</title><link>https://news.ycombinator.com/user?id=zyzzy</link><description>Hacker News RSS</description><docs>https://hnrss.org/</docs><generator>hnrss v2.1.1</generator><lastBuildDate>Mon, 20 Jul 2026 09:35:00 +0000</lastBuildDate><atom:link href="https://hnrss.org/user?id=zyzzy" rel="self" type="application/rss+xml"></atom:link><item><title><![CDATA[Has Hollywood Lost Its Way]]></title><description><![CDATA[
<p>Article URL: <a href="http://www.shortoftheweek.com/2012/01/05/has-hollywood-lost-its-way/">http://www.shortoftheweek.com/2012/01/05/has-hollywood-lost-its-way/</a></p>
<p>Comments URL: <a href="https://news.ycombinator.com/item?id=3440016">https://news.ycombinator.com/item?id=3440016</a></p>
<p>Points: 1</p>
<p># Comments: 0</p>
]]></description><pubDate>Sun, 08 Jan 2012 17:39:28 +0000</pubDate><link>http://www.shortoftheweek.com/2012/01/05/has-hollywood-lost-its-way/</link><dc:creator>zyzzy</dc:creator><comments>https://news.ycombinator.com/item?id=3440016</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=3440016</guid></item><item><title><![CDATA[New comment by zyzzy in "Hackruiter (YC S10) Launches Hacker School"]]></title><description><![CDATA[
<p>The idea sounds great!<p>Is there any way Hackruiter would expand to maybe a city like Boston?</p>
]]></description><pubDate>Sat, 07 Jan 2012 14:13:19 +0000</pubDate><link>https://news.ycombinator.com/item?id=3437034</link><dc:creator>zyzzy</dc:creator><comments>https://news.ycombinator.com/item?id=3437034</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=3437034</guid></item><item><title><![CDATA[New comment by zyzzy in "Why 37signals Doesn't Hire Programmers Based on Brainteasers"]]></title><description><![CDATA[
<p>If someone had some experience with pascal triangle, they could come up with a very efficient solution, that might put them at a advantage.  If the interviewer valued efficient solutions.<p>So far 
dspeyer, has one of the most efficient algorithms.<p><pre><code>  def pascal(i):
        o=[1]
        for j in xrange(1,i):
           o.append(o[-1] * (i - j) / j)
        return o
</code></pre>
in ruby this could be<p><pre><code>  def pascal2(i)
    o=[1]
    i += 1
    for j in 1.upto(i - 1 )
       o << o[-1] * (i - j)/j
    end
    o
   end
</code></pre>
we could make it even more efficient if we remember a there is symmetry in a pascal triangle.  So that we don't have to calculate all the values in a row, maybe just half of the values.  We have to calculate the row a little different if it is even or odd in number.<p><pre><code>  def pascal(i)
   o=[1]
   i += 1
   if i == 1 then
    return o 
   end
   i.even? ? d = i / 2  - 1 : d = i / 2 
   for j in 1.upto(d )
            o << o[-1] * (i - j)/j
   end
   o[0..i/2] + o[0..i/2 - 1].reverse
   end
</code></pre>
So far it up to 2x as fast. I wrote this method in Ruby to time the different methods, pascal, pascal2.<p><pre><code>  def timeA(m,n)
    begin_time = Time.now
    send(m,n)
    end_time = Time.now
    p "Time elapased #{(end_time - begin_time)*1000}    milliseconds"
    end
</code></pre>
these are the times I get<p><pre><code>  ruby-1.9.2-p290 :037 > timeA('pascal2',40000)
  "Time elapased 949.9490000000001 milliseconds"
   => "Time elapased 949.9490000000001 milliseconds" 
  ruby-1.9.2-p290 :038 > timeA('pascal',40000)
  "Time elapased 470.48699999999997 milliseconds"
   => "Time elapased 470.48699999999997 milliseconds" 
  ruby-1.9.2-p290 :039 > timeA('pascal',80000)
  "Time elapased 1776.224 milliseconds"
   => "Time elapased 1776.224 milliseconds" 
  ruby-1.9.2-p290 :040 > timeA('pascal2',80000)
  "Time elapased 5722.419000000001 milliseconds"
   => "Time elapased 5722.419000000001 milliseconds" 
  ruby-1.9.2-p290 :041 > timeA('pascal',200000)
  "Time elapased 160416.34199999998 milliseconds"
   => "Time elapased 160416.34199999998 milliseconds" 
  ruby-1.9.2-p290 :042 > timeA('pascal2',200000)
  "Time elapased 235113.38 milliseconds"
  => "Time elapased 235113.38 milliseconds"</code></pre></p>
]]></description><pubDate>Sat, 07 Jan 2012 01:56:28 +0000</pubDate><link>https://news.ycombinator.com/item?id=3435913</link><dc:creator>zyzzy</dc:creator><comments>https://news.ycombinator.com/item?id=3435913</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=3435913</guid></item><item><title><![CDATA[New comment by zyzzy in "Why 37signals Doesn't Hire Programmers Based on Brainteasers"]]></title><description><![CDATA[
<p>What if I wanted an exact precision.  Could I use a custom data type to get better precision? If I used a custom data type, how could I make the code work for a distributed system to get parallel behavior?</p>
]]></description><pubDate>Fri, 06 Jan 2012 22:51:13 +0000</pubDate><link>https://news.ycombinator.com/item?id=3435448</link><dc:creator>zyzzy</dc:creator><comments>https://news.ycombinator.com/item?id=3435448</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=3435448</guid></item><item><title><![CDATA[New comment by zyzzy in "Why 37signals Doesn't Hire Programmers Based on Brainteasers"]]></title><description><![CDATA[
<p>There are so many different views here about interviewing that it can get quite dizzying.<p>1.)
37 signals view is that there is no point in asking programming puzzles or brain teasers; this goes for white board questions as well.  Their view is that, it's just better to go over real code the person has written, and if they seem like a good fit, then why not try them out.<p>2.)
Cletus's view is that you should ask a "simple white-boarding problem", that would weed out in theory weed out the "bad programmers", with a certain error margin.<p>3.)
Dmbaggett's views is that solid programming puzzles (one's that are usually are take home, or one's that you do at home) are good for attracting programmers that will fit (the role of a computer scientist at ITA).  However cheap whiteboard problem's aren't necessarily the best for finding great programmers.<p>4.)
edw519 commented a while back, that written code sample done at the time of interview is best, as it provides rooms for some discussion material that will gauge if the interviewee is a great fit for the role.<p>[1] <a href="http://news.ycombinator.com/item?id=834513" rel="nofollow">http://news.ycombinator.com/item?id=834513</a><p>4.)Another article on hacker news, "I Won't Hire You", got pretty much down voted for it's view, that you have to be greater than great to work at Golem Technologies.<p>[2] <a href="https://news.ycombinator.com/item?id=3428567" rel="nofollow">https://news.ycombinator.com/item?id=3428567</a><p>5.)There was one other article on hacker news; the article mentioned how in the end programming interviews puzzle, didn't matter and the programmers that they hired and did the best, ended up not being the most productive programmers.<p>6.)An article about hacking the current interview system. 
Apparently the top commentator timr, really thought that you should grill the interviewee to find out if they are hacking the system.<p><a href="http://news.ycombinator.com/item?id=3370341" rel="nofollow">http://news.ycombinator.com/item?id=3370341</a><p>The list can go on and on.<p>So in the end what is the best algorithm for interviewing a programmer?  Are you hiring out of fear, that you need X to do a Y job, but you don't want X to destroy your company?  Are you hiring to find a rock star programmer, who can take your company to the  next level?  Are you hiring a programmer to do a specific well defined job?  Are you hiring to fill your ego, that you have the power over someone?<p>It seems very hostile to get a programming job.   It seems that some interviewers want you to come in and contribute from day one, which I have never seen quite happen.  Why are some interviewers so harsh and dicks with the interviewees?<p>If a programmer fails your interview, does it mean they are truly stupid?<p>Is your interview really a true gauge of IQ?  
Does your ego play into the interviewing process as one HN commenter wrote<p>"The biggest problem with anything like this is the idea        that 'here is some test of inherent   intelligence - I am far better than you so you are inherently unable to do this thing' which is just the biggest barrier to actually trying to do something - if you think you inherently suck or at least are simply mediocre, your motivation to do that thing is severely reduced."<p>The general feeling I get is that as interviewers, we are trying to put down and ridicule, interviewees for whatever reason did not pass our test.   Maybe in accordance with our company's guidelines or our own ego's.<p>Instead of seeing the glass half full with interviewee's potential we are seeing it half empty, as their ability will never be good enough.<p>I think with determination and practice anyone can be "great" programmer.   It's sad to see many interviewer's don't realize this, cause "they don't have time."</p>
]]></description><pubDate>Fri, 06 Jan 2012 22:43:33 +0000</pubDate><link>https://news.ycombinator.com/item?id=3435425</link><dc:creator>zyzzy</dc:creator><comments>https://news.ycombinator.com/item?id=3435425</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=3435425</guid></item><item><title><![CDATA[New comment by zyzzy in "Why 37signals Doesn't Hire Programmers Based on Brainteasers"]]></title><description><![CDATA[
<p>Hi,<p>I ran your code and it does run well.  However fails for large cases such as pascal(200000).<p>You mentioned you worked for Google and Amazon, how can you modify the code to get an answer for pascal(200000)</p>
]]></description><pubDate>Fri, 06 Jan 2012 21:13:39 +0000</pubDate><link>https://news.ycombinator.com/item?id=3435048</link><dc:creator>zyzzy</dc:creator><comments>https://news.ycombinator.com/item?id=3435048</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=3435048</guid></item></channel></rss>