<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	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/"
		>
<channel>
	<title>Online Ventolin Pharmacy - FDA Approved Pharmacy</title>
	<atom:link href="http://noehr.org/2009/08/27/bitwise-permissions-in-python-and-django/feed/" rel="self" type="application/rss+xml" />
	<link>http://noehr.org/2009/08/27/bitwise-permissions-in-python-and-django/</link>
	<description>Pythonista, RESTafarian, Binary Poet &#38; Proud Bucketeer</description>
	<lastBuildDate>Thu, 03 Dec 2009 23:13:18 -0800</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>Online Ventolin Pharmacy - FDA Approved Pharmacy</title>
		<link>http://noehr.org/2009/08/27/bitwise-permissions-in-python-and-django/comment-page-1/#comment-2958</link>
		<dc:creator>Rob Searles &#187; Understanding Bitwise Operators (hopefully)</dc:creator>
		<pubDate>Thu, 03 Dec 2009 23:13:18 +0000</pubDate>
		<guid isPermaLink="false">http://noehr.org/?p=59#comment-2958</guid>
		<description>[...] in Jesper&#8217;s comment and original post was the use of the left shift operator: &lt;&lt;. After playing around with this it seems very [...]</description>
		<content:encoded><![CDATA[<p>[...] in Jesper&#8217;s comment and original post was the use of the left shift operator: &lt;&lt;. After playing around with this it seems very [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>Online Ventolin Pharmacy - FDA Approved Pharmacy</title>
		<link>http://noehr.org/2009/08/27/bitwise-permissions-in-python-and-django/comment-page-1/#comment-2933</link>
		<dc:creator>Rob Searles &#187; Bitwise Operators used for Flagging Items, part 1</dc:creator>
		<pubDate>Wed, 02 Dec 2009 17:34:30 +0000</pubDate>
		<guid isPermaLink="false">http://noehr.org/?p=59#comment-2933</guid>
		<description>[...] Hoehr has written about using bitwise operators for a flexible permissions scheme within Python  and Jonathan Snook has taken the bitwise concept further creating a great calendar [...]</description>
		<content:encoded><![CDATA[<p>[...] Hoehr has written about using bitwise operators for a flexible permissions scheme within Python  and Jonathan Snook has taken the bitwise concept further creating a great calendar [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>Online Ventolin Pharmacy - FDA Approved Pharmacy</title>
		<link>http://noehr.org/2009/08/27/bitwise-permissions-in-python-and-django/comment-page-1/#comment-2662</link>
		<dc:creator>jespern</dc:creator>
		<pubDate>Fri, 13 Nov 2009 09:56:52 +0000</pubDate>
		<guid isPermaLink="false">http://noehr.org/?p=59#comment-2662</guid>
		<description>The point is storing many permissions in a single field. You can make incredibly complex queries on that single field, by combining various &quot;terms&quot; with the binary OR operator, for example.

We use it on Bitbucket to indicate various levels of permissions to objects, for example, you can be a reader, as well as an admin, which will *imply* writing, since admin has that flag set.</description>
		<content:encoded><![CDATA[<p>The point is storing many permissions in a single field. You can make incredibly complex queries on that single field, by combining various &#8220;terms&#8221; with the binary OR operator, for example.</p>
<p>We use it on Bitbucket to indicate various levels of permissions to objects, for example, you can be a reader, as well as an admin, which will *imply* writing, since admin has that flag set.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Online Ventolin Pharmacy - FDA Approved Pharmacy</title>
		<link>http://noehr.org/2009/08/27/bitwise-permissions-in-python-and-django/comment-page-1/#comment-2653</link>
		<dc:creator>pulegium</dc:creator>
		<pubDate>Thu, 12 Nov 2009 09:01:23 +0000</pubDate>
		<guid isPermaLink="false">http://noehr.org/?p=59#comment-2653</guid>
		<description>very nice flashback... brings back all the memories os .asm and stuff... :)

now back to business. although it&#039;s nice and geeky, why on earth would you use this these days unless you&#039;re developing s/w for embedded devices/etc? memory is super cheap and there&#039;s lots of it. obviously, one shouldn&#039;t abuse this, but I can&#039;t see how few extra Ks can make any difference on a machine that has few G&#039;s of memory. It&#039;s so much easier (and more readable IMHO) to just store this in a dictionary and access it as permissions[&#039;write&#039;] = True or similar.

What do you think? :)</description>
		<content:encoded><![CDATA[<p>very nice flashback&#8230; brings back all the memories os .asm and stuff&#8230; :)</p>
<p>now back to business. although it&#8217;s nice and geeky, why on earth would you use this these days unless you&#8217;re developing s/w for embedded devices/etc? memory is super cheap and there&#8217;s lots of it. obviously, one shouldn&#8217;t abuse this, but I can&#8217;t see how few extra Ks can make any difference on a machine that has few G&#8217;s of memory. It&#8217;s so much easier (and more readable IMHO) to just store this in a dictionary and access it as permissions['write'] = True or similar.</p>
<p>What do you think? :)</p>
]]></content:encoded>
	</item>
	<item>
		<title>Online Ventolin Pharmacy - FDA Approved Pharmacy</title>
		<link>http://noehr.org/2009/08/27/bitwise-permissions-in-python-and-django/comment-page-1/#comment-2086</link>
		<dc:creator>jespern</dc:creator>
		<pubDate>Tue, 15 Sep 2009 16:51:27 +0000</pubDate>
		<guid isPermaLink="false">http://noehr.org/?p=59#comment-2086</guid>
		<description>@Alex,

We are using a wrapper around it, the bit-stuff is only on the backend layer, we never touch it. Writing such a layer is left as an exercise to the reader :-)</description>
		<content:encoded><![CDATA[<p>@Alex,</p>
<p>We are using a wrapper around it, the bit-stuff is only on the backend layer, we never touch it. Writing such a layer is left as an exercise to the reader :-)</p>
]]></content:encoded>
	</item>
	<item>
		<title>Online Ventolin Pharmacy - FDA Approved Pharmacy</title>
		<link>http://noehr.org/2009/08/27/bitwise-permissions-in-python-and-django/comment-page-1/#comment-2066</link>
		<dc:creator>Alex</dc:creator>
		<pubDate>Tue, 15 Sep 2009 01:16:12 +0000</pubDate>
		<guid isPermaLink="false">http://noehr.org/?p=59#comment-2066</guid>
		<description>I agree that binary flags are an awesome way to store this data, however I can&#039;t fathom why you&#039;d want to actually use the API of binary flags, instead of putting a pretty wrapper around it.</description>
		<content:encoded><![CDATA[<p>I agree that binary flags are an awesome way to store this data, however I can&#8217;t fathom why you&#8217;d want to actually use the API of binary flags, instead of putting a pretty wrapper around it.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Online Ventolin Pharmacy - FDA Approved Pharmacy</title>
		<link>http://noehr.org/2009/08/27/bitwise-permissions-in-python-and-django/comment-page-1/#comment-1979</link>
		<dc:creator>bretth</dc:creator>
		<pubDate>Fri, 28 Aug 2009 02:39:11 +0000</pubDate>
		<guid isPermaLink="false">http://noehr.org/?p=59#comment-1979</guid>
		<description>Wow. This is great and would be much more flexible than the existing contrib.auth scheme. Never thought I&#039;d need to use binary math again.</description>
		<content:encoded><![CDATA[<p>Wow. This is great and would be much more flexible than the existing contrib.auth scheme. Never thought I&#8217;d need to use binary math again.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Online Ventolin Pharmacy - FDA Approved Pharmacy</title>
		<link>http://noehr.org/2009/08/27/bitwise-permissions-in-python-and-django/comment-page-1/#comment-1975</link>
		<dc:creator>bob_f</dc:creator>
		<pubDate>Thu, 27 Aug 2009 11:24:46 +0000</pubDate>
		<guid isPermaLink="false">http://noehr.org/?p=59#comment-1975</guid>
		<description>First post !</description>
		<content:encoded><![CDATA[<p>First post !</p>
]]></content:encoded>
	</item>
</channel>
</rss>
