<?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>Kenji Sato</title>
	<atom:link href="http://www.kenjisato.jp/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.kenjisato.jp</link>
	<description>Hello, world!</description>
	<lastBuildDate>Mon, 21 May 2012 03:26:05 +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>Separate logic and presentation in GAS and have a (slightly) better auto-response for Google Form</title>
		<link>http://www.kenjisato.jp/blog/2012/05/21/split-logic-and-design-in-google-forms-auto-response/</link>
		<comments>http://www.kenjisato.jp/blog/2012/05/21/split-logic-and-design-in-google-forms-auto-response/#comments</comments>
		<pubDate>Mon, 21 May 2012 02:20:54 +0000</pubDate>
		<dc:creator>kis</dc:creator>
				<category><![CDATA[Computer]]></category>
		<category><![CDATA[Web]]></category>

		<guid isPermaLink="false">http://www.kenjisato.jp/?p=343</guid>
		<description><![CDATA[The goal of this post is to make an easy-to-edit auto-response for google apps web form. This post is the translation in English of my recent post written in Japanese 論理と表現を分離して Googleフォームの自動返信を少しだけ使いやすくする Background Google Docs (or Drive) offers a very handy web form and you can make and share it in seconds. If you are [...]]]></description>
			<content:encoded><![CDATA[<p><strong>The goal of this post is to make an easy-to-edit auto-response for google apps web form. </strong> This post is the translation in English of my recent post written in Japanese <a href="http://www.kenjisato.jp/jpn/2012/05/18/goodle-docs-form-auto-reply-revisited/">論理と表現を分離して Googleフォームの自動返信を少しだけ使いやすくする</a></p>
<h2>Background</h2>
<p><a href="http://support.google.com/docs/bin/answer.py?hl=en&#038;answer=87809">Google Docs (or Drive) offers a very handy web form and you can make and share it in seconds</a>. If you are wondering how to make a registration form for your low budget meetings or short-run projects, Google Form would be a perfect choice.</p>
<p>However, when used with the default setting, the Google form works not that perfect: You may have wondered how to force it send an auto-response message for the submitter. I suppose this is intentional not to make it a playground for spammers. But don&#8217;t they allow us to have such a functionality even for temporary websites, or in limited-access areas?</p>
<p>The answer is YES. You can make it work with Google Apps Script. See, for example, <a href="https://developers.google.com/apps-script/articles/helpdesk_tutorial#section1">Tutorial: Automating a Help Desk Workflow</a>. The idea is simple: Watch the submission event and let it trigger an email sending script.</p>
<h2>Why I didn&#8217;t fully appreciate it</h2>
<p>In the above mentioned tutorial site, you saw a very small piece of script that works perfectly. But I was not content with that solution. In common situations, I suppose, you, programmer, set up a web form and your non-programmer colleague actually uses it.  So, I wondered: <strong>How do they edit the template for the auto-response message? Should you explain that \n means a new line, put a semicolon at the end of the sentence, don&#8217;t use a quotation mark between quotation marks and stuff like that?</strong> Who becomes happy in such a situation?</p>
<h2>What I did</h2>
<p>Here I show one way to make the script read a template that is easily editable for non-programmers. What I wanted is something like the relationship between HTML and CSS: </p>
<blockquote><p>CSS is designed primarily to enable the separation of document content (written in HTML or a similar markup language) from document presentation, including elements such as the layout, colors, and fonts. (Quoted from <a href="http://en.wikipedia.org/wiki/Cascading_Style_Sheets">Wikipedia</a>)</p></blockquote>
<p><strong>Separation is always good.</strong> So, let&#8217;s do it with Google form too. </p>
<p><strong>Step 1.</strong> Create a form. Because this is a demonstration only, I put only two text boxes: Name and E-mail. &#8230;Sorry for the Japanese in the pic <img src='http://www.kenjisato.jp/wp-includes/images/smilies/icon_sad.gif' alt=':(' class='wp-smiley' />  </p>
<p><a href="http://www.kenjisato.jp/jpn/files/2012/05/form.png"><img src="http://www.kenjisato.jp/jpn/files/2012/05/form-300x164.png" alt="" title="form" width="300" height="164" class="aligncenter size-medium wp-image-1075" /></a></p>
<p><strong>Step 2.</strong> Create a document like <a href="https://docs.google.com/document/d/14O7df3d_kNiKB6tDhgzrLz2vhaDKCc4fbiS3O_KmC88/edit">THIS</a> (This doc is publicly visible). Step 2 and 3 are interchangeable. I present this way to specify the requirement of the script. After creating the template, look at the URI and find the document ID (in my case, it&#8217;s 14O7df3d_kNiKB6tDhgzrLz2vhaDKCc4fbiS3O_KmC88). </p>
<p><a href="http://www.kenjisato.jp/jpn/files/2012/05/doc.png"><img src="http://www.kenjisato.jp/jpn/files/2012/05/doc-300x244.png" alt="" title="doc" width="300" height="244" class="aligncenter size-medium wp-image-1073" /></a></p>
<p>Template is split into three parts by ===’s (more than 3).</p>
<ul>
<li>In the 1st part, the header information is set. You could dynamically change the subject too, but here we just don&#8217;t do that.</li>
<li>The body of the message goes in the 2nd part. <strong>When sending the message, the submission contents for Name and E-mail, will replace the doubly-bracketed {{Name}} and {{E-mail}}, respectively.</strong> You can also use the default field Timestamp. </li>
<li>3rd part is ignored.</li>
</ul>
<p><strong>Your non-programmer colleague will be happy with this template? If you think not enough, please make the template neater and the script better.</strong></p>
<p><strong>Step 3.</strong> Here is what I did. (I&#8217;m not a pro-programmer, so please teach me if you know a better solution. I really appreciate it.)</p>
<h2>Scripting</h2>
<p>Let&#8217;s specify the Doc ID and the name of the column where recipients&#8217; email addresses are stored.</p>
<p><code>loadTemplate()</code> function (ll. 42-) reads the template file and returns the header and body while cutting off the 3rd (memo) part. </p>
<p>The core is at ll. 22-23. The doubly-bracketed keywords are replaced with the corresponding form entries.</p>
<pre class="brush: jscript; title: ; notranslate">
// Doc ID of the template file
var id = &quot;koko_ni_id_wo_iretekudasai&quot;;
var mailCol = &quot;E-mail&quot;;

function onFormSubmit(e){
    try {
      var ss = SpreadsheetApp.getActiveSpreadsheet();
      var r = ss.getLastRow();
      var c = ss.getLastColumn();
      var rg = ss.getDataRange();

      // Processing the body part
      var t = loadTemplate(id);
      var body = t.body;
      var v = {};
      for ( var j = 1; j &lt;= c; j++ ){
        // Replacing the template keyword into the input value
        var cname = rg.getCell(1, j).getValue();
        var entry = rg.getCell(r, j).getValue();
        v[cname] = entry;

        var re = new RegExp(&quot;{{&quot;+cname+&quot;}}&quot;, &quot;g&quot;);
        body = body.replace(re, entry);
      }

      // Processing the header part
      var mail = v[mailCol];
      var subject = t.head.subject;
      var opt = { cc: t.head.cc,
                  bcc: t.head.bcc,
                  replyTo: t.head.replyTo,
                  name: t.head.name };

      // Sending the message
      MailApp.sendEmail( mail, subject, body, opt );
    } catch (e) {
        // When exception raised
        MailApp.sendEmail(Session.getActiveUser().getEmail(), &quot;Error report&quot;, e.message);
    }
}

function loadTemplate(docId){
  // Load your template doc file
  // docId = Google Docs Document ID
  // Find it from doc's URI
  var t = DocumentApp.openById(docId).getText();

  // Comment out strings after double slashes
  t = t.replace(new RegExp(&quot;//.*\n&quot;, 'g'), &quot;&quot;);

  // Body part is placed between a pair of lines with more than 3 consecutive ='s
  var tsplit = t.split(/===+.*\W+/);

  // Retrieving the header part
  // that should be placed before the first ===
  var head = {};
  var lines = tsplit[0].split(/\n+/);
  for ( var i in lines ){
    var line = lines[i];
    if ( null != line.match(/(\w+)\s*=\s*(.+)$/)) {
        head[RegExp.$1] = (RegExp.$2).trim();
    }
  }

  // Retrieving the body part
  // that should be place between the firs and last ==='s
  var body = tsplit[1];

  return { head: head, body: body};
}
</pre>
<h2>Result</h2>
<p>The script works like the following pic. So far so good.</p>
<p><a href="http://www.kenjisato.jp/jpn/files/2012/05/result.png"><img src="http://www.kenjisato.jp/jpn/files/2012/05/result-300x117.png" alt="" title="result" width="300" height="117" class="aligncenter size-medium wp-image-1084" /></a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.kenjisato.jp/blog/2012/05/21/split-logic-and-design-in-google-forms-auto-response/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>AEI Four Workshop</title>
		<link>http://www.kenjisato.jp/blog/2012/04/08/aei-four-workshop/</link>
		<comments>http://www.kenjisato.jp/blog/2012/04/08/aei-four-workshop/#comments</comments>
		<pubDate>Sun, 08 Apr 2012 02:01:32 +0000</pubDate>
		<dc:creator>kis</dc:creator>
				<category><![CDATA[Study-Economics]]></category>

		<guid isPermaLink="false">http://www.kenjisato.jp/?p=319</guid>
		<description><![CDATA[With two others from KIER I attended AEI-FOUR Joint Workshop on Current Issues in Economic Theory. I really enjoyed the very well organized workshop and the presentations given there.]]></description>
			<content:encoded><![CDATA[<p>With two others from <a href="http://www.kier.kyoto-u.ac.jp">KIER</a> I attended   <a href="http://www.fas.nus.edu.sg/ecs/events/AEI.html">AEI-FOUR Joint Workshop on Current Issues in Economic Theory</a>. I really enjoyed the very well organized workshop and the presentations given there. </p>

<a href='http://www.kenjisato.jp/blog/2012/04/08/aei-four-workshop/camerazoom-20120330091121421-1/' title='CameraZOOM-20120330091121421-1'><img width="150" height="150" src="http://www.kenjisato.jp/wp-content/uploads/2012/04/CameraZOOM-20120330091121421-1-150x150.jpg" class="attachment-thumbnail" alt="CameraZOOM-20120330091121421-1" title="CameraZOOM-20120330091121421-1" /></a>
<a href='http://www.kenjisato.jp/blog/2012/04/08/aei-four-workshop/camerazoom-20120401164954202/' title='CameraZOOM-20120401164954202'><img width="150" height="150" src="http://www.kenjisato.jp/wp-content/uploads/2012/04/CameraZOOM-20120401164954202-150x150.jpg" class="attachment-thumbnail" alt="CameraZOOM-20120401164954202" title="CameraZOOM-20120401164954202" /></a>

]]></content:encoded>
			<wfw:commentRss>http://www.kenjisato.jp/blog/2012/04/08/aei-four-workshop/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>scatterplot matrix with matplotlib</title>
		<link>http://www.kenjisato.jp/blog/2011/03/28/scatterplot-matrix-with-matplotlib/</link>
		<comments>http://www.kenjisato.jp/blog/2011/03/28/scatterplot-matrix-with-matplotlib/#comments</comments>
		<pubDate>Mon, 28 Mar 2011 11:28:52 +0000</pubDate>
		<dc:creator>kis</dc:creator>
				<category><![CDATA[Computer]]></category>
		<category><![CDATA[Python]]></category>
		<category><![CDATA[Study-Economics]]></category>

		<guid isPermaLink="false">http://www.kenjisato.jp/?p=298</guid>
		<description><![CDATA[i couldn&#8217;t find a method that draws a scatterplot matrix with matplotlib.pyplot. so i made it. i&#8217;m not an expert, so, any advice/criticism is welcome the output of the example looks like the figure below&#8230;]]></description>
			<content:encoded><![CDATA[<p>i couldn&#8217;t find a method that draws a scatterplot matrix with matplotlib.pyplot. so i made it. i&#8217;m not an expert, so, any advice/criticism is welcome <img src='http://www.kenjisato.jp/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /> </p>
<pre class="brush: python; title: ; notranslate">
#!/usr/bin/env python
# -*- coding: utf-8 -*-

import matplotlib.pyplot as plt

def scatterplot(data, data_name):
    &quot;&quot;&quot;Makes a scatterplot matrix:
    Inputs:
      data - a list of data [dataX, dataY,dataZ,...];
             all elements must have same length

      data_name - a list of descriptions of the data;
                  len(data) should be equal to len(data_name)

    Output:
      fig - matplotlib.figure.Figure Object

    &quot;&quot;&quot;

    N = len(data)
    fig = plt.figure()

    for i in range(N):
        for j in range(N):
            ax = fig.add_subplot(N,N,i*N+j+1)

            if j == 0: ax.set_ylabel(data_name[i],size='12')
            if i == 0: ax.set_title(data_name[j],size='12')
            if i == j:
                ax.hist(data[i], 10)
            else:
                ax.scatter(data[j], data[i])

    return fig

# Example
if __name__ == &quot;__main__&quot;:
    import numpy as np
    import numpy.random as npr

    X = npr.randn(100)
    Y = 1.2 * X + npr.normal(0.0, 0.1, 100)
    Z = - Y ** 2 + X + 0.05 * npr.random(100)
    W = X + Y - Z + npr.normal(0.0, 2.0, 100)

    data = [X, Y, Z, W]
    data_name = ['Data X', 'Data Y', 'Data Z', 'Data W']

    fig = scatterplot(data, data_name)

    fig.savefig('scatterplot.png', dpi=120)
    plt.show()
</pre>
<p>the output of the example looks like the figure below&#8230;</p>
<p><a href="http://www.kenjisato.jp/wp-content/uploads/2011/03/scatterplot.png"><img src="http://www.kenjisato.jp/wp-content/uploads/2011/03/scatterplot-300x225.png" alt="" title="scatterplot" width="300" height="225" class="alignnone size-medium wp-image-299" /></a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.kenjisato.jp/blog/2011/03/28/scatterplot-matrix-with-matplotlib/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>On Starting Up Business</title>
		<link>http://www.kenjisato.jp/blog/2010/10/17/on-starting-up-business/</link>
		<comments>http://www.kenjisato.jp/blog/2010/10/17/on-starting-up-business/#comments</comments>
		<pubDate>Sun, 17 Oct 2010 01:20:48 +0000</pubDate>
		<dc:creator>kis</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://www.kenjisato.jp/?p=284</guid>
		<description><![CDATA[If you are interested in starting your own company, the following essay written by Robert Green is definitely worth reading: Six Lessons I&#8217;ve Learned Since I Started Working for Myself: http://lifehacker.com/5663011/six-lessons-ive-learned-since-i-started-working-for-myself]]></description>
			<content:encoded><![CDATA[<p>If you are interested in starting your own company, the following essay written by Robert Green  is definitely worth reading:</p>
<p><a href="http://lifehacker.com/5663011/six-lessons-ive-learned-since-i-started-working-for-myself">Six Lessons I&#8217;ve Learned Since I Started Working for Myself:  http://lifehacker.com/5663011/six-lessons-ive-learned-since-i-started-working-for-myself</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.kenjisato.jp/blog/2010/10/17/on-starting-up-business/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>The Global Competitiveness Report 2010-2011</title>
		<link>http://www.kenjisato.jp/blog/2010/09/09/the-global-competitiveness-report-2010-2011/</link>
		<comments>http://www.kenjisato.jp/blog/2010/09/09/the-global-competitiveness-report-2010-2011/#comments</comments>
		<pubDate>Thu, 09 Sep 2010 14:58:24 +0000</pubDate>
		<dc:creator>kis</dc:creator>
				<category><![CDATA[Study-Economics]]></category>

		<guid isPermaLink="false">http://www.kenjisato.jp/?p=241</guid>
		<description><![CDATA[Today, the World Economic Forum updated the Global Competitiveness Report. Japan has received better assessment of the 6th best competitive economy; the previous report gave the country the 8th rank. The figures in the report indicate that the state of the Japanese business and innovation is brilliant but the economic sophistication is overshadowed by the [...]]]></description>
			<content:encoded><![CDATA[<p>Today, the World Economic Forum updated <a href="http://www.weforum.org/en/initiatives/gcp/Global%20Competitiveness%20Report/index.htm">the Global Competitiveness Report</a>. Japan has received better assessment of the 6th best competitive economy; the previous report gave the country the 8th rank. </p>
<p>The figures in the report indicate that the state of the Japanese business and innovation is brilliant but the economic sophistication is overshadowed by the government inefficiency. The too heavy burden hampers the Japanese market to grow faster. We all agree that social security is important, but the engine of the economy, which is the source of the social security, should be market trading. Why doesn&#8217;t it look at its efficiency?</p>
<p>The statistics of Japanese economy is usually gloomy these days. We should try harder to regain the central position of Asian economy. I hope the government stay stable against the political turbulence. The government and the citizens have no time to keep looking inward. The global economy is incessantly moving. </p>
]]></content:encoded>
			<wfw:commentRss>http://www.kenjisato.jp/blog/2010/09/09/the-global-competitiveness-report-2010-2011/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Supernetworking Meeting Held on September 6th</title>
		<link>http://www.kenjisato.jp/blog/2010/09/08/supernetworking-meeting-held-on-september-6th/</link>
		<comments>http://www.kenjisato.jp/blog/2010/09/08/supernetworking-meeting-held-on-september-6th/#comments</comments>
		<pubDate>Tue, 07 Sep 2010 20:33:31 +0000</pubDate>
		<dc:creator>kis</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://www.kenjisato.jp/?p=235</guid>
		<description><![CDATA[On 6th of September, Johogaku.net held a medium-sized conference in collaboration with IPA (Information technology Promotion Agency). IT engineers and their potential competitors gathered in Kyoto and frankly discussed the future of the IT industry and what the role of the government should be. It was an exciting event as a whole. We&#8217;ll upload some [...]]]></description>
			<content:encoded><![CDATA[<p>On 6th of September, <a href="http://www.johogaku.net/">Johogaku.net</a> held <a href="http://www.johogaku.net/snmitoh">a medium-sized conference</a> in collaboration with <a href="http://www.ipa.go.jp/index-e.html">IPA (Information technology Promotion Agency)</a>. IT engineers and their potential competitors gathered in Kyoto and frankly discussed the future of the IT industry and what the  role of the government should be. It was an exciting event as a whole. We&#8217;ll upload some of the videos of the sessions on the website. One who missed the conference can feel the atmosphere of it there. </p>
<p>After hosting three major meetings, we are having the feeling that our conferences were somewhat inward-looking; I mean the targets of the Johogaku.net conferences has been Japanese IT engineers, investors and students. We don&#8217;t have any English talks, English-speaking speakers, or English-speaking participants (actually we had one French participant). Although the Japanese engineers have the technology and people that can  globally compete with and even improve the global standard, the market doesn&#8217;t recognize them as big deals. </p>
<p>This fact can be found with regrettable figures in <em>the Global Information Technology Report</em>&#8216;s by WEF; the global (relative) competitiveness of the Japanese IT industry is getting worse. Globalization has been one of the top-rated issues for Japanese people and the government. But there&#8217;s been little fruit of the agenda. </p>
<p>Johogaku.net is gonna be holding <a href="http://www.johogaku.net/sn2011">next big conference in May, 2011</a>. To fight against the closed nature of Japanese IT industry, we&#8217;ve set the slogan of it as the &#8220;global expansion.&#8221; Re-iterating the issue should convey important messages to the Japanese or international students who are going to create the better future. We&#8217;re gonna discuss how Japanese IT business can regain its appeal to the international market among other topics.  We&#8217;re trying to contribute to make the situation better by offering a junction of  energetic ideas of young creators and engineers and wisdom of all generations. </p>
<p>If you are interested, please feel free to contact me or the conference organizers. Join us as a participant, a sponsor, or an organizer. In any case, you&#8217;ll be most welcome.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.kenjisato.jp/blog/2010/09/08/supernetworking-meeting-held-on-september-6th/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Dropbox up to 8GB</title>
		<link>http://www.kenjisato.jp/blog/2010/06/30/dropbox-up-to-8gb/</link>
		<comments>http://www.kenjisato.jp/blog/2010/06/30/dropbox-up-to-8gb/#comments</comments>
		<pubDate>Wed, 30 Jun 2010 08:58:59 +0000</pubDate>
		<dc:creator>kis</dc:creator>
				<category><![CDATA[Web]]></category>

		<guid isPermaLink="false">http://www.kenjisato.jp/?p=228</guid>
		<description><![CDATA[This is a quite old story. Sorry for this untimely information. I missed the important news that Dropbox started to offer 8GB disk space for free! I was sooo stupid&#8230; If you have no idea what Dropbox is, please just google it. You can find a lot of information on it. Roughly speaking, it&#8217;s real [...]]]></description>
			<content:encoded><![CDATA[<p>This is a quite old story. Sorry for this untimely information. </p>
<p>I missed the important news that Dropbox started to offer 8GB disk space for free! I was sooo stupid&#8230; If you have no idea what Dropbox is, please just google it. You can find a lot of information on it. Roughly speaking, it&#8217;s real awesome combination of a nice software and a great online storage service. </p>
<p>If you don&#8217;t have an account, join through my referral link: <a href="https://www.dropbox.com/referrals/NTEwMjg2NDI5">https://www.dropbox.com/referrals/NTEwMjg2NDI5</a>.<br />
We&#8217;ll both get 250MB additional space. (The minimum storage is 2GB. You can get additional space if you invite other people to Dropbox, up to 8GB. The limit used to be 3GB.)</p>
]]></content:encoded>
			<wfw:commentRss>http://www.kenjisato.jp/blog/2010/06/30/dropbox-up-to-8gb/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>The new WordPress has come</title>
		<link>http://www.kenjisato.jp/blog/2010/06/18/the-new-wordpress-has-come/</link>
		<comments>http://www.kenjisato.jp/blog/2010/06/18/the-new-wordpress-has-come/#comments</comments>
		<pubDate>Fri, 18 Jun 2010 13:13:05 +0000</pubDate>
		<dc:creator>kis</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://www.kenjisato.jp/?p=226</guid>
		<description><![CDATA[http://www.downloadsquad.com/2010/06/18/wordpress-3-0-arrives-with-multi-blog-support-and-new-default-t/ The new version, 3.0, of WordPress, on which this website is running, has arrived lately. It has quite nice features. Among them, I&#8217;m pleased because you are finally able to manage multiple blogs on a single WordPress program. You know, my website has two identical WordPress core programs to manage Japanese and English versions. [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.downloadsquad.com/2010/06/18/wordpress-3-0-arrives-with-multi-blog-support-and-new-default-t/">http://www.downloadsquad.com/2010/06/18/wordpress-3-0-arrives-with-multi-blog-support-and-new-default-t/</a></p>
<p>The new version, 3.0, of WordPress, on which this website is running, has arrived lately. It has quite nice features. Among them, I&#8217;m pleased because you are finally able to manage multiple blogs on a single WordPress program. You know, my website has two identical WordPress core programs to manage Japanese and English versions. Editing small things can be a nuisance because I had to log out and in to move to the other site. So, this version-up can be an excitement to me. </p>
<p>But it is not so easy to upgrade all of my website immediately because I slightly modified several PHP files to somewhat optimize the appearance for each language and I&#8217;m not quite sure how things change after employing the multi-blog feature. </p>
<p>Now is the time to ponder. </p>
]]></content:encoded>
			<wfw:commentRss>http://www.kenjisato.jp/blog/2010/06/18/the-new-wordpress-has-come/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Google Chrome + quix</title>
		<link>http://www.kenjisato.jp/blog/2010/05/28/google-chrome-quix/</link>
		<comments>http://www.kenjisato.jp/blog/2010/05/28/google-chrome-quix/#comments</comments>
		<pubDate>Fri, 28 May 2010 03:09:33 +0000</pubDate>
		<dc:creator>kis</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://www.kenjisato.jp/?p=218</guid>
		<description><![CDATA[Soon after reading this article, quix became one of my favorite scripts. This tool amazingly improves our searching experience. And you can enjoy it even more with Google Chrome. Although it&#8217;s basically created as a bookmarklet, it&#8217;s possible to integrate the powerful search tool with Chrome&#8217;s address bar. Slight Modification of the Built-in Commands To [...]]]></description>
			<content:encoded><![CDATA[<p>Soon after reading <a href="http://sensefulsolutions.blogspot.com/2010/03/launching-quix-in-chrome-via-address.html">this article</a>, quix became one of my favorite scripts. This tool amazingly improves our searching experience. And you can enjoy it even more with Google Chrome. Although it&#8217;s basically created as a bookmarklet, it&#8217;s possible to integrate the powerful search tool with Chrome&#8217;s address bar. </p>
<h3>Slight Modification of the Built-in Commands</h3>
<p>To fully enjoy quix in the address bar, I strongly recommend to set a &#8220;default&#8221; search engine. Since this script requires, by default, a command, such as &#8216;g&#8217;, it causes a lot of troubles for someone who loves the simple behavior of the address bar. Let&#8217;s get rid of this by rebuilding <a href="http://quixapp.com/quix.txt">&#8220;quix.txt&#8221; file</a>. Download it and open it with your favorite text editor. Add a line at the bottom of it with the following statement:  </p>
<pre>
* http://www.google.com/search?q=%s Untriggered search
</pre>
<p>By this line, the script interprets an input without any command as a to-be searched phrase. It works quite well. If you wish, you are allowed to add commands for your favorite search engines by editing quix.txt. Follow the instructions given in <a href="http://quixapp.com/help/syntax/">http://quixapp.com/help/syntax/</a><br />
</nobr></p>
<p>Because I&#8217;m Japanese, I thought it was necessary to add Japanese counterparts of Google and Amazon. You can&#8217;t forget Google Scholar. My custom commands are as follows: </p>
<pre>
@Custom
@Commands that I added
* http://www.google.com/search?q=%s Untriggered search
aj      http://www.amazon.co.jp/gp/search/?index=blended&#038;keywords=%s&#038;_encoding=utf-8 	Amazon.co.jp Search
gj      http://www.google.co.jp/search?q=%s          Google Japan Search
sc     http://scholar.google.com/scholar?q=%s        Google Scholar
</pre>
<h3>Reflecting the Revision to the Script</h3>
<p>Firstly, upload the quix.txt file to a web server. If you don&#8217;t have any account, you can&#8217;t use the Public folder of Dropbox, which I think is the most wonderful idea. It&#8217;s the easiest way to edit and upload. Quix offers a simple script to reflect the revision. Go to the following site. <a href="http://quixapp.com/extend/">http://quixapp.com/extend/</a></p>
<h3>Integration of Google Chrome and quix</h3>
<p>Once you made your custom script, it&#8217;s time to integrate it with Chrome. See the following site. </p>
<p><nobr></p>
<ul>
<li><a href="http://sensefulsolutions.blogspot.com/2010/03/launching-quix-in-chrome-via-address.html">http://sensefulsolutions&#8230;.quix-in-chrome-via-address.html</a></li>
</ul>
<p></nobr></p>
<p>1. Open the script you&#8217;ve got in the previous step with a text editor. Modify it as follows.<br />
<nobr></p>
<ul>
<li> {  &#8211;>  %7B</li>
<li>window.prompt(&#8216;Quix: Type `help` for a list of commands:&#8217;)  &#8211;>  &#8220;%s&#8221;</li>
</ul>
<p></nobr></p>
<p>2. Install the script to Google Chrome. You can see a detailed instruction in <a href="http://sensefulsolutions.blogspot.com/2010/03/launching-quix-in-chrome-via-address.html">the above mentioned website</a>. </p>
<p>3. Enjoy quix! </p>
<p>Note. If you wish to revise commands after all those processes, you can do it just by modifying quix.txt on your server. After revising and uploading, execute the &#8220;<strong>debug</strong>&#8221; command on the &#8220;quixed&#8221; address bar. You can see that the new commands will be working. </p>
]]></content:encoded>
			<wfw:commentRss>http://www.kenjisato.jp/blog/2010/05/28/google-chrome-quix/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Inside Pixar&#8217;s Leadership</title>
		<link>http://www.kenjisato.jp/blog/2010/04/22/inside-pixars-leadership/</link>
		<comments>http://www.kenjisato.jp/blog/2010/04/22/inside-pixars-leadership/#comments</comments>
		<pubDate>Thu, 22 Apr 2010 01:51:50 +0000</pubDate>
		<dc:creator>kis</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://www.kenjisato.jp/?p=211</guid>
		<description><![CDATA[http://www.scottberkun.com/blog/2010/inside-pixars-leadership/ Some transcription from the interview with Ed Catmull, the president of Pixar, held by The Economist. The notion that you’re trying to control the process and prevent error screws things up. We all know the saying it’s better to ask for forgiveness than permission. And everyone knows that, but I Think there is a [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.scottberkun.com/blog/2010/inside-pixars-leadership/">http://www.scottberkun.com/blog/2010/inside-pixars-leadership/</a></p>
<p>Some transcription from the interview with Ed Catmull, the president of Pixar, held by <em>The Economist</em>. </p>
<blockquote><p>The notion that you’re trying to control the process and prevent error screws things up. We all know the saying it’s better to ask for forgiveness than permission. And everyone knows that, but I Think there is a corollary: if everyone is trying to prevent error, it screws things up. It’s better to fix problems than to prevent them. And the natural tendency for managers is to try and prevent error and over plan things.</p></blockquote>
]]></content:encoded>
			<wfw:commentRss>http://www.kenjisato.jp/blog/2010/04/22/inside-pixars-leadership/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

