<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/css" href="/stylesheets/rss.css"?>
<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:trackback="http://madskills.com/public/xml/rss/module/trackback/">
  <channel>
    <title>Segment7: Tattle Host OS</title>
    <link>http://blog.segment7.net/articles/2007/01/10/tattle-host-os</link>
    <language>en-us</language>
    <ttl>40</ttl>
    <description>The Blog</description>
    <item>
      <title>Tattle Host OS</title>
      <description>&lt;p&gt;After two days and 562 &lt;a href="http://tattle.rubygarden.org/"&gt;tattle&lt;/a&gt; reports a picture of rubyists' operating system choice is emerging:

&lt;pre&gt;&lt;samp&gt;$ ruby filter_host_os.rb tattle-host_os-20070110-1053.yml 
  darwin8: 242
linux-gnu: 161
  mswin32: 116
 freebsd6: 16
 solaris2: 7
  darwin7: 5
   cygwin: 4
 openbsd4: 4
    linux: 2
 freebsd5: 2
  darwin9: 2
 openbsd3: 1&lt;/samp&gt;&lt;/pre&gt;

&lt;p&gt;Generated from:

&lt;pre&gt;&lt;code&gt;$ cat filter_host_os.rb 
require 'yaml'

data = YAML.load ARGF.read

collapsed = Hash.new 0
data['host_os'].each do |os, count|
  os =~ /^(.*?)(\.|$)/
  collapsed[$1] += count
end

length = collapsed.keys.sort_by { |k| -k.length }.first.length

collapsed.sort_by { |o,c| -c }.each do |os,count|
  puts "%#{length}s: %d" % [os, count]
end&lt;/code&gt;&lt;/pre&gt;
</description>
      <pubDate>Wed, 10 Jan 2007 08:03:00 -0800</pubDate>
      <guid isPermaLink="false">urn:uuid:4788842f-cb84-4c82-9e7c-b135be520fb3</guid>
      <author>drbrain@segment7.net (Eric Hodel)</author>
      <link>http://blog.segment7.net/articles/2007/01/10/tattle-host-os</link>
      <category>Ruby</category>
      <category>Rubygems</category>
      <trackback:ping>http://blog.segment7.net/articles/trackback/586</trackback:ping>
    </item>
    <item>
      <title>"Tattle Host OS" by Peter Cooper</title>
      <description>&lt;p&gt;I&amp;#8217;ve just posted to Ruby Inside about it encouraging people to run Tattle, so hopefully those numbers will go up a little :)&lt;/p&gt;</description>
      <pubDate>Thu, 11 Jan 2007 07:12:54 -0800</pubDate>
      <guid isPermaLink="false">urn:uuid:a32de37f-65f6-4f6e-9baf-c258079bd2aa</guid>
      <link>http://blog.segment7.net/articles/2007/01/10/tattle-host-os#comment-588</link>
    </item>
    <item>
      <title>"Tattle Host OS" by Pat Eyler</title>
      <description>&lt;p&gt;heh, just wait until we can submit info from non-interent accessible boxes &amp;#8230; I&amp;#8217;ve got a couple of Linux server farms to register that might skew the numbers a bit.&lt;/p&gt;</description>
      <pubDate>Wed, 10 Jan 2007 12:02:59 -0800</pubDate>
      <guid isPermaLink="false">urn:uuid:3468dc63-6ad5-41e5-b610-3b4b17e65360</guid>
      <link>http://blog.segment7.net/articles/2007/01/10/tattle-host-os#comment-587</link>
    </item>
  </channel>
</rss>
