<?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 semanticart</title><link>http://disqus.com/by/semanticart/</link><description></description><atom:link href="http://disqus.com/semanticart/comments.rss" rel="self"></atom:link><language>en</language><lastBuildDate>Thu, 18 Jun 2015 22:41:29 -0000</lastBuildDate><item><title>Re: Phaser - News - i18n Game Content: Multilingual Audiosprites and Captions Workflow</title><link>http://phaser.io/news/2015/05/multilingual-audiosprites-tutorial#comment-2087197668</link><description>&lt;p&gt;Thanks for sharing this.&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Jeffrey Chupp</dc:creator><pubDate>Thu, 18 Jun 2015 22:41:29 -0000</pubDate></item><item><title>Re: A simple API proxy written in Go | semantic art</title><link>http://blog.semanticart.com/blog/2013/09/23/a-simple-api-proxy-written-in-go/#comment-1058563168</link><description>&lt;p&gt;Excellent, Keenan. I'd love to see what you're working on.&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Jeffrey Chupp</dc:creator><pubDate>Wed, 25 Sep 2013 10:13:04 -0000</pubDate></item><item><title>Re: Optional Observers With Rails 3 and RSpec</title><link>http://terriblelabs.github.com/blog/2012/07/11/optional-observers-with-rails-3-and-rspec/#comment-729209366</link><description>&lt;p&gt;Theon, that's a great point. I do keep observers on for acceptance testing. Your approach is a good example of how to accomplish this.  Similarly, if you're using turnip, unless example.metadata[:turnip] would work fine.&lt;/p&gt;&lt;p&gt;For people using Cucumber, that's probably running in its own environment anyway and I'd discourage disabling observers at all in that environment.&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Jeffrey Chupp</dc:creator><pubDate>Thu, 06 Dec 2012 09:24:15 -0000</pubDate></item><item><title>Re: How to extract an intention-revealing name using Vim</title><link>http://robots.thoughtbot.com/post/22258289125#comment-516857566</link><description>&lt;p&gt;I didn't realize ctrl-a was so useful.  I was familiar with the incrementing version of it, but this behavior isn't one I was aware of.  Thanks!&lt;br&gt;Because I use ctrl-a for tmux, I threw this in my vimrc to accomplish the same thing.&lt;/p&gt;&lt;p&gt;&lt;a href="https://gist.github.com/eea846fe36898a113613" rel="nofollow noopener" target="_blank" title="https://gist.github.com/eea846fe36898a113613"&gt;https://gist.github.com/eea...&lt;/a&gt;&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Jeffrey Chupp</dc:creator><pubDate>Wed, 02 May 2012 13:28:28 -0000</pubDate></item><item><title>Re: Sleep helper for your request tests</title><link>http://reefpoints.dockyard.com/ruby/2012/05/01/simple-sleeper-for-request-testing.html#comment-515358877</link><description>&lt;p&gt;I agree that there's value in doing true integration testing and this case makes some sense.  Ultimately I don't know the domain well enough to pontificate about what you should do, and I trust you when you say the business value is high enough to pay that tax every time.&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Jeffrey Chupp</dc:creator><pubDate>Tue, 01 May 2012 17:23:03 -0000</pubDate></item><item><title>Re: Sleep helper for your request tests</title><link>http://reefpoints.dockyard.com/ruby/2012/05/01/simple-sleeper-for-request-testing.html#comment-515292200</link><description>&lt;p&gt;I guess I don't get the usecase. If you're talking to an external service, shouldn't it be stubbed? If you're talking to a local service, isn't there a chance it'll return in less than 30 seconds?  And if so, wouldn't it be better to couple your sleep + print statements with an early return if some logic matches (i.e. some hybrid of wait_until and this method)?&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Jeffrey Chupp</dc:creator><pubDate>Tue, 01 May 2012 16:15:54 -0000</pubDate></item><item><title>Re: Sleep helper for your request tests</title><link>http://reefpoints.dockyard.com/ruby/2012/05/01/simple-sleeper-for-request-testing.html#comment-515247852</link><description>&lt;p&gt;I usually use wait_until to accomplish this. For instance, if I'm making an ajax call that ends up opening a modal:&lt;/p&gt;&lt;p&gt;    wait_until { page.has_css?('.modal') }&lt;/p&gt;&lt;p&gt;IIRC, you can change the default timeout via Capybara.default_wait_time&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Jeffrey Chupp</dc:creator><pubDate>Tue, 01 May 2012 15:23:00 -0000</pubDate></item><item><title>Re: Earbuds: The Silent Killer</title><link>http://bikesafeboston.com/post/13604942392#comment-377942019</link><description>&lt;p&gt;"if they wanna send me a pair" - ha.&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Jeffrey Chupp</dc:creator><pubDate>Fri, 02 Dec 2011 16:32:40 -0000</pubDate></item><item><title>Re: Episode #154: Dribbble with Swish</title><link>http://ruby5.envylabs.com/episodes/157/stories/1381.html#comment-164836381</link><description>&lt;p&gt;FWIW, the mentioned &lt;a href="http://liiikes.com" rel="nofollow noopener" target="_blank" title="http://liiikes.com"&gt;http://liiikes.com&lt;/a&gt; has been released on github:  &lt;a href="http://bit.ly/liiikes" rel="nofollow noopener" target="_blank" title="http://bit.ly/liiikes"&gt;http://bit.ly/liiikes&lt;/a&gt;&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Jeffrey Chupp</dc:creator><pubDate>Sat, 12 Mar 2011 16:43:10 -0000</pubDate></item><item><title>Re: A Tmux Crash Course</title><link>http://robots.thoughtbot.com/post/2641409235#comment-130692604</link><description>&lt;p&gt;that works great, thanks&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Jeffrey Chupp</dc:creator><pubDate>Tue, 18 Jan 2011 12:45:55 -0000</pubDate></item><item><title>Re: A Tmux Crash Course</title><link>http://robots.thoughtbot.com/post/2641409235#comment-130658809</link><description>&lt;p&gt;Is there an easy way to start tmux with the 75%/25% split?&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Jeffrey Chupp</dc:creator><pubDate>Tue, 18 Jan 2011 11:53:29 -0000</pubDate></item><item><title>Re: semantic art - ruby - Killing is_paranoid</title><link>http://blog.semanticart.com/killing_is_paranoid/#comment-44676647</link><description>&lt;p&gt;It has been too long to say with certainty but I'm pretty sure that with_scope doesn't cancel out the default_scope.  YMMV.&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Jeffrey Chupp</dc:creator><pubDate>Tue, 13 Apr 2010 21:19:18 -0000</pubDate></item><item><title>Re: semantic art - ruby - Killing is_paranoid</title><link>http://blog.semanticart.com/killing_is_paranoid/#comment-32550041</link><description>&lt;p&gt;Thanks, Matt.  I sincerely appreciate it.  And I definitely appreciated your help on the library.&lt;/p&gt;&lt;p&gt;The idea may not be flawed but I think it would almost have to be done as a native feature of the ORM to be maintainable long-term.&lt;/p&gt;&lt;p&gt;I'll be interested to see where default_scope goes in Rails 3. &lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Jeffrey Chupp</dc:creator><pubDate>Wed, 03 Feb 2010 19:54:22 -0000</pubDate></item><item><title>Re: Burger King Selling a Windows 7 Whopper in Japan. 7 BURGERS.</title><link>http://thenextweb.com/shareables/2009/10/22/burger-king-selling-windows-7-whopper-japan-7-burgers/#comment-30165148</link><description>&lt;p&gt;yeah, and the cannibals love Windows ME.&lt;/p&gt;&lt;p&gt;ok, I'm done&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Jeffrey Chupp</dc:creator><pubDate>Thu, 22 Oct 2009 11:48:23 -0000</pubDate></item><item><title>Re: Burger King Selling a Windows 7 Whopper in Japan. 7 BURGERS.</title><link>http://thenextweb.com/shareables/2009/10/22/burger-king-selling-windows-7-whopper-japan-7-burgers/#comment-30165146</link><description>&lt;p&gt;windows 2000 must have been huge there.&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Jeffrey Chupp</dc:creator><pubDate>Thu, 22 Oct 2009 11:47:23 -0000</pubDate></item><item><title>Re: CodeRack: Rack::Roll</title><link>http://coderack.org/users/ctcherry/entries/43-rackroll#comment-20194460</link><description>&lt;p&gt;prior implementation, fwiw:  &lt;a href="http://github.com/semanticart/rack-roll" rel="nofollow noopener" target="_blank" title="http://github.com/semanticart/rack-roll"&gt;http://github.com/semantica...&lt;/a&gt;&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Jeffrey Chupp</dc:creator><pubDate>Fri, 16 Oct 2009 09:44:01 -0000</pubDate></item><item><title>Re: semantic art - ruby - Killing is_paranoid</title><link>http://blog.semanticart.com/killing_is_paranoid/#comment-20068551</link><description>&lt;p&gt;And I'll likely still use it on non-critical internal projects.  It just isn't worth supporting it for every use-case out there since I don't get any direct RIO from working on it.  And while the hacker was educational, I hate having to keep punching AR until it quacks like everyone wants.  :)&lt;br&gt;&lt;br&gt;It certainly is possible to work around them, its just more hassle than it is worth to me.&lt;br&gt;&lt;br&gt;Best of luck, and thanks.&lt;br&gt;&lt;br&gt;Oh, and if you do come up with something you find satisfying, let me know and I'll gladly redirect people to it.&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Jeffrey Chupp</dc:creator><pubDate>Wed, 14 Oct 2009 16:19:23 -0000</pubDate></item><item><title>Re: semantic art - ruby - Comparing Thinking Sphinx And Acts As Ferret For Full-text Indexing In Rails</title><link>http://97.107.135.182/comparing_thinking_sphinx_and_acts_as_ferret_for_full-text_indexing_in_rails/#comment-17376442</link><description>&lt;p&gt;avsej, that would fall under the "The Level of Interaction with Rails" section:  TS has no idea about your permissions unless you explicitly specify them as conditions.&lt;/p&gt;&lt;p&gt;Obviously, you could index the fields that relate to permissions and then specify those as conditions in your TS search...  But YMMV depending on how complicated your permissions setup is.&lt;/p&gt;&lt;p&gt;(aslo, this got posted to a page that was IP-address based due to bad config in my new nginx setup, so this comment isn't persisting to the proper page.  I didn't delete it or anything, though.  sorry)&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Jeffrey Chupp</dc:creator><pubDate>Fri, 25 Sep 2009 10:31:32 -0000</pubDate></item><item><title>Re: jdclayton.com &amp;raquo; Using Multiple default_scopes on an ActiveRecord Model</title><link>http://joshuaclayton.github.com/code/default_scope/activerecord/is_paranoid/multiple-default-scopes.html#comment-9954393</link><description>&lt;p&gt;This is a good solution.  I've been looking at adding similar functionality natively to is_paranoid, but I'm never 100% satisfied with the solution I come up with.  I'll keep this in mind as I keep searching, but if you want to fork &amp;amp; patch the repo, this might be a good start.&lt;/p&gt;&lt;p&gt;One thing to keep in mind is that is_paranoid leverages with_exclusive_scope in a few places (xxx_with_destroyed, xxx_destroyed_only, delete_all, and restore, specifically), so the additional default_scope options won't apply there.  If you're just using :order, though, that shouldn't really matter.&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Jeffrey Chupp</dc:creator><pubDate>Tue, 26 May 2009 11:10:13 -0000</pubDate></item><item><title>Re: semantic art - ruby - Using default_scope to recreate acts_as_paranoid</title><link>http://blog.semanticart.com/using_default_scope_to_recreate_acts_as_paranoid#comment-9192580</link><description>&lt;p&gt;Jason,&lt;/p&gt;&lt;p&gt;Thanks for your post!  It finally motivated me to install postgres and test is_paranoid with it.  Unfortunately, I can't replicate the problem you're describing.  Can you post up a gist ( &lt;a href="http://gist.github.com/" rel="nofollow noopener" target="_blank" title="http://gist.github.com/"&gt;http://gist.github.com/&lt;/a&gt; )  with the exact code necessary to produce the error (including the model involved)?  I'd really appreciate the help.&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Jeffrey Chupp</dc:creator><pubDate>Sun, 10 May 2009 20:23:18 -0000</pubDate></item><item><title>Re: semantic art - ruby - Comparing Thinking Sphinx And Acts As Ferret For Full-text Indexing In Rails</title><link>http://blog.semanticart.com/comparing_thinking_sphinx_and_acts_as_ferret_for_full-text_indexing_in_rails#comment-9136047</link><description>&lt;p&gt;Thanks, Pierre.  I'm glad to know that someone else benefits from it!&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Jeffrey Chupp</dc:creator><pubDate>Fri, 08 May 2009 14:47:16 -0000</pubDate></item><item><title>Re: semantic art - ruby - Using default_scope to recreate acts_as_paranoid</title><link>http://blog.semanticart.com/using_default_scope_to_recreate_acts_as_paranoid#comment-8191513</link><description>&lt;p&gt;To confirm:  This was a problem with the specific gem version you are using and upgrading resolved it?&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Jeffrey Chupp</dc:creator><pubDate>Tue, 14 Apr 2009 09:16:44 -0000</pubDate></item><item><title>Re: semantic art - ruby - Using default_scope to recreate acts_as_paranoid</title><link>http://blog.semanticart.com/using_default_scope_to_recreate_acts_as_paranoid#comment-8112952</link><description>&lt;p&gt;what version of AR are you using?  I can't seem to replicate this.  Can you write a test that shows the success of the first post and failure of the is_paranoid post?&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Jeffrey Chupp</dc:creator><pubDate>Mon, 13 Apr 2009 09:14:39 -0000</pubDate></item><item><title>Re: semantic art - ruby - Using default_scope to recreate acts_as_paranoid</title><link>http://blog.semanticart.com/using_default_scope_to_recreate_acts_as_paranoid#comment-8112853</link><description>&lt;p&gt;Thanks!  I'll look into this soon&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Jeffrey Chupp</dc:creator><pubDate>Mon, 13 Apr 2009 09:07:58 -0000</pubDate></item><item><title>Re: semantic art - ruby - Using default_scope to recreate acts_as_paranoid</title><link>http://blog.semanticart.com/using_default_scope_to_recreate_acts_as_paranoid#comment-7615953</link><description>&lt;p&gt;Just found an easier way to do this that makes me feel silly for not thinking about it before now.  just specify a scope on the vu like so:&lt;/p&gt;&lt;p&gt;class Android &amp;lt; ActiveRecord::Base&lt;br&gt;  validates_uniqueness_of :name, :scope =&amp;gt; :deleted_at&lt;br&gt;  is_paranoid&lt;br&gt;end&lt;/p&gt;&lt;p&gt;should work fine&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Jeffrey Chupp</dc:creator><pubDate>Sun, 29 Mar 2009 16:37:21 -0000</pubDate></item></channel></rss>