<?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>Neuromancer in Savannah &#187; Mac</title>
	<atom:link href="http://zhangw.com/wp/category/mac/feed/" rel="self" type="application/rss+xml" />
	<link>http://zhangw.com/wp</link>
	<description>My Wordpress Blog</description>
	<lastBuildDate>Thu, 26 Apr 2012 00:51:43 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.2</generator>
		<item>
		<title>Rate the Playing Song in iTunes with a few Keystrokes</title>
		<link>http://zhangw.com/wp/2012/04/rate-the-playing-song-in-itunes-with-a-few-keystrokes/</link>
		<comments>http://zhangw.com/wp/2012/04/rate-the-playing-song-in-itunes-with-a-few-keystrokes/#comments</comments>
		<pubDate>Thu, 26 Apr 2012 00:51:43 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Mac]]></category>
		<category><![CDATA[applescript]]></category>
		<category><![CDATA[itunes]]></category>
		<category><![CDATA[rate song in iTunes]]></category>
		<category><![CDATA[rating]]></category>

		<guid isPermaLink="false">http://zhangw.com/wp/?p=976</guid>
		<description><![CDATA[One of the useful thing of iTunes is the ratings. With that it will help you quickly create a smart list, or help you quickly delete the songs you never want to listen to. But the problem for me is that I never want to go back to iTunes&#8217; interface to do this, or I [...]]]></description>
			<content:encoded><![CDATA[<p>One of the useful thing of iTunes is the ratings.  With that it will help you quickly create a smart list, or help you quickly delete the songs you never want to listen to.  But the problem for me is that I never want to go back to iTunes&#8217; interface to do this, or I want to lose focus to use a mouse to click on some interface no matter on menubar or somewhere my desktop.  With the help of those quick launch apps, it is easy to do this with just a few keystrokes, and you will never lose focus of current job.  With the help of Applescript, it is quite easy to do.</p>

<p>I list the applescripts I use to give the current playing song a rate from 1 star TO 5 stars.  Because the rating system currently used in iTunes is 0-100, you will never see a star in my scripts.</p>

<p>Rate 1 star:</p>

<pre><code>tell application "System Events"
    if (name of processes) contains "iTunes" then
        set iTunesRunning to true
    else
        set iTunesRunning to false
    end if
end tell

if iTunesRunning then
    tell application "iTunes"
        set rating of current track to 20

        next track  
    end tell
end if
</code></pre>

<p>Change the rating in the script to 40 for 2 stars, and so on.</p>
]]></content:encoded>
			<wfw:commentRss>http://zhangw.com/wp/2012/04/rate-the-playing-song-in-itunes-with-a-few-keystrokes/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>RIP Steve</title>
		<link>http://zhangw.com/wp/2011/10/rip-steve/</link>
		<comments>http://zhangw.com/wp/2011/10/rip-steve/#comments</comments>
		<pubDate>Thu, 06 Oct 2011 02:40:46 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Mac]]></category>

		<guid isPermaLink="false">http://zhangw.com/wp/?p=955</guid>
		<description><![CDATA[No matter you use Mac or not, have any iThings or not, Steve Jobs and Apple changed the industry. RIP Steve. And watch Gizmodo&#8217;s tribute video and now classic Steve Jobs&#8217; 2005 Stanford Commencement Address]]></description>
			<content:encoded><![CDATA[<p>No matter you use Mac or not, have any iThings or not, Steve Jobs and Apple changed the industry.</p>

<p>RIP Steve.</p>

<p>And watch Gizmodo&#8217;s <a href="http://gizmodo.com/5838922/steve-jobs-think-different-video—in-memoriam" class="liexternal">tribute video</a> and now classic <a href="http://www.youtube.com/watch?v=UF8uR6Z6KLc" class="liexternal">Steve Jobs&#8217; 2005 Stanford Commencement Address</a></p>
]]></content:encoded>
			<wfw:commentRss>http://zhangw.com/wp/2011/10/rip-steve/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Murdoch and Jobs are planning an iPad newspaper</title>
		<link>http://zhangw.com/wp/2010/11/murdoch-and-jobs-are-planning-an-ipad-newspaper/</link>
		<comments>http://zhangw.com/wp/2010/11/murdoch-and-jobs-are-planning-an-ipad-newspaper/#comments</comments>
		<pubDate>Sun, 21 Nov 2010 05:06:55 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Mac]]></category>

		<guid isPermaLink="false">http://www.zhangw.com/wp/?p=908</guid>
		<description><![CDATA[Guardian reports. And from the report, it seems like that they want to run a tabloid. I&#8217;m not sure that is an interesting idea.]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.guardian.co.uk/technology/2010/nov/21/ipad-newspaper-steve-jobs-rupert-murdoch" class="liexternal">Guardian</a> reports.  And from the report, it seems like that they want to run a tabloid.  I&#8217;m not sure that is an interesting idea.</p>
]]></content:encoded>
			<wfw:commentRss>http://zhangw.com/wp/2010/11/murdoch-and-jobs-are-planning-an-ipad-newspaper/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Install Mutt on Mac OS X using Homebrew</title>
		<link>http://zhangw.com/wp/2010/07/install-mutt-on-mac-os-x-using-homebrew/</link>
		<comments>http://zhangw.com/wp/2010/07/install-mutt-on-mac-os-x-using-homebrew/#comments</comments>
		<pubDate>Sun, 11 Jul 2010 02:05:51 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Mac]]></category>
		<category><![CDATA[brew]]></category>
		<category><![CDATA[homebrew]]></category>
		<category><![CDATA[macports]]></category>
		<category><![CDATA[mutt]]></category>
		<category><![CDATA[tokyo-cabinet]]></category>

		<guid isPermaLink="false">http://www.zhangw.com/wp/?p=868</guid>
		<description><![CDATA[The recent version of Homebrew can&#8217;t install Mutt. After a quick check of the error info, I found that maybe due to either Tokyo-Cabinet need to be installed with sudo, or the config for Mutt on Homebrew never check whether Tokyo-Cabinet is installed, even though it claims a dependency. To solve this, you can try [...]]]></description>
			<content:encoded><![CDATA[<p>The recent version of <a href="http://mxcl.github.com/homebrew/" class="liexternal">Homebrew</a> can&#8217;t install <a href="http://www.mutt.org" class="liexternal">Mutt</a>.  After a quick check of the error info, I found that maybe due to either <a href="http://1978th.net/tokyocabinet/" class="liexternal">Tokyo-Cabinet</a> need to be installed with <a href="http://xkcd.com/149/" class="liexternal">sudo</a>, or the config for Mutt on Homebrew never check whether Tokyo-Cabinet is installed, even though it claims a dependency.</p>

<p>To solve this, you can try both of the below steps or just edit the Mutt config file as below:</p>

<ul>
<li>sudo brew install tokyo-cabinet (as you do in <a href="http://www.macports.org/" class="liexternal">Macports</a>)</li>
<li>brew edit mutt.  Add &#8220;&#8211;with-tokyocabinet&#8221;, below line41 &#8220;&#8211;enable-hcache&#8221;, don&#8217;t forget the quotation mark and the comma.</li>
</ul>

<p>Now install Mutt.  If it still states the linking step fails, sudo it.</p>
]]></content:encoded>
			<wfw:commentRss>http://zhangw.com/wp/2010/07/install-mutt-on-mac-os-x-using-homebrew/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>This is too COOL</title>
		<link>http://zhangw.com/wp/2010/06/this-is-too-cool/</link>
		<comments>http://zhangw.com/wp/2010/06/this-is-too-cool/#comments</comments>
		<pubDate>Tue, 15 Jun 2010 02:48:05 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Fun]]></category>
		<category><![CDATA[Mac]]></category>
		<category><![CDATA[iPad]]></category>

		<guid isPermaLink="false">http://www.zhangw.com/wp/?p=863</guid>
		<description><![CDATA[But it is way expensive.]]></description>
			<content:encoded><![CDATA[<p><object width="480" height="385"><param name="movie" value="http://www.youtube.com/v/EozwYbMTtS0&#038;hl=en_US&#038;fs=1&#038;"></param><param name="allowFullScreen" value="true"></param><param name="allowscriptaccess" value="always"></param><embed src="http://www.youtube.com/v/EozwYbMTtS0&#038;hl=en_US&#038;fs=1&#038;" type="application/x-shockwave-flash" allowscriptaccess="always" allowfullscreen="true" width="480" height="385"></embed></object></p>

<p>But it is way expensive.</p>
]]></content:encoded>
			<wfw:commentRss>http://zhangw.com/wp/2010/06/this-is-too-cool/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Use XeTeX with latexmk</title>
		<link>http://zhangw.com/wp/2010/05/use-xetex-with-latexmk/</link>
		<comments>http://zhangw.com/wp/2010/05/use-xetex-with-latexmk/#comments</comments>
		<pubDate>Thu, 27 May 2010 23:28:52 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Life]]></category>
		<category><![CDATA[Mac]]></category>
		<category><![CDATA[latexmk]]></category>
		<category><![CDATA[texshop]]></category>
		<category><![CDATA[xelatex]]></category>
		<category><![CDATA[xelatexmk]]></category>
		<category><![CDATA[xetex]]></category>

		<guid isPermaLink="false">http://www.zhangw.com/wp/?p=859</guid>
		<description><![CDATA[Just find out that it is easy to set XeTex to work with latexmk. From TeX on Mac OS X mailing list by Herb Schulz: Move the engine files from ~/Library/TeXShop/Engines/Inactive/Latexmk/ two directories up, to ~/Library/TeXShop/Engines/ to activate them. Once that is done restart TeXTShop. To use the xelatexmk engine simply put the line % [...]]]></description>
			<content:encoded><![CDATA[<p>Just find out that it is easy to set <a href="http://scripts.sil.org/xetex" class="liexternal">XeTex</a> to work with <a href="http://www.phys.psu.edu/~collins/software/latexmk-jcc/" class="liexternal">latexmk</a>. From <a href="http://permalink.gmane.org/gmane.comp.tex.macosx" class="liexternal">TeX on Mac OS X</a> mailing list by <a href="http://permalink.gmane.org/gmane.comp.tex.macosx/36206" class="liexternal">Herb Schulz</a>:</p>

<p>Move the engine files from
~/Library/TeXShop/Engines/Inactive/Latexmk/ two directories up, to ~/Library/TeXShop/Engines/
to activate them. Once that is done restart TeXTShop.</p>

<p>To use the xelatexmk engine simply put the line</p>

<p>% !TEX TS-program = xelatexmk</p>

<p>at the top of the source file.</p>
]]></content:encoded>
			<wfw:commentRss>http://zhangw.com/wp/2010/05/use-xetex-with-latexmk/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Collecting iPad Reviews</title>
		<link>http://zhangw.com/wp/2010/04/collecting-ipad-reviews/</link>
		<comments>http://zhangw.com/wp/2010/04/collecting-ipad-reviews/#comments</comments>
		<pubDate>Thu, 01 Apr 2010 03:41:39 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Mac]]></category>
		<category><![CDATA[CS5]]></category>
		<category><![CDATA[iPad]]></category>
		<category><![CDATA[photoshop CS5]]></category>

		<guid isPermaLink="false">http://www.zhangw.com/wp/?p=836</guid>
		<description><![CDATA[Yes, people are getting theirs before 3rd, April. Mossberg saying: After spending hours and hours with it, I believe this beautiful new touch-screen device from Apple has the potential to change portable computing profoundly, and to challenge the primacy of the laptop. David Pogue saying: Speaking of video: Apple asserts that the iPad runs 10 [...]]]></description>
			<content:encoded><![CDATA[<p>Yes, people are getting theirs before 3rd, April.</p>

<p><a href="http://ptech.allthingsd.com/20100331/apple-ipad-review/" class="liexternal">Mossberg</a> saying:</p>

<blockquote>
  <p>After spending hours and hours with it, I believe this beautiful new touch-screen device from Apple has the potential to change portable computing profoundly, and to challenge the primacy of the laptop.</p>
</blockquote>

<p><a href="http://www.nytimes.com/2010/04/01/technology/personaltech/01pogue.html?ref=technology" class="liexternal">David Pogue</a> saying:</p>

<blockquote>
  <p>Speaking of video: Apple asserts that the iPad runs 10 hours on a charge of its nonremovable battery — but we all know you can’t trust the manufacturer. And sure enough, in my own test, the iPad played movies continuously from 7:30 a.m. to 7:53 p.m. — more than 12 hours. That’s four times as long as a typical laptop or portable DVD player.</p>
</blockquote>

<p>and <a href="http://www.boingboing.net/2010/03/31/a-first-look-at-ipad.html" class="liexternal">Boingboing</a>:</p>

<blockquote>
  <p>iPad is a touch of genius.
  But it&#8217;s the things I never knew it made possible — to be revealed or not in the coming months — that will determine whether I love it.
  Each app for iPad can&#8217;t be more than 2 gigs in compressed archive form (a limitation imposed by the zip compression standard at work here, not something of Apple&#8217;s own design).</p>
</blockquote>

<p>I think the 2g limit might be a good thing, since I just want to buy the 16g version of iPad of the moment.</p>

<p>Via <a href="http://daringfireball.net/" class="liexternal">DaringFireball</a> and from <a href="https://boingboing.net" class="liexternal">Boingboing</a></p>

<p>BTW, <a href="http://bigstormpicture.blogspot.com" class="liexternal">The Big Storm Picture</a> posted an interesting comparison between CS4 and coming CS5 for image manipulation, and the <a href="http://bigstormpicture.blogspot.com/2010/03/photoshop-cs-4-cs-5-comparison.html" class="liexternal">difference</a> is quite huger than I expected.  You should click the <a href="http://bigstormpicture.blogspot.com/2010/03/photoshop-cs-4-cs-5-comparison.html" class="liexternal">link</a> to see it.</p>
]]></content:encoded>
			<wfw:commentRss>http://zhangw.com/wp/2010/04/collecting-ipad-reviews/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>使用 Alpine 通过 IMAP 访问 Gmail</title>
		<link>http://zhangw.com/wp/2009/03/setup-alpine-for-gmail-imap/</link>
		<comments>http://zhangw.com/wp/2009/03/setup-alpine-for-gmail-imap/#comments</comments>
		<pubDate>Sat, 21 Mar 2009 12:16:11 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Mac]]></category>
		<category><![CDATA[alpine]]></category>
		<category><![CDATA[gmail]]></category>
		<category><![CDATA[imap]]></category>
		<category><![CDATA[utf-8]]></category>

		<guid isPermaLink="false">http://www.zhangw.com/wp/?p=692</guid>
		<description><![CDATA[过程简单： 启动alpine，输入msla。在nickname处随便写个你要用的名称，就写gmail好了。Server处填写：imap.gmail.com/ssl/user=id@gmail.com/novalidate-cert。 继续在alpine中操作，输入msc。SMTP server输入：smtp.gmail.com/submit/user=id@gmail.com/novalidate-cert 使用whereis命令，找到Display Character Set和Posting Character Set，都设为UTF-8。 如果不想把邮件保存在本地，则需要输入msl，然后删除那个local的文件夹设置。]]></description>
			<content:encoded><![CDATA[<p>过程简单：</p>

<ol>
    <li> 启动alpine，输入msla。在nickname处随便写个你要用的名称，就写gmail好了。Server处填写：imap.gmail.com/ssl/user=id@gmail.com/novalidate-cert。</li>
    <li> 继续在alpine中操作，输入msc。SMTP server输入：smtp.gmail.com/submit/user=id@gmail.com/novalidate-cert</li>
    <li> 使用whereis命令，找到Display Character Set和Posting Character Set，都设为UTF-8。</li>
    <li> 如果不想把邮件保存在本地，则需要输入msl，然后删除那个local的文件夹设置。</li>
</ol>

<!--adsense-->
]]></content:encoded>
			<wfw:commentRss>http://zhangw.com/wp/2009/03/setup-alpine-for-gmail-imap/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Ricoh CX1 seems interesting</title>
		<link>http://zhangw.com/wp/2009/02/ricoh-cx1-seems-interesting/</link>
		<comments>http://zhangw.com/wp/2009/02/ricoh-cx1-seems-interesting/#comments</comments>
		<pubDate>Fri, 20 Feb 2009 17:26:08 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Life]]></category>
		<category><![CDATA[Mac]]></category>
		<category><![CDATA[CX1]]></category>
		<category><![CDATA[DC]]></category>
		<category><![CDATA[digital camera]]></category>
		<category><![CDATA[Ricoh]]></category>
		<category><![CDATA[Ricoh CX1]]></category>

		<guid isPermaLink="false">http://www.zhangw.com/wp/2009/02/ricoh-cx1-seems-interesting/</guid>
		<description><![CDATA[This seems a common DC, but dpreview tells that this one has a wider dynamic range than normal DCs, &#8220;(i)t helps to suppress white-out and expands dynamic range by up to 1EV compared to previous models.&#8221;&#160; And they also pointed out that the technology Ricoh uses &#8220;is in contrast to many existing dynamic range expansion [...]]]></description>
			<content:encoded><![CDATA[<p><img style="max-width: 800px;" src="http://a.img-dpreview.com/news/0902/Ricoh/CX1_front-001.jpg" />
<a href="http://www.dpreview.com/news/0902/09021901ricohcx1.asp">
This</a> seems a common DC, but <a href="http://www.dpreview.com/news/0902/09022002ricohinterview.asp" class="liexternal">dpreview tells</a> that this one has a wider dynamic range than normal DCs, &#8220;(i)t helps to suppress white-out and expands dynamic range by up to 1EV compared to previous models.&#8221;&nbsp; And they also pointed out that the technology Ricoh uses &#8220;is in contrast to many existing dynamic range expansion technologies that limit the available ISO range (and can result in increased noise), or reduce the camera&#8217;s performance when engaged.&#8221;&nbsp; And they further note that &#8220;(f)or more extreme lighting situations, there is also a built-in high-dynamic range mode. This shoots two, differently exposed, images consecutively and combines them to enable to capture of a greater dynamic range than would be possible in a single exposure.&#8221;</p>

<p>Finally, Ricoh &#8220;claims the CX1 will be able to capture and convey dynamic range of up to 12EV. However, Rioch stresses that its feature isn&#8217;t trying to produce the fashionable, heavily-processed &#8216;HDR-look.&#8217; &#8216;it aims to portray the scene in as natural a way as possible.&#8217;&#8221;</p>

<p>This sounds very interesting, I look forward to seeing the samples made buy CX1.</p>

<!--adsense-->
]]></content:encoded>
			<wfw:commentRss>http://zhangw.com/wp/2009/02/ricoh-cx1-seems-interesting/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Auto hide others on Mac OS X</title>
		<link>http://zhangw.com/wp/2008/12/auto-hide-others-on-mac-os-x/</link>
		<comments>http://zhangw.com/wp/2008/12/auto-hide-others-on-mac-os-x/#comments</comments>
		<pubDate>Mon, 29 Dec 2008 17:17:19 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Mac]]></category>

		<guid isPermaLink="false">http://www.zhangw.com/wp/?p=643</guid>
		<description><![CDATA[This is a useful tip if you like to focus on your present task: $ defaults write com.apple.dock single-app -bool TRUE $ killall Dock From Macosxhints.com]]></description>
			<content:encoded><![CDATA[<p>This is a useful tip if you like to focus on your present task:</p>

<p><pre>
$ defaults write com.apple.dock single-app -bool TRUE
$ killall Dock
</pre></p>

<p>From <a href="http://www.macosxhints.com/article.php?story=20081229062620506" class="liexternal">Macosxhints.com</a></p>
]]></content:encoded>
			<wfw:commentRss>http://zhangw.com/wp/2008/12/auto-hide-others-on-mac-os-x/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>

<!-- Performance optimized by W3 Total Cache. Learn more: http://www.w3-edge.com/wordpress-plugins/

Minified using disk: basic
Page Caching using disk: enhanced

Served from: zhangw.com @ 2012-05-22 09:41:36 -->
