<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
  <title>Just a Gwai Lo</title>
  <subtitle>fun within prescribed limits</subtitle>
  <link rel="alternate" type="text/html" href="http://justagwailo.com/filter/2006/07/12/side-effect"/>
  <link rel="self" type="application/atom+xml" href="http://justagwailo.com/node/6038/atom/feed"/>
  <id>http://justagwailo.com/node/6038/atom/feed</id>
  <updated>2006-07-12T17:42:33-07:00</updated>
  <entry>
    <title>Which As a Side-Effect Means Learning Python</title>
    <link rel="alternate" type="text/html" href="http://justagwailo.com/filter/2006/07/12/side-effect" />
    <id>http://justagwailo.com/filter/2006/07/12/side-effect</id>
    <published>2006-07-12T17:34:56-07:00</published>
    <updated>2006-07-12T17:42:33-07:00</updated>
    <author>
      <name>Richard</name>
    </author>
    <category term="Drupal" />
    <category term="Filter" />
    <category term="Python" />
    <category term="geeky" />
    <category term="s3" />
    <summary type="html"><![CDATA[<p>The great <a href="http://www.amazon.com/s3">Amazon S3</a> experiment continues, <a href="http://www.justagwailo.com/filter/2006/06/19/your-own-problems">hacking someone elses code to solve my own problem</a>, which as a side-effect means learning Python (which, it turns out, was exactly the same way I learned PHP).  My <a href="http://www.justagwailo.com/video/">mundane videos</a> didn't load correctly in Safari.  Thanks to <a href="http://www.puregin.org/">Djun Kim</a> for pointing that out, though it took Firefox's <a href="http://livehttpheaders.mozdev.org/">Live HTTP Headers extension</a> to figure which Content-Type header Amazon S3 was sending out, which was <tt>text/plain</tt>.  S3 evidently can't figure out on its own side that I was uploading MP4 files, so I had to hack <a href="http://www.holovaty.com/blog/archive/2006/04/07/0927">Adrian Hovolaty's script</a> to hard-code <tt>video/mp4</tt> in and re-upload all the video.  </p>
<p>Astute Drupal reverse-engineering types will note that <a href="http://www.justagwailo.com/skytrain/video">my mundane SkyTrain video</a> appears under my <a href="http://www.justagwailo.com/video/">Video</a> "book" page as well as under the <a href="http://www.justagwailo.com/skytrain/"><i>SkyTrain Explorer</i></a> "book" page (that last part not being technically true, since I use <a href="http://drupal.org/node/44648">custom PHP to expand an outline on a page</a>).  How I put one child underneath multiple parent pages will have to wait until I write it up, but <a href="http://www.tejasa.com/">Moshe Weitzman</a> provided <a href="http://drupal.org/node/5901">a clue in an old Drupal.org issue</a>.</p>
    ]]></summary>
    <content type="html"><![CDATA[<p>The great <a href="http://www.amazon.com/s3">Amazon S3</a> experiment continues, <a href="http://www.justagwailo.com/filter/2006/06/19/your-own-problems">hacking someone elses code to solve my own problem</a>, which as a side-effect means learning Python (which, it turns out, was exactly the same way I learned PHP).  My <a href="http://www.justagwailo.com/video/">mundane videos</a> didn't load correctly in Safari.  Thanks to <a href="http://www.puregin.org/">Djun Kim</a> for pointing that out, though it took Firefox's <a href="http://livehttpheaders.mozdev.org/">Live HTTP Headers extension</a> to figure which Content-Type header Amazon S3 was sending out, which was <tt>text/plain</tt>.  S3 evidently can't figure out on its own side that I was uploading MP4 files, so I had to hack <a href="http://www.holovaty.com/blog/archive/2006/04/07/0927">Adrian Hovolaty's script</a> to hard-code <tt>video/mp4</tt> in and re-upload all the video.  </p>
<p>Astute Drupal reverse-engineering types will note that <a href="http://www.justagwailo.com/skytrain/video">my mundane SkyTrain video</a> appears under my <a href="http://www.justagwailo.com/video/">Video</a> "book" page as well as under the <a href="http://www.justagwailo.com/skytrain/"><i>SkyTrain Explorer</i></a> "book" page (that last part not being technically true, since I use <a href="http://drupal.org/node/44648">custom PHP to expand an outline on a page</a>).  How I put one child underneath multiple parent pages will have to wait until I write it up, but <a href="http://www.tejasa.com/">Moshe Weitzman</a> provided <a href="http://drupal.org/node/5901">a clue in an old Drupal.org issue</a>.</p>
    ]]></content>
  </entry>
</feed>
