<?xml version="1.0" encoding="utf-8"?>
<rss xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title>Disqus - Latest Comments for moonmaster9000</title><link>http://disqus.com/by/moonmaster9000/</link><description></description><atom:link href="http://disqus.com/moonmaster9000/comments.rss" rel="self"></atom:link><language>en</language><lastBuildDate>Thu, 18 Aug 2011 16:36:46 -0000</lastBuildDate><item><title>Re: Do we need constants?</title><link>http://devblog.avdi.org/2011/08/18/do-we-need-constants/#comment-290364082</link><description>&lt;p&gt;I basically never create constants; in most systems, constants end up needing to be configurable at some point anyways, so I end up using methods.&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Matt Parker</dc:creator><pubDate>Thu, 18 Aug 2011 16:36:46 -0000</pubDate></item><item><title>Re: http://moonmaster9000.tumblr.com/post/511544143</title><link>http://moonmaster9000.tumblr.com/post/511544143#comment-44311887</link><description>&lt;p&gt;thanks for the code review! didn't know about that array trick, though what i really want is for "pad" to return a copy of self, and not modify self, so it might need to look something like self.dup.tap {|a| a[new_length - 1] ||= nil}&lt;/p&gt;&lt;p&gt;as for inject, i would normally use inject in a situation like that, except that i wanted to operate on the slices of the array, not the array itself, so i couldn't exactly figure out how to make that work with inject.&lt;/p&gt;&lt;p&gt;hey, i don't know what happened on disqus, but your comment and another guy's comment suddenly disappeared. i'm replying through the actual disqus site. it says that the url you commented on is "&lt;a href="http://moonmaster9000.tumblr.com/post/511544143" rel="nofollow noopener" target="_blank" title="http://moonmaster9000.tumblr.com/post/511544143"&gt;http://moonmaster9000.tumbl...&lt;/a&gt;", while the url of the blog post is "&lt;a href="http://moonmaster9000.tumblr.com/post/511544143/ruby-v-haskell-a-love-tap" rel="nofollow noopener" target="_blank" title="http://moonmaster9000.tumblr.com/post/511544143/ruby-v-haskell-a-love-tap"&gt;http://moonmaster9000.tumbl...&lt;/a&gt;" ... i'll try and figure out what went wrong and hopefully make your comment reappear on the blog post.&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Matt Parker</dc:creator><pubDate>Sun, 11 Apr 2010 07:23:04 -0000</pubDate></item><item><title>Re: http://moonmaster9000.tumblr.com/post/511544143</title><link>http://moonmaster9000.tumblr.com/post/511544143#comment-44311770</link><description>&lt;p&gt;yeah, the io monad in haskell is simultaneously brilliant and inadequate... what i really wish for is a haskell with ruby's dynamic typing and erlang's io.&lt;/p&gt;&lt;p&gt;hey, i don't know what happened on disqus, but your comment and another guy's comment suddenly disappeared. i'm replying through the actual disqus site. it says that the url you commented on is "&lt;a href="http://moonmaster9000.tumblr.com/post/511544143" rel="nofollow noopener" target="_blank" title="http://moonmaster9000.tumblr.com/post/511544143"&gt;http://moonmaster9000.tumbl...&lt;/a&gt;", while the url of the blog post is "&lt;a href="http://moonmaster9000.tumblr.com/post/511544143/ruby-v-haskell-a-love-tap" rel="nofollow noopener" target="_blank" title="http://moonmaster9000.tumblr.com/post/511544143/ruby-v-haskell-a-love-tap"&gt;http://moonmaster9000.tumbl...&lt;/a&gt;" ... i'll try and figure out what went wrong and hopefully make your comment reappear on the blog post.&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Matt Parker</dc:creator><pubDate>Sun, 11 Apr 2010 07:19:19 -0000</pubDate></item><item><title>Re: ruby v. haskell: a love tap</title><link>http://moonmaster9000.tumblr.com/post/511544143/ruby-v-haskell-a-love-tap?twitter=dscape#comment-44311408</link><description>&lt;p&gt;if you commented on this post, and now your comments aren't showing up - i didn't delete them or anything... it seems something weird is going on with disqus...&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Matt Parker</dc:creator><pubDate>Sun, 11 Apr 2010 07:07:13 -0000</pubDate></item><item><title>Re: Check out the wonderful essays, interviews and podcasts at dGenerate Films</title><link>http://alsolikelife.com/shooting/2009/07/check-out-the-wonderful-essays-interviews-and-podcasts-at-dgenerate-films/#comment-14452587</link><description>&lt;p&gt;last time i looked the comparative data was embedded in each yearly release. &lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Matt Parker</dc:creator><pubDate>Fri, 07 Aug 2009 17:23:13 -0000</pubDate></item><item><title>Re: Best of the Decade Derby: &lt;i&gt;Encounters at the End of the World&lt;/i&gt; roundtable podcast with &amp;#8220;Werner Herzog&amp;#8221;</title><link>http://alsolikelife.com/shooting/2009/08/best-of-the-decade-derby-encounters-at-the-end-of-the-world-roundtable-podcast-with-werner-herzog/#comment-14413344</link><description>&lt;p&gt;wow thanks for sharing, great insights. i haven't seen it since it came out, but i do remember feeling like he was implicitly linking some of the characters he was interviewing to his discussion on world-record madness, of doing something for the sake of bragging rights. but gt's point is well taken; our interpretations in a lot of his films can change depending on our own mood (though i think there's very little wiggle room in grizzly man; treadwell was an egomaniacal child, and his friends were at best enablers). &lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Matt Parker</dc:creator><pubDate>Thu, 06 Aug 2009 23:12:57 -0000</pubDate></item><item><title>Re: Best of the Decade Derby: &lt;i&gt;Lost in Translation&lt;/i&gt; video essay with Stephanie Zacharek</title><link>http://alsolikelife.com/shooting/2009/08/best-of-the-decade-derby-lost-in-translation-video-essay-with-stephanie-zacharek/#comment-14347355</link><description>&lt;p&gt;brilliant essay. reminded me of  why i love this movie so much. the sequence Steph describes creates a certain sincerity sooo lacking in so much film these days. &lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Matt Parker</dc:creator><pubDate>Thu, 06 Aug 2009 11:17:55 -0000</pubDate></item><item><title>Re: Best of the Decade Derby: &lt;i&gt;Encounters at the End of the World&lt;/i&gt; roundtable podcast with &amp;#8220;Werner Herzog&amp;#8221;</title><link>http://alsolikelife.com/shooting/2009/08/best-of-the-decade-derby-encounters-at-the-end-of-the-world-roundtable-podcast-with-werner-herzog/#comment-13975964</link><description>&lt;p&gt;listening to it right now... have to disagree with KL on herzog being more reasonable with his characters in 'encounters'... i remember him respecting some, and having obvious disdain for others. i'm reminded of his interview with the self-styled "traveler" woman who he impatiently cuts off with his voiceover stating something to the effect of "her story goes on and on"&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Matt Parker</dc:creator><pubDate>Wed, 05 Aug 2009 09:37:12 -0000</pubDate></item><item><title>Re: Mouchette (dir. Robert Bresson)</title><link>http://moveease.blogspot.com/2009/07/mouchette-dir-robert-bresson.html#comment-12514432</link><description>&lt;p&gt;ya, it has some great moments, like that opening hunting scene. but i'm most partial to "joan" and "escaped". their clarity and inevitability are infectious. &lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Matt Parker</dc:creator><pubDate>Sat, 11 Jul 2009 17:46:21 -0000</pubDate></item><item><title>Re: 10 Films in 5 Hours: Notes from BamCinematek All Night</title><link>http://alsolikelife.com/shooting/2009/06/10-films-in-5-hours-notes-from-bamcinematek-all-night/#comment-11916195</link><description>&lt;p&gt;i thought the hou film was a joke by the programmers. who could stay awake through one of his films in the middle of the night??? &lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Matt Parker</dc:creator><pubDate>Mon, 29 Jun 2009 18:56:47 -0000</pubDate></item><item><title>Re: Ruby and Functional Programming</title><link>http://www.khelll.com/blog/ruby/ruby-and-functional-programming/#comment-12609756</link><description>&lt;p&gt;"However following recursion style has it’s own tax: Performance"&lt;/p&gt;&lt;p&gt;that's a common misconception, and often indicates an ignorance of asymptotic notation / algorithm analysis. recursive solutions, just like iterative solutions, are neither inherently efficient nor inherently inefficient. The real danger with recursion is duplication of work.&lt;/p&gt;&lt;p&gt;Consider this naive implementation of generating an array of the first n fibonacci numbers:&lt;/p&gt;&lt;p&gt;&lt;code&gt;&lt;br&gt;def nfib(n)&lt;br&gt;  seq = []&lt;br&gt;  (1..n).each do |nth|&lt;br&gt;    seq &amp;lt;&amp;lt; nfibr(nth)&lt;br&gt;  end&lt;br&gt;  seq&lt;br&gt;end&lt;br&gt;&lt;br&gt;def nfibr(nth)&lt;br&gt;  if nth &amp;lt;= 2&lt;br&gt;    1&lt;br&gt;  else&lt;br&gt;    nfibr(nth-1) + nfibr(nth-2)&lt;br&gt;  end&lt;br&gt;end&lt;br&gt;&lt;/code&gt;&lt;/p&gt;&lt;p&gt;notice that nfibr(4) would first call nfibr(3) + nfibr(2), and nfibr(3) would call nfibr(2) + nfibr(1) - the problem being that nfibr(2) was already calculated from the nfibr(3) call. it's not hard to see that this method runs on the order of O(n^n).&lt;/p&gt;&lt;p&gt;however, a linear recursive solution (that builds fibonacci numbers from the bottom up) is trivial to conceive:&lt;/p&gt;&lt;p&gt;&lt;code&gt;&lt;br&gt;def fib(times)&lt;br&gt;  fibr([1,1], 1, 1, times-2)&lt;br&gt;end&lt;br&gt;&lt;br&gt;def fibr(seq, n_min_2, n_min_1, times)&lt;br&gt;  if times &amp;gt; 0&lt;br&gt;    n = n_min_2 + n_min_1&lt;br&gt;    seq &amp;lt;&amp;lt; n&lt;br&gt;    fibr(seq, n_min_1, n, times-1)&lt;br&gt;  else&lt;br&gt;    seq&lt;br&gt;  end&lt;br&gt;end&lt;br&gt;&lt;/code&gt;&lt;/p&gt;&lt;p&gt;Whereas nfib(40) will take something on the order of several millennium to compute, fib(40) returns instantly, since it's running in O(n) time.&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Matt Parker</dc:creator><pubDate>Mon, 25 May 2009 10:17:37 -0000</pubDate></item><item><title>Re: People on Sunday</title><link>http://moveease.blogspot.com/2009/03/people-on-sunday.html#comment-7555051</link><description>&lt;p&gt;hmmm yeah I didn't really dig the apartment. jack lemmon was great... but the whole thing just fell kinda flat for me. i'll check out butterfield 8. peace!&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Matt Parker</dc:creator><pubDate>Fri, 27 Mar 2009 08:08:21 -0000</pubDate></item><item><title>Re: Best of the Decade Derby: Live-blogging &lt;i&gt;Platform&lt;/i&gt; (2000, Jia Zhang-ke)</title><link>http://alsolikelife.com/shooting/2009/03/best-of-the-decade-derby-live-blogging-platform-2000-jia-zhang-ke/#comment-7305490</link><description>&lt;p&gt;that was awesome bro. and holy christ man... i have to see that original cut... that final shot you're describing... why would they f'ing cut that?????!!@!@!&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Matt Parker</dc:creator><pubDate>Tue, 17 Mar 2009 21:56:37 -0000</pubDate></item><item><title>Re: Best of the Decade Derby: &lt;i&gt;Donnie Darko&lt;/i&gt; (2001, Richard Kelly)</title><link>http://alsolikelife.com/shooting/2009/03/best-of-the-decade-derby-donnie-darko-2001-richard-kelly/#comment-7046473</link><description>&lt;p&gt;you hated sparkle motion??? inconceivable! &lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Matt Parker</dc:creator><pubDate>Mon, 09 Mar 2009 20:05:44 -0000</pubDate></item><item><title>Re: Best of the Decade Derby: &lt;i&gt;Donnie Darko&lt;/i&gt; (2001, Richard Kelly)</title><link>http://alsolikelife.com/shooting/2009/03/best-of-the-decade-derby-donnie-darko-2001-richard-kelly/#comment-7046455</link><description>&lt;p&gt;it's just the opposite! the first 2 hours have a linearity, or at least a direction we can follow; the last 30 minutes are buck shot! the irony is that the first 2 hours are the dream, while the last 30 minutes are the characters' real lives. &lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Matt Parker</dc:creator><pubDate>Mon, 09 Mar 2009 20:04:57 -0000</pubDate></item><item><title>Re: Best of the Decade Derby: The &lt;i&gt;Mad&lt;/i&gt;ness of revisiting a personal movie landmark</title><link>http://alsolikelife.com/shooting/2009/03/best-of-the-decade-derby-the-madness-of-revisiting-a-personal-movie-landmark/#comment-7002980</link><description>&lt;p&gt;even if it did shatter your image of the objectivity of a film's value, I still hope you'll complete your best of the decade derby. every list is subjective and has to be taken with more than a modicum of skepticism; on the other hand, they're one of the best ways to open people up to new film, new ideas. &lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Matt Parker</dc:creator><pubDate>Sun, 08 Mar 2009 22:09:06 -0000</pubDate></item><item><title>Re: Best of the Decade Derby: &lt;i&gt;Donnie Darko&lt;/i&gt; (2001, Richard Kelly)</title><link>http://alsolikelife.com/shooting/2009/03/best-of-the-decade-derby-donnie-darko-2001-richard-kelly/#comment-6849165</link><description>&lt;p&gt;i had an opposite reaction... i loved it when i first saw it 7 years ago (and still loved it upon immediately rewatching it). then i watched it again after about 4 years (having been exposed to a lot more film in the meantime) and found that it didn't live up that initial thrill. like a freshman in college, i was viewing it with a new-found arrogance. then i saw it about a year ago with my wife (after having seen still more great film in the meantime) and we loved every minute of it.&lt;/p&gt;&lt;p&gt;though what i enjoyed most (or at least remember most) about the film was the "gleeful baiting of conservatives" - especially the deranged fanatical mother. but yeah, better than all of that: sparkle motion!&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Matt Parker</dc:creator><pubDate>Tue, 03 Mar 2009 16:54:54 -0000</pubDate></item><item><title>Re: Best of the Decade Derby: &lt;i&gt;Donnie Darko&lt;/i&gt; (2001, Richard Kelly)</title><link>http://alsolikelife.com/shooting/2009/03/best-of-the-decade-derby-donnie-darko-2001-richard-kelly/#comment-6848936</link><description>&lt;p&gt;inland empire is a film inside the same film viewed from that film's perspective while watching the film on a big screen. &lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Matt Parker</dc:creator><pubDate>Tue, 03 Mar 2009 16:44:26 -0000</pubDate></item><item><title>Re: Best of the Decade Derby: &lt;i&gt;In the Mood&lt;/i&gt; (or not) and 13 ways of looking at Maggie Cheung</title><link>http://alsolikelife.com/shooting/2009/02/best-of-the-decade-derby-in-the-mood-or-not-and-13-ways-of-looking-at-maggie-cheung/#comment-6717308</link><description>&lt;p&gt;Though I've done it several times, I do believe that films aren't like books - we're not meant to start and stop. Films (or at least good ones) cast a spell over us, and with several films, it's easily broken by this process. that doesn't mean their bad films, it just means we've broken the rules.&lt;/p&gt;&lt;p&gt;For me, it's interesting for me to compare and contrast this film with another film I saw recently about an affair: Silent Light. Both films are really about nothing else (In the Mood intentionally so, while Silent Light being more of a missed opportunity to dive into some of the potential subtexts related to the film's setting). While I was watching Silent Light, I resented it for really being about little else than an extramarital affair and its effects on the main character's relationship with his wife. I felt like I needed more from a film. But looking back, I loved In the Mood despite that it was about nothing more than the faux affair between the two neighbors. I guess a great artist can turn even the most common and prosaic into art. &lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Matt Parker</dc:creator><pubDate>Fri, 27 Feb 2009 21:43:05 -0000</pubDate></item><item><title>Re: Silent Light (dir. Carlos Reygadas, 2007)</title><link>http://moveease.blogspot.com/2009/02/silent-light-dir-carlos-reygadas-2007.html#comment-6622573</link><description>&lt;p&gt;as they say, there's no accounting for taste :-) and that's what makes this world beautiful. &lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Matt Parker</dc:creator><pubDate>Wed, 25 Feb 2009 16:15:18 -0000</pubDate></item><item><title>Re: Video Essays as a teaching tool: a testimonial</title><link>http://alsolikelife.com/shooting/2009/02/video-essays-as-a-teaching-tool-a-testimonial/#comment-6471983</link><description>&lt;p&gt;Admittedly, I've seen neither film, but from what I can tell from your video essay, the criminal in the Vanishing proceeds not unlike a detached surgeon, steadily refining his craft, while the investigator in Zodiac is obsessed and very personally and emotionally invested in his task, not unlike Jack Nicholson's character in "The Pledge." Although on the surface both seem obsessed with their work, the actions of the criminal in the Vanishing seems truly indicative of mental insanity, while the obsession of the investigator in the Zodiac seems closer akin to the personality disorder of a work-a-holic, retreating into a self-obsessed world of work because he can't deal with real life. &lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Matt Parker</dc:creator><pubDate>Sat, 21 Feb 2009 17:54:44 -0000</pubDate></item><item><title>Re: 953 (95). &lt;i&gt;Heimat&lt;/i&gt; (1984, Edgar Reitz)</title><link>http://alsolikelife.com/shooting/2009/01/953-95-heimat-1984-edgar-reitz/#comment-5794246</link><description>&lt;p&gt;kudos for commitment. 15 hours of German television is no light undertaking. &lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Matt Parker</dc:creator><pubDate>Mon, 02 Feb 2009 20:08:05 -0000</pubDate></item><item><title>Re: 954 (96). &lt;i&gt;Starship Troopers&lt;/i&gt; (1997, Paul Verhoeven)</title><link>http://alsolikelife.com/shooting/2009/02/954-96-starship-troopers-1997-paul-verhoeven/#comment-5794039</link><description>&lt;p&gt;One thing I love about this site.... it encourages me to revisit films. I was 15 when Starship came out, and I can barely remember anything about, other than thinking it was absurd and pop-culture nonsense. I'm pretty sure that part of my distaste for the film grew in direct proportion to how popular the film was among the jocks in our little hick-town. And since I was a product of that town - a Texas hell-hole that prided itself on racism, religious fundamentalism, and ignorance - I had no idea what fascism or communism even were, so the feminist and political subtexts were completely lost on me...&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Matt Parker</dc:creator><pubDate>Mon, 02 Feb 2009 19:55:25 -0000</pubDate></item><item><title>Re: Best of the Decade Derby POLL: Best English language film from 2000</title><link>http://alsolikelife.com/shooting/2009/01/best-of-the-decade-derby-poll-best-english-language-film-from-2000/#comment-5700767</link><description>&lt;p&gt;Traffic - although truthfully I like both of them in &lt;i&gt;spite&lt;/i&gt; of their didacticism. Why do you like Requiem more than Traffic?&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Matt Parker</dc:creator><pubDate>Fri, 30 Jan 2009 11:27:36 -0000</pubDate></item><item><title>Re: Milk (Gus Van Sant)</title><link>http://moveease.blogspot.com/2009/01/milk-gus-van-sant.html#comment-5694985</link><description>&lt;p&gt;There were plenty of better films... they just weren't American. &lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Matt Parker</dc:creator><pubDate>Fri, 30 Jan 2009 09:53:01 -0000</pubDate></item></channel></rss>