Developmentastic

  1. How does this work? The MP3 version of this album costs $0.50 MORE than a physical CD? http://cld.ly/40hwc Ridiculous.

  2. Tried writing a ci:build rake task, but couldn’t figure out how to run tasks in a different Rails environment with Rake::Task#invoke.

  3. Have to teach him the beauty of Ruby and TDD now before he’s lured to the dark side. http://bit.ly/qVIY6

  4. The MacRuby PeepCode was wildly informative. Learned a lot about MacRuby, XCode, Interface Builder, and basic Obj-C. http://bit.ly/A2Yo3

  5. jQuery Sanity Check: Nested lists: item.find(”>ol li”) finds ”>ol>li” instead of ALL descendant LIs. Bug or am I crazy? http://bit.ly/4zN646

  6. Playing around with I18N to translate the output of distanceoftimeinwords to a condensed format. http://gist.github.com/210974

  7. Got the chance to dig deeper with authlogic, formtastic, and inheritedresources this week. It’s a great time to be a Rails developer.

  8. @greggpollack If you need a designer who is great at AS3 and doing things programmatically, I don’t think it gets much better than @lukesh.

  9. Confirmation I married the right woman #10921:
    Me: YES!
    Trish: What? Did all your tests pass?
    M: …no
    T: What are you so happy about then?

  10. I’m having a ton of fun with the Best Camera iPhone app. Not only is it a blast to use, the UI is gorgeous. http://bestc.am/zK2AU

  11. Cucumber Features In Subdirectories

    I’m working on a project where we’ve amassed a decent amount of Cucumber features. Dumping them in the root directory makes it difficult to find the feature you’re looking for and running related features is impossible.

    I’ve fooled with organizing my cucumber features in the past, but didn’t have much luck. Grouping related features into subdirectories was fine when running the entire suite, but running an individual feature failed because Cucumber doesn’t know to load step definitions from the parent directory. As I was looking through cucumber --help the other day, I happened to notice the --require flag.

    -r, --require LIBRARY|DIR
        Require files before executing the features.

    Running the following command was exactly what I needed.

    cucumber --require features features/users/sign_in.feature

    This tells Cucumber to load all .rb files under features/ which will find the step definitions and support files. To save some typing, I created an alias in ~/.bashrc.

    alias cuc='cucumber -r features'

    Where I’ve really enjoyed this setup is when running all related features. After touching a step definition, I’d like to run the features that depend on it quickly without running the entire suite. Now that’s as simple as:

    cuc features/users/*
  12. @AJAerni No worries. @rogieking was kind enough to add a link to me at the bottom of his contact page because he rocks.

  13. @AJAerni I didn’t create Komodomedia. That’s @rogieking’s baby.

  14. @rogieking You are too kind. Thank you, everyone who retweeted.

  15. Some geek sitting at the next table is impressing a girl with his Windows 7 piracy stories. Or at least giving it his best shot.

  16. Simple vim script to close the active buffer but keep the split open: http://gist.github.com/180716 Thanks, @djwhitt!

  17. Acer’s abomination of a support team is infuriating. With each message, a new support rep replies who clearly has not read the whole thread.

  18. I think @bignate would love this book: http://yfrog.com/0ugefoj

  19. A vote for HTTP 418 is a vote against Fail Whaling. http://bit.ly/2cTvb via @gotwalt

  20. @jnunemaker I used to rock dashes. Since switching to Ruby, I’ve been showering underscores with love. I use ‘em in Sass mixin names, too.