<?xml version="1.0" encoding="utf-8"?>
<feed version="0.3"
    xmlns="http://purl.org/atom/ns#"
    xmlns:dc="http://purl.org/dc/elements/1.1/"
    xml:lang="en">

    <title>simonb.com</title>
    <link rel="alternate" type="text/html" href="http://www.simonb.com/" />
    <tagline>a 35mm comedic short about a man</tagline>
    <modified>2008-01-06T10:14:29+08:00</modified>
    <generator url="http://www.pmachine.com/" version="1.6.2">ExpressionEngine</generator>
    <copyright>Copyright (c) 2008, simonb</copyright>


    <entry>
      <title>mac dvd region code reset</title>
      <link rel="alternate" type="text/html" href="http://www.simonb.com/index.php/simonb01/mac_dvd_region_code_reset/" /> 
      <id>tag:simonb.com,2008:/1.143</id>
      <issued>2008-01-05T17:58:00+08:00</issued>
      <modified>2008-01-06T10:14:29+08:00</modified>
      <summary>On the Mac you can change the DVD region code 5 times after which no more changes are &#8220;allowed&#8221;. There&#8217;s something fundamentally wrong with hardware that disables itself. Or hardware that essentially dictates to the owner (the owner!) what it can be used for. Anyway, some searching turns up the means to reset the code. The below applies to Pioneer drives. My Mac has a Pioneer DVR&#45;117 drive there&#8217;s seems to be no specific firmware for this drive downloadable on the net but some searching on the forums makes it clear that we can use the DVR&#45;108 firmware. I found this article particularly helpful. 


WARNING: this may permanently damage your drive. 


The software to flash the drive &#45; DVRFlash &#45; can be downloaded from here.


The firmware can be downloaded from here.


Just follow the instructions, re&#45;flash and region code is updated. Plus I think it adds some new capability to the drive.</summary>
      <created>2008-01-05T17:58:00+08:00</created>
		<author>
		  <name>simonb</name>
		  <url>http://www.simonb.com/</url>		</author>
      <dc:subject>Mac</dc:subject>
      <content type="text/html" mode="escaped" xml:lang="en-US"><![CDATA[]]></content>
    </entry>

    <entry>
      <title>Django AttributeError: &#8216;module&#8217; object has no attribute</title>
      <link rel="alternate" type="text/html" href="http://www.simonb.com/index.php/simonb01/django_attributeerror_module_object_has_no_attribute/" /> 
      <id>tag:simonb.com,2008:/1.142</id>
      <issued>2008-01-03T18:07:00+08:00</issued>
      <modified>2008-01-04T11:23:44+08:00</modified>
      <summary>If you get the error &#8220;AttributeError: &#8216;module&#8217; object has no attribute &#8216;xyz&#8217;&#8221; in Django. It probably means you&#8217;ve added a new app but forgot to put the __init__.py file in the app&#8217;s directory.</summary>
      <created>2008-01-03T18:07:00+08:00</created>
		<author>
		  <name>simonb</name>
		  <url>http://www.simonb.com/</url>		</author>
      <dc:subject>Django, Programming</dc:subject>
      <content type="text/html" mode="escaped" xml:lang="en-US"><![CDATA[]]></content>
    </entry>

    <entry>
      <title>Story of Loss of a Loved One</title>
      <link rel="alternate" type="text/html" href="http://www.simonb.com/index.php/simonb01/story_of_loss_of_a_loved_one/" /> 
      <id>tag:simonb.com,2007:/1.141</id>
      <issued>2007-12-17T17:54:00+08:00</issued>
      <modified>2007-12-18T09:57:14+08:00</modified>
      <summary>I wept</summary>
      <created>2007-12-17T17:54:00+08:00</created>
		<author>
		  <name>simonb</name>
		  <url>http://www.simonb.com/</url>		</author>
      <dc:subject>Humans</dc:subject>
      <content type="text/html" mode="escaped" xml:lang="en-US"><![CDATA[]]></content>
    </entry>

    <entry>
      <title>Google Chart API</title>
      <link rel="alternate" type="text/html" href="http://www.simonb.com/index.php/simonb01/google_chart_api/" /> 
      <id>tag:simonb.com,2007:/1.140</id>
      <issued>2007-12-11T01:18:00+08:00</issued>
      <modified>2007-12-11T01:34:25+08:00</modified>
      <summary>Google have released their chart API. Here&#8217;s a few alternatives for Python:


Matplotlib
ChartDirector
jpgraph
dislin


See also vtk and MayaVi</summary>
      <created>2007-12-11T01:18:00+08:00</created>
		<author>
		  <name>simonb</name>
		  <url>http://www.simonb.com/</url>		</author>
      <dc:subject>Internet, Python</dc:subject>
      <content type="text/html" mode="escaped" xml:lang="en-US"><![CDATA[]]></content>
    </entry>

    <entry>
      <title>Tweaking Words NumPages Field</title>
      <link rel="alternate" type="text/html" href="http://www.simonb.com/index.php/simonb01/tweaking_words_numpages_field/" /> 
      <id>tag:simonb.com,2007:/1.139</id>
      <issued>2007-11-26T23:04:00+08:00</issued>
      <modified>2007-11-27T15:07:21+08:00</modified>
      <summary>How to change the number of pages (NumPages) displayed in Word documents. Edit those field codes.</summary>
      <created>2007-11-26T23:04:00+08:00</created>
		<author>
		  <name>simonb</name>
		  <url>http://www.simonb.com/</url>		</author>
      <dc:subject>Mac, Tech, Windows</dc:subject>
      <content type="text/html" mode="escaped" xml:lang="en-US"><![CDATA[]]></content>
    </entry>

    <entry>
      <title>China Moon Picture</title>
      <link rel="alternate" type="text/html" href="http://www.simonb.com/index.php/simonb01/china_moon_picture/" /> 
      <id>tag:simonb.com,2007:/1.138</id>
      <issued>2007-11-26T18:48:00+08:00</issued>
      <modified>2007-11-27T10:49:07+08:00</modified>
      <summary>China has published pictures from its first moon orbiter.</summary>
      <created>2007-11-26T18:48:00+08:00</created>
		<author>
		  <name>simonb</name>
		  <url>http://www.simonb.com/</url>		</author>
      <dc:subject>China, Tech</dc:subject>
      <content type="text/html" mode="escaped" xml:lang="en-US"><![CDATA[]]></content>
    </entry>

    <entry>
      <title>DTrace</title>
      <link rel="alternate" type="text/html" href="http://www.simonb.com/index.php/simonb01/dtrace/" /> 
      <id>tag:simonb.com,2007:/1.137</id>
      <issued>2007-11-25T03:21:00+08:00</issued>
      <modified>2007-11-25T19:27:58+08:00</modified>
      <summary>Interesting talk by Bryan Cantrill on DTrace. At the beginning he rips into Dreaming in Code by Scott Rosenberg. Scott&#8217;s talk at Google is here.</summary>
      <created>2007-11-25T03:21:00+08:00</created>
		<author>
		  <name>simonb</name>
		  <url>http://www.simonb.com/</url>		</author>
      <dc:subject>Programming</dc:subject>
      <content type="text/html" mode="escaped" xml:lang="en-US"><![CDATA[]]></content>
    </entry>

    <entry>
      <title>Mac Cups Print file was not accepted (client&#45;error&#45;document&#45;format&#45;not&#45;supported)!</title>
      <link rel="alternate" type="text/html" href="http://www.simonb.com/index.php/simonb01/mac_cups_print_file_was_not_accepted_client_error_document_format_not_suppo/" /> 
      <id>tag:simonb.com,2007:/1.136</id>
      <issued>2007-11-20T23:07:00+08:00</issued>
      <modified>2007-11-21T15:13:42+08:00</modified>
      <summary>&#8220;Print file was not accepted (client&#45;error&#45;document&#45;format&#45;not&#45;supported)!&#8221;


Is the error line appearing in /var/log/cups/error_log on the Mac


The reason was this line:


application/octet&#45;stream        application/vnd.cups&#45;raw        0       &#45;


in file /etc/cups/mime.convs on the server being commented out.


To enable raw printing of octet streams (what the mac sends with foomatic etc.) &#45; the line needs to be uncommented. Otherwise the job will be rejected. You can only see this in the cups error_log file on the server with the cups LogLevel set to debug:


print_job: request file type is application/octet&#45;stream.

Print&#45;Job client&#45;error&#45;document&#45;format&#45;not&#45;supported: Unsupported format &#8216;application/octet&#45;stream&#8217;!


Remember Luke.</summary>
      <created>2007-11-20T23:07:00+08:00</created>
		<author>
		  <name>simonb</name>
		  <url>http://www.simonb.com/</url>		</author>
      <dc:subject></dc:subject>
      <content type="text/html" mode="escaped" xml:lang="en-US"><![CDATA[]]></content>
    </entry>

    <entry>
      <title>google apps gmail smtp pop quirks</title>
      <link rel="alternate" type="text/html" href="http://www.simonb.com/index.php/simonb01/google_apps_gmail_smtp_pop_quirks/" /> 
      <id>tag:simonb.com,2007:/1.135</id>
      <issued>2007-10-29T10:25:00+08:00</issued>
      <modified>2007-10-29T10:36:49+08:00</modified>
      <summary>Google Apps is a marv thing. And free too. Since looping our email through Google we&#8217;ve been getting much less spam. But I&#8217;ve noticed the following quirks:


1. smtp.gmail.com is clever about the From field. The user I authenticate as is the one that shows up in the From field when the message is received. So even if I set the From field to be info@..., if I login as simonb@&#8230; The receiver sees email From simonb@&#8230; Once you&#8217;ve authenticated most services let you set the From field to whatever you like.


2. Mail from me to me is invisible to POP. I was emailing error messages to myself which appeared to come from me rather than the from the From field I&#8217;d set (see above). These messages appear in the GMail online Inbox but when I try to download via POP they are invisible.


The above is solved easily enough by creating a new user to represent my test box and have the email sent as the test&#45;box&#45;user. Proceed.</summary>
      <created>2007-10-29T10:25:00+08:00</created>
		<author>
		  <name>simonb</name>
		  <url>http://www.simonb.com/</url>		</author>
      <dc:subject>Internet, Tech</dc:subject>
      <content type="text/html" mode="escaped" xml:lang="en-US"><![CDATA[]]></content>
    </entry>

    <entry>
      <title>Mac Postfix sasl_passwd</title>
      <link rel="alternate" type="text/html" href="http://www.simonb.com/index.php/simonb01/mac_postfix_sasl_passwd/" /> 
      <id>tag:simonb.com,2007:/1.134</id>
      <issued>2007-10-29T08:48:00+08:00</issued>
      <modified>2007-10-29T08:51:27+08:00</modified>
      <summary>Here&#8217;s a page explaining how to make the sasl_passwd.db file used by Postfix when SMTP relaying mail.</summary>
      <created>2007-10-29T08:48:00+08:00</created>
		<author>
		  <name>simonb</name>
		  <url>http://www.simonb.com/</url>		</author>
      <dc:subject>Internet, Mac</dc:subject>
      <content type="text/html" mode="escaped" xml:lang="en-US"><![CDATA[]]></content>
    </entry>


</feed>