Nick Sieger: Category random http://blog.nicksieger.com/articles/category/random en-us 40 do what you love Quote of the day <p>Just stumbled upon <a href="http://www.wired.com/wired/archive/11.12/billjoy.html">this interview with Bill Joy</a> from a couple years ago and it&#8217;s full of quotables. This one caught my eye:</p> <blockquote> <p><em>What about the open source idea in general?</em></p> <p>Open source is fine, but it doesn&#8217;t take a worldwide community to create a great operating system. Look at Ken Thompson creating Unix, Stephen Wolfram writing Mathematica in a summer, James Gosling in his office making Java. Now, there&#8217;s nothing wrong with letting other people help, but open source doesn&#8217;t assist the initial creative act. What we need now are great things. I don&#8217;t need to see the source code. I just want a system that works.</p> </blockquote> <p>It&#8217;s a good reminder that just because something is &#8220;open source&#8221; that doesn&#8217;t make it a great idea. Brilliant ideas are created in the minds of a few &#8211; the wisdom of the crowds usually just ends up diluting a good idea.</p> Wed, 26 Apr 2006 18:39:00 +0000 urn:uuid:19fa3ca8-1df8-4eb1-8cc8-a62ec5d40428 Nick Sieger http://blog.nicksieger.com/articles/2006/04/26/quote-of-the-day random http://blog.nicksieger.com/articles/trackback/3 Jazz and Creativity <p>Short bio moment: I am a jazz musician. I have not been actively playing in recent years as my dual life as information economy worker and father have dominated, but the essence of jazz as a form of communication, interaction, problem solving, patterns, repetition, and creativity have remained in the core of who I am. Whenever I&#8217;m having a down-cycle in my life, it always seems like it&#8217;s because I&#8217;ve gotten away from listening to jazz.</p> <p>So, with that as background, imagine you&#8217;re me and go read Garr Reynold&#8217;s recent post on <a href="http://presentationzen.blogs.com/presentationzen/2006/04/jazz_and_the_ar.html">Jazz and the art of connecting</a>. Even if you&#8217;re not a jazz lover, many of the quotes there resonate so well with any aspect of a creative profession. My favorite (and Garr&#8217;s):</p> <blockquote> <p>“Anyone can make the simple complicated. Creativity is making the complicated simple.&#8221; &#8211; Charles Mingus</p> </blockquote> <p>Now, <a href="http://www.37signals.com/svn/archives2/constraints_breed_breakthrough_creativity.php">37 signals</a> may appear to have the recent trademark on &#8220;embracing constraints&#8221; and its relation to creativity, but it sounds like Charles beat them to the punch! Time to go dig around in some jazz biographies again!</p> Sat, 29 Apr 2006 03:43:00 +0000 urn:uuid:343835a4-4080-4207-99d0-cfaaf8778459 Nick Sieger http://blog.nicksieger.com/articles/2006/04/29/jazz-and-creativity random http://blog.nicksieger.com/articles/trackback/4 Let's keep the minnebar high <p>It&#8217;s going to take me a while to recover from <a href="http://barcamp.org/MinneBar">minn&#x0113;bar</a>. I met some great people, got motivated by some new noble ideas, and generally had a blast. A thousand kudos to <a href="http://alttext.com/">Ben</a> as well as the sponsors for making the event a smashing success.</p> <p>But, let&#8217;s not stop there. We made some initial contact, hit it off well, vibed off of the energy in the venue. I&#8217;d be disappointed to say the least if I didn&#8217;t hear from anyone for another six months until the next event gets planned and scheduled.</p> <p>So, can we make a concerted effort to keep in touch? May I suggest a monthly (or so) geek dinner, drinks or something similarly informal (e.g., the Friday night get together? I wasn&#8217;t there) where we can keep some momentum going and build our relationships? Find out where our own strengths are and how we complement each other?</p> <p>If there&#8217;s one thing coming out of Saturday&#8217;s event where I hope we have a shared vision, it&#8217;s for increasing the amount of innovation in the technology sector in the Twin Cities. This group of people has the talent to make that real.</p> <p>On a side note, I recorded four sessions of audio from Saturday, and at first listen they appeared to come out pretty well. I hope to post them in the coming days.</p> <p>Another side note: the &#8220;&#x0113;&#8221; in minn&#x0113;bar is represented in HTML as unicode entity <code>&amp;#x0113;</code>. Don&#8217;t let your minn&#x0113;bar posts suffer encoding issues on the highway!</p> Mon, 08 May 2006 03:17:00 +0000 urn:uuid:18dac9d2-0ef8-455d-bb0b-3dcdaa3e81c8 Nick Sieger http://blog.nicksieger.com/articles/2006/05/08/lets-keep-the-minnebar-high random minnebar http://blog.nicksieger.com/articles/trackback/10 Minnebar Podcast: Agile Design <p>In this podcast from minnebar 1, <a href="http://alttext.com/">Ben Edwards</a> presents on the topic of agile design. Using memes from the Agile Manifesto and 37 signals among others, Ben does a great job fostering a discussion.</p> <p><a href="/files/minnebar20060506edwards.mp3">Download the podcast here</a>, or put <a href="http://feeds.feedburner.com/nicksieger">my feed</a> in iTunes or another podcatcher to have the podcast downloaded for you.</p> Tue, 23 May 2006 02:44:00 +0000 urn:uuid:a176931d-efad-4cc9-bfed-8477ac2b878d Nick Sieger http://blog.nicksieger.com/articles/2006/05/23/minnebar-podcast-agile-design random minnebar podcast http://blog.nicksieger.com/articles/trackback/15 Minnebar Podcast: Web 2.0 in the Real World <p>In this podcast from minnebar 1, Jamie Thingelstad, CTO of marketwatch.com, describes a real-world, scalable application of asynchronous javascript that uses an event-driven model rather than polling.</p> <p>I enjoyed the session and think it&#8217;s worth a listen &#8211; there are some interesting approaches discussed, including a back-off strategy that helps give the server a chance to tell its javascript clients to not hit it so hard when it&#8217;s under duress.</p> <p><a href="/files/minnebar20060506thingelstad.mp3">Download the podcast here</a>, or put <a href="http://feeds.feedburner.com/nicksieger">my feed</a> in iTunes or another podcatcher to have the podcast downloaded for you. I should be posting more minnebar podcasts in the coming days.</p> Fri, 12 May 2006 03:25:00 +0000 urn:uuid:5096df59-652a-4397-9fc1-592d0fe78d61 Nick Sieger http://blog.nicksieger.com/articles/2006/05/12/minnebar-podcast-web-2-0-in-the-real-world random minnebar podcast http://blog.nicksieger.com/articles/trackback/12 Podcasting with Typo and externally-hosted content <p>My first trials in podcasting have been relatively enjoyable with Typo. Although I wouldn&#8217;t recommend the approach I&#8217;ve taken for someone who isn&#8217;t willing to get their hands pretty dirty.</p> <p>I chose to save money at the expense of time and posted my podcasts to ourmedia.org before realizing that Typo (svn rev 947) does not have native support for externally-hosted enclosures. Following are the hacks I&#8217;ve taken to work around that.</p> <ul> <li>In Typo Admin->Resources, upload a &#8220;blank&#8221; or dummy version of the file you want to serve in your feed. Save the filename you use for later (in the example below I use <code>minnebar20060506edwards.mp3</code>).</li> <li>Upload the real file to the system that will be hosting the file. Get the real length of the file, e.g., using <code>curl -I</code>:</li> </ul> <div class="typocode"><pre><code class="typocode_default ">[22:48:37][~]$ curl -I http://www.archive.org/download/NickSiegerAgileDesign/minnebar20060506edwards.mp3 HTTP/1.1 302 Found Date: Tue, 23 May 2006 03:47:54 GMT Server: Apache/1.3.33 (Debian GNU/Linux) PHP/5.0.4-0.4 X-Powered-By: PHP/5.0.4-0.4 Location: http://ia301231.us.archive.org/3/items/NickSiegerAgileDesign/minnebar20060506edwards.mp3 Content-Type: text/html; charset=iso-8859-1 [22:48:51][~]$ curl -I http://ia301231.us.archive.org/3/items/NickSiegerAgileDesign/minnebar20060506edwards.mp3 HTTP/1.1 200 OK Date: Tue, 23 May 2006 03:49:10 GMT Server: Apache/2.0.54 (Ubuntu) PHP/5.0.5-2ubuntu1.2 mod_ssl/2.0.54 OpenSSL/0.9.7g Last-Modified: Sat, 20 May 2006 03:39:32 GMT ETag: &quot;3c-1d8b320-46bc500&quot; Accept-Ranges: bytes Content-Length: 30978848 Content-Type: audio/mpeg</code></pre></div> <ul> <li>Now open up a Rails console in production mode on your server &#8211; be careful! We need to patch in the real length of the file into the resource record so that the actual length of the file appears in the RSS and Atom feeds.</li> </ul> <div class="typocode"><pre><code class="typocode_default ">$ ./script/console production Loading production environment. &gt;&gt; r = Resource.find :first, :conditions =&gt; ['filename = ?', 'minnebar20060506edwards.mp3'] =&gt; #&lt;Resource:0xb747c2e4 ...&gt; &gt;&gt; r.size = &quot;30978848&quot; =&gt; &quot;30978848&quot; &gt;&gt; r.save =&gt; true &gt;&gt; quit</code></pre></div> <ul> <li>Assuming you&#8217;re deployed on Apache (you are right?), put a permanent redirect in your public/.htaccess file:</li> </ul> <div class="typocode"><pre><code class="typocode_default ">Redirect permanent /files/minnebar20060506edwards.mp3 http://www.archive.org/download/NickSiegerAgileDesign/minnebar20060506edwards.mp3</code></pre></div> <ul> <li>Post your entry, and associate the resource to the post. </li> <li>Check your feed to verify the enclosure entry appears as desired. Put your feed into a podcatcher and ensure the podcast can be downloaded.</li> </ul> <p>As you can see, not exactly the ideal scenario. I haven&#8217;t been following recent Typo development closely but hopefully this can be made to be super-easy in a future rev of Typo. If I was a hardcore podcaster I would probably code up a patch but the above steps work fine for now.</p> Tue, 23 May 2006 03:59:00 +0000 urn:uuid:f93aef75-c0c1-469a-81ee-1cd00cdb1007 Nick Sieger http://blog.nicksieger.com/articles/2006/05/23/podcasting-with-typo-and-externally-hosted-content random typo podcasting http://blog.nicksieger.com/articles/trackback/16 Alley Liberties <p>And now, a break from the tech- and ruby-related tidbits to add some color to a local issue.</p> <p>Today a <a href="http://www.startribune.com/462/story/463664.html">news story</a> of seemingly minor consequence passed through the local news outlets on a proposal for a possible new Minneapolis city ordinance:</p> <blockquote> <p>The proposal would prohibit anyone from walking in an alley who doesn&#8217;t live on that block or who isn&#8217;t a guest of someone who does. Police, paramedics and firefighters would be exempt, as would garbage haulers, meter readers, code inspectors and others whose jobs take them there.</p> </blockquote> <p>Before you call your councilperson and complain that your tax dollars will be wasted, or you call the ACLU and complain that your civil liberties will be infringed, consider this.</p> <p>It strikes me as no small coincidence that my next-door neighbor was shot at point-blank range last night by an assailant who was attempting to car-jack him. He&#8217;s doing fine now, fortunately he had his wits about him and the bullet only grazed his midsection before he retreated back into his garage until the authorities arrived.</p> <p>Would the ordinance have helped my neighbor in this case? Probably not. But what it will do is give the police a legal reason to patrol alleys and question conspicuous behavior. Fast-forward to a time in the future where the ordinance has been in effect for a while and has made Minneapolis neighborhoods safer, and maybe the environment for the crime doesn&#8217;t even exist anymore.</p> <p>One legitimate question is whether an ordinance like this would give police more power to abuse and make it easier to profile and harass people with no other probable cause.</p> <p>For now, given my personal experience, I&#8217;ll gladly give up my right to walk in other alleys in exchange for safety. Why would you want to be back there anyway?</p> Thu, 01 Jun 2006 03:54:00 +0000 urn:uuid:d98c8dc5-b636-4444-80be-242db7b72448 Nick Sieger http://blog.nicksieger.com/articles/2006/06/01/alley-liberties random minneapolis crime http://blog.nicksieger.com/articles/trackback/19 QOTD <p>Spotted the following <a href="http://blade.nagaokaut.ac.jp/cgi-bin/scat.rb/ruby/ruby-talk/196055">thread</a> on <a href="http://blade.nagaokaut.ac.jp/ruby/ruby-talk/index.shtml">ruby-talk</a>:</p> <blockquote> <p><strong>Pat Maddox</strong>: I hate when languages put a condom on my code.<br/> <strong>Gennady Bystritsky</strong>: What does it make your code, then? ;-)<br/> <strong>Mat Schaffer</strong>: Pregnant!</p> </blockquote> Tue, 06 Jun 2006 15:03:00 +0000 urn:uuid:f0ecb093-9d8e-477e-9e4b-96508c233bd8 Nick Sieger http://blog.nicksieger.com/articles/2006/06/06/qotd ruby random ruby http://blog.nicksieger.com/articles/trackback/20 Why does an array index start at 0, not 1 <p>If you were looking for an answer to this question, you apparently cannot get a straight one in the <a href="http://forum.java.sun.com/thread.jspa?threadID=357877&amp;start=0&amp;tstart=0">java forums</a>. Just one of many choice quotes:</p> <blockquote> <blockquote> <p>Anyway, any logically counting would start at 0.</p> </blockquote> <p>I tried that once. I referred to my son as &#8220;Number Zero Son&#8221;. Got a definitely negative response.</p> </blockquote> Thu, 27 Jul 2006 14:57:00 +0000 urn:uuid:a41e4385-8403-4baf-b382-bff2382ece22 Nick Sieger http://blog.nicksieger.com/articles/2006/07/27/why-does-an-array-index-start-at-0-not-1 random qotd java http://blog.nicksieger.com/articles/trackback/37