<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	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/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Evilsoft.org &#187; Coding</title>
	<atom:link href="http://www.evilsoft.org/category/coding/feed" rel="self" type="application/rss+xml" />
	<link>http://www.evilsoft.org</link>
	<description>We&#039;re everywhere....</description>
	<lastBuildDate>Sun, 20 Sep 2015 23:42:44 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=4.3.1</generator>
	<item>
		<title>Why I view ruby as immature</title>
		<link>http://www.evilsoft.org/2010/06/30/why-i-view-ruby-as-immature</link>
		<comments>http://www.evilsoft.org/2010/06/30/why-i-view-ruby-as-immature#comments</comments>
		<pubDate>Wed, 30 Jun 2010 15:54:18 +0000</pubDate>
		<dc:creator><![CDATA[Administrator]]></dc:creator>
				<category><![CDATA[Coding]]></category>
		<category><![CDATA[RoR]]></category>
		<category><![CDATA[Tech]]></category>
		<category><![CDATA[Web]]></category>

		<guid isPermaLink="false">http://www.evilsoft.org/?p=253</guid>
		<description><![CDATA[In 2006 I was introduced to ruby, and for a time I found it to be a fun language to work with. After about 6 months, I started to notice problems and shortcomings in the ruby/rails stack and went on to bigger and better things. The problem is that to this day I have to [&#8230;]]]></description>
				<content:encoded><![CDATA[<p>In 2006 I was introduced to ruby, and for a time I found it to be a fun language to work with.  After about 6 months, I started to notice problems and shortcomings in the ruby/rails stack and went on to bigger and better things.  The problem is that to this day I have to defend myself to legions of ruby/rails faithful who seem to think that it&#8217;s sacrilege to ever leave the faith. (That makes me what, an apostate?)  A friend recently asked on a <a href="http://mail.evilsoft.org/mailman/listinfo/tangent">mailing list I regularly traffic</a> why a person would consider ruby to be flawed.  The best way I can express this is in some code.<br />
<span id="more-253"></span></p>
<p>As a note, this isn&#8217;t about these specific flaws: It&#8217;s that these kinds of flaws are endemic in ruby and particularly rails.</p>
<p><strong>Set Processing</strong><br />
<code><br />
devon@chronos ~/Projects/sets $ cat sets1.rb<br />
#!/usr/bin/env ruby<br />
require 'set'<br />
require 'pp'<br />
large = Set.new(Range.new(1,10000000))<br />
small = Set.new(Range.new(1,10))<br />
pp small.intersection(large)</p>
<p>devon@chronos ~/Projects/sets $ time ./sets1.rb<br />
#&lt;Set: {5, 6, 1, 7, 2, 8, 3, 9, 4, 10}&gt;</p>
<p>real 0m35.421s<br />
user 0m23.900s<br />
sys 0m9.910s<br />
</code></p>
<p><code><br />
devon@chronos ~/Projects/sets $ cat sets2.rb<br />
#!/usr/bin/env ruby<br />
require 'set'<br />
require 'pp'<br />
large = Set.new(Range.new(1,10000000))<br />
small = Set.new(Range.new(1,10))<br />
pp large.intersection(small)</p>
<p>devon@chronos ~/Projects/sets $ time ./sets2.rb<br />
#&lt;Set: {5, 6, 1, 7, 2, 8, 3, 9, 4, 10}%gt;</p>
<p>real 0m16.917s<br />
user 0m12.720s<br />
sys 0m3.430s<br />
</code></p>
<p>So the order that I intersect the sets drastically impacts the speed of the algorithm (2x).  Let&#8217;s take a look at python to see whether a language in the same class behaves similarly.</p>
<p><code><br />
devon@chronos ~/Projects/sets $ cat sets1.py<br />
#!/usr/bin/env python</p>
<p>large = set(range(1,10000000))<br />
small = set(range(1,10))</p>
<p>print large.intersection(small)</p>
<p>devon@chronos ~/Projects/sets $ time ./sets1.py<br />
set([1, 2, 3, 4, 5, 6, 7, 8, 9])</p>
<p>real 0m2.583s<br />
user 0m1.850s<br />
sys 0m0.670s<br />
</code></p>
<p><code><br />
devon@chronos ~/Projects/sets $ cat sets2.py<br />
#!/usr/bin/env python</p>
<p>large = set(range(1,10000000))<br />
small = set(range(1,10))</p>
<p>print large.intersection(small)</p>
<p>devon@chronos ~/Projects/sets $ time ./sets2.py<br />
set([1, 2, 3, 4, 5, 6, 7, 8, 9])</p>
<p>real 0m2.598s<br />
user 0m1.760s<br />
sys 0m0.710s<br />
</code></p>
<p>So no, python handles the choice of which set to intersect with the other gracefully.  This is a good example of how the ruby set api is immature.  I&#8217;m ignoring that it&#8217;s taking between 13.7 and 6.5 times as long to execute, because I think that it&#8217;s reasonable for people to do code in something that is easier for them to work in and then optimize.  My problem here is that based on the direction you do the intersection, it can take 2x longer in ruby.  This is shoddy engineering and is the kind of thing that gets solved in a language as it matures.  The problem is that the language was immature when it exploded into widespread use, and no one seems to be doing anything to make it ready for prime time. </p>
<p>So what about 1.9?  1.9 is supposed to be where the energy is going to make the language faster and more mature.<br />
<code><br />
devon@chronos ~/Projects/sets $ cat sets1.rb<br />
#!/usr/bin/env ruby1.9<br />
require 'set'<br />
require 'pp'<br />
large = Set.new(Range.new(1,10000000))<br />
small = Set.new(Range.new(1,10))<br />
pp small.intersection(large)</p>
<p>devon@chronos ~/Projects/sets $ time ./sets1.rb<br />
#&lt;Set: {1, 2, 3, 4, 5, 6, 7, 8, 9, 10}&gt;</p>
<p>real    0m13.310s<br />
user    0m11.240s<br />
sys    0m0.680s<br />
</code></p>
<p><code><br />
devon@chronos ~/Projects/sets $ cat sets2.rb<br />
#!/usr/bin/env ruby1.9<br />
require 'set'<br />
require 'pp'<br />
large = Set.new(Range.new(1,10000000))<br />
small = Set.new(Range.new(1,10))<br />
pp large.intersection(small)</p>
<p>devon@chronos ~/Projects/sets $ time ./sets2.rb<br />
#&lt;Set: {1, 2, 3, 4, 5, 6, 7, 8, 9, 10}&gt;</p>
<p>real    0m9.181s<br />
user    0m8.280s<br />
sys    0m0.480s<br />
</code></p>
<p>While it&#8217;s faster (which wasn&#8217;t really my complaint anyway), it still is very different based on which direction you do your intersection from.  I see evidence of speed work being done on ruby, but not on maturing the language so that it meets tried and true engineering principals like the <a href="http://www.faqs.org/docs/artu/ch01s06.html">rule of least surprise.</a>  (Yes, code is a user interface for coders, so the rule of least surprise applies) <strong><em>(1)</em></strong> </p>
<p><strong>Nil as an object</strong><br />
How about this one that has actually done damage to our database:</p>
<p><code><br />
devon@chronos ~/Projects/sets $ irb<br />
irb(main):001:0> nil.id<br />
(irb):1: warning: Object#id will be deprecated; use Object#object_id<br />
=> 4<br />
</code></p>
<p>It certainly explains why we have a bizarrely large number of items in our database with foreign keys set to 4.  This conflicts directly with the rails standard for naming a database primary key as &#8216;id&#8217;, which you assess on a model at obj.id.  Yes, code should have lots of null checks, but real world code has flaws.  Sure it throws a warning, but since it doesn&#8217;t break on nil when you call .id, you get data corruption.  Gee, thanks, ruby.</p>
<p><strong>Ruby in general</strong><br />
These are just a few examples, but ruby is <em>rife</em> with happy path coding.  The language needed another 5 years of development before going into widespread use.  Instead, I think it&#8217;s getting worse because a set of rails engineers who don&#8217;t know anything about languages are at the helm, adding lots of syntactic sugar but with a distinct lack of substance behind that candied shell.</p>
<p><sub><strong><em>1.</em></strong> Perhaps it&#8217;s not fair to compare ruby to the unix philosophy, because the ruby design philosophy violates the 17 rules in ways that are clearly intentional.  Specifically, ruby and rails egregiously violate the rules of clarity and transparency, and rails in particular violates the rules of separation, composition and representation.</sub></p>
]]></content:encoded>
			<wfw:commentRss>http://www.evilsoft.org/2010/06/30/why-i-view-ruby-as-immature/feed</wfw:commentRss>
		<slash:comments>5</slash:comments>
		</item>
		<item>
		<title>Stupid SSH config tricks</title>
		<link>http://www.evilsoft.org/2009/10/23/stupid-ssh-config-tricks</link>
		<comments>http://www.evilsoft.org/2009/10/23/stupid-ssh-config-tricks#comments</comments>
		<pubDate>Fri, 23 Oct 2009 18:03:29 +0000</pubDate>
		<dc:creator><![CDATA[Administrator]]></dc:creator>
				<category><![CDATA[Coding]]></category>
		<category><![CDATA[Tech]]></category>

		<guid isPermaLink="false">http://www.evilsoft.org/?p=225</guid>
		<description><![CDATA[So I use ssh a lot. And this is one damn powerful little program. I decided to write up a log of some of my favorite ssh tricks. Using ssh as a proxy server (to avoid your company&#8217;s/country&#8217;s anal probeware) SSH has a built in SOCKS proxy that you can use in any program that [&#8230;]]]></description>
				<content:encoded><![CDATA[<p>So I use ssh a lot.  And this is one damn powerful little program.  I decided to write up a log of some of my favorite ssh tricks.</p>
<p><span id="more-225"></span></p>
<p><strong>Using ssh as a proxy server (to avoid your company&#8217;s/country&#8217;s anal probeware)</strong><br />
SSH has a built in SOCKS proxy that you can use in any program that can run over a SOCKS proxy.  This includes Firefox (really, all browsers), Thunderbird, Pidgin/Adium (as well as almost all other IM clients like Google Talk, AIM, etc) and a ton of other networking programs we all use.  Using SSH with the -D flag lets you create a dynamic ssh tunnel that acts as a SOCKS proxy, and sends all your traffic from the endpoint of your ssh connection.</p>
<p>To run ssh as a proxy, you need to run it like this:<br />
<code>ssh -D 127.0.0.1:3128 someserver.com</code></p>
<p>This command says you want to run a dynamic port forward, and it should be available on your local computer on port 3128 (default for SOCKS).  All traffic that runs through this will appear to be coming from someserver.com (where you need to have an ssh account).  Further, all traffic that you send through this tunnel will enter the tunnel without ever leaving your box, travel over that tunnel using ssh&#8217;s crypto, then exit at it&#8217;s endpoint where it can connect to whatever you want it to connect to.  Return traffic follows the same path but in reverse.  This is a great trick not only for avoiding firewalls (so long as your firewall does allow port 22 traffic), but also for surfing the web on any network that you don&#8217;t trust.  Instead you can browse the web/read your email from a server you control and trust by doing all your networking via an encrypted ssh proxy.</p>
<p>To configure Firefox to use this crypted tunnel, click on Edit->Preferences, and select Advanced.  From there, under Connection, click on Settings.  You will want to select Manual proxy configuraion.  Leave everything blank except SOCKS Host: localhost and Port: 3128.  Check SOCKS v5.  If you want to be able to access any resources that are on your local network without using the proxy, enter the local addresses or networks into the No Proxy For: box.</p>
<p><strong>Using a single connection (and only having to enter in the password once)</strong><br />
If you want to be able to make connections to a box, and are sick of typing in the password multiple times for multiple connections, you can use ControlMaster.  This allows you to have multiple ssh terminal sessions shared over one connection.  This means that you only establish one connection, and one consequence of that is you also only need to do auth once when you establish the connection. You can enable this by editing ~/.ssh/config and adding *:</p>
<p><code>Host *<br />
	ControlMaster auto<br />
	ControlPath ~/.ssh/master-%r@%h:%p</code></p>
<p>One nice side effect of this is that you can do an ls ~/.ssh and see exactly which boxes you are connected to presently.</p>
<p><strong>Using multiple ssh keys transparently</strong><br />
When I started at my present job, everyone was using keychain to manage the large number of ssh keys they had to deal with from our various servers.  You don&#8217;t need a key manager to transparently utilize multiple ssh keys. Once again pop open ~/.ssh/config, and now instead of workign with the Host * section, you can create sections for each class of server you access (or individual servers).  If you have multiple ssh keys that need to be used on multiple servers, you can avoid using -i and instead add a section for a class of server, and declare the ssh key inside of that via IdentityFile.  Example:</p>
<p><code>Host *.production.somedomain.com<br />
	IdentityFile ~/.ssh/id_rsa_production</code></p>
<p><code>Host *.staging.somedomain.com<br />
	IdentityFile ~/.ssh/id_rsa_staging</code></p>
<p>Now, whenever you ssh to any box in the staging subdomain, it will use the staging key, and when you ssh to any box in the production subdomain, it will use the production key.</p>
<p><strong>Keepalive</strong><br />
Some firewalls regularly snip idle connections.  If you regularly find ssh sessions that you have left idle for a while to be unresponsive when you come back to them you are suffering from this.  Not only is it irritating to lose your connection, but you may even find the whole terminal unresponsive, forcing you to close the terminal as well.  Well, ssh config has an answer for you for this as well.</p>
<p><code>Host *<br />
	ServerAliveInterval 15</code></p>
<p>ServerAliveInterval is normally off, but when you turn it on, ssh will start sending a packet every n seconds to try to keep the connection open.  Even better, now that it&#8217;s testing, if the connection truly did go away without being closed, SSH will automatically close the session if 3 of these keep alive packets go unresponded to. (you can set that to a different number by setting ServerAliveCountMax).  This means that even when connections get snipped, you won&#8217;t come back to find an unresponsive terminal.  Either the connection will be alive, or the connection will have closed, none of these unresponsive zombie connections.</p>
<p><strong>Defaulting your remote user</strong><br />
Few people are lucky enough to have the same username on all the servers they regularly visit.  Just as you can set the identity file on a per domain basis, you can also set username:</p>
<p><code>Host somedomain.com<br />
	User foo</code></p>
<p><code>Host someotherdimain.com<br />
	User bar</code></p>
<p>Now when you ssh to somedomain.com, unless you specify the username at the prompt (baz@somedomain.com) it will use foo.  This overrides the default of using your logged in username.</p>
<p><strong>Server aliases</strong><br />
Do you have a lot of domains you ssh to that you wish you had shorter names for?  Do you have some things that you ssh only to via IP address?  Both of these can be solved with the HostName directive.  For example, if your gateway accepts ssh traffic, and your internal domain doesn&#8217;t use dns, you can use ssh config to give in an alias for ssh.</p>
<p><code>Host router<br />
	HostName 192.168.1.1</code></p>
<p>Now it&#8217;s as simple as typing <code>ssh router</code> to get to the gateway.  This trick works with ip addresses or dns names.</p>
<p><strong>Executing remote commands with ssh</strong><br />
Sometimes you only need to get a small piece of information from a server, and don&#8217;t want to bother with a full ssh session.  Sometimes you may want to have a process that goes out to a server and runs a command as a part of a bigger script.  Either way, you can use ssh to run individual commands on other boxes, and get the results on stdout and stderr.  Give this a try:</p>
<p><code>devon@chronos ~ $ ssh evilsoft.org "uptime"<br />
 14:00:23 up  7:38,  1 user,  load average: 0.84, 0.34, 0.22<br />
</code></p>
<p><strong>Others</strong><br />
SSH is a powerful toolkit, and I have only scratched the surface of it&#8217;s possibilities.  Spend some time reading <code>man ssh_config</code> and you&#8217;ll be amazed at some of the incredibly cool stuff in there for you to find.<br />
* note, you only need one Host * section in your ssh config.  All the variables I am discussing can be consolidated into one Host * section.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.evilsoft.org/2009/10/23/stupid-ssh-config-tricks/feed</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>Runaway Train</title>
		<link>http://www.evilsoft.org/2009/07/13/106</link>
		<comments>http://www.evilsoft.org/2009/07/13/106#comments</comments>
		<pubDate>Mon, 13 Jul 2009 20:26:51 +0000</pubDate>
		<dc:creator><![CDATA[Administrator]]></dc:creator>
				<category><![CDATA[Coding]]></category>
		<category><![CDATA[RoR]]></category>
		<category><![CDATA[Sarcasm]]></category>

		<guid isPermaLink="false">http://www.evilsoft.org/?p=106</guid>
		<description><![CDATA[I got involved with a back and forth on twitter today about rails, and ultimately I realized that there was no way to give my full opinion of the problems facing the rails community in 140 byte snippets. I&#8217;m not saying my opinion is the end all be all, but I have lead probably half [&#8230;]]]></description>
				<content:encoded><![CDATA[<p><a href="http://www.imdb.com/title/tt0089941/"><img src="http://www.evilsoft.org/wordpress/wp-content/uploads/2009/07/runaway_train.jpg" alt="runaway_train" title="runaway_train" width="97" height="140" style="float:left; padding-right: 1em; border-style: None" /></a> I got involved with a back and forth on twitter today about rails, and ultimately I realized that there was no way to give my full opinion of the problems facing the rails community in 140 byte snippets.  I&#8217;m not saying my opinion is the end all be all, but I have lead probably half a dozen rails projects and I did speak at <a href="http://www.evilsoft.org/?p=78">RailsConf 2007</a>.</p>
<p>So here goes, my unvarnished opinion of the problems facing the rails community:</p>
<ol>
<li>The community</li>
<p>The community is the single most ego centric community I have ever seen in a decade and a half hanging around the greater free/open source movement.  Everyone remembers <a href="http://www.zedshaw.com/">Zed Shaw</a> ironically (but deservedly) ripping into the rails community for it&#8217;s overblown personalities. But numerous other examples abound.  How can I possibly view the authors of a monitoring framework with the name <strong>God</strong> (and a tagline &#8220;like monit only awesome&#8221;) as anything other then a people with enormously expanded and wholly unjustified egos?  How can I possibly take HAML seriously when the main <a href="http://hamptoncatlin.com/">dev</a>&#8216;s bio starts off with &#8220;Hampton Catlin is one of the best people in the world. Flat out.&#8221;  Seriously?  One has to know that this guy is going to give any production problem you have <em>very</em> serious attention&lt;/wry&gt; </p>
<li>Totally decentralized, egocentric documentation</li>
<p>No other way to say it, the rails community is obsessed with personal branding, not with being a helpful community. Is there any centralized site that has a good set of user commentable docs covering most extensions? Php has that, and it&#8217;s part of why it&#8217;s still a defensible choice for writing web apps despite its numerous other flaws.  The end result is that when you google for just about anything having to do with rails code, the first five items are all personal blogs</p>
<p>With rails, the community doesn&#8217;t build any sort of centralized corpus of knowledge, what they all do is write a blog entry about such and such technique, or how they fixed a problem.  The problem here is that nearly all of this knowledge is outdated, and impossible to tie to any one version of the application stack.  So instead we get <a href="http://www.rubyhead.com/">tons of blogs</a> with <a href="http://weblog.rubyonrails.org/">disjointed suggestions</a> that take you in the <a href="http://blog.jayfields.com/">wrong direction</a> whenever you google about an issue (sure, this solution worked in 2.1, but not in 2.0 or 2.3).  Too bad it&#8217;s in a blog without with the applicable version number instead of in a comment at the end of the documentation like <a href="http://www.php.net/manual/en/class.datetime.php">mysql</a> or <a href="http://www.php.net/manual/en/class.datetime.php">php</a>.</p>
<li>Excessive reliance on ORM</li>
<p>I&#8217;m sure you have all heard of the N+1 problem.  Sure, lots of devs will tell you that it&#8217;s simple to avoid, but based on all the teams I&#8217;ve evern worked on, all it takes is one lazy programmer and all of a sudden your templates are taking 7000+ queries to render.  It&#8217;s no wonder the rails community seems to think sql is slow.  Hint: the answer isn&#8217;t memcached, the reason your rails site is slow is because the sql it&#8217;s running is craptastic.  99.999% of rails sites could be vastly improved by just hiring one or two people who actually understand relational databases.  The part that I really just don&#8217;t get is that sql is much <em>easier</em> then coding, and RDBMS is not rocket science, but it&#8217;s treated like this big hideous bear that your developers have to hide from.</p>
<li>Pure ruby is the answer to everything</li>
<p>The community is utterly obsessed with pure ruby, and looks down on impure extensions that are wrappers around solid C libraries.  This results in a general race to the bottom for speed, stability and maturity.  The unix world is packed with easy to integrate, solid libraries.  Libxml-ruby is nearly two orders of magnitude faster then rexml, and has top notch compliance with the xml spec. Yet somehow rexml is the standard and libxml-ruby is the red headed step child.</p>
<li>Fragile ecosystem</li>
<p>Now, I&#8217;ll be the first to admit that the rails maintainers shout far and wide that rails isn&#8217;t enterprise ready, and it really truly is not.  Over and over I have gotten bitten by the myriad of flaws in the rails ecosystem.  Any one specific issue I&#8217;ve dealt with could have been fixed in version such and such of some gem (or it&#8217;s even worse with rails plugins.)  This complaint is not about specific flaws so much as the whole ecosystem feels like it&#8217;s standing on a very fragile foundation.  Some examples of the ways we have gotten bitten over the life of the multiple rails projects I have been involved with are:</p>
<ul>
<li>rexml violating the xml spec by totally ignoring the encoding of documents parsed by it.</li>
<li>gem silently failing (not returning the proper unix return code) and thus allowing some of our instance launches to blow up without a reasonable way to catch it.  (And as a note, when you have to automatically install large amounts of gems from rubyforge, it chokes a *lot*).</li>
<li>Innumerable gems regularly break api compatibility even in minor releases (I&#8217;m looking at you Rack).  When you add calls, you can&#8217;t just remove them between 0.9.2 and 0.9.3, it&#8217;s damn unprofessional.</li>
<li>i18n has been a real problem right from the beginning.</li>
<li><a href="http://code.google.com/p/phusion-passenger/issues/detail?id=199">Passenger&#8217;s ApplicationPool</a> choking and never coming back, forcing you to restart apache once a month</li>
<li>Constant movement from one webserver to another.  It&#8217;s damn frustrating to have to switch web servers every 3 months as the community hops from one the the next, as everything else gets filed in the community folder for utter crap.  At that point it becomes damn hard to find support for problems.  First it&#8217;s lighttpd, with mongrel, then thin, then nginx with thin and on and on.  Somehow people need to support this mess.  Apache works, is well supported, can be very lean, and basically every systems person on the planet knows how to work with it.  Hint: as a programmer, it&#8217;s not all about you.  Your applications need to be supportable; running away from standards for the sake of being different is dumb.</li>
</ul>
<p>And just to reiterate, some of these could be actually fixed, or hell, they may have always had a *way* to work right, but the default was broken, and caused project problems that never should have existed if the rails community could ever get around to implementing a spec as it is written.</p>
<li>Generates bad, bad habits in devs</li>
<ul>
<li>Creates a view of the world that implicit is good.  This goes all the way to the language itself and the silly fact that explicit returns use more processor power then implicit returns.</li>
<li>Creates a view of the world that clever is good.  Anyone who has maintained software for a few years should be able to tell you, clever is bad, very bad.</li>
<li>My personal least favorite, the technological abortion known as Single Table Inheritance.  Admittedly, even the community is now arguing for people to not use this.  STI is a wretched way to bind a database with an object model, it encourages sparse tables as well as overloading of tables.  Both of these things <em>will</em> bite you in the ass down the road.</li>
</ul>
<li>Convention magic</li>
<p>Magic is the core of rails, and seems to be one of it&#8217;s biggest selling points.  The problem is, there&#8217;s simply no place for magic in a world where people need to actually support your code. Explicit configuration and code is much more useful to operations folks who aren&#8217;t familiar with the codebase, framework, and language.  Even if you use your developers to support your app, when they rely on a bunch of clever magic it can make for longer outages while people have to figure out what implicit thing they are failing to take into account.</p>
<li>Rails hype will kill ruby</li>
<p>Ruby could be a decent language.  It has a lot of awesome things going for it.  In a few years it really will be ready for real heavy lifting.  At least that <em>was</em> ruby&#8217;s future.  Rails has taken over the show.  The Rails community <strong>is</strong> the ruby community, and it has not set ruby on a course to be a truly dependable language.  Instead as rails project after rails project fails in all sorts of business environments, it is creating a permanent bias against the language in the management staff that oversees projects in american business.  I&#8217;ve personally seen it in multiple companies, and expect to see it in most shops that are today fiddling with rails.
</ol>
]]></content:encoded>
			<wfw:commentRss>http://www.evilsoft.org/2009/07/13/106/feed</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>I&#8217;m published!</title>
		<link>http://www.evilsoft.org/2008/12/08/im-published</link>
		<comments>http://www.evilsoft.org/2008/12/08/im-published#comments</comments>
		<pubDate>Mon, 08 Dec 2008 23:18:26 +0000</pubDate>
		<dc:creator><![CDATA[Administrator]]></dc:creator>
				<category><![CDATA[Coding]]></category>

		<guid isPermaLink="false">http://www.evilsoft.org/?p=87</guid>
		<description><![CDATA[Last friday I was approached by Wazi to write an article about the release of Python 3. Go take a gander: Python takes a great step forward: Python 3]]></description>
				<content:encoded><![CDATA[<p>Last friday I was approached by <a href="http://olex.openlogic.com/wazi/">Wazi</a> to write an article about the release of Python 3.  Go take a gander: <a href="http://olex.openlogic.com/wazi/2008/python-takes-a-great-step-forward-python-3/">Python takes a great step forward: Python 3</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.evilsoft.org/2008/12/08/im-published/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Mapping Rails to Legacy Systems</title>
		<link>http://www.evilsoft.org/2007/06/16/mapping-rails-to-legacy-systems</link>
		<comments>http://www.evilsoft.org/2007/06/16/mapping-rails-to-legacy-systems#comments</comments>
		<pubDate>Sat, 16 Jun 2007 21:39:22 +0000</pubDate>
		<dc:creator><![CDATA[Administrator]]></dc:creator>
				<category><![CDATA[Coding]]></category>

		<guid isPermaLink="false">http://www.evilsoft.org/?p=78</guid>
		<description><![CDATA[Last month a bunch of us were sent by Vonage to RailsConf 2007. I did a talk (with my co-worker Stephen Becker) on working with legacy systems, and the approach we have been talking to using rails (and other technologies) to eat away at the problem (I&#8217;ve since nick named this approach the &#8220;Evaporative Model [&#8230;]]]></description>
				<content:encoded><![CDATA[<p>Last month a bunch of us were sent by Vonage to <a href="http://conferences.oreillynet.com/rails/">RailsConf 2007</a>.  I did a talk (with my co-worker Stephen Becker) on working with legacy systems, and the approach we have been talking to using rails (and other technologies) to eat away at the problem (I&#8217;ve since nick named this approach the &#8220;Evaporative Model of Legacy System Maintenance&#8221;).  I&#8217;ve had a couple people ask me for the presentation or a transcript, so I&#8217;m posting those here now.</p>
<p><a href="http://www.evilsoft.org/blogfiles/MappingLegacyToRails.pdf">Mapping Rails to Legacy Systems presentation PDF</a><br />
<a href="http://www.evilsoft.org/blogfiles/MappingLegacyToRailsTranscript.txt">Mapping Rails to Legacy Systems transcription TXT</a></p>
<p>At some point I&#8217;ll transform this into a proper paper if people are interested.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.evilsoft.org/2007/06/16/mapping-rails-to-legacy-systems/feed</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>CodeKata</title>
		<link>http://www.evilsoft.org/2005/12/20/codekata</link>
		<comments>http://www.evilsoft.org/2005/12/20/codekata#comments</comments>
		<pubDate>Tue, 20 Dec 2005 22:14:37 +0000</pubDate>
		<dc:creator><![CDATA[Administrator]]></dc:creator>
				<category><![CDATA[Coding]]></category>

		<guid isPermaLink="false">http://www.evilsoft.org/?p=56</guid>
		<description><![CDATA[CodeKata. Dave has nicely put in words a practice I have personally used (albeit with less rigor, he did say Kata after all) and nearly every Software Developer I know (who is worth a damn) has a similiar set of exercises they like to apply when learning a new language. He suggests many different problems [&#8230;]]]></description>
				<content:encoded><![CDATA[<p><a href="http://blogs.pragprog.com/cgi-bin/pragdave.cgi/Practices/Kata/">CodeKata</a>.<br />
Dave has nicely put in words a practice I have personally used (albeit with less rigor, he did say Kata after all) and nearly every Software Developer I know (who is worth a damn) has a similiar set of exercises they like to apply when learning a new language. </p>
<p>He suggests many different problems to practice software development with, here are his first three:</p>
<ul>
<p><a href="http://blogs.pragprog.com/cgi-bin/pragdave.cgi/Practices/Kata/KataOne.rdoc">Supermarket pricing</a>. Pricing looks easy, but scratch the surface and there are some interesting issues to consider.</p>
<p><a href="http://blogs.pragprog.com/cgi-bin/pragdave.cgi/Practices/Kata/KataTwo.rdoc">Karate Chop</a>. A binary chop algorithm is fairly boring. Until you have to implement it using five totally different techniques.</p>
<p><a href="http://blogs.pragprog.com/cgi-bin/pragdave.cgi/Practices/Kata/KataThree.rdoc">How Big, How Fast?</a> Quick estimation is invaluable when it comes to making design and implementation decisions. Here are some questions to make you turn over the envelope.</ul>
<p>As I am deep into learning Ruby I suspect this list is going to be spending a lot of time in Firefox. </p>
<p>Thanks Dave. </p>
]]></content:encoded>
			<wfw:commentRss>http://www.evilsoft.org/2005/12/20/codekata/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
