<?xml version="1.0" encoding="utf-8"?>
<rss xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title>Disqus - Latest Comments for drbrain</title><link>http://disqus.com/by/drbrain/</link><description></description><atom:link href="http://disqus.com/drbrain/comments.rss" rel="self"></atom:link><language>en</language><lastBuildDate>Fri, 02 May 2014 20:22:35 -0000</lastBuildDate><item><title>Re: The Travis CI Blog: Upcoming Build Environment Updates</title><link>http://blog.travis-ci.com/2014-04-28-upcoming-build-environment-updates/#comment-1367372177</link><description>&lt;p&gt;It seems that ruby 1.8.7 went missing around the time of this update.  A week ago I would get 1.8.7-p374 for "1.8.7", now I get REE which is very much not what I want (since REE is broken for running the rubygems tests).&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">drbrain</dc:creator><pubDate>Fri, 02 May 2014 20:22:35 -0000</pubDate></item><item><title>Re: Running Changed Tests</title><link>http://crashruby.com/2013/06/13/running-changed-tests/#comment-931175847</link><description>&lt;p&gt;Why not use autotest (part of ZenTest)?&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">drbrain</dc:creator><pubDate>Fri, 14 Jun 2013 18:48:36 -0000</pubDate></item><item><title>Re: 3.6.1. Rate Limits - OpenStack Compute Developer Guide  - API v2</title><link>http://docs.openstack.org/api/openstack-compute/1.1/content/Rate_Limits-d1e862.html#comment-890189283</link><description>&lt;p&gt;According to &lt;a href="https://github.com/openstack/nova/blob/master/nova/api/openstack/compute/limits.py" rel="nofollow noopener" target="_blank" title="https://github.com/openstack/nova/blob/master/nova/api/openstack/compute/limits.py"&gt;https://github.com/openstac...&lt;/a&gt; it seems this sentence is misleading. It implies (to me) that the rate limits are applied due to URL restrictions rather than time restrictions.&lt;/p&gt;&lt;p&gt;I think "Rate limits from matching verbs and URLs are combined and the most restrictive timing is used to determine the limit." is closer to the implementation.&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">drbrain</dc:creator><pubDate>Wed, 08 May 2013 21:02:19 -0000</pubDate></item><item><title>Re: 3.6.1. Rate Limits - OpenStack Compute Developer Guide  - API v2</title><link>http://docs.openstack.org/api/openstack-compute/1.1/content/Rate_Limits-d1e862.html#comment-890175910</link><description>&lt;p&gt;&amp;gt; Rate limits are applied in order relative to the verb, going from least to most specific.&lt;/p&gt;&lt;p&gt;What are the criteria are used to define specificity of a match? Without this information it is impossible to build a client that understands the rate limits without reading the API source code to create a matching implementation.&lt;/p&gt;&lt;p&gt;For example, if there is a POST limit with a regex of "/os-security-group" (without s) of 20 per minute and a POST limit with a regex of "/os-security-groups" (with s) of 10 per minute is 10 per minute or 20 per minute used for "POST /v2/tenant/os-security-group-rules HTTP/1.1"?&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">drbrain</dc:creator><pubDate>Wed, 08 May 2013 20:38:10 -0000</pubDate></item><item><title>Re: Unexpected Ruby behaviour - Sergey Potapov</title><link>http://greyblake.com/blog/2012/08/10/unexpected-ruby-behaviour/#comment-619474418</link><description>&lt;p&gt;In the ruby core and standard library it does not mean "pay attention!", it has a well-defined application.&lt;/p&gt;&lt;p&gt;Other libraries can do what they please with the !, but we're not looking at other libraries here.&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">drbrain</dc:creator><pubDate>Tue, 14 Aug 2012 18:21:05 -0000</pubDate></item><item><title>Re: Unexpected Ruby behaviour - Sergey Potapov</title><link>http://greyblake.com/blog/2012/08/10/unexpected-ruby-behaviour/#comment-618389672</link><description>&lt;p&gt;A method ending in a ! does not mean "modifies the receiver" it means "there is an alternate method that does not modify the receiver".&lt;/p&gt;&lt;p&gt;There are plenty of methods in the core libraries that modify the receiver that don't end in ! and the methods that do end in ! have a non-! counterpart.&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">drbrain</dc:creator><pubDate>Mon, 13 Aug 2012 16:59:52 -0000</pubDate></item><item><title>Re: Retry a block of Ruby code should it fail</title><link>http://jackchu.com/2012/02/09/retry-a-block-of-ruby-code-should-it-fail/#comment-451051279</link><description>&lt;p&gt;Why rm_rf instead of rm_r? Behavior difference notwithstanding, you can use the retry keyword with the latter without jumping through these extra hoops.&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">drbrain</dc:creator><pubDate>Fri, 10 Feb 2012 07:42:29 -0000</pubDate></item><item><title>Re: 10 poorly chosen Ruby gem names</title><link>http://unethicalblogger.com/2011/11/13/ten-poorly-chosen-gem-names.html#comment-433406708</link><description>&lt;p&gt;It's &lt;a href="http://en.wikipedia.org/wiki/Rake_(tool)" rel="nofollow noopener" target="_blank" title="http://en.wikipedia.org/wiki/Rake_(tool)"&gt;http://en.wikipedia.org/wik...&lt;/a&gt; not &lt;a href="http://en.wikipedia.org/wiki/Rake_(character)" rel="nofollow noopener" target="_blank" title="http://en.wikipedia.org/wiki/Rake_(character)"&gt;http://en.wikipedia.org/wik...&lt;/a&gt;&lt;/p&gt;&lt;p&gt;And it's &lt;a href="http://en.wikipedia.org/wiki/Hoe_(tool)" rel="nofollow noopener" target="_blank" title="http://en.wikipedia.org/wiki/Hoe_(tool)"&gt;http://en.wikipedia.org/wik...&lt;/a&gt; not &lt;a href="http://en.wikipedia.org/wiki/Whore" rel="nofollow noopener" target="_blank" title="http://en.wikipedia.org/wiki/Whore"&gt;http://en.wikipedia.org/wik...&lt;/a&gt;&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">drbrain</dc:creator><pubDate>Wed, 08 Feb 2012 18:31:05 -0000</pubDate></item><item><title>Re: Never create Ruby strings longer than 23 characters</title><link>https://patshaughnessy.net/2012/1/4/never-create-ruby-strings-longer-than-23-characters#comment-401698235</link><description>&lt;p&gt;The next pointer for struct _GtkTextLineSegment 136 creates a large memory penalty of at least 32 bytes per segment (I didn't track down all the union members) that ruby does not have through shared strings and now embedded strings.&lt;/p&gt;&lt;p&gt;Ruby decided that using less memory is more important even if you have to memcpy() every now and then.&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">drbrain</dc:creator><pubDate>Thu, 05 Jan 2012 17:18:29 -0000</pubDate></item><item><title>Re: Testing Doesn&amp;#8217;t Scale</title><link>http://blog.carbonfive.com/2011/09/19/testing-doesnt-scale/#comment-318475173</link><description>&lt;p&gt;In every app I've worked on I've found that it's not the testing that doesn't scale, it's the poor test implementation that doesn't scale.  Usually this involves ripping out mocks and similar strategies that were supposed to make testing faster but didn't when actually measured, and implementing strategies that used measurement to properly eliminate or avoid the slow parts.&lt;/p&gt;&lt;p&gt;There's no mention of measuring the speed of your tests in your post at all.  How do you know the problem is testing and not the way you're doing testing when you don't show that you've profiled your tests to determine the slow spots and fixed your tests appropriately?&lt;/p&gt;&lt;p&gt;For some benchmarks I'll put down rdoc with 1300 tests and 3000 assertions that run in 7s (acceptable at 200 tests/s).  RubyGems has 1000 tests and 3000 assertions that run in 60s (very slow at only 16 tests/s).  The last Rails app I worked on grew to serving one billion requests per week and the test suite ran in under 60 seconds (down from about two minutes with less coverage when I started).&lt;/p&gt;&lt;p&gt;Before I started working on any of these projects they had very few tests and the ability to make non-breaking changes in them was impossibly slow.  Now they have large tests suites and it's easy and fast, so I think you're doing something wrong.&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">drbrain</dc:creator><pubDate>Tue, 20 Sep 2011 17:09:02 -0000</pubDate></item><item><title>Re: Loading plugins with Rubygems</title><link>http://devblog.avdi.org/2011/08/10/loading-plugins-with-rubygems/#comment-282861391</link><description>&lt;p&gt;When writing plugins/pluggable gems I let the person deciding which plugins to use manage that through `gem install blorf-some_plugin` instead of `gem install blorf-some_plugin` plus require 'blorf-some_plugin'&lt;/p&gt;&lt;p&gt;Why have the user take the extra step?&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">drbrain</dc:creator><pubDate>Wed, 10 Aug 2011 18:20:29 -0000</pubDate></item><item><title>Re: Loading plugins with Rubygems</title><link>http://devblog.avdi.org/2011/08/10/loading-plugins-with-rubygems/#comment-282681431</link><description>&lt;p&gt;How do you determine which files to require in the first place?&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">drbrain</dc:creator><pubDate>Wed, 10 Aug 2011 16:13:24 -0000</pubDate></item><item><title>Re: Daniel Fischer's Blog - Upgrading from Snow Leopard to Lion</title><link>http://blog.danielfischer.com/2011/07/22/upgrading-from-snow-leopard-to-lion/#comment-261407546</link><description>&lt;p&gt;RubyGems already makes it easy to rebuild your gems, see `gem help pristine`.&lt;/p&gt;&lt;p&gt;There's no reason to install bundler to do this.&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">drbrain</dc:creator><pubDate>Fri, 22 Jul 2011 20:50:27 -0000</pubDate></item><item><title>Re: Daniel Fischer's Blog - Upgrading from Snow Leopard to Lion</title><link>http://blog.danielfischer.com/2011/07/22/upgrading-from-snow-leopard-to-lion/#comment-261407165</link><description>&lt;p&gt;RubyGems already makes rebuilding your gems easy, `gem pristine`.&lt;/p&gt;&lt;p&gt;No need to use bundler (or the bundle typo-fix gem).&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">drbrain</dc:creator><pubDate>Fri, 22 Jul 2011 20:49:37 -0000</pubDate></item><item><title>Re: Narf: A Ruby Micro Test Framework</title><link>http://ariejan.net/2011/02/11/narf-a-ruby-micro-test-framework/#comment-176301791</link><description>&lt;p&gt;The least you could have done was not reuse the name of another ruby project:&lt;/p&gt;&lt;p&gt;&lt;a href="http://raa.ruby-lang.org/project/narf/" rel="nofollow noopener" target="_blank" title="http://raa.ruby-lang.org/project/narf/"&gt;http://raa.ruby-lang.org/pr...&lt;/a&gt;&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">drbrain</dc:creator><pubDate>Fri, 01 Apr 2011 14:12:33 -0000</pubDate></item><item><title>Re: A Beginner Guide to Creating Class Macros</title><link>http://techie.lucaspr.im/creating-class-macros/#comment-174337068</link><description>&lt;p&gt;These aren't macros, ruby doesn't have macros.&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">drbrain</dc:creator><pubDate>Tue, 29 Mar 2011 16:27:29 -0000</pubDate></item><item><title>Re: Ruby Enterprise Edition 1.8.7-2011.03 released</title><link>https://old.blog.phusion.nl/2011/02/24/ruby-enterprise-edition-1-8-7-2011-03-released/#comment-692998402</link><description>&lt;p&gt;The last time 1.8.8 was brought up on the ruby-core mailing list the future of the 1.8 branch was undecided.  I felt there was a strong lean towards not releasing a 1.8.8 as 1.9.2 was a better target.  Has this changed but not been announced on the ruby-core mailing list?&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">drbrain</dc:creator><pubDate>Thu, 24 Feb 2011 21:35:35 -0000</pubDate></item><item><title>Re: Introducing Gem Testers</title><link>https://blog.engineyard.com/2011/introducing-gem-testers#comment-156801580</link><description>&lt;p&gt;With hoe 2.9 it's easy to opt-in to gem-testers, just upgrade and `rake release`.  There is no step three!&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">drbrain</dc:creator><pubDate>Wed, 02 Feb 2011 17:13:20 -0000</pubDate></item><item><title>Re: GE 'Energy Smart' 9W LED Lightbulb (Product Review)</title><link>http://www.treehugger.com/clean-technology/ge-energy-smart-9w-led-lightbulb-product-review.html#comment-137860175</link><description>&lt;p&gt;Are the bulbs dimmable?&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">drbrain</dc:creator><pubDate>Mon, 31 Jan 2011 17:49:35 -0000</pubDate></item><item><title>Re: Gem Development Best Practices</title><link>http://blog.carbonfive.com/2011/01/22/gem-development-best-practices/#comment-318474672</link><description>&lt;p&gt;No, don't set the date. RubyGems does this for you.&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">drbrain</dc:creator><pubDate>Tue, 25 Jan 2011 21:27:58 -0000</pubDate></item><item><title>Re: Francis Hwang: AOL HQ</title><link>http://fhwang.net/2010/11/24/AOL-HQ#comment-102084472</link><description>&lt;p&gt;AT&amp;amp;T Interactive is doing the same thing by allowing many of us to work on open source on company time.  Most prominently &lt;a href="http://tenderlovemaking.com" rel="nofollow noopener" target="_blank" title="http://tenderlovemaking.com"&gt;Aaron Patterson&lt;/a&gt; gets to work on Rails.&lt;/p&gt;&lt;p&gt;I'm glad some of Corporate America is intent on keeping themselves relevant to the tech community.&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">drbrain</dc:creator><pubDate>Wed, 24 Nov 2010 15:47:45 -0000</pubDate></item><item><title>Re: Francis Hwang: I hate these people.</title><link>http://fhwang.net/2010/07/26/I-hate-these-people#comment-64307334</link><description>&lt;p&gt;Since Peter and what's-his-name have opted for having large muscles I doubt Francis will have to run very far (or fast).  Excellent plan!&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">drbrain</dc:creator><pubDate>Mon, 26 Jul 2010 13:44:51 -0000</pubDate></item><item><title>Re: Francis Hwang: Meerkats &amp;amp; melons, together at least</title><link>http://fhwang.net/2010/07/08/Meerkats--melons-together-at-least#comment-61178707</link><description>&lt;p&gt;I guess I should go there more often, it's just a couple bus rides away.&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">drbrain</dc:creator><pubDate>Thu, 08 Jul 2010 17:54:15 -0000</pubDate></item><item><title>Re: Francis Hwang: On the backchannel, and civility</title><link>http://fhwang.net/2010/05/25/On-the-backchannel-and-civility#comment-52078153</link><description>&lt;p&gt;RubyKaigi did something very interesting... for lightning talks they had a separate display running that showed the backchannel and counted up the number of stars people gave for each talk.  The primary goal was to show the translations for the speakers, but introduced here I think it might cut down on meanness.&lt;/p&gt;&lt;p&gt;&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">drbrain</dc:creator><pubDate>Tue, 25 May 2010 20:47:55 -0000</pubDate></item><item><title>Re: Using p4merge with Git
 -
{ |one, step, back| }</title><link>http://onestepback.org/index.cgi/Tech/Git/UsingP4MergeWithGit.red#comment-16071666</link><description>&lt;p&gt;Looks like p4merge is only available for Windows.  On OS X there's FileMerge which is launched via opendiff.  cmd becomes:&lt;/p&gt;&lt;p&gt;/usr/bin/opendiff "$PWD/$BASE" "$PWD/$LOCAL" -ancestor "$PWD/$REMOTE" -merge "$PWD/$MERGED"&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">drbrain</dc:creator><pubDate>Sun, 06 Sep 2009 15:35:21 -0000</pubDate></item></channel></rss>