{"id":2553,"date":"2009-08-18T09:59:11","date_gmt":"2009-08-18T16:59:11","guid":{"rendered":"http:\/\/labs-wpmu.stage.mozilla.com\/?p=2553"},"modified":"2009-08-18T09:59:11","modified_gmt":"2009-08-18T16:59:11","slug":"bespin-0-4-stop-collaborate-and-code","status":"publish","type":"post","link":"https:\/\/blog.mozilla.org\/labs\/2009\/08\/bespin-0-4-stop-collaborate-and-code\/","title":{"rendered":"Bespin 0.4: Stop, Collaborate and Code!"},"content":{"rendered":"<p>Bespin is back with a brand new invention! <a href=\"#vice\">*<\/a><\/p>\n<p>Something grabbed a hold of us and wanted to make the coding experience more social. Our <a href=\"http:\/\/labs.mozilla.com\/2009\/02\/introducing-bespin\/\">initial prototype<\/a> had the notion of collaborating on code artifacts a la <a href=\"http:\/\/www.codingmonkeys.de\/subethaedit\/\">SubEthaEdit<\/a>.<\/p>\n<p>We have worked with many remote teams during our coding careers and trying to do code reviews and pair programming has always been painful. Since Bespin&#8217;s all about coding in the cloud, how about using the cloud to make it a little easier?<\/p>\n<p>Putting collaboration into production takes a lot of work. If you are hacking on code with a group of people, you are very chatty, so we had to rewrite the collaboration server to deal with this. <\/p>\n<p>Joe Walker has done the bulk of the work, and has <a href=\"http:\/\/directwebremoting.org\/blog\/joe\/2009\/08\/13\/collaboration_in_bespin.html\">posted about the implementation and how to use it<\/a><\/p>\n<p><b>Using Collaboration<\/b><\/p>\n<p>As part of collaboration we need to notion of connections between people and access control. A few new commands give you access to this information:<\/p>\n<ul>\n<li><code>follow\/unfollow<\/code>: allow you to decide whose shared projects you want to see in your project navigator. As we evolve Bespin this will become a way to get all sorts of information about the people you are working with<\/li>\n<li><code>group<\/code>: allows you to put the people you are interested in into groups to make it easy to manage sharing<\/li>\n<li><code>share<\/code>: allows you to export your projects read-only or editable to individuals, groups, or to everyone<\/li>\n<\/ul>\n<p>To get started quickly, you can jump in to a public shared project that Joe has setup. Once logged in to <a href=\"http:\/\/bespin.mozilla.com\/\">Bespin<\/a> follow the steps:<\/p>\n<ul>\n<li>Press CTRL+J \/ CMD+J to open the command line.<\/li>\n<li>Type <tt>follow joewalker<\/tt> to get someone to share files with. I&#8217;ve shared a project called pubproj globally.<\/li>\n<li>Type <tt>project list<\/tt>. You should see joewalker+pubproj in your list of projects.<\/li>\n<li> Type <tt>set collaborate on<\/tt> to turn on shared editing.<\/li>\n<li> Open a shared file by typing <tt>open \/joewalker+pubproj\/example.txt<\/tt>.<\/li>\n<\/ul>\n<p>Your command line should look something like this:<\/p>\n<p><img decoding=\"async\" src=\"https:\/\/wiki.mozilla.org\/images\/7\/77\/Collab-steps.png\" \/><\/p>\n<p>We have a collaboration sidebar that you can access from the top right icon; the icon turns blue if you have collaboration on and yellow if you are actively collaborating on a file with someone.<\/p>\n<p><img decoding=\"async\" src=\"http:\/\/directwebremoting.org\/blog\/joe\/files\/images\/collab-steps.png\" \/><\/p>\n<p>If you want to see this in more detail, watch the screencast:<\/p>\n<p><b>One more thing&#8230;.<\/b><\/p>\n<p>The big feature of Bespin 0.4 is collaboration for sure, however we have fixed a huge number of bugs and have cleaned up the user experience in many ways as we keep making Bespin solid.<\/p>\n<p>Give it a try and let us know what you would like to see!<\/p>\n<p><i>If there was a problem yo I&#8217;ll solve it,<br \/>\nCheck out the hook while Shay revolves it.<br \/>\nIce, ice baby&#8230;<\/i><\/p>\n<p><a name=\"vice\">*<\/a> (apologies to <a href=\"http:\/\/en.wikipedia.org\/wiki\/Vanilla_Ice\">Vanilla Ice<\/a>)<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Bespin is back with a brand new invention! * Something grabbed a hold of us and wanted to make the coding experience more social. Our initial prototype had the notion of collaborating on code artifacts a la SubEthaEdit. We have &hellip; <a class=\"go\" href=\"https:\/\/blog.mozilla.org\/labs\/2009\/08\/bespin-0-4-stop-collaborate-and-code\/\">Continue reading<\/a><\/p>\n","protected":false},"author":51,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"_links":{"self":[{"href":"https:\/\/blog.mozilla.org\/labs\/wp-json\/wp\/v2\/posts\/2553"}],"collection":[{"href":"https:\/\/blog.mozilla.org\/labs\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/blog.mozilla.org\/labs\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/blog.mozilla.org\/labs\/wp-json\/wp\/v2\/users\/51"}],"replies":[{"embeddable":true,"href":"https:\/\/blog.mozilla.org\/labs\/wp-json\/wp\/v2\/comments?post=2553"}],"version-history":[{"count":0,"href":"https:\/\/blog.mozilla.org\/labs\/wp-json\/wp\/v2\/posts\/2553\/revisions"}],"wp:attachment":[{"href":"https:\/\/blog.mozilla.org\/labs\/wp-json\/wp\/v2\/media?parent=2553"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blog.mozilla.org\/labs\/wp-json\/wp\/v2\/categories?post=2553"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blog.mozilla.org\/labs\/wp-json\/wp\/v2\/tags?post=2553"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}