<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/xsl" media="screen" href="/~d/styles/rss2full.xsl"?><?xml-stylesheet type="text/css" media="screen" href="http://feeds.feedburner.com/~d/styles/itemcontent.css"?><rss xmlns:content="http://purl.org/rss/1.0/modules/content/" 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:feedburner="http://rssnamespace.org/feedburner/ext/1.0" version="2.0">
<channel>
	<title>Comments for DeGizmo</title>
	
	<link>http://degizmo.com</link>
	<description>tech, webdev, and etc</description>
	<lastBuildDate>Sun, 29 Aug 2010 08:31:55 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
	<atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="self" type="application/rss+xml" href="http://feeds.feedburner.com/degizmo_comments" /><feedburner:info uri="degizmo_comments" /><atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="hub" href="http://pubsubhubbub.appspot.com/" /><feedburner:browserFriendly></feedburner:browserFriendly><item>
		<title>Comment on Redis: Relations in a NoSQL world: Using Hashes by MeerieCah</title>
		<link>http://degizmo.com/2010/03/24/redis-relations-in-a-nosql-world-using-hashes/comment-page-1/#comment-105</link>
		<dc:creator>MeerieCah</dc:creator>
		<pubDate>Sun, 29 Aug 2010 08:31:55 +0000</pubDate>
		<guid isPermaLink="false">http://degizmo.com/?p=30#comment-105</guid>
		<description>Yes, really.</description>
		<content:encoded><![CDATA[<p>Yes, really.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Redis: Relations in a NoSQL world by Daniel</title>
		<link>http://degizmo.com/2010/03/23/redis-relations-in-a-nosql-world/comment-page-1/#comment-100</link>
		<dc:creator>Daniel</dc:creator>
		<pubDate>Mon, 26 Apr 2010 22:27:01 +0000</pubDate>
		<guid isPermaLink="false">http://degizmo.com/?p=25#comment-100</guid>
		<description>As a quick note, on delete_user, we're first retrieving the entire list of users to then check if the to-be-deleted user is present, which is fine for a small demo but not good in a production site. Instead, to check for the existence of the user-to-be-deleted, one can use r.sismember("user", username) which will return just a boolean (which is also the method the author used in authentication).</description>
		<content:encoded><![CDATA[<p>As a quick note, on delete_user, we&#8217;re first retrieving the entire list of users to then check if the to-be-deleted user is present, which is fine for a small demo but not good in a production site. Instead, to check for the existence of the user-to-be-deleted, one can use r.sismember(&#8220;user&#8221;, username) which will return just a boolean (which is also the method the author used in authentication).</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Redis’ Virtual Memory Specifications Draft by QWMichael</title>
		<link>http://degizmo.com/2010/03/25/redis-virtual-memory-specifications-draft/comment-page-1/#comment-94</link>
		<dc:creator>QWMichael</dc:creator>
		<pubDate>Mon, 19 Apr 2010 04:55:11 +0000</pubDate>
		<guid isPermaLink="false">http://degizmo.com/?p=32#comment-94</guid>
		<description>I shouldn't be surprizing so hard at that.</description>
		<content:encoded><![CDATA[<p>I shouldn&#8217;t be surprizing so hard at that.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Getting Started: Redis and Python by foeniz</title>
		<link>http://degizmo.com/2010/03/22/getting-started-redis-and-python/comment-page-1/#comment-80</link>
		<dc:creator>foeniz</dc:creator>
		<pubDate>Mon, 05 Apr 2010 05:21:00 +0000</pubDate>
		<guid isPermaLink="false">http://degizmo.com/?p=4#comment-80</guid>
		<description>Wow, I have been looking into this more and more, I really like what one can do with this sort of schema. 

Here's something I messed around with, it saved my app a good 5 lines of mysqlalchemy:

r.zadd("site:%s" % id, (r.lrange("post:%s:comment" % id, 0, 0)), r.get("global:%s:score" % id))</description>
		<content:encoded><![CDATA[<p>Wow, I have been looking into this more and more, I really like what one can do with this sort of schema. </p>
<p>Here&#8217;s something I messed around with, it saved my app a good 5 lines of mysqlalchemy:</p>
<p>r.zadd(&#8220;site:%s&#8221; % id, (r.lrange(&#8220;post:%s:comment&#8221; % id, 0, 0)), r.get(&#8220;global:%s:score&#8221; % id))</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Redis: Relations in a NoSQL world: Using Hashes by Sam</title>
		<link>http://degizmo.com/2010/03/24/redis-relations-in-a-nosql-world-using-hashes/comment-page-1/#comment-65</link>
		<dc:creator>Sam</dc:creator>
		<pubDate>Thu, 01 Apr 2010 00:29:47 +0000</pubDate>
		<guid isPermaLink="false">http://degizmo.com/?p=30#comment-65</guid>
		<description>Without the user set, you would have to do a keys() to find out who all the users are and perform an operation on each. Once you have a lot of users, your keys() query is going to take ages (relatively speaking).</description>
		<content:encoded><![CDATA[<p>Without the user set, you would have to do a keys() to find out who all the users are and perform an operation on each. Once you have a lot of users, your keys() query is going to take ages (relatively speaking).</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Redis: Relations in a NoSQL world by Damian Janowski</title>
		<link>http://degizmo.com/2010/03/23/redis-relations-in-a-nosql-world/comment-page-1/#comment-60</link>
		<dc:creator>Damian Janowski</dc:creator>
		<pubDate>Fri, 26 Mar 2010 23:18:41 +0000</pubDate>
		<guid isPermaLink="false">http://degizmo.com/?p=25#comment-60</guid>
		<description>Good intro on how to structure data on Redis.

Readers may be interested in how Ohm does it. Ohm is a Ruby library that maps objects to Redis back and forth. It supports the native Redis data types and higher level features like relationships, indexes, validations, etc.

http://ohm.keyvalue.org</description>
		<content:encoded><![CDATA[<p>Good intro on how to structure data on Redis.</p>
<p>Readers may be interested in how Ohm does it. Ohm is a Ruby library that maps objects to Redis back and forth. It supports the native Redis data types and higher level features like relationships, indexes, validations, etc.</p>
<p><a href="http://ohm.keyvalue.org" rel="nofollow">http://ohm.keyvalue.org</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Redis: Relations in a NoSQL world: Using Hashes by Adam</title>
		<link>http://degizmo.com/2010/03/24/redis-relations-in-a-nosql-world-using-hashes/comment-page-1/#comment-58</link>
		<dc:creator>Adam</dc:creator>
		<pubDate>Thu, 25 Mar 2010 11:12:12 +0000</pubDate>
		<guid isPermaLink="false">http://degizmo.com/?p=30#comment-58</guid>
		<description>Got it... I've been trying the getting up at 5am thing recently and my night time brain isn't as good as my morning brain now :-)

This was written at night O:-)</description>
		<content:encoded><![CDATA[<p>Got it&#8230; I&#8217;ve been trying the getting up at 5am thing recently and my night time brain isn&#8217;t as good as my morning brain now <img src='http://degizmo.com/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' /> </p>
<p>This was written at night O:-)</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Redis: Relations in a NoSQL world: Using Hashes by Brian Nesbitt</title>
		<link>http://degizmo.com/2010/03/24/redis-relations-in-a-nosql-world-using-hashes/comment-page-1/#comment-57</link>
		<dc:creator>Brian Nesbitt</dc:creator>
		<pubDate>Thu, 25 Mar 2010 01:18:26 +0000</pubDate>
		<guid isPermaLink="false">http://degizmo.com/?p=30#comment-57</guid>
		<description>Just using HEXISTS creates a race condition when creating users.  Using the Set will actually prevent that since the SADD is atomic and returns a success result!

There is another "smembers" call when deleting a user that should be "sismember"  :-)</description>
		<content:encoded><![CDATA[<p>Just using HEXISTS creates a race condition when creating users.  Using the Set will actually prevent that since the SADD is atomic and returns a success result!</p>
<p>There is another &#8220;smembers&#8221; call when deleting a user that should be &#8220;sismember&#8221;  <img src='http://degizmo.com/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Redis: Relations in a NoSQL world: Using Hashes by Adam</title>
		<link>http://degizmo.com/2010/03/24/redis-relations-in-a-nosql-world-using-hashes/comment-page-1/#comment-56</link>
		<dc:creator>Adam</dc:creator>
		<pubDate>Thu, 25 Mar 2010 00:31:01 +0000</pubDate>
		<guid isPermaLink="false">http://degizmo.com/?p=30#comment-56</guid>
		<description>Hey Brian,

Thanks for the comments.

In using the 'set' as opposed to the HEXISTS command, that's mostly just a carry over from the previous example. 

I was using the sets mostly to maintain a consistency from the previous example to compare the difference in implementation in the storage of passwords between related keys and the newer hash functionality

As for 2 and 3... Yep, good catches, those are bugs. I've corrected both this post and the previous post to reflect them. Thanks for the catch.</description>
		<content:encoded><![CDATA[<p>Hey Brian,</p>
<p>Thanks for the comments.</p>
<p>In using the &#8216;set&#8217; as opposed to the HEXISTS command, that&#8217;s mostly just a carry over from the previous example. </p>
<p>I was using the sets mostly to maintain a consistency from the previous example to compare the difference in implementation in the storage of passwords between related keys and the newer hash functionality</p>
<p>As for 2 and 3&#8230; Yep, good catches, those are bugs. I&#8217;ve corrected both this post and the previous post to reflect them. Thanks for the catch.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Redis: Relations in a NoSQL world by Adam</title>
		<link>http://degizmo.com/2010/03/23/redis-relations-in-a-nosql-world/comment-page-1/#comment-55</link>
		<dc:creator>Adam</dc:creator>
		<pubDate>Thu, 25 Mar 2010 00:29:18 +0000</pubDate>
		<guid isPermaLink="false">http://degizmo.com/?p=25#comment-55</guid>
		<description>Bug correction from Brian: http://degizmo.com/2010/03/24/redis-relations-in-a-nosql-world-using-hashes/#comments</description>
		<content:encoded><![CDATA[<p>Bug correction from Brian: <a href="http://degizmo.com/2010/03/24/redis-relations-in-a-nosql-world-using-hashes/#comments" rel="nofollow">http://degizmo.com/2010/03/24/redis-relations-in-a-nosql-world-using-hashes/#comments</a></p>
]]></content:encoded>
	</item>
</channel>
</rss><!-- Dynamic page generated in 0.430 seconds. --><!-- Cached page generated by WP-Super-Cache on 2010-08-29 19:11:30 -->
