<?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>San Bei Ji</title>
	<atom:link href="http://www.sanbeiji.com/feed" rel="self" type="application/rss+xml" />
	<link>http://www.sanbeiji.com</link>
	<description>三杯雞好吃!</description>
	<lastBuildDate>Thu, 19 Aug 2010 19:12:16 +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>MathML+WebKit</title>
		<link>http://www.sanbeiji.com/archives/1189</link>
		<comments>http://www.sanbeiji.com/archives/1189#comments</comments>
		<pubDate>Thu, 19 Aug 2010 19:10:55 +0000</pubDate>
		<dc:creator>Joe</dc:creator>
				<category><![CDATA[Web Development]]></category>
		<category><![CDATA[Chrome]]></category>
		<category><![CDATA[LaTeX]]></category>
		<category><![CDATA[markup]]></category>
		<category><![CDATA[MathML]]></category>
		<category><![CDATA[Safari]]></category>
		<category><![CDATA[WebKit]]></category>
		<category><![CDATA[xml]]></category>

		<guid isPermaLink="false">http://www.sanbeiji.com/?p=1189</guid>
		<description><![CDATA[If you’re the kind of person who likes to download WebKit nightly builds to tinker with emerging features (and who isn&#8217;t?), then you’ll be interested to try out MathML support which is now turned on by default. MathML is supported server-side in several wiki platforms I regularly deal with (such as Confluence and MediaWiki), and [...]]]></description>
			<content:encoded><![CDATA[
<p>If you’re the kind of person who likes to download WebKit nightly builds to tinker with emerging features (and who isn&#8217;t?), then you’ll be interested to try out <a href="http://webkit.org/blog/1366/announcing%E2%80%A6mathml/">MathML support which is now turned on by default</a>.</p>
<p>MathML is supported server-side in several wiki platforms I regularly deal with (such as Confluence and MediaWiki), and it has always been an important requirement for support from my colleagues in the science community who do any kind of math research (but second place to <a href="http://en.wikipedia.org/wiki/LaTeX">LaTeX</a>). This is the first time I’ve seen it supported in a major browser platform though. The mathematics community will be very interested in this sort of thing, and I expect at some point in the future we’ll just be embedding MathML into markup and publishing it rather than having to rely on a server-side library to parse it. Yea! <img src='http://www.sanbeiji.com/wp-includes/images/smilies/icon_biggrin.gif' alt=':D' class='wp-smiley' />  I know it sounds more geeky than usual, but this is pretty cool in my book &#8211; especially from an applications perspective.</p>
<p>The only thing more geeky about downloading WebKit nightly builds is getting excited over new XML functionality. <img src='http://www.sanbeiji.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' />  Also slightly related: both SVG and HTML5 canvas will be supported in IE9, making it doable in all modern browsers when that finally gets released and older versions become rarely used. It will become an increasing trend to represent data in these formats, natively in markup, rather than relying on 3rd party server-side libraries or plugins. Standards eventually win, usually&#8230;</p>

]]></content:encoded>
			<wfw:commentRss>http://www.sanbeiji.com/archives/1189/feed</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Relaunch of Yingwen&#8217;s website</title>
		<link>http://www.sanbeiji.com/archives/1186</link>
		<comments>http://www.sanbeiji.com/archives/1186#comments</comments>
		<pubDate>Wed, 11 Aug 2010 05:48:08 +0000</pubDate>
		<dc:creator>Joe</dc:creator>
				<category><![CDATA[Family]]></category>
		<category><![CDATA[Blackhawk]]></category>
		<category><![CDATA[Danville]]></category>
		<category><![CDATA[Diablo]]></category>
		<category><![CDATA[lessons]]></category>
		<category><![CDATA[Music]]></category>
		<category><![CDATA[piano]]></category>
		<category><![CDATA[San Ramon]]></category>
		<category><![CDATA[teaching]]></category>
		<category><![CDATA[web]]></category>
		<category><![CDATA[Windemere]]></category>

		<guid isPermaLink="false">http://www.sanbeiji.com/?p=1186</guid>
		<description><![CDATA[I finally got around to finishing the upgrades on Yingwen&#8217;s piano teaching website last Sunday. Talk about taking one&#8217;s time&#8230; Anyway it looks fabulous. Used the Piano Black theme by mono-lab, and hacked it up good at Open Web Camp for the mobile audience. Try it on iPhone or Android. Yingwen has quite a growing [...]]]></description>
			<content:encoded><![CDATA[
<p>I finally got around to finishing the upgrades on <a href="http://yingwenlewis.com">Yingwen&#8217;s piano teaching website</a> last Sunday. Talk about taking one&#8217;s time&#8230;</p>
<p>Anyway it looks fabulous. Used the Piano Black theme by <a href="http://www.mono-lab.net/">mono-lab</a>, and hacked it up good at Open Web Camp for the mobile audience. Try it on iPhone or Android.</p>
<p>Yingwen has quite a growing studio. With her better students now winning competitions, she&#8217;s building up quite a demand for piano lessons. Most of her piano students come from Danville and San Ramon, particularly from the Blackhawk and Windemere areas, but some drive an hour or more for lessons now. Crazy&#8230; Check her out at <a href="http://yingwenlewis.com">yingwenlewis.com</a></p>

]]></content:encoded>
			<wfw:commentRss>http://www.sanbeiji.com/archives/1186/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Cheatsheet from today&#8217;s Open Web Camp &#8220;Refactoring for Mobile&#8221; talk</title>
		<link>http://www.sanbeiji.com/archives/1175</link>
		<comments>http://www.sanbeiji.com/archives/1175#comments</comments>
		<pubDate>Sun, 18 Jul 2010 05:56:09 +0000</pubDate>
		<dc:creator>Joe</dc:creator>
				<category><![CDATA[Meanwhile]]></category>

		<guid isPermaLink="false">http://www.sanbeiji.com/?p=1175</guid>
		<description><![CDATA[For the Open Web Camp attendees, here&#8217;s my cheatsheet from the Refactoring for Mobile talk I gave today at Stanford: Get it as a CSS file and view it in your favorite code editor: walkthrough.css Or preview here: /* The first thing we need is a media query and to add &#60;meta name=&#34;viewport&#34; content=&#34;width=device-width, minimum-scale=1.0, [...]]]></description>
			<content:encoded><![CDATA[
<p>For the Open Web Camp attendees, here&#8217;s my cheatsheet from the Refactoring for Mobile talk I gave today at Stanford:</p>
<p>Get it as a CSS file and view it in your <a href="http://macromates.com/">favorite</a> <a href="http://www.vim.org/">code</a> <a href="http://www.adobe.com/products/dreamweaver/">editor</a>: </p>
<p><a href='http://www.sanbeiji.com/wp-content/uploads/2010/07/walkthrough.css' style="font-weight:bold;">walkthrough.css</a></p>
<p>Or preview here:</p>
<p><code><br />
/*<br />
The first thing we need is a media query and to add<br />
&lt;meta name=&quot;viewport&quot; content=&quot;width=device-width,<br />
	minimum-scale=1.0, maximum-scale=1.0&quot;&gt;<br />
to the head:<br />
*/<br />
@media only screen and (max-device-width:480px) {<br />
/*<br />
For starters, note the two divs #wrapper and #contents.<br />
Let's use those to create our structural layout and<br />
fold back in some of those design elements.<br />
*/<br />
	#wrapper {<br />
		background:url(img/back2.png) no-repeat center top;<br />
		margin-top:-1em;<br />
	}<br />
	#contents {<br />
		text-align:left;<br />
		width:95%;<br />
		margin:0 auto;<br />
	}<br />
/*<br />
Now, let's style the main navigation buttons. First, we<br />
will use inline-block to give block-like behavior to the<br />
buttons but retain width based on the content. Then we set<br />
the color, font size, and floating, and add a bit of box<br />
shadow.<br />
*/<br />
	.menu a {<br />
		display:inline-block;<br />
		background-color:#000;<br />
		float:left;<br />
		font-size:14px;<br />
		padding:1em 0.95em;<br />
		border-left:1px solid #888;<br />
		-webkit-box-shadow:0px 1px 5px #222;<br />
	}<br />
/*<br />
We can now use border-radius to style the left and right<br />
buttons instead of image files:<br />
*/<br />
	.first_menu a {<br />
		border-bottom-left-radius:6px;<br />
		border-left:none;<br />
		margin-left:2px;<br />
	}<br />
	.menu li:last-child a {<br />
		border-bottom-right-radius:6px;<br />
	}<br />
/*<br />
What if we flip to Landscape? There's a media query for<br />
that:<br />
*/<br />
	@media screen and (orientation:landscape) {<br />
		.first_menu a {<br />
			margin-left:78px;<br />
		}<br />
	}<br />
/*<br />
Now we can style the body content. #middle-contents is<br />
the main containing block. We can use the background image<br />
from the main stylesheet, but alternately we can use rgba<br />
backgrounds to get finer control. Add border radius and box<br />
shadow for depth.<br />
*/<br />
	#middle-contents {<br />
/*		background:url(img/side.png) repeat-y;*/<br />
		background-color:rgba(0,0,0,0.3);<br />
		padding:1em;<br />
		border-radius:10px;<br />
		-webkit-box-shadow:0px 1px 6px #000;<br />
		box-shadow:0px 1px 6px #000;<br />
		font-size:1.2em;<br />
		margin-bottom:1em;<br />
	}<br />
/*<br />
Let's style the banner text and have some fun with it using<br />
web fonts. Here's a font we'll pull in, using TTF and SVG formats.<br />
Sadly, the vendors have many opinions on the solution, but<br />
FontSquirrel can help sort it out.<br />
*/<br />
	@font-face {<br />
		font-family:'Lobster';<br />
		src: url('Lobster_1.3-webfont.ttf') format('truetype'),<br />
		url('Lobster_1.3-webfont.svg#webfontcOtP3oQb') format('svg');<br />
	}<br />
	#logo a {<br />
		display:block;<br />
		text-align:center;<br />
		padding-top:12px;<br />
		font-family:Lobster, sans-serif;<br />
		font-size:2.7em;<br />
		text-shadow:0px 2px 4px #000;<br />
	}<br />
	#logo h1 {<br />
		font-family:Lobster, sans-serif;<br />
		text-align:center;<br />
		font-size:1.5em;<br />
	}<br />
/*<br />
The float is creating a spacing issue. We can fix that<br />
with a clear:<br />
*/<br />
	#header { clear:both; }<br />
/*<br />
We are getting close. Now on to the bottom of the page.<br />
The #comments section is too wide. We need to reset it:<br />
*/<br />
	#comments {<br />
		width:100%;<br />
	}<br />
	#comments textarea, #comments input {<br />
		width:93%;<br />
		margin-bottom:0.5em;<br />
		padding:0.5em;<br />
		font-size:1.2em;<br />
		border:1px solid #000;<br />
		border-radius:6px;<br />
	}<br />
/*<br />
That input button could be nicer:<br />
*/<br />
	#comments input.button {<br />
		display:block;<br />
		width:80%;<br />
		margin:0 auto;<br />
		height:2.5em;<br />
		padding:0.5em;<br />
	}<br />
/*<br />
Now we have something that looks like it was meant for a<br />
mobile device. Let's wrap this up by making the final<br />
links look like tap-friendly buttons:<br />
*/<br />
	#right-col a {<br />
		display:block;<br />
		padding:0.5em;<br />
		font-size:1.3em;<br />
		font-weight:bold;<br />
		text-align:center;<br />
		background-image: -webkit-gradient(linear, left top, left bottom,<br />
			from(#666666), to(#666666), color-stop(.5,#333));<br />
		border:1px solid #000;<br />
		border-radius:20px;<br />
		margin-bottom:0.4em;<br />
	}<br />
/*<br />
Maybe those final link items were over the top.<br />
Let's restore them to inline links:<br />
*/<br />
	#copyrights a {<br />
		display:inline;<br />
		margin:0;<br />
		padding:0;<br />
		font-size:small;<br />
		border:none;<br />
		background-image:none;<br />
	}<br />
}<br />
/*<br />
Now add some HTML5: Add placeholder="I think..." to the textarea in<br />
comments.php, line 191.<br />
Add input types to email and url fields.<br />
Finish with atouch icon: &lt;link rel=&quot;apple-touch-icon&quot; href=&quot;piano.png&quot;/&gt;<br />
(Note to attendees: I forgot to add the piano.png file to my project files.<br />
But this works otherwise!)<br />
*/<br />
</code></p>

]]></content:encoded>
			<wfw:commentRss>http://www.sanbeiji.com/archives/1175/feed</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Condor</title>
		<link>http://www.sanbeiji.com/archives/1173</link>
		<comments>http://www.sanbeiji.com/archives/1173#comments</comments>
		<pubDate>Fri, 18 Jun 2010 05:29:37 +0000</pubDate>
		<dc:creator>Joe</dc:creator>
				<category><![CDATA[Travel]]></category>
		<category><![CDATA[California]]></category>
		<category><![CDATA[condor]]></category>
		<category><![CDATA[Photography]]></category>
		<category><![CDATA[San Diego]]></category>
		<category><![CDATA[zoo]]></category>

		<guid isPermaLink="false">http://www.sanbeiji.com/?p=1173</guid>
		<description><![CDATA[This is the second time I&#8217;ve seen a live California Condor. The first time I barely remember &#8211; I was maybe 7 or 8 years old, and I had a fuzzy photo from the San Diego Zoo that I took myself. There were several in this part of the San Diego Wild Animal Park, and [...]]]></description>
			<content:encoded><![CDATA[
<p>This is the second time I&#8217;ve seen a live California Condor. The first time I barely remember &#8211; I was maybe 7 or 8 years old, and I had a fuzzy photo from the San Diego Zoo that I took myself. There were several in this part of the San Diego Wild Animal Park, and this one was posin&#8217; for the camera:</p>
<p><a href="http://www.flickr.com/photos/sanbeiji/4698180377/" title="California Condor by sanbeiji, on Flickr"><img src="http://farm5.static.flickr.com/4069/4698180377_22c03d6e29.jpg" width="500" height="333" alt="California Condor" /></a></p>
<p>These are amazing animals. Same level of awe as when I was a kid&#8230;</p>

]]></content:encoded>
			<wfw:commentRss>http://www.sanbeiji.com/archives/1173/feed</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>A gluten-free tourist in San Diego</title>
		<link>http://www.sanbeiji.com/archives/1163</link>
		<comments>http://www.sanbeiji.com/archives/1163#comments</comments>
		<pubDate>Mon, 14 Jun 2010 00:22:52 +0000</pubDate>
		<dc:creator>Joe</dc:creator>
				<category><![CDATA[Gastronomy]]></category>
		<category><![CDATA[Gluten Intolerance]]></category>
		<category><![CDATA[Travel]]></category>
		<category><![CDATA[celiac]]></category>
		<category><![CDATA[gluten-free]]></category>
		<category><![CDATA[San Diego]]></category>
		<category><![CDATA[vacation]]></category>

		<guid isPermaLink="false">http://www.sanbeiji.com/?p=1163</guid>
		<description><![CDATA[I have had a couple of awesome trips as a gluten-free gastronaut into San Diego County this past year. San Diego has some excellent restaurants, and here are some things I experienced that should be of some interest to the celiac community at large when planning things: First of all, the Gluten Free in SD [...]]]></description>
			<content:encoded><![CDATA[
<p>I have had a couple of awesome trips as a gluten-free gastronaut into San Diego County this past year. San Diego has some excellent restaurants, and here are some things I experienced that should be of some interest to the celiac community at large when planning things:</p>
<p>First of all, the <a href="http://glutenfreeinsd.com/">Gluten Free in SD</a> website is a fantastic resource and should be your first stop when organizing your trip. There&#8217;s a ton of good resources pointed out on the website, and things are indicated with latest dates that things were confirmed. This was the site I used to look up restaurants with gluten-free options, and to know what to expect when walking into theme parks and other tourist attractions.</p>
<p><a href="http://www.sanbeiji.com/wp-content/uploads/2010/06/sunset.jpg"><img src="http://www.sanbeiji.com/wp-content/uploads/2010/06/sunset-300x225.jpg" alt="" title="sunset" width="300" height="225" class="alignright size-medium wp-image-1164" /></a></p>
<p>Last winter break we headed down for four nights at the <a href="http://www.loewshotels.com/en/hotels/san-diego-resort/overview.aspx">Coronado Bay Resort</a>. This is a good place to stay, because the restaurant there is excellent for handling gluten free options. The breakfast buffet had gluten free muffins every morning, which were great by the way, and the chef was able to explain what was safe to eat from the menu and cook things special order. We had dinner here several times on this trip, just because the restaurant was handling the gluten-free requirements so well. If you&#8217;re headed to the theme parks, eat a big breakfast here because the theme parks mostly don&#8217;t have much to offer.</p>
<p>Sea World, The San Diego Zoo, and the San Diego Wild Animal Park didn&#8217;t have many things to eat that were gluten-free, but there were fruit items, nuts, and chips to be found—enough to tide one over for the day if not staying too long, at least until dinner. The great exception to the theme park scene in San Diego for gluten free options was <a href="http://california.legoland.com/Plan/dietary_guide/">Legoland</a>, which had gluten-free hot dog and hamburger buns at most of the tray service food booths. When I had inquired about getting a hamburger with a gluten-free bun, the nice person taking my order clearly had been trained well in protocol for handling such requests, but she had also obviously never had such a request before. She was good about it and checked thoroughly, and she made sure I stayed at the window so I didn&#8217;t have to hang out on the side of the building for a long wait not knowing what was going on. The burger was terrible, just like everyone else&#8217;s. Mmmmm&#8230;.</p>
<p>San Diego has a number of excellent restaurants with gluten-free menus or options. Our first stop in our December trip was to Del Mar Rendezvous, a chinese restaurant with a dedicated gluten-free menu and knowledgeable staff. We had the Beef Chow Fun and Kung Pao Chicken, both of which were excellent. The chow fun was done with flat fettuccine-like rice noodles that were quite wide and worked very well.</p>
<p>After our Legoland trip in December, we went to <a href="http://www.claimjumper.com/menu_vegetarian_gluten.aspx#gluten">Claim Jumper</a> in Carlsbad. Not bad, but they did bring my plate out with a big giant piece of bread on it when I had specified that I was ordering gluten-free from the menu and reminded them to ensure that no bread or whatnot was to come into contact with my food. Our waiter, who wasn&#8217;t the one returning with our food, was horrified and started making a scene when he left our table to go fix it, which was fun to watch. A freshly-prepared plate came back soon, sans gluten, and all was well.</p>
<p>This past weekend, we were down in San Diego again to help my aunt get some of her paintings appraised at the Antique Roadshow. The paintings weren&#8217;t worth a fortune or anything, but we found some more excellent restaurants to eat at:</p>
<p>Our first dinner stop was to <a href="http://www.unos.com/kiosk/nutrition/gluten.html">Uno&#8217;s Chicago Grill</a>. Uno&#8217;s was the scene of Yingwen&#8217;s and my first date together back when we were student&#8217;s at New England Conservatory, and we haven&#8217;t been to one since the last Uno&#8217;s locations left San Francisco several years ago. I knew they had a new gluten-free pizza on a dedicated menu, but by now I&#8217;m actually sick of gluten-free pizza. There&#8217;s plenty of it in the Bay Area now &#8211; and I still had half an unconsumed pizza left in my refrigerator back home! I tried the stuffed chicken instead, and ordered a Redbridge to go with it. Delicious, actually.</p>
<p><a href="http://www.sanbeiji.com/wp-content/uploads/2010/06/drinks.jpg"><img src="http://www.sanbeiji.com/wp-content/uploads/2010/06/drinks-225x300.jpg" alt="" title="drinks" width="225" height="300" class="alignleft size-medium wp-image-1165" /></a></p>
<p>The following evening, after convincing my two aunts on this trip to watch our kids so Yingwen and I could have a date, we went to <a href="http://www.kisrestaurant.com/restaurant.html">Ki&#8217;s Restaurant</a> in Cardiff-by-the-Sea. This spot had a beautiful view overlooking the ocean and the setting sun, and we had prime seats. Ki&#8217;s sports a dedicated gluten-free menu that is quite extensive, and I ordered spring rolls as an appetizer and the Jidori chicken breast entree. The atmosphere here was clearly more laid back California style than your usual restaurant, which I appreciated, and the vegetables tasted as if they were picked within minutes—really fresh and delicious. Watching the sunset go down with a couple good glasses of Shiraz and Yingwen&#8217;s pint &#8216;o <a href="http://en.wikipedia.org/wiki/Mai_Tai">Mai Tai</a> was a great way to spend the evening together.</p>
<p>We finished off our dining experience in San Diego at <a href="http://www.bjsbrewhouse.com/faqs.aspx#g">BJ&#8217;s Brewhouse</a>, which has a good gluten-free menu. Of course they had a pizza option, and I gave in and ordered one since they have been getting rave reviews. They were out of Redbridge, but wine always works well in these situations and is actually the preferred choice these days. My pizza came ordered with pepperoni, bacon, sausage, artichoke hearts, green peppers, and mushrooms. Toppings-wise, local favorites such as <a href="http://www.extremepizza.com/">Extreme Pizza</a> and <a href="http://www.penninis.com/">Pennini&#8217;s</a> in Moraga win, but the crust was certainly pretty good.</p>
<p>Well that&#8217;s it for my San Diego roundup. I love this town!</p>

]]></content:encoded>
			<wfw:commentRss>http://www.sanbeiji.com/archives/1163/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>iPhone icons</title>
		<link>http://www.sanbeiji.com/archives/1158</link>
		<comments>http://www.sanbeiji.com/archives/1158#comments</comments>
		<pubDate>Wed, 09 Jun 2010 20:49:59 +0000</pubDate>
		<dc:creator>Joe</dc:creator>
				<category><![CDATA[Gadgets]]></category>
		<category><![CDATA[Web Development]]></category>
		<category><![CDATA[Apple]]></category>
		<category><![CDATA[design]]></category>
		<category><![CDATA[iconography]]></category>
		<category><![CDATA[icons]]></category>
		<category><![CDATA[ipad]]></category>
		<category><![CDATA[iPhone]]></category>

		<guid isPermaLink="false">http://www.sanbeiji.com/?p=1158</guid>
		<description><![CDATA[Here are some lovely PSDs available for download; excellent for picking apart how to create great iPhone icons: http://christianbaroni.me/?page=downloads (Found via http://twitter.com/flyosity/status/15798736074.) This will be important for iPhone apps but even more important down the road (in my opinion) for web apps that have custom icons associated with them. If you’d like to learn more [...]]]></description>
			<content:encoded><![CDATA[
<p>Here are some lovely PSDs available for download; excellent for picking apart how to create great iPhone icons:</p>
<p><a href="http://christianbaroni.me/?page=download">http://christianbaroni.me/?page=downloads</a></p>
<p><em>(Found via <a href="http://twitter.com/flyosity/status/15798736074">http://twitter.com/flyosity/status/15798736074</a>.)</em></p>
<p>This will be important for iPhone apps but even more important down the road (in my opinion) for web apps that have custom icons associated with them. If you’d like to learn more about this technique, full instructions for creating a custom desktop iPhone icon for a web page or web app are right here in <a href="http://jonathanstark.com/">Jonathan Stark&#8217;s</a> excellent go-read-this-now book on building web apps with HTML, CSS, and JavaScript:</p>
<p><a href="http://building-iphone-apps.labs.oreilly.com/ch03.html#ch03_id35932602">http://building-iphone-apps.labs.oreilly.com/ch03.html#ch03_id35932602</a></p>
<p>The gist of which is essentially you are creating a 57 x 57 icon and then adding one of the two following HTML lines to identify it:</p>
<p><code>
<link rel="apple-touch-icon" href="icon.png" /></code></p>
<p><code>
<link rel="apple-touch-icon-precomposed" href="icon.png" /></code></p>
<p>The first option inherits the glossy light effect and corner radius from the iPhone OS. The 2nd one does not, so you have to handle corner radius and any desired light effects manually. iPad icons use 72 x 72 pixel resolution. I’m not sure yet, but I’m betting the new OS will have something closer to the 72 px size. Anyone know the answer?</p>

]]></content:encoded>
			<wfw:commentRss>http://www.sanbeiji.com/archives/1158/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Should academic paper publishing embrace EPUB?</title>
		<link>http://www.sanbeiji.com/archives/1096</link>
		<comments>http://www.sanbeiji.com/archives/1096#comments</comments>
		<pubDate>Wed, 19 May 2010 20:50:03 +0000</pubDate>
		<dc:creator>Joe</dc:creator>
				<category><![CDATA[Books]]></category>
		<category><![CDATA[ebooks]]></category>
		<category><![CDATA[epub]]></category>
		<category><![CDATA[future]]></category>
		<category><![CDATA[ipad]]></category>
		<category><![CDATA[iPhone]]></category>
		<category><![CDATA[PDF]]></category>
		<category><![CDATA[publishing]]></category>
		<category><![CDATA[research]]></category>

		<guid isPermaLink="false">http://www.sanbeiji.com/?p=1096</guid>
		<description><![CDATA[Sometime last year I was considering home improvement options to our house, I was thinking about building a large, built-in bookshelf in our upstairs study area. I always loved to see lots of books on the wall, and really enjoyed pulling down a book to have a browse on whatever subject interested me from my [...]]]></description>
			<content:encoded><![CDATA[
<p>Sometime last year I was considering home improvement options to our house, I was thinking about building a large, built-in bookshelf in our upstairs study area. I always loved to see lots of books on the wall, and really enjoyed pulling down a book to have a browse on whatever subject interested me from my own personal library. But there was all this discussion regarding ebooks, and I was thinking if this ever caught on big time, then printed books would eventually go the way of the dodo &#8211; the end of their 400-year cycle of greatness was at hand, and the new way to read anything was going to be on a digital screen.</p>
<p>I&#8217;ve since come to my senses. I love books &#8211;  the binding, the texture of fine paper, the fact that it doesn&#8217;t require a battery or power cord, and even the smell are all plusses in my book. Books have been around a long time, and they&#8217;re here to stay. Ebooks are just another channel of distribution for such content, and I believe that both have their place in the modern era.</p>
<p>However, for academic research papers, I think we can safely kill the paper. Particularly, I think it should all begin moving towards the <a href="http://en.wikipedia.org/wiki/EPUB">EPUB</a> format. I read a lot of academic papers in my work, and I find myself wishing that more of this stuff were published as EPUBs. In contrast to my love of books above, I think academic research would largely be much better served in a purely electronic format. It&#8217;s already going that way from the reader&#8217;s point of view, right?</p>
<p>Typically, when academic papers get published electronically, the format of choice is PDF. Or in earlier days, PostScript. If you&#8217;re lucky, someone had the foresight to publish their paper as HTML. The advantage of a flexible format such as HTML is that you can resize the fonts. Text can flow. It&#8217;s easier to get a clean copy of a text or data segment out of HTML than it is from PDF for quoting in one&#8217;s own paper, because copying from PDF tends to yield horrific line break issues and other artifacts on the clipboard.</p>
<p>PDF is, I&#8217;m sorry to say, hard to read on smaller screens. PDF expects paper, and refuses to reflow itself into smaller screen sizes such as an iPhone or Android device form factor. It barely passes on the 1024 x 768 iPad screen. Anything smaller, such as most ebook readers, is going to be unacceptable. Having to zoom in and scroll left to right to read one line of text at a time on a mobile device is not what anyone would call a user-friendly reading experience.</p>
<p>EPUB by contrast works great on mobile devices. Using the <a href="http://www.lexcycle.com/">Stanza</a> reader on iPhone is quite comfortable. iBooks on the iPad platform is a joy to use.</p>
<p>After reading <a href="http://twitter.com/gutelius/status/14306683834">this tweet</a> by Dave Gutelius today, I was reminded of how much I hate printing out all my academic papers in preparation for travel. Flying is reading time, and printing this stuff out and stuffing it in my backpack is time consuming, a waste of paper, and added weight that I don&#8217;t want to carry.</p>
<p>Stuffing those papers onto my iPad and using <a href="http://www.goodiware.com/goodreader.html">GoodReader</a> is a step in the right direction. But still, all too often the PDFs are formatted for paper, not for screen, and I am still cursing the format. PDF usually assumes letter-sized or A4-sized paper, and most ebook readers have physically far smaller screen sizes. Far better I think to start providing EPUB options for academic research, so that folks like me who need ginormous fonts and such can read with greater ease.</p>
<p>Or, should it just go to straight HTML? At that point, papers might even be able to add a little functionality to the electronic reading experience &#8211; change variables in information graphics, show rendered 3D representations of models, and so on. EPUB doesn&#8217;t support anything fun like HTML5 DOM handling or Flash, although CSS3 might work depending on the EPUB reader&#8217;s implementation. Either way, PDF ain&#8217;t fitting the bill ebook readers, and I think this sort of format will be far more important in the coming months and years as ebook-capable mobile devices become more and more commonplace.</p>

]]></content:encoded>
			<wfw:commentRss>http://www.sanbeiji.com/archives/1096/feed</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Eight years</title>
		<link>http://www.sanbeiji.com/archives/1144</link>
		<comments>http://www.sanbeiji.com/archives/1144#comments</comments>
		<pubDate>Wed, 12 May 2010 22:01:38 +0000</pubDate>
		<dc:creator>Joe</dc:creator>
				<category><![CDATA[Meanwhile]]></category>
		<category><![CDATA[Blogging]]></category>
		<category><![CDATA[mysql]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[sanbeiji]]></category>
		<category><![CDATA[WordPress]]></category>

		<guid isPermaLink="false">http://www.sanbeiji.com/?p=1144</guid>
		<description><![CDATA[As of today, I&#8217;ve been blogging at SanBeiJi.com for eight years. Happy birthday, blog! The original blog was a hand-rolled PHP/MySQL app, before Michael insisted that I upgrade to WordPress. It was actually a fun little SQL mapping exercise to get my old posts integrated into WordPress&#8217; format, and I&#8217;m amazed it worked as well [...]]]></description>
			<content:encoded><![CDATA[
<p>As of today, I&#8217;ve been blogging at SanBeiJi.com for eight years. Happy birthday, blog!</p>
<p>The original blog was a hand-rolled PHP/MySQL app, before <a href="http://aldoblog.com/">Michael</a> insisted that I upgrade to <a href="http://www.wordpress.org">WordPress</a>. It was actually a fun little SQL mapping exercise to get my old posts integrated into WordPress&#8217; format, and I&#8217;m amazed it worked as well as it did, all things considered.</p>
<p>If you&#8217;re wondering what San Bei Ji means, there&#8217;s a fine article about it on <a href="http://en.wikipedia.org/wiki/Sanbeiji">Wikipedia</a>.</p>
<p><em>三杯雞好吃!</em></p>

]]></content:encoded>
			<wfw:commentRss>http://www.sanbeiji.com/archives/1144/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
