<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
   <title>Walter Higgins</title>
   <subtitle>Tinkering with Software & the Web</subtitle>
   <link href="http://walterhiggins.net/blog/atom.xml" rel="self" />
   <link href="http://walterhiggins.net/blog/" />
   <id>tag:walterhiggins.net/blog</id>
   <updated>2012-05-12T02:28:12Z</updated>
   <author>
      <name>Walter Higgins</name>
   </author>
    
   <entry>
      <title>The Third Policeman's Walkman </title>
      <link href="http://walterhiggins.net/blog/3rdPolicemansWalkman.html" />
      <id>tag:walterhiggins.net/blog/3rdPolicemansWalkman.html</id>
      <updated>2012-05-12T07:36:00Z</updated>
      <content type="html">
&lt;h2 class="timestamp">2012/05/12 07:36&lt;/h2>

&lt;p>This is a small set of tracks I made over the last 3 weeks while feverishly reading Flann O'Brien's The Third Policeman. It's a great book.&lt;/p>

&lt;p>&lt;object height="425" width="425"> &lt;param name="movie" value="https://player.soundcloud.com/player.swf?url=http%3A%2F%2Fapi.soundcloud.com%2Fplaylists%2F1977517&amp;amp;auto_play=false&amp;amp;player_type=artwork&amp;amp;color=ff7700">&lt;/param> &lt;param name="allowscriptaccess" value="always">&lt;/param> &lt;embed allowscriptaccess="always" height="425" src="https://player.soundcloud.com/player.swf?url=http%3A%2F%2Fapi.soundcloud.com%2Fplaylists%2F1977517&amp;amp;auto_play=false&amp;amp;player_type=artwork&amp;amp;color=ff7700" type="application/x-shockwave-flash" width="425">&lt;/embed> &lt;/object>   &lt;/p>

&lt;p>The music itself is a mixed bag. I hope you like it.&lt;/p>

&lt;p>&lt;h2 class="categories">Categories&lt;/h2>&lt;div class="categories">
&lt;a href="cat-index-music">Music&lt;/a>, &lt;a href="cat-index-saganism">Saganism&lt;/a>&lt;/div>
&lt;!-- pre-markdown processing for this page took 0 seconds -->&lt;/p>
</content>
   </entry>
	
   <entry>
      <title>Books</title>
      <link href="http://walterhiggins.net/blog/Books.html" />
      <id>tag:walterhiggins.net/blog/Books.html</id>
      <updated>2012-04-28T15:48:00Z</updated>
      <content type="html">
&lt;h2 class="timestamp">2012/04/28 15:48&lt;/h2>

&lt;p>Some books I've been reading lately...&lt;/p>

&lt;h3>Homicide: David Simon&lt;/h3>

&lt;p>I picked this up for 5 euro in HMV a few weeks back. It's very good. 
Anyone who's watched The Wire knows Simon has a great ear for dialogue 
and this book chronicling a year (1988) he spent with the Baltimore PD 
homicide dept displays the same acute ear for dialogue. If you're a fan 
of The Wire, this is a good read. &lt;/p>

&lt;h3>Venus in Furs: Leopold Von Sacher-Masoch&lt;/h3>

&lt;p>This is considered a bit of a classic (it was written in the 1870s) and 
is about a man who enslaves himself to a woman (Masoch unwittingly gave 
his name to Masochism). It's not a great read though it is sometimes 
funny (especially near the end).&lt;/p>

&lt;h3>In Praise of Older Women: Stephen Vizinczey&lt;/h3>

&lt;p>This one is very good. Wise and Funny in the way of some east-european 
writers. If you've ever read any of Milan Kundera's books and like them, 
you'll probably enjoy this.&lt;/p>

&lt;h3>The Third Policeman: Flann O'Brien&lt;/h3>

&lt;p>I haven't finished this yet but it is wonderful. I think I love it 
already. Surreal and very funny. &lt;/p>

&lt;p>I've been reading more books lately - actual physical books made of 
paper! - and spending less time online. &lt;/p>

&lt;p>It feels good.&lt;/p>

&lt;p>&lt;h2 class="categories">Categories&lt;/h2>&lt;div class="categories">
&lt;a href="cat-index-books">Books&lt;/a>&lt;/div>
&lt;!-- pre-markdown processing for this page took 0 seconds -->&lt;/p>
</content>
   </entry>
	
   <entry>
      <title>The Kids on Minecraft</title>
      <link href="http://walterhiggins.net/blog/The-Kids-on-Minecraft.html" />
      <id>tag:walterhiggins.net/blog/The-Kids-on-Minecraft.html</id>
      <updated>2012-04-14T14:42:00Z</updated>
      <content type="html">
&lt;h2 class="timestamp">2012/04/14 14:42&lt;/h2>

&lt;p>A quick pic of the Kids in MineCraft. &lt;a href="http://twitter.com/notch">Notch&lt;/a> should make it easy to create skins from within Minecraft itself.&lt;/p>

&lt;p>&lt;img src="images/2012-04-14_15.02.15.png" alt="Kids in Minecraft" title="" />&lt;/p>

&lt;p>&lt;h2 class="categories">Categories&lt;/h2>&lt;div class="categories">
&lt;a href="cat-index-minecraft">Minecraft&lt;/a>&lt;/div>
&lt;!-- pre-markdown processing for this page took 0 seconds -->&lt;/p>
</content>
   </entry>
	
   <entry>
      <title>On GitHub </title>
      <link href="http://walterhiggins.net/blog/On-GitHub.html" />
      <id>tag:walterhiggins.net/blog/On-GitHub.html</id>
      <updated>2012-04-14T00:02:00Z</updated>
      <content type="html">
&lt;h2 class="timestamp">2012/04/14 00:02&lt;/h2>

&lt;p>So I'm over on &lt;a href="https://github.com/walterhiggins">GitHub&lt;/a> if anyone is interested. What do I plan to 
put up there? Not too sure to be honest. I've posted the source code to 
the markdown helper javascript I use here on this blog. It does basic 
stuff like indenting a block of selected text, quoting and line-wrapping 
- that sort of thing. I also plan to post my beloved TinyTemplate perl 
module. &lt;a href="http://search.cpan.org/~walterh/">CPAN&lt;/a> doesn't take kindly to projects with the word 'Tiny' 
in them any more. Too bad, I think the world could use less software. 
I've been meaning to update my TinyMake module for a while now - the 
documentation is plain wrong in places. I think GitHub might be a better 
home for my odds and ends. We'll see.&lt;/p>

&lt;p>&lt;h2 class="categories">Categories&lt;/h2>&lt;div class="categories">
&lt;a href="cat-index-programming">Programming&lt;/a>, &lt;a href="cat-index-version-control">Version Control&lt;/a>, &lt;a href="cat-index-github">GitHub&lt;/a>&lt;/div>
&lt;!-- pre-markdown processing for this page took 0 seconds -->&lt;/p>
</content>
   </entry>
	
   <entry>
      <title>IDM Is Creatively Bankrupt</title>
      <link href="http://walterhiggins.net/blog/IDM-Is-Creatively-Bankrupt.html" />
      <id>tag:walterhiggins.net/blog/IDM-Is-Creatively-Bankrupt.html</id>
      <updated>2012-04-08T16:20:00Z</updated>
      <content type="html">
&lt;h2 class="timestamp">2012/04/08 16:20&lt;/h2>

&lt;p>It's Easter Sunday. Ursula is in the College Library studying for upcoming Law exams. There are 5 children in the house (only 2 of which are mine). Like any good adult guardian, I picked up some headphones and my iPad and spent some time noodling in GarageBand to drown out the noise. This is the result...&lt;/p>

&lt;iframe width="100%" height="166" scrolling="no" frameborder="no" src="http://w.soundcloud.com/player/?url=http%3A%2F%2Fapi.soundcloud.com%2Ftracks%2F42425779&amp;show_artwork=true">&lt;/iframe>

&lt;p>... This is probably the best thing I've put up on SoundCloud in ages. The bass-line gets interesting around the 1:40 mark thanks to some liberal use of Echo. &lt;/p>

&lt;p>&lt;h2 class="categories">Categories&lt;/h2>&lt;div class="categories">
&lt;a href="cat-index-saganism">Saganism&lt;/a>, &lt;a href="cat-index-music">Music&lt;/a>&lt;/div>
&lt;!-- pre-markdown processing for this page took 0 seconds -->&lt;/p>
</content>
   </entry>
	
   <entry>
      <title>Titanic in Super 3D </title>
      <link href="http://walterhiggins.net/blog/Titanic-in-Super-3D.html" />
      <id>tag:walterhiggins.net/blog/Titanic-in-Super-3D.html</id>
      <updated>2012-04-08T08:29:00Z</updated>
      <content type="html">
&lt;h2 class="timestamp">2012/04/08 08:29&lt;/h2>

&lt;iframe width="560" height="315" title="Titanic in Super 3D" src="http://www.youtube.com/embed/dJxj1mou03M" 
        frameborder="0" allowfullscreen>
      &lt;p>&lt;a href="http://youtu.be/dJxj1mou03M">Titanic in Super 3D&lt;/a>&lt;/p>
&lt;/iframe>

&lt;p>Too Funny.&lt;/p>

&lt;p>&lt;h2 class="categories">Categories&lt;/h2>&lt;div class="categories">
&lt;a href="cat-index-humour">Humour&lt;/a>, &lt;a href="cat-index-titanic">Titanic&lt;/a>, &lt;a href="cat-index-piss-take">Piss Take&lt;/a>&lt;/div>
&lt;!-- pre-markdown processing for this page took 0 seconds -->&lt;/p>
</content>
   </entry>
	
   <entry>
      <title>Exiles</title>
      <link href="http://walterhiggins.net/blog/Exiles.html" />
      <id>tag:walterhiggins.net/blog/Exiles.html</id>
      <updated>2012-04-08T08:02:00Z</updated>
      <content type="html">
&lt;h2 class="timestamp">2012/04/08 08:02&lt;/h2>

&lt;p>For your reading pleasure this fine Easter morning...&lt;/p>

&lt;blockquote>
  &lt;p>I saw Quora&amp;#146;s potential early on &amp;#151; it could have been a giant repository 
  of information, a kind of interactive encyclopedia with views coming 
  from everywhere. And certainly, there are still very interesting 
  questions being asked (this one and this one came in my Quora weekly 
  digest, and were pretty interesting). But it&amp;#146;s all being overrun with 
  meaningless questions. Put simply, it&amp;#146;s just hard to filter through all 
  the noise to get to the worthwhile content. That&amp;#146;s one reason why I 
  visit the site maybe once a month, and just read the weekly digest instead. &lt;br />
  -- &lt;a href="http://delw.in/quoras-demise/">Quora&amp;#146;s Demise : delwin campbell&lt;/a>&lt;/p>
&lt;/blockquote>

&lt;p>... and this...&lt;/p>

&lt;blockquote>
  &lt;p>Finally, and this was the last straw, in the fall, when there was the 
  smell of snow, we allowed six men and a girl-child of the Waterfall 
  People to enter our home, all six hungry and weak, and I was asked if I 
  could shelter two of the men in my already very-crowded cave, as if it 
  was my job to teach strangers the ways of the Red Valley People, and 
  asked to share my smoked deer meat&amp;#151;even though it was never made clear 
  to me exactly how much smoked deer I should be giving to the People. 
  That's when I began to wonder exactly why I had joined the Red Valley People. &lt;br />
  -- &lt;a href="http://www.ftrain.com/rv.html">Why I Am Leaving the People of the Red Valley (Ftrain.com)&lt;/a>&lt;/p>
&lt;/blockquote>

&lt;h2>Related&lt;/h2>

&lt;p>&lt;a href="http://www.thedailymash.co.uk/index.php?option=com_content&amp;amp;task=view&amp;amp;id=5007&amp;amp;Itemid=81">The Daily Mash - Why I am leaving the Empire, by Darth Vader&lt;/a>&lt;/p>

&lt;p>&lt;a href="http://www.nytimes.com/2012/03/14/opinion/why-i-am-leaving-goldman-sachs.html?pagewanted=all">Why I Am Leaving Goldman Sachs - NYTimes.com&lt;/a>&lt;/p>

&lt;p>&lt;h2 class="categories">Categories&lt;/h2>&lt;div class="categories">
&lt;a href="cat-index-the-social-media-exile-essay">The Social Media Exile Essay&lt;/a>&lt;/div>
&lt;!-- pre-markdown processing for this page took 0 seconds -->&lt;/p>
</content>
   </entry>
	
   <entry>
      <title>Lego Spaceships</title>
      <link href="http://walterhiggins.net/blog/LegoSpaceships.html" />
      <id>tag:walterhiggins.net/blog/LegoSpaceships.html</id>
      <updated>2012-04-06T13:31:00Z</updated>
      <content type="html">
&lt;h2 class="timestamp">2012/04/06 13:31 &lt;/h2>

&lt;p>I love the rinky-dinky transparent cheese-wedge cockpits on these models. Just ... Lovely!&lt;/p>

&lt;p>&lt;a href="http://www.flickr.com/photos/yoderism/7048514975/" title="NCP Colonial Fleet by Mike el Fabricante, on Flickr">&lt;img src="http://farm6.staticflickr.com/5451/7048514975_c0417354b0.jpg" width="500" height="375" alt="NCP Colonial Fleet">&lt;/a>&lt;/p>

&lt;p>&lt;h2 class="categories">Categories&lt;/h2>&lt;div class="categories">
&lt;a href="cat-index-lego">Lego&lt;/a>&lt;/div>
&lt;!-- pre-markdown processing for this page took 0 seconds -->&lt;/p>
</content>
   </entry>
	
   <entry>
      <title>Mixing it Up</title>
      <link href="http://walterhiggins.net/blog/Mixing.html" />
      <id>tag:walterhiggins.net/blog/Mixing.html</id>
      <updated>2012-04-03T17:16:00Z</updated>
      <content type="html">
&lt;h2 class="timestamp">2012/04/03 17:16 &lt;/h2>

&lt;p>Who says a blog should have a uniform style throughout?&lt;/p>

&lt;ol>
&lt;li>&lt;a href="http://walterhiggins.net/blog/InfiniteScrolling">Exhibit A&lt;/a>&lt;/li>
&lt;li>&lt;a href="http://walterhiggins.net/blog/WebLand">Exhibit B&lt;/a>&lt;/li>
&lt;li>&lt;a href="http://walterhiggins.net/blog/Pretend">Exhibit C&lt;/a>&lt;/li>
&lt;/ol>

&lt;p>Three different blog posts; Three different style-sheets. The 
stylesheets are set randomly whenever the blog is updated. I'm kind of 
fond of the &lt;a href="http://www.jwz.org/blog/">Jamie Zawinski&lt;/a>-inspired &lt;a href="hacker.css">hacker.css&lt;/a> style but 
it probably isn't to everyone's taste. Chances are the above 3 examples 
won't have different styles the next time the blog is rebuilt so browse 
the archives to see examples of the stylesheets in use. I've been 
prepping my blogging software for use by my 10 year old daughter, I want 
to teach her a little about blogging, HTML &amp;amp; CSS so I've depersonalized 
the software and provided a &lt;a href="default.css">default.css&lt;/a> stylesheet for use by 
someone new to my blogging software - it has sensible defaults that 
emphasize readability, and provides a good starting point for exploring 
the different aspects of CSS. I've been beavering away on the blogging 
software late at night, ironing out the kinks to make it easier for her 
to use.&lt;/p>

&lt;!-- partial generated at Tue Apr  3 10:40:05 2012-->

&lt;blockquote class="twitter">
  &lt;table>
    &lt;tr>
       &lt;td colspan="2">&lt;p>10 yr old daughter now has her own domain, SSH and FTP account. Been walking her through unix basics. They grow up so quickly. mmfff.&lt;/p>&lt;/td>
     &lt;/tr>
     &lt;tr class="tweetinfo">
      &lt;td valign="top" width="64">&lt;a href="http://twitter.com/walter">&lt;img src="images/twitter/walter.png"/>&lt;/a>&lt;/td>
      &lt;td valign="top" align="left">
        &lt;div class="twitterer">Walter Higgins (&lt;a href="http://twitter.com/walter">@walter&lt;/a>)&lt;/div>
        &lt;div class="tweetlink">&lt;a href="https://twitter.com/walter/status/183858772698083328">Sun Mar 25 2012&lt;/div>
       &lt;/td>
     &lt;/tr>
  &lt;/table>
&lt;/blockquote>             

&lt;p>She's been blogging away for the past two years on wordpress.com and has 
become really good at expressing herself and presenting her photos. 
Moving to her very own domain where she has full control will be a bit 
of an adjustment - I hope she likes her new online home.&lt;/p>

&lt;p>&lt;h2 class="categories">Categories&lt;/h2>&lt;div class="categories">
&lt;a href="cat-index-css">CSS&lt;/a>, &lt;a href="cat-index-web-design">Web Design&lt;/a>&lt;/div>
&lt;!-- pre-markdown processing for this page took 0 seconds -->&lt;/p>
</content>
   </entry>
	
   <entry>
      <title>Replacing Text In Multiple Files : Redux</title>
      <link href="http://walterhiggins.net/blog/InplaceEditingRedux.html" />
      <id>tag:walterhiggins.net/blog/InplaceEditingRedux.html</id>
      <updated>2012-04-02T17:10:00Z</updated>
      <content type="html">
&lt;h2 class="timestamp">2012/04/02 17:10 &lt;/h2>

&lt;p>A couple of weeks ago I wrote about replacing text in multiple files and 
came up with - what I thought at the time was - a reasonable one-line 
&lt;a href="TextSubstitution">solution&lt;/a>. Behold! Thanks to the power of Unix Golf I present a more 
concise one-line command (working in Unix and CygWin)...&lt;/p>

&lt;pre>&lt;code>find . | xargs grep -l '{OLD}'  | xargs -I % perl -pi~ -e 's/{OLD}/{NEW}/g' %
&lt;/code>&lt;/pre>

&lt;p>... I call this the &lt;em>Perl Pie&lt;/em> solution since it's Perl's &lt;code>-p -i -e&lt;/code> 
flags which do much of the heavy lifting. &lt;/p>

&lt;blockquote>
  &lt;p>Perl -i specifies that files processed by the &amp;lt;> construct are to be 
  edited in place. It does this by renaming the input file, opening the 
  output file by the original name, and selecting that output file as the 
  default for calls to &lt;code>print, printf,&lt;/code> and &lt;code>write&lt;/code>. &lt;br />
  -- &lt;a href="http://www.amazon.com/gp/product/0596004923/ref=as_li_tf_tl?tag=xanajavaperle-20">Programming Perl&lt;/a>&lt;/p>
&lt;/blockquote>

&lt;p>This is a much shorter solution than what I came up with earlier; 77 
characters compared to the previous solution's 132. I shaved off a 
couple of characters from the first half of the command by using &lt;code>grep 
-l&lt;/code> to only show the file name for matches - doing away with the need 
for the subsequent &lt;code>| cut -d':' -f1&lt;/code> statement, and thanks to &lt;code>perl -i&lt;/code>, 
there's no need to explicitly open, slurp, and close the file. Less 
typing means less errors. ;-)&lt;/p>

&lt;p>&lt;h2 class="categories">Categories&lt;/h2>&lt;div class="categories">
&lt;a href="cat-index-unix">Unix&lt;/a>, &lt;a href="cat-index-perl">Perl&lt;/a>&lt;/div>
&lt;!-- pre-markdown processing for this page took 0 seconds -->&lt;/p>
</content>
   </entry>
	
</feed>

