<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	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:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Finely Cultured &#187; Tech</title>
	<atom:link href="http://finelycultured.com/category/tech/feed/" rel="self" type="application/rss+xml" />
	<link>http://finelycultured.com</link>
	<description>Eric Danielson&#039;s Personal Blog</description>
	<lastBuildDate>Tue, 10 Aug 2010 04:30:40 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
		<item>
		<title>Building Documentation with Mediawiki: Pros &amp; Cons</title>
		<link>http://finelycultured.com/2010/08/building-documentation-with-mediawiki-pros-cons/</link>
		<comments>http://finelycultured.com/2010/08/building-documentation-with-mediawiki-pros-cons/#comments</comments>
		<pubDate>Tue, 10 Aug 2010 04:14:42 +0000</pubDate>
		<dc:creator>Eric Danielson</dc:creator>
				<category><![CDATA[Mediawiki]]></category>
		<category><![CDATA[Software]]></category>
		<category><![CDATA[Tech]]></category>

		<guid isPermaLink="false">http://finelycultured.com/?p=134</guid>
		<description><![CDATA[I&#8217;ve been talking with a lot of people lately about what I do, and I&#8217;ve gotten a lot of questions about our use of Mediawiki &#8211; largely in the &#8220;Why are you using that?&#8221; vein. The first few times I didn&#8217;t have a great answer, for reasons anyone who&#8217;s really worked with Mediawiki knows &#8211; [...]]]></description>
			<content:encoded><![CDATA[<p>I&#8217;ve been talking with a lot of people lately about <a href="http://docwiki.embarcadero.com/">what I do</a>, and I&#8217;ve gotten a lot of questions about our use of Mediawiki &#8211; largely in the &#8220;Why are you using <em>that</em>?&#8221; vein. The first few times I didn&#8217;t have a great answer, for reasons anyone who&#8217;s really worked with Mediawiki knows &#8211; it&#8217;s just not that pleasant a system, and it feels crufty, especially when I&#8217;m talking to Agile Ruby Devs. It&#8217;s worked great for our systems, though, and I wanted to share some of the benefits we&#8217;ve gotten, as well as some of the drawbacks of working with Mediawiki.</p>
<p><em>(Incidentally, if you&#8217;re checking the Wiki link above before August 30th or so, you&#8217;re not seeing the latest version of the Wiki, which includes around 9 months of improvements.)</em></p>
<h2>Who am I to talk about this?</h2>
<p>For the last 18 months I&#8217;ve been working at Embarcadero Technologies converting the whole of the RADStudio/Delphi/C++Builder documentation over to a MediaWiki based system. As of right now, I have a 7-server continuous-build system designed to build and support both product and language documentation in four languages. I&#8217;ve got 18 wikis running off a single codebase with custom skins, custom extensions, and scripts writing and retrieving around half a million pages on a pretty regular basis. It&#8217;s fair to say at this point I&#8217;m familiar with deploying, maintaining, and working with Mediawiki, both the good and the bad.</p>
<h2>Why Mediawiki?</h2>
<p>While it brings its share of problems, Mediawiki does a phenomenal amount of what we needed right out of the box. Given that we&#8217;ve got an extremely limited budget and an even more limited development team to support a professional commercial product, Mediawiki&#8217;s capabilities have been invaluable to us.</p>
<p>Here&#8217;s what we&#8217;re getting right away:</p>
<h3>Easy Syntax</h3>
<p>This was the #1 reason we went with Mediawiki  &#8211; We wanted something where anyone could write new documentation easily, and eventually we wanted to open up the documentation to contributions from customers. Mediawiki has an easy-to-use syntax, and it&#8217;s a syntax that many people are already familiar with. Anyone trying to get user interaction on a site knows that even if you write the content for the user you&#8217;re still asking too much of them &#8211; we wanted as low a barrier to entry as possible, and it&#8217;s a fair guess everyone who hits our site has at least Seen Wiki syntax at some point. So far it&#8217;s working: one of my best moments at work was when our localization manager complained in jest that our writers were too productive for his budget. We&#8217;ve seen a 40% increase in output over the old XML-based system, which is great, and it&#8217;s even easier to bring new people up to speed, which is crucial.</p>
<h3>Localization</h3>
<p>I&#8217;m not sure how strong a consideration this was at the beginning, but boy has it saved us time and stress. Our documentation goes into four different languages, so having a system that handled Japanese out of the box has been crucial for us. Mediawiki has a robust localization framework built in, which is another part of the system we didn&#8217;t have to write.</p>
<h3>Accessibility</h3>
<p>I&#8217;m honestly not sure where we sit on the regulations on this one &#8211; I&#8217;m not sure if our company is required to have a 509 solution. Fortunately, I don&#8217;t have to worry about it, because it&#8217;s baked in right out of the box.</p>
<h3>Scale</h3>
<p>Our documentation is around 70,000 pages per language, times four languages, times two product versions. Half of the pages are duplicated because of how our scripts work, so we&#8217;re at ballpark 750,000 pages on the DocWiki system. We needed a system we knew could handle anything we threw at it, and Mediawiki&#8217;s one of the few that have been field tested to be able to stand up to just about anything. Other CMS&#8217;s may be able to handle this sort of load, but we absolutely knew Mediawiki could &#8211; we don&#8217;t have the resources to plow a few months of dev into a system and have it collapse once we put all our documentation in.</p>
<h3>Revision Management</h3>
<p>Built in, out of the box, including diffs and comments. We transitioned away from SVN to Mediawiki, so the revision tracking made it very easy for us to track our changes. It&#8217;s got easy-to-use diffs and an RSS feed, so we can keep tabs both on the Wiki and on the writers. It&#8217;s also got a detailed log, so we can tell who was responsible for  anything that happens on the system.</p>
<h3>Robust User Management</h3>
<p>Including Roles. There&#8217;s some quirks here, but overall, it&#8217;s another thing we didn&#8217;t have to worry about. I&#8217;ve been able to expand on this quite a bit to allow mass user imports from our other systems, user searches, and a few other neat tricks that have made our lives easier.</p>
<h3>API</h3>
<p>We auto-generate a lot of our content, so we needed a clean way to edit certain pages without affecting others. Mediawiki has an API baked in, and the mwclient python scripts work wonders. Another part of the system we didn&#8217;t have to build.</p>
<h3>Extensibility &#038; Community</h3>
<p>Because we&#8217;re using a packaged solution for a fairly specialized use case, extensibility was part of the spec. Mediawiki has a shockingly large number of hooks for extensions, and really allows us to do just about anything we want with the right combination of calls. It&#8217;s also got an enormous developer community, including the WikiMedia foundation, which contributes its code back to the MW community. As a bonus, you can see anything that&#8217;s in use on the WikiMedia servers, which guarantees the code has been put through its paces.</p>
<h3>Skinability</h3>
<p>In our case, we were able to change the look of the default Mediawiki skin enough to get a distinct look, but at the same time, it&#8217;s still clearly Mediawiki. This is a bonus for us, since it tells users what system they&#8217;re using and saves us a whole lot of user training.</p>
<h3>LAMP &#038; Caching</h3>
<p>Say what you will about the LAMP stack, but we&#8217;re on an extremely restricted development budget &#8211; we needed something that worked. LAMP gets us up and running in 20 minutes on a stack that&#8217;s in use practically everywhere &#8211; there&#8217;s not a problem we&#8217;re going to hit that someone else hasn&#8217;t seen already. Mediawiki also supports APC, Squid &#038; Memcached right out of the box &#8211; with everything set up, we&#8217;re catching almost everything somewhere in the caches.</p>
<h2>What&#8217;s Bad?</h2>
<h3>It&#8217;s Unstructured</h3>
<p>Mediawiki is not meant for structured content &#8211; it&#8217;s basically built for a flat hierarchy. This is a bit of a problem when you&#8217;re dealing with any serious product documentation, and was especially a problem for us, as we had highly structured content. We had to invent our way around the table of contents, the index, and the tagging we needed to make our shippable help files.</p>
<h3>Search is a Joke</h3>
<p>The built-in Mediawiki search is just absolutely atrocious &#8211; even Wikimedia&#8217;s using Lucene instead. If you have any reasonable expectation of users finding content on your site, you need a different solution.</p>
<h3>Architectural Limits</h3>
<p>Because of how Mediawiki stores inter-page links and category information, pages that are extremely link-heavy tank the wiki when you try to save them. Looks like a database lock, but I&#8217;m not totally sure. It took me a long time to track this issue down, but that&#8217;s my leading contender for the mysterious &#8220;The wiki&#8217;s dead!&#8221; bug.</p>
<h3>Spaghetti Code</h3>
<p>Especially in the themes. Or at least, a codebase that&#8217;s so large and daunting it might as well be spaghetti code. Either way, it really looks like code which has been developed by a large number of different people, none of whom knew each other. Which it basically is, and it&#8217;s a triumph for that, but it&#8217;s not terribly readable.</p>
<h3>PHP</h3>
<p>Yeah, we all knew it was coming &#8211; PHP seriously sucks as a language. It&#8217;s the most universally-deployable web dev language around, but then again, McDonalds is the most universally-deployed hamburger-ingestion venue around &#8211; doesn&#8217;t make it good.</p>
<p>In a future post, I&#8217;ll talk a bit more about the specific challenges we faced and how we dealt with them. I think we&#8217;ve got some pretty cool stuff going into our wiki setup, and maybe someone will even find it useful.</p>
<p>If you have any questions, by all means, leave them in the comments below, and I&#8217;ll address them as best I can.</p>
<p>Thanks!</p>
]]></content:encoded>
			<wfw:commentRss>http://finelycultured.com/2010/08/building-documentation-with-mediawiki-pros-cons/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>iPhone 4 Mini-Review</title>
		<link>http://finelycultured.com/2010/06/iphone-4-mini-review/</link>
		<comments>http://finelycultured.com/2010/06/iphone-4-mini-review/#comments</comments>
		<pubDate>Sat, 26 Jun 2010 00:26:34 +0000</pubDate>
		<dc:creator>Eric Danielson</dc:creator>
				<category><![CDATA[Hardware]]></category>
		<category><![CDATA[Tech]]></category>

		<guid isPermaLink="false">http://finelycultured.com/?p=131</guid>
		<description><![CDATA[I got my hands on the new iPhone for a few minutes today, and while it wasn&#8217;t the best environment for evaluating the phone, I did get a couple impressions: The Hardware Ok, I know I&#8217;m not going to be impartial here &#8211; I just wrote a post a couple days ago about how damn [...]]]></description>
			<content:encoded><![CDATA[<p>I got my hands on the new iPhone for a few minutes today, and while it wasn&#8217;t the best environment for evaluating the phone, I did get a couple impressions:</p>
<p><strong>The Hardware</strong></p>
<p>Ok, I know I&#8217;m not going to be impartial here &#8211; I just wrote a post a couple days ago about how damn impressed I was with the hardware, and that was before I even saw it. Still, though, this is definitely a refined piece of hardware. It feels Machined, finished. It feels like a high-end watch &#8211; extremely tight, solid construction, great feel to the materials. This isn&#8217;t a standard phone body. This is the first phone I&#8217;ve felt that feels like a luxury device &#8211; there&#8217;s nothing cheap about it. I&#8217;m seriously impressed.</p>
<p><strong>The Screen</strong></p>
<p>I actually expected to be more impressed by the screen. Don&#8217;t get me wrong &#8211; it&#8217;s a Really nice screen, but it didn&#8217;t totally blow me away. I think that&#8217;s because I&#8217;m already used to the droid screen, which is already in the range of ~265 ppi, so I&#8217;m not coming from a normal iPhone. If you&#8217;re used to an iPhone, the screen is a Huge improvement, but if you&#8217;re already used to a Droid or a Nexus, I think your socks will stay securely on.</p>
<p><strong>The Rest</strong></p>
<p>It&#8217;s an iPhone &#8211; there&#8217;s not much else to say. I didn&#8217;t get to really take it for a spin, but it seems fairly snappy, and the multitasking menu is pretty slick. I&#8217;m pretty used to android right now, so it&#8217;s hard for me to give a good evaluation. There&#8217;s too many UX differences for me to figure the phone out well enough in the time I normally have, so I don&#8217;t think it&#8217;s fair for me to talk about the interface without being sure it&#8217;s not just my Droid-addled brain, but iOS4 didn&#8217;t strike me as anything overly different than iPhone 3.</p>
<p>One thing did get me though &#8211; I&#8217;ve been using <a href="http://www.swypeinc.com/">Swype</a> for a couple months on the Droid now, and I&#8217;ll never go back. It&#8217;s not on the iPhone, and unless Apple buys the company, it&#8217;s not going to be, so that&#8217;s definitely a point against the iPhone for me.</p>
<p><strong>Conclusion</strong></p>
<p>I&#8217;m not going to get into iPhone vs Droid, because there&#8217;s really no point &#8211; the new iPhone is still an iPhone, so whatever I&#8217;ve said before applies here.</p>
<p>Hardware-wise, though, this is one slick phone, and I really hope the rest of the industry is watching &#8211; that, to me, is the iPhone 4&#8242;s big contribution: It&#8217;s a grown-up phone built to the same standards we expect out of other $500 accessories. If Apple can put the era of shitty plastic phones to rest, I frankly don&#8217;t care what they do with the software.</p>
]]></content:encoded>
			<wfw:commentRss>http://finelycultured.com/2010/06/iphone-4-mini-review/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>It&#8217;s All About the AI</title>
		<link>http://finelycultured.com/2010/06/its-all-about-the-ai/</link>
		<comments>http://finelycultured.com/2010/06/its-all-about-the-ai/#comments</comments>
		<pubDate>Mon, 14 Jun 2010 18:53:09 +0000</pubDate>
		<dc:creator>Eric Danielson</dc:creator>
				<category><![CDATA[Futurism]]></category>
		<category><![CDATA[Society]]></category>
		<category><![CDATA[Tech]]></category>
		<category><![CDATA[Artificial Intelligence]]></category>
		<category><![CDATA[Augmented Reality]]></category>
		<category><![CDATA[Cognition]]></category>
		<category><![CDATA[Infopocalypse]]></category>

		<guid isPermaLink="false">http://finelycultured.com/?p=123</guid>
		<description><![CDATA[I got to attend ARE2010 recently, which was an amazing lineup of speakers and a great show of the current state of Augmented Reality. The big takeaway for me, though, had nothing to do with AR and everything to do with AI. Augmented Reality is, at its essence, just a new interface. In some cases, [...]]]></description>
			<content:encoded><![CDATA[<p>I got to attend ARE2010 recently, which was an amazing lineup of speakers and a great show of the current state of Augmented Reality. The big takeaway for me, though, had nothing to do with AR and everything to do with AI.</p>
<p>Augmented Reality is, at its essence, just a new interface. In some cases, it&#8217;s a better interface, in some cases it&#8217;s not, but that&#8217;s basically what AR brings to the table: a new means of displaying information, albiet now in a way more integrated with the user&#8217;s physical surroundings. The promise is in that integration: visions of sci-fi heads-up displays, the sort of stuff the anime artists have been playing with for years, the ability to leverage our ridiculously well-developed online abilities in the real world.</p>
<p>The problem, though, is that we&#8217;ve got <a href="http://www.informaworld.com/smpp/section?content=a743900378&amp;fulltext=713240928">almost zero</a> spare cognitive bandwidth to play with. The unfortunate fact is parsing what an alert from a mobile system is takes effort, and effort takes focus, and focus is a finite quantity limited to <a href="http://www.npr.org/templates/story/story.php?storyId=95256794">One</a>: What am I focusing on Right Now? This is easily made apparent just by observing people trying to walk while using smart phones, and it&#8217;s also why the headset requirement in California is basically window-dressing: the problem isn&#8217;t where our hands are, it&#8217;s where our heads are.<a href="#cite">*</a></p>
<p>So AR poses an interesting conundrum: On the one hand, with some work on machine vision and context filters (and goggles &#8211; god knows we don&#8217;t need &#8220;smartphone elbow&#8221; to become the carpal tunnel of the 21st century), it could be a radically new and useful way to get highly readable information about the world around you. On the other hand, current systems display entirely, totally, utterly too much information, even assuming someone&#8217;s actually focused on the information being displayed. It&#8217;s rare I need to know where Every coffee shop in the city is &#8211; normally I&#8217;m just looking for the best one. A smart, useful AR system needs to be able to filter the infinite feed of information down to the absolute most useful things you could need to know right now and display only those things.</p>
<p>The question of usefulness of the information itself is only half the battle, though. There&#8217;s also an issue of context &#8211; What am I doing Right Now? What sort of mood am I in? Am I looking for a coffee shop to meet a friend for a chat or a coffee shop to work for the day? Did I already have lunch, or should the place have good food, too? Am I a creature of habit, or do I crave novelty? What&#8217;s the weather like? Information Utility varies by person, by day, by time, and by circumstance.</p>
<p>This applies to notifications, too. If I&#8217;m engaged in a (physical) conversation, I probably don&#8217;t need to get that email about a coupon for a bookstore. The email about the fire in the server room, though, might warrant an interruption. Likewise, if I&#8217;m wandering around looking for something to do, the fact that a friend of mine just checked in to the bar a block away is relevant, whereas if I&#8217;m in the office, it&#8217;s probably not. What&#8217;s even trickier is that mood plays a big role, too. Maybe I&#8217;m just not feeling like going out today, or maybe I&#8217;m on a super-productive streak, in which case anything shy of the second coming of jesus should probably wait until I run out of steam.</p>
<p>What this boils down to is a system that knows you, knows where you are, knows what you&#8217;re doing, and knows how to filter all of that down to just what you need. It remembers what you&#8217;ve done before, recognizes by the amount of time you&#8217;ve spent somewhere and your overall mood there what you thought of the place, can recognize by your behavior what your likely mood is, can tell by your surroundings what you&#8217;re up to, and from all that can tailor its recommendations to what&#8217;s best for you right now. Basically, it&#8217;s a personal assistant in software form &#8211; an AI.</p>
<p>We&#8217;ve reached a point in the evolution of computers, the internet, and mobility where we no longer have to try to find information or to connect with people. We&#8217;ve wired everyone and everything to everywhere (or at least to Google) such that it&#8217;s not a question anymore about whether the information exists, it&#8217;s whether it floats to the surface of whatever interface we&#8217;ve slapped on top of the fire hose of data aimed at our eyeballs and our brains. We don&#8217;t have an Access problem anymore, we have an Excess problem, and there&#8217;s just no way that dumb filters (or even just slightly smart filters) are going to be able to carry us forward. We need learning filters. We need systems to sit between us and the fire hose, to act as the gatekeeper to the ludicrously limited cognitive time we&#8217;ve got. We need something to take the terabytes terabytes of information we&#8217;re constantly exposed to and strip it down to the most relevant 40 bits and deliver it to us so that we Know it, we don&#8217;t just see it or read it.</p>
<p>I&#8217;ve become increasingly aware of the value of cognitive downtime lately. Our brains need time to parse the materials they&#8217;re exposed to, and without taking time to pull out of the feed and parse the information we&#8217;ve obtained, we lack context and the ability to assimilate the knowledge we&#8217;ve gained. Minimizing non-essential or extraneous pulls on our attention allows us to focus more fully on the world around us and even allows us to relax and reflect. With mobility as it exists today, we&#8217;re fast-tracking ourselves towards a sort of mass social ADD, and AR without context is only going to worsen the matter.</p>
<p><a name="cite"/><em>* Credit to S.Applin, M.Ito, &amp; others working on this problem. Apologies to any other unattributed shoulders on which I&#8217;m standing.</em></p>
]]></content:encoded>
			<wfw:commentRss>http://finelycultured.com/2010/06/its-all-about-the-ai/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Quick Bits: Verify the hash of downloads</title>
		<link>http://finelycultured.com/2010/05/quick-bits-verify-download-hash/</link>
		<comments>http://finelycultured.com/2010/05/quick-bits-verify-download-hash/#comments</comments>
		<pubDate>Sat, 22 May 2010 00:07:24 +0000</pubDate>
		<dc:creator>Eric Danielson</dc:creator>
				<category><![CDATA[Quick Bits]]></category>
		<category><![CDATA[Software]]></category>
		<category><![CDATA[Tech]]></category>

		<guid isPermaLink="false">http://finelycultured.com/?p=106</guid>
		<description><![CDATA[Just whipped up a script to check the SHA1 &#38; MD5 hashes of a file and compare it to the clipboard. I rolled it into an Automator workflow so it can be attached as a folder action. Basically, the script takes a parameter, which is the full file name, runs openssl sha1 and openssl dgst [...]]]></description>
			<content:encoded><![CDATA[<p>Just whipped up a script to check the SHA1 &amp; MD5 hashes of a file and compare it to the clipboard. I rolled it into an Automator workflow so it can be attached as a folder action.</p>
<p>Basically, the script takes a parameter, which is the full file name, runs openssl sha1 and openssl dgst on it, and compares each value to what&#8217;s in the clipboard. If either signature match the clipboard, it pops up a growl notification confirming that the signature matches. If it doesn&#8217;t get a match, it growls the Sha1 and MD5 tags.</p>
<p><strong>Get it here</strong>: <a href="http://dl.dropbox.com/u/102389/hashworkflow.zip">hashworkflow.zip</a></p>
<p>You&#8217;ll need <a href="http://growl.info/">Growl</a>, if you don&#8217;t have it, and you&#8217;ll need to install growlnotify, which comes with Growl.</p>
<p><strong>Instructions</strong>:</p>
<ol>
<li>Unzip.</li>
<li>Open the .workflow</li>
<li>Go to File -&gt; Save As: (may not be necessary&#8230;)</li>
<li>Ctrl+click on your Downloads folder and select Services -&gt; Folder Actions Setup&#8230;</li>
<li>Select &#8220;Hash Downloads.workflow&#8221;</li>
</ol>
<p><strong>Issues:</strong></p>
<p>The script uses pbpaste to read the clipboard. Since there&#8217;s no way to guarantee pbpaste is giving back text, this may cause a problem when there&#8217;s large amounts of data on the clipboard. Clipboard contents are assigned to a variable using the syntax PB=`pbpaste`, so there shouldn&#8217;t be a risk of accidentally running a command that isn&#8217;t intended, but I haven&#8217;t extensively tested for this.</p>
<p><span style="font-size: 13.1944px;"><strong>Disclaimer </strong></span></p>
<p><span style="font-size: 13.1944px;">I&#8217;ve tested this for approx. 6 minutes. I make no claims about the safety of this software, and take no responsibility for the results of running it. I took shortcuts and the code sucks. Caveat Downloador.</span></p>
]]></content:encoded>
			<wfw:commentRss>http://finelycultured.com/2010/05/quick-bits-verify-download-hash/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>On Privacy, or Why Mark Zuckerberg is a Social Pariah</title>
		<link>http://finelycultured.com/2010/05/on-privacy/</link>
		<comments>http://finelycultured.com/2010/05/on-privacy/#comments</comments>
		<pubDate>Sat, 08 May 2010 19:25:57 +0000</pubDate>
		<dc:creator>Eric Danielson</dc:creator>
				<category><![CDATA[Economics]]></category>
		<category><![CDATA[Sociology]]></category>
		<category><![CDATA[Tech]]></category>
		<category><![CDATA[Facebook]]></category>
		<category><![CDATA[Privacy]]></category>

		<guid isPermaLink="false">http://finelycultured.com/?p=97</guid>
		<description><![CDATA[I went to PrivacyCampSF yesterday and got to engage in spirited debate on privacy with passionate, intelligent people. The takeaway for me was that this is a problem of relationships, not rules. The first problem we have with privacy is that we simply don&#8217;t have a good definition for what we want kept private. We&#8217;re [...]]]></description>
			<content:encoded><![CDATA[<p>I went to PrivacyCampSF yesterday and got to engage in spirited debate on privacy with passionate, intelligent people. The takeaway for me was that this is a problem of relationships, not rules.</p>
<p>The first problem we have with privacy is that we simply don&#8217;t have a good definition for what we want kept private. We&#8217;re not used to having to define exactly what we consider our identity, nor what we consider a breach of privacy. These are conventions that we all see differently, and we do so on an ad-hoc basis. In each interpersonal relationship, we&#8217;re defining on the fly roughly what we consider our identity and roughly what we consider private information, and these definitions are mostly relative to the current circumstances. It&#8217;s not just that we&#8217;re not defining privacy, it&#8217;s that we just don&#8217;t have a concrete definition at all.</p>
<p>The second problem is the definition of Identity. We present different personas to different people &#8211; this is human nature. We behave differently around our friends than our co-workers, we act differently in different groups, and typically people who don&#8217;t do this come off as abrasive. Certain parts of our personalities are relevant to certain situations, and these are typically the parts we present in different scenarios.</p>
<p>The third problem that arises is that frequently what gets presented as our &#8216;identity&#8217; online is, to say the least, an incomplete picture. A huge, huge part of human communication is non-verbal, and this is something that&#8217;s simply lacking online. Our words taken by themselves are far more susceptible to misinterpretation than the whole of our communication, and pictures and videos do not fully fill in the blanks. The problem, then, comes because our online persona is an amalgamation of small parts of our personality, and not a true representation of the whole.<a href="#note-1">*</a></p>
<p>I submit that there are three main situations in which we will feel our privacy or identity violated:</p>
<ol>
<li>When the commitment level in an impersonal relationship is escalated without our consent: When a store starts addressing us by name or we become aware they&#8217;ve kept more data on us than we were aware, we feel like we&#8217;ve been stalked &#8211; and rightfully so. The nature of stalking is a non-consensual escalation of familiarity borne without trust. The behavior of businesses trying to establish &#8220;customer relationships&#8221; is extremely similar, and off-putting for the same reason.</li>
<li>When parts of our different identities become intermixed: We assume different identities in different groups largely as a means of convenience &#8211; certain information is not relevant to a relationship, nor something we want to have influence a relationship. When this information gets added (say, your coworkers find out the <a href="http://www.boingboing.net/2010/05/06/naked-scanner-reveal.html">size of your genitals</a>), this can be profoundly upsetting.</li>
<li>When we feel we&#8217;re being misrepresented: We cultivate our identities carefully, especially in our dealings with others, and we&#8217;ve a certain idea of what that identity is. When partial information is revealed or when we feel like we&#8217;re being unfairly or inaccurately represented, we feel a powerful need to correct this, and we get very upset. This includes attaching our name as an endorsement of a product or service &#8211; we consider this tantamount to misrepresenting us wholesale.</li>
</ol>
<p>When we engage in a relationship (very broadly) with a person or an entity, we reveal parts of our identity to that entity. The degree to which we do so is commensurate with the trust we have in that person. Each of the three breaches above cause us to lose trust in that entity, as it&#8217;s a breach of an unspoken agreement easily as strong as whatever other agreement we&#8217;ve formed with that entity. In effect, any given transaction has two components: the transaction itself and the trust transaction.</p>
<p>Facebook has performed all three of these breaches, repeatedly and remorselessly. For those of us who started in college, we gave Facebook a certain part of our identity &#8211; typically one with more red cups and horticultural appreciation than what we&#8217;d present to those not privy to that persona. Facebook proceeded to open this network up to the rest of the world, instantly revealing a swath of information (and frequently, indiscretions) that we&#8217;d not have shared otherwise. Facebook has repeatedly revealed, without our consent (&#8216;opt-out&#8217; might as well say &#8216;f*ck you&#8217;), large amounts of personal information to people we haven&#8217;t decided to engage in relationships with, and revealed relationships in ways that were tantamount to slapping our endorsement &#8211; putting our identity up as collateral &#8211; on a given third party. Most recently, Facebook has, again without soliciting our consent, revealed our information by connection with our friends.</p>
<p>In every instance, Facebook has taken what was a trust relationship and treated it as a purely commercial transaction. We feel betrayed, because we were betrayed, even if Facebook wasn&#8217;t aware they were betraying anything.</p>
<p><em>Thanks to Sally, Doug, and the other people whose names elude me but whose ideas informed me. (Contact information withheld because my sense of irony is still intact.)</em></p>
<p><em><span style="font-style: normal;">&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;</span></em></p>
<p><em><a name="note-1"></a>Note 1: It&#8217;s worth noting here that the ability to hide one&#8217;s true personality has helped many a wallflower build a more confident representation online. This &#8216;pseudonymity&#8217; (gratz, privacycamp), therefore, is not universally negative, but it does obfuscate our true identity.</em></p>
]]></content:encoded>
			<wfw:commentRss>http://finelycultured.com/2010/05/on-privacy/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>The Ubiquitous Web And Local Knowledge</title>
		<link>http://finelycultured.com/2010/04/ubuquity_and_local_knowledge/</link>
		<comments>http://finelycultured.com/2010/04/ubuquity_and_local_knowledge/#comments</comments>
		<pubDate>Sat, 24 Apr 2010 20:45:45 +0000</pubDate>
		<dc:creator>Eric Danielson</dc:creator>
				<category><![CDATA[Personal]]></category>
		<category><![CDATA[Tech]]></category>
		<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[local knowledge]]></category>
		<category><![CDATA[san francisco]]></category>
		<category><![CDATA[ubiquitous web]]></category>

		<guid isPermaLink="false">http://finelycultured.com/?p=88</guid>
		<description><![CDATA[Or, why it&#8217;s still good to know people. (I&#8217;m aware this is an &#8220;obvious-man&#8221; sort of post, but I think it&#8217;s interesting to consider the limits of the info-god as we rely increasingly on smartphones and ubiquitous data.) I&#8217;ve been living in San Francisco for almost 8 months now. I&#8217;m starting to get a pretty [...]]]></description>
			<content:encoded><![CDATA[<p>Or, why it&#8217;s still good to know people.</p>
<p><em>(I&#8217;m aware this is an &#8220;obvious-man&#8221; sort of post, but I think it&#8217;s interesting to consider the limits of the info-god as we rely increasingly on smartphones and ubiquitous data.)</em></p>
<p>I&#8217;ve been living in San Francisco for almost 8 months now. I&#8217;m starting to get a pretty good feel for the city, though I&#8217;ve spent most of my time on the east side. Google maps have been invaluable to me in this process, allowing me to wander without concern for getting back home, directing me to the nearest stores, in general giving me at least the base knowledge to explore the city. I can&#8217;t overstate the incredible feeling of just walking out the door in a totally foreign city with no real concern for when or how you&#8217;ll get back home.</p>
<p>Bobbi, the woman from whom I rent a room, has lived in the city for the better part of a couple decades now, and I&#8217;m beginning to suspect I should be asking her a lot more than I&#8217;m asking Google.</p>
<p>What drove this home most recently was a trip over to the Fillmore area. I was meeting a friend of mine in a coffee shop at Fillmore and Sacramento. Google recommended the 10 bus, but I missed that, so the next option was the 45, which stops at Union and Fillmore. Google suggested I walk from Union to Sacramento on Fillmore.</p>
<p>For those of you who don&#8217;t live in the city, this is only about a half-mile walk along Fillmore. For those of you who do live in the city, you might know why these are terrible, terrible, terrible directions.</p>
<p>See, Google Maps doesn&#8217;t take terrain into account with its walking directions. And San Francisco is a city for which Terrain is quite an important factor. Between Union and Broadway, a scant 3 blocks along Fillmore, there&#8217;s about a 100ft change in elevation. To put that in perspective &#8211; in the space of three blocks, you climb the equivalent of 10 stories. There are STAIRS CUT INTO THE HILL. Don&#8217;t get me wrong, there&#8217;s a beautiful view from the top &#8211; or so I hear. I was hallucinating by then. I mentioned this to Bobbi later and she just laughed, because this is just a blindly obviously a bad idea to anyone who&#8217;s lived in the area &#8211; You take the 10 or the 22. This is how you get to Fillmore, Period, because otherwise you have to hire a Sherpa or a cab.</p>
<p>To give a couple more examples:</p>
<p>Google&#8217;s sent me past Taylor and Ellis and sent me up 6th st., both at night. For non-SFers, this is the Tenderloin, also known as &#8220;Man, I am gonna get Stabbed if I don&#8217;t get out of here.&#8221; It&#8217;s told me to drive along the Embarcadero during the weekend (it&#8217;s quite insistent on this route. I&#8217;m beginning to suspect Google of having a stake in the Farmer&#8217;s market). It might as well tell me to drive into a parking lot. It&#8217;s recommended stores that have been closed so long there&#8217;s no sign there was ever anything other than a vacant building there. In general, it&#8217;s given me generally accurate, utterly context-free information.</p>
<p>Google&#8217;s been a great reference and safety net as I learn the city, but it&#8217;s a pale comparison for acquired knowledge, and incidents like this have made me increasingly cautious of my over-reliance on third-party or aggregated knowledge in lieu of personal experience.</p>
]]></content:encoded>
			<wfw:commentRss>http://finelycultured.com/2010/04/ubuquity_and_local_knowledge/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Did Google Just Show China&#8217;s Limits?</title>
		<link>http://finelycultured.com/2010/03/did-google-just-show-chinas-limits/</link>
		<comments>http://finelycultured.com/2010/03/did-google-just-show-chinas-limits/#comments</comments>
		<pubDate>Fri, 26 Mar 2010 01:12:41 +0000</pubDate>
		<dc:creator>Eric Danielson</dc:creator>
				<category><![CDATA[Politics]]></category>
		<category><![CDATA[Tech]]></category>
		<category><![CDATA[China]]></category>
		<category><![CDATA[Google]]></category>

		<guid isPermaLink="false">http://finelycultured.com/?p=73</guid>
		<description><![CDATA[The Big News of the week is Google&#8217;s pull out from China, which is the inevitable, extremely well-spun end of the conflict which started back in January. It&#8217;s been aptly described as the first great clash of the 21st century’s two emergent superpowers, and while it&#8217;s certainly elevated Google&#8217;s international profile &#8211; few countries get [...]]]></description>
			<content:encoded><![CDATA[<p>The Big News of the week is Google&#8217;s pull out from China, which is the inevitable, extremely well-spun end of the conflict which started back in January. It&#8217;s been aptly described as <a href="http://www.scientificamerican.com/article.cfm?id=internat-ideology-war">the first great clash of the 21st century’s two emergent superpowers</a>, and while it&#8217;s certainly elevated Google&#8217;s international profile &#8211; few countries get the kind of attention from China that Google has &#8211; it may well also be showing the limit of China&#8217;s influence over its own people.</p>
<p>The incident started with a massive attack against 26 different American companies which Google claims it traced back to the Chinese government. However, as <a href="http://www.foreignpolicy.com/articles/2010/03/03/china_s_hacker_army">Foreign Policy recently highlighted</a>, China&#8217;s hackers are neither a monolithic group nor strictly under the control of the Government. I&#8217;ve no doubt the Chinese government can influence the group, and they can exert their will against certain hackers or certain groups, but I&#8217;d question their ability to really reign in the hacker army, and I suspect the Chinese government&#8217;s got their own reservation on that count. At the least, this would be a challenging task that would almost certainly require draconian degrees of control over China&#8217;s networks with enormous collateral damage to legitimate companies in China. This puts the Chinese government in an interesting position. They&#8217;re viewed as holding near supreme sway over their country, and that image has served them extremely well, but this may be the one nut they can&#8217;t crack. If they promise to stop the attacks, they run the risk of not being able to deliver.</p>
<p>Google&#8217;s complaint involved Chinese hackers, with the approval of the Chinese Government, illegally infiltrating several American corporations to steal private data. It&#8217;s not quite Mossad in Dubai bad, but it&#8217;s bad. This hardly seems the sort of thing a government&#8217;s going to lose face for  - unless the alternative is even worse, like, say, showing they don&#8217;t really have the level of control everyone assumes they do.</p>
<p>I am not an expert on China, and there&#8217;s certainly a whole lot of other plausible explanations for China&#8217;s actions, but given the size and skill of the hacker army in China, I don&#8217;t see &#8220;stopping the attacks&#8221; as any kind of an option. It really doesn&#8217;t matter what other motives they may have beyond that &#8211; they Can Not make that promise, whatever the consequences of not doing so may be, and that&#8217;s an awkward position for a party that thrives on visible shows of influence.</p>
<p><em>Note: This theory was exhaustively researched over a couple beers and is put out as a thought experiment only.</em></p>
]]></content:encoded>
			<wfw:commentRss>http://finelycultured.com/2010/03/did-google-just-show-chinas-limits/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Thoughts on (an)Droid after 1 month</title>
		<link>http://finelycultured.com/2010/01/thoughts-on-android-after-1-mont/</link>
		<comments>http://finelycultured.com/2010/01/thoughts-on-android-after-1-mont/#comments</comments>
		<pubDate>Mon, 01 Feb 2010 05:06:22 +0000</pubDate>
		<dc:creator>Eric Danielson</dc:creator>
				<category><![CDATA[Hardware]]></category>
		<category><![CDATA[Tech]]></category>

		<guid isPermaLink="false">http://finelycultured.com/?p=70</guid>
		<description><![CDATA[I&#8217;ve had my droid for a touch more than a month now, so I thought I&#8217;d give some general thoughts. I&#8217;m just going to shoot from the hip here: What&#8217;s Good: Google Voice &#8211; I had to go back and edit this article because I almost forgot about this one &#8211; that&#8217;s how well it&#8217;s [...]]]></description>
			<content:encoded><![CDATA[<p>I&#8217;ve had my droid for a touch more than a month now, so I thought I&#8217;d give some general thoughts. I&#8217;m just going to shoot from the hip here:</p>
<p><strong>What&#8217;s Good:</strong></p>
<ol>
<li>Google Voice &#8211; I had to go back and edit this article because I almost forgot about this one &#8211; that&#8217;s how well it&#8217;s integrated into the system. My GV number is effectively my Only number right now. I&#8217;m saving $20/mo because I don&#8217;t need text messaging from VZW anymore. Like everything else, it occasionally glitches, but otherwise, it&#8217;s integrated almost flawlessly into the system. I am seriously impressed by this.</li>
<li>The Keyboard &#8211; thank god for the keyboard. I&#8217;m still not comfortable with the on-screen keyboard, though that&#8217;s primarily because no matter how good the on-screen is, the physical is still better. It&#8217;s not a great keyboard, but it&#8217;s a keyboard.</li>
<li>Multitasking &#8211; The #1 reason I went with the Droid over the iPhone, and one month on, I&#8217;m convinced I made the right choice. I listen to Pandora Constantly, and I can do anything else I want while doing so. Eat it, iPhone.</li>
<li>Widgets &#8211; I wouldn&#8217;t have thought so, but the widgets are really nice. I&#8217;ve got twitter, weather, mail, to-do&#8217;s, and my calendar all visible on my home screen at a glance, and I can toggle Wi-Fi, GPS, screen brightness, and airplane mode all from one of my home screens.</li>
<li>Customizability &#8211; Speaking of home screens, I swapped out the default Home app for Home++, which does just a bit more than Home. I also removed the standard camera noise, so now it doesn&#8217;t sound like I&#8217;m shooting someone when I take a picture</li>
<li>Easy Root &#8211; I rooted my phone in 5 minutes, and 4 of those were spent downloading the patch.</li>
</ol>
<p><strong>What&#8217;s Bad:</strong></p>
<ol>
<li>The Camera &#8211; like, biblically bad. I didn&#8217;t expect much, but unless you&#8217;re in broad daylight, don&#8217;t expect to take a picture. I&#8217;ve yet to figure out why this thing insists on closing the iris when the frame&#8217;s already black. It&#8217;s awful.</li>
<li>App Selection &#8211; Don&#8217;t let anyone tell you different. It&#8217;s not an iPhone, so it&#8217;s not what Every App You&#8217;ll Ever Want is developed for (There&#8217;s a few reasons to expect that not to change anytime soon either). There&#8217;s a lot of good apps &#8211; Pandora, Yelp, Facebook, Twitter clients, all the critical stuff &#8211; and there&#8217;s some really cool Droid Only stuff &#8211; Google Goggles is awesome &#8211; but it&#8217;s Not an iPhone, and that&#8217;s annoyed me more than once.</li>
<li>Touch Screen &#8211; The screen is gorgeous, but I&#8217;d back up what that test showed &#8211; the Droid&#8217;s screen has some serious precision problems. This is part of the reason why the On-Screen keyboard is so bad.</li>
<li>It&#8217;s Buggy &#8211; I knew this going in, but it&#8217;s not a totally polished system, and it shows. I&#8217;ve also gotta believe the iPhone apps crash a bit less than the Droid variants, if for no other reason than that they&#8217;ve sold as many as they have. I&#8217;m pretty accustomed to beta software, but somehow I get the feeling I wouldn&#8217;t have a Droid if the iPhone was as buggy &#8211; the market wouldn&#8217;t have taken off.</li>
<li>Apps can only be stored in internal storage &#8211; I&#8217;ve got a 16gb sd card, but all my apps have to be crammed into the internal memory. Not a huge problem so far, but apparently it&#8217;s holding back a few big name developers.</li>
</ol>
<p><strong>Overall:</strong></p>
<p>Would I buy it again? Yeah, definitely. I&#8217;ve got my nags with it, but overall it&#8217;s a really impressive piece of hardware (and accompanying software). It&#8217;s instantly become an extension of my daily life and it hasn&#8217;t really pissed me off, and that&#8217;s saying a lot &#8211; I&#8217;m not normally charitable towards gadgets.</p>
<p>Do I regret not getting an iPhone? Sometimes. The app problem can&#8217;t be overstated &#8211; it&#8217;s the number one reason I wish this phone had a piece of fruit on the back. Until the multitasking issue gets fixed, though, there&#8217;s absolutely no way I would switch, especially now that I&#8217;ve used a phone that has it.</p>
<p><strong>Final Thoughts:</strong></p>
<p>Ultimately, while I&#8217;m a big fan of my Droid, if the iPhone gets multitasking, I&#8217;m going to have a hard time not switching. The arguments about open development aren&#8217;t enticing to me &#8211; the apps I&#8217;m missing on the Droid aren&#8217;t coming out of big shops, they&#8217;re mostly made by startups and small firms, so whatever you want to say about &#8216;iron fists&#8217; and &#8216;walled gardens&#8217;, I&#8217;ll tell ya &#8211; from outside the garden, it looks pretty welcoming in there.</p>
<p>Just let me run two apps at a time, dammit.</p>
]]></content:encoded>
			<wfw:commentRss>http://finelycultured.com/2010/01/thoughts-on-android-after-1-mont/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Mac OS X Tip: Use a solid color background of any color</title>
		<link>http://finelycultured.com/2009/11/mac-os-x-tip-use-a-solid-color-background-of-any-color/</link>
		<comments>http://finelycultured.com/2009/11/mac-os-x-tip-use-a-solid-color-background-of-any-color/#comments</comments>
		<pubDate>Fri, 13 Nov 2009 23:20:38 +0000</pubDate>
		<dc:creator>Eric Danielson</dc:creator>
				<category><![CDATA[Featured]]></category>
		<category><![CDATA[How-To]]></category>
		<category><![CDATA[Software]]></category>
		<category><![CDATA[Tech]]></category>

		<guid isPermaLink="false">http://finelycultured.com/?p=47</guid>
		<description><![CDATA[I&#8217;ve been annoyed by the inability to easily set a solid color background since I started using OS X. Apple ships a couple &#8220;Solid background&#8221; png files, but they&#8217;re without fail Not the colors I want. Turns out, there&#8217;s a nice, easy way to get a solid color background of your choice that doesn&#8217;t involve [...]]]></description>
			<content:encoded><![CDATA[<p>I&#8217;ve been annoyed by the inability to easily set a solid color background since I started using OS X. Apple ships a couple &#8220;Solid background&#8221; png files, but they&#8217;re without fail Not the colors I want.</p>
<p>Turns out, there&#8217;s a nice, easy way to get a solid color background of your choice that doesn&#8217;t involve making a new image for each color you want. OS X supports transparency in PNGs used as wallpaper, showing the desktop color through the transparent parts. If you use a small transparent PNG and set it to &#8220;Center&#8221;, you&#8217;ll get a solid color desktop, and you can change the color using the color picker next to the &#8220;Center&#8221; pull-down.</p>
<p>I&#8217;ve conveniently attached a 128&#215;128 totally transparent png file below:</p>
<div id="attachment_48" class="wp-caption aligncenter" style="width: 138px"><img class="size-full wp-image-48 " title="blank" src="http://finelycultured.com/wp-content/uploads/2009/11/blank.png" alt="Save me and use me as wallpaper!" width="128" height="128" /><p class="wp-caption-text">Right-click above me!</p></div>
<p>Save this file to your &#8220;Pictures&#8221; folder, open up System Preferences, pick Desktop &amp; Screensaver, select the blank picture, and choose &#8220;Center&#8221; from the orientation pulldown menu. A color selection will appear to the left &#8211; click it, and select the color you want your desktop to be.</p>
<p>Simple, but this has been periodically bugging the hell out of me for about a decade now.</p>
<p>Note: This is based on a tip on MacOSXHints, found here:<br />
<a href="http://www.macosxhints.com/article.php?story=20021002055217828"> http://www.macosxhints.com/article.php?story=20021002055217828</a></p>
]]></content:encoded>
			<wfw:commentRss>http://finelycultured.com/2009/11/mac-os-x-tip-use-a-solid-color-background-of-any-color/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Using Apache2&#8242;s Digest authentication</title>
		<link>http://finelycultured.com/2009/09/using-apache2s-digest-authentication/</link>
		<comments>http://finelycultured.com/2009/09/using-apache2s-digest-authentication/#comments</comments>
		<pubDate>Tue, 01 Sep 2009 20:48:32 +0000</pubDate>
		<dc:creator>Eric Danielson</dc:creator>
				<category><![CDATA[Featured]]></category>
		<category><![CDATA[How-To]]></category>
		<category><![CDATA[Tech]]></category>

		<guid isPermaLink="false">http://finelycultured.com/?p=25</guid>
		<description><![CDATA[I finally got Apache&#8217;s Digest authentication, and since there&#8217;s a serious dearth of information online about getting Digest working, I decided I&#8217;d write up a bit. It&#8217;s not difficult, but I&#8217;ve had far more trouble than I should have, and most of that&#8217;s due to nonexistant documentation. Why Digest? Standard HTTP auth sends the password [...]]]></description>
			<content:encoded><![CDATA[<p>I finally got Apache&#8217;s Digest authentication, and since there&#8217;s a serious dearth of information online about getting Digest working, I decided I&#8217;d write up a bit. It&#8217;s not difficult, but I&#8217;ve had far more trouble than I should have, and most of that&#8217;s due to nonexistant documentation.</p>
<h2>Why Digest?</h2>
<p>Standard HTTP auth sends the password in plaintext, which is generally bad. On sites with an SSL cert, this is less of a problem, since the traffic is encrypted to begin with, but on smaller sites, it&#8217;s a lot of overhead to set up SSL.<br />
Digest authentication hashes the password before sending it &#8211; it&#8217;s an MD5, which isn&#8217;t great, but it&#8217;s also not your password flapping in the breeze, so to speak. It&#8217;s a good intermediate step to make sure you&#8217;re not transmitting plaintext passwords anywhere.</p>
<h2>What&#8217;s the drawback?</h2>
<p>There&#8217;s a very small performance hit, and it&#8217;s not as easy to set up, but the biggest drawback is that you have to rebuild your apache users file.</p>
<h2>So how do I do it?</h2>
<p>Digest is very similar to standard Apache access configuration, with just a couple changes.</p>
<ol>
<li>Make sure you have digest enabled &#8211; if you have shell access, type:<br />
<code>a2enmod auth_digest</code><br />
otherwise, in your httpd.conf or apache2.conf file, include the line:<br />
<code>LoadModule auth_digest_module modules/mod_auth_digest.so</code></li>
<li>Create your new Digest authentication file. At the shell, type:<br />
<code><br />
cd /var/www/<br />
htdigest -c .digest Internal Admin<br />
</code><br />
Note: This code creates a user named Admin in the realm &#8220;Internal&#8221; &#8211; we&#8217;ll get to realms later.<br />
You&#8217;ll be asked for a password, and then asked to confirm the password.</li>
<li>Create your .htaccess file in the directory you want to protect &#8211; in this case, we&#8217;ll assume it&#8217;s http://(yourdomain)/Private:<br />
<code><br />
BrowserMatch "MSIE" AuthDigestEnableQueryStringHack=On<br />
AuthType Digest<br />
AuthName "Internal"<br />
AuthDigestDomain /Private<br />
AuthUserFile /var/www/.digest<br />
Require user valid-user<br />
</code><br />
The first line is necessary to make Digest work for IE6. IE7 seems fine.<br />
AuthName is the realm you chose earlier &#8211; Digest allows you to make multiple &#8220;realms&#8221; to protect different directories.<br />
Also, note the AuthUserFile line &#8211; Apache docs swear that line should read AuthDigestFile. It shouldn&#8217;t.</li>
</ol>
<p>That&#8217;s it &#8211; you&#8217;re using Digest!<br />
The code is interchangeable anywhere you&#8217;d normally use standard Apache password auth, and you can use all the other normal .htaccess commands as well. It&#8217;s just a mildly more secure, and horrendously documented, alternative to standard HTTP authentication.</p>
<p><a href="Authentication, Authorization and Access Control">Apache.org: Authentication, Authorization and Access Control</a><br />
<a href="http://httpd.apache.org/docs/2.0/mod/mod_auth_digest.html">Apache.org: Apache Module mod_auth_digest</a></p>
]]></content:encoded>
			<wfw:commentRss>http://finelycultured.com/2009/09/using-apache2s-digest-authentication/feed/</wfw:commentRss>
		<slash:comments>5</slash:comments>
		</item>
	</channel>
</rss>
