<?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>Paul Goscicki</title>
	<atom:link href="http://paulgoscicki.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://paulgoscicki.com</link>
	<description>Random pieces of code, thoughts and movie reviews</description>
	<lastBuildDate>Wed, 09 May 2012 14:34:59 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>Heroku memory quota killing machine</title>
		<link>http://paulgoscicki.com/archives/2012/04/heroku-memory-quota-killing-machine/</link>
		<comments>http://paulgoscicki.com/archives/2012/04/heroku-memory-quota-killing-machine/#comments</comments>
		<pubDate>Wed, 04 Apr 2012 17:44:08 +0000</pubDate>
		<dc:creator>Paul Goscicki</dc:creator>
				<category><![CDATA[heroku]]></category>
		<category><![CDATA[hosting]]></category>

		<guid isPermaLink="false">http://paulgoscicki.com/?p=419</guid>
		<description><![CDATA[When I was migrating a suite of Exvo apps to Heroku&#8216;s Cedar stack I&#8217;ve noticed a very strange behaviour. For two apps during first &#8220;run&#8221; the main process spun out of control, trying to consume way too much memory. After doing a manual restart everything went back to normal and the problem was basically gone [...]]]></description>
			<content:encoded><![CDATA[<p>When I was migrating a suite of <a href="http://www.exvo.com/">Exvo</a> apps to <a href="http://heroku.com/">Heroku</a>&#8216;s <a href="http://devcenter.heroku.com/articles/cedar">Cedar stack</a> I&#8217;ve noticed a very strange behaviour. For two apps during first &#8220;run&#8221; the main process spun out of control, trying to consume way too much memory. After doing a manual restart everything went back to normal and the problem was basically gone (we haven&#8217;t seen it reoccuring).</p>
<p>Here is the log of such an out of control worker:</p>
<pre class="code">
2012-04-02T11:52:32+00:00 heroku[worker.1]: Process running mem=550M(107.5%)
2012-04-02T11:52:32+00:00 heroku[worker.1]: Error R14 (Memory quota exceeded)
2012-04-02T11:52:52+00:00 heroku[worker.1]: Process running mem=811M(158.5%)
2012-04-02T11:52:52+00:00 heroku[worker.1]: Error R14 (Memory quota exceeded)
2012-04-02T11:53:12+00:00 heroku[worker.1]: Process running mem=858M(167.7%)
2012-04-02T11:53:12+00:00 heroku[worker.1]: Error R14 (Memory quota exceeded)
2012-04-02T11:53:32+00:00 heroku[worker.1]: Process running mem=1099M(214.8%)
2012-04-02T11:53:32+00:00 heroku[worker.1]: Error R14 (Memory quota exceeded)
2012-04-02T11:53:52+00:00 heroku[worker.1]: Process running mem=1539M(300.6%)
2012-04-02T11:53:52+00:00 heroku[worker.1]: Error R14 (Memory quota exceeded)
2012-04-02T11:54:12+00:00 heroku[worker.1]: Process running mem=1580M(308.7%)
2012-04-02T11:54:12+00:00 heroku[worker.1]: Error R14 (Memory quota exceeded)
2012-04-02T11:54:32+00:00 heroku[worker.1]: Process running mem=1709M(333.8%)
2012-04-02T11:54:32+00:00 heroku[worker.1]: Error R14 (Memory quota exceeded)
2012-04-02T11:54:53+00:00 heroku[worker.1]: Process running mem=2115M(413.1%)
2012-04-02T11:54:53+00:00 heroku[worker.1]: Error R14 (Memory quota exceeded)
2012-04-02T11:55:13+00:00 heroku[worker.1]: Process running mem=2301M(449.6%)
2012-04-02T11:55:13+00:00 heroku[worker.1]: Error R14 (Memory quota exceeded)
2012-04-02T11:55:33+00:00 heroku[worker.1]: Process running mem=2302M(449.6%)
2012-04-02T11:55:33+00:00 heroku[worker.1]: Error R14 (Memory quota exceeded)
2012-04-02T11:55:53+00:00 heroku[worker.1]: Process running mem=2747M(536.6%)
2012-04-02T11:55:53+00:00 heroku[worker.1]: Error R15 (Memory quota vastly exceeded)
2012-04-02T11:55:53+00:00 heroku[worker.1]: Stopping process with SIGKILL
2012-04-02T11:55:54+00:00 heroku[worker.1]: Process exited with status 137
</pre>
<p>This is just a worker, but I&#8217;ve observed the same for web processes as well. Be aware that as soon as your application starts serving <code>R14</code>/<code>R15</code> errors it stops processing any new requests (they simply time out).</p>
<p>Previously: <a href="/archives/2011/11/introduction-to-heroku-h12-timeouts/">Introduction to Heroku H12 timeouts</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://paulgoscicki.com/archives/2012/04/heroku-memory-quota-killing-machine/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Uninitialized constant Gem::Deprecate</title>
		<link>http://paulgoscicki.com/archives/2012/04/uninitialized-constant-gemdeprecate/</link>
		<comments>http://paulgoscicki.com/archives/2012/04/uninitialized-constant-gemdeprecate/#comments</comments>
		<pubDate>Mon, 02 Apr 2012 16:17:12 +0000</pubDate>
		<dc:creator>Paul Goscicki</dc:creator>
				<category><![CDATA[programming]]></category>
		<category><![CDATA[rails]]></category>
		<category><![CDATA[ruby]]></category>

		<guid isPermaLink="false">http://paulgoscicki.com/?p=405</guid>
		<description><![CDATA[If you run into this problem, which by the way usually happens after upgrading the rubygems package (in my case it was to version 1.8.21), your best bet is to upgrade the gem from the backtrace of this error. In my case it was the old passenger version 3.0.9, which was causing this problem. Upgrading [...]]]></description>
			<content:encoded><![CDATA[<p>If you run into this problem, which by the way usually happens after upgrading the rubygems package (in my case it was to version <code>1.8.21</code>), your best bet is to upgrade the gem from the backtrace of this error. In my case it was the old <a href="http://www.modrails.com/">passenger</a> version <code>3.0.9</code>, which was causing this problem. Upgrading to <code>3.0.11</code> solved it.</p>
]]></content:encoded>
			<wfw:commentRss>http://paulgoscicki.com/archives/2012/04/uninitialized-constant-gemdeprecate/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Compromised</title>
		<link>http://paulgoscicki.com/archives/2012/03/compromised/</link>
		<comments>http://paulgoscicki.com/archives/2012/03/compromised/#comments</comments>
		<pubDate>Sat, 03 Mar 2012 18:20:44 +0000</pubDate>
		<dc:creator>Paul Goscicki</dc:creator>
				<category><![CDATA[wordpress]]></category>

		<guid isPermaLink="false">http://paulgoscicki.com/?p=407</guid>
		<description><![CDATA[This blog has been. But no more! Now restored from the dead (i.e. fresh installation and customization of the Kubrick template). It seems that running and outdated WordPress installation is not a very bright idea. Who would have thought? Oh WordPress and PHP&#8230; how much I loathe thee!]]></description>
			<content:encoded><![CDATA[<p>This blog has been. But no more! Now restored from the dead (i.e. fresh installation and customization of the Kubrick template).</p>
<p>It seems that running and outdated WordPress installation is not a very bright idea. Who would have thought?</p>
<blockquote><p>
Oh WordPress and PHP&#8230;<br />
how much I loathe thee!
</p></blockquote>
]]></content:encoded>
			<wfw:commentRss>http://paulgoscicki.com/archives/2012/03/compromised/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Introduction to Heroku H12 timeouts</title>
		<link>http://paulgoscicki.com/archives/2011/11/introduction-to-heroku-h12-timeouts/</link>
		<comments>http://paulgoscicki.com/archives/2011/11/introduction-to-heroku-h12-timeouts/#comments</comments>
		<pubDate>Tue, 15 Nov 2011 18:45:12 +0000</pubDate>
		<dc:creator>Paul Goscicki</dc:creator>
				<category><![CDATA[heroku]]></category>
		<category><![CDATA[hosting]]></category>

		<guid isPermaLink="false">http://paulgoscicki.com/?p=393</guid>
		<description><![CDATA[At Exvo we were experiencing problems while trying to send an email to all of our 150K+ users. This lead to a careful investigation of what is exactly happening during this process. So we setup our loggers (heroku logs -t &#124; tee output.log), run heroku consoles, increased to 20 dynos and 10 workers and begun [...]]]></description>
			<content:encoded><![CDATA[<p>At <a href="http://www.exvo.com/">Exvo</a> we were experiencing problems while trying to send an email to all of our 150K+ users. This lead to a careful investigation of what is exactly happening during this process. So we setup our loggers (<code>heroku logs -t | tee output.log</code>), run heroku consoles, increased to 20 dynos and 10 workers and begun the sending process.</p>
<p>It all started with a POST request to send those emails:</p>
<pre class="code">
app[web.10]: Started POST ...
</pre>
<p>Which timed out and there was no:</p>
<pre class="code">
app[web.10]: Completed 200 OK ...
</pre>
<p>or similar log entry later on, just silence.</p>
<p>This is Heroku&#8217;s <a href="http://devcenter.heroku.com/articles/request-timeout">killing machine</a> in action. It silently kills every process, which runs for longer than 30 seconds (we&#8217;re using the Bamboo stack). This is more or less how Heroku deals with long running requests. I don&#8217;t blame them for this behavior, even though I very much dislike it. But I digress.</p>
<p>When Heroku kills such process it does so in a very nice way, i.e. it lets it <strong>finish its business</strong> first. In other words the process will continue in the background and after finishing it will just die/stop/restart. Our email collecting job (selecting 150K users from the database&#8230;) run uninterrupted for over 40 minutes. So this is the good part.</p>
<p>The bad part is that when this killed process is still running in the background the dyno which it was connected to will stop serving new requests until this process finally dies, but Heroku will <strong>keep sending new requests</strong> to it! This is observed by the infamous H12 timeouts:</p>
<pre class="code">
heroku[router]: Error H12 (Request timeout) -> GET auth.exvo.com/users/sign_in dyno=web.10 queue= wait= service=30000ms status=503 bytes=0
</pre>
<p>Also notice the 503 error code (<code>Unavailable</code>), which is returned by the Heroku router.</p>
<p>So this is really bad as all sorts of different/random web requests will just keep failing without you knowing what&#8217;s going on.</p>
<p>So while I greatly appreciate that Heroku lets such processes still run in the background, I really don&#8217;t like that it still keeps sending traffic their way.</p>
<p><strong>PS</strong>: Yes, sending emails should be done as a background action by the Heroku workers. I know. But it&#8217;s not. Yet.</p>
]]></content:encoded>
			<wfw:commentRss>http://paulgoscicki.com/archives/2011/11/introduction-to-heroku-h12-timeouts/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>11/11/11</title>
		<link>http://paulgoscicki.com/archives/2011/11/111111/</link>
		<comments>http://paulgoscicki.com/archives/2011/11/111111/#comments</comments>
		<pubDate>Fri, 11 Nov 2011 17:16:43 +0000</pubDate>
		<dc:creator>Paul Goscicki</dc:creator>
				<category><![CDATA[uncategorized]]></category>

		<guid isPermaLink="false">http://paulgoscicki.com/?p=390</guid>
		<description><![CDATA[Aka the &#8220;mandatory&#8221; 11/11/11 post. Nothing else here, move along.]]></description>
			<content:encoded><![CDATA[<p>Aka the &#8220;mandatory&#8221; 11/11/11 post.</p>
<p>Nothing else here, move along.</p>
]]></content:encoded>
			<wfw:commentRss>http://paulgoscicki.com/archives/2011/11/111111/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Ruby 1.9.2 via rvm installation woes</title>
		<link>http://paulgoscicki.com/archives/2011/11/ruby-1-9-2-via-rvm-installation-woes/</link>
		<comments>http://paulgoscicki.com/archives/2011/11/ruby-1-9-2-via-rvm-installation-woes/#comments</comments>
		<pubDate>Tue, 08 Nov 2011 14:29:42 +0000</pubDate>
		<dc:creator>Paul Goscicki</dc:creator>
				<category><![CDATA[uncategorized]]></category>

		<guid isPermaLink="false">http://paulgoscicki.com/?p=385</guid>
		<description><![CDATA[I&#8217;ve just had to upgrade Ruby to 1.9.2 (from 1.8.7) on the EC2 instance, but ran into a weird error while running rvm install 1.9.2: Compiling yaml in /home/ubuntu/.rvm/src/yaml-0.1.4. ERROR: Error running 'make ', please read /home/ubuntu/.rvm/log/ruby-1.9.2-p290/yaml/make.log Installing yaml to /home/ubuntu/.rvm/usr ERROR: Error running 'make install', please read /home/ubuntu/.rvm/log/ruby-1.9.2-p290/yaml/make.install.log and in the log: src/Makefile.am:2: Libtool [...]]]></description>
			<content:encoded><![CDATA[<p>I&#8217;ve just had to upgrade Ruby to 1.9.2 (from 1.8.7) on the EC2 instance, but ran into a weird error while running <code>rvm install 1.9.2</code>:</p>
<pre class="code">
Compiling yaml in /home/ubuntu/.rvm/src/yaml-0.1.4.
ERROR: Error running 'make ', please read /home/ubuntu/.rvm/log/ruby-1.9.2-p290/yaml/make.log
Installing yaml to /home/ubuntu/.rvm/usr
ERROR: Error running 'make install', please read /home/ubuntu/.rvm/log/ruby-1.9.2-p290/yaml/make.install.log
</pre>
<p>and in the log:</p>
<pre class="code">
src/Makefile.am:2: Libtool library used but `LIBTOOL' is undefined
src/Makefile.am:2:   The usual way to define `LIBTOOL' is to add `AC_PROG_LIBTOOL'
src/Makefile.am:2:   to `configure.ac' and run `aclocal' and `autoconf' again.
src/Makefile.am:2:   If `AC_PROG_LIBTOOL' is in `configure.ac', make sure
src/Makefile.am:2:   its definition is in aclocal's search path.
</pre>
<p>Fortunately the solution was rather simple, although Google was not really that helpful this time, hence this post:</p>
<pre class="code">
sudo aptitude install libtool
</pre>
<p>Basically the <code>libtool</code> library was not installed.</p>
]]></content:encoded>
			<wfw:commentRss>http://paulgoscicki.com/archives/2011/11/ruby-1-9-2-via-rvm-installation-woes/feed/</wfw:commentRss>
		<slash:comments>9</slash:comments>
		</item>
		<item>
		<title>In Ruby &#8216;?&#8217; binds stronger than &#8216;or&#8217;</title>
		<link>http://paulgoscicki.com/archives/2011/10/in-ruby-binds-stronger-than-or/</link>
		<comments>http://paulgoscicki.com/archives/2011/10/in-ruby-binds-stronger-than-or/#comments</comments>
		<pubDate>Thu, 13 Oct 2011 09:09:52 +0000</pubDate>
		<dc:creator>Paul Goscicki</dc:creator>
				<category><![CDATA[programming]]></category>
		<category><![CDATA[ruby]]></category>

		<guid isPermaLink="false">http://paulgoscicki.com/?p=377</guid>
		<description><![CDATA[Found it the hard way. Improper/misleading: true or true ? "yes" : "no" => true the above is basically the same as this: true or (true ? "yes" : "no") => true The proper way: true &#124;&#124; true ? "yes" : "no" => "yes"]]></description>
			<content:encoded><![CDATA[<p>Found it the <strong>hard</strong> way.</p>
<p>Improper/misleading:</p>
<pre class="code">
true or true ? "yes" : "no"
=> true
</pre>
<p>the above is basically the same as this:</p>
<pre class="code">
true or (true ? "yes" : "no")
=> true
</pre>
<p>The <strong>proper</strong> way:</p>
<pre class="code">
true || true ? "yes" : "no"
=> "yes"
</pre>
]]></content:encoded>
			<wfw:commentRss>http://paulgoscicki.com/archives/2011/10/in-ruby-binds-stronger-than-or/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Tell bundler to install gems globally when using capistrano</title>
		<link>http://paulgoscicki.com/archives/2011/10/tell-bundler-to-install-gems-globally-when-using-capistrano/</link>
		<comments>http://paulgoscicki.com/archives/2011/10/tell-bundler-to-install-gems-globally-when-using-capistrano/#comments</comments>
		<pubDate>Sat, 08 Oct 2011 18:00:51 +0000</pubDate>
		<dc:creator>Paul Goscicki</dc:creator>
				<category><![CDATA[programming]]></category>
		<category><![CDATA[rails]]></category>
		<category><![CDATA[ruby]]></category>

		<guid isPermaLink="false">http://paulgoscicki.com/?p=372</guid>
		<description><![CDATA[Seems like it&#8217;s not so straightforward. Here&#8217;s the excerpt from my config/deploy.rb: require "bundler/capistrano" set :bundle_dir, "" # install into "system" gems set :bundle_flags, "--quiet" # no verbose output set :bundle_without, [] # bundle all gems (even dev &#038; test) Maybe someone finds it helpful.]]></description>
			<content:encoded><![CDATA[<p>Seems like it&#8217;s not so straightforward. Here&#8217;s the excerpt from my <code>config/deploy.rb</code>:</p>
<pre class="code">
require "bundler/capistrano"
set :bundle_dir,     ""         # install into "system" gems
set :bundle_flags,   "--quiet"  # no verbose output
set :bundle_without, []         # bundle all gems (even dev &#038; test)
</pre>
<p>Maybe someone finds it helpful.</p>
]]></content:encoded>
			<wfw:commentRss>http://paulgoscicki.com/archives/2011/10/tell-bundler-to-install-gems-globally-when-using-capistrano/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Painful ruby 1.9.2-p180 to 1.9.2-p290 upgrade</title>
		<link>http://paulgoscicki.com/archives/2011/10/painful-ruby-1-9-2-p180-to-1-9-2-p290-upgrade/</link>
		<comments>http://paulgoscicki.com/archives/2011/10/painful-ruby-1-9-2-p180-to-1-9-2-p290-upgrade/#comments</comments>
		<pubDate>Sat, 08 Oct 2011 17:05:19 +0000</pubDate>
		<dc:creator>Paul Goscicki</dc:creator>
				<category><![CDATA[programming]]></category>
		<category><![CDATA[ruby]]></category>

		<guid isPermaLink="false">http://paulgoscicki.com/?p=366</guid>
		<description><![CDATA[I did the recommended upgrade of my current p180 to the new p290 using rvm: $ rvm upgrade ruby-1.9.2-p180 ruby-1.9.2-p290 First annoyance &#8211; moving gems from one gemset to the new one took over 40 minutes. Have really no idea why. But after it was done, whenever I tried to run &#8216;gem&#8217; or &#8216;rake&#8217; or [...]]]></description>
			<content:encoded><![CDATA[<p>I did the recommended upgrade of my current p180 to the new p290 using rvm:</p>
<pre class="code">
$ rvm upgrade ruby-1.9.2-p180 ruby-1.9.2-p290
</pre>
<p>First annoyance &#8211; moving gems from one gemset to the new one took over 40 minutes. Have really no idea why.</p>
<p>But after it was done, whenever I tried to run &#8216;gem&#8217; or &#8216;rake&#8217; or &#8216;bundle&#8217; I got:</p>
<pre class="code">
Invalid gemspec in [/home/jkl/.rvm/gems/ruby-1.9.2-p290/specifications/guard-0.8.1.gemspec]: invalid date format in specification: "2011-09-29
00:00:00.000000000Z"
Invalid gemspec in [/home/jkl/.rvm/gems/ruby-1.9.2-p290/specifications/json-1.6.1.gemspec]: invalid date format in specification: "2011-09-18 0
0:00:00.000000000Z"
Invalid gemspec in [/home/jkl/.rvm/gems/ruby-1.9.2-p290/specifications/heroku-2.8.4.gemspec]: invalid date format in specification: "2011-09-23
 00:00:00.000000000Z"
Invalid gemspec in [/home/jkl/.rvm/gems/ruby-1.9.2-p290/specifications/guard-0.8.4.gemspec]: invalid date format in specification: "2011-10-03
00:00:00.000000000Z"
Invalid gemspec in [/home/jkl/.rvm/gems/ruby-1.9.2-p290/specifications/multi_xml-0.4.0.gemspec]: invalid date format in specification: "2011-09
-06 00:00:00.000000000Z"
Invalid gemspec in [/home/jkl/.rvm/gems/ruby-1.9.2-p290/specifications/heroku-2.8.1.gemspec]: invalid date format in specification: "2011-09-21
 00:00:00.000000000Z"
Invalid gemspec in [/home/jkl/.rvm/gems/ruby-1.9.2-p290/specifications/metrical-0.0.7.gemspec]: invalid date format in specification: "2011-09-
11 00:00:00.000000000Z"
...
and so on...
</pre>
<p>The above is another manifestation of the YAML engine switch from Syck to Psych and all of the incompatibilities it has brought. The problem is that now you have to reinstall all of your gems, because all installed gems have wrong gemspec specification. D&#8217;oh.</p>
<p>I fixed it by running:</p>
<pre class="code">
$ rvm gemset empty
</pre>
<p>And then bundling in each project&#8230;</p>
<pre class="code">
$ bundle
</pre>
<p>Some <a href="https://github.com/rubygems/rubygems/pull/57">more</a> <a href="http://stackoverflow.com/questions/7379385/invalid-gemspec-in-and-illformed-requirement-whenever-i-create-a-new-project">reading</a> <a href="http://stackoverflow.com/questions/7379385/invalid-gemspec-in-and-illformed-requirement-whenever-i-create-a-new-project">material</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://paulgoscicki.com/archives/2011/10/painful-ruby-1-9-2-p180-to-1-9-2-p290-upgrade/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Bug of the day</title>
		<link>http://paulgoscicki.com/archives/2011/09/bug-of-the-day/</link>
		<comments>http://paulgoscicki.com/archives/2011/09/bug-of-the-day/#comments</comments>
		<pubDate>Wed, 28 Sep 2011 16:52:40 +0000</pubDate>
		<dc:creator>Paul Goscicki</dc:creator>
				<category><![CDATA[programming]]></category>
		<category><![CDATA[rails]]></category>
		<category><![CDATA[ruby]]></category>

		<guid isPermaLink="false">http://paulgoscicki.com/?p=360</guid>
		<description><![CDATA[Completely bad code follows, beware. Silent error in Ruby 1.8.7: x = [:a, :b] => [:a, :b] x.slice!(:a) => nil x => [:a, :b] Explicit error (resulting in a failing test) in Ruby 1.9.2: x = [:a, :b] => [:a, :b] x.slice!(:a) TypeError: can't convert Symbol into Integer Just yet another incompatibility, but for the [...]]]></description>
			<content:encoded><![CDATA[<p>Completely <strong>bad code</strong> follows, beware.</p>
<p>Silent error in Ruby 1.8.7:</p>
<pre class="code">
x = [:a, :b]
=> [:a, :b]

x.slice!(:a)
=> nil

x
=> [:a, :b]
</pre>
<p>Explicit error (resulting in a failing test) in Ruby 1.9.2:</p>
<pre class="code">
x = [:a, :b]
=> [:a, :b]

x.slice!(:a)
TypeError: can't convert Symbol into Integer
</pre>
<p>Just yet another incompatibility, but for the better!</p>
]]></content:encoded>
			<wfw:commentRss>http://paulgoscicki.com/archives/2011/09/bug-of-the-day/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

