<?xml version="1.0" encoding="utf-8"?>
<rss xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title>A blog about nothing - Latest Comments</title><link xmlns="http://www.w3.org/2005/Atom" rel="http://api.friendfeed.com/2008/03#sup" href="http://disqus.com/sup/all.sup#forumcomments-5555444b" type="application/json"/><link>http://richwklein.disqus.com/</link><description></description><atom:link href="http://richwklein.disqus.com/comments.rss" rel="self"></atom:link><language>en</language><lastBuildDate>Mon, 03 Jan 2011 18:08:38 -0000</lastBuildDate><item><title>Re: New Year&amp;#8217;s Resolutions</title><link>http://richwklein.com/2011/01/03/new-years-resolutions/#comment-123641362</link><description>&lt;p&gt;Richard, your goals fit all the criteria for goals: attainable, measurable and with definite timelines ... and they will make you a healthier, happier person. Good luck. Go for it!&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">fullern</dc:creator><pubDate>Mon, 03 Jan 2011 18:08:38 -0000</pubDate></item><item><title>Re: IE is Being Mean to Me</title><link>http://richwklein.com/2010/03/26/ie-is-being-mean-to-me/#comment-41774893</link><description>&lt;p&gt;And just like that--Jonathan Coulton sparks an industry. :-)&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">tdrapeau</dc:creator><pubDate>Fri, 26 Mar 2010 12:24:10 -0000</pubDate></item><item><title>Re: The Hidden Cost of Home Entertainment</title><link>http://richwklein.com/2010/01/25/the-hidden-cost-of-home-entertainment/#comment-33440014</link><description>&lt;p&gt;For just a few dollars more, you can get an Apple Airport Express - it provides an Ethernet jack that connects to your WiFi, plus you can use it to network speakers or a printer. (That's what we did to get our Tivo online.)&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Christopher Finke</dc:creator><pubDate>Mon, 25 Jan 2010 13:37:27 -0000</pubDate></item><item><title>Re: The Price of Unrealistic Expectations</title><link>http://richwklein.com/2010/01/20/the-price-of-unrealistic-expectations/#comment-33440010</link><description>&lt;p&gt;Indeed Rich, and fair point about discouraging young marriage, considering that kids in their teens and early 20's can smell arbitrary parenting from a mile away, and will often rebel against it. :-)&lt;/p&gt;

&lt;p&gt;And being a proud father myself, I concur, naps are worth their weight in gold.&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Tom Drapeau</dc:creator><pubDate>Thu, 21 Jan 2010 11:13:40 -0000</pubDate></item><item><title>Re: The Price of Unrealistic Expectations</title><link>http://richwklein.com/2010/01/20/the-price-of-unrealistic-expectations/#comment-33440008</link><description>&lt;p&gt;Depending on the study between 60% and 70% of divorces are initiated by the women in the relationship.  Most of these studies that I've seen do include other reasons for women filing besides dissatisfaction including custody issues.&lt;/p&gt;

&lt;p&gt;While I agree that parents of teen kids should encourage dating with different people, I do disagree slightly with discouraging 20 somethings from marrying.  While the 20s are a huge growth time for most people.  I see that as an opportunity for people to grow up together and become closer.&lt;/p&gt;

&lt;p&gt;I do really think parent involvement is crucial here.  They really need to help set expectations about relationships and marriage.  They should really take the time to discuss things like romance novels and shows like bridezilla or my super sweet sixteen.  How the behaviors in these shows are not appropriate and should not be expected from an actual working relationship.  Look at any standard romantic comendy.  If any guy behaved like in one of these movies he would end up in jail for stalking and most guys would not behave like that in the first place.&lt;/p&gt;

&lt;p&gt;I also think that women should really understand that a man can show his love and appreciating for his wife without a big romantic act.  It might be as simple as watching the kids so she can take a nap.&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Rich</dc:creator><pubDate>Thu, 21 Jan 2010 10:56:50 -0000</pubDate></item><item><title>Re: The Price of Unrealistic Expectations</title><link>http://richwklein.com/2010/01/20/the-price-of-unrealistic-expectations/#comment-33440007</link><description>&lt;p&gt;This is going on with a lot of my classmates back home. &lt;br&gt;So weird.&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Blaine</dc:creator><pubDate>Wed, 20 Jan 2010 23:14:12 -0000</pubDate></item><item><title>Re: The Price of Unrealistic Expectations</title><link>http://richwklein.com/2010/01/20/the-price-of-unrealistic-expectations/#comment-33440006</link><description>&lt;p&gt;Yeah, the 7 year itch. I've seen it myself, and I've seen it both ways. Not sure how much to read into the 2/3 figure, I was married once at 22 after living with her for 3 years, divorced with cause at 27, and now am tremendously happy after meeting my sweetheart at 30 and now married at 34. People tend to get married in their early to mid 20's, but a lot changes about a person in their 20's.&lt;/p&gt;

&lt;p&gt;I think parents should be encouraging their H.S. age kids to go on dates with different people so they can experience different viewpoints on life and thus better figure out what they want. Some time studying abroad is great too, different cultures view relationships differently. Finally, I think parents should discourage their 21 year old kids from jumping into marriage. Courtship is a beautiful time that shouldn't be rushed.&lt;/p&gt;

&lt;p&gt;My $0.02 anyway. :-)&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Tom Drapeau</dc:creator><pubDate>Wed, 20 Jan 2010 19:22:43 -0000</pubDate></item><item><title>Re: FAIL:  libIDL on Mac OS X 10.6 (Snow Leopard)</title><link>http://richwklein.com/2009/10/27/fail-libidl-on-mac-os-x-10-6-snow-leopard/#comment-33439812</link><description>&lt;p&gt;It looks like plus signs are being stripped in your blog comments. The necessary command is:&lt;/p&gt;

&lt;p&gt;    sudo port install libIDL {PLUSSIGN}universal&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Trent Mick</dc:creator><pubDate>Tue, 12 Jan 2010 18:55:59 -0000</pubDate></item><item><title>Re: FAIL:  libIDL on Mac OS X 10.6 (Snow Leopard)</title><link>http://richwklein.com/2009/10/27/fail-libidl-on-mac-os-x-10-6-snow-leopard/#comment-33439811</link><description>&lt;p&gt;I believe that should be:&lt;/p&gt;

&lt;p&gt;    sudo port install libIDL  universal&lt;/p&gt;

&lt;p&gt;I.e. that " " is necessary. As per &lt;a href="http://trac.macports.org/wiki/FAQ#universal" rel="nofollow"&gt;http://trac.macports.org/wiki/...&lt;/a&gt;&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Trent Mick</dc:creator><pubDate>Tue, 12 Jan 2010 18:53:30 -0000</pubDate></item><item><title>Re: Caching Parsed Django Templates</title><link>http://richwklein.com/2009/12/01/caching-parsed-django-templates/#comment-33439881</link><description>&lt;p&gt;There is a ticket for getting this functionality into core django.  &lt;a href="http://code.djangoproject.com/ticket/6262" rel="nofollow"&gt;http://code.djangoproject.com/...&lt;/a&gt;&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Rich</dc:creator><pubDate>Tue, 01 Dec 2009 13:40:43 -0000</pubDate></item><item><title>Re: Caching Parsed Django Templates</title><link>http://richwklein.com/2009/12/01/caching-parsed-django-templates/#comment-33439880</link><description>&lt;p&gt;Sure, if you wanted to get fancy we could store the template in memcache or do a hash check like you suggest, but this is just a simple solution.  It's not something really robust.&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Rich</dc:creator><pubDate>Tue, 01 Dec 2009 13:30:16 -0000</pubDate></item><item><title>Re: Caching Parsed Django Templates</title><link>http://richwklein.com/2009/12/01/caching-parsed-django-templates/#comment-33439879</link><description>&lt;p&gt;No hot deploy capability in Django? Tsk tsk. How about storing the md5 of the file along with the cached contents, and checking the md5 of the file when it is requested, before pulling it out of the cache?&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Tom Drapeau</dc:creator><pubDate>Tue, 01 Dec 2009 12:49:35 -0000</pubDate></item><item><title>Re: FAIL:  libIDL on Mac OS X 10.6 (Snow Leopard)</title><link>http://richwklein.com/2009/10/27/fail-libidl-on-mac-os-x-10-6-snow-leopard/#comment-33439810</link><description>&lt;p&gt;Thank you! This saved me a lot of time!&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">hideaki</dc:creator><pubDate>Wed, 04 Nov 2009 06:34:44 -0000</pubDate></item><item><title>Re: FAIL:  libIDL on Mac OS X 10.6 (Snow Leopard)</title><link>http://richwklein.com/2009/10/27/fail-libidl-on-mac-os-x-10-6-snow-leopard/#comment-33439808</link><description>&lt;p&gt;I've solved this myself.&lt;/p&gt;

&lt;p&gt;I ran:&lt;br&gt;sudo port -f uninstall installed&lt;br&gt;sudo port install libIDL  universal&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Rich</dc:creator><pubDate>Tue, 27 Oct 2009 17:06:47 -0000</pubDate></item><item><title>Re: Komodo Edit Add-ons</title><link>http://richwklein.com/2008/03/26/komodo-edit-add-ons/#comment-33428354</link><description>&lt;p&gt;Why should I buy it, when I can get all the functionality and more from eclipse.  I've gone back to using it anyway because of the mylyn integration.&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Rich</dc:creator><pubDate>Sun, 27 Sep 2009 14:18:36 -0000</pubDate></item><item><title>Re: Komodo Edit Add-ons</title><link>http://richwklein.com/2008/03/26/komodo-edit-add-ons/#comment-33428350</link><description>&lt;p&gt;If you want svn, buy the Komodo IDE. Jesus, it's 200$, do you think the Komodo guys live on water only ? They have to eat also. I earn 500$ a month and i bought it, because of respect for them.&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Radu</dc:creator><pubDate>Sun, 27 Sep 2009 11:32:37 -0000</pubDate></item><item><title>Re: Improving Django Cache &amp;#8211; Part III</title><link>http://richwklein.com/2009/08/11/improving-django-cache-part-iii/#comment-33439561</link><description>&lt;p&gt;You are beating me to the punch.  My next post in the series is on creating a cache decorator.  :)&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Rich</dc:creator><pubDate>Thu, 13 Aug 2009 17:06:19 -0000</pubDate></item><item><title>Re: Improving Django Cache &amp;#8211; Part III</title><link>http://richwklein.com/2009/08/11/improving-django-cache-part-iii/#comment-33439560</link><description>&lt;p&gt;And here's that code snippet with formatting:&lt;br&gt;&lt;a href="http://pylonshq.com/pasties/abfff860550a3cb508d5dd817d502070" rel="nofollow"&gt;http://pylonshq.com/pasties/ab...&lt;/a&gt;&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Ben Bangert</dc:creator><pubDate>Thu, 13 Aug 2009 16:20:08 -0000</pubDate></item><item><title>Re: Improving Django Cache &amp;#8211; Part III</title><link>http://richwklein.com/2009/08/11/improving-django-cache-part-iii/#comment-33439559</link><description>&lt;p&gt;Hmm, not sure it'd be ideal to put in there. What would probably work best is to make a Django middleware, that add's a cache instance to the request object.&lt;/p&gt;

&lt;p&gt;That way inside a Django function, you could do something like:&lt;/p&gt;

&lt;p&gt;def myview(request):&lt;br&gt;    @request.cache.cache('my_search_func', expire=3600)&lt;br&gt;    def get_results(search_param):&lt;br&gt;        # do something to retrieve data&lt;br&gt;        data = get_data(search_param)&lt;br&gt;        return data&lt;br&gt;    results = get_results('demo')&lt;br&gt;    return Response(results)&lt;/p&gt;

&lt;p&gt;This way you could use the nice decorator API:&lt;br&gt;&lt;a href="http://beaker.groovie.org/caching.html#decorator-api" rel="nofollow"&gt;http://beaker.groovie.org/cach...&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;You'd also hopefully be able to pass the appropriate beaker configuration options to the middleware then as well, since Beaker supports several different back-ends (even simultaneously), so that you could change which backend is used on a per-cache basis as appropriate.&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Ben Bangert</dc:creator><pubDate>Thu, 13 Aug 2009 16:18:58 -0000</pubDate></item><item><title>Re: Improving Django Cache &amp;#8211; Part III</title><link>http://richwklein.com/2009/08/11/improving-django-cache-part-iii/#comment-33439558</link><description>&lt;p&gt;I'm just taking a looking at your source code.  Pretty nice, it would be interesting if you could add a wrapper so it could be used as a custom Django cache backend.&lt;/p&gt;

&lt;p&gt;&lt;a href="http://docs.djangoproject.com/en/dev/topics/cache/" rel="nofollow"&gt;http://docs.djangoproject.com/...&lt;/a&gt;&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Rich</dc:creator><pubDate>Thu, 13 Aug 2009 14:46:32 -0000</pubDate></item><item><title>Re: Improving Django Cache &amp;#8211; Part III</title><link>http://richwklein.com/2009/08/11/improving-django-cache-part-iii/#comment-33439557</link><description>&lt;p&gt;Or you could just setup and use Beaker's caching system in Django:&lt;br&gt;&lt;a href="http://beaker.groovie.org/" rel="nofollow"&gt;http://beaker.groovie.org/&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Fast, performs great, oh, and it actually prevents the dog-pile effect which kills most of the hodge-podge caching stuff. It also handles the messy locking to prevent multiple processes on the same machine from all re-creating the cached value at once, and its been used in large production systems for quite a long while now.&lt;/p&gt;

&lt;p&gt;I'd be happy to include some stuff to make it easier to use from Django if someone cares to submit some patches. :)&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Ben Bangert</dc:creator><pubDate>Thu, 13 Aug 2009 14:31:16 -0000</pubDate></item><item><title>Re: Tweets for 2009-07-17</title><link>http://richwklein.com/2009/07/17/tweets-for-2009-07-17/#comment-33438076</link><description>&lt;p&gt;I've always had plans to update it, but never enough time.  Now that Mozilla is allowing &lt;a href="http://blog.mozilla.com/addons/2009/05/11/a-peek-at-our-contributions-pilot/" rel="nofollow"&gt;contributions&lt;/a&gt; to extensions, I think I'll try to make the time.&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Rich</dc:creator><pubDate>Sat, 18 Jul 2009 08:05:41 -0000</pubDate></item><item><title>Re: Tweets for 2009-07-17</title><link>http://richwklein.com/2009/07/17/tweets-for-2009-07-17/#comment-33438073</link><description>&lt;p&gt;Hi Richard,&lt;/p&gt;

&lt;p&gt;Is there any chance that you'll be updating the Location Navigator&lt;br&gt;extension to work with Firefox 3.5? I tried emailing but your mail server rejected the email.&lt;/p&gt;

&lt;p&gt;Matt&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Jason Anderson</dc:creator><pubDate>Fri, 17 Jul 2009 21:24:57 -0000</pubDate></item><item><title>Re: Event Delegation with JQuery</title><link>http://richwklein.com/2009/07/01/event-delegation-with-jquery/#comment-33436522</link><description>&lt;p&gt;I haven't posted anything that couldn't be found by doing a view source on a page ;)&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Rich</dc:creator><pubDate>Thu, 02 Jul 2009 10:23:40 -0000</pubDate></item><item><title>Re: Event Delegation with JQuery</title><link>http://richwklein.com/2009/07/01/event-delegation-with-jquery/#comment-33436520</link><description>&lt;p&gt;Don't give away all our secrets... :-)&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Tom</dc:creator><pubDate>Wed, 01 Jul 2009 12:16:23 -0000</pubDate></item></channel></rss>
