<?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/"
	xmlns:georss="http://www.georss.org/georss" xmlns:geo="http://www.w3.org/2003/01/geo/wgs84_pos#" xmlns:media="http://search.yahoo.com/mrss/"
	>

<channel>
	<title>A Random String of Bits &#187; Technology</title>
	<atom:link href="http://stringofbits.net/category/technology/feed/" rel="self" type="application/rss+xml" />
	<link>http://stringofbits.net</link>
	<description>Sequences of bytes about Technology, Programming, Gaming, Doctor Who, and more</description>
	<lastBuildDate>Sat, 28 Jan 2012 12:06:08 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.com/</generator>
<cloud domain='stringofbits.net' port='80' path='/?rsscloud=notify' registerProcedure='' protocol='http-post' />
<image>
		<url>http://s2.wp.com/i/buttonw-com.png</url>
		<title>A Random String of Bits &#187; Technology</title>
		<link>http://stringofbits.net</link>
	</image>
	<atom:link rel="search" type="application/opensearchdescription+xml" href="http://stringofbits.net/osd.xml" title="A Random String of Bits" />
	<atom:link rel='hub' href='http://stringofbits.net/?pushpress=hub'/>
		<item>
		<title>EA Origin, or: a Case Study in bad consumer experience</title>
		<link>http://stringofbits.net/2011/09/15/ea-origin-or-a-case-study-in-bad-consumer-experience/</link>
		<comments>http://stringofbits.net/2011/09/15/ea-origin-or-a-case-study-in-bad-consumer-experience/#comments</comments>
		<pubDate>Thu, 15 Sep 2011 23:00:41 +0000</pubDate>
		<dc:creator>Anna Wiggins</dc:creator>
				<category><![CDATA[Technology]]></category>
		<category><![CDATA[angry rant]]></category>
		<category><![CDATA[consumer advocacy]]></category>
		<category><![CDATA[ea origin]]></category>
		<category><![CDATA[Electronic Arts]]></category>
		<category><![CDATA[The Sims]]></category>

		<guid isPermaLink="false">http://stringofbits.net/?p=507</guid>
		<description><![CDATA[I don&#8217;t play The Sims. The premise holds a certain amount of appeal for me, and the franchise&#8217;s quirky sense of humour and artistic style agree with my aesthetic sense, but something about the gameplay &#8211; the ebb and flow of action and the effort/reward cycle the game creates &#8211; doesn&#8217;t quite gel into an [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=stringofbits.net&amp;blog=23443234&amp;post=507&amp;subd=stringofbits&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>I don&#8217;t play The Sims. The premise holds a certain amount of appeal for me, and the franchise&#8217;s quirky sense of humour and artistic style agree with my aesthetic sense, but something about the gameplay &#8211; the ebb and flow of action and the effort/reward cycle the game creates &#8211; doesn&#8217;t quite gel into an experience that I enjoy.</p>
<p>But my wife, she <strong>loves</strong> The Sims. She has sunk at least as many hours into The Sims 3 as I have in Starcraft 2 and Civ 5 combined. She owns every major expansion that&#8217;s been released, as well as The Sims Medieval and its expansion.</p>
<p>So when her Sims 3 update failed halfway through, leaving the game in an unlaunchable state, she was understandably distressed. The game plus all of its expansions requires a lot of effort to reinstall; we&#8217;d be looking at several hours of installing, with user prompts spaced just far enough apart to make doing anything else impractical.</p>
<p>So, we researched the issue and discovered that the EA Download Manager needed to be updated before The Sims 3 could be updated. Now, EA doesn&#8217;t make it terribly clear that the Download Manager is a separate application; it is usually launched from The Sims launcher, and is skinned to look like any other menu in The Sims when this is done. So, we found and updated the EA Download Manager.</p>
<p>And it turned into EA Origin.</p>
<p>Again, nothing told us this was going to happen, it just popped up an EA Origin installer, without telling us what Origin was, why we needed it, or why it started installing it when we were trying to update EA Download Manager.</p>
<p>Some further googling revealed that EA Origin is the new replacement for the Download Manager, and that it (gods help us) is &#8220;our new digital playground&#8221;. Apparently it is EA&#8217;s attempt at Yet Another Online Distribution System. With social features! Look, EA, I hate to break it to you, but Valve already one that battle conclusively. We need another Games For Windows Live about as much as we need arsenic.</p>
<p>The fact that nothing told us, at any point during this process, what EA Origin was or why it was being installed is a huge oversight. The user shouldn&#8217;t have to use Google to figure out what the product you&#8217;re giving them is. This is a terribly sloppy user experience.</p>
<p>But it&#8217;s still not insurmountable. So, rolling our eyes, we proceed to install it, and then we go back and launch The Sims 3.</p>
<p>It launches EA Origin instead.</p>
<p>Why has this happened? Perhaps Origin serves as the new launcher? Okay, that&#8217;s fine &#8211; another crappy application sitting in the system tray, but we can at least live with this. Let&#8217;s just launch The Sims 3 through Origin.</p>
<p>What&#8217;s worse, EA Origin wants us to create a profile before it will let us do anything. This is obnoxious &#8211; yesterday, The Sims 3 would just launch and let us be happy. Plus, we already have a login on The Sims website, which is where you go to purchase downloadable content for the game. So this is Yet Another Login to Remember, and that&#8217;s annoying. With absolutely no warning, EA has added a ton of requirements that prevent us from playing a game that has worked fine on its own. Still, whatever. Let&#8217;s make this profile, get this over with.</p>
<p>Now we can just launch The Sims 3 from here, right?</p>
<p>Click. Click. Nothing happens.</p>
<p>Did we do something wrong? Is our profile not acceptable? Is EA just not that into us any more? We close origin, launch it again, try The Sims again. Still nothing. After a few more minutes of troubleshooting, we give it the old Windows solution &#8211; we reboot the machine.</p>
<p>When we get back to Windows and launch The Sims again, it launches perfectly, without seeming to care about EA Origin. It&#8217;s like nothing ever happened, and everything works just fine. The old Download Manager interface is even still there, and allows us to update the system. Apparently it just wanted Origin for authentication, or something?</p>
<p>But even though this story has a happy ending, there are still troubling implications here. EA did a very poor job of informing the user about what was happening here, leaving us to guess and google and hope that things would end up working. This was a very stress-inducing experience, which is not what you want when you sit down to play a game.</p>
<p>Also, the fact that they retroactively tied a single-player game into an online distribution platform seems both unnecessary and potentially problematic. When we bought the game, we did not do so with the understanding that an Internet connection was necessary for authentication or activation, for instance. We didn&#8217;t agree to have the game tied in to an account that may prevent us from updating if it is ever suspended or deleted for some reason (and these things happen; no system is free of errors). While we don&#8217;t have any reason to suspect that the game would become *unplayable* in the absence of Origin, this is still troubling.</p>
<p>In a post like this, I would, at this point, customarily make a plea to the company in question to be better, to stop disappointing its users, to be more transparent and try to foster trust. But I&#8217;m not going to bother. Because EA has proven themselves time and again to be unwilling to hear those pleas. Instead, I&#8217;m going to close with a question.</p>
<p>EA, <a href="http://chrishecker.com/Can_a_Computer_Make_You_Cry%3F">what happened to you</a>?</p>
<br />Filed under: <a href='http://stringofbits.net/category/technology/'>Technology</a> Tagged: <a href='http://stringofbits.net/tag/angry-rant/'>angry rant</a>, <a href='http://stringofbits.net/tag/consumer-advocacy/'>consumer advocacy</a>, <a href='http://stringofbits.net/tag/ea-origin/'>ea origin</a>, <a href='http://stringofbits.net/tag/electronic-arts/'>Electronic Arts</a>, <a href='http://stringofbits.net/tag/the-sims/'>The Sims</a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/stringofbits.wordpress.com/507/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/stringofbits.wordpress.com/507/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/stringofbits.wordpress.com/507/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/stringofbits.wordpress.com/507/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/stringofbits.wordpress.com/507/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/stringofbits.wordpress.com/507/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/stringofbits.wordpress.com/507/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/stringofbits.wordpress.com/507/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/stringofbits.wordpress.com/507/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/stringofbits.wordpress.com/507/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/stringofbits.wordpress.com/507/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/stringofbits.wordpress.com/507/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/stringofbits.wordpress.com/507/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/stringofbits.wordpress.com/507/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=stringofbits.net&amp;blog=23443234&amp;post=507&amp;subd=stringofbits&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://stringofbits.net/2011/09/15/ea-origin-or-a-case-study-in-bad-consumer-experience/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/7a6c6c99ccd3e2bbaec318a52fb3d43c?s=96&#38;d=identicon&#38;r=PG" medium="image">
			<media:title type="html">annabunches</media:title>
		</media:content>
	</item>
		<item>
		<title>Tabletop Roleplaying over the Internet</title>
		<link>http://stringofbits.net/2011/06/08/tabletop-roleplaying-over-the-internet/</link>
		<comments>http://stringofbits.net/2011/06/08/tabletop-roleplaying-over-the-internet/#comments</comments>
		<pubDate>Wed, 08 Jun 2011 18:00:31 +0000</pubDate>
		<dc:creator>Anna Wiggins</dc:creator>
				<category><![CDATA[Gaming]]></category>
		<category><![CDATA[Technology]]></category>
		<category><![CDATA[dungeons & dragons]]></category>
		<category><![CDATA[epic words]]></category>
		<category><![CDATA[maptool]]></category>
		<category><![CDATA[open source]]></category>
		<category><![CDATA[teamspeak]]></category>

		<guid isPermaLink="false">https://stringofbits.wordpress.com/?p=366</guid>
		<description><![CDATA[I have been playing tabletop roleplaying games since a fateful day when I was 13. I had gone with a friend to play Magic: the Gathering at a local video game shop that also happened to sell Magic cards. One of the players mentioned a gaming group starting up at the local Media Play. Curious, [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=stringofbits.net&amp;blog=23443234&amp;post=366&amp;subd=stringofbits&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>I have been playing tabletop roleplaying games since a fateful day when I was 13. I had gone with a friend to play Magic: the Gathering at a local video game shop that also happened to sell Magic cards. One of the players mentioned a gaming group starting up at the local Media Play.</p>
<p>Curious, my friend and I got a ride over to Media Play. There, I found a pretty large group of people playing Magic. I also saw an interesting sight: some people with books, funny shaped dice, and little painted figures arranged on a square grid. I watched for a few minutes, and quickly got the gist of what they were doing. I asked if I could join. The response? &#8220;Sure, we need a cleric.&#8221;</p>
<p>Thus began a hobby that has spanned half my life and cost a great deal of money. I have played a number of systems: World of Darkness, Cyberpunk 2020, Shadowrun, Rifts, Call of Cthulhu, Star Wars (the older edition that used d6s), homebrew systems created by various friends. But I always come back to D&amp;D. It was my first system, and it remains my favorite through three editions of the game. In a lot of ways, it has grown with me.</p>
<p>In the last few years, though, I haven&#8217;t had many chances to play D&amp;D. I was skeptical of 4e at first, and then spent a lot of money buying 4e books after Alexandra Erin convinced me of its merits in her <a href="http://alexandraerin.livejournal.com/43316.html">repeated</a>, <a href="http://alexandraerin.livejournal.com/44950.html">impassioned</a> <a href="http://alexandraerin.livejournal.com/67583.html">blog</a> <a href="http://alexandraerin.livejournal.com/69027.html">posts</a> <a href="http://alexandraerin.livejournal.com/110210.html">about</a> <a href="http://community.wizards.com/alexandraerin/blog/2010/07/21/hors_de_combat_-_what_does_0_hp_mean">it</a> (all of those links are excellent reading, even if you already know you like 4e). I sat on these purchases for months, planning games, even getting some people to make characters. But no game formed; the other players either didn&#8217;t have free time, or I didn&#8217;t have free time, or we were too far away.</p>
<h3>The Search for a Gaming Table</h3>
<p>Eventually I found a little free time to bring a game together, and since I couldn&#8217;t solve the problem of my friends&#8217; lack of free time, I started looking to solve the problem of people who had free time, but were too far away. So I started looking for a solution to playing D&amp;D over the Internet. Namely, what I needed was something known as a virtual tabletop. I started out with simple requirements: free is good, open source is even better. Since there was no good overview or comparison of the existing virtual tabletop options, I decided to make one. I&#8217;ll describe, briefly, why I didn&#8217;t pick each one (until I get to the one I *did* pick, of course).</p>
<h4>OpenRPG &#8211; frustratingly deprecated</h4>
<p>Years ago (about 10 of them), I tried using WebRPG as a virtual tabletop. I remember it having a somewhat cumbersome and over-engineered interface, and being frustrated with it on many levels. Still, it was the first thing in my memory, so it&#8217;s the first thing I looked up. Turns out it went open source a while back, and is now called <a href="http://www.rpgobjects.com/index.php?c=orpg">OpenRPG</a>.</p>
<p>Unfortunately, this was a non-starter. OpenRPG is written in Python (yay!), but doesn&#8217;t work with Python 2.7, which is the <em>de facto </em>standard in Fedora. I didn&#8217;t want to maintain a separate Python install for just one program (this is possible, but would be a pretty big hassle to set up), so OpenRPG was a bust.</p>
<h4>Screen Monkey &#8211; expensive and cumbersome</h4>
<p>The next program I discovered was Screen Monkey. Once again, Alexandra Erin was instrumental in this &#8211; she mentioned using it for her online games. Screen Monkey has one big advantage &#8211; for the players, it is browser based, so only the DM needs to install any client software. Unfortunately, that software only runs in Windows. So, I found an old install disk for Windows XP, and installed it as a virtual machine using <a href="http://www.linux-kvm.org/page/Main_Page">KVM</a>. Then I installed <a href="http://www.nbos.com/products/screenmonkey/screenmonkey-lite.htm">Screen Monkey Lite</a>.</p>
<p>More bad news, though. Screen Monkey Lite turns out to be rather light on useful features. The biggest problem is that you can&#8217;t save your work &#8211; you have to buy the $35 version of the program to save and restore a session. The tools for hiding what the players can see was also fairly awkward. Awkward, in fact, is the word I would use to describe the program&#8217;s feeling as a whole. NBOS are terribly proud of their software ($35 proud) only to be outdone by multiple free and open source competitors. Sounds like <a href="http://www.adobe.com/">some</a> <a href="http://www.microsoft.com/en-us/default.aspx">other</a> <a href="http://www.avid.com/US/products/family/pro-tools">software</a> <a href="http://www.oracle.com/index.html">companies</a> I know.</p>
<h4>Gametable &#8211; RIP</h4>
<p><a href="http://gametable.mornproductions.com/Index">Gametable</a> looked promising, but doesn&#8217;t seem to be actively developed (there was a sourceforge project available a while back, and remnants of it are <a href="http://gametableproj.sourceforge.net/Gametable/Home.html">here</a>, but it seems to be dead now), and it didn&#8217;t work very well for me.</p>
<h4>Fantasy Grounds &#8211; pretty, but overpriced</h4>
<p>Next up is<a href="https://www.fantasygrounds.com/"> Fantasy Grounds</a>. I didn&#8217;t even try the demo once I saw the price tag &#8211; $40 for the DM-capable client, and $24 each for the players&#8217; clients. One of my hard requirements is that my <strong>players</strong> not have to spend any money on the solution, so this one was right out. For a more affluent group, though, it might be a great solution. I will concede that it is gorgeous, and looks very well polished. Certainly a better contender for your money than Screen Monkey. And it has acknowledged, if unofficial, plugins for various game systems, including D&amp;D 4e.</p>
<h4>MapTool &#8211; the right balance</h4>
<p>Eventually, I found MapTool, one of the applications created by the <a href="http://rptools.net/">RPTools</a> team. MapTool originally didn&#8217;t impress me &#8211; it seemed cumbersome and unwieldy. After working with it for a while, though, I found that most of its design decisions make sense, and that it is very powerful. Like most powerful toolkits, it is subsequently pretty complicated, and using it effectively took some practice. However, once I got the hang of it, it&#8217;s unbeatable. It&#8217;s more stable than any of the other open source offerings, and it runs well out of the box. It lets you use fog of war, individual player views (based on available light sources), and it lets you make maps in advance but have them hidden from the players until you are ready to show them.</p>
<p>Also invaluable was <a href="http://forums.rptools.net/viewtopic.php?f=33&amp;t=15663">Dorpond&#8217;s 4e framework</a>. This is a set of configuration settings and macros that work together to make MapTool work well with the D&amp;D 4e rules. I have modified his macros a bit to fit my particular play style (notably, I prefer to let players roll their own initiatives), and am continuing to do so as I playtest them. You can find my latest version of the framework <a href="http://stringofbits.net/annas-4e-framework/">here</a>.</p>
<p>Also, three caveat with maptool:<br />
1. The network functionality doesn&#8217;t work with OpenJDK. Linux users will want to install the Java JRE instead. In Fedora, I just installed the jre RPM from <a href="http://www.java.com/en/download/linux_manual.jsp?locale=en">Sun&#8217;s website</a>, then edited MapTool&#8217;s startup script and added &#8216;export JAVA_HOME=/usr/java/default&#8217; and &#8216;export PATH=\$JAVA_HOME/bin:\$PATH&#8217; near the top of the file.<br />
2. When starting a server, if you do <strong>not</strong> select &#8216;Use Individual Views&#8217;, the GM will not see an accurate version of the player&#8217;s view.<br />
3. When you have tokens in the initiative list, players can only move their token on their own turn. Trying to move when they don&#8217;t have initiative will send them into an annoying endless loop of NullPointerExceptions. I&#8217;m hoping this gets fixed soon by the MapTools team, because it&#8217;s an obnoxious bug. Luckily, MapTools is Open Source &#8211; I may take a crack at finding that bug myself.</p>
<h4>D&amp;D Virtual Table &#8211; still cooking</h4>
<p>Wizards of the Coast has recently announced a beta version of their own virtual tabletop &#8211; called, simply enough, <a href="http://www.wizards.com/dnd/Tool.aspx?x=dnd/4new/tool/virtualtable">D&amp;D Virtual Table</a>. It is only available to select D&amp;D Insider subscribers. And, since D&amp;D Insider is not worth the price for me personally (a topic worthy of an entire post unto itself), I have no idea whether it is any good. It would also certainly require every player to have their own D&amp;D Insider subscription, so it breaks my stated rule. Still, it might be something to keep an eye on.</p>
<h3>Adding Voice</h3>
<p>So, now that we had a game table, we needed a way to talk to each other. Luckily, there is a readily available, cross-platform solution to this: <a href="http://www.teamspeak.com/">TeamSpeak</a>. Now, TeamSpeak isn&#8217;t open source, and it is not free if you want to host multiple teamspeak servers on one machine (or have more than 32 clients connected). But it&#8217;s great for a D&amp;D game, which would never need those resources. It&#8217;s dead simple to set up the server in Linux, and the permissions management is very intelligent (and again, dead simple).</p>
<p>Let&#8217;s look at the options I didn&#8217;t choose for voice chat: <a href="http://www.skype.com/intl/en-us/home">Skype</a> relies on a central server, and has a history of iffy privacy practices. <a href="http://www.ventrilo.com/index.php">Ventrilo</a> offers a Linux server, but no Linux client. And the voice chat available in various Instant Messaging programs is either unreliable, or doesn&#8217;t work in Linux either. So, TeamSpeak it is, and it works great.</p>
<h3>Passing Notes</h3>
<p>The last thing I needed was a way to present textual information to the players. I do a lot of world-building and writing background material, and I want to make sure that is available to the players (at least, the publicly revealable parts). I also want to be able to give them things like notes that they might acquire, and possibly conduct some roleplaying between sessions if a session ends during downtime.</p>
<p>There are plenty of ways to simply share files, and these would be adequate. <a href="http://www.dropbox.com">Dropbox</a> could be used, especially for image files. <a href="https://docs.google.com/">Google Docs</a> seemed like a pretty good way to share documents with players. After considering it for a while, I discovered a site called <a href="http://www.epicwords.com">Epic Words</a>. Epic Words gives you a journal system, so players can post in-character summaries of game sessions; this also works well as a means to deliver chunks of story-based text such as notes, riddles, etc. in a way that the players can easily access and remember.</p>
<p>Epic Words also has wiki-like functionality, and lets you define &#8220;references&#8221;, including NPCs and places, that will be linked automatically when mentioned in a blog post. This is an especially useful feature, because it lets me, as the DM, add content to the players&#8217; writings without actually changing their creative work. It also gives you a private forum, which is perfect for the kind of between-session downtime roleplaying I have in mind.</p>
<p>Epic Words&#8217; biggest problem is that it only allows you to run a single campaign without either upgrading, &#8216;retiring&#8217; the existing campaign, or deleting it. And even with the upgrade, there doesn&#8217;t appear to be a way to share references / wiki content between campaigns (I don&#8217;t know this for sure, because I can&#8217;t really test that, but it appears to be the case). If I were running multiple campaigns, there is a slew of generic world history and other setting information I would like to share between campaigns. If you could make wiki pages independent of campaigns and then &#8216;link&#8217; them in, that would be ideal. As it is, I happen to only be running one campaign at the moment, so I will have to cross that bridge if and when I come to it.</p>
<h3>Final Thoughts</h3>
<p>In the end, I ended up using three tools to interact with my players: MapTool, TeamSpeak, and Epic Words. I like this solution because it is very Unix-philosophy friendly &#8211; each tool serves one purpose. MapTool acts as our tabletop, TeamSpeak is how we communicate, and Epic Words gives us a handy place for wrap-up/reference/between-session play. The overall experience is pretty excellent; this is a good way to play D&amp;D. It is better than I was hoping for, and even surpasses actual face-to-face play in some ways (I would love to find a way to use MapTool with a projector for face-to-face play).</p>
<br />Filed under: <a href='http://stringofbits.net/category/gaming/'>Gaming</a>, <a href='http://stringofbits.net/category/technology/'>Technology</a> Tagged: <a href='http://stringofbits.net/tag/dungeons-dragons/'>dungeons &amp; dragons</a>, <a href='http://stringofbits.net/tag/epic-words/'>epic words</a>, <a href='http://stringofbits.net/tag/maptool/'>maptool</a>, <a href='http://stringofbits.net/tag/open-source/'>open source</a>, <a href='http://stringofbits.net/tag/teamspeak/'>teamspeak</a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/stringofbits.wordpress.com/366/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/stringofbits.wordpress.com/366/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/stringofbits.wordpress.com/366/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/stringofbits.wordpress.com/366/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/stringofbits.wordpress.com/366/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/stringofbits.wordpress.com/366/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/stringofbits.wordpress.com/366/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/stringofbits.wordpress.com/366/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/stringofbits.wordpress.com/366/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/stringofbits.wordpress.com/366/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/stringofbits.wordpress.com/366/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/stringofbits.wordpress.com/366/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/stringofbits.wordpress.com/366/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/stringofbits.wordpress.com/366/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=stringofbits.net&amp;blog=23443234&amp;post=366&amp;subd=stringofbits&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://stringofbits.net/2011/06/08/tabletop-roleplaying-over-the-internet/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/7a6c6c99ccd3e2bbaec318a52fb3d43c?s=96&#38;d=identicon&#38;r=PG" medium="image">
			<media:title type="html">annabunches</media:title>
		</media:content>
	</item>
		<item>
		<title>Gaming in Linux &#8211; my adventures with wine</title>
		<link>http://stringofbits.net/2011/06/02/gaming-in-linux-my-adventures-with-wine/</link>
		<comments>http://stringofbits.net/2011/06/02/gaming-in-linux-my-adventures-with-wine/#comments</comments>
		<pubDate>Thu, 02 Jun 2011 18:00:00 +0000</pubDate>
		<dc:creator>Anna Wiggins</dc:creator>
				<category><![CDATA[Technology]]></category>
		<category><![CDATA[programming]]></category>
		<category><![CDATA[video games]]></category>
		<category><![CDATA[wine]]></category>

		<guid isPermaLink="false">http://stringofbits.net/?p=335</guid>
		<description><![CDATA[I like playing games. My 1600-word review of Portal 2 should have been at least some indication of that. I enjoy console and PC video games, tabletop roleplaying games, and board games. But today, I&#8217;m talking about playing PC video games in Linux. wine is not an emulator Let&#8217;s start with the basics (then probably [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=stringofbits.net&amp;blog=23443234&amp;post=335&amp;subd=stringofbits&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>I like playing games. My 1600-word review of Portal 2 should have been at least some indication of that. I enjoy console and PC video games, tabletop roleplaying games, and board games. But today, I&#8217;m talking about playing PC video games in Linux.</p>
<h3>wine is not an emulator</h3>
<p>Let&#8217;s start with the basics (then probably skip the middle ground and jump straight to the advanced stuff). Programs written for Windows or Mac OS can&#8217;t be run natively in Linux. By &#8216;natively&#8217;, I mean you can&#8217;t just click on a Windows application, or type its name on your terminal, and expect it to work. You&#8217;ll get an error like this:</p>
<pre>bash: ./windowsprogram.exe: cannot execute binary file</pre>
<p>There are a number of reasons this doesn&#8217;t work. The first and most fundamental is that Windows and Linux use different <em>binary file formats</em>; that is, the actual program code is structured in an entirely different way.</p>
<p>So why not just create a tool that can take one binary format and convert it to another? Well, to begin with, that would be pretty complicated, and probably fraught with problems; these binary formats are actually pretty complex, and include things like how to dynamically access libraries. Libraries are big chunks of code that are written separately from the program, then used by the program so that software developers don&#8217;t have to repeatedly write the same code to accomplish common tasks.</p>
<p>And that leads us to the real problem &#8211; Linux and Windows have fundamentally different sets of libraries available. Each OS has a large collection of system libraries that developers can use to interact with the Operating System in different ways. And there is very, very little overlap between these libraries. A prominent example of a library that exists only in Windows is Direct3D, which is used by a lot of game developers; it contains code that makes it easier to do a lot of complicated things with the graphics card, thus making it easier to make pretty, visually involved games.</p>
<p>So, if you want to run a Windows program in Linux, you would have to create a tool that could take a Windows program, make it &#8220;think&#8221; it is running in a Windows environment, and then take its library calls and somehow convert them into a set of library calls that Linux can understand. Direct3D calls, for instance, might be converted into equivalent OpenGL calls in Linux. This is exactly what the wine project does.</p>
<p>Wine has been around for a long time, and it has aged well (these are the jokes, folks). The latest wine codebase does a great job handling a ton of Windows applications, including a great many games. This article is an overview of my experience using wine to play games on Fedora.</p>
<h3>blizzards and steam valves</h3>
<p>My journey begins with wine-1.3.18, the version packaged with fedora 13. Wanting to play <a href="http://us.battle.net/sc2/en/">Starcraft 2</a>, I ran the installer, which executed without a problem. The game itself also ran great, without having to make any tweaks at all to wine&#8217;s configuration. So, Starcraft 2 was an easy win. Blizzard&#8217;s games, in general, work great under wine. I&#8217;m not sure if Blizzard just avoids strange API calls, or if wine has a lot of developers interested in making certain Blizzard&#8217;s games work. Either way, this one was phenomenally easy.</p>
<p>The next thing I tried was Valve&#8217;s <a href="http://store.steampowered.com/">Steam</a> client. If you&#8217;re somehow reading this from the past, or Steam no longer exists in the future (or you have recently emerged from a coma), Steam is a game distribution platform. You can buy electronic copies of games, install them in steam, and play them. Many games also support achievements and server-side syncing of your game data. This makes gaming on multiple computers really nice (as long as you&#8217;re the only one using Steam, that is). It also has community features; you can see what your friends are playing, join them in multiplayer games, etc.</p>
<p>So, I have quite a few games on Steam, and before I can try to run the <strong>games</strong> under wine, I have to get Steam to run. This was a little bit trickier than running Starcraft 2. First, the Steam installer is a .msi file, which requires the msiexec tool to run. Luckily, recent versions of wine come equipped with an open-source clone of the msiexec tool. So, all I had to do was:</p>
<pre>msiexec SteamInstall.msi</pre>
<p>Once this was done, Steam launched, but I ran into a new problem: every time I move my mouse over the Steam windows, they would flicker, making it hard to see what I was doing. This was solved by using winecfg to set the &#8216;Windows Version&#8217; to Windows 7. Problem solved.</p>
<p>The next problem I encountered with Steam was that, when I drag a Steam window, it continues to move around after I release the mouse button, as if I&#8217;m still holding it. I have to click on another Steam window to make it stop. This problem remains unsolved in the latest version of wine (1.3.21 as of this writing).</p>
<p>Having Steam running, though, I was able to try a few games. The first thing I discovered was that every game I tried had major problems until I unchecked &#8216;Enable Steam community in-game&#8217;. Once I had done this, <a href="http://store.steampowered.com/app/3590/">Plants vs Zombies</a> and <a href="http://store.steampowered.com/app/12330/">Darkstar One</a> both worked great &#8216;out of the box&#8217;, with no tweaking required.</p>
<p><a href="http://store.steampowered.com/app/400/">Portal</a>, on the other hand, was not as great. Every few seconds of game play (not exactly precise, and it happens more when portals are open) the game will stutter for a moment. I spent a lot of time tweaking wine to try to fix this, but the problem remains in the latest version of wine. In addition, in wine 1.3.20, an even worse problem appeared &#8211; instead of stuttering, the game would act as if the mouse had been moved a random distance in a random direction periodically.</p>
<p>The last game I tried out was <a href="http://store.steampowered.com/app/440/">Team Fortress 2</a>. It refused to start until I added an override for hl2.exe (in winecfg) disabling gameoverlayrenderer.dll and changing the Windows version to NT 4.0 (who knew Windows NT was a good gaming platform?). After this, the game worked with a stuttering problem similar to Portal&#8217;s, but more dependent on how much action was happening on screen. This was probably my most disappointing experience with wine, and 1 problematic game out of 5 isn&#8217;t bad.</p>
<p>So far, I have a (let&#8217;s say) 80% success rate with running Windows games under Linux using wine, with comparatively little effort required on my part. This is a fantastic result compared to even 2 years ago, and I look forward to watching the wine project enable ever more games under Linux.</p>
<h3>tips, tricks, caveats</h3>
<p>If you&#8217;re using Fedora, you may run into problems with pulseaudio. I recommend disabling it completely, via the following:</p>
<pre>yum remove alsa-plugins-pulseaudio
echo &gt; ~/.pulse/client.conf &lt;&lt; EOF
autospawn = no
daemon-binary = /bin/true
EOF</pre>
<p>Then, reboot your machine (or make sure you kill all running pulseaudio processes). Wine works a lot better this way. You&#8217;ll probably also want to run:</p>
<pre>setsebool wine_mmap_zero_ignore 1</pre>
<p>To make SELinux play well with games in wine.</p>
<p>Something I wanted to do but was unable to achieve was run native Linux games directly from Steam, and have Steam keep track of them. After asking on the wine-users mailing list, I learned that the way wine emulates Windows process handling makes this impossible. So, instead, I created <a href="https://github.com/annabunches/steamstub">steamstub</a>, a Windows program written specifically for Steam under wine. To use it, add it as a non-steam game to Steam, then edit the game&#8217;s properties and change the name to a native Linux game of your choice. Now, before you go play your Linux game, click &#8216;Play&#8217; on this game in Steam. Steamstub will deliver a small popup, and to your Steam friends, it will look like you are playing a non-steam game until you click &#8216;OK&#8217;. This lets you advertise what game you are playing, even when Steam can&#8217;t launch it.</p>
<p>One more thing you may find interesting is a tool I developed called <a href="https://github.com/annabunches/wino">wino</a>. It lets you keep track of multiple wine prefixes (virtual Windows environments), so you can keep your programs separated. This makes it easier to recover if something in your drive_c directory gets broken; you only have to worry about reinstalling at most one program. If you make heavy use of steam&#8217;s &#8216;non-Steam game&#8217; functionality, like I do, then this is not as useful for you. However, wino also does a lot of other useful things, like allow you to have a default command assigned to a wineprefix (so you could just run &#8216;wino steam&#8217; to launch Steam.exe). It can also run winecfg (and a lot of other tools) on a prefix via &#8216;wino prefixname &#8211;config&#8217;.</p>
<br />Filed under: <a href='http://stringofbits.net/category/technology/'>Technology</a> Tagged: <a href='http://stringofbits.net/tag/programming/'>programming</a>, <a href='http://stringofbits.net/tag/video-games/'>video games</a>, <a href='http://stringofbits.net/tag/wine/'>wine</a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/stringofbits.wordpress.com/335/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/stringofbits.wordpress.com/335/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/stringofbits.wordpress.com/335/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/stringofbits.wordpress.com/335/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/stringofbits.wordpress.com/335/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/stringofbits.wordpress.com/335/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/stringofbits.wordpress.com/335/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/stringofbits.wordpress.com/335/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/stringofbits.wordpress.com/335/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/stringofbits.wordpress.com/335/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/stringofbits.wordpress.com/335/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/stringofbits.wordpress.com/335/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/stringofbits.wordpress.com/335/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/stringofbits.wordpress.com/335/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=stringofbits.net&amp;blog=23443234&amp;post=335&amp;subd=stringofbits&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://stringofbits.net/2011/06/02/gaming-in-linux-my-adventures-with-wine/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/7a6c6c99ccd3e2bbaec318a52fb3d43c?s=96&#38;d=identicon&#38;r=PG" medium="image">
			<media:title type="html">annabunches</media:title>
		</media:content>
	</item>
		<item>
		<title>BitTorrent, the Linux way</title>
		<link>http://stringofbits.net/2011/05/26/bittorrent-the-linux-way/</link>
		<comments>http://stringofbits.net/2011/05/26/bittorrent-the-linux-way/#comments</comments>
		<pubDate>Thu, 26 May 2011 18:00:11 +0000</pubDate>
		<dc:creator>Anna Wiggins</dc:creator>
				<category><![CDATA[Technology]]></category>
		<category><![CDATA[bittorrent]]></category>
		<category><![CDATA[dropbox]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[tutorial]]></category>

		<guid isPermaLink="false">http://stringofbits.net/?p=306</guid>
		<description><![CDATA[I use BitTorrent a lot. Most Linux distributions have torrents available, and I have gotten a lot of Creative Commons-licensed music, such as the work of Jonathan Coulton, via BitTorrent. It is a great way to deliver content. However, I have a problem with (most of) the available BitTorrent clients. Given what BitTorrent does, which [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=stringofbits.net&amp;blog=23443234&amp;post=306&amp;subd=stringofbits&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>I use <a href="http://en.wikipedia.org/wiki/BitTorrent_%28protocol%29">BitTorrent</a> a lot. Most Linux distributions have torrents available, and I have gotten a lot of <a href="http://creativecommons.org/">Creative Commons</a>-licensed music, such as the work of <a href="http://www.jonathancoulton.com/">Jonathan Coulton</a>, via BitTorrent. It is a great way to deliver content.</p>
<p>However, I have a problem with (most of) the available BitTorrent clients. Given what BitTorrent <em>does</em>, which is allow you to download and subsequently seed content, it should really run like a service &#8211; quietly running in the background handling your torrents. However, most of the clients for Linux work like Windows applications. They sit in your system tray, giving you &#8220;helpful&#8221; popup notifications. More importantly, they die if you logout. Luckily, I have found a solution.</p>
<h3>Enter transmission-daemon</h3>
<p>Transmission is one of the bittorrent clients for Linux that works like I described above &#8211; it&#8217;s a desktop application. However, it comes with a variant, transmisison-daemon, that can run in the background, as a dedicated &#8216;transmission&#8217; user. This is much nicer.</p>
<p>Setting it up in fedora is pretty easy. Install the transmission-daemon package. Edit /etc/sysconfig/transmission-daemon to suit your needs. You can change TRANSMISSION_HOME to whatever directory you&#8217;d like your completed torrent files to live in (you <strong>do not</strong> need to modify the actual home directory of the transmission user, but do make sure TRANSMISSION_HOME is owned by that user).</p>
<p>Now, start transmission-daemon, then stop it again:</p>
<pre>service transmission-daemon start
service transmission-daemon stop</pre>
<p>That step created the transmission configuration files, which you can now find in $TRANSMISSION_HOME/.config/transmission-daemon/. The file you probably want to edit is settings.json. Edit this file to suit your needs, then start transmission again. To tell transmission to automatically start at boot, run:</p>
<pre>chkconfig transmission-daemon on</pre>
<h3>transmission-remote &#8211; for all your transmission-related needs</h3>
<p>So, now you have a daemonized BitTorrent client, running unobtrusively in the background. But how do you use it?</p>
<p>The answer is transmission-remote. This tool is an administrative front-end for transmission-daemon that lets you add, remove, start, stop, and view your torrents, and a lot more besides. To add a torrent, you can use &#8216;transmission-remote -a&#8217; on either a local .torrent file or a URL, like so:</p>
<pre>transmission-remote -a /path/to/file.torrent
transmission-remote -a http://example.com/file.torrent</pre>
<p>Once the torrent is added, it will automatically start. You can get information on all your torrents with &#8216;transmission-remote -l&#8217;. Note that each torrent has a numeric ID assigned to it; you use that ID with the &#8216;-t&#8217; option to tell transmission-remote to perform actions on the torrent. For example, to stop the torrent with ID 42, you could run:</p>
<pre>transmission-remote -t 42 -S</pre>
<p>transmission-remote can do a lot more; check its man page for details. In particular, the -s, -i, and &#8211;remove-and-delete are useful flags to know.</p>
<h3>Making things easier &#8211; the watch directory</h3>
<p>The problem with the approach I have described is that the command line, while great for interacting with your local torrents, is not the place most people go to look for torrents in the first place. More often, you find a .torrent file on the web, and having to open a terminal and run a command is an annoying extra step.</p>
<p>To make things easier, you can set up a watch directory; any .torrent files placed in that directory will automatically be added to transmission-daemon. To set up a watch directory, edit settings.json and add the following:</p>
<pre>watch-dir-enabled: "true",
watch-dir: "/path/to/watch/dir",</pre>
<p>(I have found it is best to always stop transmission-daemon before making changes to settings.json. It often overwrites settings at shutdown)</p>
<p>One caveat about the watch directory: when transmission-daemon is started, every .torrent file in there will be added. While this has no effect on torrents you are still downloading or seeding, torrents you have already removed will be re-added to transmission-daemon. For this reason, it is a good idea to routinely delete the files in your watch directory. You can use tmpwatch and/or cron to periodically delete the files.</p>
<h3>Torrents from anywhere &#8211; using Dropbox with transmission-daemon</h3>
<p><a href="http://dropbox.com">Dropbox</a> is a fantastic tool for always having access to important files. Any files you put in your dropbox directory get automatically synced to every machine you use dropbox on. There are also Android, iOS, and web interfaces, so you can really get to your files from anywhere.</p>
<p>What does this have to do with transmission? Well, you can put your watch directory inside your dropbox directory. Any .torrent file you add to that directory &#8211; from any computer or phone &#8211; will automatically be started on the computer running transmission-daemons. This means you can start your torrents whenever you come across them, no matter where in the world you happen to be.</p>
<p>And if you have multiple people in your household who might all like to use one machine for BitTorrent, you can simply share your dropbox watch directory with all of them.</p>
<h3>The way computers should behave &#8211; the world according to Anna</h3>
<p>User interface design is a complicated thing, and a lot of research has gone into it. What a lot of UI discussions miss, though, is that everyone has different needs and preferences. The setup I have described here works the way I personally like best. It is transparent; that is, it gets out of your way and just does what it is supposed to do, with no fuss. It is powerful and flexible. For a Linux power user who prefers to use the command line where she can, it is hard to imagine a better BitTorrent solution.</p>
<br />Filed under: <a href='http://stringofbits.net/category/technology/'>Technology</a> Tagged: <a href='http://stringofbits.net/tag/bittorrent/'>bittorrent</a>, <a href='http://stringofbits.net/tag/dropbox/'>dropbox</a>, <a href='http://stringofbits.net/tag/linux/'>linux</a>, <a href='http://stringofbits.net/tag/tutorial/'>tutorial</a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/stringofbits.wordpress.com/306/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/stringofbits.wordpress.com/306/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/stringofbits.wordpress.com/306/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/stringofbits.wordpress.com/306/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/stringofbits.wordpress.com/306/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/stringofbits.wordpress.com/306/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/stringofbits.wordpress.com/306/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/stringofbits.wordpress.com/306/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/stringofbits.wordpress.com/306/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/stringofbits.wordpress.com/306/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/stringofbits.wordpress.com/306/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/stringofbits.wordpress.com/306/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/stringofbits.wordpress.com/306/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/stringofbits.wordpress.com/306/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=stringofbits.net&amp;blog=23443234&amp;post=306&amp;subd=stringofbits&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://stringofbits.net/2011/05/26/bittorrent-the-linux-way/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/7a6c6c99ccd3e2bbaec318a52fb3d43c?s=96&#38;d=identicon&#38;r=PG" medium="image">
			<media:title type="html">annabunches</media:title>
		</media:content>
	</item>
		<item>
		<title>Bulding bridges in the metaverse</title>
		<link>http://stringofbits.net/2010/01/08/bulding-bridges-in-the-metaverse/</link>
		<comments>http://stringofbits.net/2010/01/08/bulding-bridges-in-the-metaverse/#comments</comments>
		<pubDate>Fri, 08 Jan 2010 17:24:59 +0000</pubDate>
		<dc:creator>Anna Wiggins</dc:creator>
				<category><![CDATA[Technology]]></category>
		<category><![CDATA[metaverse]]></category>
		<category><![CDATA[programming]]></category>
		<category><![CDATA[second life]]></category>

		<guid isPermaLink="false">http://stringofbits.net/?p=154</guid>
		<description><![CDATA[If/once you &#8220;get it&#8221;, Second Life is pretty cool. It can be a lot of different things, and its potential has barely even been scratched. Sure, the tools are cumbersome, but they are getting better. And some of Linden Lab&#8217;s policies suck, but that will just drive people to OSGrid, eventually. Anyway, there are people [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=stringofbits.net&amp;blog=23443234&amp;post=154&amp;subd=stringofbits&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>If/once you &#8220;get it&#8221;, <a href="http://secondlife.com">Second Life</a> is pretty cool.  It can be a lot of different things, and its potential has barely even been scratched.  Sure, the tools are cumbersome, but they are getting better.  And some of Linden Lab&#8217;s policies suck, but that will just drive people to OSGrid, eventually.</p>
<p>Anyway, there are people in Second Life that I like being able to communicate with.  However, when I&#8217;m at work, it&#8217;s a lot of trouble to create an SSH tunnel home, then forward a text-only client like <a href="http://omvviewer-light.byteme.org.uk/">ommviewer-light</a> just so I can log in and see who is online.</p>
<p>So, as I always do, I went way overboard and created a system that can relay chat between an IRC channel (or channels) and any location (or locations) inside Second Life (or any other grid that supports LSL).  It can also check the online status of users and send them one-way IMs.  I call the entire system slrelay, and you can get it <a href="http://stringofbits.net/slrelay/">here</a>.</p>
<p>It requires a few things to work: a running webserver is absolutely necessary.  If you want the IRC features, then you also need an IRC network of your choice and a machine that can execute perl scripts.  I have my IRC bot connected to irc.slashnet.org.</p>
<p>slrelay has a number of possible uses.  You could use it to relay chat between key locations on a large landmass (say, an area that spans 3 or 4 sims).  It could relay chat between Second Life and another metaverse grid like OSGrid.  It can be used as a simple IRC tool to check who is online very quickly.  Or it can do all of these things at once.</p>
<br />Posted in Technology Tagged: metaverse, programming, second life <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/stringofbits.wordpress.com/154/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/stringofbits.wordpress.com/154/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/stringofbits.wordpress.com/154/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/stringofbits.wordpress.com/154/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/stringofbits.wordpress.com/154/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/stringofbits.wordpress.com/154/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/stringofbits.wordpress.com/154/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/stringofbits.wordpress.com/154/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/stringofbits.wordpress.com/154/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/stringofbits.wordpress.com/154/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/stringofbits.wordpress.com/154/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/stringofbits.wordpress.com/154/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/stringofbits.wordpress.com/154/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/stringofbits.wordpress.com/154/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=stringofbits.net&amp;blog=23443234&amp;post=154&amp;subd=stringofbits&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://stringofbits.net/2010/01/08/bulding-bridges-in-the-metaverse/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/7a6c6c99ccd3e2bbaec318a52fb3d43c?s=96&#38;d=identicon&#38;r=PG" medium="image">
			<media:title type="html">annabunches</media:title>
		</media:content>
	</item>
		<item>
		<title>Tutorial: Creating OpenSim terrain with Blender</title>
		<link>http://stringofbits.net/2009/09/08/tutorial-creating-opensim-terrain-with-blender/</link>
		<comments>http://stringofbits.net/2009/09/08/tutorial-creating-opensim-terrain-with-blender/#comments</comments>
		<pubDate>Wed, 09 Sep 2009 02:18:19 +0000</pubDate>
		<dc:creator>Anna Wiggins</dc:creator>
				<category><![CDATA[Technology]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[metaverse]]></category>
		<category><![CDATA[opensim]]></category>
		<category><![CDATA[second life]]></category>
		<category><![CDATA[tutorial]]></category>

		<guid isPermaLink="false">http://stringofbits.net/?p=152</guid>
		<description><![CDATA[This tutorial will explain how to create RAW terrain files for OpenSim and Second Life using Blender and the Gimp. Before we begin You will need the following software for this tutorial. All of this software is free and open source. Blender, a professional 3d modelling tool. Blender is powerful but complex, and basic blender [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=stringofbits.net&amp;blog=23443234&amp;post=152&amp;subd=stringofbits&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>This tutorial will explain how to create RAW terrain files for <a href="http://opensimulator.org/wiki/Main_Page">OpenSim</a> and <a href="http://secondlife.com">Second Life</a> using <a href="http://blender.org">Blender</a> and the <a href="http://www.gimp.org/">Gimp</a>.<br />
<span id="more-152"></span></p>
<h3>Before we begin</h3>
<p>You will need the following software for this tutorial.  All of this software is free and open source.</p>
<ul>
<li><a href="http://blender.org">Blender</a>, a professional 3d modelling tool.  Blender is powerful but complex, and basic blender knowledge is assumed for this tutorial.  Blender will be used to actually create the heightmap.</li>
<li><a href="http://www.gimp.org/">The Gimp</a>, a powerful program for creating and editing raster (i.e. normal) image files.  The Gimp will be used for splitting the heightmap into RAW terrain files that OpenSim can use.</li>
<li><a href="http://dominodesigns.info/project/gimpterrain">gimpterrain</a>, a plug-in for The Gimp that allows it to open and save RAW terrain files.</li>
<li><a href="http://stringofbits.files.wordpress.com/2009/09/upload_terrain.pngterrainerizer/">terrainerizer</a> (optional), a bash script I created to automate splitting the heightmap into RAW files.  Terrainerizer only works on Linux, and still requires The Gimp and gimpterrain to be installed.  It also requires <a href="http://www.imagemagick.org/script/index.php">ImageMagick</a>.</li>
</ul>
<p>In addition to the above software, you will also need a blank RAW terrain file.  You could download a terrain file from OpenSim and transform it into a blank one (replace the Height layer with #ffffff, replace the factor layer with #808080), or you could just download <a href="http://stringofbits.files.wordpress.com/2009/09/upload_terrain.pngwp-content/blank.raw">this one</a> that I have created for you.</p>
<h3>Create a heightmap</h3>
<p>A good tutorial on creating a generic heightmap in Blender can be found <a href="http://wiki.blender.org/index.php/Doc:Tutorials/Textures/Maps/Creating_a_Heightmap_from_a_Plane">here</a>.</p>
<p>The tutorial above creates a heightmap that is 512&#215;512 pixels.  However, an OpenSim RAW terrain file is only 256&#215;256 pixels.  This means that the above tutorial will create terrain for 4 regions, arranged in a square.  If you need terrain for a different number of regions, you can modify the above tutorial to create different sized heightmaps.</p>
<p>For example, suppose you want to create an oblong island that is 2 regions by 4 regions in size.  To do that:</p>
<p>1. Create the plane, but instead of scaling it to 2&#215;2 blender units, scale it to 2&#215;4 blender units.  To do this, you can use this command sequence in blender:</p>
<ul>
<li>Right-click on the object to select it.</li>
<li>Change the mode to Edit mode.</li>
<li>Press &#8216;s&#8217;, &#8216;y&#8217;, &#8217;2&#8242;, &#8216;return&#8217;.</li>
<li>Press &#8216;s&#8217;, &#8216;x&#8217;, &#8217;4&#8242;, &#8216;return&#8217;.</li>
</ul>
<p>Now you should have a plane that is oblong instead of perfectly square.</p>
<p>2. When you configure the render settings, you will need to use different values.</p>
<ul>
<li>In the Scene settings (F10), SizeX and SizeY should be set to 256 * (number of regions).  In our case, we have 2 regions in the Y dimension, and 4 regions in the X dimension.  So, SizeX should be set to 1024, and SizeY should be set to 512.</li>
<li>In the camera settings, the scale needs to be adjusted to fit the plane precisely.  In our example, the scale should be set to 8.  To get it just right, select the camera, and press Numpad0 to switch to camera view.  You should see two concentric rectangles composed of dashed lines.  Now, press F9 to view the Editing options for the camera.  Now, adjust the Scale value until the outer dashed rectangle encompasses your plane completely, without including anything outside the plane.  If the dashed rectangle is not the same shape as your plane, then you still need to set SizeX and SizeY in the Render settings.</li>
</ul>
<h3>Creating RAW terrain files with the Gimp</h3>
<p>Now that you have a heightmap file, you still need to turn it into terrain files that can be uploaded into OpenSim.</p>
<p>Enter <a href="http://dominodesigns.info/">Domino Marama</a>, creator of <a href="http://dominodesigns.info/project/gimpterrain">gimpterrain</a>, an import/export plug-in for the Gimp that can handle the OpenSim RAW terrain format.  Download gimpterrain and install it into your gimp plug-ins directory.</p>
<p>Now, if you are running Linux, you can automate the rest of this section with my terrainerizer script.  See <a href="#easier">below</a>.</p>
<p>We also need the blank terrain file that I mentioned earlier.</p>
<p>Armed with these tools, we can open a terrain file in the gimp and combine it with a portion of our heightmap.</p>
<ol>
<li>Open your blank terrain file (blank.raw) and the heightmap in the Gimp.</li>
<li>Using the Rectangle Select tool, select a 256&#215;256 pixel section of the heightmap, starting in the upper-left corner.</li>
<li>Click Edit -&gt; Copy</li>
<li>Select the terrain file and make sure the Height layer is selected.</li>
<li>Click Edit -&gt; Paste.  You should see the section of the heightmap you copied appear as a floating layer.</li>
<li>Click Layer -&gt; Anchor Layer.  The Height layer should now look like the copied portion of the heightmap.</li>
<li>Click File -&gt; Save As and save this file as a new file with the .raw extension.</li>
</ol>
<p>Now, repeat this process for every 256&#215;256 pixel section in your original heightmap.</p>
<h3><a name="easier">Making it easier</a></h3>
<p>Performing the steps in the previous section is very tedious, especially given how long it takes to save the terrain files.  To make this easier, I have automated the process with the <a href="http://stringofbits.files.wordpress.com/2009/09/upload_terrain.pngterrainerizer/">terrainerizer</a> script.</p>
<p>If you are running Linux, simply put the terrainerizer script somewhere in your path.  Edit it and specify the path to your blank.raw file, then run:</p>
<blockquote><p><code>terrainerizer heightmap.png</code></p></blockquote>
<p>Replace &#8216;heightmap.png&#8217; with your heightmap file.  Now let terrainerizer work.  It will handle everything we did in the previous section automatically.  It may take a while, depending on how large your heightmap is.</p>
<p>When it is finished, terrainerizer will leave several files in your current directory, named with this scheme:</p>
<p><code>heightmap-nxm.raw</code></p>
<p>Where &#8216;n&#8217; and &#8216;m&#8217; are numbers starting at 0 that represent the column and row for that terrain file.  So, <code>0x0</code> is the top left region of your terrain, <code>0x1</code> is the next region (moving from top to bottom), and so on.  Just upload these terrain files and you&#8217;re done!</p>
<h3>Uploading the terrain files</h3>
<p>Now that you have the terrain files, you can upload these files into OpenSim.  There are two ways to do this.</p>
<p>1. From the OpenSim server console, you can simply:</p>
<blockquote><p><code>change region RegionName<br />
terrain load /path/to/terrain.raw</code></p></blockquote>
<p>Repeat this for each of your regions.</p>
<p>2. From a viewer connected to OpenSim (assuming you are using Hippo or a similar viewer):</p>
<ul>
<li>Move to the region you where you want to upload terrain.</i>
<li>Navigate to World -&gt; Region/Estate -&gt; Terrain</li>
<li>Click &#8220;Upload RAW Terrain&#8230;&#8221; and select the terrain file you created for this region.</li>
</ul>
<div id="attachment_190" class="wp-caption alignright" style="width: 310px"><a href="http://stringofbits.files.wordpress.com/2009/09/upload_terrain.png"><img src="http://stringofbits.files.wordpress.com/2009/09/upload_terrain.png?w=300&#038;h=218" alt="The Upload Terrain menu in Hippo" title="upload_terrain" width="300" height="218" class="size-medium wp-image-190" /></a><p class="wp-caption-text">The Upload Terrain menu in Hippo</p></div>
<p>Repeat these steps for each region where you want to upload terrain.</p>
<br />Posted in Technology Tagged: linux, metaverse, opensim, second life, tutorial <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/stringofbits.wordpress.com/152/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/stringofbits.wordpress.com/152/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/stringofbits.wordpress.com/152/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/stringofbits.wordpress.com/152/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/stringofbits.wordpress.com/152/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/stringofbits.wordpress.com/152/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/stringofbits.wordpress.com/152/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/stringofbits.wordpress.com/152/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/stringofbits.wordpress.com/152/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/stringofbits.wordpress.com/152/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/stringofbits.wordpress.com/152/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/stringofbits.wordpress.com/152/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/stringofbits.wordpress.com/152/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/stringofbits.wordpress.com/152/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=stringofbits.net&amp;blog=23443234&amp;post=152&amp;subd=stringofbits&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://stringofbits.net/2009/09/08/tutorial-creating-opensim-terrain-with-blender/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/7a6c6c99ccd3e2bbaec318a52fb3d43c?s=96&#38;d=identicon&#38;r=PG" medium="image">
			<media:title type="html">annabunches</media:title>
		</media:content>

		<media:content url="http://stringofbits.files.wordpress.com/2009/09/upload_terrain.png?w=300" medium="image">
			<media:title type="html">upload_terrain</media:title>
		</media:content>
	</item>
		<item>
		<title>emacs 23, dbus, and libnotify</title>
		<link>http://stringofbits.net/2009/08/31/emacs-23-dbus-and-libnotify/</link>
		<comments>http://stringofbits.net/2009/08/31/emacs-23-dbus-and-libnotify/#comments</comments>
		<pubDate>Tue, 01 Sep 2009 03:47:44 +0000</pubDate>
		<dc:creator>Anna Wiggins</dc:creator>
				<category><![CDATA[Technology]]></category>
		<category><![CDATA[emacs]]></category>
		<category><![CDATA[programming]]></category>

		<guid isPermaLink="false">http://stringofbits.net/?p=166</guid>
		<description><![CDATA[A new major version of emacs is out, and it includes dbus support. This is great, because it means we can do things like this: (require 'dbus) (defun send-desktop-notification (summary body timeout) "call notification-daemon method METHOD with ARGS over dbus" (dbus-call-method :session ; use the session (not system) bus "org.freedesktop.Notifications" ; service name "/org/freedesktop/Notifications" ; [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=stringofbits.net&amp;blog=23443234&amp;post=166&amp;subd=stringofbits&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>A new major version of <a href="http://www.gnu.org/software/emacs/">emacs</a> is out, and it includes dbus support.  This is great, because it means we can do things like this:</p>
<blockquote><pre>
(require 'dbus)
(defun send-desktop-notification (summary body timeout)
  "call notification-daemon method METHOD with ARGS over dbus"
  (dbus-call-method
    :session                        ; use the session (not system) bus
    "org.freedesktop.Notifications" ; service name
    "/org/freedesktop/Notifications"   ; path name
    "org.freedesktop.Notifications" "Notify" ; Method
    "emacs"
    0
    ""
    summary
    body
    '(:array)
    '(:array :signature "{sv}")
    ':int32 timeout))

(defun pw/compile-notify (buffer message)
  (send-desktop-notification "emacs compile" message 0))

(setq compilation-finish-function 'pw/compile-notify)
</pre>
</blockquote>
<p>Add this to your .emacs file and you will receive a libnotify popup when M-x compile completes.  It will even give you the exit message, so you know whether the compile was successful.</p>
<p>So now you can let that long compile run, and work on <a href="http://xkcd.com/303/">something else</a>.  emacs will let you know when the compile finishes.</p>
<p>As written above, the notifications will stay on your screen until you dismiss them (by clicking on them).  If you would like them to vanish after a preset time limit, change the 0 in the call to send-desktop-notification.  Set it to the number of milliseconds the popup should remain on the screen.</p>
<div id="attachment_173" class="wp-caption alignright" style="width: 310px"><a href="http://stringofbits.files.wordpress.com/2009/08/compile_bad1.png"><img src="http://stringofbits.files.wordpress.com/2009/08/compile_bad1.png?w=300&#038;h=99" alt="Screenshot of libnotify popup showing a compiler error" title="compile_bad" width="300" height="99" class="size-medium wp-image-173" /></a><p class="wp-caption-text">Screenshot of libnotify popup showing a compiler error</p></div>
<p>This is just the tip of the iceberg, of course.  Any application that presents a dbus interface can be interacted with from emacs, which means that emacs can also integrate itself with the Linux desktop in <a href="http://emacs-fu.blogspot.com/2009/01/using-d-bus-example.html">other interesting ways</a>.</p>
<br />Posted in Technology Tagged: emacs, programming <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/stringofbits.wordpress.com/166/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/stringofbits.wordpress.com/166/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/stringofbits.wordpress.com/166/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/stringofbits.wordpress.com/166/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/stringofbits.wordpress.com/166/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/stringofbits.wordpress.com/166/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/stringofbits.wordpress.com/166/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/stringofbits.wordpress.com/166/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/stringofbits.wordpress.com/166/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/stringofbits.wordpress.com/166/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/stringofbits.wordpress.com/166/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/stringofbits.wordpress.com/166/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/stringofbits.wordpress.com/166/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/stringofbits.wordpress.com/166/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=stringofbits.net&amp;blog=23443234&amp;post=166&amp;subd=stringofbits&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://stringofbits.net/2009/08/31/emacs-23-dbus-and-libnotify/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/7a6c6c99ccd3e2bbaec318a52fb3d43c?s=96&#38;d=identicon&#38;r=PG" medium="image">
			<media:title type="html">annabunches</media:title>
		</media:content>

		<media:content url="http://stringofbits.files.wordpress.com/2009/08/compile_bad1.png?w=300" medium="image">
			<media:title type="html">compile_bad</media:title>
		</media:content>
	</item>
		<item>
		<title>so close, Netflix</title>
		<link>http://stringofbits.net/2009/08/31/so-close-netflix/</link>
		<comments>http://stringofbits.net/2009/08/31/so-close-netflix/#comments</comments>
		<pubDate>Mon, 31 Aug 2009 21:54:49 +0000</pubDate>
		<dc:creator>Anna Wiggins</dc:creator>
				<category><![CDATA[Technology]]></category>
		<category><![CDATA[netflix]]></category>
		<category><![CDATA[rant]]></category>

		<guid isPermaLink="false">http://stringofbits.net/?p=171</guid>
		<description><![CDATA[I like Netflix. I think they&#8217;re a great service, reasonably priced, and they have completely replaced cable television for me. However, I have found one problem. According to Netflix: If you are renting a series or seasons, we will ship the DVDs in order. That means: &#8230; * If there is a wait for a [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=stringofbits.net&amp;blog=23443234&amp;post=171&amp;subd=stringofbits&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>I like Netflix.  I think they&#8217;re a great service, reasonably priced, and they have completely replaced cable television for me.  However, I have found one problem.  According to Netflix:</p>
<blockquote><p>
If you are renting a series or seasons, we will ship the DVDs in order. That means:<br />
&#8230;<br />
* If there is a wait for a particular DVD in a series, will we wait until we ship you that DVD until we ship the next DVD in that series.
</p></blockquote>
<p>Which is great.  If I add, say, Excel Saga to my queue, I can be certain that I will get disc 1 first, followed by disc 2 and 3.  Under no circumstances will I have to worry about getting, say, disc 4 before disc 2.  Right?</p>
<p>Well, in theory.  In practice, some TV series (notably, Excel Saga) have discs missing completely.  These discs go into your &#8220;Saved DVDs&#8221; list instead of your queue, and they aren&#8217;t considered to be discs with a &#8220;wait&#8221;.  As a result, they get skipped over completely, and you get the next disc in the series that isn&#8217;t missing.</p>
<p>Why am I complaining here instead of directly to Netflix?  Because Netflix doesn&#8217;t have any reasonable way that I can find to open a bug report or provide feedback.  And I wanted to vent a little.</p>
<br />Posted in Technology Tagged: netflix, rant <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/stringofbits.wordpress.com/171/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/stringofbits.wordpress.com/171/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/stringofbits.wordpress.com/171/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/stringofbits.wordpress.com/171/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/stringofbits.wordpress.com/171/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/stringofbits.wordpress.com/171/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/stringofbits.wordpress.com/171/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/stringofbits.wordpress.com/171/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/stringofbits.wordpress.com/171/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/stringofbits.wordpress.com/171/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/stringofbits.wordpress.com/171/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/stringofbits.wordpress.com/171/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/stringofbits.wordpress.com/171/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/stringofbits.wordpress.com/171/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=stringofbits.net&amp;blog=23443234&amp;post=171&amp;subd=stringofbits&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://stringofbits.net/2009/08/31/so-close-netflix/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/7a6c6c99ccd3e2bbaec318a52fb3d43c?s=96&#38;d=identicon&#38;r=PG" medium="image">
			<media:title type="html">annabunches</media:title>
		</media:content>
	</item>
		<item>
		<title>The Decentralized Metaverse</title>
		<link>http://stringofbits.net/2009/08/25/the-decentralized-metaverse/</link>
		<comments>http://stringofbits.net/2009/08/25/the-decentralized-metaverse/#comments</comments>
		<pubDate>Tue, 25 Aug 2009 07:50:57 +0000</pubDate>
		<dc:creator>Anna Wiggins</dc:creator>
				<category><![CDATA[Gaming]]></category>
		<category><![CDATA[Technology]]></category>
		<category><![CDATA[drm]]></category>
		<category><![CDATA[metaverse]]></category>
		<category><![CDATA[second life]]></category>

		<guid isPermaLink="false">http://stringofbits.net/?p=140</guid>
		<description><![CDATA[Several years ago I mused on the decentralization of Second Life, Linden Labs&#8217; virtual world. Shortly after that post, I dropped out of the metaverse entirely for more than a year. While I was off not paying attention, it seems that almost all of my predictions have come true. An open-source server for running a [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=stringofbits.net&amp;blog=23443234&amp;post=140&amp;subd=stringofbits&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Several years ago I <a href="http://stringofbits.net/2006/11/decentralizing-second-life/">mused on the decentralization</a> of <a href="http://www.secondlife.com">Second Life</a>, Linden Labs&#8217; virtual world.  Shortly after that post, I dropped out of the metaverse entirely for more than a year.</p>
<p>While I was off not paying attention, it seems that almost all of my predictions have come true.  An open-source server for running a simulator and/or grid, <a href="http://opensimulator.org/wiki/Main_Page">OpenSim</a>, has been created.  OpenSim appears to have solved many of the problems, and implemented many of the predictions, of my post from 2006.</p>
<p>One &#8220;problem&#8221; that remains, though, is economy.<br />
<span id="more-140"></span><br />
The problem I outlined in my original post was that without a robust permissions scheme, economy would break down.  Looking back, this seems terribly unlike me.  Even in 2006, I had a strong dislike for anything that reeked of <a href="http://en.wikipedia.org/wiki/Digital_rights_management">Digital Rights Management</a> (DRM) even for the me that wrote that post.  The permissions scheme employed by Second Life, after all, is just a DRM scheme.  Like all DRM, it attempts to keep the user from using the things they purchase the way they would like, and like all DRM it is ultimately futile.</p>
<h3>Economy on a Closed Grid</h3>
<p>On the Second Life grid, you use real money to purchase virtual goods, which might have any of a number of permissions associated with them (modify, copy, and transfer).  This permissions scheme is enforced by the fact that Second Life&#8217;s grid is a walled garden; Linden Labs controls the asset server, so your data all exists in their hands.  They safeguard it, preventing nefarious users from copying your creations.</p>
<p>Except, not really.</p>
<p>Like all DRM, this scheme just plain can&#8217;t work.  It can&#8217;t.  It violates information theory.  It is mathematically impossible to give something to someone and then keep them from having it.  This is a corollary to the <a href="http://en.wikipedia.org/wiki/Have_one%27s_cake_and_eat_it_too">Law of Cake</a>.  I will elaborate.</p>
<p>For the Second Life viewer (aka client software) to render the object, it needs a copy of the object.  This copy is necessarily sufficient to reproduce the object.  Since any viewer that can speak the protocol can connect to Second Life, all you have to do is create a viewer that copies the object data being sent to it.</p>
<p>In fact, exactly <a href="http://wiki.secondlife.com/wiki/Help:CopyBot#CopyBot">such a viewer</a> has been written.  Linden Labs responded to this viewer&#8217;s existence by appealing to their Terms of Service.  Whenever a user is caught using CopyBot, they are banned from Second Life.</p>
<p>In other words, there is no technical solution, only a social/legal one.  This is because DRM is fundamentally flawed; it is trying to achieve the impossible.</p>
<p>Even without CopyBot, you could just decode cached objects from the official viewer&#8217;s data cache.  Programs have also been created which do this as well, although they are harder to use than the infamous CopyBot.</p>
<p>The point of all this is that the assumption that the Walled Garden protects your Intellectual Property is simply false.  As with the rest of the Internet, piracy is a given.  Anyone creating and distributing content on the web must start with that assumption.</p>
<h3>Economy on an Open Grid</h3>
<p>I haven&#8217;t explored OpenSim enough to determine whether it supports any sort of monetary transaction, but let us assume that it does.  In other words, assume that you can, via direct credit card payments or via a virtual currency, purchase virtual goods.  Even if you can&#8217;t do this yet, I have little doubt that OpenSim will support it eventually.</p>
<p>Now, let us further assume that I connect to OSGrid via a region that I run myself.  This means that I control my own asset server, where my inventory resides.  If I purchase an object with restrictive permissions on another region, a copy of that object will be transferred to my asset server, where I can simply log in via mysql and change the permissions.  Now, I can create multiple copies of this object, or give a copy to someone else.</p>
<p>What I have done here is to defeat DRM, just like CopyBot.  It&#8217;s considerably easier, and much harder to detect.  However, in practice this is no less secure to the Intellectual Property owner than Second Life&#8217;s walled garden.  It still requires a reasonable level of competence (running your own grid/sim) to exploit, so piracy is likely to be similar in rate.  Of course, the open metaverse has no Terms of Service (although individual grids/regions within the metaverse may).  But the technical merits are the same; when looking at the threat of piracy, the open grid has the same basic properties as the closed grid.</p>
<p>Of course, even without our own asset server, we could still use the same techniques to copy data that I described for the closed grid.  CopyBot and copying assets out of cache work identically on an OpenSim grid.</p>
<h3>Not a problem</h3>
<p>Okay, so the economy &#8220;problem&#8221; isn&#8217;t really a problem, just a fact of life.  In the words of the OpenSim folks:</p>
<blockquote cite="http://opensimulator.org/wiki/Hypergrid_Security"><p>
[The existence of piracy] is the kernel of the belief that open grids are hopeless for a virtual-goods economy. DRM discussion aside, maybe they are hopeless. But then, everyone thought the web was hopeless for selling music, and look at the success of iTunes in spite of all the piracy that still exists out there.
</p></blockquote>
<p>I am not proposing that piracy is good in any way, merely describing how it is inevitable.  You simply cannot restrict how users will use the things you buy.  You can&#8217;t keep someone from copying digital data, if they are determined enough to do it.  You can use restrictive terms of service and try to sue or press charges, but there will never be a technological solution.</p>
<p>So, to current and potential content creators shying away from the open grids: piracy is an unfortunate fact of life.  It will happen.  Start with that assumption, and work from there.  If this means you don&#8217;t want to create digital content, I&#8217;m sure the creative community will miss you.  If, however, you realize that some people will appreciate your work enough to pay for it, without worrying about the details, then you are in the company of some <a href="http://www.jonathancoulton.com/">fine artists</a>.</p>
<br />Posted in Gaming, Technology Tagged: drm, metaverse, second life <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/stringofbits.wordpress.com/140/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/stringofbits.wordpress.com/140/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/stringofbits.wordpress.com/140/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/stringofbits.wordpress.com/140/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/stringofbits.wordpress.com/140/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/stringofbits.wordpress.com/140/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/stringofbits.wordpress.com/140/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/stringofbits.wordpress.com/140/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/stringofbits.wordpress.com/140/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/stringofbits.wordpress.com/140/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/stringofbits.wordpress.com/140/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/stringofbits.wordpress.com/140/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/stringofbits.wordpress.com/140/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/stringofbits.wordpress.com/140/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=stringofbits.net&amp;blog=23443234&amp;post=140&amp;subd=stringofbits&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://stringofbits.net/2009/08/25/the-decentralized-metaverse/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/7a6c6c99ccd3e2bbaec318a52fb3d43c?s=96&#38;d=identicon&#38;r=PG" medium="image">
			<media:title type="html">annabunches</media:title>
		</media:content>
	</item>
		<item>
		<title>Thoughts on the Transhuman revolution</title>
		<link>http://stringofbits.net/2009/07/03/thoughts-on-the-transhuman-revolution/</link>
		<comments>http://stringofbits.net/2009/07/03/thoughts-on-the-transhuman-revolution/#comments</comments>
		<pubDate>Fri, 03 Jul 2009 14:56:25 +0000</pubDate>
		<dc:creator>Anna Wiggins</dc:creator>
				<category><![CDATA[Technology]]></category>
		<category><![CDATA[transhumanism]]></category>

		<guid isPermaLink="false">http://stringofbits.net/?p=82</guid>
		<description><![CDATA[I&#8217;ve been reading a lot of near-future science fiction and speculative nonfiction lately, and as a result I&#8217;ve been contemplating the idea of transhumanism and what it means for us as a species and a culture.  Transhumanism is decently defined by wikipedia, and has been explored in fiction by Charles Stross, Cory Doctorow, and others.  [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=stringofbits.net&amp;blog=23443234&amp;post=82&amp;subd=stringofbits&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>I&#8217;ve been reading a lot of near-future science fiction and speculative nonfiction lately, and as a result I&#8217;ve been contemplating the idea of transhumanism and what it means for us as a species and a culture.  <a href="http://en.wikipedia.org/wiki/Transhumanism">Transhumanism</a> is decently defined by wikipedia, and has been explored in fiction by <a href="http://www.accelerando.org/">Charles Stross</a>, <a href="http://www.tor.com/index.php?option=com_content&amp;view=story&amp;id=2993">Cory Doctorow</a>, and others.  It has been discussed extensively in the non-fiction sphere as well: <a href="http://www.kurzweilai.net/index.html?flash=2">Ray Kurtzweil</a> is probably the most well-known thinker discussing the topic.  However, while Kurtzweil discusses the possibilities of <a href="http://en.wikipedia.org/wiki/Strong_AI">AI consciousness</a> and the emergence of the <a href="http://en.wikipedia.org/wiki/Technological_singularity">singularity</a>, I am more interested in transhumanism in this article.<br />
<span id="more-82"></span></p>
<h3>Defining Transhumanism</h3>
<p>For semantic clarity, I&#8217;m going to define what I mean by transhuman, because my definition and connotations may differ from yours.</p>
<p>A &#8216;transhuman&#8217; is someone who augments reality with technology at a constant and unconscious on nearly unconscious level.  The key concept here is that transhumans use technology to augment reality.  This helps avoid the temptation to define any tool-user as a transhuman; a primitive man with a spear is more capable at hunting than a primitive man with his bare hands.  A person driving a car is more mobile than a person walking.  A person who watches a movie while browsing <a href="http://imdb.com">IMDB</a> on their iPhone knows more about the movie than someone watching it passively (though the passive viewer may well be enjoying the movie more).  By our definition, the iPhone user comes close to transhumanism.  We might call her a proto-transhuman.  However, these is still significant effort involved; she must look away from the movie and focus on her iPhone to search IMDB.</p>
<p>So, where are we now?  Some people (early-adopting geeks, for example), already consider quick access to information to be something like an extra limb; as one of those affected with this feeling, I can vouch for it.  Are we transhuman or not?  Again, we&#8217;re on the way there, but we haven&#8217;t yet achieved the fluidity of control and automation needed yet.</p>
<p>As for where we&#8217;re going next, let&#8217;s begin by discussing how we got where we are.</p>
<h3>The Evolution of Information Access</h3>
<p>For the majority of human history, access to information has been difficult.  Even after the invention of the printing press, one had to have either a personal library or access to a public library.  Information could be obtained, but not in a timely manner; poring over books was the purview of academia.  And even academics could only access this information when they were actually at their libraries.</p>
<p>As a result, the human brain has been the only way to store a significant amount of information for quick retrieval.  As a storage device, the brain is not that great; storing something permanently requires multiple writes (our recall of a fact is better the more times we have heard it).  It can be finicky at retrieving information; everyone who has ever had something &#8216;on the tip of their tongue&#8217; can attest to that.</p>
<p>The next revolution in storage was electronic storage; in other words, computers.  Of course, early computers couldn&#8217;t hold a ton of information, but more importantly; that information was still stuck in one location.  To look up a fact on a computer, you had to physically travel to the computer with the information on it (or to a terminal connected to that computer; typically, these needed to be pretty close to the mainframe).</p>
<h4>Enter the Internet</h4>
<p>And here we come to the revolution; the Internet allows us to access virtually any piece of information from any computer in the world.  And with the information searching miracle we call Google, we can usually find that information very quickly.  Of course, the original problem with the Internet was that you still had to get to a computer to use it.  The solution?</p>
<p>Smaller computers.</p>
<p>Laptops, to be precise.  Laptop computers allowed us to connect to the Internet, and its massive store of information, anywhere we could find a phone line.  With the emergence of wireless networking, all we need is a wireless signal.  However, laptops are big, and cumbersome to use in a hurry; if I&#8217;m in the midst of a conversation and need to recall a fact, it takes several minutes to get my laptop powered on and connected to the Internet.  The solution?</p>
<p>Smaller computers.</p>
<p>Cellular telephones have evolved from foot-long bricks that required external power to pocket-sized devices with <a href="http://en.wikipedia.org/wiki/Touchscreen#Capacitive">capacitive touchscreen</a> interfaces.  These phones can also connect to the Internet, play music and games, function as e-book readers, scan bar-codes and do real-time price comparison, and perform myriad other tasks.  They can access any information from any location that has cellular service.  This is the first real step toward ubiquitous information access.  However, these devices can still be somewhat cumbersome to use.  The device must be fetched from a user&#8217;s pocket, then interacted with for quite some time to get the information you want.  If you want this information in the middle of a conversation, it can be fairly cumbersome.  The solution?</p>
<p>Smarter computers.</p>
<h4>The current state of the art</h4>
<p>Immediate mastery of a wide array of information was once a symbol of the elite.  Now, anyone who can type reasonably quickly can have an online, text-based conversation and match the knowledge of anyone else on many topics (this can be tough for very advanced or specialized topics, obviously).  I suspect that this trend will continue until anyone can retrieve any fact instantaneously.</p>
<p>The implications this has for culture are immense.  Once memorization of fact is no longer a measure of the intellectual elite, intelligence will be judged along other axes; the ability to synthesize existing content (analysis) and the ability to create new content (art).  The stigma that exists against artists will disappear, and we will be left with a culture in which artists are not only lauded as worthwhile members of society, but financially supported by society.</p>
<h3>Portrait of a Transhuman</h3>
<p>Let&#8217;s look at what transhumans might look like at a point in the near future.</p>
<p>He wears sunglasses with transparent <a href="http://en.wikipedia.org/wiki/Organic_light-emitting_diode">OLED</a> overlays and a bluetooth radio that communicates with his personal Mobile Device (the successor to the smart phone).  The overlay provides a Heads-Up Display; in it, he sees that he has 3 unread emails, 4 new <a href="http://en.wikipedia.org/wiki/RSS">RSS</a> items, and an instant message from his wife.  A pinhole camera in the glasses tracks his eye movements and responds to them; he keeps his gaze on the IM for a moment and it expands.  His wife is asking him to pick a restaurant for dinner.  A second pinhole camera looks outward from the glasses, feeding data about his surroundings to the Mobile Device.  He looks at a restaurant down the block, and a moment later his HUD provides a menu, operating hours, and reviews.  He pulls out his Mobile Device and types a quick reply to his wife.</p>
<p>All of the technology I just described already exists; it just needs to be made small enough, responsive enough, and accurate enough.  Protocols and standards need to be developed, and our access to information needs to be made a public commodity.  Once this is achieved, we will have the future.  What we&#8217;ll do with it, I have no idea.</p>
<br />Posted in Technology Tagged: transhumanism <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/stringofbits.wordpress.com/82/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/stringofbits.wordpress.com/82/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/stringofbits.wordpress.com/82/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/stringofbits.wordpress.com/82/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/stringofbits.wordpress.com/82/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/stringofbits.wordpress.com/82/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/stringofbits.wordpress.com/82/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/stringofbits.wordpress.com/82/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/stringofbits.wordpress.com/82/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/stringofbits.wordpress.com/82/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/stringofbits.wordpress.com/82/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/stringofbits.wordpress.com/82/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/stringofbits.wordpress.com/82/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/stringofbits.wordpress.com/82/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=stringofbits.net&amp;blog=23443234&amp;post=82&amp;subd=stringofbits&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://stringofbits.net/2009/07/03/thoughts-on-the-transhuman-revolution/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/7a6c6c99ccd3e2bbaec318a52fb3d43c?s=96&#38;d=identicon&#38;r=PG" medium="image">
			<media:title type="html">annabunches</media:title>
		</media:content>
	</item>
		<item>
		<title>Twitter from the command line</title>
		<link>http://stringofbits.net/2009/07/02/twitter-from-the-command-line/</link>
		<comments>http://stringofbits.net/2009/07/02/twitter-from-the-command-line/#comments</comments>
		<pubDate>Thu, 02 Jul 2009 20:38:30 +0000</pubDate>
		<dc:creator>Anna Wiggins</dc:creator>
				<category><![CDATA[Technology]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[programming]]></category>
		<category><![CDATA[twitter]]></category>

		<guid isPermaLink="false">http://stringofbits.net/?p=129</guid>
		<description><![CDATA[I&#8217;ve recently started playing with twitter. A nice way to use it via the command-line (using curl) was suggested here. I have taken that and improved slightly on it. Here is the result: #!/bin/sh echo -n "twitter&#62; " read text while [ ${#text} -gt 140 ]; do echo echo "Message too long; used ${#text}/140 characters." [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=stringofbits.net&amp;blog=23443234&amp;post=129&amp;subd=stringofbits&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>I&#8217;ve recently started playing with twitter.  A nice way to use it via the command-line (using curl) was suggested <a href="http://binnyva.blogspot.com/2007/03/using-twitter-part-1-command-line.html">here</a>.  I have taken that and improved slightly on it.</p>
<p><span id="more-129"></span></p>
<p>Here is the result:</p>
<blockquote><p><code>#!/bin/sh<br />
echo -n "twitter&gt; "<br />
read text</p>
<p>while [ ${#text} -gt 140 ]; do</p>
<p>echo<br />
echo "Message too long; used ${#text}/140 characters."<br />
echo<br />
echo -n "twitter&gt; "<br />
read text</p>
<p>done</p>
<p>echo<br />
echo "Message is ${#text}/140 characters.  Press enter to post, or Ctrl+C to cancel."<br />
read</p>
<p>curl --basic --user "username:password" --data-ascii "status=`echo $text|tr ' ' '+'`" "http://twitter.com/statuses/update.json" &amp;&gt; /dev/null<br />
</code>
</p></blockquote>
<p>To use the script, copy all of that into a file somewhere in your path, then make the file executable (e.g., <code>chmod 755 /usr/local/bin/twitter</code>).  Now you can type &#8216;twitter&#8217;, type in your tweet, and you&#8217;re done!</p>
<p>I even set up fluxbox so that mod4+t launches a terminal with the script running.  To do that, I added this to ~/.fluxbox/keys:</p>
<blockquote><p>
<code><br />
Mod4 t :Exec xterm -e "twitter"<br />
</code>
</p></blockquote>
<p>If you&#8217;re not familiar with &#8216;mod4&#8242;, it is the Windows key on most PC keyboards.</p>
<p>I&#8217;ll eventually get around to writing a slightly more full-featured twitter updater in c or c++.  Until then, enjoy this script!</p>
<br />Posted in Technology Tagged: linux, programming, twitter <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/stringofbits.wordpress.com/129/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/stringofbits.wordpress.com/129/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/stringofbits.wordpress.com/129/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/stringofbits.wordpress.com/129/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/stringofbits.wordpress.com/129/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/stringofbits.wordpress.com/129/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/stringofbits.wordpress.com/129/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/stringofbits.wordpress.com/129/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/stringofbits.wordpress.com/129/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/stringofbits.wordpress.com/129/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/stringofbits.wordpress.com/129/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/stringofbits.wordpress.com/129/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/stringofbits.wordpress.com/129/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/stringofbits.wordpress.com/129/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=stringofbits.net&amp;blog=23443234&amp;post=129&amp;subd=stringofbits&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://stringofbits.net/2009/07/02/twitter-from-the-command-line/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/7a6c6c99ccd3e2bbaec318a52fb3d43c?s=96&#38;d=identicon&#38;r=PG" medium="image">
			<media:title type="html">annabunches</media:title>
		</media:content>
	</item>
		<item>
		<title>The Case of the Odd NetworkManager Behavior</title>
		<link>http://stringofbits.net/2009/04/27/the-case-of-the-odd-networkmanager-behavior/</link>
		<comments>http://stringofbits.net/2009/04/27/the-case-of-the-odd-networkmanager-behavior/#comments</comments>
		<pubDate>Mon, 27 Apr 2009 17:31:47 +0000</pubDate>
		<dc:creator>Anna Wiggins</dc:creator>
				<category><![CDATA[Technology]]></category>
		<category><![CDATA[fedora]]></category>
		<category><![CDATA[linux]]></category>

		<guid isPermaLink="false">http://stringofbits.net/?p=110</guid>
		<description><![CDATA[I recently purchased an Eee PC 1000HE.  This is a very nice machine, and aside from one weird bug, Linux support is great.  However, I&#8217;ve run into a very annoying problem with Fedora 10, and at the root of that problem is gnome-keyring-manager. Misconfiguration Most Foul We begin our tale with NetworkManager.  Since I connect [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=stringofbits.net&amp;blog=23443234&amp;post=110&amp;subd=stringofbits&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>I recently purchased an <a href="http://www.newegg.com/Product/Product.aspx?Item=N82E16834220504">Eee PC 1000HE</a>.  This is a very nice machine, and aside from one <a href="https://bugzilla.redhat.com/show_bug.cgi?id=489216">weird bug</a>, Linux support is great.  However, I&#8217;ve run into a very annoying problem with Fedora 10, and at the root of that problem is gnome-keyring-manager.</p>
<p><span id="more-110"></span></p>
<h3>Misconfiguration Most Foul</h3>
<p>We begin our tale with NetworkManager.  Since I connect to several wireless networks and a VPN, NetworkManager is a very useful thing to have working.  Its initial setup was great; I loaded nm-applet in my fluxbox startup, it prompted me for a default keyring password, and we were off.</p>
<p>However, on my next boot I was not prompted for my keyring password; I had to enter my WEP key manually.  After some exploration, I learned that gnome-keyring-daemon needs to be running.  The paradox is that it WAS running.</p>
<h3>A Red Herring</h3>
<p>I found some rather old advice thas suggested I run gnome-keyring-daemon manually from ~/.fluxbox/startup, but this didn&#8217;t work; gnome-keyring-daemon starts automatically in Fedora 10, thanks to pam_gnome_keyring.so.  I now had two copies of the daemon now running, neither of which worked.</p>
<p>What I eventually discovered was this: if I kill the automatically-started gnome-keyring-daemon (or remove auto_start from the pam_gnome_keyring options in /etc/pam.d/kdm), then start it manually with different options, it works every time.  So, instead of:</p>
<p><code>gnome-keyring-daemon -d --login</code></p>
<p>which is the automatically provided command, I ran:</p>
<p><code>gnome-keyring-daemon -f -c keyring</code></p>
<p>from my fluxbox startup file.  This worked, but turned out to be unnecessary.</p>
<h3>An Anwser</h3>
<p>My next discovery:  If I disable the daemon&#8217;s automatic starting (once again by taking the auto_start option out of /etc/pam.d/kdm) and remove my custom invocation from the startup file, it still starts automatically, but with different options than the auto_start version!  In fact, it starts with the options work.</p>
<p>It turns out that nm-applet and gnome-screensaver both automatically start gnome-keyring-daemon if it isn&#8217;t running.  Since nm-applet runs first, it starts up the daemon, and passes it a completely different set of options than the pam-invoked version.  Thanks for the consistency, gnome!</p>
<h3>A Problem</h3>
<p>Starting gnome-keyring-daemon manually or allowing nm-applet to start it still poses a problem: the daemon doesn&#8217;t die when I log out!  This means that, as I log in and out several times, useless instances of the daemon end up sitting around doing nothing.  Since the apps that talk to the daemon use $GNOME_KEYRING_SOCKET to do so, everything keeps working; but it&#8217;s cruft I&#8217;d rather not have.</p>
<h3>Elementary</h3>
<p>After following this circuitous path, I finally stumbled into the answer: it&#8217;s a <a href="https://bugzilla.redhat.com/show_bug.cgi?id=453880">known bug</a>.  It is actually related to the lack of a proper $DISPLAY getting set for gnome-keyring-daemon; it isn&#8217;t related to the passed in options at all.</p>
<p>At this point, I&#8217;m forced to fall back on a hack.  I&#8217;ve added the following to my ~/.fluxbox/startup, above the gnome-related apps:</p>
<p><code>killall gnome-keyring-daemon</code></p>
<p>I&#8217;ve also removed the auto_start option from /etc/pam.d/kdm.  Unfortunately, not launching the daemon with pam means that I can&#8217;t take advantage of the single sign-on feature provided by pam_gnome_keyring.  But until the bug is fixed, I guess this will have to be good enough.</p>
<p>(As for why I don&#8217;t use gdm, see <a href="http://stringofbits.net/2009/01/5-things-i-hate-about-fedora-10/">this post</a>)</p>
<h3>Update: a command explained</h3>
<p>If you look at the &#8211;help output for gnome-keyring-daemon (or, if you&#8217;ve applied my hack below, gnome-keyring-daemon-bin), you&#8217;ll see this output:</p>
<p><code>Usage:<br />
  gnome-keyring-daemon [OPTION...] - The Gnome Keyring Daemon</p>
<p>Help Options:<br />
  -?, --help                              Show help options</p>
<p>Application Options:<br />
  -f, --foreground                        Run in the foreground<br />
  -d, --daemonize                         Run as a daemon<br />
  -l, --login                             Use login password from stdin<br />
  -c, --components=ssh,keyring,pkcs11     The components to run</code></p>
<p>Anyone acquainted with Linux will understand the first two options, -f and -d, pretty intuitively.  You&#8217;ll note in my post above that my &#8216;working&#8217; option set included -f; this is because -f prints to standard out, allowing us to capture the GNOME_KEYRING_SOCKET and GNOME_KEYRING_PID variables that the daemon spits out.  However, when run in -d, these variable seem to get set correctly anyway.  Further, the -c option I used in my quest seems superfluous; the daemon defaults to using the keyring component.  I wanted to explain this since it wasn&#8217;t clear in the original post exactly why I bounced between options.  At the time, I was grasping at straws, and assigned a simple correlation (the different command-line options in use) to a causation (the daemon that started automatically, with the different options, failed to work correctly).</p>
<p>The option that had me baffled, though, was &#8211;login.  The information in the help output is cryptic, but I finally worked out its purpose; it allows single sign-on.  pam_gnome_keyring passes your login password to gnome-keyring-daemon, which uses it to unlock a special keyring called the login keyring.  This keyring can then be used to store the passwords to your other keyrings, so that when you log in, everything unlocks automatically.  Your system login doubles as your keyring authentication.</p>
<h4>Further Update: Eureka! (or: building a better hack)</h4>
<p>Based on a comment in the bugzilla entry for this problem, I have crafted a better (if more system-intrusive) hack.  I simply perform the following:</p>
<p><code>mv /usr/bin/gnome-keyring-daemon /usr/bin/gnome-keyring-daemon-bin<br />
touch /usr/bin/gnome-keyring-daemon<br />
chmod 755 /usr/bin/gnome-keyring-daemon<br />
cat &gt; /usr/bin/gnome-keyring-daemon &lt;&lt; EOF<br />
#!/bin/sh<br />
DISPLAY=&quot;:0.0&quot; /usr/bin/gnome-keyring-daemon-bin &quot;\$@&quot;<br />
EOF</code></p>
<p>This hack creates a wrapper script that sets the $DISPLAY variable before running the keyring daemon.  Until this kdm bug is worked out, this hack performs beautifully.</p>
<br />Posted in Technology Tagged: fedora, linux <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/stringofbits.wordpress.com/110/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/stringofbits.wordpress.com/110/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/stringofbits.wordpress.com/110/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/stringofbits.wordpress.com/110/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/stringofbits.wordpress.com/110/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/stringofbits.wordpress.com/110/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/stringofbits.wordpress.com/110/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/stringofbits.wordpress.com/110/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/stringofbits.wordpress.com/110/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/stringofbits.wordpress.com/110/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/stringofbits.wordpress.com/110/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/stringofbits.wordpress.com/110/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/stringofbits.wordpress.com/110/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/stringofbits.wordpress.com/110/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=stringofbits.net&amp;blog=23443234&amp;post=110&amp;subd=stringofbits&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://stringofbits.net/2009/04/27/the-case-of-the-odd-networkmanager-behavior/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/7a6c6c99ccd3e2bbaec318a52fb3d43c?s=96&#38;d=identicon&#38;r=PG" medium="image">
			<media:title type="html">annabunches</media:title>
		</media:content>
	</item>
		<item>
		<title>It is pitch black.  You are likely to be flamed by a fanboy.</title>
		<link>http://stringofbits.net/2009/01/18/it-is-pitch-black-you-are-likely-to-be-flamed-by-a-fanboy/</link>
		<comments>http://stringofbits.net/2009/01/18/it-is-pitch-black-you-are-likely-to-be-flamed-by-a-fanboy/#comments</comments>
		<pubDate>Sun, 18 Jan 2009 05:53:44 +0000</pubDate>
		<dc:creator>Anna Wiggins</dc:creator>
				<category><![CDATA[Technology]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[stupid people]]></category>

		<guid isPermaLink="false">http://stringofbits.net/?p=97</guid>
		<description><![CDATA[I feel the need to comment about this (and, subsequently, this and this). First, a summary, for those who get a case of the tl;dr&#8217;s.  A woman bought a laptop to use for her coursework at a local college.  She accidentally bought a Dell laptop with Ubuntu on it.  When she realized her ISP&#8217;s setup [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=stringofbits.net&amp;blog=23443234&amp;post=97&amp;subd=stringofbits&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>I feel the need to comment about <a href="http://www.wkowtv.com/Global/story.asp?S=9667184&amp;nav=menu1362_8_6">this</a> (and, subsequently, <a href="http://www.wkowtv.com/Global/story.asp?S=9682258&amp;nav=menu1362_2">this</a> and <a href="http://addins.wkowtv.com/blogs/behindthenews/archives/84">this</a>).</p>
<p>First, a summary, for those who get a case of the tl;dr&#8217;s.  A woman bought a laptop to use for her coursework at a local college.  She accidentally bought a Dell laptop with Ubuntu on it.  When she realized her ISP&#8217;s setup disk wouldn&#8217;t work, she tried to get Dell to swap the laptop for one with Windows.  The Dell representative apparently convinced her to keep the one she had.</p>
<p>She claims that this problem, combined with a lack of Microsoft Office, forced her to withdraw from classes.  The local news ran the linked article; it is worth noting that the bottom portion (the part where the news agency contacted the college and Verizon, and everything got cleaned up) did not appear in the initial article.</p>
<p><span id="more-97"></span><br />
Needless to say, the Linux community (and the Ubuntu community in particular) exploded.  The article hit digg, slashdot, and reddit.  The angry letters and phone calls started pouring in to the news station (though they got tons of traffic, naturally).  More significantly, the woman in question was harassed on facebook.</p>
<p>This story shows mistakes from every party involved.  The Dell representative should have helped her switch to a machine she was more comfortable with.  The woman herself should have taken initiative, called Verizon and asked what she could do to get her connection working.  Alternately, what&#8217;s wrong with using another computer (say, at a local library) until you can get the laptop issue sorted out?  Dropping all your classes for the semester is overly drastic and melodramatic.</p>
<p>The worst perpetrators of stupidity here, though, are the Linux community members who not only lambasted and ridiculed this woman publicly on forums and blogs, but also attacked her personally on her Facebook account.  This is childish, pointless, and it paints the entire Linux community as anti-social assholes.</p>
<p>Unlike most groups, the Linux community IS Linux.  If a Star Wars fan blogs about how everyone who doesn&#8217;t know the difference between a Sith and a Dark Jedi is an idiot, the Star Wars franchise is not going to be damaged; there is a clear disparity between the creators (Lucasfilm et al) and the consumers (fans).  On the other hand, if a Linux fanboy blogs that everyone should know the intricacies of iptables configuration before being allowed on the Internet, this will color peoples&#8217; perception of Linux.</p>
<p>Why does this happen?  Because Linux is Free, open to the world.  Anyone can add to it.  The community and the product are intricately intertwined.</p>
<p>This is a false perception, though; in reality, the rabid fanboys who would harass a woman on Facebook are a completely different set of people than the assholes that argue fine technical points on <a href="http://lkml.org/">LKML</a>. (I&#8217;m using asshole here in its rare application as a compliment)  However, the impression that an outsider has looking in is that Linux is some wild, anarchistic (or maybe communist) creation.  This stems from the growing cultural knowledge that Linux was created by and for the people that use it.  This is not quite true.  Linux was created by and for developers and technology enthusiasts, true.  However, not every vocal member of the community actually contributes to Linux itself; only a fairly small subset of users are actively involved in improving the software.</p>
<p>I don&#8217;t mean to devalue the role of the community in development.  Community contributors are important, welcome, and numerous.  Bug submitters and other &#8220;active users&#8221; are vital to the strength of the open development model.  However, the active users aren&#8217;t even the people that we see evident in this article.  What we see here are fanboys:</p>
<blockquote><p>fanboy (n): Someone who is so obsessed with some subject or thing that they are blind to its faults and harass and deride anyone whose opinion differs.</p></blockquote>
<p>These are precisely the people that Linux does not need.  The community would be doing itself a favor by creating public distance from this subset of itself.  We need more rational, clear-headed people speaking out about the benefits of Linux.  Fanboys ranting and harassing people will get us nowhere.</p>
<div>I am aware that I haven&#8217;t offered any advice on <strong>how</strong> to make the fanboys go away, and that&#8217;s because I don&#8217;t have any.  I don&#8217;t know how to do it, or if it is even possible.  This is just a statement of a problem that I see; anyone with ideas, please share them.</div>
<br />Posted in Technology Tagged: linux, stupid people <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/stringofbits.wordpress.com/97/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/stringofbits.wordpress.com/97/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/stringofbits.wordpress.com/97/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/stringofbits.wordpress.com/97/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/stringofbits.wordpress.com/97/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/stringofbits.wordpress.com/97/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/stringofbits.wordpress.com/97/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/stringofbits.wordpress.com/97/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/stringofbits.wordpress.com/97/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/stringofbits.wordpress.com/97/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/stringofbits.wordpress.com/97/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/stringofbits.wordpress.com/97/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/stringofbits.wordpress.com/97/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/stringofbits.wordpress.com/97/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=stringofbits.net&amp;blog=23443234&amp;post=97&amp;subd=stringofbits&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://stringofbits.net/2009/01/18/it-is-pitch-black-you-are-likely-to-be-flamed-by-a-fanboy/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/7a6c6c99ccd3e2bbaec318a52fb3d43c?s=96&#38;d=identicon&#38;r=PG" medium="image">
			<media:title type="html">annabunches</media:title>
		</media:content>
	</item>
		<item>
		<title>5 things I hate about Fedora 10</title>
		<link>http://stringofbits.net/2009/01/14/5-things-i-hate-about-fedora-10/</link>
		<comments>http://stringofbits.net/2009/01/14/5-things-i-hate-about-fedora-10/#comments</comments>
		<pubDate>Wed, 14 Jan 2009 21:14:05 +0000</pubDate>
		<dc:creator>Anna Wiggins</dc:creator>
				<category><![CDATA[Technology]]></category>
		<category><![CDATA[linux]]></category>

		<guid isPermaLink="false">http://stringofbits.net/?p=88</guid>
		<description><![CDATA[Every release of Fedora feels like a step in the wrong direction.  I don&#8217;t say this lightly &#8211; I use Fedora at work and at home; it is my primary operating system.  I have staunchly supported it in the face of critical Ubuntu fans for a while now. First, a little background.  I switched to [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=stringofbits.net&amp;blog=23443234&amp;post=88&amp;subd=stringofbits&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Every release of Fedora feels like a step in the wrong direction.  I don&#8217;t say this lightly &#8211; I use Fedora at work and at home; it is my primary operating system.  I have staunchly supported it in the face of critical Ubuntu fans for a while now.</p>
<p>First, a little background.  I switched to Fedora from a mixture of gentoo and slackware around the time I started my <a href="http://www.redhat.com">current job</a>, since it was far easier to keep track of one package management toolset, and several things about gentoo&#8217;s packaging system had started to irk me.  The current release of Fedora at the time was 7.  I have been using it since, usually upgrading to new releases (via a clean install) about a month after they release.</p>
<p>My needs are simple, but apparently elusive to Fedora.  I use fluxbox as my window manager.  I prefer to perform all of my system configuration from the command line.  My graphical application use is minimal (firefox, games, pidgin).</p>
<p>Let&#8217;s explore the problems I&#8217;ve noticed have started creeping in, starting with the release of fedora 8.  My solution/workaround for each problem is included, if I have one.  For what it is worth, I realize that some of these could be the result of 3rd-party packages (such as Nvidia&#8217;s proprietary drivers).  However, if any of these are the result of user error, then the solution should rightly be easy to find by searching documentation, which I have done extensively in every case.</p>
<p><span id="more-88"></span></p>
<h2>1. Pulseaudio</h2>
<p><em>Pulseaudio&#8230; I hate the word</em></p>
<p>This one heads the list because it&#8217;s the problem I&#8217;ve had to deal with most recently.  I have been lucky in that pulseaudio plays nicely with the sound cards on all 3 of my Fedora machines (others have been less fortunate).  However, I was stuck with audio far quieter than what I had grown used to in gentoo.</p>
<p><strong>Solution:</strong> I finally discovered that pulseaudio has its own volume settings, independent of the ALSA-level audio device.  You can adjust the hardware volume levels with either of these commands:</p>
<blockquote><p><code>alsamixer -Dhw:0<br />
alsamixer -c 0</code></p></blockquote>
<p>It would be nice if this were clearly documented somewhere.  There are some vague hints on <a href="https://fedoraproject.org/wiki/SoundTroubleshooting">this page</a>, which is what pointed me in the right direction.</p>
<p>Thankfully, pulseaudio is no longer quite so painful when dealing with apps that only talk to ALSA.  I noticed some popping in certain applications, though (Neverwinter Nights, for one).  pasuspender seems to work around this, but the fact that this is necessary is kludgy.</p>
<h3>2. GDM</h3>
<p><em>The thousand injuries of GDM I had borne as best I could; but when he ventured upon insult, I vowed revenge&#8230;</em></p>
<p>GDM in Fedora has been upgraded to the latest upstream from the gnome team.  The problem with this version of GDM is that it removes almost all of its configuration options.  They have crippled it thus <a href="http://live.gnome.org/GDM/2.22/Configuration">intentionally</a>, and while they claim the removed options were &#8220;obsoleted due to redesign&#8221;, it seems that some of the options were dropped to prevent users from doing stupid things.</p>
<p>This Lowest Common Denominator approach is fine for a default configuration, but it should always be possible to change the default behavior.  Removing the ability to customize it entirely is not only against the spirit of open source software and Linux, it is insulting to the users.  It feels as if the team responsible for GDM thinks they know better than I do when it comes to configuring my machine.</p>
<p>In my case, the default behavior that troubles me is the fact that GDM passes the +accessx option to X.  Gnome includes a daemon that can override the accessx behavior (namely, enabling sticky keys if you hold shift down too long).  KDE includes a similar tool.  Fluxbox, however, has none &#8211; it assumes (justly) that you can turn off the accessx option at the X11 level if you don&#8217;t want it.  The new GDM denies you this ability, however.</p>
<p><strong>Solution:</strong> Switched to KDM, which doesn&#8217;t seem to enable +accessx by default.  I tried XDM first, but it has SELinux errors and fails to launch fluxbox.  Also, KDM looks much nicer.  Alternately, I could have booted into runlevel 3 and then used startx, but I&#8217;ve become a fan of the graphical login prompt.</p>
<h3>3. Upstart</h3>
<p><em>The name says it all</em></p>
<p><a href="http://en.wikipedia.org/wiki/Upstart">upstart</a> is the new init system in fedora; a replacement for the aging sysVinit.  In theory, upstart is great &#8211; gives you much more granular control over what processes should happen at each runlevel, and may eventually replace /etc/init.d entirely.  In practice, however, it has a rather annoying problem: sometimes it fails to respawn the ttys when in runlevel 5.  This problem doesn&#8217;t seem to be present in runlevel 3, for whatever reason.</p>
<p><strong>Solution:</strong> no real solution at present, but you can work around it with <code>initctl start ttyX</code></p>
<h3>4. rsyslog</h3>
<p><em>Hey&#8230; Listen!</em></p>
<p>The traditional syslogd has been replaced with rsyslog, a much more powerful/configurable syslog daemon.  However, it seems to dump all kernel output to the console.  The default configuration doesn&#8217;t include any statements that should be logging to the console, so it could be caused by something else.  Either way, the problem is present.</p>
<p>You can test this from any fedora machine: it seems to happen on every F10 box I can find.  Just press Ctrl+Alt+F2, then plug in a USB flash drive.  This is annoying on its own, but is especially frustrating when combined with #5, below.</p>
<p><strong>Solution:</strong> none</p>
<h3>5. PCI-Express device errors</h3>
<p><em>Or How I Learned to Stop Worrying and Love X.org</em></p>
<p>On my PCI-Express video card, I receive constant error messages, both in messages and on the console (see #4, above).  These happen whenever the screen is cleared or switched to.  In other words, Ctrl+Alt+FX will generate one of these, sometimes two.  Running &#8216;less&#8217; generates the errors.  So does the &#8216;clear&#8217; command.  emacs and vi both trigger the error.  Each instance of the error takes up about 25% of the screen&#8217;s real estate.  This makes operating on the command line extremely difficult.</p>
<p><strong>Solution:</strong> None yet.  I suspect this may be related to the Nvidia drivers; in that case, a future update may fix these errors.  I&#8217;ll give Fedora the benefit of the doubt where I can.</p>
<br />Posted in Technology Tagged: linux <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/stringofbits.wordpress.com/88/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/stringofbits.wordpress.com/88/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/stringofbits.wordpress.com/88/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/stringofbits.wordpress.com/88/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/stringofbits.wordpress.com/88/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/stringofbits.wordpress.com/88/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/stringofbits.wordpress.com/88/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/stringofbits.wordpress.com/88/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/stringofbits.wordpress.com/88/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/stringofbits.wordpress.com/88/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/stringofbits.wordpress.com/88/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/stringofbits.wordpress.com/88/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/stringofbits.wordpress.com/88/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/stringofbits.wordpress.com/88/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=stringofbits.net&amp;blog=23443234&amp;post=88&amp;subd=stringofbits&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://stringofbits.net/2009/01/14/5-things-i-hate-about-fedora-10/feed/</wfw:commentRss>
		<slash:comments>5</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/7a6c6c99ccd3e2bbaec318a52fb3d43c?s=96&#38;d=identicon&#38;r=PG" medium="image">
			<media:title type="html">annabunches</media:title>
		</media:content>
	</item>
		<item>
		<title>An aside on Education</title>
		<link>http://stringofbits.net/2009/01/07/an-aside-on-education/</link>
		<comments>http://stringofbits.net/2009/01/07/an-aside-on-education/#comments</comments>
		<pubDate>Wed, 07 Jan 2009 20:33:48 +0000</pubDate>
		<dc:creator>Anna Wiggins</dc:creator>
				<category><![CDATA[Technology]]></category>
		<category><![CDATA[education]]></category>

		<guid isPermaLink="false">http://stringofbits.net/?p=90</guid>
		<description><![CDATA[I first encountered Clay Burell on his blog Beyond School, where he had started a series of Unsucky English Lectures.  These posts were brilliant, engaging, and poignant, and I followed them to their tragically early conclusion. (Clay, if you&#8217;re reading this, pick those back up, man!)  It turns out that Beyond School was actually a [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=stringofbits.net&amp;blog=23443234&amp;post=90&amp;subd=stringofbits&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>I first encountered Clay Burell on his blog <a href="http://beyond-school.org">Beyond School</a>, where he had started a series of <a href="http://beyond-school.org/2008/08/26/gilgamesh1/">Unsucky English Lectures</a>.  These posts were brilliant, engaging, and poignant, and I followed them to their tragically early conclusion. (Clay, if you&#8217;re reading this, pick those back up, man!)  It turns out that Beyond School was actually a blog about revolutionizing education.  I just happened in while he was doing a special series.  I kept following his blog, though.</p>
<p>At any rate, Mr. Burell now has a new blog at <a href="http://education.change.gov">education.change.org</a>.  In particular, one recent post impressed me, and I wanted to increase its distribution, at least by the tiny amount that people actually view this blog :P</p>
<p><a href="http://education.change.org/blog/view/why_schoolwork_doesnt_have_to_suck_learning_20">Why Schoolwork Doesn&#8217;t Have to Suck</a></p>
<p>There&#8217;s some important ideas here.  The concept that our technology could (should, must) become the medium through which we engage in learning is as groundbreaking as it is obvious.  Enjoy.</p>
<br />Posted in Technology Tagged: education <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/stringofbits.wordpress.com/90/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/stringofbits.wordpress.com/90/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/stringofbits.wordpress.com/90/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/stringofbits.wordpress.com/90/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/stringofbits.wordpress.com/90/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/stringofbits.wordpress.com/90/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/stringofbits.wordpress.com/90/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/stringofbits.wordpress.com/90/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/stringofbits.wordpress.com/90/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/stringofbits.wordpress.com/90/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/stringofbits.wordpress.com/90/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/stringofbits.wordpress.com/90/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/stringofbits.wordpress.com/90/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/stringofbits.wordpress.com/90/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=stringofbits.net&amp;blog=23443234&amp;post=90&amp;subd=stringofbits&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://stringofbits.net/2009/01/07/an-aside-on-education/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/7a6c6c99ccd3e2bbaec318a52fb3d43c?s=96&#38;d=identicon&#38;r=PG" medium="image">
			<media:title type="html">annabunches</media:title>
		</media:content>
	</item>
		<item>
		<title>.com is the new .org</title>
		<link>http://stringofbits.net/2008/12/31/com-is-the-new-org/</link>
		<comments>http://stringofbits.net/2008/12/31/com-is-the-new-org/#comments</comments>
		<pubDate>Wed, 31 Dec 2008 14:26:28 +0000</pubDate>
		<dc:creator>Anna Wiggins</dc:creator>
				<category><![CDATA[Technology]]></category>
		<category><![CDATA[news]]></category>

		<guid isPermaLink="false">http://stringofbits.net/?p=86</guid>
		<description><![CDATA[No, not an angry rant about proper gTLD usage.  Instead, this is more of a Public Service Announcement: silenceisdefeat, my favorite provider of life-long free shell accounts, has had their domain name taken hostage.  silenceisdefeat.org now redirects to an ebay auction for the domain name.  As a result, they can now be found at: http://silenceisdefeat.com [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=stringofbits.net&amp;blog=23443234&amp;post=86&amp;subd=stringofbits&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>No, not an angry rant about proper gTLD usage.  Instead, this is more of a Public Service Announcement: silenceisdefeat, my favorite provider of life-long free shell accounts, has had their domain name taken hostage.  silenceisdefeat.org now redirects to an ebay auction for the domain name.  As a result, they can now be found at:</p>
<p><a href="http://silenceisdefeat.com">http://silenceisdefeat.com</a></p>
<p>I have updated my previous link to their site (in <a href="http://stringofbits.net/2008/12/paranoid-security-establishing-a-connection-the-hard-way/">this article</a>) to reflect the change as well.</p>
<br />Posted in Technology Tagged: news <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/stringofbits.wordpress.com/86/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/stringofbits.wordpress.com/86/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/stringofbits.wordpress.com/86/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/stringofbits.wordpress.com/86/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/stringofbits.wordpress.com/86/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/stringofbits.wordpress.com/86/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/stringofbits.wordpress.com/86/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/stringofbits.wordpress.com/86/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/stringofbits.wordpress.com/86/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/stringofbits.wordpress.com/86/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/stringofbits.wordpress.com/86/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/stringofbits.wordpress.com/86/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/stringofbits.wordpress.com/86/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/stringofbits.wordpress.com/86/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=stringofbits.net&amp;blog=23443234&amp;post=86&amp;subd=stringofbits&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://stringofbits.net/2008/12/31/com-is-the-new-org/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/7a6c6c99ccd3e2bbaec318a52fb3d43c?s=96&#38;d=identicon&#38;r=PG" medium="image">
			<media:title type="html">annabunches</media:title>
		</media:content>
	</item>
		<item>
		<title>Paranoid Security: Establishing a Connection the Hard Way</title>
		<link>http://stringofbits.net/2008/12/07/paranoid-security-establishing-a-connection-the-hard-way/</link>
		<comments>http://stringofbits.net/2008/12/07/paranoid-security-establishing-a-connection-the-hard-way/#comments</comments>
		<pubDate>Sun, 07 Dec 2008 07:03:08 +0000</pubDate>
		<dc:creator>Anna Wiggins</dc:creator>
				<category><![CDATA[Technology]]></category>
		<category><![CDATA[howto]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[security]]></category>

		<guid isPermaLink="false">http://stringofbits.net/?p=52</guid>
		<description><![CDATA[Recently, I was describing the personal setup I use to connect to my home machine over on watchingback (a group that has gone unfortunately silent).  This setup combines port-knocking (with one-time sequences), disk encryption, and passphrase-protected rsa keys.  Here&#8217;s a basic rundown of how it works from an end-user perspective (i.e., once everything is set [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=stringofbits.net&amp;blog=23443234&amp;post=52&amp;subd=stringofbits&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Recently, I was describing the personal setup I use to connect to my home machine over on <a href="http://groups.google.com/group/watchingback/topics">watchingback</a> (a group that has gone unfortunately silent).  This setup combines <a href="http://en.wikipedia.org/wiki/Port_knocking">port-knocking</a> (with <a href="http://en.wikipedia.org/wiki/One-time_pad">one-time sequences</a>), disk encryption, and passphrase-protected rsa keys.  Here&#8217;s a basic rundown of how it works from an end-user perspective (i.e., once everything is set up):</p>
<p>First, the user (me) inserts a USB flash drive with an encrypted partition.  He mounts up the encrypted disk on a local machine (I&#8217;ll call this machine the &#8216;client&#8217; throughout this article), providing the necessary password, and runs a script called &#8216;callhome&#8217;.  He is prompted for his passphrase, and then gets a terminal session on his home machine (we&#8217;ll call this one the &#8216;server&#8217;).</p>
<p>Read on for details about this setup, and how to do it.</p>
<p><span id="more-52"></span></p>
<p>Warning: what follows is madness. It is overkill taken to an extreme.  I am describing a way you can take a very, very simple procedure (connecting remotely to a system), and make it exceedingly complicated, all for the benefit of a little added security.  Whether or not this security is worthwhile to you is, of course, your business.  In an age where our governments and fellow citizens are increasingly keen on everything from our shopping and reading habits to our credit card numbers, I personally feel that cautiousness is worth the effort.</p>
<p>It is madness.  I&#8217;m not convinced it isn&#8217;t justified madness.</p>
<p>This tutorial assumes you are running <a href="http://linux.org">Linux</a>, and that you are comfortable with the command-line interface and with networked computing in general (of course, you&#8217;re reading this on the Internet, so that&#8217;s a good start).  All of my examples will be <a href="http://fedoraproject.org">Fedora</a>-centric.  If you don&#8217;t use Fedora, you&#8217;ll need to figure out what the commands are for your distro.</p>
<p>So, how is this complex setup I describe different from just typing &#8220;ssh user@server&#8221;?  Well, first, the callhome script executes a portknocking sequence.  Until this sequence is done, ssh is closed on the server.  After the sequence, ssh is opened only for the IP address of the client, and only for a small time window.  The ssh connection must happen during this window.  The script initiates the ssh connection, which helps keep this secure.  In addition, each portknocking sequence is valid only once &#8211; the USB drive contains a list of all valid sequences, and the script is set up to only use each one once.</p>
<p>Next, ssh on our server is set up to <strong>only</strong> allow connections with public keys.  This means that even if an attacker knew the correct portknocking sequence, he would not be able to login with a password &#8211; he must have the private RSA key.  The private key is on our USB flash drive, which is encrypted.  The key itself is further encrypted with its own passphrase, so you still enter a password to connect home, the work to verify it is simply done on the local machine.  The passphrase is never sent across the Internet, even in an encrypted/hashed form.</p>
<p>There are some other nice features, including a &#8216;panic&#8217; portknocking sequence that will shut down the portknocking server itself, locking down the remote server completely.  This panic script is stored on a machine to which I have a shell account.  If the USB flash drive is ever lost/stolen, I can get to any machine with an ssh client, log in to the shell account, and kill the knock server.  New connections to the server then become impossible.</p>
<p>This setup is useful for more than just a terminal connection home.  You can forward X through it and run graphical apps from home (this is typically going to be very slow, however).  You can forward any ports you like, so that you can route web traffic through this ssh tunnel and prevent people on your network from watching where you go on the web.  Anything you can do with a normal ssh connection can be done here.  Later I&#8217;ll demonstrate some examples that I use.  So, that&#8217;s the setup.</p>
<p>Now I will outline exactly how to do it, one step at a time.  You might want to grab a snack and use the bathroom &#8211; this is going to be a long trip.</p>
<h2 id="part_1">Part 1: Dynamic DNS</h2>
<p>Before you can call home to your server, it helps to have a name to call it by.  However, you can&#8217;t use a traditional hostname if your machine is on a broadband network because your IP address may periodically change.  Dynamic DNS (or DynDNS) was created to solve this problem.  A daemon runs on your server that periodically checks the IP address of the server and sends it to a DynDNS server.  This DynDNS server then updates a DNS record whenever your IP address changes.  I use <a href="http://dyndns.com">DynDNS.com</a>.  It&#8217;s free and easy.  Just choose a hostname for your machine, then install and configure the <a href="http://cdn.dyndns.com/ddclient.tar.gz">ddclient</a> software.  You can get instructions on configuring ddclient for DynDNS.com <a href="https://www.dyndns.com/support/kb/using_ddclient_with_dyndns_services.html">here</a>.</p>
<h2 id="part_2">Part 2: Configuring SSH</h2>
<p>On the server, find your sshd configuration file (on Fedora, this is at /etc/ssh/sshd_config) and ensure the following options are set to these values:</p>
<blockquote><p><code>RSAAuthentication yes<br />
PubkeyAuthentication yes<br />
AuthorizedKeysFile     .ssh/authorized_keys<br />
PasswordAuthentication no<br />
ChallengeResponseAuthentication no</code></p></blockquote>
<p>Now, restart your ssh daemon:</p>
<blockquote><p><code>service sshd restart</code></p></blockquote>
<p>Now, try to ssh into your machine (you can just do &#8216;ssh user@localhost&#8217;).  You&#8217;ll get denied immediately, without even seeing a password prompt.  This is what we want.  Next, we create the ssh key that we will use.  Run:</p>
<blockquote><p><code>ssh-keygen -t rsa -b 4096</code></p></blockquote>
<p>When prompted, specify a path <strong>other</strong> than the default.  Your home directory is a good choice &#8211; we will be moving id_rsa to the USB flash drive later.  Also, make sure you specify a good passphrase &#8211; if the USB flash drive is compromised, the strength of this passphrase will buy you time to lock down the server.  Now you have 2 files in your home directory, id_rsa and id_rsa.pub.  id_rsa is your encrypted, private RSA key.  id_rsa.pub is the public key that matches this private key.  Copy the contents of id_rsa.pub into ~/.ssh/authorized_keys.  This step will allow the private key to connect to the server as this user.</p>
<h2 id="part_3">Part 3: portknocking</h2>
<p>There&#8217;s still one significant security concern: unknown vulnerabilities.  OpenSSH is a complex program, and almost certainly still contains a vulnerability or two that haven&#8217;t been discovered.  To combat getting hit with that latest exploit, we can hide the presence of ssh from the outside world completely.  This is the beauty of portknocking.  The premise of portknocking is that the ssh port is firewalled off unless a specific sequence of ports are first pinged, in order.  This doesn&#8217;t add a lot of security by itself; an attacker can simply sniff the portknock sequence, then repeat it to open the same port.  Normally, portknocking will only deter attackers who don&#8217;t know you have ssh open.</p>
<p>However, the portknocking server we are going to use supports one-time sequences.  With this configuration, the correct knock sequence changes after each knock.  The server has a list of sequences to use, and we will also keep this list with us on the USB flash drive.  Before we begin configuring portknocking, make sure you have firewalled off port 22.  There are two possible network setups we will consider:</p>
<ul>
<li>You have a router between the server and the Internet.  This router passes ssh traffic to your server, and the router acts as the firewall that blocks ssh access.</li>
<li>The server is connected directly to the Internet.  Local firewall rules on the machine are blocking ssh access.</li>
</ul>
<p>In the first instance, you need to be able to install a portknocking server on the router; additionally, the firewall rules needed will be more complicated, and will vary based on how your router is configured.  My example here assumes the second case: that the server itself is listening to the knocks (i.e. it is directly connected to the Internet).  The first case is discussed in <a href="#appendix_c">Appendix C</a>.   Install <a href="http://www.zeroflux.org/cgi-bin/cvstrac.cgi/knock/wiki">knockd</a>.  Once installed, you&#8217;ll need to configure /etc/knockd.conf.  For now, I&#8217;ll present a basic configuration (we&#8217;ll add some more stuff to this later):</p>
<blockquote><p><code>[options]<br />
logfile = /var/log/knockd.log</code></p>
<p><code>[ssh]<br />
one_time_sequences = /etc/knockd/ssh<br />
seq_timeout = 10<br />
tcpflags = syn<br />
start_command = /usr/sbin/iptables -A INPUT -s %IP% -p tcp --dport 22 -j ACCEPT<br />
cmd_timeout = 5<br />
stop_command = /usr/sbin/iptables -D INPUT -s %IP% -p tcp --dport 22 -j ACCEPT</code></p></blockquote>
<p>In /etc/knockd/ssh, you need to have sequences of numbers to use as one-time sequences.  Each entry in the list should be formatted like this:</p>
<blockquote><p><code>1,2,3,4,5</code></p></blockquote>
<p>There is a space at the beginning of the line; this is helpful because knockd will comment out each line as it uses it by placing a &#8216;#&#8217; at the beginning of the line.  The numbers you generate should ideally be between 1024 and 65535; I generate my numbers with a script similar to the following:</p>
<blockquote><p><code>#!/usr/bin/perl<br />
$num_keys = 50;<br />
@data = `d20diceroller --nototals "5d65535[reroll&lt; 1024][repeat $num_keys]"`;</code></p>
<p>foreach (@data)<br />
{<br />
next if (/:/);</p>
<p>s/ $//;<br />
s/ /,/g;<br />
s/^/ /;</p>
<p>print;<br />
}</p></blockquote>
<p>This script uses a program I created, d20diceroller, to generate its random numbers.  That tool is part of the d20tools package, and can be found at its <a href="http://d20tools.sourceforge.net">sourceforge page</a>.  The subversion repository is currently recommended.  Now that you have the one-time sequences, you must start the knock daemon.  You&#8217;ll most likely want to add this to an init script (such as /etc/rc.local):</p>
<blockquote><p><code>knockd -i eth0 &amp;</code></p></blockquote>
<p>&#8216;eth0&#8242; here should be replaced with whatever the name of your Internet-facing network interface is.  Now, portknocking is configured and running.  We only need to configure the USB flash drive, and we&#8217;re done with the basics.</p>
<h2 id="part_4">Part 4: USB Flash drive setup</h2>
<p>First, you need a partition on the flash drive that will be dedicated as the encrypted partition.  This can be one small partition, or it can be the entire disk.  I set aside the last 10 MB of the disk, myself.  Use fdisk, parted, or another partitioning tool to get the disk to your liking (remember, re-partitioning can erase everything you have on the drive.  Be careful).  Once the disk is partitioned, you must create a secure volume, then create a filesystem on that volume.  As root, run the command:</p>
<blockquote><p><code>cryptsetup create secure /dev/sda1</code></p></blockquote>
<p>Where &#8216;/dev/sda1&#8242; is the device name of the partition that should be the encrypted partition.  Enter your desired passphrase when prompted.  This should be a <strong>different</strong> passphrase than you used with the ssh key, ideally.  Now, you should have a device file named /dev/mapper/secure.  This is the encrypted pseudo-device Linux has created to represent your partition.  Create a filesystem on it.  I recommend a DOS filesystem because of its portability (an ext3 filesystem will retain the UID/GID and permissions for each file, which can get really confusing when moving from system to system and using users with different UIDs):</p>
<blockquote><p><code>mkdosfs -F 16 /dev/mapper/secure</code></p></blockquote>
<p>Now mount /dev/mapper/secure.  On it, create a directory called .ssh.  Copy the id_rsa file you created earlier into this directory, and create a file called &#8216;config&#8217; that looks like this:</p>
<p><code><small><br />
</small></code></p>
<blockquote><p><code>Host your.server.address home<br />
User your_user_name<br />
UserKnownHostsFile .ssh/known_hosts<br />
HostName your.server.address<br />
Port 22<br />
IdentityFile .ssh/id_rsa<br />
Compression yes</code></p></blockquote>
<p>Also, take a copy of the sequences you created earlier (in /etc/knockd/ssh) and copy them to a file called &#8216;sequences&#8217; in this .ssh directory.  You need to modify this sequences file so that the commas are converted to spaces.  You can do that with this command:</p>
<blockquote><p><code>perl -p -i -e 's/,/ /' sequences</code></p></blockquote>
<p>Now, create a script in the root of the encrypted partition with these contents:</p>
<blockquote><p><code>#!/bin/sh<br />
SERVER_NAME=your.server.name<br />
WD=$(echo $0 | perl -pe 's/^(.*)\/.*?$/\1/')<br />
cd $WD<br />
chmod 600 $WD/.ssh/id_rsa &amp;&gt; /dev/null<br />
sequence=`head -n 1 $WD/.ssh/sequences`<br />
[ -z "$sequence" ] &amp;&amp; echo "Error: No more knock sequences" &amp;&amp; exit 1<br />
for i in $sequence;<br />
do nc -z $SERVER_NAME $i; done<br />
sleep 1<br />
ssh -F $WD/.ssh/config home &amp;&amp; sed -i '1d' $WD/.ssh/sequences</code></p></blockquote>
<p>This script will execute the next portknocking sequence in the list, then automatically ssh into the server.  It uses the config file in our local .ssh directory, so the username and key file are already specified.  Now, to unmount the USB flash drive&#8217;s encrypted partition, you can execute these commands:</p>
<blockquote><p><code>umount /dev/mapper/secure<br />
cryptsetup remove secure</code></p></blockquote>
<p>That&#8217;s it!  Now, all you need to do use the system is set up the partition as an encrypted volume, mount the encrypted filesystem, run the &#8216;callhome&#8217; script, and enter your ssh passphrase.  Extra-secure connection home, for the truly paranoid.  The only upkeep required is to periodically generate a new list of sequences when you run low.  This system is a bit more complicated than just using an ssh command, but I discuss how to automate the connection procedure on systems you use a lot in <a href="#appendix_b">Appendix B</a>.</p>
<p>But wait, there&#8217;s more!  What happens when The Bad Guys steal our USB flash drive and start frantically trying to decrypt it?  Enter the panic knock.</p>
<h2 id="part_5">Part 5: Disaster recovery</h2>
<p>A scenario, if you will.  <em>You&#8217;re sitting at your desk, your uber-secure connection home humming along, letting you chat on IRC without your boss being any wiser.  You lock your X session and get up to grab some coffee.  You get back to your desk, and glance over at your workstation, expecting to see protruding from the front your faithful USB flash drive, fast friend these many years, steadfast companion against the dangers of revealing your personal life&#8217;s details to those who would kill for it.  But it&#8217;s gone.  Someone has taken it.  A quick survey of your fellow workers (and by &#8220;survey&#8221; we mean &#8220;threaten them with violence so they know you&#8217;re serious&#8221;) reveals that they don&#8217;t have it.  No one saw anyone come near your desk.</em></p>
<p><em>There is only one explanation: Identity Theft Ninja.  Trained in the secluded mountains of Japan from birth, these versatile agents of stealth can smell a USB flash drive that allows a connection to someone&#8217;s home server from a league distant.  You never had a chance.  Hope is not lost, however!  Because the drive is encrypted, and the ssh key is further encrypted, you have an advantage.  The Identity Theft Ninja have powerful computers for cracking encryption schemes, but it will still take time.</em></p>
<p>Basically, when you notice your USB drive is missing, you can execute your panic script.  The panic script should live on a shell server; something you can get to from any machine.  I recommend <a href="http://silenceisdefeat.com">silenceisdefeat</a>.  On the shell server, you simply have a script called &#8216;panic&#8217;.  It can look like the following:</p>
<blockquote><p><code>#!/bin/sh<br />
SERVER_NAME=your.server.name<br />
sequence=("1" "2" "3" "4" "5")</code></p>
<p>for i in ${sequence[@]};<br />
do nc -z $SERVER_NAME $i;<br />
done</p></blockquote>
<p>Most shell servers will not give you execute privileges, but because this is a script, you can simply type &#8216;sh panic&#8217; to execute it.  On the knock server, we have a special action to perform when someone executes that particular sequence.  Add this to /etc/knockd.conf:</p>
<blockquote><p><code>[shutdown]<br />
sequence = 1,2,3,4,5<br />
seq_timeout = 10<br />
tcpflags = syn<br />
command = killall knockd</code></p></blockquote>
<p>By the way, <strong>do not</strong> actually use the sequence 1 2 3 4 5.  Use a random sequence, but include a number that will never appear in your normal portknocking sequences.  The &#8216;out of phase&#8217; number guarantees you never accidentally shut down the server, and keeping the sequence random guarantees that a portscan or other malicious attack won&#8217;t lock you out down your server.  It would be a good idea to change this sequence every time you use it, as well, to prevent an attacker from repeating the sequence to frustrate you.</p>
<h2 id="appendix_a">Appendix A: Beyond SSH &#8211; forwarding other traffic</h2>
<p>You can take advantage of the power of SSH to create an extremely secure tunnel for almost any data; you aren&#8217;t limited to running commands on your remote machine.  Perhaps you want to browse the web through the encrypted tunnel, so other users on the network can&#8217;t see that you&#8217;re really shopping on newegg instead of getting work done.  In that case, you could add this to your .ssh/config file:</p>
<blockquote><p><code>DynamicForward 8137</code></p></blockquote>
<p>This creates a SOCKS proxy that you can route traffic through.  Simply configure your web browser to use a proxy at localhost, port 8137.  If you want to tunnel certain sites through the proxy but not others (and you use Firefox), check out <a href="http://foxyproxy.mozdev.org/">FoxyProxy</a>.  Check the command &#8216;man ssh_config&#8217; for more options you can put in the .ssh/config file.</p>
<h2 id="appendix_b">Appendix B: Mounting your encrypted volume made easy</h2>
<p>You need root access to create and mount an encrypted volume.  If you use the same few computers all the time (and you have root access on them), you can simplify your life.  First, use the &#8216;visudo&#8217; command and add a line to the end of the sudoers file like this:</p>
<blockquote><p><code>your_user ALL=(root) NOPASSWD: /sbin/cryptsetup</code></p></blockquote>
<p>This will allow you, as a normal user, to execute &#8216;cryptsetup&#8217;, which lets you create and remove encrypted volumes.  Next, add a line like this to /etc/fstab:</p>
<blockquote><p><code>/dev/mapper/secure /mnt/secure auto noauto,user,umask=077 0 0</code></p></blockquote>
<p>This will allow users to mount /dev/mapper/secure once it is created.  The umask guarantees other users on the system can&#8217;t see our files, which would compromise the ssh key.  Don&#8217;t worry, we can still prevent another user on the system from hijacking our mount; that comes next.  Now, create two files in /usr/local/bin, called &#8216;secureon&#8217; and &#8216;secureoff&#8217;.  In secureon, put:</p>
<blockquote><p><code>#!/bin/sh<br />
sudo cryptsetup create secure /dev/sda1 &amp;&amp; \<br />
mount /mnt/secure</code></p></blockquote>
<p>sda1, of course, is whatever the device name of the encrypted partition is.  You can use udev or hal to ensure this is always a consistent name.  secureoff looks like this:</p>
<blockquote><p><code>#!/bin/sh<br />
umount /mnt/secure &amp;&amp; \<br />
sudo cryptsetup remove secure</code></p></blockquote>
<p>Make both of these scripts executable (&#8216;chmod 755 /usr/local/bin/secureo*&#8217;).  Now you can simply run &#8216;secureon to create and mount the secure volume (you&#8217;ll be prompted for the encryption passphrase), and &#8216;secureoff&#8217; when you&#8217;re finished.</p>
<h2 id="appendix_c">Appendix C: Behind a router</h2>
<p>The last case we will consider is the complex but extremely common situation where you have one device acting as a router.  This changes the iptables rules we need to use with the knockd server.</p>
<p>First, you need to have a router that  you can install Linux software on.  In other words, your router must be running Linux.  If you have a computer acting as your router, this is probably no problem for you.  If you have a consumer broadband router, this may be more difficult.  You can get Linux firmware for certain models of broadband router, however.  Several broadband router distributions exist; I use <a href="http://openwrt.org/">OpenWRT</a>; it is easy to install new software with OpenWRT, and <a href="http://www.dd-wrt.com/wiki/index.php/Knockd">knockd is available for it</a>.</p>
<p>The exact rules you will need are going to depend on your particular iptables setup, but to forward a port you will need two rules:  one in the filter table&#8217;s FORWARD chain and one in the nat table&#8217;s PREROUTING chain.  The approach that I recommend is to add the rule in the FORWARD chain permanently, and use knockd to add and remove the PREROUTING rule.  This simplifies the knockd configuration, and allows you to use the FORWARD chain as a handy reference for what forwards are possible.</p>
<p>For example, let&#8217;s say you have a machine at 10.10.9.18, and the knock daemon will open SSH to this machine.  First, you want to add this firewall rule permanently:</p>
<blockquote><p><code>iptables -A FORWARD -p tcp --dport 22 -d 10.10.9.18 -j ACCEPT</code></p></blockquote>
<p>Put that in your router&#8217;s iptables configuration.  If your router is running Fedora, put this line (minus &#8216;iptables&#8217;) in /etc/sysconfig/iptables.</p>
<p>If you&#8217;re using OpenWRT, I would suggest using the forwarding_wan chain instead of the FORWARD chain.  Also, on OpenWRT you can put this line in /etc/firewall.user.</p>
<p>The start_command and stop_command lines in /etc/knockd.conf will add and remove the PREROUTING rule, like so:</p>
<blockquote><p><code> start_command = /usr/sbin/iptables -t nat -A PREROUTING -s %IP% -p tcp --dport 22 -j DNAT --to 10.10.9.18:22<br />
stop_command = /usr/sbin/iptables -t nat -D PREROUTING -s %IP% -p tcp --dport 22 -j DNAT --to 10.10.9.18:22</code></p></blockquote>
<p>For OpenWRT, use the prerouting_wan chain instead of the  PREROUTING chain.</p>
<p>One great thing you can do with a router is use different knock sequences to forward SSH to different servers.  If you have several machines on your network, you can simply add additional sections to knockd.conf (and additional rules in the FORWARD chain).  As long as they use different knock sequences, you can overload port 22 to forward to whichever machine you need.</p>
<br />Posted in Technology Tagged: howto, linux, security <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/stringofbits.wordpress.com/52/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/stringofbits.wordpress.com/52/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/stringofbits.wordpress.com/52/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/stringofbits.wordpress.com/52/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/stringofbits.wordpress.com/52/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/stringofbits.wordpress.com/52/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/stringofbits.wordpress.com/52/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/stringofbits.wordpress.com/52/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/stringofbits.wordpress.com/52/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/stringofbits.wordpress.com/52/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/stringofbits.wordpress.com/52/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/stringofbits.wordpress.com/52/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/stringofbits.wordpress.com/52/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/stringofbits.wordpress.com/52/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=stringofbits.net&amp;blog=23443234&amp;post=52&amp;subd=stringofbits&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://stringofbits.net/2008/12/07/paranoid-security-establishing-a-connection-the-hard-way/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/7a6c6c99ccd3e2bbaec318a52fb3d43c?s=96&#38;d=identicon&#38;r=PG" medium="image">
			<media:title type="html">annabunches</media:title>
		</media:content>
	</item>
		<item>
		<title>Nintendo and the Homebrew Arms Race</title>
		<link>http://stringofbits.net/2008/11/19/nintendo-and-the-homebrew-arms-race/</link>
		<comments>http://stringofbits.net/2008/11/19/nintendo-and-the-homebrew-arms-race/#comments</comments>
		<pubDate>Wed, 19 Nov 2008 21:51:00 +0000</pubDate>
		<dc:creator>Anna Wiggins</dc:creator>
				<category><![CDATA[Gaming]]></category>
		<category><![CDATA[Technology]]></category>
		<category><![CDATA[freedom]]></category>
		<category><![CDATA[video games]]></category>

		<guid isPermaLink="false">http://stringofbits.net/?p=16</guid>
		<description><![CDATA[When I purchase a piece of hardware, it is mine to do with as I wish.  This is a long-held understanding.  If I buy a piece of clothing, I can have it altered.  If I buy a car, I can change the tires.  If I buy a television, I can kill myself trying to screw [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=stringofbits.net&amp;blog=23443234&amp;post=16&amp;subd=stringofbits&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>When I purchase a piece of hardware, it is mine to do with as I wish.  This is a long-held understanding.  If I buy a piece of clothing, I can have it altered.  If I buy a car, I can change the tires.  If I buy a television, I can kill myself trying to screw with its insides.</p>
<p>It might void the warranty, it might put my life at risk or potentially damage the thing I&#8217;ve purchased, but it is my right as a consumer.</p>
<p>Nintendo takes a different view on the issue.  Owners of the Wii have long been able to employ a simple buffer overflow exploit in <a href="http://en.wikipedia.org/wiki/Twilight_Princess">Twilight Princess</a> to run custom code.  This exploit, called the <a href="http://wiibrew.org/wiki/Twilight_Hack">Twilight Hack</a>, allows a user to install, among other things, an application called the <a href="http://hbc.hackmii.com/">Homebrew Channel</a>, which looks like any other Wii channel and lets you run other custom code without using the Twilight Hack again.  It&#8217;s the gaming console equivalent of installing a new stereo in your car.</p>
<p>Since the hack was made public, Nintendo has been trying to thwart it.  They have, to date, released three firmware updates that included code targeted to stop the Twilight Hack.  The most recent update succeeded at stopping it completely &#8211; it appears to detect the hacked save files and delete them, both on boot and whenever you insert an SD card.</p>
<p>So, all of this is standard fare.  Whenever a console launches, homebrewers will make it run custom code.  The console manufacturer will release an update to prevent this.  The homebrewers will work around it.  This process will continue in an escalating cycle.</p>
<p>However, Nintendo has delivered a low blow here.  Along with the System Menu 3.4 update, they changed their <a href="http://www.nintendo.com/consumer/systems/wii/en_na/privacy.jsp">terms of service</a>.</p>
<div style="margin-left:40px;"><em><br />
We may without notifying you<strong>,</strong> download updates, patches, upgrades and similar software to your Wii Console and may disable unauthorized or illegal software placed on your Wii Console&#8230;</em></div>
<p>Now, that&#8217;s pretty cold &#8211; deleting our custom software?  Come on Nintendo, all I want to do is play videos on my Wii!  Also, the first time a fully automated background firmware update breaks something, the angry calls are going to pour like rain.  Power outage in the middle of a night-time firmware update?  Too bad!  But it gets worse&#8230;</p>
<div style="margin-left:40px;"><em>If we detect unauthorized software, services, or devices, your access to the Wii Network Service may be disabled and/or the Wii Console or games may be unplayable. </em></div>
<p>Okay, at this point I feel it is crucial to point out a couple of things.  First, these quotes come from two documents, the Wii Network Service Privacy Policy and the Wii Network Service EULA.  Both of these documents are required, not to use the Wii in general, but to use the Wiiconnect24 services (the Shop channel, Nintendo channel, and Nintendo&#8217;s other online content channels).  So, to use their network, you agree that they may <strong>disable your system completely</strong>.  This means two things:</p>
<p>1. You can perfectly legally run hacked code on a Wii that does not use Wiiconnect24.</p>
<p>2. You grant Nintendo the right to break the law (destruction of private property) if you choose to use the Wiiconnect24 service.</p>
<p>Now, according to a lawyer I know, a contract cannot override criminal law, even if signed in full knowledge as opposed to clicked-through (the enforceability of click-through EULAs is still up for debate in the US).  So this clause is, by necessity, unenforceable.</p>
<p>So why is it there?  Nintendo has a juggernaut legal team, famed for its ruthlessness.  They can bankrupt any individual consumer with the legal proceedings necessary to challenge them, and it is unlikely that this will raise enough stink to get a class-action suit started.</p>
<p>I used to have some respect for Nintendo.</p>
<br />Posted in Gaming, Technology Tagged: freedom, video games <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/stringofbits.wordpress.com/16/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/stringofbits.wordpress.com/16/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/stringofbits.wordpress.com/16/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/stringofbits.wordpress.com/16/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/stringofbits.wordpress.com/16/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/stringofbits.wordpress.com/16/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/stringofbits.wordpress.com/16/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/stringofbits.wordpress.com/16/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/stringofbits.wordpress.com/16/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/stringofbits.wordpress.com/16/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/stringofbits.wordpress.com/16/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/stringofbits.wordpress.com/16/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/stringofbits.wordpress.com/16/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/stringofbits.wordpress.com/16/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=stringofbits.net&amp;blog=23443234&amp;post=16&amp;subd=stringofbits&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://stringofbits.net/2008/11/19/nintendo-and-the-homebrew-arms-race/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/7a6c6c99ccd3e2bbaec318a52fb3d43c?s=96&#38;d=identicon&#38;r=PG" medium="image">
			<media:title type="html">annabunches</media:title>
		</media:content>
	</item>
		<item>
		<title>Linux on the Desktop &#8211; a partial solution</title>
		<link>http://stringofbits.net/2007/07/24/linux-on-the-desktop-a-partial-solution/</link>
		<comments>http://stringofbits.net/2007/07/24/linux-on-the-desktop-a-partial-solution/#comments</comments>
		<pubDate>Tue, 24 Jul 2007 18:56:00 +0000</pubDate>
		<dc:creator>Anna Wiggins</dc:creator>
				<category><![CDATA[Technology]]></category>
		<category><![CDATA[linux]]></category>

		<guid isPermaLink="false">http://stringofbits.net/?p=14</guid>
		<description><![CDATA[Lately, I&#8217;ve read a number of &#8220;Windows user tried Linux for a week and hated it, and this is why&#8221; articles. Then, while holding back the urge to scream during a Windows XP install, it hit me: we&#8217;re holding a double standard, here. In the last year, whenever someone talks about &#8220;whether Linux is ready [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=stringofbits.net&amp;blog=23443234&amp;post=14&amp;subd=stringofbits&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Lately, I&#8217;ve read a number of &#8220;Windows user tried Linux for a week and hated it, and this is why&#8221; articles.  Then, while holding back the urge to scream during a Windows XP install, it hit me: we&#8217;re holding a double standard, here.</p>
<p>In the last year, whenever someone talks about &#8220;whether Linux is ready for the desktop&#8221;, the complaints that always crop up revolve around the fact that a user can&#8217;t throw in a Linux install CD, click next a few times, and have a fully functional desktop environment in half an hour.  Several things plague these proverbial users: the lack of mp3 support is probably the most problematic now, as is the lack of 3d graphics support.  The complaints further, er&#8230; complain, that the user has to know what she is doing to enable/install all of these components.</p>
<p>What most people overlook, though, is that installing Windows is no cakewalk, either.  Windows ships with almost no real video or audio hardware support &#8211; everything must be downloaded from 3rd party websites, and more importantly, the user has to *know* what vendor website to go to, and how to navigate the vendor&#8217;s site (with some vendors, that can be a real pain!).</p>
<p>So now, let&#8217;s be fair.  I&#8217;m taking a Windows XP install, out of the box, and comparing it side-by-side with an Ubuntu Linux install.  Okay, here goes.</p>
<div style="font-size:14pt;">Ubuntu Linux</div>
<div style="font-weight:bold;">No mp3 support</div>
<p>As a user, I have to install several non-free packages, which means changing my available repositories and running a few commands (or using the graphical tool).  If I prefer the less-questionably-legal route, I would purchase <a href="http://www.fluendo.com/">Fluendo</a> (28E for their entire set of plugins, with perputual updates, as of this writing.  Still about 1/4 the price of Windows&#8217; most basic version), and follow their instructions to install it.</p>
<p>Of course, I also have to *know* about these options.  A quick google search (&#8220;MP3s in Ubuntu&#8221;) and a forum gives me the answer, in step-by-step format.</p>
<div style="font-weight:bold;">No 3d graphics acceleration</div>
<p>This is even easier.  All we need is to install the nvidia-glx or xorg-driver-fglrx packages, depending on the card.  They&#8217;re also in the restricted repository, but we&#8217;ve already enabled it previously.  If we hadn&#8217;t, the google search &#8220;3d graphics in Ubuntu&#8221; gives us the correct answer immediately.</p>
<div style="font-weight:bold;">No flash player</div>
<p>Another quick google search turns up the answer, as always with step-by-step instructions.</p>
<p>And, that&#8217;s it.  Everything else I need to do to be productive is already provided by Ubuntu: web browser, office suite, multimedia software.  Note: I never had to restart Ubuntu during this whole process.</p>
<div style="font-size:14pt;">Windows XP</div>
<div style="font-weight:bold;">No audio</div>
<p>First, I have to figure out the name of my audio chip, which Windows doesn&#8217;t tell me.  All Windows will say is &#8220;Unknown Multimedia device&#8221;.  By booting Linux and running lspci, I discover it&#8217;s a C-Media chip, and go to their website.  I have to give them the exact chip model number, and they give me a driver to download.  I have to restart Windows.</p>
<div style="font-weight:bold;">No 3d graphics acceleration</div>
<p>Again, the video controller is just called an &#8220;Unknown display adapter&#8221;.  Foreknowledge tells me I have an Nvidia Geforce 6600 GT.  I go to Nvidia&#8217;s website (much easier to use than C-Media was), and get the driver.  I have to restart Windows.</p>
<div style="font-weight:bold;">No flash player</div>
<p>Well, this one installs automatically.  Doesn&#8217;t even need a restart!  1/3 isn&#8217;t bad, I suppose.</p>
<div style="font-size:14pt;">The Conclusion</div>
<p>What&#8217;s the point of this exercise?  Am I trying to say Windows is teh sux0r?  No, that&#8217;s not my message today.  I could extoll the myriad problems with Windows that make Linux a better option (spyware, viruses, openness and all the benefits thereof, etc), but that&#8217;s not the point.</p>
<p>The point is this:  when it comes to installation, Linux and Windows are roughly equivalent in complexity.  Linux has its installation issues; so does Windows.  They tend to break roughly even, in my experience, although Linux has a much more readily available support structure in the form of community forums.  But both OSes require a lot of user knowledge in order to get up and running.  They assume you already know how to do things.  What they really assume, underneath, is that</p>
<div style="font-weight:bold;">a technical person is doing the install.</div>
<div style="font-size:14pt;">The Solution</div>
<p>Most Windows users never install their OS; some technician installs it, either OEM at a factory, or at the local computer shop, or the in-law programmer who gets drafted for technical work (ahem&#8230;).  Linux users have seldom known this luxury; instead, whenever someone talks about Linux, they assume that the end user is doing the install.</p>
<p>The solution is to treat Linux installation the way we treat Windows installation.  Someone who Knows What They Are Doing &#8482; sets up the OS and delivers it to the end user.  One practical advantage for the Linux community is that all the time spent on fancy installers could be channeled elsewhere (not to say we don&#8217;t like our hardware auto-detection, et al.  But a curses-based menu is just fine, thanks).  Make Linux installation work like OS installation always has before: technical users install their own OS, everyone else leaves it to the techs.</p>
<p>At least don&#8217;t hold us to a double standard.</p>
<br /><img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/stringofbits.wordpress.com/14/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/stringofbits.wordpress.com/14/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/stringofbits.wordpress.com/14/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/stringofbits.wordpress.com/14/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/stringofbits.wordpress.com/14/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/stringofbits.wordpress.com/14/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/stringofbits.wordpress.com/14/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/stringofbits.wordpress.com/14/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/stringofbits.wordpress.com/14/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/stringofbits.wordpress.com/14/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/stringofbits.wordpress.com/14/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/stringofbits.wordpress.com/14/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/stringofbits.wordpress.com/14/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/stringofbits.wordpress.com/14/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/stringofbits.wordpress.com/14/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/stringofbits.wordpress.com/14/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=stringofbits.net&amp;blog=23443234&amp;post=14&amp;subd=stringofbits&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://stringofbits.net/2007/07/24/linux-on-the-desktop-a-partial-solution/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/7a6c6c99ccd3e2bbaec318a52fb3d43c?s=96&#38;d=identicon&#38;r=PG" medium="image">
			<media:title type="html">annabunches</media:title>
		</media:content>
	</item>
		<item>
		<title>Then They Fight You</title>
		<link>http://stringofbits.net/2007/05/14/then-they-fight-you/</link>
		<comments>http://stringofbits.net/2007/05/14/then-they-fight-you/#comments</comments>
		<pubDate>Mon, 14 May 2007 05:56:00 +0000</pubDate>
		<dc:creator>Anna Wiggins</dc:creator>
				<category><![CDATA[Technology]]></category>
		<category><![CDATA[freedom]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[open source]]></category>

		<guid isPermaLink="false">http://stringofbits.net/?p=12</guid>
		<description><![CDATA[Microsoft threatens to sue the entire FOSS community Where have I seen this kind of threat before? Hmm&#8230; SCO, anyone? Is MS really desperate enough for that? SCO only sued IBM because they were losing money in copious amounts, flirting with bankruptcy. Vista seems to be the straw that&#8217;s breaking Microsoft&#8217;s back.<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=stringofbits.net&amp;blog=23443234&amp;post=12&amp;subd=stringofbits&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p><a href="http://money.cnn.com/magazines/fortune/fortune_archive/2007/05/28/100033867/index.htm?section=money_latest">Microsoft threatens to sue the entire FOSS community</a></p>
<p>Where have I seen this kind of threat before?  Hmm&#8230; SCO, anyone?  Is MS really desperate enough for that?  SCO only sued IBM because they were losing money in copious amounts, flirting with bankruptcy.  Vista seems to be the straw that&#8217;s breaking Microsoft&#8217;s back.</p>
<br /><img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/stringofbits.wordpress.com/12/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/stringofbits.wordpress.com/12/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/stringofbits.wordpress.com/12/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/stringofbits.wordpress.com/12/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/stringofbits.wordpress.com/12/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/stringofbits.wordpress.com/12/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/stringofbits.wordpress.com/12/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/stringofbits.wordpress.com/12/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/stringofbits.wordpress.com/12/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/stringofbits.wordpress.com/12/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/stringofbits.wordpress.com/12/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/stringofbits.wordpress.com/12/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/stringofbits.wordpress.com/12/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/stringofbits.wordpress.com/12/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/stringofbits.wordpress.com/12/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/stringofbits.wordpress.com/12/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=stringofbits.net&amp;blog=23443234&amp;post=12&amp;subd=stringofbits&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://stringofbits.net/2007/05/14/then-they-fight-you/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/7a6c6c99ccd3e2bbaec318a52fb3d43c?s=96&#38;d=identicon&#38;r=PG" medium="image">
			<media:title type="html">annabunches</media:title>
		</media:content>
	</item>
		<item>
		<title>Decentralizing Second Life</title>
		<link>http://stringofbits.net/2006/11/09/decentralizing-second-life/</link>
		<comments>http://stringofbits.net/2006/11/09/decentralizing-second-life/#comments</comments>
		<pubDate>Fri, 10 Nov 2006 04:23:00 +0000</pubDate>
		<dc:creator>Anna Wiggins</dc:creator>
				<category><![CDATA[Gaming]]></category>
		<category><![CDATA[Technology]]></category>
		<category><![CDATA[open source]]></category>
		<category><![CDATA[video games]]></category>

		<guid isPermaLink="false">http://stringofbits.net/?p=9</guid>
		<description><![CDATA[So, I&#8217;ve been thinking about Second Life, and it occured to me that it&#8217;s being done entirely the wrong way. Don&#8217;t get me wrong; I enjoy SL, and have no qualms with the experience itself. It&#8217;s the underlying scheme it&#8217;s built on that bothers me: one company controlling all the servers, one company responsible for [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=stringofbits.net&amp;blog=23443234&amp;post=9&amp;subd=stringofbits&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>So, I&#8217;ve been thinking about <a href="http://www.secondlife.com">Second Life</a>, and it occured to me that it&#8217;s being done entirely the wrong way.  Don&#8217;t get me wrong; I enjoy SL, and have no qualms with the experience itself.  It&#8217;s the underlying scheme it&#8217;s built on that bothers me: one company controlling all the servers, one company responsible for keeping everything running smoothly.  It seems to me that all technologies built on that model eventually fail on the Internet, while distributed technologies (Web, email, usenet) thrive.</p>
<p>To that end, I&#8217;ve been thinking about how Second Life could be successfully decentralized, without adversely affecting the experience that everyone has come to know and love.  I&#8217;ve identified key elements of the user experience that would be difficult to decentralize, and possible ways to handle them.  First, though, we&#8217;ll talk about the basics; how could decentralization even work.</p>
<p>First, LL releases the code for the Second Life server.  Now, anyone who wants to can host a Second Life sim/sims of their own on a server.  A central repository would keep track of the existing sims, in a vaguely similar fashion to DNS (see The Grid, below).  This would allow Second Life to grow without bound, with sims run by a multitude of companies and even home users.</p>
<p>So, how do we keep that Second Life experience without the centralized monolith of Linden Labs?</p>
<p><strong>Economy</strong><br />
First and most importantly, the Second Life economy must be preserved.  The economy has become the most crucial element to the experience; the ability to use real money, diluted down to a virtual quantum, to purchase other users&#8217; custom created content.  This breaks down into two sub-problems:</p>
<p>a) Managing the money.  The most likely way to do this would be to set up a &#8220;bank&#8221;, wherein a single host (or several different hosts) manages all of the banking transactions.  I&#8217;m thinking basically a system like paypal, where you buy L$ (&#8220;Linden Dollars&#8221;, Second Life&#8217;s currency) from the bank, or sell $L back to the bank for real currency.  Each SL server would use this central bank system to check a user&#8217;s account balance, and make withdrawals/deposits, with proper confirmation on the part of the user, naturally.  A public/private key system to ensure the user actually sent the confirmation could prevent abuse here, so no worries on that score.  The SL bank could even be controlled by Linden Labs, as this would be a lot easier to handle than the entire grid, and still give them opportunity to have a strong stake in their creation.</p>
<p>b) Protecting Intellectual Property.  This is a tricky problem, and the single hardest element to decentralizing SL.  Since a huge portion of the money in SL is traded for users&#8217; creations, there must be a way to prevent them from being stolen.  Under a decentralized scheme, when a user rezzes an object on a sim, all the data for that object (textures, sounds, scripts) would necessarily be available to the owner of that sim.  The most obvious solution I can find for this is to keep the object data elsewhere, and have a rezzed object be a pointer to that data.  The advantage is that compiled scripts, raw texture data, and sound files stay on a secure server independent of their rezzed location.  But where is this mystical server?  I see two options here: either the data is on another sim, perhaps the user&#8217;s &#8220;home sim&#8221; (see User Accounts, below), or the data is in a central &#8220;asset server&#8221; (essentially the way SL works right now).  Using the former approach, the client would have to make tons of connections to different servers to get all the data.  Under the latter, the asset server would have to be extremely load-tolerant and robust, and all the data is stored by the same group of people, whose ethical integrity the SL user base would have to trust implicitly.  Since both of these are flaws in the *existing* Second Life system, however, it is acceptable for the hypothetical exercise we&#8217;re attempting here.  Also, under either system the sim owner&#8217;s creations could be stored on-sim for lower lag.</p>
<p>One other solution would be to create some DRM scheme that encrypts this data until it reaches the client.  Of course, in all of these cases the client could be modified to steal the data.  However, here we again reach the fact that these flaws are already inherent in SL, and there&#8217;s no easy way around them.</p>
<p><strong>The Grid</strong><br />
The ability to bring up a map and scroll around, or teleport instantly to another part of the world, is an exciting part of SL, and another crucial part of the SL experience.  Fortunately, the Internet already has a great system that we can build on &#8211; DNS and hyperlinking.  We simply define 2 kinds of link:  &#8220;landmarks&#8221; and &#8220;neighbors&#8221;.  Each sim can have 4 neighbors, and neighbors must mutually agree to be neighbors (for a neighboring to work between sim A and B, A would have to set B as a neighbor and vice versa).  The neighboring agreements would be stored in a central server system, modelled on DNS.  A few recursive calls to this system and each sim can cache a portion of the overall grid map.  Want a private island?  Simply don&#8217;t neighbor your sim with any others.  This creates user-level &#8220;peering agreements&#8221; that could create a more logical terrain (snowy areas linked together, etc) even if the landscape does shift from time to time.</p>
<p>The other kind of link would work just like landmarks in the current SL system.  Pretty self-explanatory, except this system would make &#8220;click to teleport&#8221; objects a necessity, finally.</p>
<p>If a user searches for a sim on the map, the client can grab that sim&#8217;s cache of neighbors, and display more of the grid.  The client could be configured to keep any amount of that information cached locally, for a more immersive experience.</p>
<p><strong>User Accounts</strong><br />
There are two ways to handle user accounts: a centralized account server, or a sim-based account system.  Under a centralized server, all accounts would be handled by, say, LL.  This simplifies the system greatly, and aids in managing the asset server.  With &#8220;home sims&#8221;, you&#8217;d have a system similar to Jabber, where user accounts are essentially user@home_sim.  I believe the centralized system will work best, given that the asset server system seems to be the most logical way to do things.</p>
<p><strong>Instant Messages</strong><br />
Well, LL is currently planning to re-implement the IM system in Jabber, so we&#8217;re pretty much covered there :P</p>
<p>So, in summary, we have a system that uses a centralized server for accounts and user-created assets, as well as a DNS-like neighboring system to create the world map, but grids are controlled by individuals, and hosted by companies just like web servers are now.</p>
<br /><img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/stringofbits.wordpress.com/9/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/stringofbits.wordpress.com/9/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/stringofbits.wordpress.com/9/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/stringofbits.wordpress.com/9/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/stringofbits.wordpress.com/9/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/stringofbits.wordpress.com/9/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/stringofbits.wordpress.com/9/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/stringofbits.wordpress.com/9/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/stringofbits.wordpress.com/9/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/stringofbits.wordpress.com/9/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/stringofbits.wordpress.com/9/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/stringofbits.wordpress.com/9/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/stringofbits.wordpress.com/9/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/stringofbits.wordpress.com/9/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/stringofbits.wordpress.com/9/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/stringofbits.wordpress.com/9/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=stringofbits.net&amp;blog=23443234&amp;post=9&amp;subd=stringofbits&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://stringofbits.net/2006/11/09/decentralizing-second-life/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/7a6c6c99ccd3e2bbaec318a52fb3d43c?s=96&#38;d=identicon&#38;r=PG" medium="image">
			<media:title type="html">annabunches</media:title>
		</media:content>
	</item>
		<item>
		<title>Related rant</title>
		<link>http://stringofbits.net/2006/09/10/related-rant/</link>
		<comments>http://stringofbits.net/2006/09/10/related-rant/#comments</comments>
		<pubDate>Mon, 11 Sep 2006 04:52:00 +0000</pubDate>
		<dc:creator>Anna Wiggins</dc:creator>
				<category><![CDATA[Technology]]></category>
		<category><![CDATA[open source]]></category>

		<guid isPermaLink="false">http://stringofbits.net/?p=7</guid>
		<description><![CDATA[I have a Free/Open Source software related rant posted over on my personal journal. It&#8217;s vaguely related to this journal&#8217;s purpose, hence the link. Enjoy :)<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=stringofbits.net&amp;blog=23443234&amp;post=7&amp;subd=stringofbits&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>I have a Free/Open Source software related <a href="http://darksidex.livejournal.com/39338.html">rant</a> posted over on my <a href="http://darksidex.livejournal.com">personal journal</a>.  It&#8217;s vaguely related to this journal&#8217;s purpose, hence the link.  Enjoy :)</p>
<br /><img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/stringofbits.wordpress.com/7/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/stringofbits.wordpress.com/7/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/stringofbits.wordpress.com/7/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/stringofbits.wordpress.com/7/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/stringofbits.wordpress.com/7/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/stringofbits.wordpress.com/7/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/stringofbits.wordpress.com/7/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/stringofbits.wordpress.com/7/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/stringofbits.wordpress.com/7/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/stringofbits.wordpress.com/7/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/stringofbits.wordpress.com/7/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/stringofbits.wordpress.com/7/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/stringofbits.wordpress.com/7/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/stringofbits.wordpress.com/7/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/stringofbits.wordpress.com/7/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/stringofbits.wordpress.com/7/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=stringofbits.net&amp;blog=23443234&amp;post=7&amp;subd=stringofbits&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://stringofbits.net/2006/09/10/related-rant/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/7a6c6c99ccd3e2bbaec318a52fb3d43c?s=96&#38;d=identicon&#38;r=PG" medium="image">
			<media:title type="html">annabunches</media:title>
		</media:content>
	</item>
		<item>
		<title>Technophobia</title>
		<link>http://stringofbits.net/2006/08/26/technophobia/</link>
		<comments>http://stringofbits.net/2006/08/26/technophobia/#comments</comments>
		<pubDate>Sat, 26 Aug 2006 05:31:00 +0000</pubDate>
		<dc:creator>Anna Wiggins</dc:creator>
				<category><![CDATA[Technology]]></category>

		<guid isPermaLink="false">http://stringofbits.net/?p=5</guid>
		<description><![CDATA[I have recently realized why there are so many computer illiterate people running around. It&#8217;s not that people are simply stupid &#8211; that&#8217;s a grossly judgemental answer that many of my fellow geeks unfortunately arrive at. That&#8217;s not it at all, because computer illiteracy reaches into technical fields. I know several computer science professors that [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=stringofbits.net&amp;blog=23443234&amp;post=278&amp;subd=stringofbits&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>I have recently realized why there are so many computer illiterate people running around.  It&#8217;s not that people are simply stupid &#8211; that&#8217;s a grossly judgemental answer that many of my fellow geeks unfortunately arrive at.  That&#8217;s not it at all, because computer illiteracy reaches into technical fields.  I know several computer science professors that simply can&#8217;t use technology newer than 5 years old.</p>
<p>So, what causes this, if not simply &#8220;they&#8217;re dumb&#8221;?  Fear.  Technology is mysterious; most people, when confronted with something unfamiliar, are uncomfortable.  It feels like some delicate piece of magic; if they touch it too hard, it might shatter.</p>
<p>The consequence of this fear is that, once gripped by it, people start assuming they *can&#8217;t* learn anything about computers; it&#8217;s too arcane.  So, when presented with technical terms or ideas, they stumble over them.  If the technophobe stopped to think about the idea they are grappling with, they&#8217;d probably figure it out pretty quickly.  But their mind won&#8217;t do that, computers are &#8220;too complicated&#8221; for anyone like them to figure out.</p>
<p>An example:  USB flash drives.  Even most technophobes know what floppy disks are, but when you tell them this is similar, except it connects to that rectangular plug on the side of their computer, they give a blank stare.  They can&#8217;t comprehend it because it&#8217;s new.</p>
<p>A better example:  If presented with two products that very clearly do the same thing, but are made by different companies, the technophobe will invariably ask &#8220;what&#8217;s the difference between these two?&#8221;  If you showed them a Dirt Devil and a Hoover, they would have no such problem, but computers are *mysterious*, afforded a special class of untouchability.</p>
<p>So, to all you technophobes out there:  Stop being afraid of the computer.  I promise it won&#8217;t bite.  Engage your mind and really *listen* when computer jargon floats by.  Make intuitive leaps; even if they&#8217;re wrong, they&#8217;ll eventually point you in the right direction.</p>
<br /><img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/stringofbits.wordpress.com/278/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/stringofbits.wordpress.com/278/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/stringofbits.wordpress.com/278/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/stringofbits.wordpress.com/278/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/stringofbits.wordpress.com/278/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/stringofbits.wordpress.com/278/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/stringofbits.wordpress.com/278/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/stringofbits.wordpress.com/278/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/stringofbits.wordpress.com/278/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/stringofbits.wordpress.com/278/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/stringofbits.wordpress.com/278/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/stringofbits.wordpress.com/278/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/stringofbits.wordpress.com/278/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/stringofbits.wordpress.com/278/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/stringofbits.wordpress.com/278/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/stringofbits.wordpress.com/278/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=stringofbits.net&amp;blog=23443234&amp;post=278&amp;subd=stringofbits&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://stringofbits.net/2006/08/26/technophobia/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/7a6c6c99ccd3e2bbaec318a52fb3d43c?s=96&#38;d=identicon&#38;r=PG" medium="image">
			<media:title type="html">annabunches</media:title>
		</media:content>
	</item>
		<item>
		<title>Programming: The theory</title>
		<link>http://stringofbits.net/2006/08/22/programming-the-theory/</link>
		<comments>http://stringofbits.net/2006/08/22/programming-the-theory/#comments</comments>
		<pubDate>Tue, 22 Aug 2006 13:14:00 +0000</pubDate>
		<dc:creator>Anna Wiggins</dc:creator>
				<category><![CDATA[Technology]]></category>
		<category><![CDATA[programming]]></category>

		<guid isPermaLink="false">http://stringofbits.net/?p=4</guid>
		<description><![CDATA[One of my biggest problems with the IT community, both in amateur programmers and prospective employers, is the following question: &#8220;So, what programming languages do you know?&#8221; This implies that learning a language is an extremely difficult task, and collecting languages like trophies is somehow a worthy pursuit. A programming language is a tool. A [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=stringofbits.net&amp;blog=23443234&amp;post=277&amp;subd=stringofbits&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>One of my biggest problems with the IT community, both in amateur programmers and prospective employers, is the following question:  &#8220;So, what programming languages do you know?&#8221;  This implies that learning a language is an extremely difficult task, and collecting languages like trophies is somehow a worthy pursuit.</p>
<p>A programming language is a tool.  A skilled craftsman isn&#8217;t good at her trade because she knows how to use a given set of tools; anyone can learn that.  Rather, true skill comes from knowing how to *apply* the tools.  The fundamental concepts behind programming are the skills on which we should be focusing.</p>
<p>This applies to academia as well.  The language you use to teach students, especially the first language they encounter, *is* important.  I&#8217;m not about to advocate &#8220;teaching languages&#8221; like Pascal, though.  I think it&#8217;s important to choose a real-world language, with all the pitfalls and caveats of a real-world language, as a student&#8217;s first language.  At the same time, it should be a language with the features available to demonstrate all the fundamental concepts in programming.  A language that doesn&#8217;t support recursion would be a Bad Choice, for example.</p>
<p>So, when someone (a peer or a hopeful programmer-to-be) asks me &#8220;what languages do you know?&#8221;, I won&#8217;t respond &#8220;Well, I know C, C++, Java, perl, php, xhtml/xml/css (if you count those), lisp, prolog, LotusScript, Javascript, LSL&#8230;&#8221; etc.  Instead, I&#8217;ll say &#8220;I&#8217;ve used a number of languages, but the key thing is that I know how to learn any language.&#8221;  When an employer asks, I suppose I&#8217;ll have to say &#8220;Well, I know @languages&#8230;&#8221;.  Then, though, I might add &#8220;&#8230;but I consider the fundamental concepts behind programming languages to be more important, because mastering those means I can learn to get around in any language given a week or two of study.&#8221;</p>
<p>In summary:  Learning a programming language is trivial, once you know the fundamental concepts of programming.</p>
<br /><img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/stringofbits.wordpress.com/277/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/stringofbits.wordpress.com/277/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/stringofbits.wordpress.com/277/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/stringofbits.wordpress.com/277/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/stringofbits.wordpress.com/277/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/stringofbits.wordpress.com/277/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/stringofbits.wordpress.com/277/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/stringofbits.wordpress.com/277/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/stringofbits.wordpress.com/277/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/stringofbits.wordpress.com/277/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/stringofbits.wordpress.com/277/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/stringofbits.wordpress.com/277/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/stringofbits.wordpress.com/277/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/stringofbits.wordpress.com/277/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/stringofbits.wordpress.com/277/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/stringofbits.wordpress.com/277/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=stringofbits.net&amp;blog=23443234&amp;post=277&amp;subd=stringofbits&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://stringofbits.net/2006/08/22/programming-the-theory/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/7a6c6c99ccd3e2bbaec318a52fb3d43c?s=96&#38;d=identicon&#38;r=PG" medium="image">
			<media:title type="html">annabunches</media:title>
		</media:content>
	</item>
	</channel>
</rss>
