<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:dc="http://purl.org/dc/elements/1.1/" version="2.0"><channel><atom:link rel="hub" href="http://tumblr.superfeedr.com/" xmlns:atom="http://www.w3.org/2005/Atom"/><description>what is all comes down to</description><title>starjuice.net</title><generator>Tumblr (3.0; @sheldonh)</generator><link>http://starjuice.net/</link><item><title>Body copy guidelines</title><description>&lt;p&gt;I just sent the following email to some cow orkers. It took me ages to dig up the links. It always takes me ages, so I’m blogging it as a bookmark.&lt;/p&gt;

&lt;hr&gt;&lt;p&gt;Here are two excellent references for my religious perspective on typesetting and layout of body copy. It will take you less than 10 minutes to read both articles, I promise. You will:&lt;/p&gt;

&lt;ul&gt;&lt;li&gt;Discover why you feel drained after a lot of browsing.&lt;/li&gt;
&lt;li&gt;Inspire you to make Hetzner’s copy a relaxing pleasure to read.&lt;/li&gt;
&lt;li&gt;Discover a browser plugin that transforms your experience of reading through a web browser.&lt;/li&gt;
&lt;/ul&gt;&lt;a href="http://www.smashingmagazine.com/2011/10/07/16-pixels-body-copy-anything-less-costly-mistake/"&gt;16 Pixels For Body Copy. Anything Less Is A Costly Mistake&lt;/a&gt;

&lt;p&gt;Better argument than the article below, and more recent. But only covers font size. You have to read beyond the guy’s marketing bias to recognize that what he’s saying applies even to transactional body copy.&lt;/p&gt;

&lt;a href="http://www.informationarchitects.jp/en/100e2r/"&gt;The 100% Easy-2-Read Standard&lt;/a&gt;

&lt;p&gt;Goes beyond font size. Rocked my world back in 2006. The web should be this way.&lt;/p&gt;

&lt;a href="http://www.readability.com/"&gt;Readability Addon&lt;/a&gt;

&lt;p&gt;Once you’ve read this stuff and gotten inspired for the future and depressed for the present…  You can get an idea of what the world wide web might be like if everyone followed these guidelines, by checking out an awesome browser plugin/addon called Readability.&lt;/p&gt;

&lt;p&gt;I guarantee you, it’ll increase your attention span, and suck your soul out through your eyeballs less. Or your money back. ;-)&lt;/p&gt;</description><link>http://starjuice.net/post/14451264685</link><guid>http://starjuice.net/post/14451264685</guid><pubDate>Mon, 19 Dec 2011 12:26:31 +0200</pubDate></item><item><title>Setting HTTP Referer with capybara</title><description>&lt;p&gt;Because it took me an hour to find out… To set the HTTP Referer for a request in a cucumber step definition using capybara with the default driver (Capybara::RackTest::Driver):&lt;/p&gt;

&lt;pre class="prettyprint"&gt;
referer = 'http://example.com/'
Capybara.current_session.driver.header 'Referer', referer
visit '/'
&lt;/pre&gt;

&lt;p&gt;Note that this persists for the remainder of the session. If you know how you’re supposed to unset an header, please be nice and leave a comment.&lt;/p&gt;</description><link>http://starjuice.net/post/13826904994</link><guid>http://starjuice.net/post/13826904994</guid><pubDate>Tue, 06 Dec 2011 16:53:23 +0200</pubDate></item><item><title>Landmark moment. I finally wrote some decent code.</title><description>&lt;img src="http://26.media.tumblr.com/tumblr_lvq64l2Zig1qzmx46o1_500.png"/&gt;&lt;br/&gt;&lt;br/&gt;&lt;p&gt;Landmark moment. I finally wrote some decent code.&lt;/p&gt;</description><link>http://starjuice.net/post/13774427096</link><guid>http://starjuice.net/post/13774427096</guid><pubDate>Mon, 05 Dec 2011 11:53:09 +0200</pubDate><category>personal</category></item><item><title>The Emo Divinyls</title><description>&lt;p&gt;I cut myself&lt;br/&gt;
I want you to cut me&lt;br/&gt;
When I’m feelin’ down&lt;br/&gt;
I want you above me&lt;br/&gt;
I search myself&lt;br/&gt;
I want you to find me&lt;br/&gt;
I forget myself&lt;br/&gt;
I want you to remind me&lt;/p&gt;

&lt;p&gt;I don’t cut anybody else&lt;br/&gt;
When I think about you&lt;br/&gt;
I cut myself&lt;/p&gt;</description><link>http://starjuice.net/post/12923771338</link><guid>http://starjuice.net/post/12923771338</guid><pubDate>Thu, 17 Nov 2011 15:13:36 +0200</pubDate></item><item><title>My first project using my birthday present. I haven’t put...</title><description>&lt;embed type="application/x-shockwave-flash" src="http://assets.tumblr.com/swf/audio_player_black.swf?audio_file=http://www.tumblr.com/audio_file/12509083126/tumblr_lucad4557H1qzmx46&amp;color=FFFFFF&amp;logo=soundcloud" height="27" width="207" quality="best" wmode="opaque"&gt;&lt;/embed&gt;&lt;br/&gt;&lt;br/&gt;&lt;p&gt;My first project using my birthday present. I haven’t put much effort into the drum track, because this is music for me to drum to. :-)&lt;/p&gt;</description><link>http://starjuice.net/post/12509083126</link><guid>http://starjuice.net/post/12509083126</guid><pubDate>Tue, 08 Nov 2011 13:24:40 +0200</pubDate></item><item><title>30 second sound byte from last night’s noodling around in...</title><description>&lt;embed type="application/x-shockwave-flash" src="http://assets.tumblr.com/swf/audio_player_black.swf?audio_file=http://www.tumblr.com/audio_file/11984586906/tumblr_ltps9qGyPr1qzmx46&amp;color=FFFFFF&amp;logo=soundcloud" height="27" width="207" quality="best" wmode="opaque"&gt;&lt;/embed&gt;&lt;br/&gt;&lt;br/&gt;&lt;p&gt;30 second sound byte from last night’s noodling around in FL Studio. It’s a surprise every time when I look at the clock and realize that four hours have passed. I think I enjoy pursuits in which the joy of creation overwhelms the joy of possession.&lt;/p&gt;</description><link>http://starjuice.net/post/11984586906</link><guid>http://starjuice.net/post/11984586906</guid><pubDate>Thu, 27 Oct 2011 09:46:00 +0200</pubDate></item><item><title>I got a Roland A-800PRO MIDI Keyboard Controller for my...</title><description>&lt;img src="http://24.media.tumblr.com/tumblr_ltavo6ImP11qzmx46o1_400.jpg"/&gt;&lt;br/&gt;&lt;br/&gt;&lt;p&gt;I got a &lt;a href="http://www.roland.com/products/en/A-800PRO/"&gt;Roland A-800PRO MIDI Keyboard Controller&lt;/a&gt; for my birthday! So excited!&lt;/p&gt;</description><link>http://starjuice.net/post/11646174490</link><guid>http://starjuice.net/post/11646174490</guid><pubDate>Wed, 19 Oct 2011 08:36:00 +0200</pubDate><category>personal</category></item><item><title>"I will never apologize for the United States of America, I don’t care what the facts are."</title><description>“I will never apologize for the United States of America, I don’t care what the facts are.”&lt;br/&gt;&lt;br/&gt; - &lt;em&gt;&lt;a href="http://en.wikipedia.org/wiki/Iran_Air_Flight_655#U.S._government_accounts"&gt;George H. W. Bush&lt;/a&gt; on the United States military shooting down an Iranian airliner, killing 290 civilians. And people thought his son was the idiot.&lt;/em&gt;</description><link>http://starjuice.net/post/11571991719</link><guid>http://starjuice.net/post/11571991719</guid><pubDate>Mon, 17 Oct 2011 17:14:04 +0200</pubDate></item><item><title>"The Sabbath Manifesto is a creative project designed to slow down lives in an increasingly hectic..."</title><description>“The Sabbath Manifesto is a creative project designed to slow down lives in an increasingly hectic world.”&lt;br/&gt;&lt;br/&gt; - &lt;em&gt;&lt;a href="http://www.sabbathmanifesto.org/"&gt;Sabbath Manifesto&lt;/a&gt;&lt;/em&gt;</description><link>http://starjuice.net/post/11565295770</link><guid>http://starjuice.net/post/11565295770</guid><pubDate>Mon, 17 Oct 2011 10:15:00 +0200</pubDate><category>personal</category><category>work</category></item><item><title>Ticon - Models On Cocaine (SynSUN Remix) (by...</title><description>&lt;iframe width="400" height="299" src="http://www.youtube.com/embed/7Dw_9CF09A4?wmode=transparent&amp;autohide=1&amp;egm=0&amp;hd=1&amp;iv_load_policy=3&amp;modestbranding=1&amp;rel=0&amp;showinfo=0&amp;showsearch=0" frameborder="0" allowfullscreen&gt;&lt;/iframe&gt;&lt;br/&gt;&lt;br/&gt;Ticon - Models On Cocaine (SynSUN Remix) (by &lt;a href="http://www.youtube.com/watch?v=7Dw_9CF09A4&amp;feature=relmfu"&gt;SynSUNofficial&lt;/a&gt;)
&lt;p&gt;It’s the week-end, baby!&lt;/p&gt;</description><link>http://starjuice.net/post/11434043368</link><guid>http://starjuice.net/post/11434043368</guid><pubDate>Fri, 14 Oct 2011 14:54:46 +0200</pubDate><category>personal</category></item><item><title>NERO ‘PROMISES’ (SKRILLEX AND NERO REMIX) (by...</title><description>&lt;iframe width="400" height="225" src="http://www.youtube.com/embed/VZMfhtKa-wo?wmode=transparent&amp;autohide=1&amp;egm=0&amp;hd=1&amp;iv_load_policy=3&amp;modestbranding=1&amp;rel=0&amp;showinfo=0&amp;showsearch=0" frameborder="0" allowfullscreen&gt;&lt;/iframe&gt;&lt;br/&gt;&lt;br/&gt;&lt;p&gt;NERO ‘PROMISES’ (SKRILLEX AND NERO REMIX) (by &lt;a href="http://www.youtube.com/watch?v=VZMfhtKa-wo"&gt;TheOfficialSkrillex&lt;/a&gt;)&lt;/p&gt;

&lt;p&gt;Mmmm, sick dubstep. Thanks, &lt;a href="http://twitter.com/#!/Henlu_Starke"&gt;Henlu&lt;/a&gt;!&lt;/p&gt;</description><link>http://starjuice.net/post/11432481672</link><guid>http://starjuice.net/post/11432481672</guid><pubDate>Fri, 14 Oct 2011 13:18:19 +0200</pubDate></item><item><title>Ruby rescue statement modifier</title><description>&lt;p&gt;My copy of &lt;i&gt;The Ruby Programming Language&lt;/i&gt; arrived today. I dived straight in to find a canonical justification for my superstition that &lt;code&gt;rescue&lt;/code&gt; with no arguments only rescues &lt;code&gt;StandardError&lt;/code&gt; and its descendants, not &lt;code&gt;Exception&lt;/code&gt; and its descendants.&lt;/p&gt;
&lt;p&gt;Along the way, I discovered that the &lt;code&gt;rescue&lt;/code&gt; keyword can be used as a statement modifier. If the modified statement raises an exception, the argument to the &lt;code&gt;rescue&lt;/code&gt; keyword is used as the value of the expression. For example:&lt;/p&gt;
&lt;pre class="prettyprint"&gt;
# Instead of this
if (@elephant.nil? or @elephant[:color] == "pink")
  puts "Weird elephant, dude"
end

# You can do this
if (@elephant[:color] == "pink" rescue true)
  puts "Weird elephant, dude"
end
&lt;/pre&gt;
&lt;p&gt;At first glance, I’m not wild about it, but maybe it’ll end up growing on me, like &lt;code&gt;Enumerable#inject&lt;/code&gt;. Either way, it’ll probably prove useful in other ways.&lt;/p&gt;</description><link>http://starjuice.net/post/11349378831</link><guid>http://starjuice.net/post/11349378831</guid><pubDate>Wed, 12 Oct 2011 11:39:09 +0200</pubDate></item><item><title>The Wallaby Magic</title><description>&lt;p&gt;Wondering how the Wallabies do it? After all, the Springboks were playing under the same blind, naive, unfit, incompetent has-been referee.&lt;/p&gt;
&lt;p&gt;What the Wallabies do well, is probe the referee’s capabilities and boundaries.&lt;/p&gt;
&lt;p&gt;Today, they discovered in the first half that they could get away with their hands in the ruck, coming in from the side, high tackling, shoulder charges, obstruction, early running and killing the ball. The only thing that lame geriatric was watching for was forward passing and failure to release.&lt;/p&gt;
&lt;p&gt;The Springboks carried on playing a full 80 minutes against the full rulebook. The Wallabies only played the rules that were enforced.&lt;/p&gt;
&lt;p&gt;In the end, the referee is an integral part of the game, and the Springboks need to learn to play the whole game.&lt;/p&gt;
&lt;p&gt;On a more personal note, Bryce Lawrence, you’re a […] disgrace to the game, you lazy […]. Whatever you were in your time, you need to retire now.&lt;/p&gt;</description><link>http://starjuice.net/post/11218050973</link><guid>http://starjuice.net/post/11218050973</guid><pubDate>Sun, 09 Oct 2011 08:52:00 +0200</pubDate></item><item><title>(via PopTech : Popcasts : Benjamin Zander - PopTech...</title><description>&lt;iframe src="http://player.vimeo.com/video/18625943?title=0&amp;byline=0&amp;portrait=0&amp;color=006666" width="400" height="225" frameborder="0"&gt;&lt;/iframe&gt;&lt;br/&gt;&lt;br/&gt;&lt;p&gt;(via &lt;a href="http://poptech.org/popcasts/benjamin_zander__poptech_2008"&gt;PopTech : Popcasts : Benjamin Zander - PopTech 2008&lt;/a&gt;)&lt;/p&gt;</description><link>http://starjuice.net/post/10988208260</link><guid>http://starjuice.net/post/10988208260</guid><pubDate>Mon, 03 Oct 2011 21:45:52 +0200</pubDate><category>work</category><category>personal</category></item><item><title>Engaging the navigator</title><description>&lt;p&gt;The bad habit that I’m unlearning at the moment, is letting myself trail off mid-sentence because it’s gotten too hard to do what I’m doing and describe what I’m doing at the same time.&lt;br/&gt;&lt;br/&gt;The computer can wait all day and won’t mind; my navigator is a human trying to participate in the thought process, not just the photon gazing.&lt;/p&gt;
&lt;p&gt;Thanks to &lt;a href="http://effectif.com/agile/pair-programming/dont-hog-the-desk"&gt;Graham Ashton&lt;/a&gt; for making me think about this.&lt;/p&gt;</description><link>http://starjuice.net/post/10983321008</link><guid>http://starjuice.net/post/10983321008</guid><pubDate>Mon, 03 Oct 2011 18:58:09 +0200</pubDate><category>work</category><category>personal</category></item><item><title>"Many members of the Agile movement need to learn when to turn down the revolutionary, evangelical..."</title><description>“Many members of the Agile movement need to learn when to turn down the revolutionary, evangelical rhetoric, and when to start catching bees with honey, particularly when they have a loud/influential voice.”&lt;br/&gt;&lt;br/&gt; - &lt;em&gt;&lt;p&gt;&lt;a href="http://writing.easyweb.co.uk/agilistas-still-not-yet-lean"&gt;(Some) Agilistas: Still Not Yet Lean Thinkers - Martin Burns: PM PoV&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;As someone familiar with the Agile Manifesto, but not familiar with Lean, I found Martin’s post and follow up to my comment extremely challenging, in a good way.&lt;/p&gt;&lt;/em&gt;</description><link>http://starjuice.net/post/10975700509</link><guid>http://starjuice.net/post/10975700509</guid><pubDate>Mon, 03 Oct 2011 11:48:41 +0200</pubDate><category>work</category></item><item><title>magic_options ruby gem</title><description>&lt;p&gt;&lt;a href="http://twitter.com/#!/rorymckinley"&gt;Rory McKinley&lt;/a&gt; and I have published a little ruby gem that implements what I call the magic options pattern.  You know the drill:&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;class BigThing
  def initialize(options = {})
    @height = options[:height]
    @width  = options[:width]
    @depth  = options[:depth]
    @weight = options[:weight]
  end
end&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;What an epic yawn.&lt;/p&gt;
&lt;p&gt;With &lt;a href="http://rubygems.org/gems/magic_options"&gt;magic_options&lt;/a&gt;, you can just do this:&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;class BigThing
  include MagicOptions
  def initialize(options = {})
    magic_options options
  end
end

# Alternatively...

class BigThing
  include MagicOptions
  magic_initialize
end&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;If you’d like to program defensively, there are additional options for specifying what the options hash may and may not include.&lt;/p&gt;
&lt;p&gt;Sure, it won’t save the world, but it’ll make the world a better place.&lt;/p&gt;
&lt;p&gt;The source code is available at &lt;a href="http://github.com/sheldonh/magic_options"&gt;github.com&lt;/a&gt; and the documentation is already live on &lt;a href="http://rubydoc.info/gems/magic_options/frames"&gt;rubydoc.info&lt;/a&gt;. Use the usual &lt;code&gt;gem install magic_options&lt;/code&gt; to install.&lt;/p&gt;</description><link>http://starjuice.net/post/10926564287</link><guid>http://starjuice.net/post/10926564287</guid><pubDate>Sun, 02 Oct 2011 09:39:00 +0200</pubDate><category>work</category></item><item><title>"There are only two hard things in Computer Science: cache invalidation and naming things."</title><description>“There are only two hard things in Computer Science: cache invalidation and naming things.”&lt;br/&gt;&lt;br/&gt; - &lt;em&gt;&lt;a href="http://martinfowler.com/bliki/TwoHardThings.html"&gt;Phil Karlton&lt;/a&gt;&lt;/em&gt;</description><link>http://starjuice.net/post/10761791862</link><guid>http://starjuice.net/post/10761791862</guid><pubDate>Wed, 28 Sep 2011 11:28:43 +0300</pubDate><category>work</category></item><item><title>Unobtrusive Ruby</title><description>&lt;a href="http://robots.thoughtbot.com/post/10125070413/unobtrusive-ruby"&gt;Unobtrusive Ruby&lt;/a&gt;: &lt;p&gt;&lt;a href="http://robots.thoughtbot.com/post/10125070413/unobtrusive-ruby"&gt;thoughtbot&lt;/a&gt;:&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;Unobtrusive Ruby is any &lt;strong&gt;Ruby code that stays out of your way&lt;/strong&gt;. It does not make you write lots of boilerplate, or stub methods, or open classes. It is &lt;strong&gt;decoupled&lt;/strong&gt;. Its &lt;strong&gt;tests run quickly&lt;/strong&gt;, its &lt;strong&gt;classes fit on one screen&lt;/strong&gt;, its &lt;strong&gt;methods are tiny&lt;/strong&gt;, and it is &lt;strong&gt;quickly refactorable&lt;/strong&gt;.&lt;/p&gt;
&lt;p&gt;Unobtrusive Ruby is a state of mind.&lt;/p&gt;
&lt;/blockquote&gt;</description><link>http://starjuice.net/post/10760654751</link><guid>http://starjuice.net/post/10760654751</guid><pubDate>Wed, 28 Sep 2011 09:58:03 +0300</pubDate><category>work</category></item><item><title>magic_options ruby gem</title><description>&lt;a href="https://github.com/sheldonh/magic_options"&gt;magic_options ruby gem&lt;/a&gt;: &lt;p&gt;&lt;span&gt;MagicOptions is a ruby module that provides mechanisms for splatting an options hash into an object’s instance variables.&lt;/span&gt;&lt;/p&gt;</description><link>http://starjuice.net/post/10720122408</link><guid>http://starjuice.net/post/10720122408</guid><pubDate>Tue, 27 Sep 2011 08:59:28 +0300</pubDate><category>work</category></item></channel></rss>

