<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:feedburner="http://rssnamespace.org/feedburner/ext/1.0" version="2.0">
  <channel>
  
    <language>en-us</language>
    
      <title>Updates Feed from niw.at</title>
      <link>http://niw.at/</link>
      <description>Updates of works, articles and blogs from niw.at by Yoshimasa Niwa</description>
    
    
      
        <pubDate>Thu, 31 Dec 2009 00:00:00 GMT</pubDate>
        <lastBuildDate>Thu, 31 Dec 2009 00:00:00 GMT</lastBuildDate>
      
    

    
      
        <atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="self" type="application/rss+xml" href="http://feeds.niw.at/niwat_en" /><feedburner:info uri="niwat_en" /><atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="hub" href="http://pubsubhubbub.appspot.com/" /><item>
          <title>Goodbye 2009, Happy 2010!</title>
          <description>&lt;p&gt;I&amp;#8217;m summarizing my 2009.&lt;/p&gt;

&lt;p&gt;The first quoter is for developing the new iPhone application and waiting the &amp;#8220;Pending Contract.&amp;#8221;
Except the iPhone application, I had a &amp;#8220;First Contact&amp;#8221; meeting which will be connected to the exciting project I&amp;#8217;m involved in later.
The end of March, I was traveling to Bayarea to meet up with some companies and friends in Silicon Valley.&lt;/p&gt;

&lt;p&gt;&lt;a href="http://farm4.static.flickr.com/3644/3391316567_7557788262.jpg"&gt;&lt;img src="http://farm4.static.flickr.com/3644/3391316567_7557788262_m.jpg" alt="Googleplex" /&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Next quoter from April to June, I had an important interview for the exciting project I mentioned. I was moving my office to Toranomon area then starting that project. At this time I renew and resize my MacBook Pro from 17 inches to 15 inches.&lt;/p&gt;

&lt;p&gt;&lt;a href="http://farm4.static.flickr.com/3585/3467898598_f1ceebbf66.jpg"&gt;&lt;img src="http://farm4.static.flickr.com/3585/3467898598_f1ceebbf66_m.jpg" alt="IKEA in new Office" /&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;In this summer, I was getting San Francisco for the meeting of the project, and working harder than before. As you know, there was cold even in summer.&lt;/p&gt;

&lt;p&gt;&lt;a href="http://farm3.static.flickr.com/2559/3763109581_668facebec.jpg"&gt;&lt;img src="http://farm3.static.flickr.com/2559/3763109581_668facebec_m.jpg" alt="Blue Bottle Coffee" /&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;In the end of this summer, I met a giant lubber duck. He or she is coming back to Osaka again this winter.&lt;/p&gt;

&lt;p&gt;The last quoter from October to the end of this year is the most exciting but really busy months.
The project released the product, had a big event. Working to fix the bugs, optimizing the parameters.
Then getting San Francisco again for the next things.&lt;/p&gt;

&lt;p&gt;&lt;a href="http://farm3.static.flickr.com/2670/4171785561_3e373955ca.jpg"&gt;&lt;img src="http://farm3.static.flickr.com/2670/4171785561_3e373955ca_m.jpg" alt="San Francisco Downtown" /&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;In this year, I was getting to Bayarea three times. I can say this year is the year of changes while I was saying this year must be changing something at the new year party.&lt;/p&gt;

&lt;p&gt;That project is for Twitter. And then next year, I&amp;#8217;m going to move to San Francisco then join them.&lt;/p&gt;

&lt;p&gt;&lt;a href="http://farm3.static.flickr.com/2630/4178092590_fa408a05ac.jpg"&gt;&lt;img src="http://farm3.static.flickr.com/2630/4178092590_fa408a05ac_m.jpg" alt="Twitter" /&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Goodbye TWENTY NINE, Happy TWITTY TEN!&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/niwat_en/~4/54E7ZfMEmvs" height="1" width="1"/&gt;</description>
          <pubDate>Thu, 31 Dec 2009 00:00:00 GMT</pubDate>
          <link>http://feeds.niw.at/~r/niwat_en/~3/54E7ZfMEmvs/</link>
        <feedburner:origLink>http://niw.at/blogs/2009/12/31/goodbye-2009-happy-2010/</feedburner:origLink></item>
      
        <item>
          <title>Using OpenCV on iPhone</title>
          <description>&lt;ul class="images"&gt;
  &lt;li&gt;&lt;a href="http://farm4.static.flickr.com/3472/3351972997_d2803aedcf_o.png"&gt;&lt;img src="http://farm4.static.flickr.com/3472/3351972997_de85ffbc9c_s.jpg" /&gt;&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href="http://farm4.static.flickr.com/3574/3352798974_12dec156fb_o.png"&gt;&lt;img src="http://farm4.static.flickr.com/3574/3352798974_c976586f6d_s.jpg" /&gt;&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;


&lt;p&gt;OpenCV is a library of computer vision developed by Intel, we can easily detect faces using this library for example.
I&amp;#8217;d note how to use it with iPhone SDK, including the building scripts and a demo application.
Here I attached screen shots from the demo applications.&lt;/p&gt;

&lt;h2&gt;Support OpenCV 2.0.0 and iPhone SDK 3.x&lt;/h2&gt;

&lt;p&gt;I updated the script and made patches for OpenCV 2.0.0 and iPhone SDK 3.x! (Updated 11/15/2009)&lt;/p&gt;

&lt;h2&gt;Getting Started&lt;/h2&gt;

&lt;p&gt;All source codes and resources are opened and you can get them from &lt;a href="http://github.com/niw/iphone_opencv_test"&gt;my github repository&lt;/a&gt;.
It includes pre-compiled OpenCV libraries and headers so that you can easily start to test it.
If you already have git command, just clone whole repository from github.
If not, just take it by zip or tar from download link on github and inflate it.&lt;/p&gt;

&lt;pre&gt;&lt;code&gt;% git clone git://github.com/niw/iphone_opencv_test.git
&lt;/code&gt;&lt;/pre&gt;

&lt;p&gt;After getting source codes, open OpenCVTest.xcodeproj with Xcode, then build it.
You will get a demo application on both iPhone Simulator and iPhone device.&lt;/p&gt;&lt;h2&gt;Building OpenCV library from source code&lt;/h2&gt;

&lt;ul class="images"&gt;
  &lt;li&gt;&lt;a href="http://farm4.static.flickr.com/3582/3351973079_749d5126cf_o.png"&gt;&lt;img src="http://farm4.static.flickr.com/3582/3351973079_be4530ac26_s.jpg" /&gt;&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;


&lt;p&gt;You can also make OpenCV library from source code using cross environment compile with gcc.
I added some support script so that you can easy to do so.
The important point is that iPhone SDK doesn&amp;#8217;t support dynamic link like &amp;#8220;.framework&amp;#8221;.
We have to make it as static link library and link it to your application statically.&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;&lt;p&gt;Getting source code from sourceforge. I tested with &lt;a href="http://sourceforge.net/projects/opencvlibrary/files/opencv-unix/2.0/OpenCV-2.0.0.tar.bz2/download"&gt;OpenCV-2.0.0.tar.bz2&lt;/a&gt;.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Extract downloaded archive on the top of project project directory&lt;/p&gt;

&lt;pre&gt;&lt;code&gt;% tar xjvf OpenCV-2.0.0.tar.bz2
&lt;/code&gt;&lt;/pre&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Apply patch for iPhone SDK&lt;/p&gt;

&lt;pre&gt;&lt;code&gt;% cd OpenCV-2.0.0
% patch -p0 &amp;lt; ../cvcalibration.cpp.patch_opencv-2.0.0
&lt;/code&gt;&lt;/pre&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Following next steps to build OpenCV static library for simulator.
All files are installed into &lt;code&gt;opencv_simulator&lt;/code&gt; directory.&lt;/p&gt;

&lt;pre&gt;&lt;code&gt;% cd OpenCV-2.0.0
% mkdir build_simulator
% cd build_simulator
% ../../configure_opencv
% make
% make install
&lt;/code&gt;&lt;/pre&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Following next steps to build OpenCV static library for device
All files are installed into &lt;code&gt;opencv_device&lt;/code&gt; directory.&lt;/p&gt;

&lt;pre&gt;&lt;code&gt;% cd OpenCV-2.0.0
% mkdir build_device
% cd build_device
% ARCH=device ../../configure_opencv
% make
% make install
&lt;/code&gt;&lt;/pre&gt;&lt;/li&gt;
&lt;/ol&gt;


&lt;h2&gt;Patch and Configure support script&lt;/h2&gt;

&lt;p&gt;OpenCV 2.0.0 (and also 1.1.0) has a glitch which refuse builing the library with iPhone SDK.
You need to apply the patch &lt;code&gt;cvcalibration.cpp.patch&lt;/code&gt; so that you can build it.&lt;/p&gt;

&lt;p&gt;Congiure support script &lt;code&gt;configure_opencv&lt;/code&gt; has some options to build OpenCV with iPhone SDK.
Try to &lt;code&gt;--help&lt;/code&gt; option to get the all options of it.&lt;/p&gt;

&lt;h2&gt;Converting images between UIImage and IplImage&lt;/h2&gt;

&lt;p&gt;OpenCV is using IplImage structure for processing, and iPhone SDK using UIImage object to display it on the screen.
This means, we need a converter between UIImage and IplImage. Thankfully, we can do with iPhone SDK APIs.&lt;/p&gt;

&lt;p&gt;Creating IplImage from UIImage is like this.&lt;/p&gt;

&lt;pre&gt;&lt;code&gt;// NOTE you SHOULD cvReleaseImage() for the return value when end of the code.
- (IplImage *)CreateIplImageFromUIImage:(UIImage *)image {
  // Getting CGImage from UIImage
  CGImageRef imageRef = image.CGImage;

  CGColorSpaceRef colorSpace = CGColorSpaceCreateDeviceRGB();
  // Creating temporal IplImage for drawing
  IplImage *iplimage = cvCreateImage(
    cvSize(image.size.width,image.size.height), IPL_DEPTH_8U, 4
  );
  // Creating CGContext for temporal IplImage
  CGContextRef contextRef = CGBitmapContextCreate(
    iplimage-&amp;gt;imageData, iplimage-&amp;gt;width, iplimage-&amp;gt;height,
    iplimage-&amp;gt;depth, iplimage-&amp;gt;widthStep,
    colorSpace, kCGImageAlphaPremultipliedLast|kCGBitmapByteOrderDefault
  );
  // Drawing CGImage to CGContext
  CGContextDrawImage(
    contextRef,
    CGRectMake(0, 0, image.size.width, image.size.height),
    imageRef
  );
  CGContextRelease(contextRef);
  CGColorSpaceRelease(colorSpace);

  // Creating result IplImage
  IplImage *ret = cvCreateImage(cvGetSize(iplimage), IPL_DEPTH_8U, 3);
  cvCvtColor(iplimage, ret, CV_RGBA2BGR);
  cvReleaseImage(&amp;amp;iplimage);

  return ret;
}
&lt;/code&gt;&lt;/pre&gt;

&lt;p&gt;Don&amp;#8217;t forget release IplImage after using it by cvReleaseImage!&lt;/p&gt;

&lt;p&gt;And creating UIImage from IplImage is like this.&lt;/p&gt;

&lt;pre&gt;&lt;code&gt;// NOTE You should convert color mode as RGB before passing to this function
- (UIImage *)UIImageFromIplImage:(IplImage *)image {
  CGColorSpaceRef colorSpace = CGColorSpaceCreateDeviceRGB();
  // Allocating the buffer for CGImage
  NSData *data =
    [NSData dataWithBytes:image-&amp;gt;imageData length:image-&amp;gt;imageSize];
  CGDataProviderRef provider =
    CGDataProviderCreateWithCFData((CFDataRef)data);
  // Creating CGImage from chunk of IplImage
  CGImageRef imageRef = CGImageCreate(
    image-&amp;gt;width, image-&amp;gt;height,
    image-&amp;gt;depth, image-&amp;gt;depth * image-&amp;gt;nChannels, image-&amp;gt;widthStep,
    colorSpace, kCGImageAlphaNone|kCGBitmapByteOrderDefault,
    provider, NULL, false, kCGRenderingIntentDefault
  );
  // Getting UIImage from CGImage
  UIImage *ret = [UIImage imageWithCGImage:imageRef];
  CGImageRelease(imageRef);
  CGDataProviderRelease(provider);
  CGColorSpaceRelease(colorSpace);
  return ret;
}
&lt;/code&gt;&lt;/pre&gt;

&lt;p&gt;Ok, now you can enjoy with OpenCV with iPhone!&lt;/p&gt;

&lt;h2&gt;Frequently Asked Questions&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;&lt;p&gt;I can&amp;#8217;t build and run this demo application for iPhone device, I can build and run it on iPhone simulator though&amp;#8230; why?
I got next error when building.&lt;/p&gt;

&lt;pre&gt;&lt;code&gt;ld warning: in /usr/local/lib/libcv.dylib, file is not of required architecture
ld warning: in /usr/local/lib/libcxcore.dylib, file is not of required architecture
Undefined symbols:
  "_cvCreateMemStorage", referenced from:
      -[OpenCVTestViewController opencvFaceDetect:] in OpenCVTestViewController.o
  "_cvGetSeqElem", referenced from:
      -[OpenCVTestViewController opencvFaceDetect:] in ......
&lt;/code&gt;&lt;/pre&gt;

&lt;ul&gt;
&lt;li&gt;Have you ever installed OpenCV for MacOS X? This error is because of the linker using wrong library for MacOS X instead of iPhone device.
I &lt;a href="http://github.com/niw/iphone_opencv_test/commit/44277b987821c5ad17ce322591782aad44b213cd"&gt;solved this problem&lt;/a&gt; so that you can now build it for iPhone device.
Please git pull or download the package again from github.&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;/ul&gt;


&lt;h2&gt;Change Log&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;12/21/2009 - Support Snow Leopard + iPhone SDK 3.1.2, Thank you Hyon!&lt;/li&gt;
&lt;li&gt;11/15/2009 - Support OpenCV to 2.0.0 + iPhone SDK 3.x&lt;/li&gt;
&lt;li&gt;03/14/2009 - Release this project with OpenCV 1.0.0 + iPhone SDK 2.x&lt;/li&gt;
&lt;/ul&gt;


&lt;h2&gt;One more thing&amp;#8230;&lt;/h2&gt;

&lt;p&gt;I mentioned that the face detection using OpenCV takes very long time.
For example detecting with iPhone screen size image, it takes 10 seconds or more&amp;#8230;hmmmm&lt;/p&gt;

&lt;h2&gt;License&lt;/h2&gt;

&lt;p&gt;&lt;a href="http://github.com/niw/iphone_opencv_test"&gt;This sample&lt;/a&gt; is under &lt;a href="http://en.wikipedia.org/wiki/MIT_License"&gt;MIT License&lt;/a&gt;.&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/niwat_en/~4/xgpm8fSvHh4" height="1" width="1"/&gt;</description>
          <pubDate>Sat, 14 Mar 2009 00:00:00 GMT</pubDate>
          <link>http://feeds.niw.at/~r/niwat_en/~3/xgpm8fSvHh4/</link>
        <feedburner:origLink>http://niw.at/articles/2009/03/14/using-opencv-on-iphone/</feedburner:origLink></item>
      
        <item>
          <title>Giant Rubber Duck</title>
          <description>&lt;p&gt;This is an story about one month ago.&lt;/p&gt;

&lt;p&gt;I googled and found an interesting something giant was in Osaka, the giant rubber duck.
In this summer, you could see the giant robot in Tokyo bay, the actual size of Gundam though, I had no chance to get there.
Yeah, I agree the Tokyo bay area is not far from my home located in Tokyo city, this is that no one travels where they are living.
In this case, this giant is far from here, and I have a chance to getting west: Twitter Meetup in Kyoto.&lt;/p&gt;

&lt;p&gt;&lt;a href="http://farm3.static.flickr.com/2623/3921954778_4e257bb20c.jpg"&gt;&lt;img src="http://farm3.static.flickr.com/2623/3921954778_4e257bb20c_m.jpg" alt="Giant Rubber Duck" /&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;How Giant is it? His/her height is about 3rd floor of the buildings. Unfortunately he/she is tied to the pier, if not, It must be really sur.&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/niwat_en/~4/LBMTIpd2jU4" height="1" width="1"/&gt;</description>
          <pubDate>Sun, 18 Oct 2009 00:00:00 GMT</pubDate>
          <link>http://feeds.niw.at/~r/niwat_en/~3/LBMTIpd2jU4/</link>
        <feedburner:origLink>http://niw.at/blogs/2009/10/18/giant-rubber-duck/</feedburner:origLink></item>
      
        <item>
          <title>Add previews, language selector to Google on Safari</title>
          <description>&lt;ul class="images"&gt;
  &lt;li&gt;
    &lt;a href="http://niw.at/page_attachments/0000/0193/googlethumbnails.png"&gt;&lt;img src="http://niw.at/page_attachments/0000/0193/googlethumbnails_thumb.png" size="thumb" /&gt;&lt;/a&gt;
  &lt;/li&gt;
  &lt;li&gt;
    &lt;a href="http://niw.at/page_attachments/0000/0185/googlelanguagecodeselector.png"&gt;&lt;img src="http://niw.at/page_attachments/0000/0185/googlelanguagecodeselector_thumb.png" size="thumb" /&gt;&lt;/a&gt;
  &lt;/li&gt;
&lt;/ul&gt;


&lt;p&gt;There are cool tool which allows us to change the website to what you want to do, named: &lt;a href="https://addons.mozilla.org/en-US/firefox/addon/748"&gt;GreaseMonkey&lt;/a&gt;. Unfortunately, this tool could not work on Safari itself. But the genius guy developed the same tool for Safari named &lt;a href="http://8-p.info/greasekit/"&gt;GreaseKit&lt;/a&gt;. This tool is commonly compatible with GreaseMonkey and some user scripts can work on it without any change. But some user scripts I found on &lt;a href="http://userscripts.org"&gt;userscripts.org&lt;/a&gt; do not work well on Safari with GreaseKit. Then, I scratched user scripts which work like these scripts with GreaseKit.&lt;/p&gt;&lt;h1&gt;Add previews to Google search results&lt;/h1&gt;

&lt;p&gt;This user scripts add the thumbnail previews from &lt;a href="http://ackroyd.de/googlepreview/"&gt;google preview&lt;/a&gt; to the Google search results.&lt;/p&gt;

&lt;h2&gt;Download&lt;/h2&gt;

&lt;ul class="download clearfix"&gt;
  &lt;li&gt;&lt;a href="http://github.com/niw/userscripts/raw/6a97423e31ae9a9b1c9286525442c426d06301fc/googlethumbnails.user.js"&gt;googlethumbnails.user.js (0.2.1, hosted on GitHub)&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;


&lt;h2&gt;Change Log&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;0.2.1

&lt;ul&gt;
&lt;li&gt;Support &lt;a href="http://autopagerize.net/"&gt;AutoPagerize&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;0.2 (rather 0.2.0)

&lt;ul&gt;
&lt;li&gt;Follow the changes on google&lt;/li&gt;
&lt;li&gt;Change open.thumbshots.org to googlepreview.com&lt;/li&gt;
&lt;li&gt;&lt;a href="http://niw.at/page_attachments/0000/0285/googlethumbnails-0.2.user.js"&gt;googlethumbnails-0.2.user.js (2Kbyte)&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;0.1.1

&lt;ul&gt;
&lt;li&gt;Follow the changes on google&lt;/li&gt;
&lt;li&gt;&lt;a href="http://niw.at/page_attachments/0000/0184/googlethumbnails-0.1.1.user.js"&gt;googlethumbnails-0.1.1.user.js (1Kbyte)&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;0.1.0

&lt;ul&gt;
&lt;li&gt;First release&lt;/li&gt;
&lt;li&gt;&lt;a href="http://niw.at/page_attachments/0000/0181/googlethumbnails-0.1.0.user.js"&gt;googlethumbnails-0.1.0.user.js (1Kbyte)&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;/ul&gt;


&lt;h1&gt;Add language selector to Google search field&lt;/h1&gt;

&lt;p&gt;This user scripts add the language selector (known as hl parameter) to the search filed of Google.
Currently this script has only Japanese, English selection but you can add any other language code by changing the this user script code
around the &amp;#8220;var langs = {&amp;#8230;&amp;#8221;&lt;/p&gt;

&lt;h2&gt;Download&lt;/h2&gt;

&lt;ul class="download clearfix"&gt;
  &lt;li&gt;&lt;a href="http://github.com/niw/userscripts/raw/c5cc5bf7dd6fb3a55779bd1c82066190b9550d83/googlelanguagecodeselector.user.js"&gt;googlelanguagecodeselector.user.js (0.2.1, Hosted on GitHub)&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;


&lt;h2&gt;Change Log&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;0.2.1

&lt;ul&gt;
&lt;li&gt;Follow the changes on Google, they added &amp;#8220;-webkit-appearance: button;&amp;#8221; to the buttons&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;0.2.0

&lt;ul&gt;
&lt;li&gt;Add button mode and make it as default&lt;/li&gt;
&lt;li&gt;&lt;a href="http://niw.at/page_attachments/0000/0337/googlelanguagecodeselector-0.2.0.user.js"&gt;googlelanguagecodeselector-0.2.0.user.js (3Kbyte)&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;0.1.1

&lt;ul&gt;
&lt;li&gt;Follow the changes on Google&lt;/li&gt;
&lt;li&gt;&lt;a href="http://niw.at/page_attachments/0000/0183/googlelanguagecodeselector-0.1.1.user.js"&gt;googlelanguagecodeselector-0.1.1.user.js (2Kbyte)&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;0.1.0

&lt;ul&gt;
&lt;li&gt;First release&lt;/li&gt;
&lt;li&gt;&lt;a href="http://niw.at/page_attachments/0000/0180/googlelanguagecodeselector-0.1.0.user.js"&gt;googlelanguagecodeselector-0.1.0.user.js (3Kbyte)&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;/ul&gt;


&lt;h1&gt;How to use them?&lt;/h1&gt;

&lt;ol&gt;
&lt;li&gt;First you should install &lt;a href="http://www.culater.net/software/SIMBL/SIMBL.php"&gt;SIMBL&lt;/a&gt; to enable GreaseKit.&lt;/li&gt;
&lt;li&gt;Follow &lt;a href="http://8-p.info/greasekit/"&gt;this install instruction&lt;/a&gt;, install the GreaseKit plugin.&lt;/li&gt;
&lt;li&gt;Download these user scripts and drag and drop into Safari or, just click the download link then install it.&lt;/li&gt;
&lt;li&gt;Then, open &lt;a href="http://google.com/"&gt;Google.com&lt;/a&gt;. Enjoy!&lt;/li&gt;
&lt;/ol&gt;&lt;img src="http://feeds.feedburner.com/~r/niwat_en/~4/KoEK8_R1p9c" height="1" width="1"/&gt;</description>
          <pubDate>Fri, 22 Feb 2008 00:00:00 GMT</pubDate>
          <link>http://feeds.niw.at/~r/niwat_en/~3/KoEK8_R1p9c/</link>
        <feedburner:origLink>http://niw.at/articles/2008/02/22/add-previews-language-selector-to-google-on-safari/</feedburner:origLink></item>
      
        <item>
          <title>A study meeting for reading source codes of PureData</title>
          <description>&lt;p&gt;I&amp;#8217;ve joined &lt;a href="http://nagano.monalisa-au.org/?p=837"&gt;a study meeting&lt;/a&gt; for reading source codes of &lt;a href="http://puredata.info/"&gt;Pure Data&lt;/a&gt; today.&lt;/p&gt;

&lt;p&gt;Pure Data is a kind of graphic programming environment to generate computer musics. It is not only for that but also we can use it as generic programming environment to make a kind of graphics, physical gadgets and so on.&lt;/p&gt;

&lt;p&gt;One guy who&amp;#8217;ve joined this meeting presented a demo project which uses Pure Data, Arduino, electromagnetic and magnetic fluid to show the level meters with magnetic fluid.&lt;/p&gt;

&lt;p&gt;&lt;a href="http://farm4.static.flickr.com/3498/3893061537_b36b6d175e.jpg"&gt;&lt;img src="http://farm4.static.flickr.com/3498/3893061537_b36b6d175e_m.jpg" alt="A demo of usage of Pure Data" /&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Unfortunately My iPhone is not 3GS, I couldn&amp;#8217;t take a movie though, it&amp;#8217;s really interesting and I remind my projects I&amp;#8217;ve done in the university.&lt;/p&gt;

&lt;p&gt;The study meeting is self was just beginning and we&amp;#8217;re trying to read a part of source codes of Pure Data(Yes, Pure Data is an open source project).
&lt;a href="http://nagano.monalisa-au.org/"&gt;Nagano-san&lt;/a&gt; who started this meeting successfully ported Pure Data to iPhone so that we&amp;#8217;ll see some good Apps like RjDj which is an iPhone application uses Pure Data.&lt;/p&gt;

&lt;p&gt;&lt;a href="http://farm3.static.flickr.com/2447/3893057057_4616533104.jpg"&gt;&lt;img src="http://farm3.static.flickr.com/2447/3893057057_4616533104_m.jpg" alt="Snow Leopard was delivered without fancy box" /&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Recently I set up my Snow Leopard environment then updated &lt;a href="http://niw.at/articles/2007/11/02/TerminalColoreopard/"&gt;TerminalColoeropard&lt;/a&gt; for it.
Snow Leopard prevented us to use some techniques and I then tweeted it already though, I&amp;#8217;ll write another article later.&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/niwat_en/~4/ie_1P060lkA" height="1" width="1"/&gt;</description>
          <pubDate>Mon, 07 Sep 2009 00:00:00 GMT</pubDate>
          <link>http://feeds.niw.at/~r/niwat_en/~3/ie_1P060lkA/</link>
        <feedburner:origLink>http://niw.at/blogs/2009/09/07/a-study-meeting-for-reading-source-codes-of-puredata/</feedburner:origLink></item>
      
        <item>
          <title>TerminalColoreopard, Change Terminal.app ANSI Color on Leopard</title>
          <description>&lt;h1&gt;Introducing TerminalColoreopard!&lt;/h1&gt;

&lt;ul class="images"&gt;
  &lt;li&gt;
    &lt;a href="http://niw.at/page_attachments/0000/0333/color_palette.png"&gt;&lt;img src="http://niw.at/page_attachments/0000/0333/color_palette_thumb.png" size="thumb" /&gt;&lt;/a&gt;
  &lt;/li&gt;
  &lt;li&gt;
    &lt;a href="http://niw.at/page_attachments/0000/0329/additional_menu.png"&gt;&lt;img src="http://niw.at/page_attachments/0000/0329/additional_menu_thumb.png" size="thumb" /&gt;&lt;/a&gt;
  &lt;/li&gt;
&lt;/ul&gt;


&lt;p&gt;Terminal.app on Leopard supports full ANSI color and multi color profile and many encodings and treat japanese correctly but, one thing &amp;#8211; the changing the ANSI color is missing.
When we use the Tiger, we can change the ANSI colors on Terminal.app using &lt;a href="http://www.culater.net/software/TerminalColors/TerminalColors.php"&gt;Terminal Colors Plugin&lt;/a&gt;.
But this nice plugin cannot work with Leopard one.
I tried to write same one for Leopard and now, I present it as beta version.&lt;/p&gt;

&lt;h2&gt;Snow Leopard Support&lt;/h2&gt;

&lt;p&gt;I uploaded an beta version of 64bit TerminalColoeropard plugin for Snow Leopard, Mac OS X 10.5.6. It requires to install the newest beta version of &lt;a href="http://www.culater.net/software/SIMBL/SIMBL.php"&gt;SIMBL&lt;/a&gt; prior to use this plugin.&lt;/p&gt;

&lt;p&gt;I mention that current SIMBL 0.9.1b which we can download today includes a bug, you have to run &lt;code&gt;/Library/ScriptingAdditions/SIMBL.osax/Contents/Resources/SIMBL Agent.app&lt;/code&gt; by hand after restarting your Mac OS X. (Updated again Sep 7, 2009)&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;&lt;a href="http://niw.at/page_attachments/0000/0328/TerminalColoreopard-0.2.5-beta_snow_leopard_only.zip"&gt;TerminalColoreopard-0.2.5-beta_snow_leopard_only.zip (27Kbyte)&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;h2&gt;Download and Install&lt;/h2&gt;

&lt;ul class="download clearfix"&gt;
  &lt;li&gt;
    &lt;a href="http://niw.at/page_attachments/0000/0327/TerminalColoreopard-0.2.4.dmg"&gt;TerminalColoreopard-0.2.4.dmg (105Kbyte)&lt;/a&gt;
  &lt;/li&gt;
&lt;/ul&gt;


&lt;ol&gt;
&lt;li&gt;Download the package&lt;/li&gt;
&lt;li&gt;Double click to mount one.&lt;/li&gt;
&lt;li&gt;If you have never install the &lt;a href="http://www.culater.net/software/SIMBL/SIMBL.php"&gt;SIMBL&lt;/a&gt; which TerminalColoreopard need to work, double click SIMBL.pkg to install it.&lt;/li&gt;
&lt;li&gt;You confirm the Terminal.app does not work now. If not, you should quit one.&lt;/li&gt;
&lt;li&gt;Copy the TerminalColoreopard.bundle into (Your Home)/Library/Application Support/SIMBL/Plugins. If there are no destination, you should create one.&lt;/li&gt;
&lt;/ol&gt;


&lt;h2&gt;Defects&lt;/h2&gt;

&lt;ul class="images"&gt;
  &lt;li&gt;
    &lt;a href="http://niw.at/page_attachments/0000/0213/terminal_screen.png"&gt;&lt;img src="http://niw.at/page_attachments/0000/0213/terminal_screen_thumb.png" size="thumb" /&gt;&lt;/a&gt;
  &lt;/li&gt;
&lt;/ul&gt;


&lt;ul&gt;
&lt;li&gt;Currently the color settings are shared any color profile.&lt;/li&gt;
&lt;li&gt;Even if you change the color using the palette, it will not affect the screen quickly. You currently refresh the screen manually.&lt;/li&gt;
&lt;/ul&gt;


&lt;h2&gt;Road to 1.0&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;&lt;del&gt;Fix the defects&lt;/del&gt;&lt;/li&gt;
&lt;li&gt;Add the installer.pkg&lt;/li&gt;
&lt;li&gt;Add the preset of color set like Tango Colors or something&lt;/li&gt;
&lt;li&gt;Move color pane into the original preference dialog&lt;/li&gt;
&lt;/ul&gt;


&lt;h2&gt;Change Log&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;&lt;p&gt;0.2.4&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Fix the runtime error when you&amp;#8217;re using bright color&lt;/li&gt;
&lt;li&gt;You can change even bright colors.&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;&lt;p&gt;0.2.3&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Fix the bug which I didn&amp;#8217;t commit but was included in 0.2.2&lt;/li&gt;
&lt;li&gt;&lt;a href="http://niw.at/page_attachments/0000/0314/TerminalColoreopard-0.2.3.dmg"&gt;TerminalColoreopard-0.2.3.dmg (63Kbyte)&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;&lt;p&gt;0.2.2&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Fix memory leak bug&lt;/li&gt;
&lt;li&gt;Add black and white color buttons&lt;/li&gt;
&lt;li&gt;&lt;a href="http://niw.at/page_attachments/0000/0299/TerminalColoreopard-0.2.2.dmg"&gt;TerminalColoreopard-0.2.2.dmg (64Kbyte)&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;&lt;p&gt;0.2.1&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Support MacOS X 10.5.2 software update&lt;/li&gt;
&lt;li&gt;&lt;a href="http://niw.at/page_attachments/0000/0167/TerminalColoreopard-0.2.1.dmg"&gt;TerminalColoreopard-0.2.1.dmg (63Kbyte)&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;&lt;p&gt;0.2.0&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Fix missing dmg background&lt;/li&gt;
&lt;li&gt;Remove black and white color settings because we cannot change these color, it seems be depended on the configuration of Terminal.app itself.&lt;/li&gt;
&lt;li&gt;Change the way to hack and overwrite the methods in Terminal.app&lt;/li&gt;
&lt;li&gt;Adjust color configuration panel GUI&lt;/li&gt;
&lt;li&gt;Open the source&lt;/li&gt;
&lt;li&gt;&lt;a href="http://niw.at/page_attachments/0000/0162/TerminalColoreopard-0.2.0.dmg"&gt;TerminalColoreopard-0.2.0.dmg (63Kbyte)&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;&lt;p&gt;0.1.0&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;First release&lt;/li&gt;
&lt;li&gt;&lt;a href="http://niw.at/page_attachments/0000/0155/TerminalColoreopard-0.1.0.dmg"&gt;TerminalColoreopard-0.1.0.dmg (100Kbyte)&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;/ul&gt;


&lt;h2&gt;Donation&lt;/h2&gt;

&lt;p&gt;  If you would like to help the TerminalColoreopard project, please feel free to donate via &lt;a href="http://www.paypal.com"&gt;PayPal&lt;/a&gt; using the following form.&lt;/p&gt;

&lt;div style="background: #fff; padding: 10px; margin: 10px 0;"&gt;
&lt;form action="https://www.paypal.com/cgi-bin/webscr" method="post"&gt;
&lt;input type="hidden" name="cmd" value="_xclick" /&gt;
&lt;input type="hidden" name="business" value="5C84VM52Z94JY" /&gt;
&lt;input type="hidden" name="item_name" value="TerminalColoreopard Donation" /&gt;
&lt;input type="hidden" name="no_note" value="1" /&gt;
&lt;input type="hidden" name="currency_code" value="USD" /&gt;
&lt;input type="hidden" name="return" value="http://niw.at/articles/2007/11/02/TerminalColoreopard/" /&gt;
&lt;input type="hidden" name="tax" value="0" /&gt;
&lt;input type="hidden" name="lc" value="US" /&gt;
Amount in USD &lt;input type="text" name="amount" value="10.00" size="6" /&gt;
&lt;input type="submit" name="submit" value="Donate" /&gt;
&lt;/form&gt;
&lt;/div&gt;


&lt;p&gt;Thank you for your donation!&lt;/p&gt;

&lt;h2&gt;Source Code&lt;/h2&gt;

&lt;p&gt;Now, I publish this project in open source.
You can get the whole source code from my &lt;a href="http://github.com/niw/terminal_coloreopard"&gt;github repository&lt;/a&gt;.&lt;/p&gt;

&lt;h2&gt;License&lt;/h2&gt;

&lt;p&gt;TerminalColoreopard is under &lt;a href="http://en.wikipedia.org/wiki/MIT_License"&gt;MIT License&lt;/a&gt;.&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/niwat_en/~4/rhOY36zqV_E" height="1" width="1"/&gt;</description>
          <pubDate>Fri, 02 Nov 2007 00:00:00 GMT</pubDate>
          <link>http://feeds.niw.at/~r/niwat_en/~3/rhOY36zqV_E/</link>
        <feedburner:origLink>http://niw.at/articles/2007/11/02/TerminalColoreopard/</feedburner:origLink></item>
      
        <item>
          <title>Heading to Western Japan</title>
          <description>&lt;p&gt;This is summer vacation season, I was then heading to my family home and continued to Kyoto city for the meetings.
We&amp;#8217;re usually using Shinkansen to get to western Japan instead of airplane,
If we can select the travel scheduled to be operated with N700 series, we can use WiFi, AC power on the window seat. It is really useful.&lt;/p&gt;

&lt;p&gt;When we&amp;#8217;re getting to Osaka city, we can select airplane instead of Shinkansen because of the milage services, time and/or money though, just for getting to Kyoto, it is better to use Shinkansen.&lt;/p&gt;

&lt;p&gt;&lt;a href="http://farm3.static.flickr.com/2468/3825550257_a2be1f38e7.jpg"&gt;&lt;img src="http://farm3.static.flickr.com/2468/3825550257_a2be1f38e7_m.jpg" alt="Shinkansen and Donald." /&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;The last train to back to Tokyo which depurates at 9.30pm, arrives at 12am from Kyoto station is operated with N700.
Many guys are tired, sleeping on that travel and it&amp;#8217;s everyday things in Japan business scene.&lt;/p&gt;

&lt;p&gt;Good night, Japan.&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/niwat_en/~4/6RsG8o7acpo" height="1" width="1"/&gt;</description>
          <pubDate>Sun, 16 Aug 2009 00:00:00 GMT</pubDate>
          <link>http://feeds.niw.at/~r/niwat_en/~3/6RsG8o7acpo/</link>
        <feedburner:origLink>http://niw.at/blogs/2009/08/16/heading-to-western-japan/</feedburner:origLink></item>
      
        <item>
          <title>Huuumid Tokyo, iPhone OS 3.0.1</title>
          <description>&lt;p&gt;How humid is it here Tokyo&amp;#8230;?!
My friends said that this summer is not so hotter than last year though, I think, the issue is not temperature but humidity.
The hygrometer in my room shows 60%.&lt;/p&gt;

&lt;p&gt;After getting to Tokyo, I&amp;#8217;m wearing T-shirt and half pants against I was using winter jacket in San Francisco.
I&amp;#8217;m almost screwed up this differences.&lt;/p&gt;

&lt;p&gt;&lt;a href="http://farm3.static.flickr.com/2574/3799457732_1c4c3ecfed.jpg"&gt;&lt;img src="http://farm3.static.flickr.com/2574/3799457732_1c4c3ecfed_m.jpg" alt="Shinjuku Buildings" /&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Anyway, after updating my iPhone to OS 3.0.1, sometimes its battery seems to be getting dead more faster than OS 3.0.
It seems to be happen once we use SMS/MMS after switching off iPhone, I think, not sure though, it may be an issue of the software of SMS/MMS.&lt;/p&gt;

&lt;p&gt;I hope Apple fixes this issue on new iPhone OS 3.1.&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/niwat_en/~4/kpmTZXdYePQ" height="1" width="1"/&gt;</description>
          <pubDate>Sun, 09 Aug 2009 00:00:00 GMT</pubDate>
          <link>http://feeds.niw.at/~r/niwat_en/~3/kpmTZXdYePQ/</link>
        <feedburner:origLink>http://niw.at/blogs/2009/08/09/huuumid-tokyo-iphone-os-3-0-1/</feedburner:origLink></item>
      
        <item>
          <title>Feed URL and Multilingualization</title>
          <description>&lt;p&gt;As you know, this website is multilingualized, I mean, you can read almost all articles and blogs both in English and Japanese.
Though, because of the implementation of multilingualization(m17n), you can&amp;#8217;t select Japanese feed using Google Reader or any other feed fetchers before one month ago.
Currently the url of feed is provided on the language specification which you are selecting on the sidebar, in some cases you can&amp;#8217;t grab correct url specified for each languages.&lt;/p&gt;

&lt;p&gt;&lt;a href="http://farm3.static.flickr.com/2614/3786744238_89f70e1af6.jpg"&gt;&lt;img src="http://farm3.static.flickr.com/2614/3786744238_89f70e1af6_m.jpg" alt="Language Preferences" /&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;If you failed to grab it, I suggest you to unsubscribe this side then subscribe again.
The end part of url shows which language you can read on the feed.&lt;/p&gt;

&lt;p&gt;Enjoy this on your preferred language!
Of course, you can subscribe both of them, the contents are slightly different.&lt;/p&gt;

&lt;p&gt;Anyway, This site is build up on &lt;a href="http://radiantcms.org/"&gt;Radiant CMS&lt;/a&gt; with a bunch of extension I made.
When I have a set of time, I&amp;#8217;d push them on &lt;a href="http://github.com/niw"&gt;my open source repository&lt;/a&gt;, which includes this m17n extension.&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/niwat_en/~4/zazZVkn7Kb0" height="1" width="1"/&gt;</description>
          <pubDate>Tue, 04 Aug 2009 00:00:00 GMT</pubDate>
          <link>http://feeds.niw.at/~r/niwat_en/~3/zazZVkn7Kb0/</link>
        <feedburner:origLink>http://niw.at/blogs/2009/08/04/feed-url-and-multilingualization/</feedburner:origLink></item>
      
        <item>
          <title>Short Summary of San Francisco Journey</title>
          <description>&lt;p&gt;I&amp;#8217;m in the lounge at SFO for waiting the flight.
I&amp;#8217;ve better to make a summary of this journey after getting to Tokyo city (I had amazing experiences!), before that, I put some pictures here from this journey on flickr, you can see all photos from &lt;a href="http://www.flickr.com/photos/niw/sets/72157621654874697/"&gt;here&lt;/a&gt;.&lt;/p&gt;

&lt;p&gt;Say goodbye Northwest Airline, they were merged to Delta.&lt;/p&gt;

&lt;p&gt;&lt;a href="http://farm3.static.flickr.com/2661/3762610580_79dfe79b6f.jpg"&gt;&lt;img src="http://farm3.static.flickr.com/2661/3762610580_79dfe79b6f_m.jpg" alt="RIP, nwa" /&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Every time, it starts here, Narita Airport.&lt;/p&gt;

&lt;p&gt;&lt;a href="http://farm3.static.flickr.com/2566/3761813163_4093e20661.jpg"&gt;&lt;img src="http://farm3.static.flickr.com/2566/3761813163_4093e20661_m.jpg" alt="Narita Airport" /&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;a href="http://www.google.com/help/maps/favoriteplaces/"&gt;Google Maps Favorite Places&lt;/a&gt; in San Francisco, we can see this marker everywhere in the town.&lt;/p&gt;

&lt;p&gt;&lt;a href="http://farm4.static.flickr.com/3500/3763106067_02199f63d0.jpg"&gt;&lt;img src="http://farm4.static.flickr.com/3500/3763106067_02199f63d0_m.jpg" alt="Google Maps Marker" /&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;It&amp;#8217;s a sky of California, we think. This is a sunny day of only 4 days in this journey.&lt;/p&gt;

&lt;p&gt;&lt;a href="http://farm4.static.flickr.com/3518/3763119087_c4e5f29322.jpg"&gt;&lt;img src="http://farm4.static.flickr.com/3518/3763119087_c4e5f29322_m.jpg" alt="Sky of California" /&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;We had a nice branch at the &amp;#8220;favorite&amp;#8221; cafe in Mission area.&lt;/p&gt;

&lt;p&gt;&lt;a href="http://farm4.static.flickr.com/3420/3769974063_31533927f0.jpg"&gt;&lt;img src="http://farm4.static.flickr.com/3420/3769974063_31533927f0_m.jpg" alt="Grab a brunch, with art" /&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/niwat_en/~4/aWXSLluq8OM" height="1" width="1"/&gt;</description>
          <pubDate>Sun, 02 Aug 2009 00:00:00 GMT</pubDate>
          <link>http://feeds.niw.at/~r/niwat_en/~3/aWXSLluq8OM/</link>
        <feedburner:origLink>http://niw.at/blogs/2009/08/02/short-summary-of-san-francisco-journey/</feedburner:origLink></item>
      
    
  
  </channel>
</rss>
