{
  "attachments": [
    "363349096cfa.jpg",
    "4a282a6fa7c7.png"
  ],
  "title": "How webdev has been getting better",
  "author": "lmorchard",
  "layout": "post",
  "permalink": "/2012/07/10/webdev-more-better",
  "dsq_thread_id": [
    1107338707
  ],
  "categories": [
    "Uncategorized"
  ],
  "tags": [
    "devops",
    "mozilla",
    "webdev"
  ],
  "year": "2012",
  "month": "07",
  "day": "10",
  "isDir": true,
  "slug": "webdev-more-better",
  "type": "entry",
  "date": "2012-07-10T19:00:00.000Z",
  "postName": "2012-07-10-webdev-more-better",
  "html": "<p>So, in the last thing I posted, I wrote about how fixing problems on live web sites <a href=\"http://blog.lmorchard.com/2012/07/10/webdev-in-spac\">feels like fixing space robots</a>. At <a target=\"_blank\" title=\"Mozilla\" href=\"https://www.mozilla.org/?utm_source=wordpress%20blog&amp;utm_medium=content%20link&amp;utm_campaign=promote%20mdn\">Mozilla</a>, though, things have been getting steadily better and more interesting:</p>\n<p><a href=\"http://www.amazon.com/gp/product/B004D18MCK/ref=as_li_ss_il?ie=UTF8&amp;camp=1789&amp;creative=390957&amp;creativeASIN=B004D18MCK&amp;linkCode=as2&amp;tag=0xdecafbad01-20\"><img src=\"363349096cfa.jpg\" style=\"float:left; margin: 1em 1em 1em 0\" width=\"\" height=\"\"></a></p>\n<p>There’s still the <em>sysadmin-as-remote-pair-of-hands-driven-by-trouble-tickets</em> thing going on, but less so every day. More and more, we’re getting into <a href=\"http://www.slideshare.net/MattBrandt/mozilla-continuous-deploment-on-sumo\">continuous deployment</a>. Our sysadmins are really smart cookies: They’re steadily replacing themselves with scripts of varying sizes. That way, they can get on to more interesting things. In fact, just recently, they gave us a great Big Red Button that deploys code from a git repository to the live site on demand. And, for some reason, I’m one of the people who got a key to it.</p>\n<p>Okay, maybe not <a href=\"http://www.amazon.com/gp/product/B004D18MCK/ref=as_li_ss_il?ie=UTF8&amp;camp=1789&amp;creative=390957&amp;creativeASIN=B004D18MCK&amp;linkCode=as2&amp;tag=0xdecafbad01-20\"><em>that</em> exact button</a>, but ours is very keen. Of course, when it broke once, I felt like the Pakled on the right (and not Geordi):</p>\n<p><span class=\"embed-youtube\" style=\"text-align:center; display: block;\"></span></p>\n<p>But, the Big Red Button hasn’t broken very often. So, I’d rather be a Pakled some of the time than pretend to be a rocket scientist all of the time.</p>\n<p><a href=\"http://octodex.github.com/\"><img src=\"4a282a6fa7c7.png\" style=\"width: 150px; float: right; margin: 1em 0 1em 1em\" width=\"\" height=\"\"></a> Oh yeah, and <a href=\"https://github.com/mozilla/\">we’re using GitHub a lot these days</a>. It’s crazypants awesome for collaboration, and it fits right in with our style because we want to do everything in the open anyway. We’ve even somehow lured people who don’t normally code into <a href=\"https://github.com/mozilla/kuma/commit/1a8038215a2c4bb7fba5ff098875d034704d79bd\">submitting Pull Requests</a>. And, it’s amazingly powerful to refer to specific lines of code and commits by URL in IRC or email.</p>\n<p><a href=\"http://vagrantup.com/\"><img src=\"http://vagrantup.com/static/images/hippie.png\" style=\"width: 150px; float: left; margin: 1em 1em 1em 0\" width=\"\" height=\"\"></a> I’ve also been getting a lot better at building development environments, <a href=\"http://opensourcebridge.org/wiki/2011/Inviting_Contributors_to_Open_Source_Webdev_through_Virtualization\">using Puppet and Vagrant</a> and Amazon EC2. I haven’t quite gotten to the point where I can borrow IT’s Puppet manifests directly – ie. those scripts with which sysadmins are replacing themselves.</p>\n<p>But, we are maintaining the recipes for spinning up dev servers right alongside the code. Our READMEs are shrinking, rather than growing – and yet we’re still adding more services and dependencies. I no longer really fear totally jack-knifing my dev rig, because I can just toss it and conjure up another in the time it takes me to run to lunch.</p>\n<p>Let’s see, what else? I’m sure I’ll think of something. Until then, SHIP IT. (The post, I mean.)</p>\n",
  "body": "So, in the last thing I posted, I wrote about how fixing problems on live web sites [feels like fixing space robots][1]. At <a target=\"_blank\" title=\"Mozilla\" href=\"https://www.mozilla.org/?utm_source=wordpress%20blog&utm_medium=content%20link&utm_campaign=promote%20mdn\">Mozilla</a>, though, things have been getting steadily better and more interesting:\r\n\r\n[<img src=\"363349096cfa.jpg\" style=\"float:left; margin: 1em 1em 1em 0\" />][2]\r\n\r\nThere&#8217;s still the *sysadmin-as-remote-pair-of-hands-driven-by-trouble-tickets* thing going on, but less so every day. More and more, we&#8217;re getting into [continuous deployment][3]. Our sysadmins are really smart cookies: They&#8217;re steadily replacing themselves with scripts of varying sizes. That way, they can get on to more interesting things. In fact, just recently, they gave us a great Big Red Button that deploys code from a git repository to the live site on demand. And, for some reason, I&#8217;m one of the people who got a key to it.\r\n\r\nOkay, maybe not [*that* exact button][2], but ours is very keen. Of course, when it broke once, I felt like the Pakled on the right (and not Geordi):\r\n\r\n<span class='embed-youtube' style='text-align:center; display: block;'></span>\r\n\r\nBut, the Big Red Button hasn&#8217;t broken very often. So, I&#8217;d rather be a Pakled some of the time than pretend to be a rocket scientist all of the time.\r\n\r\n[<img src=\"4a282a6fa7c7.png\" style=\"width: 150px; float: right; margin: 1em 0 1em 1em\" />][4] Oh yeah, and [we&#8217;re using GitHub a lot these days][5]. It&#8217;s crazypants awesome for collaboration, and it fits right in with our style because we want to do everything in the open anyway. We&#8217;ve even somehow lured people who don&#8217;t normally code into [submitting Pull Requests][6]. And, it&#8217;s amazingly powerful to refer to specific lines of code and commits by URL in IRC or email.\r\n\r\n[<img src=\"http://vagrantup.com/static/images/hippie.png\" style=\"width: 150px; float: left; margin: 1em 1em 1em 0\" />][7] I&#8217;ve also been getting a lot better at building development environments, [using Puppet and Vagrant][8] and Amazon EC2. I haven&#8217;t quite gotten to the point where I can borrow IT&#8217;s Puppet manifests directly &#8211; ie. those scripts with which sysadmins are replacing themselves.\r\n\r\nBut, we are maintaining the recipes for spinning up dev servers right alongside the code. Our READMEs are shrinking, rather than growing &#8211; and yet we&#8217;re still adding more services and dependencies. I no longer really fear totally jack-knifing my dev rig, because I can just toss it and conjure up another in the time it takes me to run to lunch.\r\n\r\nLet&#8217;s see, what else? I&#8217;m sure I&#8217;ll think of something. Until then, SHIP IT. (The post, I mean.)\r\n\r\n [1]: http://blog.lmorchard.com/2012/07/10/webdev-in-spac\r\n [2]: http://www.amazon.com/gp/product/B004D18MCK/ref=as_li_ss_il?ie=UTF8&camp=1789&creative=390957&creativeASIN=B004D18MCK&linkCode=as2&tag=0xdecafbad01-20\r\n [3]: http://www.slideshare.net/MattBrandt/mozilla-continuous-deploment-on-sumo\r\n [4]: http://octodex.github.com/\r\n [5]: https://github.com/mozilla/\r\n [6]: https://github.com/mozilla/kuma/commit/1a8038215a2c4bb7fba5ff098875d034704d79bd\r\n [7]: http://vagrantup.com/\r\n [8]: http://opensourcebridge.org/wiki/2011/Inviting_Contributors_to_Open_Source_Webdev_through_Virtualization",
  "parentPath": "./content/posts/archives/2012/2012-07-10-webdev-more-better",
  "path": "2012/07/10/webdev-more-better",
  "thumbnail": "/2012/07/10/webdev-more-better/363349096cfa.jpg",
  "needsBuild": true,
  "prevPostPath": "2012/07/03/biospheric-xenophobia",
  "prevPostTitle": "Biospheric Xenophobia",
  "nextPostPath": "2012/07/10/webdev-in-spac",
  "nextPostTitle": "How webdev is like space exploration"
}