<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" 
    xmlns:dc="http://purl.org/dc/elements/1.1/"
    xmlns:admin="http://webns.net/mvcb/"
    xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
    xmlns:content="http://purl.org/rss/1.0/modules/content/">

  <channel>
    <title>markpasc.org weblog</title>
    <link>http://markpasc.org/mark/</link>
    <description>Have you seen my scratch skunk?</description>
    <dc:language>en-us</dc:language>
    <dc:creator>markpasc@markpasc.org</dc:creator>
    <dc:rights>Copyright 2006</dc:rights>
    <dc:date>2006-06-20T00:23:02-08:00</dc:date>
    <admin:generatorAgent rdf:resource="http://www.movabletype.org/?v=3.2" />
    <admin:errorReportsTo rdf:resource="mailto:markpasc@markpasc.org"/>

    <item>
      <title>Darwinports&apos; mice squeal</title>
      <link>http://markpasc.org/mark/2006/06/20_darwinports_mice_squeal</link>
      <description>I keep trying to steal my few fleeting minutes at home to work on a project with Django, but so... (265 more words, 4 links)</description>
      <guid isPermaLink="true">http://markpasc.org/weblog/2006/06/20/darwinports_mice_squeal</guid>
      <content:encoded><![CDATA[<p>I keep trying to steal my few fleeting minutes at home to work on a project with <a href="http://www.djangoproject.com/">Django</a>, but so far it's all been trouble setting up MySQL on the Mac.</p>

<p>I'm using DarwinPorts to install the UNIXy stuff like Apache 2, Python 2.4, and MySQL 5. I looked at Fink, since that's the one I'd heard of long before I had the Mac, but as they say in their currently newest news entry:</p>

<blockquote>
  <p>Fink on the Intel platform is still considered "beta" quality, and a number of packages (particularly packages in the "unstable" tree) either do not compile, or compile but do not run. Work to improve this situation is ongoing.</p>
</blockquote>

<p>Installing Apache was cake, but MySQL has been a headache. First I had to <a href="http://www.opendarwin.org/pipermail/darwinports/2006-April/033781.html">figure out</a> I needed the <code>+server</code> "variant" to get the Launch Services script for <em>actually running</em> mysqld. (Getting that installed--making sure the <code>+server</code> build was "activated" and the previous wasn't--was another stolen night, but I'll cop to that.) Now I just get the <code>Can't connect to local MySQL server through socket '/opt/local/var/run/mysql5/mysqld.sock'</code> error as if it's not running, which I guess it isn't, despite there being some weird root process with "mysql5" in the name.</p>

<p>Oh, that's <a href="http://www.opendarwin.org/pipermail/darwinports/2006-April/033782.html">the problem from farther in the thread</a>. I guess it'll have the same solution, too, as "set up the main database" is the next step in <a href="http://wiki.opendarwin.org/index.php/DarwinPorts:MAMP">this "MAMP" guide</a>. That guide's a lot more helpful, in fact; I'm sorry I only found it <em>just now searching for that email thread.</em></p>

<p>Also, anti-props to everyone who thought it was OK to leave <code>.turd_mysql5</code> files in the empty directories <code>port</code> created. I don't want your shit (npi) on my computer.</p>
]]></content:encoded>
      
      <dc:date>2006-06-20T00:23:02-08:00</dc:date>
      <comments>http://markpasc.org/weblog/2006/06/20/darwinports_mice_squeal#comment</comments>
    </item>
    <item>
      <title>Pickin&apos; On CMH Records</title>
      <link>http://markpasc.org/mark/2006/05/31_pickin_on_cmh_records</link>
      <description>The track order of Pickin&apos; on Modest Mouse: A Bluegrass Tribute is wrong on the case liner, the web site,... (97 more words, 3 links)</description>
      <guid isPermaLink="true">http://markpasc.org/weblog/2006/05/31/pickin_on_cmh_records</guid>
      <content:encoded><![CDATA[<p>The track order of <em>Pickin' on Modest Mouse: A Bluegrass Tribute</em> is wrong on the case liner, <a href="http://www.cmhrecords.com/web/page.asp?pgs=product&amp;catid=1&amp;id=613">the web site</a>, and <a href="http://www.amazon.com/gp/product/B0006BGXQ8/">Amazon</a>. (Tellingly, it's a little differently wrong on Amazon.) Using <a href="http://www.the-collective.net/~bwillen/MMLyrics.htm">some random lyrics site</a>, I have determined the actual order on disc is:</p>

<ol>
<li>Polar Opposites</li>
<li>Dark Center of the Universe</li>
<li>Float On</li>
<li>Ocean Breathes Salty</li>
<li>Trailer Trash</li>
<li>Gravity Rides Everything</li>
<li>Interstate 8</li>
<li>A Different City</li>
<li>World at Large</li>
<li>3rd Planet</li>
</ol>

<p>That is, completely different except for track 9. (Amazon has swapped 10 and 5 in CMH's listing, which puts Trailer Trash in the right place.)</p>

<p>I hope this helps the roughly zero people who would have bought this CD and not noticed.</p>
]]></content:encoded>
      
      <dc:date>2006-05-31T14:15:56-08:00</dc:date>
      <comments>http://markpasc.org/weblog/2006/05/31/pickin_on_cmh_records#comment</comments>
    </item>
    <item>
      <title>slurlmarker</title>
      <link>http://markpasc.org/mark/2006/05/30_slurlmarker</link>
      <description>Bookmarking Second Life places, or, About an SL-del.icio.us shmup I threw together this weekend. (498 words, 17 links, 2 images)</description>
      <guid isPermaLink="true">http://markpasc.org/weblog/2006/05/30/slurlmarker</guid>
      <content:encoded><![CDATA[<p>I built a web bookmarking HUD for Second Life over the long weekend, but to introduce it I should say some things about Landmarker.</p>

<p>At this point it's obvious that <a href="http://markpasc.org/weblog/2005/12/22/landmarker_25">Landmarker</a> never caught on. There are three good reasons to name out of hand:</p>

<p style="text-align: center"><a href="http://markpasc.org/mark/images/landmarker1" onclick="window.open('http://markpasc.org/mark/images/landmarker1','popup','width=650,height=603,scrollbars=no,resizable=no,toolbar=no,directories=no,location=no,menubar=no,status=no,left=0,top=0'); return false"><img src="http://markpasc.org/mark/images/landmarker-thumb.png" width="200" height="185" alt="Landmarker screenshot" /></a></p>

<ol>
<li>No advertising push. I didn't lift a finger to tell people about it or explain why it was awesome, as it was just a cool idea of Cienna Rand's that I tossed together as a mod_perl app with a few web service glue toys.</li>
<li>The concepts and design are easy for a web hipster audience, not the general Second Life audience. It's more at home with Flickr and other Web 2.0 services than the dominant example of a hit third-party service for Second Life residents, <a href="http://www.sluniverse.com/pics/">Snapzilla</a>. The folks at Linden Lab who thought it was great obviously got it, but they're in that demographic. (That was also before <a href="http://secondlife.com/developers/mapapi/">the Webmap API</a> and <a href="http://slurl.com/">slurl</a>, so I guess that's what they found cool, as that's what they implemented.)</li>
<li>No in-world interface. While Cienna (and I) hacked up a pretty good HUD prototype (as soon as HUDs arrived in SL--I had built Landmarker before then), I never published it. Without the HUD, the site is a pain to use.</li>
</ol>

<p>The people who understand the value of web landmark bookmarking are the people who, as in #2, probably already find value in general web bookmarking. These people would be (roughly) just as happy with an in-game tool to post to an existing bookmarking site--and I would be happy too, because then I could give Landmarker a proper burial.</p>

<p>So here's slurlmarker.</p>

<p style="text-align: center"><a href="http://sl.neologasm.org/2006/05/slurlmarker_ven.html"><img alt="secondlifepostcard_61.jpg" src="http://markpasc.org/mark/images/secondlifepostcard_61-thumb.jpg" width="300" height="240" /></a></p>

<p>slurlmarker is just the HUD component from #3 above. Instead of building URLs to Landmarker, it builds <a href="http://slurl.com/">slurl</a> links and posts them to <a href="http://del.icio.us/">del.icio.us</a>. It prefills the title and a few tags, like <code>slurlmarker</code>, so you can <a href="http://del.icio.us/tag/slurlmarker">see all the "slurlmarked" links here</a>. It also adds special <code>secondlife:region:</code> tags, the page for which the "View Places Nearby" button loads up.</p>

<p><a href="http://aoide.net/">Lyre Calliope</a> showed <a href="http://sl.neologasm.org/2005/06/chatting_with_l.html">some interest in Landmarker</a>, so I dropped a version of slurlmarker off to her. After some suggestions, she passed a copy to some friends at <a href="http://www.electricsheepcompany.com/index.php">the Electric Sheep Company</a>, including Satchmo Prototype with whom I spoke briefly and who wrote <a href="http://blogs.electricsheepcompany.com/chris/?p=62">a nice blog post about slurlmarker</a>.</p>

<p>You can get your own copy from <a href="http://slurl.com/secondlife/Taco/213/217/25/">the vendor pictured above at Taco (213, 217)</a>. The slurlmarker HUD is full perms and open source. Here are a few starting ideas if you want to hack with it:</p>

<ul>
<li>Fix the clunky way the HUD learns your del.icio.us username. (The first time you try to use it, it asks you to say your username on a randomly selected channel. It remembers it until the script is reset.)</li>
<li>Reproduce Landmarker by <a href="http://secondlife.com/developers/mapapi/">mapping</a> the <a href="http://del.icio.us/rss/tag/slurlmarker">feed of slurlmarked locations</a>.</li>
<li>Use <a href="http://secondlife.com/badgeo/wakka.php?wakka=llHTTPRequest">the new <code>llHTTPRequest</code> LSL function</a> to view or map the feed of nearby locations in-world.</li>
</ul>

<p>Hope you find this fun and/or useful.</p>
]]></content:encoded>
      
      <dc:date>2006-05-30T10:30:27-08:00</dc:date>
      <comments>http://markpasc.org/weblog/2006/05/30/slurlmarker#comment</comments>
    </item>
    <item>
      <title>Deanimator</title>
      <link>http://markpasc.org/mark/2006/05/09_deanimator</link>
      <description>I was hoping to write a Perlbal plugin that deanimated animated GIFs. As you might see from the GIF specification,... (117 more words, 4 links)</description>
      <guid isPermaLink="true">http://markpasc.org/weblog/2006/05/09/deanimator</guid>
      <content:encoded><![CDATA[<p>I was hoping to write a <a href="http://www.danga.com/perlbal/">Perlbal</a> plugin that deanimated animated GIFs. As you might see from <a href="http://www.w3.org/Graphics/GIF/spec-gif89a.txt">the GIF specification</a>, the animation instructions are in a "Graphics Control Extension" block before the image data. I hoped removing the Graphics Control block by turning it into a comment would make browsers not consider it animated, but <a href="http://markpasc.org/lj/200605/bad.gif">as you can see</a> (<a href="http://markpasc.org/lj/200605/orig.gif">original</a>), they do find the other image data and keep animating. I guess you could (a) make the first frame hold for 10 minutes (the maximum pause the format allows), or (b) turn the rest of the file after the first image data block into a comment, at which point you probably might as well just make a deanimated "thumbnail" without the extra image data in.</p>

<p>This is what passes for fun around here.</p>
]]></content:encoded>
      
      <dc:date>2006-05-09T06:23:42-08:00</dc:date>
      <comments>http://markpasc.org/weblog/2006/05/09/deanimator#comment</comments>
    </item>
    <item>
      <title>Applescript: Number Playlist As Album</title>
      <link>http://markpasc.org/mark/2006/05/07_applescript_number_playlist_as_album</link>
      <description>This script has a greatly dangerous flaw: tell application &quot;iTunes&quot; set i to 1 set total to the number of... (128 more words)</description>
      <guid isPermaLink="true">http://markpasc.org/weblog/2006/05/07/applescript_number_playlist_as_album</guid>
      <content:encoded><![CDATA[<p>This script has a greatly dangerous flaw:</p>

<pre><code>tell application "iTunes"
    set i to 1
    set total to the number of current playlist's tracks
    repeat with tr in current playlist's tracks
        set tr's track number to i
        set tr's track count to total
        set i to (i + 1)
    end repeat
end tell
</code></pre>

<p>You have to be playing something in that playlist for this to actually work. Otherwise I guess it starts numbering the tracks in your entire library (if the current song was selected from the "Library" view).</p>

<p>I actually wanted:</p>

<pre><code>tell application "iTunes"
    repeat with bw in browser windows
        set pl to bw's view
        set i to 1
        set total to the number of pl's tracks
        repeat with tr in pl's tracks
            set tr's track number to i
            set tr's track count to total
            set i to (i + 1)
        end repeat
    end repeat
end tell
</code></pre>
]]></content:encoded>
      
      <dc:date>2006-05-07T14:34:21-08:00</dc:date>
      <comments>http://markpasc.org/weblog/2006/05/07/applescript_number_playlist_as_album#comment</comments>
    </item>


  </channel>
</rss>
