mayerdan.com
Safer Refactoring on Legacy Systems
http://www.mayerdan.com/programming/2015/02/18/safer-refactoring-on-legacy-systems
Safer Refactoring on Legacy Systems. A small refactoring project I took on turned into a crazy journey. Filled with frustration, production bugs, and quick fixes. Started one of those, it will be an easy little refactoring Now I am lost in a sea of yak hair on a ship crewed by yaks What happened? Mdash; Dan Mayer (@danmayer) February 10, 2015. Started as an estimated 2 hr refactoring - 9 hours of coding, 1 1/2 week of QA / PR review - 138 prod errors - fix - its live! There has got to be a better way.
mayerdan.com
Cache me if you can
http://www.mayerdan.com/programming/2015/02/21/cache-me-if-you-can
Cache me if you can. Let’s take a look. I tracked the code issue down to something like this:. Def get object data(object id) @object data = Rails.cache.fetch("cache-key-name-#{object id}", expires in: 1.minutes) { SomeInternalApi.getCoolObject(object id) } end. At first glance it seems fine, it looks like this is a normal cache call and should never make the same external request twice during the same request, let alone the same minute. Do you see the issue yet? To read a bit more about features of.
mayerdan.com
pair programming readme toc
http://www.mayerdan.com/programming/2015/06/02/pair-programming-readme-toc
Pair programming readme toc. Pairing Around the Globe. I met a number of Ruby devs when traveling. One developer I met Samnang Chhun. Have been keeping in touch and wanting to pair on something. We hooked up online for a bit, while chatting we thought it would be nice if github readme’s had a nice table of contents. So we decided to hack something up real quick. Is a Rails developer currently looking for remote contracting or full time Ruby gig’s. If you are looking for someone get in touch with him.
mayerdan.com
Making A Programming Presentation
http://www.mayerdan.com/programming/2015/03/25/making-a-programming-presentation
Making A Programming Presentation. I wrote this shortly after I gave my talk, but never cleaned up the draft. I cleaned it up a bit this morning and thought I should just publish it as is. The git log of my RubyNation talk. I wrote a post about Coverband code coverage. On the Livingsocial techblog. I gave a 5 min. lightning talk at MountainWest RubyConf. Slides: Coverband lightning talk. I got lots of great feedback. I submitted my proposal to a couple conferences I was interested in speaking at. I worke...
SOCIAL ENGAGEMENT