<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">

  <title><![CDATA[walkah]]></title>
  <link href="http://walkah.net/atom.xml" rel="self"/>
  <link href="http://walkah.net/"/>
  <updated>2012-04-13T16:54:16-04:00</updated>
  <id>http://walkah.net/</id>
  <author>
    <name><![CDATA[James Walker]]></name>
    
  </author>

  
  <entry>
    <title type="html"><![CDATA[New Year, New Blog]]></title>
    <link href="http://walkah.net/blog/new-year-new-blog"/>
    <updated>2012-01-08T00:00:00-05:00</updated>
    <id>http://walkah.net/blog/new-year-new-blog</id>
    <content type="html"><![CDATA[<p>Almost 9 years ago, following the launch of my first major <a href="http://drupal.org/">Drupal</a> project, I <a href="http://walkah.net/blog/walkah/what-huh-new-site/">converted this site</a> to run the software that has shaped my career (and my life) for past decade. However, much like my career, this site was ready for a change.</p>

<h3>Everything old is new again</h3>

<p>This site is now powered by (or generated by) <a href="http://jekyllrb.com/">Jekyll</a> - not entirely unlike the homegrown set of scripts that generated this site before it moved to Drupal. Jekyll has become hugely popular over the past few years in large part due to <a href="http://pages.github.com/">Github pages</a>.</p>

<p>I knew I wanted out of the maintenance overhead of having a dynamic site (security upgrades, monitoring comments, etc) and spent a lot of time looking around at the various alternatives. I nearly ended up using <a href="http://hyde.github.com/">Hyde</a> because I'm generally more comfortable in Python than Ruby, but the Jekyll momentum means that there are plenty of resources around for doing things.</p>

<p>My biggest goal was to get back to <em>writing</em> instead of applying updates (and thinking of more efficient ways to apply updates). I have never enjoyed writing in a browser window. In fact, the handful of blog posts I wrote last year were all written/edited in Markdown in <a href="http://www.gnu.org/software/emacs/">Emacs</a> and copied to my site after. The move to Jekyll is to bring me closer to that writing workflow.</p>

<p>While I've never been much of a "blogger" per se, it's clear from looking through my <a href="http://walkah.net/blog/">archives</a> that I used to write in this space far more frequently than I do now.</p>

<h3>No comments?</h3>

<p>You may notice (particularly if you're reading this on my site and not in a feed reader) that I don't have any comments enabled. This is deliberate - a statement if you will. I don't think we (the internet) have figured out how to do "social" - by which I mean conversations - in a good, decentralized, federated way yet. I have a lot of thoughts on this whole topic that I hope to share in a separate post.</p>

<h3>The setup</h3>

<p>On to the geeky goods! I've spent a little time here and there over the past week figuring out how I wanted things to work and the best way to make it happen. My full site is available on <a href="https://github.com/walkah/walkah.net">Github</a>, but I thought I'd highlight some important pieces:</p>

<p>First up, was pulling all of my old content out of Drupal. Because walkah.net was running Drupal 7 - the included migrator (which is based on Drupal 6) didn't work. My modified version is in <a href="https://github.com/walkah/walkah.net/blob/master/_import/drupal.rb">_import</a>. It's specific to my setup, but should be a good starting point for anyone attempting a similar move.</p>

<p>Next, a lot of my site's traffic is generated from per-tag feeds offered by Drupal's taxonomy system. This isn't something that jekyll provides out of the box, so I created a <a href="https://github.com/walkah/walkah.net/blob/master/_plugins/tag_index.rb">simple plugin</a> to generate tag listing pages and associated feeds.</p>

<p>When you run a Drupal site through as many major versions as I did, things change. As such, I ended up with a bunch of duplicate path aliases. Jekyll, by default, ignores all "dot files" (file with '.' at the start of their name), so I used <a href="https://github.com/mojombo/jekyll/issues/363#issuecomment-1763812">this hint</a> to include an <a href="https://github.com/walkah/walkah.net/blob/master/htaccess">htaccess file</a> where I keep any redirects/aliases/etc.</p>

<p>Of course, since I wanted to be able to write my posts in Emacs with markdown-mode, I am making use of <a href="https://github.com/walkah/emacs.d/blob/master/vendor/jekyll.el">jekyll.el</a> from <a href="http://metajack.im/">Jack Moffit</a>. Creating a new blog post is now <code>M-x jekyll-draft-post</code>!</p>

<p>Finally, I'm using a very simple <a href="https://github.com/walkah/walkah.net/blob/master/Rakefile">Rakefile</a> to deploy new blog posts via rsync.</p>

<p>Now I can blog from the place where I do most of my writing (emacs), publishing is a single shell command, and there is 0 maintenance required for my personal blog. Progress!</p>
]]></content>
  </entry>
  
  <entry>
    <title type="html"><![CDATA[Now running Drupal 6 and Views 2]]></title>
    <link href="http://walkah.net/blog/walkah/now-running-drupal-6-and-views-2"/>
    <updated>2008-08-11T00:00:00-04:00</updated>
    <id>http://walkah.net/blog/walkah/now-running-drupal-6-and-views-2</id>
    <content type="html"><![CDATA[<p>I finally "re-launched" my blog last night, after tinkering for a few months. I'm now running (at the time of writing) <a href="http://drupal.org/">Drupal 6.3</a>. More interesting, however, is that my site is almost entirely powered now by <a href="http://drupal.org/project/views">Views 2</a>.</p>

<p>The biggest visible change is the home page. Inspired in part by <a href="http://mezzoblue.com/">Dave Shea's</a> lovely blog, I wanted to make my front page shorter. So now, I'm displaying the latest full post, with 9 previous titles only. This is all done with views (using the awesome new "attachment" display type).</p>

<p>The other interesting bit is that I'm using the latest version of <a href="http://drupal.org/project/twitter">twitter module</a> so that the "twitter" block on the right is actually views2 powered as well (and gets cached).</p>

<p>I'm sure I'll keep tweaking, but I dig it. How about you?</p>
]]></content>
  </entry>
  
  <entry>
    <title type="html"><![CDATA[Oh noes! walkah got pwned!]]></title>
    <link href="http://walkah.net/blog/walkah/oh-noes-walkah-got-pwned"/>
    <updated>2007-05-07T00:00:00-04:00</updated>
    <id>http://walkah.net/blog/walkah/oh-noes-walkah-got-pwned</id>
    <content type="html"><![CDATA[<p>So, faithful readers, as you may have noticed if you tried to visit this site - I got "hacked". All of the sites hosted here had their index.php files replaced with a defacement message reminding us, amongst other things, that "Hack is not a crime". Since lots of folks have asked - specifically if it was drupal related - and since the information might be generally useful for the internets, I've decided to post a brief recap here.</p>


<p>First off: in a move I'd never seen before, the guys removed *all* log files from the system which makes figuring out exactly what happened pretty darned tricky. In fact, they had removed anything with 'log' in the name - things like logwatch and logrotate binaries were also removed. So, what I say here is largely speculation based on the few remaining traces I found left behind. As such, here is my theory (perhaps the cracking team will be nice enough to post comments with clarifications ;):</p>


<p>The only real clue how they got in was the following in /tmp:
<code>
drwxr-xr-x  3 www-data www-data 4.0K Apr 28 16:24 .sc/
</code>
That might not mean a whole lot - except that the datestamp is right and the directory is owned by www-data : the uid of my apache process. This strongly suggests a web-based exploit. Since pretty much all that runs on my server is Drupal it looks like we've got a problem...</p>


<p>I had an old Drupal 4.4 site still running on this server (sudden-thoughts.com - down until further notice). Drupal 4.4 is susceptible to the (fairly) infamous <a href="http://drupal.org/files/sa-2005-004/advisory.txt">XML-RPC</a> hole. I had manually removed xmlrpc.php from this site, however, it was back - it looks like in a brain cramp moment by yours truly I had cvs up'ed the directory which brought the file back (as part of my routine drupal site maintenance on my server).</p>


<p>Now, that part is speculation, but a likely guess. Without my apache logs I can't even accurately guess which site was targetted... but 'statistics' module is enabled on most sites and showed nothing suspicious in accesslog or watchdog... thus suggesting xmlrpc as a likely candidate. All other sites run Drupal 4.7 or 5 - with all security updates applied. So, if it wasn't that site, then there is a new remote-execution vulnerability in drupal that we've not yet heard about on the Drupal security team. Possible, but unlikely given that the other glaring hole was available.</p>


<p>Remote code execution is a serious problem, but usually containable from a web application if you run apache as a non-privileged user (as i do). So, how then were they able to overwrite all the index.php files?</p>


<p>My server runs <a href="http://debian.org/">Debian</a> Etch (the latest release) with all security updates applied. So, again, unless they were using 2 un-resolved exploits - it leaves one likely option : the kernel. I was running an old, custom compiled 2.4 kernel - I mean *really* old, from 2003. Said kernel is vulnerable to things like <a href="http://secunia.com/advisories/8337/">a ptrace exploit</a> for privilege escalation. My theory is that something like this was used to gain root access. From there, they were able to overwrite all index.php files. They also installed the "shv5" rootkit - which modifies a bunch of system binaries (ls, ifconfig, nestat, etc) - detected by both <a href="http://www.rootkit.nl/">rkhunter</a> and <a href="http://www.chkrootkit.org/">chkrootkit</a>. More information on that available via google.</p>


<p>So, that's my theory and I'm sticking to it. So, is Drupal insecure? No. Not if you're good about running recent, maintained versions and keeping an eye on <a href="http://drupal.org/security">security announcements</a>. The problem here was more accurately due to lackadaisical administration on my part - both with the drupal version and the stale kernel. I know better ... chalk it up as a "shoemaker's son" scenario.</p>


<p>Thanks to <a href="http://acko.net/">Steven</a> who was the first to notify me (via SMS) that something was up. Of course, other speculations are welcome in the comments :)</p>

]]></content>
  </entry>
  
  <entry>
    <title type="html"><![CDATA[Bring on Drupal 5.0!]]></title>
    <link href="http://walkah.net/blog/walkah/bring-drupal-5-0"/>
    <updated>2006-11-01T00:00:00-05:00</updated>
    <id>http://walkah.net/blog/walkah/bring-on-drupal-5-0</id>
    <content type="html"><![CDATA[<p>Happy Halloween everyone : <a href="http://drupal.org/drupal-5.0-beta1">Drupal 5 beta1</a> has been released!</p>


<p>Amongst the several changes in Drupal 5, there is officially a <a href="http://drupal.org/node/91964">new default core theme</a>. After years and years of looking at bluemarine day after day, my eyes have been granted quite a treat. What's better: the new theme, "garland" comes with "color" module which allows you to easily customize the color scheme used.</p>


<p>To celebrate, I've switched this site to use garland - with the old walkah.net color scheme. Like it?</p>

]]></content>
  </entry>
  
  <entry>
    <title type="html"><![CDATA[partitioning]]></title>
    <link href="http://walkah.net/blog/walkah/partitioning"/>
    <updated>2006-10-16T00:00:00-04:00</updated>
    <id>http://walkah.net/blog/walkah/partitioning</id>
    <content type="html"><![CDATA[<p>i have been considering starting a more personal blog for quite sometime. this blog has become much more tech-centric - to the point where i feel reluctant to post lots of personal stories (stuff about the kids, etc) here. however, i've felt lately like i could use an outlet for the goings on in my personal life.</p>


<p>so, i present to you: <a href="http://james.walkah.net/" title="James Walker">james.walkah.net</a>. it won't be for everyone, but if you're family, a friend, or just a fan - check it out. otherwise, stay tuned here for (hopefully more frequent) updates no the geek stuff.</p>

]]></content>
  </entry>
  
  <entry>
    <title type="html"><![CDATA[sellout]]></title>
    <link href="http://walkah.net/blog/walkah/sellout"/>
    <updated>2004-06-16T00:00:00-04:00</updated>
    <id>http://walkah.net/blog/walkah/sellout</id>
    <content type="html"><![CDATA[<p>so, i've totally sold out. you probably didn't notice but there are now google ads.. yes ADS! ... in the right column of this fine site. why? well... 'cause i wanted to see what <a href="http://www.google.com/adsense/">google adsense</a> was like. call it research. call me a sellout. do whatcha like. just click on the links, please ;)</p>
]]></content>
  </entry>
  
  <entry>
    <title type="html"><![CDATA[feeling tweaky]]></title>
    <link href="http://walkah.net/blog/walkah/feeling-tweaky"/>
    <updated>2004-04-16T00:00:00-04:00</updated>
    <id>http://walkah.net/blog/walkah/feeling-tweaky</id>
    <content type="html"><![CDATA[<p>so, as part of my little posting flurry, i spent some time actually looking at my site. frankly, i don't totally dig it. so, i've been playing around here and there trying to make it look cooler. how am i doing? :)</p>

<p>i did add some funky little status indicators for my IM accounts (over there ---&gt;). they actually work too. when they're grey i'm offline, otherwise i'm online. feel free to say 'hi'. the aim status trick i picked up from <a href="http://www.deanspace.org/">deanspace</a>. the jabber status is <a href="http://edgar.netflint.net/index.php">edgar the status bot</a>.</p>
]]></content>
  </entry>
  
  <entry>
    <title type="html"><![CDATA[back to fluid]]></title>
    <link href="http://walkah.net/blog/walkah/back-to-fluid"/>
    <updated>2004-01-29T00:00:00-05:00</updated>
    <id>http://walkah.net/blog/walkah/back-to-fluid</id>
    <content type="html"><![CDATA[<p>so, after briefly flirting with a fixed width design, i've got back a "fluid" layout for this site. thanks mainly to peter at <a href="http://openflows.org/">openflows</a> for some <a href="http://www.humanfactors.com/downloads/oct02.asp#bobbailey">good</a> <a href="http://www.stopdesign.com/log/2003/12/15/fixedorliquid.htm">articles</a> on the merits of liquid layouts. i've personally come to the conclusion that both approaches have their own merits, and as usual it's a matter of fitting the design to the application. that said, this blog (imo) looks better liquid - too damned much white space otherwise. besides, not enough people read it to really make a difference ;)
as an interesting aside... i also dug up <a href="http://www.alistapart.com/articles/elastic/">this article</a> discussing "elastic" design (a sort of compromise). looks like an interesting 3rd party.</p>
]]></content>
  </entry>
  
  <entry>
    <title type="html"><![CDATA[fixed width design]]></title>
    <link href="http://walkah.net/blog/walkah/fixed-width-design"/>
    <updated>2004-01-26T00:00:00-05:00</updated>
    <id>http://walkah.net/blog/walkah/fixed-width-design</id>
    <content type="html"><![CDATA[<p>so after reading some <a href="http://psychology.wichita.edu/surl/usabilitynews/42/text_length.htm">fairly convincing articles</a> on <a href="http://www.phark.net/archives/000156.html">fixed width design</a>. i've decided to change this site to use a fixed width. it's supposed to improve readability. survey says?</p>
]]></content>
  </entry>
  
  <entry>
    <title type="html"><![CDATA[i hate IE. i hate it a lot.]]></title>
    <link href="http://walkah.net/blog/walkah/i-hate-ie-i-hate-it-a-lot"/>
    <updated>2003-12-11T00:00:00-05:00</updated>
    <id>http://walkah.net/blog/walkah/i-hate-ie-i-hate-it-a-lot</id>
    <content type="html"><![CDATA[<p>... on all platforms, all versions. over the past 24 hours, i have wasted waaaay too much time trying to fix and/or work around stupid stupid things that internet explorer does.
first off, there is the <a href="http://www.petitiononline.com/msiepng/petition.html">often-discussed</a>, <a href="http://www.alistapart.com/articles/pngopacity/">frequently-worked-around</a> lack of support for transparent PNG images in IE on windows. silly me, in playing designer on <a href="http://www.sudden-thoughts.com/">sudden thoughts</a>, i made some transparent pngs. they, of course, looked like crap in IE and have since been converted to .gifs :(
then, there is the idiotic CSS wonkiness that was breaking the otherwise elegant dropdown menus at sudden thoughts. (yes those menus are straight ul's - inspired by <a href="http://www.alistapart.com/articles/dropdowns">this article</a>)
finally, <a href="http://www.daemon.co.za/">adrian</a> pointed out that my own site was broken in IE... since i'm not sure when. anyway, i redid the css to use all absolute positioning and IE seems to be happy for the moment.
god i wish everyone would just use <a href="http://www.mozilla.org/">real</a> <a href="http://www.apple.com/safari/">browsers</a>.</p>
]]></content>
  </entry>
  
  <entry>
    <title type="html"><![CDATA[back to drupal]]></title>
    <link href="http://walkah.net/blog/walkah/back-to-drupal"/>
    <updated>2003-11-14T00:00:00-05:00</updated>
    <id>http://walkah.net/blog/walkah/back-to-drupal</id>
    <content type="html"><![CDATA[<p>so, i've gone back to <a href="http://drupal.org/" target="_blank">drupal</a> for hosting my site. i'll probably keep it like this for a long time. it's too much work to convert back and forth :P
i've also been doing some drupal hacking lately, but more on that later...</p>
]]></content>
  </entry>
  
  <entry>
    <title type="html"><![CDATA[trying out gnome-blog
]]></title>
    <link href="http://walkah.net/blog/walkah/trying-out-gnome-blog"/>
    <updated>2003-09-12T00:00:00-04:00</updated>
    <id>http://walkah.net/blog/walkah/trying-out-gnome-blog</id>
    <content type="html"><![CDATA[<!--timestamp:1063392360:-->




<p>so, in an effort to increase my blogging production, i thought i'd try using a blogging utility. thinking at first that i'd probably write one myself (as a chance to play with <a href="http://www.daa.com.au/~james/pygtk/">pygtk</a>), i thought i'd <a href="http://www.google.com/">google</a> for an existing one just in case. well, of course, one already exists. so this is my first post with <a href="http://www.gnome.org/%7Eseth/gnome-blog/">gnome-blog</a>.</p>


<p>

seems nice so far anyway...</p>

]]></content>
  </entry>
  
  <entry>
    <title type="html"><![CDATA[some site fiddling
]]></title>
    <link href="http://walkah.net/blog/walkah/some-site-fiddling"/>
    <updated>2003-07-06T00:00:00-04:00</updated>
    <id>http://walkah.net/blog/walkah/some-site-fiddling</id>
    <content type="html"><![CDATA[<!--timestamp:1057514820:-->


<p>so, i've been playing around with the site a little bit... playing some more with drupal, and re-arranging some other stuff.  most notably, i've seperated my "files" and "gallery" stuff. they're available via links in the right-hand column... but also you can go directly to: <a href="http://cvs.walkah.net/">http://cvs.walkah.net/</a> or <a href="http://gallery.walkah.net/">http://gallery.walkah.net/</a>.</p>

<p>(p.s. i also uploaded 2 - that's right 2! - new pictures from canada day)</p>

<p>(p.p.s. there's a list of my geek toys <a href="/title/toys">here</a>)</p>
]]></content>
  </entry>
  
  <entry>
    <title type="html"><![CDATA[what? huh? new site?]]></title>
    <link href="http://walkah.net/blog/walkah/what-huh-new-site"/>
    <updated>2003-03-29T00:00:00-05:00</updated>
    <id>http://walkah.net/blog/walkah/what-huh-new-site</id>
    <content type="html"><![CDATA[<!--timestamp:1048918620:-->




<p>ok... i've been really quiet again. but now i'm back and things have changed. i've redone my site as a <a href="http://www.drupal.org/">drupal</a> site. This means, amongst other things, that i have a decent way to maintain the site above and beyond my normal method. *hopefully* this will result in more frequent posts.  but, more importantly, it means that i can take advantage of neat features that other people have written without re-writing them myself.  as cool as it is to do that... i've got other things to do.</p>




<p>2 things that I haven't yet incorporated into drupal are:</p>




<ol>

<li>my pictures... drupal has an "image" module... but converting things is more of a hassle that i'm into right now... but all the pictures are still available in the same old place (linked above)</li>

<li>my file downloads... since most of these are just symlinks to my actual config files, that's much easier for me to maintain outside of drupal.

</ol>




<p>Long story short... come on in... heck sign up for an account... make comments... get involved. yay.</p>

]]></content>
  </entry>
  
</feed>

