<?xml version="1.0"?>
<rss version="2.0">
  <channel>
    <title>Advogato blog for zanee</title>
    <link>http://www.advogato.org/person/zanee/</link>
    <description>Advogato blog for zanee</description>
    <language>en-us</language>
    <generator>mod_virgule</generator>
    <pubDate>Mon, 8 Sep 2008 01:10:02 GMT</pubDate>
    <item>
      <pubDate>Sun, 24 Aug 2008 19:10:09 GMT</pubDate>
      <title>My entire workflow is now OS X - I&#x2019;ve made the switch - Blog Catchup</title>
      <link>http://www.advogato.org/person/zanee/diary.html?start=121</link>
      <guid>http://people.kernelcode.com/cwarner/2008/08/24/my-entire-workflow-is-now-os-x-ive-made-the-switch-blog-catchup/</guid>
      <description>&lt;p&gt;It is done, i know a lot of you may be shocked but i&amp;#8217;ve switched my entire workflow over to OS X. Even my primary desktop workstation which has run Linux explicitly since 1994. The reasons for this are numerous including but not limited to:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Consistency in my desktop experience.&lt;/li&gt;
&lt;li&gt;Stability in regards to underlying system components&lt;/li&gt;
&lt;li&gt;An aesthetic visual experience across the board&lt;/li&gt;
&lt;li&gt;Things like GDB seem to just work&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;
&lt;div&gt;These are just some of the reasons but all in all I haven&amp;#8217;t been doing much Linux only programming anymore. My workflow has been revolving around photography, videos and web programming. That combined with the fact that I do own trinkets such as an Ipod and it was time. All that said, this doesn&amp;#8217;t mean that i&amp;#8217;ll no longer do Linux it just means that it&amp;#8217;s no longer the choice for my desktop at home. I&amp;#8217;m not doing any kernel work or contracts, etc etc. I am not going to rehash arguments heard round the various ml&amp;#8217;s and web in general but suffice to say. It just doesn&amp;#8217;t work for me in this space (home). However, at work my primary workstation is a Linux desktop and will most likely remain so but after this weekend of full on immersion, in a 30 inch experience apple may steal me away &lt;img src='http://people.kernelcode.com/cwarner/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' /&gt; The old workstation will be turned into a retooled OpenSolaris workstation because thats where the new exciting shit is going on, for me anyway. (Thanks to all the people over at Sun who linked to my commentary as positive criticism; I just came across some of the commentary and i&amp;#8217;ll do an update on that stuff soon I hope)&lt;/div&gt;
&lt;/p&gt;
&lt;p&gt;
&lt;div&gt;As far as opensource is concerned there are things that i&amp;#8217;m still working on. So Gnomeweb-plone hack day is this Saturday and we&amp;#8217;ll finish the portlet stuff from 2.x and move from there. Email out about this later on tonight, swear-it.&#xA0;I&amp;#8217;ll be at the 3 day Plone conference this coming October and hope to see everyone and do some cool stuff. For World Plone day I was invited by the New York Plone Users Group to speak for the NYC scene (this is November I believe). Which was a shock to me because I had no clue one existed. Up until now I thought all of my Plone sister/brothers lived in Europe &lt;img src='http://people.kernelcode.com/cwarner/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' /&gt; Definitely attending a meeting ahead of time and hope to have an outline for that first week in September. This will primarily be my work with Plone at New York Media (yes, I really do work here, and no it is fun, we need more people like me there so why not come over?) There are special use cases we have but largely i&amp;#8217;ll be speaking on the process and politics surrounding content management and maybe a brief overview of where Plone is being applied.&lt;/div&gt;
&lt;/p&gt;
&lt;p&gt;
&lt;div&gt;Work has me strapped, but it&amp;#8217;s all positive stuff; this week has been a little dramatic for me personally and it&amp;#8217;s been a really trying time. I haven&amp;#8217;t been responsive but I&amp;#8217;m doing my best to get to all my email and all that. My personal life seems to generally be failing at the expense of my work but i&amp;#8217;m ok with that, the latest incident though really was depressing to hear. Anyway.&lt;/div&gt;
&lt;/p&gt;
&lt;p&gt;
&lt;div&gt;Ahh yes, about the machine; I bought myself a &lt;a title="Mac Pro" href="http://www.apple.com/macpro/" target="_blank" &gt;8 core Mac Pro&lt;/a&gt; with most of all the goodies with the only sad thing being that it has an ATI card. Which I swore off of ATI sometime in 1997 and haven&amp;#8217;t purchased anything since. I really should of gotten the Nvidia card but it would of been special order and I don&amp;#8217;t have time. It would of been another couple months before I got a free weekend to do something like this. I&amp;#8217;ve decided to keep the default keyboard and mouse to see if I could get used to them. Only because of their aesthetic factor initially but the keyboard actually seems to be pretty nice after a day of hacking on it.&#xA0;&lt;/div&gt;
&lt;/p&gt;
&lt;p&gt;
&lt;div&gt;The speeding addiction has finally caught up with me and now lawyers are involved and all these shenanigans. According to people in the know the case is to be dismissed. I may have to actually either get track time or do any speeding I do; out-of-state. If anyone knows of any decent tracks in the greater TriBoro area or NYS or whatever hit me up; again, I actually need it now. Getting a case dismissed is expensive, but I found out the justice system is a total farce; all you have to do is spend more money and make &amp;#8220;donations&amp;#8221; to the right peoples campaigns. That&amp;#8217;s all I&amp;#8217;ll say on that.&lt;/div&gt;
&lt;/p&gt;
&lt;p&gt;
&lt;div&gt;Upgraded wordpress, someone or one of you l33t hackers tried to implement some form of change to my footer file stuff via Apache process to overwrite the file and boost your page ranking. This is the problem with PHP but suffice to say it worked because I changed the permissions to the Apache processes in that dir for some reason. Of course I was notified and I made the appropriate changes; lame. Luckily I have php stuffed with the Suhosin-Patch or it would of been A LOT worse &lt;img src='http://people.kernelcode.com/cwarner/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' /&gt; &lt;/div&gt;
&lt;/p&gt;
&lt;p&gt;
&lt;div&gt;Anyway there&amp;#8217;s much more I wanted to say but I can&amp;#8217;t remember. I&amp;#8217;ll do that the next Blog Catchup in a couple months.&lt;/div&gt;&lt;/p&gt;
</description>
    </item>
    <item>
      <pubDate>Sun, 24 Aug 2008 17:06:33 GMT</pubDate>
      <title>SPARQL and Subquery; 3rd go</title>
      <link>http://www.advogato.org/person/zanee/diary.html?start=120</link>
      <guid>http://people.kernelcode.com/cwarner/2008/08/21/sparql-and-subquery-3rd-go/</guid>
      <description>&lt;p&gt;Well; I gave up and found an easier way using straight rdflib methods; another day wasted. The tutorials on rdflib are pretty bad. So you just can&amp;#8217;t jump straight in. Wordpress formatting sucks, I know; prolly should upgrade.&lt;/p&gt;
&lt;blockquote&gt;&lt;p&gt;from rdflib import ConjunctiveGraph as Graph, Namespace&lt;/p&gt;
&lt;p&gt;DublinCore = Namespace(&amp;#8221;http://purl.org/dc/elements/1.1/&amp;#8221;)&lt;/p&gt;
&lt;p&gt;g = Graph()&lt;br /&gt;
g.parse(&amp;#8221;sample.metadata&amp;#8221;, format=&amp;#8221;xml&amp;#8221;)&lt;/p&gt;
&lt;p&gt;creator_list = list(g.subject_objects(DublinCore["creator"]))&lt;br /&gt;
for data, blank_node in creator_list:&lt;br /&gt;
# We get the dc:creator sequence&lt;br /&gt;
sequence = g.seq(blank_node)&lt;br /&gt;
for creator in sequence:&lt;br /&gt;
print creator&lt;/p&gt;&lt;/blockquote&gt;
</description>
    </item>
    <item>
      <pubDate>Sun, 24 Aug 2008 17:06:32 GMT</pubDate>
      <title>SPARQL and still sub-querying</title>
      <link>http://www.advogato.org/person/zanee/diary.html?start=119</link>
      <guid>http://people.kernelcode.com/cwarner/2008/08/21/sparql-and-still-sub-querying/</guid>
      <description>&lt;blockquote&gt;&lt;p&gt;for x in g.query(&amp;#8221;SELECT ?xcreator WHERE { ?creator dc:creator ?xcreator }&amp;#8221;,&lt;br /&gt;
initNs=ns):&lt;/p&gt;&lt;/blockquote&gt;
&lt;blockquote&gt;&lt;p&gt;print x&lt;/p&gt;&lt;/blockquote&gt;
&lt;blockquote&gt;&lt;p&gt;sub_query = &amp;#8220;SELECT ?creator WHERE { ?xcreator  ?creator }&amp;#8221;&lt;/p&gt;&lt;/blockquote&gt;
&lt;blockquote&gt;&lt;p&gt;for sub_x in g.query(sub_query, initNs=dict(ns)):&lt;br /&gt;
print &amp;#8216;Sub_x %s&amp;#8217; % sub_x&lt;/p&gt;&lt;/blockquote&gt;
&lt;p&gt;This can&amp;#8217;t be the only way to do sub_queries with SPARQL and this doesn&amp;#8217;t work well for me because the first result is on a blanknode. The  stuff is really apart of rdf:seq which I haven&amp;#8217;t figured out how to get yet even though my namespace is correct. ns#_1 contains all of the Literals for Dublin Core/Exif Metadata. I&amp;#8217;m beginning to think maybe the binary tag from ExifTool is wrong or something.&lt;/p&gt;
</description>
    </item>
    <item>
      <pubDate>Sun, 24 Aug 2008 17:06:32 GMT</pubDate>
      <title>SparQL and subquerying</title>
      <link>http://www.advogato.org/person/zanee/diary.html?start=118</link>
      <guid>http://people.kernelcode.com/cwarner/2008/08/20/sparql-and-subquerying/</guid>
      <description>&lt;p&gt;So more into XMP data issues and handling this properly. Parsing the formatted data from ExifTool I realize isn&amp;#8217;t going to be a reliable method for this system. So this meant having to export the full tag in binary from Exiftool utilizing something like: &lt;strong&gt;exiftool -xmp -b sample.jpg &gt; sample.metadata &lt;/strong&gt;sample image comes from Douglas Hackney (thanks!)&lt;/p&gt;
&lt;blockquote&gt;&lt;p&gt;import string, os&lt;br /&gt;
from rdflib import ConjunctiveGraph as Graph, Namespace&lt;/p&gt;
&lt;p&gt;DC = Namespace(&amp;#8221;http://purl.org/dc/elements/1.1/&amp;#8221;)&lt;br /&gt;
RDF = Namespace(&amp;#8221;http://www.w3.org/1999/02/22-rdf-syntax-ns#&amp;#8221;)&lt;br /&gt;
EXIF = Namespace(&amp;#8221;http://ns.adobe.com/exif/1.0/&amp;#8221;)&lt;/p&gt;
&lt;p&gt;ns = dict(dc=DC, rdf=RDF, exif=EXIF)&lt;br /&gt;
g = Graph()&lt;br /&gt;
g.parse(&amp;#8221;sample.metadata&amp;#8221;, format=&amp;#8221;xml&amp;#8221;)&lt;/p&gt;
&lt;p&gt;for x in g.query(&amp;#8217;SELECT ?bExifVersion WHERE {?x exif:ExifVersion ?bExifVersion }&amp;#8217;,&lt;br /&gt;
initNs=ns):&lt;br /&gt;
print &amp;#8220;Exif Version is: %s&amp;#8221; % x&lt;/p&gt;&lt;/blockquote&gt;
&lt;p&gt;The problem line is the &lt;a title="SparQL" target="_blank" href="http://www.w3.org/TR/rdf-sparql-query/#BlankNodesInResults" &gt;SparQL&lt;/a&gt; query which works for ExifVersion because it exists in the primary rdf:Description node and is listed properly in the metadata like exif:ExifVersion but because the Dublin Core Metadata has its own nodes I get blank nodes if I do something like &lt;strong&gt;SELECT ?acreator WHERE {?x dc:creator ?acreator }&lt;/strong&gt;. After validating the metdata via W3.org and getting validation that the rdf is fine I am not sure how to handle this. Is it possible to do sub-queries with SparQL or how does one handle the extra node stuff. Can someone from the w3 comment?&lt;/p&gt;
&lt;p&gt;Nevermind: I&amp;#8217;m doing it wrong &lt;img src='http://people.kernelcode.com/cwarner/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' /&gt; Will update this entry when i&amp;#8217;m complete.&lt;/p&gt;
</description>
    </item>
    <item>
      <pubDate>Tue, 19 Aug 2008 16:14:05 GMT</pubDate>
      <title>Zope2 on Python 2.5, XMP and ExifTool</title>
      <link>http://www.advogato.org/person/zanee/diary.html?start=117</link>
      <guid>http://people.kernelcode.com/cwarner/2008/08/19/zope2-on-python-25-xmp-and-exiftool/</guid>
      <description>Is looking promising; there is even a nice buildbot to check the progress. This is sorely needed by anyone using Plone right now, especially for me. Recently at nymag we&amp;#8217;ve been implementing image management in Plone; the problem is that currently i&amp;#8217;m using exiftool to get XMP data from a file. Sadly, this is not [...]</description>
    </item>
    <item>
      <pubDate>Tue, 12 Aug 2008 19:09:09 GMT</pubDate>
      <title>Neutron Protocol</title>
      <link>http://www.advogato.org/person/zanee/diary.html?start=116</link>
      <guid>http://people.kernelcode.com/cwarner/2008/08/12/neutron-protocol/</guid>
      <description>I came across this article post called Neutron Protocol: Separating UI From The CMS which discusses a protocol that exists for essentially allowing client access to the CMS so that developers may create a completely separate UI from that of data submitted/entered into the CMS. There is no problem with this except that it pretty [...]</description>
    </item>
    <item>
      <pubDate>Sat, 19 Jul 2008 04:10:29 GMT</pubDate>
      <title>Gnome Plone Migration Update</title>
      <link>http://www.advogato.org/person/zanee/diary.html?start=115</link>
      <guid>http://people.kernelcode.com/cwarner/2008/07/19/gnome-plone-migration-update/</guid>
      <description>Anyone working on the Gnome Plone Migration Update or that wants to work on the Gnome Plone Migration;&#xA0; PLEASE EMAIL ME. I&amp;#8217;m inherently swamped and have a deadline and some other things on my plate. This really has to get done and we can finish it in a weekend. Please let&amp;#8217;s not let this fall [...]</description>
    </item>
    <item>
      <pubDate>Sat, 19 Jul 2008 04:10:29 GMT</pubDate>
      <title>Content management, office politics and why there is no such thing as static content</title>
      <link>http://www.advogato.org/person/zanee/diary.html?start=114</link>
      <guid>http://people.kernelcode.com/cwarner/2008/07/19/content-management-office-politics-and-why-there-is-no-such-thing-as-static-content/</guid>
      <description>After reading the book Fearless Change: Patterns for Introducing New Ideas it became clear that introducing new ideas and concepts, getting them across, and then doing them is a full-time job that should not be taking on by one person. It also should not be taking lightly. Needless to say, I wish I would of [...]</description>
    </item>
    <item>
      <pubDate>Fri, 27 Jun 2008 02:13:00 GMT</pubDate>
      <title>Plone - IUser* why don&#x2019;t you exist?</title>
      <link>http://www.advogato.org/person/zanee/diary.html?start=113</link>
      <guid>http://people.kernelcode.com/cwarner/2008/06/27/plone-iuser-why-dont-you-exist/</guid>
      <description>Jotting this down before I forget. Basically the problem is that when you create a new user you want to do stuff after the user is created. Whether it be, add a bunch of folders, send an email, etc. Regular stuff you&amp;#8217;d be able to apply via rules in Plone. Or via the elegant event/subscriber [...]</description>
    </item>
    <item>
      <pubDate>Wed, 25 Jun 2008 05:09:14 GMT</pubDate>
      <title>Carl Sagan</title>
      <link>http://www.advogato.org/person/zanee/diary.html?start=112</link>
      <guid>http://people.kernelcode.com/cwarner/2008/06/25/carl-sagan/</guid>
      <description>Carl Sagan, simply put, was awesome. Far ahead of his time isn&amp;#8217;t even the correct phrase. There are few people on Earth with the clairvoyance to be so forward thinking yet explain their ideas in such a reachable fashion. Some of these things did not even involve Astronomy. He spoke on how human beings interact [...]</description>
    </item>
  </channel>
</rss>
