Nick Sieger: Tag kenai tag:blog.nicksieger.com,2005:Typo Typo 2010-11-22T18:37:29+00:00 Nick Sieger urn:uuid:9a1f22f6-e5db-4cf7-a49d-79c06dbb4bf2 2009-06-09T02:23:36+00:00 2010-11-22T18:37:29+00:00 Project Kenai at JavaOne <p>It&#8217;s just the beginning and a small milestone, but it&#8217;s a goal we set for ourselves by JavaOne last week that we reached: 10K registered users at <a href="http://kenai.com/">http://kenai&#46;com/</a>&#46; We were fortunate to be highlighted in the Tuesday afternoon keynote, which, to our collective relief, <a href="http://blogs.zdnet.com/BTL/?p=19181">went off without a hitch</a>&#46; I also had a chance to speak a bit about Project Kenai behind the scenes in my technical session&#46;</p> <p><a href="/TS5413_09J1_SiegerLessons.pdf">My slides are available</a> and contain a decent overview of what we&#8217;ve been doing&#46; One slide in particular seems to have <a href="http://twitter.com/olabini/status/2027466455">surprised</a> some folks: our codebase metrics&#46;</p> <ul> <li>12K lines of application code (everything in <code>app/{controllers,models,helpers}</code>)</li> <li>10K lines of views (HTML + template code in <code>app/views</code>) </li> <li>1K lines of custom Javascript (<code>public/javascripts</code> excluding jQuery and plugins)</li> <li>8K lines of test code (RSpec + plain text stories) (yes, we&#8217;re upgrading to <a href="http://cukes.info">Cucumber</a>)</li> <li>73&#46;7% test coverage</li> </ul> <p>If you&#8217;re doing Rails, you&#8217;re probably not all that surprised by these numbers; hopefully you&#8217;ve seen similar ones yourself&#46; If you haven&#8217;t tried Rails, consider a site like kenai&#46;com and ask yourself if you could build and maintain a production site like it with these numbers in your favorite language/framework&#46;</p> <p>Other takeaways from my talk:</p> <ul> <li>Use Java what it&#8217;s good for; in this case, long&#45;running server apps&#46; The downtime of the JRuby/GlassFish&#45;deployed Rails application has been minimal for us; the few cases where we&#8217;ve had issues, they&#8217;ve usually been self&#45;inflicted application problems&#46; Instead of running Monit with a pack of Mongrels that need to be periodically recycled, we run a few GlassFish domains per server and only recycle them when we deploy new code&#46;</li> <li>For the Java programmers out there, don&#8217;t be afraid to use stuff other than Java&#46; We use Python, Django, Memcached, Perl, and anything that gets the job done&#46;</li> <li>You can build cool stuff quickly with community Rails plugins like <a href="http://github.com/technoweenie/attachment_fu/tree/master">attachment_fu</a>, <a href="http://geokit.rubyforge.org/">geokit</a>, and <a href="http://wiki.github.com/mislav/will_paginate">will_paginate</a>&#46; Not news to Rails programmers, but I&#8217;d be interested to hear of any equivalents for Java&#45;based web frameworks&#46;</li> <li><a href="http://www.jruby.org/">JRuby</a> is a big win, allowing co&#45;development on MRI and JRuby with deployment to GlassFish&#46; JRuby&#8217;s java integration also allows for neat tricks like <a href="http://kenai.com/projects/image-voodoo">image_voodoo</a>, a pure&#45;Java imaging plugin for attachment_fu&#46;</li> </ul> Nick Sieger urn:uuid:94767c6b-fd39-49d0-ae75-2a956b34d195 2008-10-19T18:30:52+00:00 2010-11-22T18:49:03+00:00 Project Kenai: Open for Business <h2>Project Kenai</h2> <p><a href="http://kenai.com/" title="Project Kenai -- We're More Than Just a Forge">Project Kenai</a> has been open for business for over a month, and I&#8217;m just writing about it now?</p> <p><img src="http://kenai.com/images/project_kenai.gif" alt="Project Kenai" title="Project Kenai"/></p> <p>Blogging is hard&#46; Let&#8217;s go shopping, m&#8217;kay?</p> <p><span style="font-size:60%"><a href="http://www.flickr.com/photos/zen/1229934/"> <img src="http://farm1.static.flickr.com/1/1229934_62b6ca3405_m.jpg" alt="barbie" title="Barbie"/><br/> http://www&#46;flickr&#46;com/photos/zen/1229934/</a> on flickr</span></p> <p>There&#8217;s no excuse for not writing until now about the JRuby on Rails project that&#8217;s kept me busy at work since I joined Sun almost 18 months ago&#46; (Ok, there are a few lame ones&#46; <a href="http://twitter.com/nicksieger">Twitter</a>&#46; <a href="http://en.oreilly.com/railseurope2008/public/schedule/speaker/2609">Conference</a> <a href="http://openjdk.java.net/projects/mlvm/jvmlangsummit/">travel</a>&#46; <a href="http://my.barackobama.com/">Presidential</a> <a href="http://huffingtonpost.com/">political news</a> <a href="http://fivethirtyeight.com/">distractions</a>&#46; Also, <a href="http://www.tbray.org/ongoing/When/200x/2008/09/09/Project-Kenai">Tim&#8217;s write&#45;up</a> filled in my side of the story immediately after the launch&#46;)</p> <p>So, better late than never&#46; Actually, by looking back on the first month of operation I think that I can give you a better idea of where we&#8217;re going, supported by what we&#8217;ve done (as well as what we haven&#8217;t done), rather than what I might have said we&#8217;re going to do&#46;</p> <h2>Word of Mouth</h2> <p>One thing we haven&#8217;t done is put the heavy Sun marketing blitzkrieg operation to work on our behalf&#46; Word has made its way around the blogs, and even onto a <a href="http://www.infoworld.com/article/08/09/15/Sun_aims_at_Google_with_opensource_project_hosting_site_1.html">few</a> <a href="http://ostatic.com/173304-blog/sun-launches-new-site-for-hosting-open-source-projects">tech</a> <a href="http://www.infoq.com/news/2008/09/kenai-project-hosting">news</a> <a href="http://t3n.yeebase.com/aktuell/news/newspost/project-kenai-entwicklerplattform-von-sun-auf-jruby/1955/">sites</a>, but we&#8217;re still in a growth phase for the project, and we&#8217;d rather earn respect quietly through a site that people find useful instead of shouting the word from the mountain tops&#46;</p> <p>We have established that we intend to embrace change, having <a href="http://kenai.com/projects/help/pages/ReleaseNotes">deployed three additional releases</a> since launch&#46; During that time, we&#8217;ve <a href="http://kenai.com/projects/help/pages/Downloads">added a new feature</a>, fixed bugs and UI inconsistencies, and worked on performance and infrastructure issues&#46;</p> <div class="thumbnail"><a href="http://skitch.com/nicksieger/3n9s/kenai-database"><img src="http://img.skitch.com/20081019-dt1usp3stwpy6p7e49g67nsh8i.preview.jpg" alt="kenai-database" /></a><br /></div> <p>We&#8217;ve also seen community participation grow&#46; We&#8217;ve had over 2100 people join, 79 projects have been created, and we&#8217;re starting to see real activity in those projects&#46; These are modest but respectable numbers&#46;</p> <h2>JRuby on Rails</h2> <p>As you&#8217;ve heard, kenai&#46;com runs on <a href="http://www.jruby.org/">JRuby</a> and <a href="https://glassfish.dev.java.net/">Glassfish</a> and uses bits of software I&#8217;ve worked on like <a href="http://activerecord-jdbc.kenai.com/">activerecord&#45;jdbc</a>, <a href="http://warbler.kenai.com">Warbler</a> and <a href="http://jruby-rack.kenai.com/">JRuby&#45;Rack</a>&#46; Having worked on JRuby itself and Rails support for JRuby for a couple years now, this is a personal validation of all that work&#46; One of the things I&#8217;ve relished the most working on Project Kenai for the past year is to be able to build infrastructure software for and based upon real&#45;world use&#46; The JRuby story continues to get stronger every day, with things like <a href="http://blog.jaoo.dk/2008/10/07/michael-koziarsky-rails-core-team-interview/">thread&#45;safety in the upcoming Rails 2&#46;2 release</a> adding fuel to the fire&#46;</p> <h2>(Not Yet) More Than Just a Forge</h2> <p>One of the things that might have caught your eye when you came to the site is the slogan <em>More Than Just a Forge</em>&#46; That&#8217;s silly, you might say to yourself&#46; What do they have here that I can&#8217;t get at another project hosting site? And if you said that, I&#8217;d heartily agree with you – the marketers are just getting a little antsy&#46;</p> <p>However, that doesn&#8217;t mean we don&#8217;t have plans&#46; For now, we&#8217;re taking the <a href="http://www.aaronsw.com/weblog/howtolaunch">Gmail Launch</a> strategy, starting with a simple, solid foundation, and gradually inviting more and more to participate, stabilizing and growing the platform, and soliciting feedback from our user base&#46; We do already have a healthy amount of requests on our <a href="http://kenai.uservoice.com/">UserVoice page</a>, and while we hope to make good on a number of those, we also plan to do some new things that aren&#8217;t being done elsewhere&#46; Stay tuned, and I hope to be able to reveal some more in the coming months as we start to roll out the implementation of those plans&#46;</p> <p>In the meantime, if you&#8217;d like an invite to create a project, drop me an email&#46; If you have comments or requests, you can share them with me privately via email, <a href="http://kenai.com/forums/">on the site in the forums</a>, or on our <a href="http://kenai.uservoice.com/">UserVoice</a> page&#46;</p>