<?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/"
	xmlns:georss="http://www.georss.org/georss" xmlns:geo="http://www.w3.org/2003/01/geo/wgs84_pos#" xmlns:media="http://search.yahoo.com/mrss/"
		>
<channel>
	<title>Comments for SJ Cuthbertson</title>
	<atom:link href="http://sjcuthbertson.wordpress.com/comments/feed/" rel="self" type="application/rss+xml" />
	<link>http://sjcuthbertson.wordpress.com</link>
	<description>Philosophy, cookery and geekery</description>
	<lastBuildDate>Tue, 19 Jan 2010 20:30:29 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.com/</generator>
	<item>
		<title>Comment on Python for Pinocchio by Stuart</title>
		<link>http://sjcuthbertson.wordpress.com/2009/09/05/python-for-pinocchio/#comment-104</link>
		<dc:creator><![CDATA[Stuart]]></dc:creator>
		<pubDate>Tue, 19 Jan 2010 20:30:29 +0000</pubDate>
		<guid isPermaLink="false">http://www.sjcuthbertson.me.uk/?p=225#comment-104</guid>
		<description><![CDATA[Indeed, I remember finding that out a couple of years back, in The Bar, I think.  However I notice now he&#039;s not mentioned at all on the site, whilst three other blokes are...? All part of the lie?

When I said I found out &quot;a while ago&quot; - I did originally discover it yonks back, forgot, remembered whilst talking to Ian, forgot, and discovered it again a month before this blog post.

May do an updated version someday, especially if a simple API was created... though currently working on a rather more complex python app that finds optimal arrangements of &quot;items&quot; that have preferences on which other &quot;items&quot; they&#039;re near, for a given configuration of &quot;slots&quot; that these &quot;items&quot; can be placed in.  Savvy? :)]]></description>
		<content:encoded><![CDATA[<p>Indeed, I remember finding that out a couple of years back, in The Bar, I think.  However I notice now he&#8217;s not mentioned at all on the site, whilst three other blokes are&#8230;? All part of the lie?</p>
<p>When I said I found out &#8220;a while ago&#8221; &#8211; I did originally discover it yonks back, forgot, remembered whilst talking to Ian, forgot, and discovered it again a month before this blog post.</p>
<p>May do an updated version someday, especially if a simple API was created&#8230; though currently working on a rather more complex python app that finds optimal arrangements of &#8220;items&#8221; that have preferences on which other &#8220;items&#8221; they&#8217;re near, for a given configuration of &#8220;slots&#8221; that these &#8220;items&#8221; can be placed in.  Savvy? <img src='http://s0.wp.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Python for Pinocchio by Christian Ashby</title>
		<link>http://sjcuthbertson.wordpress.com/2009/09/05/python-for-pinocchio/#comment-103</link>
		<dc:creator><![CDATA[Christian Ashby]]></dc:creator>
		<pubDate>Tue, 19 Jan 2010 08:56:45 +0000</pubDate>
		<guid isPermaLink="false">http://www.sjcuthbertson.me.uk/?p=225#comment-103</guid>
		<description><![CDATA[I happen to live with the man who wrote DWOL, so he can probably provide an API, but still, it was a learning process, right?]]></description>
		<content:encoded><![CDATA[<p>I happen to live with the man who wrote DWOL, so he can probably provide an API, but still, it was a learning process, right?</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Python for Pinocchio by Stuart</title>
		<link>http://sjcuthbertson.wordpress.com/2009/09/05/python-for-pinocchio/#comment-102</link>
		<dc:creator><![CDATA[Stuart]]></dc:creator>
		<pubDate>Sun, 06 Sep 2009 08:38:14 +0000</pubDate>
		<guid isPermaLink="false">http://www.sjcuthbertson.me.uk/?p=225#comment-102</guid>
		<description><![CDATA[Thank you :) I&#039;m well aware that the line numbers are technically fragile (though in the case of DWOL it&#039;s very unlikely there&#039;ll ever be a redesign), but the regexps were a large part of why I wanted to write the thing in the first place! :) I&#039;ll have a look at etree nonetheless, but for this instance, the coding was to teach me something specific (ish) rather than to learn a new library.

I think a flag is actually easier, given that there&#039;s only really one that matters (-d).  -r is there for completeness but it defaults to a random lie anyway.  I&#039;ve always preferred these to the longer-hand form that apt/bzr/etc use.]]></description>
		<content:encoded><![CDATA[<p>Thank you <img src='http://s0.wp.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' />  I&#8217;m well aware that the line numbers are technically fragile (though in the case of DWOL it&#8217;s very unlikely there&#8217;ll ever be a redesign), but the regexps were a large part of why I wanted to write the thing in the first place! <img src='http://s0.wp.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' />  I&#8217;ll have a look at etree nonetheless, but for this instance, the coding was to teach me something specific (ish) rather than to learn a new library.</p>
<p>I think a flag is actually easier, given that there&#8217;s only really one that matters (-d).  -r is there for completeness but it defaults to a random lie anyway.  I&#8217;ve always preferred these to the longer-hand form that apt/bzr/etc use.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Python for Pinocchio by David Laban</title>
		<link>http://sjcuthbertson.wordpress.com/2009/09/05/python-for-pinocchio/#comment-101</link>
		<dc:creator><![CDATA[David Laban]]></dc:creator>
		<pubDate>Sat, 05 Sep 2009 16:57:08 +0000</pubDate>
		<guid isPermaLink="false">http://www.sjcuthbertson.me.uk/?p=225#comment-101</guid>
		<description><![CDATA[Thought I&#039;d give you a few comments:

1) It&#039;s best to write python scripts like C, with a main() function, and then put

if __name__ == &quot;__main__&quot;:
    main(*sys.argv[1:])

at the bottom. This makes it feel more like a program than a hacky script (even though it&#039;s no more effort), and encourages you to write it in a clean, readable top-down style.

2) If it&#039;s xml/xhtml, then try using xml.etree.ElementTree.parse() (etree&#039;s API is a lot nicer than DOM) or something. Rexexps and hard-coded line numbers are fragile.

3) Try using &quot;if &#039;-r&#039; in sys.argv:&quot; if a flag is really what you want. single-letter flags are very old-style unix though. I&#039;m not going to recommend optparse for this because it&#039;s overkill, but maybe an aptitude/svn/bzr-style subcommand (like $ tellalie.py random or $ tellalie.py daily) might be more appropriate in this day and age.

4) Please Please Please read pep8: http://www.python.org/dev/peps/pep-0008/. Style is very important, especially if you&#039;re ever thinking of reading your code in the future. Obvious thing include comments in the wrong place and multiple imports on the same line.

5) It is currently recommended that you write API-compatible 2.6 versions of any python3 modules you write (so i&#039;d be surprised if urllib/urllib2 didn&#039;t have some backwards compatible functions. In the worst case, you can wrap your imports in try/catch). If you want to &quot;from __future__ import print_function&quot; then that&#039;s cool too.]]></description>
		<content:encoded><![CDATA[<p>Thought I&#8217;d give you a few comments:</p>
<p>1) It&#8217;s best to write python scripts like C, with a main() function, and then put</p>
<p>if __name__ == &#8220;__main__&#8221;:<br />
    main(*sys.argv[1:])</p>
<p>at the bottom. This makes it feel more like a program than a hacky script (even though it&#8217;s no more effort), and encourages you to write it in a clean, readable top-down style.</p>
<p>2) If it&#8217;s xml/xhtml, then try using xml.etree.ElementTree.parse() (etree&#8217;s API is a lot nicer than DOM) or something. Rexexps and hard-coded line numbers are fragile.</p>
<p>3) Try using &#8220;if &#8216;-r&#8217; in sys.argv:&#8221; if a flag is really what you want. single-letter flags are very old-style unix though. I&#8217;m not going to recommend optparse for this because it&#8217;s overkill, but maybe an aptitude/svn/bzr-style subcommand (like $ tellalie.py random or $ tellalie.py daily) might be more appropriate in this day and age.</p>
<p>4) Please Please Please read pep8: <a href="http://www.python.org/dev/peps/pep-0008/" rel="nofollow">http://www.python.org/dev/peps/pep-0008/</a>. Style is very important, especially if you&#8217;re ever thinking of reading your code in the future. Obvious thing include comments in the wrong place and multiple imports on the same line.</p>
<p>5) It is currently recommended that you write API-compatible 2.6 versions of any python3 modules you write (so i&#8217;d be surprised if urllib/urllib2 didn&#8217;t have some backwards compatible functions. In the worst case, you can wrap your imports in try/catch). If you want to &#8220;from __future__ import print_function&#8221; then that&#8217;s cool too.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Primary aims by George Mcmee</title>
		<link>http://sjcuthbertson.wordpress.com/2009/04/18/primary-aims/#comment-100</link>
		<dc:creator><![CDATA[George Mcmee]]></dc:creator>
		<pubDate>Mon, 27 Apr 2009 18:02:57 +0000</pubDate>
		<guid isPermaLink="false">http://www.sjcuthbertson.me.uk/?p=223#comment-100</guid>
		<description><![CDATA[I&#039;m wondering if personal happiness as a single long term aim might not require the emotional and spiritual well being necessary to embrace it when the opportunity present itself.  For example, if one is terrified of intimacy, finding personal happiness in a meaningful relationship may be both threatening and difficult.  If meaningful relationships require an openness to intimacy, one terrified of intimacy may avoid such relationships at all costs. Instead, they might pursue &quot;risk free&quot; superficial relationships devoid of intimacy, but familiar and &quot;safe.&quot; An inability to find personal happiness in relationships leaves one with few other fruitful sources.]]></description>
		<content:encoded><![CDATA[<p>I&#8217;m wondering if personal happiness as a single long term aim might not require the emotional and spiritual well being necessary to embrace it when the opportunity present itself.  For example, if one is terrified of intimacy, finding personal happiness in a meaningful relationship may be both threatening and difficult.  If meaningful relationships require an openness to intimacy, one terrified of intimacy may avoid such relationships at all costs. Instead, they might pursue &#8220;risk free&#8221; superficial relationships devoid of intimacy, but familiar and &#8220;safe.&#8221; An inability to find personal happiness in relationships leaves one with few other fruitful sources.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Primary aims by David Laban</title>
		<link>http://sjcuthbertson.wordpress.com/2009/04/18/primary-aims/#comment-99</link>
		<dc:creator><![CDATA[David Laban]]></dc:creator>
		<pubDate>Sun, 19 Apr 2009 19:38:29 +0000</pubDate>
		<guid isPermaLink="false">http://www.sjcuthbertson.me.uk/?p=223#comment-99</guid>
		<description><![CDATA[I wouldn&#039;t bother reading the stuff associated with my post. It&#039;s mainly just me getting to grips with Kant, which you&#039;ve probably already done.

Holly says she&#039;s getting me into Mills next. It&#039;d say that my utility function approach looks a lot more like general &quot;egoism&quot; than specific &quot;utilitarianism&quot;, but I will have to read up on both if I want to convince anyone that utilitarianism isn&#039;t what I mean.

If you wish to maximise the integral over all time of p(at least 1 thing similar to yourself existing at time t), then I think you would probably get utilitarian behaviour emerging as the best way to act. Now I just need to prove it.]]></description>
		<content:encoded><![CDATA[<p>I wouldn&#8217;t bother reading the stuff associated with my post. It&#8217;s mainly just me getting to grips with Kant, which you&#8217;ve probably already done.</p>
<p>Holly says she&#8217;s getting me into Mills next. It&#8217;d say that my utility function approach looks a lot more like general &#8220;egoism&#8221; than specific &#8220;utilitarianism&#8221;, but I will have to read up on both if I want to convince anyone that utilitarianism isn&#8217;t what I mean.</p>
<p>If you wish to maximise the integral over all time of p(at least 1 thing similar to yourself existing at time t), then I think you would probably get utilitarian behaviour emerging as the best way to act. Now I just need to prove it.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Primary aims by Stuart</title>
		<link>http://sjcuthbertson.wordpress.com/2009/04/18/primary-aims/#comment-98</link>
		<dc:creator><![CDATA[Stuart]]></dc:creator>
		<pubDate>Sun, 19 Apr 2009 15:47:31 +0000</pubDate>
		<guid isPermaLink="false">http://www.sjcuthbertson.me.uk/?p=223#comment-98</guid>
		<description><![CDATA[Your latter comment required moderation.  Your former comment was just spam according to Akismet but I corrected it :)

Biologically, the &quot;evolution utility function&quot; is, unfortunately, the only real one.  Life only exists to propagate itself - there&#039;s no higher aim in a biological sense.  However, since we *are* here anyway, and happen to have self-awareness, there&#039;s no reason why we can&#039;t layer other things on top.

I shall look over your discussion so far when I have a mo... probably not for a couple of weeks now, I&#039;m afraid :( But &quot;+5 insightful&quot; on your first comment anyway, for putting something vaguely like what I rambled on about into a more specific mathematical format :)]]></description>
		<content:encoded><![CDATA[<p>Your latter comment required moderation.  Your former comment was just spam according to Akismet but I corrected it <img src='http://s0.wp.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>Biologically, the &#8220;evolution utility function&#8221; is, unfortunately, the only real one.  Life only exists to propagate itself &#8211; there&#8217;s no higher aim in a biological sense.  However, since we *are* here anyway, and happen to have self-awareness, there&#8217;s no reason why we can&#8217;t layer other things on top.</p>
<p>I shall look over your discussion so far when I have a mo&#8230; probably not for a couple of weeks now, I&#8217;m afraid <img src='http://s0.wp.com/wp-includes/images/smilies/icon_sad.gif' alt=':(' class='wp-smiley' />  But &#8220;+5 insightful&#8221; on your first comment anyway, for putting something vaguely like what I rambled on about into a more specific mathematical format <img src='http://s0.wp.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Primary aims by David Laban</title>
		<link>http://sjcuthbertson.wordpress.com/2009/04/18/primary-aims/#comment-97</link>
		<dc:creator><![CDATA[David Laban]]></dc:creator>
		<pubDate>Sun, 19 Apr 2009 12:20:06 +0000</pubDate>
		<guid isPermaLink="false">http://www.sjcuthbertson.me.uk/?p=223#comment-97</guid>
		<description><![CDATA[*wonders whether your comments system requires moderation or if it&#039;s just broken*]]></description>
		<content:encoded><![CDATA[<p>*wonders whether your comments system requires moderation or if it&#8217;s just broken*</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Primary aims by David Laban</title>
		<link>http://sjcuthbertson.wordpress.com/2009/04/18/primary-aims/#comment-96</link>
		<dc:creator><![CDATA[David Laban]]></dc:creator>
		<pubDate>Sat, 18 Apr 2009 22:30:28 +0000</pubDate>
		<guid isPermaLink="false">http://www.sjcuthbertson.me.uk/?p=223#comment-96</guid>
		<description><![CDATA[Okay, so the discussion of &quot;meta-aims&quot; (&quot;utility functions and optimality&quot;) is the direction we (Holly, Alex and myself) are heading in at the moment with our little romp in the philosophical countryside.

I think that all aims should be able to take the form &quot;maximise E[u(world)]&quot; where &quot;world&quot; is the state of the world at all times in the future, &quot;u(world)&quot; is your utility function and &quot;E[.]&quot; is the expectation operator.

One person&#039;s utility function might be
u(world) = A*health + B*wealth + C*wisdom
and another might be
u(world) = E*sexual_activity + F*drug_intake + G*rockandroll_volume
(where rockandroll_volume is a real-valued number between 0 and 11)

I&#039;m trying to think of the simplest possible utility function (preferably well-behaved/measurable). One of the ones that came out of our discussion was the evolution utility function u(world) = count(copies of yourself in the world) or similar, but I don&#039;t think any of us really like that as the &quot;meaning of life&quot;.

For now, we&#039;re looking at the question &quot;There exists a utility function. Does it have to include the happiness of others in order to make us act morally?&quot; I think the answer is &quot;no&quot;, but I&#039;m waiting for Alex&#039;s blog post on the subject.

If you feel like contributing, give us a shout.]]></description>
		<content:encoded><![CDATA[<p>Okay, so the discussion of &#8220;meta-aims&#8221; (&#8220;utility functions and optimality&#8221;) is the direction we (Holly, Alex and myself) are heading in at the moment with our little romp in the philosophical countryside.</p>
<p>I think that all aims should be able to take the form &#8220;maximise E[u(world)]&#8221; where &#8220;world&#8221; is the state of the world at all times in the future, &#8220;u(world)&#8221; is your utility function and &#8220;E[.]&#8221; is the expectation operator.</p>
<p>One person&#8217;s utility function might be<br />
u(world) = A*health + B*wealth + C*wisdom<br />
and another might be<br />
u(world) = E*sexual_activity + F*drug_intake + G*rockandroll_volume<br />
(where rockandroll_volume is a real-valued number between 0 and 11)</p>
<p>I&#8217;m trying to think of the simplest possible utility function (preferably well-behaved/measurable). One of the ones that came out of our discussion was the evolution utility function u(world) = count(copies of yourself in the world) or similar, but I don&#8217;t think any of us really like that as the &#8220;meaning of life&#8221;.</p>
<p>For now, we&#8217;re looking at the question &#8220;There exists a utility function. Does it have to include the happiness of others in order to make us act morally?&#8221; I think the answer is &#8220;no&#8221;, but I&#8217;m waiting for Alex&#8217;s blog post on the subject.</p>
<p>If you feel like contributing, give us a shout.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Paracetamol by Robert Crowston</title>
		<link>http://sjcuthbertson.wordpress.com/2009/01/22/paracetamol/#comment-95</link>
		<dc:creator><![CDATA[Robert Crowston]]></dc:creator>
		<pubDate>Thu, 22 Jan 2009 00:25:47 +0000</pubDate>
		<guid isPermaLink="false">http://www.sjcuthbertson.me.uk/wordpress/2009/01/22/paracetamol/#comment-95</guid>
		<description><![CDATA[I&#039;d go for:

d) Ask which orifice you take the tablets through, asking questions of the form &quot;So, can I take them through my ear/nose/etc.?&quot;]]></description>
		<content:encoded><![CDATA[<p>I&#8217;d go for:</p>
<p>d) Ask which orifice you take the tablets through, asking questions of the form &#8220;So, can I take them through my ear/nose/etc.?&#8221;</p>
]]></content:encoded>
	</item>
</channel>
</rss>

