Welcome

Update (4/30/2022)
Added SQLServerCE page (file-based SQL Server). I use it for my family tree application.

Update (5/31/2021)
Got Android Auto installed on my Mazda 3 2016. It has the Mazda Connect navigation but lately GPS satelites were not detected. I tried three-button reset in vain. I went to the dealer to get it fixed on condition that if cannot be fixed less than $400, then install Android Auto (they advertized it as $419) (Mazda announcement of retrofit). They installed it. It turned out that the GPS satelite detection is now working. I guess that the installation of Android Auto caused a full reset on Mazda Connect. I now have two ways to map. Now I want to support Android Auto on my app.

Update (9/17/2020)
I went through Programming pages to restore links and formatting. I saw various locations that Google tried to modify half-heartedly and ended up breaking. <a href="#(named)" was changed to <a href="(*.html)" which cannot do the link in the same page. For <pre> they added <br /> I don't understand why they wanted to eliminate <pre> tag.

Update (9/6/2020)
Thank you for coming to the new site hosted on my RaspberryPi. When Google moved my classic site to the new format, they ignored two html tags. That is, < a href="#(named)" tag references < a name="(named)" in the same page. Another issue is that they cannot handle < pre tag. They completely ignored new lines. Google gave the zipped files with these removed. I have many pages and thus it is really pain to recover the original formatting in my own site. Today I went through just before Programming pages on Labor Day holiday. I will be tackling Programming pages and please be patient.

Update (12/27/2019)
Bought Lenovo Thinkpad Extreme X1 Gen2 laptop (Core i-9 9880H, 8 cores, 16 threads with 32 GB memory).  My iris match benchmark written 2008 scores the highest thus far, 235349 matches per second.   The previous high was Core-i7 4790 owned by my son, 123830 matches per second.

Update (10/7/2019)
Research Gate Link:https://www.researchgate.net/profile/Yasunari_Tosa

Update (2/24/2017)
Bought DELL Inspiron 13 2-in-1 7378 (Core i7 7500U) last ThanksGiving sale.   Upgraded to 32 GB Memory and 1 TB SSD.

Update (5/27/2015)
What a surprise.   MEF (Managed Extensibility Framework) leaks memory as of .NET4.   Please read Programming MEF section.

Update (2/22/2013)
It happened again.  I was updating my SSD to 1 TB SSD under Windows 8.1 Pro for my HP Envy.  This time I was using Acronis True Image 2014 which failed to reboot.   The bootable True Image CD worked with adding the command line option: noapic acpi=off. 

Update (9/7/2013)
I have been using Acronis True Image for backups and cloning.   I used Cloning to move the data to a SSD for my HP Envy laptop.  Unfortunately it failed to do so under Windows 8 Pro (i.e. after rebooting, it did not perform cloning).  In this situation, the bootable True Image CD usually works with the following trick. You have to add a command line option when creating the bootable CD: noapic acpi=off.  

Update(9/4/2013)
Lenovo is not for development.  I got HP Envy TouchSmart 15j with Core i7 4700 2.4 Ghz, 16 GB memory, full HD screen, backlit keyboard, bluetooth.  Again I ran my Iris Matching Benchmark.   I was surprized to find that the performance compared with 3.2 GHz old Core i7 is15-20% faster.  The CPU does the clock management very often from .9 Ghz to 3.2 Ghz while running the benchmark (peak is 3.4 Ghz).
The settings in hardware for this laptop are accessible by hitting ESC before booting to Windows 8.   Then you can select F1 (System Info), F2 (System Diag), F9 (Boot Option), F10 (BIOS settings), F11 (System Recovery).

Update(11/27/2012)
I got Lenovo Twist S230U with Windows 8 (converted to 8 Pro with MediaCenter).   Finally I can use the touch screen interface of Windows 8.  It has Core i5-3317U (1.7 Ghz, turboboosted to 2.6 Ghz).  I ran myown Iris Matching Benchmark.  Even though it has only dual core with hyperthreading, the peak performace is the same as the old Core i7-620 (2.0 Ghz).  I see the single core performance is much higher than the old Core i7.  Good improvement.  The con for Twist is that you cannot upgrade the memory to 8 Gbyte from 4 Gbyte.  The memory chip is soldered not socketed.  When you run Visual Studio the memory gets low quickly.  The BIOS setting is done by F1 and the boot option is done by F12 for this laptop.

Update(2/18/2012)
I forgot to write the fact here that I bought the Ceton InfiniTV4 so that I can record digital channels on Media Center.  The Microsoft DRM (digital rights management) was the pain I encountered due to many false info on google.   I wrote how I solved the probelm in CableTV on the left.

Update(5/11/2010)
I could not resist the bargain offer from MicroCenter.   (I have many things I could not resist.   This is one of them.)    PVR is now converted to AMD Phenom II X3 720 2.8 Ghz (Black Edition) with MSI 785GTM-E45 (DDR2 memory).   Now I can run Media Player on PVR (see below for sound chip issue with the previous motherboard).  I immediately ran the iris matching benchmark to find that AMD finally catched up the Core 2 Duo generation.  However, it cannot match the performance of Core i7 920 2.66 Ghz (even at three threads).   It is still a bargain, considering $99 for this AMD CPU and $260 for Core i7 920.

Update (3/21/2010)
I'm now using a laptop regularly (HP DV7-2270us which has Mobile Core2 Quad 9000). The motherboard for PVR is no longer supported by ASUS under Windows7 (the sound chip driver is not available) after four years.  Luckily the video card EVGA GT240 has a HDMI port which sends HDAudio without the need of the audio chip driver.  Thus it can be still used under Windows 7.

Update (3/5/2010):
My website ytosa.home.att.net is really gone due to the termination of att.worldnet. I'm now trying to set up a similar one here at google.I think that I ported most of the pages now.

Update:
I started my pages six years ago when I started working for the Linux(RedHat) project.  Due to an unexpected turn of event, I went back to the MSWindows world in 2005.  Therefore, Linux related pages show the age (I still maintain the CentOS partition and updates sometimes).  The pages frequently updated are now Windows related: .NET, VC++, C++/CLI, WCF, SQLServer, Oracle, and HPC2008.

Here is the place I put my experiences with Linux (RedHat, SuSE), Darwin (MacOS X) and WinXP, programming (gcc/g++, C++, Qt, VC++, MFC, Autoconf/RPM, Matlab, Perl), and PostgreSQL.  I made these pages so that I don't have to reinvent the solutions I found in future.  I also hope that somebody else may benefit from my investigation and solutions.

I just came back to Linux after 6 years of wondering in MS Windows world. I noticed that Linux has made the great advances in these years in many aspects. However, the world of Linux is more diverse than that of MS Windows and Linux has still a long way to go in terms of ease of use (since nobody decides just one way to do things and there are always many ways to do). However, the nice thing about Linux is that everybody tries to help others on their free will (Thank you for those helped me). This was the spirit when the world of personal computers was budding up. I hope that the helping spirit never dies in the world of Linux.

My PC is updated to Intel Core i7 920 (2.66 Ghz) with 6 Gbyte memory with ASUS P6T Delux V2 (5/2009).  I'm now experimenting Hyper-V with Windows Server 2008 to run virtual cluster (one headnode, two compute nodes,
one Active Directory server).  The hosted OS on my PC is now Windows XP, Windows Server 2008 with Hyper-V, and CentOS multi-booted.

The PC used to be running RedHat is now Athlon64 X2 3800 and is running Vista Ultimate with Hauppauge WinTV HVR 1600, working as DVR (even though DRM forbids me to record HD) with the OEM Microsoft Remote. 

Programming tips are the ones I used in my projects in the past.  It would be nice if you could let me know of the usage by email.

I used to do theoretical high energy physics in my previous life.  My publications can be found here

Updated on 3/21/2010