<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments for MesoSynoptic Studios Blog</title>
	<atom:link href="http://blog.mesosynoptic.com/comments/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.mesosynoptic.com</link>
	<description>The official blog for MesoSynoptic Studios</description>
	<lastBuildDate>Wed, 30 Jun 2010 04:21:16 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0</generator>
	<item>
		<title>Comment on More Rails progress by nick</title>
		<link>http://blog.mesosynoptic.com/2010/06/06/more-rails-progress/comment-page-1/#comment-79</link>
		<dc:creator>nick</dc:creator>
		<pubDate>Wed, 30 Jun 2010 04:21:16 +0000</pubDate>
		<guid isPermaLink="false">http://blog.mesosynoptic.com/?p=51#comment-79</guid>
		<description>I&#039;m actually writing some convenience scripts for certain tasks at work... it is so freaking easy to do things.

For example, part of one of the scripts is generating a list of hostnames from shorthand. A lot of hosts are sequentially numbered, so people will enter host[101-200].domain.tld and it will spit out 100 lines of singular hostnames (or in this particular case, make 100 rows in a CSV for those hostnames). I don&#039;t think there&#039;s another language in existence that can do this in so few lines of code:

&lt;blockquote&gt;&lt;pre&gt;
hosts = gets.chomp
hostname_array = Array.new
if (host_numbers = hosts[/\[\d+-\d+\]/]).nil?
  hostname_array &lt;&lt; hosts
else
  host_range = host_numbers[/(\d+)-(\d+)/,1]..host_numbers[/(\d+)-(\d+)/,2]
  host_range.each { &#124;host_num&#124; hostname_array &lt;&lt; hosts.gsub(/\[\d+-\d+\]/,host_num) }
end

hostname_array.each { &#124;hostname&#124; puts hostname }
&lt;/pre&gt;&lt;/blockquote&gt;

I mean, seriously. In 10 lines of code I have taken a string from the standard input, checked to see if a pattern exists, yanked the pattern, pulled numerals out of that pattern, created a range from those numerals, iterated the range and replaced the subsection of the string with the numeral, added them all to an array, and printed each line of the array to the screen. What other language can do that in ten lines of code?</description>
		<content:encoded><![CDATA[<p>I&#8217;m actually writing some convenience scripts for certain tasks at work&#8230; it is so freaking easy to do things.</p>
<p>For example, part of one of the scripts is generating a list of hostnames from shorthand. A lot of hosts are sequentially numbered, so people will enter host[101-200].domain.tld and it will spit out 100 lines of singular hostnames (or in this particular case, make 100 rows in a CSV for those hostnames). I don&#8217;t think there&#8217;s another language in existence that can do this in so few lines of code:</p>
<blockquote><pre>
hosts = gets.chomp
hostname_array = Array.new
if (host_numbers = hosts[/\[\d+-\d+\]/]).nil?
  hostname_array < < hosts
else
  host_range = host_numbers[/(\d+)-(\d+)/,1]..host_numbers[/(\d+)-(\d+)/,2]
  host_range.each { |host_num| hostname_array << hosts.gsub(/\[\d+-\d+\]/,host_num) }
end

hostname_array.each { |hostname| puts hostname }
</pre>
</pre>
</blockquote>
<p>I mean, seriously. In 10 lines of code I have taken a string from the standard input, checked to see if a pattern exists, yanked the pattern, pulled numerals out of that pattern, created a range from those numerals, iterated the range and replaced the subsection of the string with the numeral, added them all to an array, and printed each line of the array to the screen. What other language can do that in ten lines of code?</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on More Rails progress by Colin</title>
		<link>http://blog.mesosynoptic.com/2010/06/06/more-rails-progress/comment-page-1/#comment-54</link>
		<dc:creator>Colin</dc:creator>
		<pubDate>Sun, 06 Jun 2010 21:31:47 +0000</pubDate>
		<guid isPermaLink="false">http://blog.mesosynoptic.com/?p=51#comment-54</guid>
		<description>I know, I sortta fell in love with Ruby looking for a better language for just general scripting and possible web development then I saw some insanely great things Ruby on Rails can do and I was sold.</description>
		<content:encoded><![CDATA[<p>I know, I sortta fell in love with Ruby looking for a better language for just general scripting and possible web development then I saw some insanely great things Ruby on Rails can do and I was sold.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Backend language by John</title>
		<link>http://blog.mesosynoptic.com/2010/04/13/backend-language/comment-page-1/#comment-4</link>
		<dc:creator>John</dc:creator>
		<pubDate>Wed, 14 Apr 2010 14:12:33 +0000</pubDate>
		<guid isPermaLink="false">http://blog.mesosynoptic.com/?p=21#comment-4</guid>
		<description>Does your daemon need to do everything?  Perhaps you can use C/C++ for the WeatherWire stuff as a daemon, and PHP or Ruby with Apache for the NWS radar, forecasts, and APNS stuff since the WeatherWire daemon will be putting stuff in the database anyway.</description>
		<content:encoded><![CDATA[<p>Does your daemon need to do everything?  Perhaps you can use C/C++ for the WeatherWire stuff as a daemon, and PHP or Ruby with Apache for the NWS radar, forecasts, and APNS stuff since the WeatherWire daemon will be putting stuff in the database anyway.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Backend language by Colin</title>
		<link>http://blog.mesosynoptic.com/2010/04/13/backend-language/comment-page-1/#comment-3</link>
		<dc:creator>Colin</dc:creator>
		<pubDate>Wed, 14 Apr 2010 04:04:52 +0000</pubDate>
		<guid isPermaLink="false">http://blog.mesosynoptic.com/?p=21#comment-3</guid>
		<description>I think your not giving enough credit to interpreters. After all Java worked for you and it&#039;s interpreted at the JVM, not in the same way that say Ruby or Python are but it&#039;s still an interpretation layer. There are tons of sites written in interpreted languages that are very fast.

Like say Github, it&#039;s written in Ruby and handles tons of git commits and pushes to users of other projects and users activities. Besides any VM is going to do tons to prevent slow downs, like caching instructions, instruction prefetching,etc. They aren&#039;t going to be as fast as compiled code, but they&#039;ll get pretty fast.</description>
		<content:encoded><![CDATA[<p>I think your not giving enough credit to interpreters. After all Java worked for you and it&#8217;s interpreted at the JVM, not in the same way that say Ruby or Python are but it&#8217;s still an interpretation layer. There are tons of sites written in interpreted languages that are very fast.</p>
<p>Like say Github, it&#8217;s written in Ruby and handles tons of git commits and pushes to users of other projects and users activities. Besides any VM is going to do tons to prevent slow downs, like caching instructions, instruction prefetching,etc. They aren&#8217;t going to be as fast as compiled code, but they&#8217;ll get pretty fast.</p>
]]></content:encoded>
	</item>
</channel>
</rss>
<!-- WP Super Cache is installed but broken. The path to wp-cache-phase1.php in wp-content/advanced-cache.php must be fixed! -->