<?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>A collection of things I like which may include:
  * Ruby, Rails, Javascript, CSS, and Development
  * Gadgets, Gizmos, Furniture, etc
  * Quotes, Sayings, and Musings
  * Family, Friends, and Food



  var _gaq = _gaq || [];
  _gaq.push(['_setAccount', 'UA-50109-9']);
  _gaq.push(['_trackPageview']);

  (function() {
    var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
    ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
    var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
  })();

</description><title>Mark etc.</title><generator>Tumblr (3.0; @markmcspadden)</generator><link>http://markmcspadden.net/</link><item><title>A great decade...</title><description>&lt;p&gt;I don&amp;#8217;t talk about my age to often, mostly because I feel very fortunate to have had so many opportunities at a relatively young age, but milestones are a convenient time to reflect on such things and today is one of those. Today is the last day of my 20s.&lt;/p&gt;
&lt;p&gt;Looking back, I&amp;#8217;m amazed by the number of experiences I&amp;#8217;ve had in such a short amount of time. While those experiences are what stand out in something like the list below, the people that have surrounded me during those have been even more impactful on who I am today.&lt;/p&gt;
&lt;p&gt;The list below is more for an older version of me than for you, but feel free to enjoy if you&amp;#8217;d like:&lt;/p&gt;
&lt;p&gt;20 - First non-assignment hacking. First HTML site. First Flash site. (Everyone makes mistakes in their youth.)&lt;/p&gt;
&lt;p&gt;21 - First exposure to dynamic web applications. (Shout out to &lt;a href="http://twitter.com/blt04"&gt;Brandon Turner&lt;/a&gt; who was slinging Perl to make things happen on the web.) PHP development.&lt;/p&gt;
&lt;p&gt;22 - .NET development. Thailand, Singapore, Malaysia. Engaged to Shevawn.&lt;/p&gt;
&lt;p&gt;23 - Married Shevawn. Playa del Carmen. Start contracting full time. Introduced to Ruby on Rails. (Thanks &lt;a href="http://twitter.com/trabianmatt"&gt;Matt Dean&lt;/a&gt;!) Full time Ruby on Rails. London.&lt;/p&gt;
&lt;p&gt;24 - Graduate from Texas A&amp;amp;M. (Finally!) Contract with Trabian and The Garland Group.&lt;/p&gt;
&lt;p&gt;25 - Find Dallas Ruby. Start at The Garland Group. First Mac. Switzerland, Italy, Greece.&lt;/p&gt;
&lt;p&gt;26 - First Dallas Ruby talk. First house. First conference speaking gig. Chicago Christmas.&lt;/p&gt;
&lt;p&gt;27 - Lake Tahoe. Claire is born. Start at Sabre.&lt;/p&gt;
&lt;p&gt;28 - Lots of doctors and hospitals. Cabo.&lt;/p&gt;
&lt;p&gt;29 - Lauren is born. Contest Apps and the &amp;#8220;Chirpa&amp;#8221; series. First training gig. Start leading Dallas Ruby. Start at LivingSocial.&lt;/p&gt;
&lt;p&gt;While that is a great looking list, I&amp;#8217;m even more excited about what the next one will look like.&lt;/p&gt;</description><link>http://markmcspadden.net/post/14979321184</link><guid>http://markmcspadden.net/post/14979321184</guid><pubDate>Thu, 29 Dec 2011 11:01:38 -0600</pubDate></item><item><title>Attention email marketers. This is the interface I use to...</title><description>&lt;img src="http://25.media.tumblr.com/tumblr_lvub4wruC01qz6ag2o1_500.png"/&gt;&lt;br/&gt;&lt;br/&gt;&lt;p&gt;Attention email marketers. This is the interface I use to quickly view, sort, and filter my email. It’s the place I decide what’s worth reading and what isn’t.&lt;/p&gt;

&lt;p&gt;If you waste half of the space allotted with “To view this email with images click here” or “Ensure delivery by adding…” or “If this message is not displayed properly click here”, well then there is a very slim chance that I will actually open your email. I doubt I am alone in this.&lt;/p&gt;

&lt;p&gt;That is all.&lt;/p&gt;</description><link>http://markmcspadden.net/post/13874609993</link><guid>http://markmcspadden.net/post/13874609993</guid><pubDate>Wed, 07 Dec 2011 09:31:44 -0600</pubDate></item><item><title>ruby_chopped</title><description>&lt;p&gt;A few weeks ago I released a fun little project as part of &lt;a href="http://whyday.org/"&gt;whyday&lt;/a&gt; called &lt;a href="https://github.com/markmcspadden/ruby_chopped"&gt;ruby_chopped&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;The idea is modeled after the Food Network show where expert chefs are given a basket of random items and told to make a dish from the contents. In the same way, ruby_chopped creates a project for you with a random set of gems, and asks you to do something great with them.&lt;/p&gt;
&lt;p&gt;It was a fun project for several reasons:&lt;/p&gt;
&lt;ol&gt;&lt;li&gt;I had never built a gem with an accompanying command line executable. Good learning there. (And even more through the pull requests&amp;#8230;)&lt;/li&gt;
&lt;li&gt;People wanted to add stuff to it! Within the first 5 or 6 hours I had two pull requests to greatly improve the executable and the way projects were built. Within 24 hours there were 2 more with additional options and features.&lt;/li&gt;
&lt;li&gt;Not only did it allow for others to contribute to OSS, but gave me chance to contribute to a different OSS project&amp;#8230;more on that later.&lt;/li&gt;
&lt;/ol&gt;&lt;p&gt;All in all a great time and another reminder that sometimes this hobby turned job can still be a fun hobby!&lt;/p&gt;</description><link>http://markmcspadden.net/post/9804289116</link><guid>http://markmcspadden.net/post/9804289116</guid><pubDate>Sun, 04 Sep 2011 16:13:17 -0500</pubDate></item><item><title>SeedMe - Creating a data seed file from your Rails development database</title><description>&lt;p&gt;I ran into a situation last night where I was trying to get a skeleton site up on heroku, but I wanted to include the data I had created in my dev db. There wasn&amp;#8217;t a ton of data, but I still didn&amp;#8217;t want to create it again manually. (That heroku run console can end up cost you money&amp;#8230;like whole penneis&amp;#8230;)&lt;/p&gt;
&lt;p&gt;After a quick Google search didn&amp;#8217;t find me anything that fit the bill, I set to build a quick a dirty one&amp;#8230;and 30 minutes later I had SeedMe.&lt;/p&gt;
&lt;p&gt;Source: &lt;a href="http://github.com/markmcspadden/seed_me"&gt;&lt;a href="http://github.com/markmcspadden/seed_me"&gt;http://github.com/markmcspadden/seed_me&lt;/a&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Download: &lt;a href="https://rubygems.org/gems/seed_me"&gt;&lt;a href="https://rubygems.org/gems/seed_me"&gt;https://rubygems.org/gems/seed_me&lt;/a&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;All SeedMe does is look at your database (using ActiveRecord) and then creates a db/seeds.rb file that you can in turn use to populate other databases with &amp;#8216;rake db:seed&amp;#8217;&lt;/p&gt;
&lt;p&gt;There&amp;#8217;s probably other stuff out there that does this, and this gem is very basic so your mileage may vary. But I do like the functionality&amp;#8230;and even more so like that I was able to get the problem solved and turned into a gem in such a short timeframe. Yahoo for code!&lt;/p&gt;</description><link>http://markmcspadden.net/post/8457469147</link><guid>http://markmcspadden.net/post/8457469147</guid><pubDate>Wed, 03 Aug 2011 22:40:13 -0500</pubDate></item><item><title>I really like the “Store Hours” display on the...</title><description>&lt;img src="http://24.media.tumblr.com/tumblr_lodc0jpqk51qz6ag2o1_500.png"/&gt;&lt;br/&gt;&lt;br/&gt;&lt;p&gt;I really like the “Store Hours” display on the Starbucks app. Dynamically sorts the days based on what day it is today.&lt;/p&gt;</description><link>http://markmcspadden.net/post/7647064728</link><guid>http://markmcspadden.net/post/7647064728</guid><pubDate>Fri, 15 Jul 2011 04:36:19 -0500</pubDate></item><item><title>"Very excited that Charity Chirpa is the “Wildcard” category winner in the Donors Choose..."</title><description>“Very excited that Charity Chirpa is the “Wildcard” category winner in the Donors Choose Hacking Education contest. &lt;a href="http://t11.me/OZ6-7S"&gt;http://t11.me/OZ6-7S&lt;/a&gt;”&lt;br/&gt;&lt;br/&gt; - &lt;em&gt;&lt;a href="http://twitter.com/#!/markmcspadden/status/91151331405991936"&gt;Twitter&lt;/a&gt;&lt;/em&gt;</description><link>http://markmcspadden.net/post/7573147099</link><guid>http://markmcspadden.net/post/7573147099</guid><pubDate>Wed, 13 Jul 2011 09:27:00 -0500</pubDate></item><item><title>"Submitted my entry for the Hacking Education contest. If you like helping teachers and kids, I think..."</title><description>“Submitted my entry for the Hacking Education contest. If you like helping teachers and kids, I think you’ll dig it: &lt;a href="http://charitychirpa.com"&gt;http://charitychirpa.com&lt;/a&gt;”&lt;br/&gt;&lt;br/&gt; - &lt;em&gt;&lt;a href="http://twitter.com/#!/markmcspadden/status/85701023573884928"&gt;Twitter&lt;/a&gt;&lt;/em&gt;</description><link>http://markmcspadden.net/post/7561116899</link><guid>http://markmcspadden.net/post/7561116899</guid><pubDate>Tue, 28 Jun 2011 08:28:00 -0500</pubDate></item><item><title>"Results are in for the O’Reilly/Fluidinfo API competition…pretty excited about being..."</title><description>“Results are in for the O’Reilly/Fluidinfo API competition…pretty excited about being first. :) &lt;a href="http://goo.gl/Xf6UT"&gt;http://goo.gl/Xf6UT&lt;/a&gt;”&lt;br/&gt;&lt;br/&gt; - &lt;em&gt;&lt;a href="http://twitter.com/#!/markmcspadden/status/69046101466025984"&gt;Twitter&lt;/a&gt;&lt;/em&gt;</description><link>http://markmcspadden.net/post/7561168093</link><guid>http://markmcspadden.net/post/7561168093</guid><pubDate>Fri, 13 May 2011 09:27:00 -0500</pubDate></item><item><title>My Friday Happy Hour</title><description>&lt;img src="http://25.media.tumblr.com/tumblr_ljctflxZg81qz6ag2o1_500.jpg"/&gt;&lt;br/&gt;&lt;br/&gt;&lt;p&gt;My Friday Happy Hour&lt;/p&gt;</description><link>http://markmcspadden.net/post/4449670902</link><guid>http://markmcspadden.net/post/4449670902</guid><pubDate>Fri, 08 Apr 2011 17:06:52 -0500</pubDate></item><item><title>"I trust my ability to write code far more than my ability to predict the future."</title><description>“I trust my ability to write code far more than my ability to predict the future.”&lt;br/&gt;&lt;br/&gt; - &lt;em&gt;&lt;p&gt;Me&lt;/p&gt;
&lt;p&gt;Although I seriously doubt I’m the first person to say this, I think it succinctly describes how I feel about developing features and architecture before they are needed.&lt;/p&gt;
&lt;p&gt;Alternate working version: I trust my ability to use code to solve a problem in the future far more than my ability to predict what that future problem will actually be.&lt;/p&gt;&lt;/em&gt;</description><link>http://markmcspadden.net/post/4046580429</link><guid>http://markmcspadden.net/post/4046580429</guid><pubDate>Wed, 23 Mar 2011 12:10:00 -0500</pubDate></item><item><title>At the DPS for a way overdue license renewal. Imagine, I used to have to talk to the people around...</title><description>&lt;p&gt;At the DPS for a way overdue license renewal. Imagine, I used to have to talk to the people around me to pass the time.&lt;/p&gt;</description><link>http://markmcspadden.net/post/3785195995</link><guid>http://markmcspadden.net/post/3785195995</guid><pubDate>Fri, 11 Mar 2011 09:28:00 -0600</pubDate></item><item><title>A screenshot of my work computer today.
Background
My Uncle...</title><description>&lt;img src="http://25.media.tumblr.com/tumblr_lhe6ktRBOG1qz6ag2o1_500.png"/&gt;&lt;br/&gt;&lt;br/&gt;&lt;p&gt;A screenshot of my work computer today.&lt;/p&gt;
&lt;p&gt;Background&lt;/p&gt;
&lt;p&gt;My Uncle Curtis has been battling kidney cancer for almost a year now. Today I got a call with information that, after a very rough weekend, the doctors are pretty concerned and that things might be getting bad quickly.&lt;/p&gt;
&lt;p&gt;Before that call and the quick google searches that followed, I was brushing up on a presentation I’m doing at work today about virtual gaming and virtual goods.&lt;/p&gt;
&lt;p&gt;And at some point I looked at my screen and this is what I saw.&lt;/p&gt;
&lt;p&gt;I think illustrates my working theory that work/life balance is unrealistic and honestly isn’t a goal worth pursuing. My life is intertwined and pieces of it cannot be separated out and weighed against each other.&lt;/p&gt;
&lt;p&gt;I want my life to be an orchestra of roles, commitments, and experiences that not only play together in harmony, but also allow for solos, movements, and other cool musical terms that I don’t have in my vocabulary.&lt;/p&gt;</description><link>http://markmcspadden.net/post/3585155805</link><guid>http://markmcspadden.net/post/3585155805</guid><pubDate>Tue, 01 Mar 2011 12:44:00 -0600</pubDate></item><item><title>"Specs are fine, but they take two seconds, and opinions, if they’re based on experience, are more..."</title><description>“Specs are fine, but they take two seconds, and opinions, if they’re based on experience, are more interesting. If you know about something, you have an opinion about it.”&lt;br/&gt;&lt;br/&gt; - &lt;em&gt;Grant Petersen owner of &lt;a href="http://www.rivbike.com/"&gt;Rivendell&lt;/a&gt;, a speciality bike shop. Featured on the &lt;a href="http://37signals.com/svn/posts/2772-bootstrapped-profitable-proud-rivendell"&gt;Signal vs. Noise&lt;/a&gt; blog.&lt;/em&gt;</description><link>http://markmcspadden.net/post/3234232845</link><guid>http://markmcspadden.net/post/3234232845</guid><pubDate>Fri, 11 Feb 2011 09:06:00 -0600</pubDate></item><item><title>While all the girls were taking a nap this morning, I had some...</title><description>&lt;img src="http://25.media.tumblr.com/tumblr_lfuos3PFRm1qz6ag2o1_500.jpg"/&gt;&lt;br/&gt;&lt;br/&gt;&lt;p&gt;While all the girls were taking a nap this morning, I had some time to turn our blueberries into muffins.&lt;/p&gt;

&lt;p&gt;The recipe is from Alton Brown’s Good Eats volume 2, which was recently given to me.&lt;/p&gt;</description><link>http://markmcspadden.net/post/3016297888</link><guid>http://markmcspadden.net/post/3016297888</guid><pubDate>Sun, 30 Jan 2011 13:28:47 -0600</pubDate></item><item><title>Our newest addition: Lauren.</title><description>&lt;img src="http://24.media.tumblr.com/tumblr_lfglghQJRu1qz6ag2o1_500.jpg"/&gt;&lt;br/&gt;&lt;br/&gt;&lt;p&gt;Our newest addition: Lauren.&lt;/p&gt;</description><link>http://markmcspadden.net/post/2885936159</link><guid>http://markmcspadden.net/post/2885936159</guid><pubDate>Sat, 22 Jan 2011 22:50:35 -0600</pubDate></item><item><title>Really like how the 37signals forum uses the application icons...</title><description>&lt;img src="http://24.media.tumblr.com/tumblr_leo8jcuZZU1qz6ag2o1_500.png"/&gt;&lt;br/&gt;&lt;br/&gt;&lt;p&gt;Really like how the 37signals forum uses the application icons as sort of a profile karma/status.&lt;/p&gt;</description><link>http://markmcspadden.net/post/2640944436</link><guid>http://markmcspadden.net/post/2640944436</guid><pubDate>Fri, 07 Jan 2011 15:18:48 -0600</pubDate></item><item><title>RSpec Views: Looking for tags with certain onclick attributes</title><description>&lt;p&gt;Thanks to agile on #dallas.rb for helping me get to this. A great resource for all things tag and attribute related in regards to rails &lt;a href="http://"&gt;&lt;a href="http://api.rubyonrails.com/classes/HTML/Selector.html"&gt;http://api.rubyonrails.com/classes/HTML/Selector.html&lt;/a&gt;&lt;/a&gt;

&lt;pre&gt;
  &lt;code&gt;
describe "/questions/show that logged in user is not monitoring" do
  it_should_behave_like "/questions/show"
  
  it "should have a link to start monitoring" do
    response.should have_tag('a#monitor_link')
    onclick = "new Ajax.Request('/questions/#{@question.id}/monitored_by/#{@current_user.id}',
                       {asynchronous:true, evalScripts:true, method:'post'});
                       return false;"
    response.should have_tag("a#monitor_link[onclick=\"#{onclick}\"]")
  end
  
end
  &lt;/code&gt;
&lt;/pre&gt;&lt;/p&gt;</description><link>http://markmcspadden.net/post/15149257</link><guid>http://markmcspadden.net/post/15149257</guid><pubDate>Thu, 11 Oct 2007 11:50:26 -0500</pubDate></item><item><title>RSpec Logged In Helper</title><description>&lt;p&gt;This is what I&amp;#8217;m using to help out with actions and views that require a logged in user

&lt;pre&gt;
&lt;b&gt;spec_helper.rb&lt;/b&gt;
  &lt;code&gt;
module LoggedInHelper
  def mock_globals
    @current_user = mock_model(User, :id =&amp;gt; 1)
  end
end

describe "Logged In Action", :shared =&amp;gt; true do
  include LoggedInHelper
  
  before(:each) do
    mock_globals
    
    controller.stub!(:current_user).and_return(@current_user)
  end
end

describe "Logged In View", :shared =&amp;gt; true do 
  include LoggedInHelper
  
  before(:each) do
    mock_globals
    
    template.stub!(:current_user).and_return(@current_user)
    template.stub!(:logged_in?).and_return(true)
  end
end
  &lt;/code&gt;
&lt;/pre&gt;

&lt;pre&gt;
&lt;b&gt;profiles_controller_spec.rb&lt;/b&gt;
  &lt;code&gt;
require File.dirname(__FILE__) + '/../spec_helper'

describe QuestionMonitorsController do
  it_should_behave_like "Logged In Action"

  #your specs here
end
  &lt;/code&gt;
&lt;/pre&gt;

&lt;pre&gt;
&lt;b&gt;show.html.erb_spec.rb&lt;/b&gt;
  &lt;code&gt;
require File.dirname(__FILE__) + '/../../spec_helper'

describe "/profiles/show" do
  it_should_behave_like "Logged In View"

  #your specs here
end
  &lt;/code&gt;
&lt;/pre&gt;&lt;/p&gt;</description><link>http://markmcspadden.net/post/15139096</link><guid>http://markmcspadden.net/post/15139096</guid><pubDate>Thu, 11 Oct 2007 10:24:57 -0500</pubDate></item><item><title>Using flash for javascript messages</title><description>&lt;p&gt;Using flash[:notice] doesn&amp;#8217;t work so well with AJAX calls. Adding a &amp;#8220;js_notice&amp;#8221; key to flash has helped me in several places. 
 
&lt;pre&gt;
  &lt;code&gt;
    respond_to do |format|
      if @question_monitor.save
        format.js {  
          flash[:js_notice] = "You will now be alerted to any new activity on this question."
        }
      else
        format.js {
          flash[:js_notice] = "There was a problem in trying to monitor this question"
        }
      end
    end
  &lt;/code&gt;
&lt;/pre&gt;&lt;/p&gt;</description><link>http://markmcspadden.net/post/15035328</link><guid>http://markmcspadden.net/post/15035328</guid><pubDate>Wed, 10 Oct 2007 17:01:07 -0500</pubDate></item><item><title>BarCampBankSeattle Day 2 Recap</title><description>&lt;p&gt;Day 2&amp;#8230;wow&amp;#8230;what a day. Started with a great session on &amp;#8220;banker to banker collaboration&amp;#8221;:http://barcampbankseattle.pbwiki.com/Day2Session1D and ended with a monumental whiteboard of promise and hope. Sound a little dramatic&amp;#8230;maybe&amp;#8230;but then again maybe not. The amount of space it is taking up in my mind can only be explained by something that truly is revolutionary.&lt;/p&gt;

&lt;p&gt;Even with the picture of that whiteboard almost tattooed in my mind, the thing that sticks with me the most from Day 2, is Jesse&amp;#8217;s unwillingness to let the rest of us settle for the Jesse Robbins solution. There were several times in our afternoon discussion where I could almost feel the room waiting to let Jesse take this project and run all the way with it, filling us in where appropriate. However, much to Jesse&amp;#8217;s credit, that was not the path that was taken, nor was it the path that was needed. What needed to happen was a room full people talking to a whiteboard, venting frustrations and forging solutions.&lt;/p&gt;

&lt;p&gt;And now we sit with an even greater task ahead, continuing forward without sitting in the same room and staring at each other until someone speaks. I am excited about the road ahead, not just for the promise of an open source solution to an industry issue, but also for the collaboration that will occur between bright people and experimentation of the technologies that will best facilitate this conversation.&lt;/p&gt;</description><link>http://markmcspadden.net/post/3304857833</link><guid>http://markmcspadden.net/post/3304857833</guid><pubDate>Tue, 24 Jul 2007 15:47:00 -0500</pubDate></item></channel></rss>

