stevenharman.net
Steven Harman
http://stevenharman.net/posts/2
Maker and Breaker of Things. Caps Lock Is Dumb; Make It Useful. I’ve long thought that. Was quite dumb. Yes, I’m sure there is some archaic reason it exists, but the truth is I don’t care. I don’t find it useful and am annoyed that it’s taking up valuable room on my Home Row. The more I use Vim the more angry I get at the. Making Caps Lock Useful, on The Mac. I long ago remapped. On my Mac - which worked great for TextMate. However, these days I spend the majority of my time in Vim. Read on →. Whether it...
stevenharman.net
The No Man's Land of Web Development - Steven Harman
http://stevenharman.net/the-no-mans-land-of-web-development
Maker and Breaker of Things. The No Man's Land of Web Development. I think about the current state of web development experiences as a continuum. On one end we have. Rails-era web apps - full page loads, with bits of dynamism haphazardly mixed in. On the other are rich client-side JavaScript apps with their own structure and life cycles, standing alone and/or talking to an HTTP API. A no man’s land. Enough, except we. Some dynamism in portions of the application. But sprinkling on more JavaScript onl...
stevenharman.net
Blog Archive - Steven Harman
http://stevenharman.net/archives
Maker and Breaker of Things. Reclaim Your Domain Model From Rails. The No Man's Land of Web Development. Git Clean: Delete Already-Merged Branches. Bag of Methods Module and Grep-driven Development. Sensible Testing Is About Sensible Design. The Accepts nested attributes for Un-Solution. From Testing to Test-First to Test-Driven. Another Git Repository Visualization, Just for Fun. Git Pull With Automatic Rebase. An Io Language Vim Plugin. Caps Lock Is Dumb; Make It Useful. Want to Make Money?
stevenharman.net
Git Pull With Automatic Rebase - Steven Harman
http://stevenharman.net/git-pull-with-automatic-rebase
Maker and Breaker of Things. Git Pull With Automatic Rebase. To rebase, or not to rebase - for me its not really a question. I generally prefer a clean, linear commit history. Why? Because merge bubbles make history confusing, noisy, break. Don’t believe me? Check out the pretty log to the right. See all those merge bubbles in there? The workflow that caused those merges was as follows:. To bring local up to date). I typically use the same workflow as above with one tweak. Rather than. Git pull - rebase.
stevenharman.net
From Testing to Test-First to Test-Driven - Steven Harman
http://stevenharman.net/from-testing-to-test-first-to-test-driven
Maker and Breaker of Things. From Testing to Test-First to Test-Driven. When I started writing tests, around 2005, I was stoked just to have the tests. When I started writing tests first, around 2006, I was excited because I was. A couple of years later I found that writing tests was getting really painful. Painful because they were so damn hard to set up, and painful because I had to wait. In 2008 I was talking with Corey Haines. Not test- driven design. The Ruby and Rails communities have accelerated t...
stevenharman.net
Another Git Repository Visualization, Just for Fun. - Steven Harman
http://stevenharman.net/another-git-visualization-for-fun
Maker and Breaker of Things. Another Git Repository Visualization, Just for Fun. I’ve created visualizations for Git repositories before the one tracked a product from its first commit through launch. And while I still think there is some information and insight to be gleaned from such visualizations, the real reason I like to make them is… I think they’re neat. To celebrate launching the latest incarnation of VersionOne. I made another visualization! Wow that really sounded like a sales pitch, didn’t it?
stevenharman.net
An Io Language Vim Plugin - Steven Harman
http://stevenharman.net/an-io-language-vim-plugin
Maker and Breaker of Things. An Io Language Vim Plugin. Who here doesn’t enjoy a little color in their life? I know I do, especially when used to highlight the syntax of a language - as anyone who’s been around me while downing a few pints can attest! Learning, Io, and Vim. In an attempt to feed our insatiable desire to learn, a few of us at VersionOne. Are doing a book club on Seven Languages in Seven Weeks. We’re currently working on chapter 2: Io. Grab it, enjoy it, fork and improve it!
stevenharman.net
Reclaim Your Domain Model From Rails - Steven Harman
http://stevenharman.net/reclaim-your-domain-model-from-rails
Maker and Breaker of Things. Reclaim Your Domain Model From Rails. When building an application using Rails, I prefer to keep all my model in. For those other things - those not-my-domain-things. I’d like to explain the. Rails has a history of co-opting names, as happened when the. Library used the active record pattern. Name A similar co-opting has happened with the MVC pattern. Wherein many believe Rails is an example of the MVC design pattern. In truth, it’s probably closer to MVC Model 2. And the use...
stevenharman.net
The Accepts_nested_attributes_for Un-Solution - Steven Harman
http://stevenharman.net/the-accepts_nested_attributes_for-un-solution
Maker and Breaker of Things. The Accepts nested attributes for Un-Solution. Accepts nested attributes for. Approach always feel so darned. My suspicion is that it feels wrong because it likely is wrong - or at least it is likely the wrong tool for the job. An accounting of a recent ride I took into the. Accepts nested attributes for. In order to create a Message, I have to first create the Conversation it’s a part of. This sounds like an explicit workflow, so I’ll model it that way.
stevenharman.net
Git Clean: Delete Already-Merged Branches - Steven Harman
http://stevenharman.net/git-clean-delete-already-merged-branches
Maker and Breaker of Things. Git Clean: Delete Already-Merged Branches. To delete local branches which have alread been merged into. Git branch - merged master grep -v " * master" xargs -n 1 git branch -d. You can omit the. Branch argument to remove local branches which have already been merged into the current. Git branch - merged grep -v " *" xargs -n 1 git branch -d. We start by getting a list of local branches which have already been merged into the current branch (i.e. We then pipe that to. Git bran...
SOCIAL ENGAGEMENT