<?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"
	>

<channel>
	<title>Times New Rohan &#187; Linux</title>
	<atom:link href="http://robrohan.com/category/linux/feed/" rel="self" type="application/rss+xml" />
	<link>http://robrohan.com</link>
	<description>任意的技术</description>
	<pubDate>Tue, 13 May 2008 04:35:47 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.5.1</generator>
	<language>en</language>
			<item>
		<title>Small Afae Update</title>
		<link>http://robrohan.com/2008/05/04/small-afae-update/</link>
		<comments>http://robrohan.com/2008/05/04/small-afae-update/#comments</comments>
		<pubDate>Sun, 04 May 2008 19:34:12 +0000</pubDate>
		<dc:creator>小罗</dc:creator>
		
		<category><![CDATA[Afae]]></category>

		<category><![CDATA[Linux]]></category>

		<category><![CDATA[Mac]]></category>

		<guid isPermaLink="false">http://robrohan.com/2008/05/04/small-afae-update/</guid>
		<description><![CDATA[I did a small update to Afae this weekend. The main purpose of the update was Eclipse Europa was having probles with the snippet inserting code. It was gacking on a height setting which was causing any snippet that had a dialog to fail. I hadn&#8217;t been using Afae for a while so the bug [...]]]></description>
			<content:encoded><![CDATA[<p>I did a small update to Afae this weekend. The main purpose of the update was Eclipse Europa was having probles with the snippet inserting code. It was gacking on a height setting which was causing any snippet that had a dialog to fail. I hadn&#8217;t been using Afae for a while so the bug slipped by me. (For reference, alt+space bar completes snippet text on Mac. So type &#8220;jfun&#8221; in the text editor, and hit alt+spacebar for example.)</p>
<p>I&#8217;ve also removed the manual download. The only way to download Afae now is to use the update site (http://robrohan.com/projects/afae). If you&#8217;d used the update site before, you&#8217;ll have to uninstall the old plugins and re-setup the update site. You can read more about it on <a href="http://robrohan.com/projects/afae/">the project page</a>.</p>
<p>Thank you to everyone who&#8217;s been using Afae, your feedback, and your generous donations. I really appreciate it.</p>
]]></content:encoded>
			<wfw:commentRss>http://robrohan.com/2008/05/04/small-afae-update/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Git Hosting and Textmate Bundle</title>
		<link>http://robrohan.com/2008/03/20/git-hosting-and-textmate-bundle/</link>
		<comments>http://robrohan.com/2008/03/20/git-hosting-and-textmate-bundle/#comments</comments>
		<pubDate>Thu, 20 Mar 2008 19:51:03 +0000</pubDate>
		<dc:creator>小罗</dc:creator>
		
		<category><![CDATA[Linux]]></category>

		<category><![CDATA[Mac]]></category>

		<category><![CDATA[Web Apps]]></category>

		<category><![CDATA[Windows]]></category>

		<category><![CDATA[Git]]></category>

		<category><![CDATA[Textmate]]></category>

		<guid isPermaLink="false">http://robrohan.com/2008/03/20/git-hosting-and-textmate-bundle/</guid>
		<description><![CDATA[One of the things I like about using Git is the fact you don&#8217;t need hosting to use it. However, there are some benefits to using a Git server - one of which being you can browse the repository online.
I stumbled on a Git hosting provider today called github. The prices are good, and they [...]]]></description>
			<content:encoded><![CDATA[<p>One of the things I like about using <a href="http://git.or.cz/">Git</a> is the fact you don&#8217;t need hosting to use it. However, there are some benefits to using a Git server - one of which being you can browse the repository online.</p>
<p>I stumbled on a Git hosting provider today called <a href="http://github.com/">github</a>. The <a href="http://github.com/plans">prices</a> are good, and they range from free (for hackers), to $12/month for small teams, to $100/month for large companies.</p>
<p>If your company does outsourcing to countries where the net connectivity is sometimes sketchy, you owe it to yourself to checkout Git. The distributed nature of the program allows for better collaboration in those types of environments. </p>
<p>Because each &#8220;clone&#8221; of the repository can still commit, even when the network is down people can still work, and re-sync when the network comes back up.</p>
<p>The other gem I spotted today was a <a href="http://gitorious.org/projects/git-tmbundle/">Git Textmate bundle</a> which makes using Git in Textmate as easy as using SVN. Here is a screens shot:</p>
<div class="movie">
<a href="http://robrohan.com/wp-content/uploads/2008/03/gitplugin-1.jpg" onclick="window.open('http://robrohan.com/wp-content/uploads/2008/03/gitplugin-1.jpg','popup','width=768,height=479,scrollbars=no,resizable=yes,toolbar=no,directories=no,location=no,menubar=no,status=yes,left=0,top=0');return false"><img src="http://robrohan.com/wp-content/uploads/2008/03/gitplugin-1-tm.jpg" height="261" width="418" border="1" hspace="4" vspace="4" alt="Gitplugin-1" /></a>
</div>
<p>You can install the bundle by following the steps on <a href="http://gitorious.org/projects/git-tmbundle/">Gitorious</a> (You need to have the command line version of git installed first).</p>
<p>And lastly, I said before that &#8220;git doesn&#8217;t have a UI and you need to be comfortable with the shell&#8221;, but I was incorrect. If you run the command <i>git gui</i> from within a git directory there is a simple but effective UI. Here is a screen shot of what it looks like on Mac OS X but it works on Linux and Windows as well:</p>
<div class="movie">
<a href="http://robrohan.com/wp-content/uploads/2008/03/git-gui.jpg" onclick="window.open('http://robrohan.com/wp-content/uploads/2008/03/git-gui.jpg','popup','width=777,height=703,scrollbars=no,resizable=yes,toolbar=no,directories=no,location=no,menubar=no,status=yes,left=0,top=0');return false"><img src="http://robrohan.com/wp-content/uploads/2008/03/git-gui-tm.jpg" height="361" width="400" border="1" hspace="4" vspace="4" alt="Git-Gui" /></a>
</div>
<p>I find the Textmate bundle nicer for most day to day activities, but <i>git gui</i> frequently comes in handy.</p>
]]></content:encoded>
			<wfw:commentRss>http://robrohan.com/2008/03/20/git-hosting-and-textmate-bundle/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Chinese Word of the Day - Google Gadget</title>
		<link>http://robrohan.com/2008/03/20/chinese-word-of-the-day-google-gadget/</link>
		<comments>http://robrohan.com/2008/03/20/chinese-word-of-the-day-google-gadget/#comments</comments>
		<pubDate>Thu, 20 Mar 2008 16:11:42 +0000</pubDate>
		<dc:creator>小罗</dc:creator>
		
		<category><![CDATA[Chinese]]></category>

		<category><![CDATA[Linux]]></category>

		<category><![CDATA[Mac]]></category>

		<category><![CDATA[Windows]]></category>

		<category><![CDATA[Google]]></category>

		<category><![CDATA[Widgets]]></category>

		<guid isPermaLink="false">http://robrohan.com/2008/03/20/chinese-word-of-the-day-google-gadget/</guid>
		<description><![CDATA[If you like the idea of the Chinese Word of the Day widget for Mac OS X, but you would like to get the word of the day else where, try the Google Gadget version sponsored by ChineseFirstStep.com.
You can add the gadget to your iGoogle home page (which I am starting to dig), and access [...]]]></description>
			<content:encoded><![CDATA[<p>If you like the idea of the <a href="http://robrohan.com/projects/widgets/#chinesewidget">Chinese Word of the Day widget for Mac OS X</a>, but you would like to get the word of the day else where, try the <a href="http://www.google.com/ig/directory?q=Chinese+word+of+the+day&#038;hl=en&#038;root=%2Fig&#038;dpos=top&#038;start=42&#038;url=hosting.gmodules.com/ig/gadgets/file/108356834313893212756/ChineseWords.xml#">Google Gadget version</a> sponsored by <a href="http://chinesefirststep.com/">ChineseFirstStep.com</a>.</p>
<p>You can add the gadget to your iGoogle home page (which I am starting to dig), and access it from any operating system from just about any where in the world:</p>
<div class="movie">
<a href="http://robrohan.com/wp-content/uploads/2008/03/igoogle.jpg" onclick="window.open('http://robrohan.com/wp-content/uploads/2008/03/igoogle.jpg','popup','width=783,height=675,scrollbars=no,resizable=yes,toolbar=no,directories=no,location=no,menubar=no,status=yes,left=0,top=0');return false"><img src="http://robrohan.com/wp-content/uploads/2008/03/igoogle-tm.jpg" height="362" width="420" border="1" hspace="4" vspace="4" alt="Igoogle" /></a>
</div>
<p>Or if you use the Google side bar in windows, you can add it there too. </p>
<p>You can even embed the Gadget on <a href="http://gmodules.com/ig/creator?synd=open&#038;url=http%3A//hosting.gmodules.com/ig/gadgets/file/108356834313893212756/ChineseWords.xml&#038;pt=%26context%3Dd%26synd%3Dig%26lang%3Den%26.lang%3Den%26country%3Dus%26.country%3Dus%26start%3D0%26num%3D1%26objs%3DLLS%2CDP8%2C3KS%2CMxD%2Cx5I%2Co85f&#038;sn=LLS&#038;lang=en">your own web site</a>.</p>
<p>A new word is shown almost every day (Monday through Friday), posted at 6:00 am PST.</p>
]]></content:encoded>
			<wfw:commentRss>http://robrohan.com/2008/03/20/chinese-word-of-the-day-google-gadget/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Current Version of VLC is Remotely Hackable</title>
		<link>http://robrohan.com/2008/03/19/current-version-of-vlc-is-remotely-hackable/</link>
		<comments>http://robrohan.com/2008/03/19/current-version-of-vlc-is-remotely-hackable/#comments</comments>
		<pubDate>Wed, 19 Mar 2008 20:04:00 +0000</pubDate>
		<dc:creator>小罗</dc:creator>
		
		<category><![CDATA[Linux]]></category>

		<category><![CDATA[Mac]]></category>

		<category><![CDATA[Miscellanea]]></category>

		<category><![CDATA[Windows]]></category>

		<category><![CDATA[Hack]]></category>

		<guid isPermaLink="false">http://robrohan.com/2008/03/19/current-version-of-vlc-is-remotely-hackable/</guid>
		<description><![CDATA[One of my favorite applications, VLC, appears to have a remote security vulnerability. The vulnerability is with the way VLC handles subtitles. The vulnerability is on all supported platforms - which means Mac and Linux in addition to Windows.
VLC is a media application that can play almost any kind of media file - it&#8217;s a [...]]]></description>
			<content:encoded><![CDATA[<p>One of my favorite applications, <a href="http://www.videolan.org/vlc/" target="_blank">VLC</a>, appears to have a <a href="http://secunia.com/advisories/28233/" target="_blank">remote security vulnerability</a>. The vulnerability is with the way VLC handles subtitles. The vulnerability is on all supported platforms - which means Mac and Linux in addition to Windows.</p>
<p><a href="http://www.videolan.org/vlc/" target="_blank">VLC</a> is a media application that can play almost any kind of media file - it&#8217;s a great program.</p>
<p>The security report says upgrade to the newest version to fix, but there are reports that the <a href="http://torrentfreak.com/vlc-player-vulnerable-remote-hijack-080318/" target="_blank">newest version also has the bug</a>. </p>
<p>So it&#8217;s best not to play untrusted movies with subtitles until they get it sorted (or download the nightly build).</p>
]]></content:encoded>
			<wfw:commentRss>http://robrohan.com/2008/03/19/current-version-of-vlc-is-remotely-hackable/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Git, the Frugal Project&#8217;s Repository</title>
		<link>http://robrohan.com/2007/12/17/git-the-frugal-projects-repository/</link>
		<comments>http://robrohan.com/2007/12/17/git-the-frugal-projects-repository/#comments</comments>
		<pubDate>Mon, 17 Dec 2007 18:29:09 +0000</pubDate>
		<dc:creator>小罗</dc:creator>
		
		<category><![CDATA[Linux]]></category>

		<category><![CDATA[Mac]]></category>

		<category><![CDATA[Tinkering]]></category>

		<category><![CDATA[Web Apps]]></category>

		<category><![CDATA[Git]]></category>

		<category><![CDATA[Software]]></category>

		<guid isPermaLink="false">http://robrohan.com/2007/12/17/git-the-frugal-projects-repository/</guid>
		<description><![CDATA[The vast majority of the projects I have worked on were in some kind of source control. Lately they&#8217;ve been in Subversion, but before that most were in CVS. I&#8217;ve also worked on a couple projects that were using Microsoft Source Safe (I don&#8217;t even know if that&#8217;s still around).
Recently, however, I&#8217;ve been getting into [...]]]></description>
			<content:encoded><![CDATA[<p>The vast majority of the projects I have worked on were in some kind of source control. Lately they&#8217;ve been in Subversion, but before that most were in CVS. I&#8217;ve also worked on a couple projects that were using Microsoft Source Safe (I don&#8217;t even know if that&#8217;s still around).</p>
<p>Recently, however, I&#8217;ve been getting into <a href="http://git.or.cz/">Git</a>. Git is different from any source control system I&#8217;ve used. It&#8217;s a distributed source control system which not only gives it a huge work flow advantage in my opinion, but also means you can have repositories without a dedicated server.</p>
<h2>The distributed nature</h2>
<p>Every coder I&#8217;ve ever seen that is working on a project using source control has a work flow like the following:</p>
<p>1) Checkout code locally.<br />
2) Work on code locally trying to add features / bug fixes.<br />
3) If work spans several days then, &#8220;update&#8221; every day, and try to solve small conflicts with the main repository.<br />
4) When done - commit, and if there are conflicts, resolve the conflicts.</p>
<p>The main, and slightly elusive, point I&#8217;ve noticed with this setup is the repository is nothing but a database. All the work, all the code managing is done by the developer and then &#8220;pushed&#8221; to the repository database when ready.</p>
<p>The developers local copy is really just a branch of the main repository. So why not let the developers local copy have all the rights and privileges to be someone else&#8217;s main repository? Git was built with this idea in mind, and the explicit goal of being able to merge all changes back upstream.</p>
<p>What this means in reality, is branching and merging are at the core of git, and I&#8217;ve found it to work really well. It lets you test wild ideas with code, and not worry about how you&#8217;re going to rollback your changes if you go to far out, and it doesn&#8217;t work - if that makes any sense.</p>
<h2>Look ma, no server</h2>
<p>The other exciting part about git, for me, is you don&#8217;t need a server running a process anywhere - you don&#8217;t need a git server running somewhere.</p>
<p>Most places I&#8217;ve worked I&#8217;ve implemented source control, and managing a source control server is time consuming. This is all subjective to the level of funding, number of people on staff, tools available, amount of branching etc, but what if you could just remove the overhead of another service that someone has to manage?</p>
<p>By the way, quick plug, I often use <a href="http://cvsdude.com">cvsdude.com</a> for my Subversion outsourcing, but even with the tools they offer someone still has to manage the Subversion server (adding users, permissions, the cost). </p>
<p>While I feel you&#8217;re insane if you don&#8217;t use source control, sometimes running an entire Subversion server is overkill for a project. Writing a Mac OS X widget for example - do you need a full on server, bugzilla, a wiki, and trac hooks for that?</p>
<p>With git, however, you can just put a copy of the repository on a server, and call it your main repository. Done. You can control push access using SSH logins, and if you want to allow anonymous access to the repository, you can make it available over HTTP.</p>
<p>Here is what this looks like, for my notes and if you want to try it yourself:</p>
<p>Get a git repository. Either a new one:</p>
<pre>
$ mkdir my_cool_project; cd my_cool_project;
$ git-init
$ cp -R [all_my_code_files] ./
$ git add .
$ git commit -a
</pre>
<p>or copy a whole subversion repository (comments changes and all):</p>
<pre>
$ git-svn clone -T trunk https://mystuff.com/my_project
</pre>
<p>Do your stuff</p>
<pre>
$ write_lots_of_amazing_code.sh
$ git commit -a
</pre>
<p>Prepare for publish:</p>
<pre>
$ pwd
/home/guy/my_cool_project
$ git repack -d
$ git clone --bare -l . /tmp/your-proj.git
$ git --bare --git-dir=/tmp/your-proj.git update-server-info
$ mv /tmp/your-proj.git /home/guy/Desktop
</pre>
<p>Now upload the <i>your-proj.git</i> folder to your publicly available server. As I said before, if you want to allow anonymous access put it in a HTTP available folder, if you want a private one, put it in your home directory or something.</p>
<p>Turn on the hooks for it to update itself when you &#8220;push&#8221; your new code changes. (one thing to note here is the server needs to have git installed - <i>sudo apt-get install git git-core</i> on Debian / Ubuntu systems)</p>
<pre>
$ uname -a
your_server GNU/Linux
$ pwd
/var/www/myrepo.com/your-proj.git
$ git --bare update-server-info
$ chmod a+x hooks/post-update
</pre>
<p>Now it&#8217;s ready to be used as a central server.</p>
<p>To &#8220;checkout&#8221; the code - really cloning the repository locally:</p>
<pre>
$ uname -a
your_development_box
$ git clone ssh://[username]@[server]/var/www/myrepo.com/your-proj.git
</pre>
<p>Then working locally, you commit your changes locally.</p>
<pre>
$ git commit -a
</pre>
<p>It is very easy to make branches and merge them back into your local <i>trunk</i> (often named <i>master</i>). Here is an in depth <a href="http://lwn.net/Articles/210045/">posting on the subject</a> when you are ready.</p>
<p>To update your local repository to the code on the server:</p>
<pre>
$ git pull
</pre>
<p>And when you are all set with your local changes and ready to push them to the server:</p>
<pre>
$ git push
</pre>
<p>Anonymous checkout:</p>
<pre>
$ git clone http://myrepo.com/your-proj.git
</pre>
<h2>Last bits</h2>
<p>Some things to consider:</p>
<p>  * Git doesn&#8217;t work on windows without Cygwin. It works great on Mac OS X and Linux however.</p>
<p>  * There are very few GUI tools for git, you (and your developers) need to be cool with the terminal. (try gitk from the command line)</p>
<p>  * You will have many full copies of your repository floating around. While this is great for backup purposes, it might be bad for some projects.</p>
<p>  * On Mac OS X I think you have to compile Git from source (I did anyway). It&#8217;s not hard, but if that scares you&#8230;</p>
]]></content:encoded>
			<wfw:commentRss>http://robrohan.com/2007/12/17/git-the-frugal-projects-repository/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Moving From Mac to Ubuntu</title>
		<link>http://robrohan.com/2007/12/10/moving-from-mac-to-ubuntu/</link>
		<comments>http://robrohan.com/2007/12/10/moving-from-mac-to-ubuntu/#comments</comments>
		<pubDate>Mon, 10 Dec 2007 17:51:36 +0000</pubDate>
		<dc:creator>小罗</dc:creator>
		
		<category><![CDATA[Linux]]></category>

		<category><![CDATA[Mac]]></category>

		<category><![CDATA[iPhone]]></category>

		<category><![CDATA[Hack]]></category>

		<category><![CDATA[Software]]></category>

		<guid isPermaLink="false">http://robrohan.com/2007/12/10/moving-from-mac-to-ubuntu/</guid>
		<description><![CDATA[I&#8217;ve been doing some investigation on what it would take to move my main work environment back to Linux (Ubuntu specifically).
For a bit of history, I moved off of Windows in 1997 and on to Linux - Debian mostly (Wow, I haven&#8217;t used Windows as my main OS for 10 years!). Back then it took [...]]]></description>
			<content:encoded><![CDATA[<p>I&#8217;ve been doing some investigation on what it would take to move my main work environment back to Linux (Ubuntu specifically).</p>
<p>For a bit of history, I moved off of Windows in 1997 and on to Linux - Debian mostly (Wow, I haven&#8217;t used Windows as my main OS for 10 years!). Back then it took a lot of tweaking to get Linux to work right. I don&#8217;t mean customizing, I mean tweaking to get it to even work.</p>
<p>While tinkering under the hood was educational and fun, it was a bit of a pain when it was time to do some actual work. I frequently found myself spending time working on getting my environment to work before I could do any work. I couldn&#8217;t get much work done that way so I moved to Mac about three years ago - specifically for the work flow, ease of use, and stability.</p>
<p>Now, however, Linux just works (in so much as Mac and Windows &#8220;just work&#8221;). Ubuntu installs easily, supports most hardware (WPA wireless with no tweaking on my part!), and comes with a slew of free programs.</p>
<p>It is not my intention to bash Mac or Leopard. I think they are both amazing feats of engineering and craftsmanship; however, Leopard isn&#8217;t working for me. I find it unstable, buggy, and disk thrashing - I want to use it I truly do, but it doesn&#8217;t want me to. It&#8217;s the nicest looking OS I have ever seen, and the improvements are theoretically cool, but for day to day work, it&#8217;s failing horribly for me.</p>
<p>So I have a few choices. Wait for an unspecified amount of time for bugs that are unacknowledged to be fixed, downgrade to Tiger, or peruse other options. Number one happens by default and number 2 and 3 are such a pain in the behind, that I might as well look at number 3 just to see (in case this kind of situation is going to become a trend).</p>
<h2>My Leopard Workflow Problems</h2>
<p>To cut off suggestions that I am over reacting, or making things up, here are a <i>few</i> things that have been happening since Leopard:</p>
<p>* Everyday at least one application crashes while I am working on something. This was unheard of in Tiger, and one of the main reasons I moved off Windows 10 years ago. I haven&#8217;t lost this much work since I used Windows.</p>
<p>* Sometimes <i>every</i> application crashes. It&#8217;s the darnedest thing, but every couple of days every single app will crash at the same time. The OS doesn&#8217;t crash, just every running program. I get an array of &#8220;Would you like to send&#8230;&#8221; windows, then everything starts working again (for a while).</p>
<p>* My account got removed from the admin group for no reason.</p>
<p>* My iPhone now only syncs 30% of the time (I suspect USB code changes, but I have no proof). The rest of the time iTunes beach balls and I have to force quit. Sometimes I have to reboot the OS just to get my very expensive phone to sync (and that is only good for one sync, then I need to reboot again).</p>
<p>* My firewire iSight doesn&#8217;t work with some programs anymore.</p>
<p>* The hard drive starts thrashing every once in a while causing the beach ball and I can&#8217;t work. I have to sit there and wait. Sometimes it lasts 20 seconds sometimes 4 minutes (one time 15 minutes).</p>
<p>* Sometimes in Mail.app the create new message button doesn&#8217;t do anything, and I have to quit and restart the app just to send a message.</p>
<p>* <strike>My wifes keyboard on her MacBook randomly stops working.</strike> 10.5.1 seemed to fix this for her.</p>
<p>I have clean installed the OS four times (twice on my Powerbook, twice on my PowerMac), and both computers exhibit these behaviors. Odds are if it is happening on two computers it&#8217;s not just me.</p>
<p>It is important to note that I have more problems on my G4 computers then my wife has on her intel computer. So it could have something to do with that, but I can&#8217;t spend another $2,000 to buy a new computer when the two I have fall well within the specs for running Leopard.</p>
<h2>Ubuntu Powerbook Install</h2>
<p>I tried to install Ubuntu 7.10 on my PowerBook G4 as a test. Sadly this didn&#8217;t work out very well. After a bit of messing around, I got it to install; however, it had some random problems - the worst being that it lost all network interfaces after apt-get upgrade (NetworkManager seems to get horked after the first security update).</p>
<p>Some quick tips for anyone trying this:</p>
<p>* You&#8217;ll probably need to be wired when you install because the network card needs proprietary drivers. I used a netgear pcmcia card I had laying around.</p>
<p>* When you first boot the livecd, you&#8217;ll likely have to boot the kernel with flags. What I used was (enter this at the boot: prompt): </p>
<pre>
live-nosplash-powerpc resolution=1024x768 vga=795 video=ofonly
</pre>
<p>* If you get it to install (I had the computer freeze once during install), to right click press the F12 key. You can setup ctrl+click = right click by editing /etc/default/mouseemu and uncommenting out the lines:</p>
<pre>
MID_CLICK="-middle 125 272"
RIGHT_CLICK="-right 29 272"
</pre>
<p>and then:</p>
<pre>
$sudo /etc/init.d/mouseemu restart
</pre>
<p>(via <a href="http://www.viraj.org/b2evolution/blogs/index.php/2006/08/20/ubuntu_on_my_powerbook">viraj.org</a>)</p>
<p>* The cool effects (comp-biz or whatever) worked very well on my PowerBook G4 with 1.25GB RAM.</p>
<p>* The Apple function keys seem to work fine (volume, brightness, eject, etc)</p>
<p>* There is no Adobe Flash support for Linux on PowerPC</p>
<p>Installing Ubuntu on an Apple PowerBook G4, for me, was like it was installing Debian back in the late 90s. It is not as easy as most other installs with Ubuntu, and not everything is going to work (You wont be able to just close the lid and have the laptop go to sleep anymore, you&#8217;ll have to shutdown every time). Prepare for a lot of file tweaking.</p>
<p>In the end, I think if you&#8217;re looking to move to Ubuntu, sell the Apple hardware on eBay and buy new computers with the money you get from that.</p>
<p>(For example, I am running Ubuntu on a Thinkpad T23, and it works flawlessly).</p>
<h2>Yikes, I am locked in.</h2>
<p>The one thing I learned from this, is I am currently locked into Apple stuff. I didn&#8217;t quite realize it until now though - it never really hit home. For example, if I moved back to Linux I would have no way of syncing my iPhone. I also have an Airport Extreme, and near as I can tell, I can&#8217;t edit any of the Airport settings from Linux. Let alone my iTunes purchases. Wow, I am toast.</p>
<p>I always imagined I could just install Ubuntu on my Apple hardware if it ever got down to it, but it seems that it is not that easy. By the way, hats off to the open firmware guys and yaboot - I was impressed that Ubuntu actually <i>could</i> install on and support most Mac hardware.</p>
<p>If you are running intel hardware, you are not likely in this same boat. You can probably use boot camp to easily dual boot or use vmware.</p>
<p>My lesson learned here is - single vendor lock in is limiting on your personal maneuverability, no matter how cool the products seem to be. If the company you are hooked in with starts putting out stuff you don&#8217;t like, the economy takes a dump and you can&#8217;t afford their stuff, or you disagree with something, your options are limited.</p>
<p>(Written on my Ubuntu Thinkpad T23 while I am installing Leopard for a third time on my Powerbook. Holding to the hope that the problems I am having were things I somehow did wrong.)</p>
]]></content:encoded>
			<wfw:commentRss>http://robrohan.com/2007/12/10/moving-from-mac-to-ubuntu/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Trying to Video Chat between Mac and Windows?</title>
		<link>http://robrohan.com/2007/11/30/trying-to-video-chat-between-mac-and-windows/</link>
		<comments>http://robrohan.com/2007/11/30/trying-to-video-chat-between-mac-and-windows/#comments</comments>
		<pubDate>Fri, 30 Nov 2007 19:32:35 +0000</pubDate>
		<dc:creator>小罗</dc:creator>
		
		<category><![CDATA[Chinese]]></category>

		<category><![CDATA[Linux]]></category>

		<category><![CDATA[Mac]]></category>

		<category><![CDATA[Windows]]></category>

		<guid isPermaLink="false">http://robrohan.com/2007/11/30/trying-to-video-chat-between-mac-and-windows/</guid>
		<description><![CDATA[Amazingly, everyone in my family now uses Macintoshes. Doing video chats with them is obviously simple - just fire up iChat and off we go. In general, I only video chat with my family.
One of my Chinese teachers, however, had the idea that we should try video chatting in Chinese to help me get some [...]]]></description>
			<content:encoded><![CDATA[<p>Amazingly, everyone in my family now uses Macintoshes. Doing video chats with them is obviously simple - just fire up iChat and off we go. In general, I only video chat with my family.</p>
<p>One of my Chinese teachers, however, had the idea that we should try video chatting in Chinese to help me get some practice. </p>
<p>(For the curious, I am having trouble understanding Chinese. I can hear the sounds, I know I know the sounds, but they are not forming any meaning in my brain. With single words (with context) I am ok. I also have problems speaking full sentences - I can read and write pretty well, but that is only because I can rearrange word orders and take time to form what I want to say - something you can&#8217;t do when speaking)</p>
<p>He, as you might have guessed, uses Windows. Getting this to work (for free) was a long process with a lot of failures. The executive summary for the exercise is: Just use <a href="http://www.skype.com/helloagain.html">Skype</a>.</p>
<p>Skype&#8217;s web site is a bit confusing, but you only have to pay if you call a physical phone. If you chat, voice chat, or video chat online it&#8217;s free.</p>
<p>Here were our attempts and the outcomes:</p>
<p><b>MSN</b><br />
He was already using MSN. To keep things simple I tried to find an MSN client for Mac that would do video chat (or at a minimum voice chat). Don&#8217;t bother with this - it is folly.</p>
<p><b>Google Talk</b><br />
I forgot that google talk doesn&#8217;t do video, but we couldn&#8217;t even get voice going from (Windows + Google Talk) -&gt; (Mac + iChat).</p>
<p><b>Yahoo</b><br />
This one was cruel. You can get video to work between (Windows + Yahoo client) -&gt; (Mac + Yahoo client), but no audio. Who would use that? Cruel.</p>
<p><b>AIM</b><br />
I found some web sites that say this will work, but we could not get it to work. (Windows XP + AIM client (no firewall)) -&gt; (Mac 10.5.1 + iChat (no firewall)). We couldn&#8217;t get voice or video. In fact, iChat wouldn&#8217;t even acknowledge he had audio or video capabilities. I was disappointed with this one (and Google Talk) as it would&#8217;ve kept all my video chatting to iChat.</p>
<p><b>Skype</b><br />
Finally we both downloaded Skype, and it just worked. We installed the application, created accounts, initiated video chats, and were chatting within minutes. (It is a well behaved Mac application to boot).</p>
<p>One last cool thing about Skype is it says it works on Linux too. I don&#8217;t have a Linux box with a camera so I can&#8217;t try it, but I am impressed they support Linux. If I had money, I&#8217;d invest a bit in Skype.</p>
]]></content:encoded>
			<wfw:commentRss>http://robrohan.com/2007/11/30/trying-to-video-chat-between-mac-and-windows/feed/</wfw:commentRss>
		</item>
		<item>
		<title>GlueyNotes - Chinese and Android</title>
		<link>http://robrohan.com/2007/11/27/glueynotes-chinese-and-android/</link>
		<comments>http://robrohan.com/2007/11/27/glueynotes-chinese-and-android/#comments</comments>
		<pubDate>Tue, 27 Nov 2007 16:47:02 +0000</pubDate>
		<dc:creator>小罗</dc:creator>
		
		<category><![CDATA[Chinese]]></category>

		<category><![CDATA[GlueyNotes]]></category>

		<category><![CDATA[Linux]]></category>

		<category><![CDATA[Mac]]></category>

		<category><![CDATA[iPhone]]></category>

		<category><![CDATA[Android]]></category>

		<guid isPermaLink="false">http://robrohan.com/2007/11/27/glueynotes-chinese-and-android/</guid>
		<description><![CDATA[I did a quick update to GlueyNotes last night to support multi-languages. I tried to translate the application into Chinese first. I am sure some of the translation is bad as it was my first go. 
It looks at your browsers preferred language and if it&#8217;s Chinese (zh_CN) displays the UI in Chinese. So if [...]]]></description>
			<content:encoded><![CDATA[<p>I did a quick update to <a href="http://glueynotes.com">GlueyNotes</a> last night to support multi-languages. I tried to translate the application into Chinese first. I am sure some of the translation is bad as it was my first go. </p>
<p>It looks at your browsers preferred language and if it&#8217;s Chinese (zh_CN) displays the UI in Chinese. So if you want to see the Chinese site, you have to set your preferred language in the browser. If you&#8217;re just curious as to what it looks like, here is a screen shot: </p>
<div class="movie">
<a href='http://robrohan.com/wp-content/uploads/2007/11/gchinese.jpg' title='gchinese.jpg'><img src='http://robrohan.com/wp-content/uploads/2007/11/gchinese.jpg' alt='gchinese.jpg' width="450" /></a>
</div>
<p></p>
<p>There are not many people that use GlueyNotes in China, but there are a few actually.</p>
<p><a href='http://robrohan.com/wp-content/uploads/2007/11/android.jpg' title='android.jpg'><img src='http://robrohan.com/wp-content/uploads/2007/11/android.jpg' alt='android.jpg' height="150" style="float: left; margin: 5px;" /></a>I also added support for the <a href="http://code.google.com/android/">Android platform</a>.  I am not sure if there are any Android phones in the wild yet, but it seems to somewhat work with the emulator. Since the browser is based on WebKit I am not all that surprised, but it&#8217;s kind of neat that it works almost out of the box (if you have an iphone web application you might want to check out <a href="http://code.google.com/android/">Android</a> too).</p>
<p>Consider Android support beta though. Android seems to have problems with a few ajax calls, and text area entry oddities; however, the bugs could be due to the emulator.</p>
]]></content:encoded>
			<wfw:commentRss>http://robrohan.com/2007/11/27/glueynotes-chinese-and-android/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Afae Update Site Online</title>
		<link>http://robrohan.com/2007/11/17/afae-update-site-online/</link>
		<comments>http://robrohan.com/2007/11/17/afae-update-site-online/#comments</comments>
		<pubDate>Sat, 17 Nov 2007 18:37:46 +0000</pubDate>
		<dc:creator>小罗</dc:creator>
		
		<category><![CDATA[Afae]]></category>

		<category><![CDATA[Linux]]></category>

		<category><![CDATA[Mac]]></category>

		<category><![CDATA[Windows]]></category>

		<category><![CDATA[Software]]></category>

		<guid isPermaLink="false">http://robrohan.com/2007/11/17/afae-update-site-online/</guid>
		<description><![CDATA[I&#8217;ve been trying to use Linux for day to day activities (Ubuntu 7.10). To give it a fair trial, I&#8217;ve been using it exclusively on a few projects. One of the things I am doing it checking out Google&#8217;s Andriod which uses Eclipse - I am using a lot of words here, but basically I [...]]]></description>
			<content:encoded><![CDATA[<p>I&#8217;ve been trying to use Linux for day to day activities (Ubuntu 7.10). To give it a fair trial, I&#8217;ve been using it exclusively on a few projects. One of the things I am doing it checking out Google&#8217;s Andriod which uses Eclipse - I am using a lot of words here, but basically I don&#8217;t have textmate on Ubuntu so I wanted to install Afae.</p>
<p>I found it kind of a pain to install the plugins without an update site so I just put one together to allow easy installation. If you would like to use Afae, just point the <i>Help</i> &gt; <i>Software Update</i> &gt; <i>Find and Install&#8230;</i> and use the URL:</p>
<pre>
http://robrohan.com/projects/afae/
</pre>
<p>If you already have Afae installed this is the same version you already have, it just allows you to use the Eclipse plugin manager to install and remove Afae and makes installing on Ubuntu easier.</p>
]]></content:encoded>
			<wfw:commentRss>http://robrohan.com/2007/11/17/afae-update-site-online/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Mac - The Honeymoon is Over.</title>
		<link>http://robrohan.com/2007/11/12/mac-the-honeymoon-is-over/</link>
		<comments>http://robrohan.com/2007/11/12/mac-the-honeymoon-is-over/#comments</comments>
		<pubDate>Tue, 13 Nov 2007 07:07:11 +0000</pubDate>
		<dc:creator>小罗</dc:creator>
		
		<category><![CDATA[Linux]]></category>

		<category><![CDATA[Mac]]></category>

		<guid isPermaLink="false">http://robrohan.com/2007/11/12/mac-the-honeymoon-is-over/</guid>
		<description><![CDATA[
 

]]></description>
			<content:encoded><![CDATA[<div class="movie">
<object width="425" height="350"><param name="movie" value="http://www.youtube.com/v/57c3zwR3pXw"></param> <embed src="http://www.youtube.com/v/57c3zwR3pXw" type="application/x-shockwave-flash" width="425" height="350"></embed></object>
</div>
]]></content:encoded>
			<wfw:commentRss>http://robrohan.com/2007/11/12/mac-the-honeymoon-is-over/feed/</wfw:commentRss>
		</item>
	</channel>
</rss>
