<?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 SamStokes</title><link>http://disqus.com/by/SamStokes/</link><description></description><atom:link href="http://disqus.com/SamStokes/comments.rss" rel="self"></atom:link><language>en</language><lastBuildDate>Mon, 22 Sep 2014 21:37:27 -0000</lastBuildDate><item><title>Re: What Programming Is Like - Coding with Honour</title><link>http://blog.samstokes.co.uk/blog/2014/05/01/what-programming-is-like/#comment-1601358485</link><description>&lt;p&gt;I posted a follow-up post about comparing programming to magic.  I think we could do better with a different analogy: &lt;a href="http://blog.samstokes.co.uk/blog/2014/09/22/magic/" rel="nofollow noopener" target="_blank" title="http://blog.samstokes.co.uk/blog/2014/09/22/magic/"&gt;http://blog.samstokes.co.uk...&lt;/a&gt;&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Sam Stokes</dc:creator><pubDate>Mon, 22 Sep 2014 21:37:27 -0000</pubDate></item><item><title>Re: What Programming Is Like - Coding with Honour</title><link>http://blog.samstokes.co.uk/blog/2014/05/01/what-programming-is-like/#comment-1405490517</link><description>&lt;p&gt;Hey John, long time!  I think The Social Network was actually part of the problem.  Sean Parker was portrayed as "cool", but he was also portrayed as an asshole.  Ditto Zuck.  I'd like to see a portrayal of a programmer that shows them doing their job, but also as a social person capable of sensitivity and friendship - like the real programmers I know!&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Sam Stokes</dc:creator><pubDate>Mon, 26 May 2014 18:14:29 -0000</pubDate></item><item><title>Re: What Programming Is Like - Coding with Honour</title><link>http://blog.samstokes.co.uk/blog/2014/05/01/what-programming-is-like/#comment-1367464110</link><description>&lt;p&gt;You're right, of course - I'm sure the conceptions people have of cops and lawyers don't bear much resemblance to those professions' daily lives. Maybe the difference is I think people can still *relate* to the caricatures of cops and lawyers, and the problems and people they deal with; I don't think the same is true for the "hacker" caricatures. As for the "nerd" caricatures, those are usually so obviously negative portrayals that it's no wonder more people don't consider programming as a career.&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Sam Stokes</dc:creator><pubDate>Fri, 02 May 2014 21:58:46 -0000</pubDate></item><item><title>Re: What Programming Is Like - Coding with Honour</title><link>http://blog.samstokes.co.uk/blog/2014/05/01/what-programming-is-like/#comment-1367460281</link><description>&lt;p&gt;Totally, that was the first thing that stopped me emailing "Programming Sucks" to my friends and family - thinking they'd respond "oh you poor thing"!&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Sam Stokes</dc:creator><pubDate>Fri, 02 May 2014 21:54:25 -0000</pubDate></item><item><title>Re: What Programming Is Like - Coding with Honour</title><link>http://blog.samstokes.co.uk/blog/2014/05/01/what-programming-is-like/#comment-1367459020</link><description>&lt;p&gt;Please do! I wrote this in the hope it would inspire people to learn to program. I would be very happy if it worked!&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Sam Stokes</dc:creator><pubDate>Fri, 02 May 2014 21:52:50 -0000</pubDate></item><item><title>Re: What Programming Is Like - Coding with Honour</title><link>http://blog.samstokes.co.uk/blog/2014/05/01/what-programming-is-like/#comment-1367457857</link><description>&lt;p&gt;I think the "magic" angle came across a bit stronger than I'd hoped. (The Fred Brooks quote actually goes on to explicitly compare programming to "the magic of myth and legend", but I trimmed it.) Magic suggests something hard to learn or accessible only to a few, which is an impression I want to change.&lt;/p&gt;&lt;p&gt;But when it works, it does feel that way sometimes... :-)  &lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Sam Stokes</dc:creator><pubDate>Fri, 02 May 2014 21:51:25 -0000</pubDate></item><item><title>Re: Haskell Buildpack for Heroku - BAM Weblog</title><link>https://brianmckenna.org/blog/haskell_buildpack_heroku#comment-706699855</link><description>&lt;p&gt;Thanks very much for posting that.  I can indeed deploy the test app - I'll keep digging for why mine doesn't work.&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Sam Stokes</dc:creator><pubDate>Fri, 09 Nov 2012 21:15:13 -0000</pubDate></item><item><title>Re: Haskell Buildpack for Heroku - BAM Weblog</title><link>https://brianmckenna.org/blog/haskell_buildpack_heroku#comment-706662851</link><description>&lt;p&gt;Brian, thanks for getting this working, and blogging about it!   I fiddled around with Haskell on Heroku too and couldn't get it to go (for other reasons).&lt;/p&gt;&lt;p&gt;I hate to respond to something awesome with a bug report, but: when I try to deploy my Yesod app with this, the Cabal dependency resolver keeps complaining that it can't find a library with the same name as my app.  Initially I thought it couldn't cope with Yesod's scaffolded cabal file, which builds a library with all the code and an executable that depends on it; but I tried coalescing the "executable" and "library" section into one and still got the same error.&lt;/p&gt;&lt;p&gt;Any chance you could post the cabal file of the Yesod app you've managed to deploy this way?  I'm a Cabal beginner so I'm not really sure what's unusual about my situation, but it would help if I could compare with a known-working setup.&lt;/p&gt;&lt;p&gt;Mine is here if you're interested: &lt;a href="https://github.com/samstokes/yesodoro-reboot/blob/wip.heroku-bp/yesodoro-reboot.cabal" rel="nofollow noopener" target="_blank" title="https://github.com/samstokes/yesodoro-reboot/blob/wip.heroku-bp/yesodoro-reboot.cabal"&gt;https://github.com/samstoke...&lt;/a&gt;&lt;/p&gt;&lt;p&gt;I'm on ghc 7.0.4, cabal-install 0.10.2 and Cabal library 1.10.2.0.&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Sam Stokes</dc:creator><pubDate>Fri, 09 Nov 2012 19:58:59 -0000</pubDate></item><item><title>Re: Gain productivity by having different vim settings for every project - Vim plugins, tips, tricks and tutorials</title><link>http://www.vimninjas.com/2012/08/30/local-vimrc/#comment-648056465</link><description>&lt;p&gt;I'm probably missing something, but how is this different from the built-in feature that searches for a ".vimrc" file in the current directory?  You have to enable it via "set exrc", but then it works pretty similarly to what you describe.  (:help 'exrc' for details.)&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Sam Stokes</dc:creator><pubDate>Wed, 12 Sep 2012 14:06:47 -0000</pubDate></item><item><title>Re: Evaluating alternative Decorator implementations in Ruby</title><link>http://robots.thoughtbot.com/post/14825364877#comment-396131570</link><description>&lt;p&gt;At least in terms of Ruby semantics, module inclusion *is* inheritance, and *does* imply an "is-a" relationship:&lt;/p&gt;&lt;p&gt;    [].is_a? Enumerable # =&amp;gt; true&lt;/p&gt;&lt;p&gt;Modules like Enumerable and Comparable define a protocol: given certain methods (#each, #&amp;lt;=&amp;gt;) being defined on a class, they provide a standard API for using that class in a certain way (#map, #select, #&amp;lt;, etc).  For those, the "is-a" makes sense: an array *is* a kind of enumerable thing.  Any code expecting an Enumerable can operate on an Array without needing to know that it's an Array.&lt;/p&gt;&lt;p&gt;Of course not all modules have such well-defined interfaces.  It's not clear that "foo.is_a? UsersHelper" is a useful concept, because Rails view helpers are basically just a convenient way of organising related methods.&lt;br&gt;&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Sam Stokes</dc:creator><pubDate>Wed, 28 Dec 2011 20:09:41 -0000</pubDate></item><item><title>Re: Rapportive For Gmail &amp;#8211; More Outstanding Than Ever!</title><link>http://networksboise.com/rapportive-for-gmail-more-outstanding-then-ever/#comment-223348671</link><description>&lt;p&gt;Craig, thanks very much for the recommendation and kind words!  I just wanted to let your readers know that as well as Firefox and Chrome, we fully support Safari and Mailplane, and we have a bookmarklet that works in other browsers.&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Sam Stokes</dc:creator><pubDate>Fri, 10 Jun 2011 14:56:44 -0000</pubDate></item><item><title>Re: Heroku For... - Morethanseven</title><link>http://www.morethanseven.net/2010/12/29/Heroku-for.../#comment-120898361</link><description>&lt;p&gt;There's DotCloud (.com), which isn't exactly "Heroku for X" but is positioned at least somewhere nearby (application stacks with common sysadmin tasks abstracted away).  They're somewhere in between Heroku and EC2 on the abstraction scale.  (Disclosure: friends of mine.)&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Sam Stokes</dc:creator><pubDate>Wed, 29 Dec 2010 18:33:17 -0000</pubDate></item><item><title>Re: Socialize Gmail with Rapportive</title><link>http://sazbean.com/2010/08/05/socialize-gmail-with-rapportive/#comment-66338669</link><description>&lt;p&gt;Hmmm, there seems to be an echo in here :)&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Sam Stokes</dc:creator><pubDate>Thu, 05 Aug 2010 18:37:24 -0000</pubDate></item><item><title>Re: Socialize Gmail with Rapportive</title><link>http://sazbean.com/2010/08/05/socialize-gmail-with-rapportive/#comment-66315730</link><description>&lt;p&gt;Hi Sarah, it's Sam from Rapportive.  Thanks very much for your post!  Sorry you've not been able to log in with your business account - if you drop us an email at support@rapportive.com with the error you're seeing, we'll get that sorted right away.&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Sam Stokes</dc:creator><pubDate>Thu, 05 Aug 2010 17:35:35 -0000</pubDate></item><item><title>Re: Inception isn&amp;#8217;t science fiction (spoilers!)</title><link>http://blog.samstokes.co.uk/blog/2010/08/01/inception-isnt-science-fiction-spoilers/#comment-65683622</link><description>&lt;p&gt;Thanks for all the discussion!  If you found my post interesting (or indeed if you found it obvious and uninteresting and want those 15 minutes of your life back) you might like this analysis, which goes a bit deeper into the message of the film than I did: &lt;a href="http://chud.com/articles/articles/24477/1/NEVER-WAKE-UP-THE-MEANING-AND-SECRET-OF-INCEPTION/Page1.html" rel="nofollow noopener" target="_blank" title="http://chud.com/articles/articles/24477/1/NEVER-WAKE-UP-THE-MEANING-AND-SECRET-OF-INCEPTION/Page1.html"&gt;http://chud.com/articles/ar...&lt;/a&gt;&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Sam Stokes</dc:creator><pubDate>Mon, 02 Aug 2010 06:20:35 -0000</pubDate></item><item><title>Re: Samppot, On "three strikes": email to my MP</title><link>http://blog.samstokes.co.uk/post/247434685/on-three-strikes-email-to-my-mp/?fbc_channel=1#comment-24168539</link><description>&lt;p&gt;Thanks for posting this.  Good idea to focus on the economic angle and new powers for the Secretary - when I wrote the full horror of the Bill had not yet been revealed, so I didn't know about the "Pirate-Finder General" proposals.&lt;/p&gt;&lt;p&gt;I'd be interested to know whether you've had a response from Mr Howarth.  My own MP responded noncommittally - I'll blog about it soon.&lt;/p&gt;&lt;p&gt;(Sorry for not replying to this earlier - there's a problem with the comment system I was hoping would be resolved first, but the nice people at Disqus are still working on it.)&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Sam Stokes</dc:creator><pubDate>Fri, 27 Nov 2009 06:09:12 -0000</pubDate></item><item><title>Re: Samppot, On "three strikes": email to my MP</title><link>http://blog.samstokes.co.uk/blog/2009/11/17/on-three-strikes-email-to-my-mp/#comment-23448574</link><description>&lt;p&gt;Since a couple of people have asked me: please feel free to use the text of this email to send to your own MP.  It'll probably have more impact if you paraphrase or personalise it though - particularly if the same MP gets the same email twice!&lt;/p&gt;&lt;p&gt;If you were to leave a comment here saying you did so, that would be cool, but no obligation :)&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Sam Stokes</dc:creator><pubDate>Wed, 18 Nov 2009 08:08:48 -0000</pubDate></item><item><title>Re: Brewing a Better Rating System</title><link>http://blog.steepster.com/post/226679106#comment-23140664</link><description>&lt;p&gt;I'm late to comment on this post, but I've read several posts on rating systems recently and not many seemed to mention this.  (This is cross-posted from Hacker News.)&lt;/p&gt;&lt;p&gt;Have you tested the theory that response bias is skewing the ratings upward?&lt;/p&gt;&lt;p&gt;In other words, given that not every tea drinker is going to bother logging on to your site, finding each tea they've tasted and leaving a rating, it seems plausible to me that people who've had a good tea-drinking experience are more likely to make that effort than those who've had an unremarkable tea.&lt;/p&gt;&lt;p&gt;The figures that you quote seem to support this theory.  With a yes/no rating system you had 90% yes votes, or an average vote (assuming one yes vote cancels out one no) of 0.8, skewed 80% up from the unweighted mean you'd expect.  With a 5-star rating you expect an average rating of 4.3, which is 65% up from the unweighted mean ((4.3 - 3.0) / (5.0 - 3.0)).  So adding granularity is decreasing the skew, but not very rapidly.  I'd be very interested to know what your averages are like now, with your new system.&lt;/p&gt;&lt;p&gt;Granted, some of the skew is due to what teas are available to be rated: presumably people are less likely to enter awful teas into your system in the first place.  I realise the point of your article is about redesigning the rating to combat that skew, rather than necessarily about finding the one true rating.  But if you're concerned about bias, it seems worth at least investigating all possible sources of bias.&lt;/p&gt;&lt;p&gt;There's an obvious asymmetry in this hypothesis - why would the response bias be in favour of strong *positive* experiences, rather than just strong experiences in general?  Even if drinkers of mediocre tea can't be bothered to vote, why wouldn't people who've had terrible tea be just as likely to vote as those who've had great tea?  I can think of two explanations.  One is an innate sense that a good experience is worth more effort than a bad one - so after a bad pot of tea, there's less of an impulse to run off and tell everyone how bad it was, more to just write it off and go do something else.  Another is that people motivated to tell people about bad experiences might want to do so in words, to explain what was so bad about it.&lt;/p&gt;&lt;p&gt;I realise this is all hand-waving - I don't have hard evidence to back up this theory.  I do think it would be an interesting theory to test, for those with sufficient levels of usage of a rating system to do so.&lt;/p&gt;&lt;p&gt;Some anecdotal evidence comes from my use of other UGC review sites, particularly restaurant reviews.  These sites usually have a disproportionately large number of negative reviews.  Reading reviews for nearly any restaurant leads you to conclude that restaurant has terrible service - apparently because those who've had bad experiences are always keen to vent about them.  Yet nearly all restaurants, even those with tens of vocal unhappy customers, have above-average ratings.&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Sam Stokes</dc:creator><pubDate>Sun, 15 Nov 2009 13:08:08 -0000</pubDate></item><item><title>Re: On learning Vim</title><link>http://aimee.mychores.co.uk/2009/02/05/post/484#comment-5954306</link><description>&lt;p&gt;I'm not totally sure I buy the whole hjkl thing.  The version of vim I learned on had the arrow keys set up by default, and I don't think I've ever used one where they didn't work.  I still use arrow keys for navigation (when I'm not using more vimmy motions like w, $ or regex search).&lt;/p&gt;&lt;p&gt;I know hjkl keeps your hands on the home row - with qwerty anyway! - but it just doesn't seem worth the effort to me.  I hate to think what it's like learning hjkl on a dvorak keyboard where they're not even adjacent *or* on the home row.&lt;/p&gt;&lt;p&gt;[EDIT] having said that, I have found one place where knowing hjkl is useful: Google Reader!  jk to quickly navigate entries in a feed.&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Sam Stokes</dc:creator><pubDate>Fri, 06 Feb 2009 06:17:40 -0000</pubDate></item><item><title>Re: Variable Scoping with gcc</title><link>http://codingrelic.geekhold.com/2009/01/variable-scoping-with-gcc.html#comment-5022049</link><description>&lt;p&gt;I didn't know you could do this with C (even gcc-specific C).  Thanks for bringing it to my attention!&lt;/p&gt;&lt;p&gt;Regarding your comment about garbage collection in your last paragraph: in my experience garbage collection is pretty suckful for managing resources other than memory, because it's usually only memory conditions that trigger a collection, and your object finaliser that's supposed to release a file descriptor never actually gets called.  I don't know whether there are GC implementations where other types of resource starvation can trigger a GC.&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Sam Stokes</dc:creator><pubDate>Fri, 09 Jan 2009 17:41:53 -0000</pubDate></item></channel></rss>