{"id":5047,"date":"2013-05-02T19:42:30","date_gmt":"2013-05-02T19:42:30","guid":{"rendered":"http:\/\/redmonk.com\/sogrady\/?p=5047"},"modified":"2013-05-02T19:42:30","modified_gmt":"2013-05-02T19:42:30","slug":"capsule","status":"publish","type":"post","link":"https:\/\/redmonk.com\/sogrady\/2013\/05\/02\/capsule\/","title":{"rendered":"Capsule, The Developer&#8217;s Code Journal"},"content":{"rendered":"<p><a href=\"http:\/\/sogrady-media.redmonk.com\/sogrady\/files\/2013\/05\/capsule.jpg\"><img loading=\"lazy\" decoding=\"async\" src=\"http:\/\/sogrady-media.redmonk.com\/sogrady\/files\/2013\/05\/capsule-e1367522994586.jpg\" alt=\"\" width=\"520\" height=\"290\" class=\"alignnone size-full wp-image-5048\" \/><\/a><\/p>\n<p>Most of the charts and analysis you see in this space is done, as a few of you know, via R and, more specifically, R Studio. R Studio is an excellent tool that streamlines the process of working with R, and while it&#8217;s certainly not necessary to work with the language, I recommend it to those looking for a more comprehensive interface. As much as I appreciate the tool, however, it has never obviated my need for a scratchpad. Like a lot of developers, I often work outside of my chosen development environment, maintaining a separate Sublime Text window to capture snippets of code, notes on what they do and how they do it, and more. And like a lot of developers, I&#8217;ve never really thought about this scratchpad or the process behind it.<\/p>\n<p>I do eventually migrate a subset of these snippets from Sublime &#8211; how to get ggplot  to generate a stacked chart incorporating negative values, for example &#8211; into a Google Doc for more permanent storage than just another an open tab. But the process is manual, imperfect and not collaborative at all. All of which may help explain why I think Alex King&#8217;s new project <a href=\"http:\/\/alexking.org\/blog\/2013\/04\/24\/capsule-the-developers-code-journal\">Capsule<\/a> is both important and relevant to anyone interested in the craft of software development. As he put it, it&#8217;s potentially a solution to a problem that I didn&#8217;t know I had.<\/p>\n<p>Described as the &#8220;Developer&#8217;s Code Journal,&#8221; Capsule is a WordPress based replacement for the scratch document that you maintain to capture everything that doesn&#8217;t fit well within your development tool (be that a text editor or IDE) of choice: extended comments, outlines, code snippets and so on. Basically, its function is akin to a diary or journal, but one designed and built to cater specifically to the art and task of coding.<\/p>\n<p>As you&#8217;d expect, it incorporates a good code editor (the same as GitHub) with language autocomplete and so on. Even better, you can organize these by project (@ notation) or tag (# notation) for easy retrieval later. And as a web based application rather than a local text doc, it&#8217;s possible to build a collective scratchpad equivalent, collaboratively, containing the shared thoughts of development teams.<\/p>\n<p>If you&#8217;re interested in the craft of software, and I&#8217;d hope that most of the people reading this fit that description, this is a project I&#8217;d recommend looking at. And given that it&#8217;s open source &#8211; it&#8217;s up on GitHub <a href=\"https:\/\/github.com\/crowdfavorite\/wp-capsule\">here<\/a> &#8211; potentially even contributing back to.<\/p>\n<p>The only question I&#8217;m trying to decide on before implementing it is whether to do so locally and back up the database to Dropbox regularly as Alex does, or remote, which removes a few complications but means that you lose access to the data when offline.<\/p>\n<p>Either way, it&#8217;s a tool that I expect to be using soon.<\/p>\n<p><strong>Disclosure<\/strong>: Alex is a friend of mine.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Most of the charts and analysis you see in this space is done, as a few of you know, via R and, more specifically, R Studio. R Studio is an excellent tool that streamlines the process of working with R, and while it&#8217;s certainly not necessary to work with the language, I recommend it to<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"spay_email":"","footnotes":"","jetpack_publicize_message":"","jetpack_is_tweetstorm":false},"categories":[6,21,61],"tags":[],"class_list":["post-5047","post","type-post","status-publish","format-standard","hentry","category-application-development","category-collaboration","category-open-source"],"jetpack_featured_media_url":"","jetpack_publicize_connections":[],"jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/redmonk.com\/sogrady\/wp-json\/wp\/v2\/posts\/5047","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/redmonk.com\/sogrady\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/redmonk.com\/sogrady\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/redmonk.com\/sogrady\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/redmonk.com\/sogrady\/wp-json\/wp\/v2\/comments?post=5047"}],"version-history":[{"count":0,"href":"https:\/\/redmonk.com\/sogrady\/wp-json\/wp\/v2\/posts\/5047\/revisions"}],"wp:attachment":[{"href":"https:\/\/redmonk.com\/sogrady\/wp-json\/wp\/v2\/media?parent=5047"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/redmonk.com\/sogrady\/wp-json\/wp\/v2\/categories?post=5047"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/redmonk.com\/sogrady\/wp-json\/wp\/v2\/tags?post=5047"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}