<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Crown and Cutlass Blog &#187; Linux</title>
	<atom:link href="http://www.crownandcutlass.com/blog/category/linux/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.crownandcutlass.com/blog</link>
	<description>The Crown and Cutlass Developer's Blog</description>
	<lastBuildDate>Sat, 20 Jun 2009 21:20:45 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
		<item>
		<title>I made the switch (or I am trying to)&#8230;</title>
		<link>http://www.crownandcutlass.com/blog/2007/10/31/i-made-the-switch-or-i-am-trying-to/</link>
		<comments>http://www.crownandcutlass.com/blog/2007/10/31/i-made-the-switch-or-i-am-trying-to/#comments</comments>
		<pubDate>Wed, 31 Oct 2007 21:04:50 +0000</pubDate>
		<dc:creator>David Thulson</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[OS X]]></category>
		<category><![CDATA[Ogre]]></category>
		<category><![CDATA[Protocce]]></category>

		<guid isPermaLink="false">http://www.crownandcutlass.com/blog/2007/10/31/i-made-the-switch-or-i-am-trying-to/</guid>
		<description><![CDATA[I have finally done it, I bought a Mac. A few weekends ago, I bought a MacBook Pro and then last weekend I upgraded to Leopard. The computer was expensive (I got an academic discount and the upgrade to Leopard was basically free, but still&#8230;) but it sure is a nice machine. I now have [...]]]></description>
			<content:encoded><![CDATA[<p>I have finally done it, I bought a Mac. A few weekends ago, I bought a MacBook Pro and then last weekend I upgraded to Leopard. The computer was expensive (I got an academic discount and the upgrade to Leopard was basically free, but still&#8230;) but it sure is a nice machine.  I now have a video card with decent shader support, so I am excited to play around with that.  It is also nice to have a unix-based machine with decent driver support out of the box.  The wireless card actually works!  Amazing!  However, I really feel lost trying to do development in OS X and in some ways I feel lost just trying to use the computer.</p>
<p>I really have not quite gotten used to the way the filesystem is arranged.  I guess I am comfortable with it not being like Windows, but I want it to be like linux.  In Windows, there is no &#8220;/usr/lib/&#8221; or &#8220;/usr/local/lib/&#8221; for libraries so you put them somewhere else (like &#8220;C:\OgreSDK&#8221; or in program files or something).  In OS X there is a &#8220;/usr/lib/&#8221; and &#8220;/usr/local/lib/&#8221; but it looks like the preferred place to install libraries is into &#8220;/Libraries/&#8221; which is just weird. Which should I use?  Should I treat it as a unix machine, or embrace the weird OS X stuff?</p>
<p>The keyboard also is a little annoying.  I want a &#8220;home&#8221; and an &#8220;end&#8221; key.  I want a &#8220;del&#8221; key that is separate from the backspace key.  I guess you can do &#8220;command-right&#8221; to get to the end of the line, but that does not seem to work consistently in all applications. I also really think only putting one mouse button on the laptops is a poor decision.  And no, I don&#8217;t buy the argument that using modifier keys for things like that or to get a right-click is somehow more efficient.</p>
<p>I am also trying to figure out how to get dependencies for Protocce installed.  Ogre was really easy since they provide a framework. If I remember correctly from his blog, Steve Streeting got a Mac recently so OS X has a higher priority on the Ogre team.  The ogg and vorbis packages came with XCode projects to make frameworks, so building and installing them was really easy.  I couldn&#8217;t find a binary boost distribution, so I built/installed it just like I would have in linux (&#8220;./configure &amp;&amp; make &amp;&amp; make install&#8221;). That is what boost recommends, but I&#8217;m not sure that is the OS X way to do things.  At this point though, I don&#8217;t think there is reason to go through the trouble of making a framework (and really figuring out what frameworks are all about, how they differ from bundles, what a bundle is, etc.).  Unfortunately, OS X support in CEGUI seems to be lagging behind.  CEGUI seems to be kind of quiet lately anyway (Crazy Eddie appears to have left the project, hopefully it can rise from the ashes and continue strongly eventually).  I am going to try building it from SVN where I hope the OS X support is a little better.</p>
<p>XCode seems like it will be nice.  I need to try a &#8220;hello world&#8221; project in it, but it looks like CMake can generate XCode projects.  That will be save a lot of work, since it will shield me from having to set up a project manually until after I see how Xcode handles projects a little.  I&#8217;m sure it&#8217;ll still take some getting used to, but I&#8217;m interested to see how it compares to Eclipse with the CDT and Visual Studio.</p>
<p>Anyway, if you have tips on getting started with development is OS X, let me know. I found Apple&#8217;s <a href="http://developer.apple.com/gettingstarted/">getting started</a> page and it seems there could be some good stuff in there., but I have a lot to learn.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.crownandcutlass.com/blog/2007/10/31/i-made-the-switch-or-i-am-trying-to/feed/</wfw:commentRss>
		<slash:comments>5</slash:comments>
		</item>
		<item>
		<title>More on MySQL AB and the GPL</title>
		<link>http://www.crownandcutlass.com/blog/2007/05/30/more-on-mysql-ab-and-the-gpl/</link>
		<comments>http://www.crownandcutlass.com/blog/2007/05/30/more-on-mysql-ab-and-the-gpl/#comments</comments>
		<pubDate>Wed, 30 May 2007 22:34:47 +0000</pubDate>
		<dc:creator>David Thulson</dc:creator>
				<category><![CDATA[Linux]]></category>

		<guid isPermaLink="false">http://www.crownandcutlass.com/blog/2007/05/30/more-on-mysql-ab-and-the-gpl/</guid>
		<description><![CDATA[The other day I linked to this post about MySQL AB and the GPL in a Slashdot comment. As I note in that comment, it appears that the link to the MySQL protocol description has changed. Anyway, based on some of the responses in that Slashdot thread and in our blog here, I thought I [...]]]></description>
			<content:encoded><![CDATA[<p>The other day I linked to <a href="http://www.crownandcutlass.com/blog/2007/01/15/mysql-ab-and-the-gpl/">this post about MySQL AB and the GPL</a> in a <a href="http://developers.slashdot.org/comments.pl?sid=236249&amp;cid=19276479">Slashdot comment</a>.  As I note in that comment, it appears that the link to the <a href="http://forge.mysql.com/wiki/MySQL_Internals_ClientServer_Protocol#Licensing_Notice">MySQL protocol description</a> has changed.</p>
<p>Anyway, based on some of the responses in that Slashdot thread and in our blog here, I thought I should clarify what I&#8217;m trying to say.  I have no problem with MySQL using the GPL to license their software.  That&#8217;s their choice and if I choose to use their product I can&#8217;t really complain much about it.  I may still prefer to use a database with a less restrictive license since <a href="http://www.firebirdsql.org/">several</a> <a href="http://www.postgresql.org/">exist</a>, but I have no issues with the idea of MySQL using the GPL for their database product.</p>
<p>I do have issues with how MySQL AB uses the GPL though.  Here is my understanding of what they are doing: They have a document that describes the protocol necessary for a database access library to communicate with the MySQL database. Because the MySQL system is released under the GPL, they claim that terms of the GPL also apply to the protocol itself.  As a result, they claim that if you use the document which describes the protocol to implement a library or system which communicates with a MySQL server (or emulates one, etc.), you must abide by the GPL.  As far as I can tell, they are attempting to apply copyright (the GPL) to an idea (the description of the MySQL protocol in that document).  Again, I&#8217;m not a lawyer, but it is my understanding that copyright applies only to manifestations of ideas, not the ideas themselves.  That is, they can copyright the code which implements a protocol (which they have, it&#8217;s the MySQL database) and they can copyright the text of the document that describes the protocol, but they can&#8217;t copyright the protocol itself.  If they want to protect the idea itself, they need to patent it.  I believe that people who have read this generally agree with me that this is not a valid use of copyright.  Am I wrong?  If so, how is this valid?</p>
<p>I think we all can agree that this is at the very least questionable use of copyright. I am not sure why they would try to play these games other than to attempt to eliminate less restrictive 3rd party client libraries.  I would think that as the company that produces MySQL itself, they should be able to legitimately keep their official client libraries ahead of any 3rd party competitors in terms of performance, reliability, and/or just their ability to offer support.  Instead, they have resorted to what looks like misusing copyright.  I&#8217;ll say this again: why bother with these stupid games when there are better database available like Firebird and PostgreSQL?</p>
<p>My other issue with MySQL  AB is just that it appears they do a poor job of educating their users about what their license really means.  I guess when they don&#8217;t seem to understand what their own license covers, I shouldn&#8217;t expect them to be able to explain it to their users. It seems like they are just being intentionally unclear and misleading, rather than being straightforward and honest about the licensing requirements.  I admit that this is very subjective.  Perhaps the people who commented here defending them disagree.  I mean, MySQL AB is free to offer poor and confusing support if they want to.  Thankfully, not only am I free to not use their product, but I can also attempt to explain my reasons to others (by whining about it on my blog)!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.crownandcutlass.com/blog/2007/05/30/more-on-mysql-ab-and-the-gpl/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>AMD open-sourcing graphics drivers?</title>
		<link>http://www.crownandcutlass.com/blog/2007/05/15/amd-open-sourcing-graphics-drivers/</link>
		<comments>http://www.crownandcutlass.com/blog/2007/05/15/amd-open-sourcing-graphics-drivers/#comments</comments>
		<pubDate>Tue, 15 May 2007 22:25:42 +0000</pubDate>
		<dc:creator>David Thulson</dc:creator>
				<category><![CDATA[Linux]]></category>

		<guid isPermaLink="false">http://www.crownandcutlass.com/blog/2007/05/15/amd-open-sourcing-graphics-drivers/</guid>
		<description><![CDATA[I saw this story on /. (which links to this blog post) the other day. I&#8217;m sure nothing I say will add anything that hasn&#8217;t already been said, but I am pretty excited about the possibility of real open-source graphics drivers (for cards that do a little more than the onboard video). Of course, statements [...]]]></description>
			<content:encoded><![CDATA[<p>I saw <a href="http://linux.slashdot.org/article.pl?sid=07/05/13/1659245">this story on /.</a> (which links to <a href="http://enterpriselinuxlog.blogs.techtarget.com/2007/05/09/amd-will-deliver-open-graphics-drivers/">this blog post</a>) the other day.  I&#8217;m sure nothing I say will add anything that hasn&#8217;t already been said, but I am pretty excited about the possibility of real open-source graphics drivers (for cards that do a little more than the onboard video).  Of course, statements by a VP of marketing that are quoted on a clearly non-official blog post are a long way from actually delivering anything at all, so  I won&#8217;t be holding my breath. I am happy they are talking about it though.</p>
<p>In the past, I have been a pretty dedicated NVIDIA user, I don&#8217;t think I have bought a non-NVIDIA card since the GeForce series was introduced in 1999.  Their linux drivers are closed-source binary blobs and <a href="https://bugs.launchpad.net/ubuntu/+source/linux-restricted-modules-2.6.20/+bug/96430">make life harder than it should be for linux distros</a>.  Once you go through the pain to get them set up, they work well and give good performance.  Ultimately, as a Linux game developer, that&#8217;s what I am looking for.  I&#8217;m also excited about <a href="http://nouveau.freedesktop.org/wiki/">Noveau</a> and I&#8217;m looking forward to trying their driver when it is farther along.  However, if AMD provided decent open-source drivers for the ATI cards (or if Intel gets a decent graphics chipset going), I would happily drop NVIDIA without a second thought.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.crownandcutlass.com/blog/2007/05/15/amd-open-sourcing-graphics-drivers/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Excited about CDT</title>
		<link>http://www.crownandcutlass.com/blog/2007/05/14/excited-about-cdt/</link>
		<comments>http://www.crownandcutlass.com/blog/2007/05/14/excited-about-cdt/#comments</comments>
		<pubDate>Mon, 14 May 2007 22:39:03 +0000</pubDate>
		<dc:creator>David Thulson</dc:creator>
				<category><![CDATA[Linux]]></category>

		<guid isPermaLink="false">http://www.crownandcutlass.com/blog/2007/05/14/excited-about-cdt/</guid>
		<description><![CDATA[So I read this blog post by Doug Schaefer, the CDT project lead. I&#8217;ve been reading his blog lately. It&#8217;s interesting. Based on what I&#8217;ve found in the milestone builds of the CDT (I&#8217;m currently using CDT 4.0 M7/RC1) and what I&#8217;ve read on his blog, I&#8217;m really excited about what they are doing. Performance [...]]]></description>
			<content:encoded><![CDATA[<p>So I read <a href="http://cdtdoug.blogspot.com/2007/05/gdb-is-calling.html">this blog post</a> by Doug Schaefer, the CDT project lead.  I&#8217;ve been reading his blog lately.  It&#8217;s interesting.  Based on what I&#8217;ve found in the milestone builds of the CDT (I&#8217;m currently using <a href="http://download.eclipse.org/tools/cdt/releases/europa/dist/4.0.0M7/">CDT 4.0 M7/RC1</a>) and what I&#8217;ve read on his blog, I&#8217;m really excited about what they are doing. Performance is way ahead of the released version, and code navigation is getting much easier.  For example, <a href="http://cdtdoug.blogspot.com/2007/04/f3-cdt-wunder-key.html">F3 to &#8220;Open Declaration&#8221;</a> works pretty well, although it seems to only work in headers&#8230;  I haven&#8217;t actually tried debugging yet.  I&#8217;ve been scarred by my previous experiences, but maybe I&#8217;ll try that out now.  Anyway, if you are a C++ developer in Linux, I&#8217;d recommend you check out a milestone build of Eclipse and the CDT.</p>
<p>PS Is it just &#8220;CDT&#8221; or is it &#8220;the CDT&#8221;?  Anyone know?</p>
]]></content:encoded>
			<wfw:commentRss>http://www.crownandcutlass.com/blog/2007/05/14/excited-about-cdt/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Ubuntu and Developers</title>
		<link>http://www.crownandcutlass.com/blog/2007/01/26/ubuntu-and-developers/</link>
		<comments>http://www.crownandcutlass.com/blog/2007/01/26/ubuntu-and-developers/#comments</comments>
		<pubDate>Fri, 26 Jan 2007 19:07:44 +0000</pubDate>
		<dc:creator>David Thulson</dc:creator>
				<category><![CDATA[Linux]]></category>

		<guid isPermaLink="false">http://www.crownandcutlass.com/blog/2007/01/26/ubuntu-and-developers/</guid>
		<description><![CDATA[I&#8217;ve mentioned that I do not think Ubuntu is the most developer friendly distro out there. I think this bug is a pretty good example of what I&#8217;m talking about. I believe that is due to the fact that the Eclipse packages are from the &#8220;Universe&#8221; repository (non-official) and Debian did not update the package [...]]]></description>
			<content:encoded><![CDATA[<p>I&#8217;ve <a href="http://www.crownandcutlass.com/blog/2006/11/28/trying-ubuntu/">mentioned</a> that I do not think Ubuntu is the most developer friendly distro out there.  I think <a href="https://launchpad.net/ubuntu/+source/eclipse-cdt/+bug/68661">this bug</a> is a pretty good example of what I&#8217;m talking about.  I believe that is due to the fact that the Eclipse packages are from the &#8220;Universe&#8221; repository (non-official) and Debian did not update the package in time for Ubuntu&#8217;s release.  However, the fact that they have a package combo that is known to be broken highlights some QA issues. Ubuntu 6.10 (Edgy Eft) was released in October of 2006.  Both Eclipse 3.2 and CDT 3.1.0 were released in June of 2006.  I don&#8217;t get how the team maintaining the packages had time to update the core Eclipse packages but not the CDT packages.</p>
<p>There is a fairly easy workaround.  You just install the CDT from inside Eclipse.  That works, but it means your CDT install is outside of the standard package management.  It seems like in the three months since this glaring issue was reported, they could have released an update for the CDT package.  I would say incompatible package versions that result in the package not working at all should be addressed in an update. I should note that I believe is already fixed in Feisty Fawn, but that is scheduled to be released in late April.</p>
<p>This issue (along with the fact that the <a href="https://launchpad.net/ubuntu/+source/ogre/+bug/80924">Ogre packages in Feisty are still over a year old</a>) is an example of why Ubuntu is not the ideal platform for developers.  I could start maintaining some packages myself, but I currently have enough on my plate with just Crown and Cutlass itself.  Also, since at least an updated CDT package exists for Feisty, it seems like it&#8217;s not a lack of a maintainer that&#8217;s preventing an update for Edgy.  I guess it could just be that Ubuntu is aimed at my grandpa (who actually did just started using Ubuntu!) not me.  Maybe it&#8217;s time to go back to Fedora&#8230;</p>
]]></content:encoded>
			<wfw:commentRss>http://www.crownandcutlass.com/blog/2007/01/26/ubuntu-and-developers/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Ubuntu and boost::serialization (updated)</title>
		<link>http://www.crownandcutlass.com/blog/2006/12/02/ubuntu-and-boostserialization/</link>
		<comments>http://www.crownandcutlass.com/blog/2006/12/02/ubuntu-and-boostserialization/#comments</comments>
		<pubDate>Sat, 02 Dec 2006 20:37:48 +0000</pubDate>
		<dc:creator>David Thulson</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Protocce]]></category>

		<guid isPermaLink="false">http://www.crownandcutlass.com/blog/2006/12/02/ubuntu-and-boostserialization/</guid>
		<description><![CDATA[We are looking at using boost::serialization for our serialization needs in Protocce. However, I cannot get even a simple test to work in Ubuntu, so I filed a bug. It works fine in Visual C++ 2005 Express, but you do not have to tell VC++ which libraries to link. It handles that automatically using #pragma [...]]]></description>
			<content:encoded><![CDATA[<p>We are looking at using <a href="http://www.boost.org/libs/serialization/doc/index.html">boost::serialization</a> for our serialization needs in Protocce.  However, I cannot get even a simple test to work in Ubuntu, so <a href="https://launchpad.net/distros/ubuntu/+source/boost/+bug/74186">I filed a bug</a>.  It works fine in <a href="http://msdn.microsoft.com/vstudio/express/visualc/">Visual C++ 2005 Express</a>, but you do not have to tell VC++ which libraries to link.  It handles that automatically using #pragma directives.  I&#8217;m not sure if I&#8217;m doing something dumb like not linking in a library I should, but I tried adding several other boost libraries to the command line.  It didn&#8217;t seem to make a difference.  Collin had the same errors, so it seems like either we are missing a library or there actually is a bug.</p>
<p>Update: <a href="http://www.gamedev.net/community/forums/topic.asp?topic_id=426922">Posted to gamedev.net</a> and figured out that I just needed to put the &#8220;-lboost_serialization&#8221; at the end of the command.  That&#8217;s good to know!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.crownandcutlass.com/blog/2006/12/02/ubuntu-and-boostserialization/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Trying Ubuntu</title>
		<link>http://www.crownandcutlass.com/blog/2006/11/28/trying-ubuntu/</link>
		<comments>http://www.crownandcutlass.com/blog/2006/11/28/trying-ubuntu/#comments</comments>
		<pubDate>Tue, 28 Nov 2006 19:06:41 +0000</pubDate>
		<dc:creator>David Thulson</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Ogre]]></category>

		<guid isPermaLink="false">http://www.crownandcutlass.com/blog/2006/11/28/trying-ubuntu/</guid>
		<description><![CDATA[I dual-boot my laptop with XP and Linux. I am using Linux more and more lately though. Now I pretty much only use XP to try compiling something in Visual Studio, or to play the occasional game. I have traditionally been a RedHat/Fedora user. However, I am getting tired of downloading 3.5 gigs every 6 [...]]]></description>
			<content:encoded><![CDATA[<p>I dual-boot my laptop with XP and Linux.  I am using Linux more and more lately though.  Now I pretty much only use XP to try compiling something in Visual Studio, or to play the occasional game.  I have traditionally been a RedHat/Fedora user.  However, I am getting tired of downloading 3.5 gigs every 6 months to reinstall Fedora.  I haven&#8217;t had luck in the past with upgrading from one version to the next, although admittedly I haven&#8217;t tried it in a few versions.  Anyway, I finally decided to try out Ubuntu.  With a few dumb exceptions, it seems pretty slick.  It was a single CD download, the install was easy, and I managed to get the old Crown and Cutlass code running successfully.  However, I am surprised how much work it is to set up a development box.  I expected that I&#8217;d be able to just check a box for â€œDevelopment Toolsâ€ in some install dialog.  Instead I had to install each piece separately.  Some things were installed in the â€œbuild_essentialsâ€ but that was pretty minimal.  It seems like almost everyone who installs gcc will want the autotools at some point.  Native Eclipse also seems much slower than in Fedora 5.  It is almost unusable.  However, since Sun has opened Java, I&#8217;m hoping that Eclipse will work better out of the box in the next release.</p>
<p>My main issue with Ubuntu is the age of some development packages in the repositories.  For example, the Eclipse CDT is one version out of data while Eclipse itself is the most recent version.  Even worse, the version of <a href="http://www.ogre3d.org">Ogre</a> in the repository is 1.0.7 which is almost a year old!  As you can imagine, a lot has changed between 1.0 and 1.4.  Our Ogre test doesn&#8217;t even compile with it.  As a result, I have had to compile my own version of Ogre.  That&#8217;s not too bad,  but it would make things a little easier if I didn&#8217;t have to.  We talked about contributing a new package, but decided that since we will need to do some compiling anyway it would be better to use the CVS version of Ogre.  That way when 1.4 is released we will not need to unlearn anything, and hopefully we&#8217;ll be ready to start releasing some code before any more major version changes in Ogre.</p>
<p>Anyway, it just doesn&#8217;t seem like developers are the target audience for Ubuntu.  So far things seem to be working well enough that I don&#8217;t want to go through the trouble of returning to Fedora, but a little better developer support in Ubuntu sure would be nice.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.crownandcutlass.com/blog/2006/11/28/trying-ubuntu/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>

<!-- Dynamic Page Served (once) in 1.592 seconds -->
