<?xml version="1.0" encoding="utf-8"?>
<rss xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title>chris.heald.me - Latest Comments</title><link>http://coffeepowered.disqus.com/</link><description></description><atom:link href="https://coffeepowered.disqus.com/comments.rss" rel="self"></atom:link><language>en</language><lastBuildDate>Mon, 01 Aug 2016 09:46:54 -0000</lastBuildDate><item><title>Re: Mass inserting data in Rails without killing your performance</title><link>http://https://chris.heald.me/2009/01/23/mass-inserting-data-in-rails-without-killing-your-performance/#comment-2814921810</link><description>&lt;p&gt;Great post man. Outstanding.&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Matt McInnis</dc:creator><pubDate>Mon, 01 Aug 2016 09:46:54 -0000</pubDate></item><item><title>Re: Mass inserting data in Rails without killing your performance</title><link>http://https://chris.heald.me/2009/01/23/mass-inserting-data-in-rails-without-killing-your-performance/#comment-2755541890</link><description>&lt;p&gt;Cool! Thanks!&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">SunnyDay</dc:creator><pubDate>Tue, 28 Jun 2016 16:30:35 -0000</pubDate></item><item><title>Re: FlexAuth: Portable authentication for Battle.net</title><link>http://https://chris.heald.me/2010/06/10/flexauth-portable-authentication-for-battle-net/#comment-2639870707</link><description>&lt;p&gt;Question? Are you still developing this software? I upgraded my android phone and can't see the options button anymore to add more tokens?&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Russell Anderson</dc:creator><pubDate>Sun, 24 Apr 2016 04:54:17 -0000</pubDate></item><item><title>Re: Mass inserting data in Rails without killing your performance</title><link>http://https://chris.heald.me/2009/01/23/mass-inserting-data-in-rails-without-killing-your-performance/#comment-2634565286</link><description>&lt;p&gt;Wrap it all in a transaction. Since you can't do nested transactions, rails will simply ignore any transactions that occur while already in a transaction.&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Shelvacu</dc:creator><pubDate>Wed, 20 Apr 2016 20:51:48 -0000</pubDate></item><item><title>Re: How to sign your Ruby gems</title><link>http://https://chris.heald.me/2013/01/31/how-to-sign-your-ruby-gems/#comment-2506563356</link><description>&lt;p&gt;Link to the official 'how-to guide' is dead; at this time you should use: &lt;a href="http://guides.rubygems.org/security/" rel="nofollow noopener" target="_blank" title="http://guides.rubygems.org/security/"&gt;http://guides.rubygems.org/...&lt;/a&gt;&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Stephen Benner</dc:creator><pubDate>Wed, 10 Feb 2016 13:03:37 -0000</pubDate></item><item><title>Re: Mass inserting data in Rails without killing your performance</title><link>http://https://chris.heald.me/2009/01/23/mass-inserting-data-in-rails-without-killing-your-performance/#comment-2485785040</link><description>&lt;p&gt;Thank you, man! it helps!&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Dmitryck MPreobrazhenskiy</dc:creator><pubDate>Fri, 29 Jan 2016 18:47:50 -0000</pubDate></item><item><title>Re: Sexy CSS Scrollbars in Chrome</title><link>http://https://chris.heald.me/2011/06/17/sexy-css-scrollbars/#comment-2384326463</link><description>&lt;p&gt;To adjust the width (on horizontal bars, adjust the height instead)&lt;br&gt;you need to select the entire scroll bar with&lt;/p&gt;&lt;p&gt;::-webkit-scrollbar {&lt;br&gt;height: 10px;&lt;br&gt;}&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Martin Olsen</dc:creator><pubDate>Sun, 29 Nov 2015 15:35:51 -0000</pubDate></item><item><title>Re: Graceful degredation: Using Gravatar as a fallback avatar with Paperclip</title><link>http://https://chris.heald.me/2009/02/15/graceful-degredation-using-gravatar-as-a-fallback-avatar-with-paperclip/#comment-2382149413</link><description>&lt;p&gt;Is there a repo where I can submit a PR to clean this up? I'm happy to help.&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Dan Rabinowitz</dc:creator><pubDate>Fri, 27 Nov 2015 23:32:37 -0000</pubDate></item><item><title>Re: Mass inserting data in Rails without killing your performance</title><link>http://https://chris.heald.me/2009/01/23/mass-inserting-data-in-rails-without-killing-your-performance/#comment-2352507561</link><description>&lt;p&gt;Thank you! =D&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">candidosales</dc:creator><pubDate>Tue, 10 Nov 2015 16:49:56 -0000</pubDate></item><item><title>Re: Instrumenting Rails applications with ruby-prof</title><link>http://https://chris.heald.me/2013/08/02/ruby-prof-for-rails/#comment-2304620220</link><description>&lt;p&gt;Please check my gem for benchmarking ruby methods&lt;br&gt;&lt;a href="https://github.com/igorkasyanchuk/benchmark_methods" rel="nofollow noopener" target="_blank" title="https://github.com/igorkasyanchuk/benchmark_methods"&gt;https://github.com/igorkasy...&lt;/a&gt;&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">igorkasyanchuk</dc:creator><pubDate>Tue, 13 Oct 2015 04:32:53 -0000</pubDate></item><item><title>Re: FlexAuth: Portable authentication for Battle.net</title><link>http://https://chris.heald.me/2010/06/10/flexauth-portable-authentication-for-battle-net/#comment-2293799980</link><description>&lt;p&gt;Does this work for games like star wars the old republic?&lt;br&gt;&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Fuck_You_Trolls</dc:creator><pubDate>Tue, 06 Oct 2015 19:36:55 -0000</pubDate></item><item><title>Re: FlexAuth: Portable authentication for Battle.net</title><link>http://https://chris.heald.me/2010/06/10/flexauth-portable-authentication-for-battle-net/#comment-2223396378</link><description>&lt;p&gt;I recently replaced my phone, and I can no longer resync nor create new US tokens.&lt;/p&gt;&lt;p&gt;resync while connected to wifi causes the app to crash&lt;br&gt;generating a us token while connected to wifi gives the error: "Couldn't establish a network connection. Please try again later."&lt;br&gt;generating a us token while on the cellular network causes the app to crash.&lt;/p&gt;&lt;p&gt;This makes the app borderline useless, which is a shame because I really appreciate want to keep the ability to have multiple authenticators on my phone.&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Doug Young</dc:creator><pubDate>Fri, 28 Aug 2015 13:48:00 -0000</pubDate></item><item><title>Re: Mass inserting data in Rails without killing your performance</title><link>http://https://chris.heald.me/2009/01/23/mass-inserting-data-in-rails-without-killing-your-performance/#comment-2011144340</link><description>&lt;p&gt;Just a bit of info. The single insert command is great but it does not work with postgres. Postgres does have its own ways of doing mass inserts, but that is not one of them (sadly).&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">upokeimeno</dc:creator><pubDate>Thu, 07 May 2015 09:02:52 -0000</pubDate></item><item><title>Re: Solving error n8156-6003 when trying to play Netflix Watch Instantly content.</title><link>http://https://chris.heald.me/2010/09/18/solving-error-n8156-6003-when-trying-to-play-netflix-watch-instantly-content/#comment-1988713975</link><description>&lt;p&gt;muchas gracias&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">gala</dc:creator><pubDate>Sun, 26 Apr 2015 14:58:28 -0000</pubDate></item><item><title>Re: Setting up replica sets with MongoDB 1.6</title><link>http://https://chris.heald.me/2010/08/06/setting-up-replica-sets-with-mongodb-1-6/#comment-1941419115</link><description>&lt;p&gt;i have problem "errmsg: exception need most members up to reconfigure. not ok : mongodb2:27017".&lt;br&gt;could any one please help me out solving this problem&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Neni Suryani</dc:creator><pubDate>Thu, 02 Apr 2015 03:57:28 -0000</pubDate></item><item><title>Re: Solving error n8156-6003 when trying to play Netflix Watch Instantly content.</title><link>http://https://chris.heald.me/2010/09/18/solving-error-n8156-6003-when-trying-to-play-netflix-watch-instantly-content/#comment-1921558050</link><description>&lt;p&gt;you rock&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Mahoma Iza Villalba</dc:creator><pubDate>Sun, 22 Mar 2015 08:09:01 -0000</pubDate></item><item><title>Re: Mass inserting data in Rails without killing your performance</title><link>http://https://chris.heald.me/2009/01/23/mass-inserting-data-in-rails-without-killing-your-performance/#comment-1908072163</link><description>&lt;p&gt;非常感谢&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Calvin</dc:creator><pubDate>Sun, 15 Mar 2015 07:07:15 -0000</pubDate></item><item><title>Re: Solving error n8156-6003 when trying to play Netflix Watch Instantly content.</title><link>http://https://chris.heald.me/2010/09/18/solving-error-n8156-6003-when-trying-to-play-netflix-watch-instantly-content/#comment-1879508387</link><description>&lt;p&gt;THANKS! Stupid Amazon had same problem. None of their suggested solutions worth a darn!!  THANKS.&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Marc Kaplan</dc:creator><pubDate>Fri, 27 Feb 2015 17:50:15 -0000</pubDate></item><item><title>Re: Mass inserting data in Rails without killing your performance</title><link>http://https://chris.heald.me/2009/01/23/mass-inserting-data-in-rails-without-killing-your-performance/#comment-1817880602</link><description>&lt;p&gt;6 years later. Still actual. Thank you!&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">SpooNesT</dc:creator><pubDate>Mon, 26 Jan 2015 12:08:57 -0000</pubDate></item><item><title>Re: Mass inserting data in Rails without killing your performance</title><link>http://https://chris.heald.me/2009/01/23/mass-inserting-data-in-rails-without-killing-your-performance/#comment-1740546718</link><description>&lt;p&gt;I hit a snag with option 3, where I ended up building a query that was too large for mysql to handle. To get around that, I edited the my.cnf file to max out the max_allowed_packet value:&lt;/p&gt;&lt;p&gt;max_allowed_packet = 1GB&lt;/p&gt;&lt;p&gt;I'm not aware of any reason this could be a bad thing, and it saves me the trouble of rewriting the code that builds the inserts (e.g. automatically generating a new insert call every X records).&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">James Chevalier</dc:creator><pubDate>Sat, 13 Dec 2014 14:06:50 -0000</pubDate></item><item><title>Re: Graceful degredation: Using Gravatar as a fallback avatar with Paperclip</title><link>http://https://chris.heald.me/2009/02/15/graceful-degredation-using-gravatar-as-a-fallback-avatar-with-paperclip/#comment-1739137733</link><description>&lt;p&gt;+1&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">jlippiner</dc:creator><pubDate>Fri, 12 Dec 2014 13:09:26 -0000</pubDate></item><item><title>Re: faster_pathname: Making Sprockets faster</title><link>http://https://chris.heald.me/2014/02/09/faster-pathname/#comment-1737204017</link><description>&lt;p&gt;As far as I know, Sprockets hasn't been updated to significantly reduce Pathname usage. But, I'm still mostly on Rails 3, so you might check it out for yourself.&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Chris Heald</dc:creator><pubDate>Thu, 11 Dec 2014 13:15:04 -0000</pubDate></item><item><title>Re: faster_pathname: Making Sprockets faster</title><link>http://https://chris.heald.me/2014/02/09/faster-pathname/#comment-1736957761</link><description>&lt;p&gt;Is this still relevant after the release of Rails 4? Or has Sprockets been updated?&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">wheeyls</dc:creator><pubDate>Thu, 11 Dec 2014 11:21:57 -0000</pubDate></item><item><title>Re: Mass inserting data in Rails without killing your performance</title><link>http://https://chris.heald.me/2009/01/23/mass-inserting-data-in-rails-without-killing-your-performance/#comment-1733047733</link><description>&lt;p&gt;Great post! very well written and very helpful. Thanks!&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Neha Mehta Iyer</dc:creator><pubDate>Tue, 09 Dec 2014 06:58:42 -0000</pubDate></item><item><title>Re: Mass inserting data in Rails without killing your performance</title><link>http://https://chris.heald.me/2009/01/23/mass-inserting-data-in-rails-without-killing-your-performance/#comment-1725293501</link><description>&lt;p&gt;Was just reading this article and tried mass insert method. Also compared with dumping my data to a CSV file and inserting it into mysql with a 'load data local infile', which is about 1.25 times faster that the SQL statement. I was working with a 54k row set with about 20 columns&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Thierry Deo</dc:creator><pubDate>Thu, 04 Dec 2014 07:59:49 -0000</pubDate></item></channel></rss>