<?xml version='1.0' encoding='UTF-8'?><?xml-stylesheet href="http://www.blogger.com/styles/atom.css" type="text/css"?><feed xmlns='http://www.w3.org/2005/Atom' xmlns:openSearch='http://a9.com/-/spec/opensearchrss/1.0/' xmlns:georss='http://www.georss.org/georss' xmlns:gd='http://schemas.google.com/g/2005' xmlns:thr='http://purl.org/syndication/thread/1.0'><id>tag:blogger.com,1999:blog-5740550295288139350</id><updated>2012-02-10T04:57:23.234-06:00</updated><category term='Speech Signal'/><category term='Lab-tips'/><category term='Comedi'/><category term='Signal Processing'/><category term='Wavelet'/><category term='Auditory Peripheral Model'/><category term='Linux'/><category term='Auditory Physiology'/><category term='Vmware'/><category term='RTXI-RTLDC'/><category term='My scripts'/><category term='RTLinux'/><category term='Miscellaneous'/><category term='Neuroscience'/><category term='Important Papers'/><category term='RTAI'/><title type='text'>Kelvin Fei Chu</title><subtitle type='html'>Neural Encoding Laboratory, Johns Hopkins University 2008-Now;


NeuralNetoff Lab, University of Minnesota 2007</subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://kelvinchufei.blogspot.com/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5740550295288139350/posts/default?max-results=100'/><link rel='alternate' type='text/html' href='http://kelvinchufei.blogspot.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><link rel='next' type='application/atom+xml' href='http://www.blogger.com/feeds/5740550295288139350/posts/default?start-index=101&amp;max-results=100'/><author><name>Kelvin Fei Chu</name><uri>http://www.blogger.com/profile/11748397661373760438</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://bp0.blogger.com/_JFxqZRV7aGs/R5oADuf2VKI/AAAAAAAACVI/hPneTeJ_6I8/S220/DSC04852.JPG'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>166</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>100</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-5740550295288139350.post-175952858271019537</id><published>2008-09-16T13:08:00.002-06:00</published><updated>2008-09-16T13:11:21.166-06:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Auditory Physiology'/><title type='text'>Q10 or Q10dB value</title><content type='html'>Q10dB value = center frequency / bandwidth of the tuning curve 10 dB above tip(threshold)&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5740550295288139350-175952858271019537?l=kelvinchufei.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://kelvinchufei.blogspot.com/feeds/175952858271019537/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=5740550295288139350&amp;postID=175952858271019537' title='40 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5740550295288139350/posts/default/175952858271019537'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5740550295288139350/posts/default/175952858271019537'/><link rel='alternate' type='text/html' href='http://kelvinchufei.blogspot.com/2008/09/q10-or-q10db-value.html' title='Q10 or Q10dB value'/><author><name>Kelvin Fei Chu</name><uri>http://www.blogger.com/profile/11748397661373760438</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://bp0.blogger.com/_JFxqZRV7aGs/R5oADuf2VKI/AAAAAAAACVI/hPneTeJ_6I8/S220/DSC04852.JPG'/></author><thr:total>40</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5740550295288139350.post-7974515907547209058</id><published>2008-09-16T11:53:00.002-06:00</published><updated>2008-09-16T11:53:38.121-06:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Auditory Physiology'/><title type='text'>Auditory Physiology Basics</title><content type='html'>&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5740550295288139350-7974515907547209058?l=kelvinchufei.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='related' href='http://courses.ece.uiuc.edu/ece403/lectures%20and%20notes/chap08.pdf' title='Auditory Physiology Basics'/><link rel='replies' type='application/atom+xml' href='http://kelvinchufei.blogspot.com/feeds/7974515907547209058/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=5740550295288139350&amp;postID=7974515907547209058' title='220 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5740550295288139350/posts/default/7974515907547209058'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5740550295288139350/posts/default/7974515907547209058'/><link rel='alternate' type='text/html' href='http://kelvinchufei.blogspot.com/2008/09/auditory-physiology-basics.html' title='Auditory Physiology Basics'/><author><name>Kelvin Fei Chu</name><uri>http://www.blogger.com/profile/11748397661373760438</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://bp0.blogger.com/_JFxqZRV7aGs/R5oADuf2VKI/AAAAAAAACVI/hPneTeJ_6I8/S220/DSC04852.JPG'/></author><thr:total>220</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5740550295288139350.post-7125781911889398353</id><published>2008-07-08T20:49:00.000-06:00</published><updated>2008-07-08T20:50:19.863-06:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Speech Signal'/><title type='text'>What is a vocoder</title><content type='html'>&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5740550295288139350-7125781911889398353?l=kelvinchufei.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='related' href='http://www.sirlab.de/linux/descr_vocoder.html#carrier' title='What is a vocoder'/><link rel='replies' type='application/atom+xml' href='http://kelvinchufei.blogspot.com/feeds/7125781911889398353/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=5740550295288139350&amp;postID=7125781911889398353' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5740550295288139350/posts/default/7125781911889398353'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5740550295288139350/posts/default/7125781911889398353'/><link rel='alternate' type='text/html' href='http://kelvinchufei.blogspot.com/2008/07/what-is-vocoder.html' title='What is a vocoder'/><author><name>Kelvin Fei Chu</name><uri>http://www.blogger.com/profile/11748397661373760438</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://bp0.blogger.com/_JFxqZRV7aGs/R5oADuf2VKI/AAAAAAAACVI/hPneTeJ_6I8/S220/DSC04852.JPG'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5740550295288139350.post-7327346382260084311</id><published>2008-03-20T17:53:00.001-06:00</published><updated>2008-03-20T17:53:47.799-06:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Linux'/><title type='text'>Install Sopcast on Ubuntu 7.10</title><content type='html'>Sopcast really rocks!&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5740550295288139350-7327346382260084311?l=kelvinchufei.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='related' href='http://www.linux.ryukent.co.uk/show.php?id=36' title='Install Sopcast on Ubuntu 7.10'/><link rel='replies' type='application/atom+xml' href='http://kelvinchufei.blogspot.com/feeds/7327346382260084311/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=5740550295288139350&amp;postID=7327346382260084311' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5740550295288139350/posts/default/7327346382260084311'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5740550295288139350/posts/default/7327346382260084311'/><link rel='alternate' type='text/html' href='http://kelvinchufei.blogspot.com/2008/03/install-sopcast-on-ubuntu-710.html' title='Install Sopcast on Ubuntu 7.10'/><author><name>Kelvin Fei Chu</name><uri>http://www.blogger.com/profile/11748397661373760438</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://bp0.blogger.com/_JFxqZRV7aGs/R5oADuf2VKI/AAAAAAAACVI/hPneTeJ_6I8/S220/DSC04852.JPG'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5740550295288139350.post-4599354578148005187</id><published>2008-03-20T15:04:00.004-06:00</published><updated>2008-03-20T15:16:03.721-06:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Linux'/><title type='text'>How to make Ubuntu 7.10 Chinese font look right with Yahei font</title><content type='html'>http://www.osxcn.com/ubuntu/edgy-stheiti.html&lt;br /&gt;http://www.osxcn.com/ubuntu/ubuntu-stheiti.html&lt;br /&gt;http://www.osxcn.com/ubuntu/ubuntu-stheiti2.html&lt;br /&gt;&lt;br /&gt;These are some additional notes:&lt;br /&gt;&lt;br /&gt;1. Create language-selector.conf in /etc/fonts/&lt;br /&gt;&lt;br /&gt;$ sudo fontconfig-voodoo -f -s zh_CN&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;2. Download STHeiti.tff from&lt;br /&gt;&lt;br /&gt;http://www.isload.com.cn/store/8m385v6af6trv/%D1%C5%BA%DA%CF%B8%BA%DA%20STHeiti.ttf/downlaod&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5740550295288139350-4599354578148005187?l=kelvinchufei.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://kelvinchufei.blogspot.com/feeds/4599354578148005187/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=5740550295288139350&amp;postID=4599354578148005187' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5740550295288139350/posts/default/4599354578148005187'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5740550295288139350/posts/default/4599354578148005187'/><link rel='alternate' type='text/html' href='http://kelvinchufei.blogspot.com/2008/03/how-to-make-ubuntu-710-chinese-font.html' title='How to make Ubuntu 7.10 Chinese font look right with Yahei font'/><author><name>Kelvin Fei Chu</name><uri>http://www.blogger.com/profile/11748397661373760438</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://bp0.blogger.com/_JFxqZRV7aGs/R5oADuf2VKI/AAAAAAAACVI/hPneTeJ_6I8/S220/DSC04852.JPG'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5740550295288139350.post-6585728233655328360</id><published>2008-03-19T22:32:00.001-06:00</published><updated>2008-03-19T22:32:41.424-06:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Linux'/><title type='text'>Acer 5315 Sound Card Setup in Ubuntu</title><content type='html'>&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5740550295288139350-6585728233655328360?l=kelvinchufei.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='related' href='http://ubuntuforums.org/showpost.php?p=4298894&amp;postcount=24' title='Acer 5315 Sound Card Setup in Ubuntu'/><link rel='replies' type='application/atom+xml' href='http://kelvinchufei.blogspot.com/feeds/6585728233655328360/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=5740550295288139350&amp;postID=6585728233655328360' title='3 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5740550295288139350/posts/default/6585728233655328360'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5740550295288139350/posts/default/6585728233655328360'/><link rel='alternate' type='text/html' href='http://kelvinchufei.blogspot.com/2008/03/acer-5315-sound-card-setup-in-ubuntu.html' title='Acer 5315 Sound Card Setup in Ubuntu'/><author><name>Kelvin Fei Chu</name><uri>http://www.blogger.com/profile/11748397661373760438</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://bp0.blogger.com/_JFxqZRV7aGs/R5oADuf2VKI/AAAAAAAACVI/hPneTeJ_6I8/S220/DSC04852.JPG'/></author><thr:total>3</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5740550295288139350.post-1904944399747006678</id><published>2008-03-19T22:31:00.001-06:00</published><updated>2008-03-19T22:31:50.763-06:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Linux'/><title type='text'>Ubuntu on Acer Aspire 5315-052G12Mi</title><content type='html'>&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5740550295288139350-1904944399747006678?l=kelvinchufei.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='related' href='http://ubuntu-utah.ubuntuforums.org/showthread.php?t=610603' title='Ubuntu on Acer Aspire 5315-052G12Mi'/><link rel='replies' type='application/atom+xml' href='http://kelvinchufei.blogspot.com/feeds/1904944399747006678/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=5740550295288139350&amp;postID=1904944399747006678' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5740550295288139350/posts/default/1904944399747006678'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5740550295288139350/posts/default/1904944399747006678'/><link rel='alternate' type='text/html' href='http://kelvinchufei.blogspot.com/2008/03/ubuntu-on-acer-aspire-5315-052g12mi.html' title='Ubuntu on Acer Aspire 5315-052G12Mi'/><author><name>Kelvin Fei Chu</name><uri>http://www.blogger.com/profile/11748397661373760438</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://bp0.blogger.com/_JFxqZRV7aGs/R5oADuf2VKI/AAAAAAAACVI/hPneTeJ_6I8/S220/DSC04852.JPG'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5740550295288139350.post-1056104385068452018</id><published>2008-03-19T22:23:00.001-06:00</published><updated>2008-03-19T22:25:24.556-06:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Linux'/><title type='text'>Acer 5315 Wifi (Atheros AR5006EG/AR5007eg) driver  on Ubuntu</title><content type='html'>Ubuntu is highly suggested. Fedora 8 may meet with some APIC fatal errors.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5740550295288139350-1056104385068452018?l=kelvinchufei.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='related' href='http://ubuntuforums.org/showthread.php?t=680209' title='Acer 5315 Wifi (Atheros AR5006EG/AR5007eg) driver  on Ubuntu'/><link rel='replies' type='application/atom+xml' href='http://kelvinchufei.blogspot.com/feeds/1056104385068452018/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=5740550295288139350&amp;postID=1056104385068452018' title='2 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5740550295288139350/posts/default/1056104385068452018'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5740550295288139350/posts/default/1056104385068452018'/><link rel='alternate' type='text/html' href='http://kelvinchufei.blogspot.com/2008/03/acer-5315-wifi-atheros-ar5006egar5007eg.html' title='Acer 5315 Wifi (Atheros AR5006EG/AR5007eg) driver  on Ubuntu'/><author><name>Kelvin Fei Chu</name><uri>http://www.blogger.com/profile/11748397661373760438</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://bp0.blogger.com/_JFxqZRV7aGs/R5oADuf2VKI/AAAAAAAACVI/hPneTeJ_6I8/S220/DSC04852.JPG'/></author><thr:total>2</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5740550295288139350.post-5210533669789097239</id><published>2008-03-18T19:50:00.000-06:00</published><updated>2008-03-18T19:51:26.333-06:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Linux'/><title type='text'>Fedora 8 installation stops at: running/sbin/loader on laptop</title><content type='html'>Solution:&lt;br /&gt;&lt;br /&gt;http://forums.fedoraforum.org/forum/showthread.php?t=171230&amp;amp;highlight=%2Fsbin%2Floader&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5740550295288139350-5210533669789097239?l=kelvinchufei.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://kelvinchufei.blogspot.com/feeds/5210533669789097239/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=5740550295288139350&amp;postID=5210533669789097239' title='2 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5740550295288139350/posts/default/5210533669789097239'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5740550295288139350/posts/default/5210533669789097239'/><link rel='alternate' type='text/html' href='http://kelvinchufei.blogspot.com/2008/03/fedora-8-installation-stops-at.html' title='Fedora 8 installation stops at: running/sbin/loader on laptop'/><author><name>Kelvin Fei Chu</name><uri>http://www.blogger.com/profile/11748397661373760438</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://bp0.blogger.com/_JFxqZRV7aGs/R5oADuf2VKI/AAAAAAAACVI/hPneTeJ_6I8/S220/DSC04852.JPG'/></author><thr:total>2</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5740550295288139350.post-6852722091234205718</id><published>2008-02-26T10:55:00.005-06:00</published><updated>2008-02-26T13:54:57.501-06:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Signal Processing'/><category scheme='http://www.blogger.com/atom/ns#' term='My scripts'/><title type='text'>Power and Energy</title><content type='html'>&lt;span style="font-family:arial;"&gt;For a digital signal x(n) the power = mean(x.^2) and energy = sum(x.^2).&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;Importantly, Parseval's theorem is often written as:&lt;br /&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://upload.wikimedia.org/math/b/9/e/b9edee8555bb22b19079014620556139.png"&gt;&lt;img style="cursor: pointer; width: 247px; height: 36px;" src="http://upload.wikimedia.org/math/b/9/e/b9edee8555bb22b19079014620556139.png" alt="" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Alternatively, for the discrete form, the relation becomes:&lt;br /&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://upload.wikimedia.org/math/d/d/3/dd3e997e03ee61f3c43c2e96731deb83.png"&gt;&lt;img style="cursor: pointer; width: 219px; height: 48px;" src="http://upload.wikimedia.org/math/d/d/3/dd3e997e03ee61f3c43c2e96731deb83.png" alt="" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;where &lt;i&gt;X&lt;/i&gt;[&lt;i&gt;k&lt;/i&gt;] is the DFT of &lt;i&gt;x&lt;/i&gt;[&lt;i&gt;n&lt;/i&gt;], both of length &lt;i&gt;N&lt;/i&gt;.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;A demo script is as follows:&lt;br /&gt;&lt;br /&gt;Download: &lt;a href="https://jshare.johnshopkins.edu/fchu3/myscript/parseval.m?uniq=-8cnbw"&gt;here&lt;/a&gt;.&lt;br /&gt;&lt;br /&gt;&lt;span&gt;Please give reference if you want to use the code.&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5740550295288139350-6852722091234205718?l=kelvinchufei.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://kelvinchufei.blogspot.com/feeds/6852722091234205718/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=5740550295288139350&amp;postID=6852722091234205718' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5740550295288139350/posts/default/6852722091234205718'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5740550295288139350/posts/default/6852722091234205718'/><link rel='alternate' type='text/html' href='http://kelvinchufei.blogspot.com/2008/02/power-and-energy.html' title='Power and Energy'/><author><name>Kelvin Fei Chu</name><uri>http://www.blogger.com/profile/11748397661373760438</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://bp0.blogger.com/_JFxqZRV7aGs/R5oADuf2VKI/AAAAAAAACVI/hPneTeJ_6I8/S220/DSC04852.JPG'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5740550295288139350.post-6747625670002409429</id><published>2008-02-25T09:33:00.011-06:00</published><updated>2008-02-25T15:38:04.528-06:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Signal Processing'/><category scheme='http://www.blogger.com/atom/ns#' term='My scripts'/><title type='text'>Forward-Backward Filtering</title><content type='html'>A very good illustration for how to cancel phase delay of filters by using forward and backward filtering.&lt;br /&gt;&lt;br /&gt;http://ccrma.stanford.edu/~jos/filters/Forward_Backward_Filtering.html&lt;br /&gt;&lt;br /&gt;Note:&lt;br /&gt;1. If the filter were complex, then we would need to conjugate its coefficients when running it backwards.&lt;br /&gt;&lt;br /&gt;2. Before applying the backward filtering,  zero padding may be needed to avoid aliasing, as you may see from the implementation below. (take out the corresponding zero padding line)&lt;br /&gt;&lt;br /&gt;The following is a implementation that cancels the delay of FIR bandpass filter banks.&lt;br /&gt;Download: &lt;a href="https://jshare.johnshopkins.edu/fchu3/myscript/phased.m?uniq=kzgxb"&gt;here&lt;/a&gt;.&lt;br /&gt;&lt;br /&gt;&lt;span&gt;Please give reference if you want to use the code.&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5740550295288139350-6747625670002409429?l=kelvinchufei.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://kelvinchufei.blogspot.com/feeds/6747625670002409429/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=5740550295288139350&amp;postID=6747625670002409429' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5740550295288139350/posts/default/6747625670002409429'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5740550295288139350/posts/default/6747625670002409429'/><link rel='alternate' type='text/html' href='http://kelvinchufei.blogspot.com/2008/02/forward-backward-filtering.html' title='Forward-Backward Filtering'/><author><name>Kelvin Fei Chu</name><uri>http://www.blogger.com/profile/11748397661373760438</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://bp0.blogger.com/_JFxqZRV7aGs/R5oADuf2VKI/AAAAAAAACVI/hPneTeJ_6I8/S220/DSC04852.JPG'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5740550295288139350.post-3130084543524218742</id><published>2008-02-15T09:47:00.000-06:00</published><updated>2008-02-15T09:48:03.554-06:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Signal Processing'/><title type='text'>Just noticeable difference or jnd</title><content type='html'>From Wikipedia:&lt;br /&gt;&lt;br /&gt;In &lt;a href="http://en.wikipedia.org/wiki/Psychophysics" title="Psychophysics"&gt;psychophysics&lt;/a&gt;, a &lt;b&gt;just noticeable difference&lt;/b&gt;, customarily abbreviated with lowercase letters as &lt;b&gt;jnd&lt;/b&gt;, is the smallest difference in a specified modality of sensory input that is detectable by a human being. It is also known as the &lt;b&gt;difference limen&lt;/b&gt; or the &lt;b&gt;differential threshold&lt;/b&gt;.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5740550295288139350-3130084543524218742?l=kelvinchufei.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='related' href='http://en.wikipedia.org/wiki/Just_noticeable_difference' title='Just noticeable difference or jnd'/><link rel='replies' type='application/atom+xml' href='http://kelvinchufei.blogspot.com/feeds/3130084543524218742/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=5740550295288139350&amp;postID=3130084543524218742' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5740550295288139350/posts/default/3130084543524218742'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5740550295288139350/posts/default/3130084543524218742'/><link rel='alternate' type='text/html' href='http://kelvinchufei.blogspot.com/2008/02/just-noticeable-difference-or-jnd.html' title='Just noticeable difference or jnd'/><author><name>Kelvin Fei Chu</name><uri>http://www.blogger.com/profile/11748397661373760438</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://bp0.blogger.com/_JFxqZRV7aGs/R5oADuf2VKI/AAAAAAAACVI/hPneTeJ_6I8/S220/DSC04852.JPG'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5740550295288139350.post-798938446582430817</id><published>2008-02-15T09:44:00.001-06:00</published><updated>2008-02-15T09:44:30.601-06:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Signal Processing'/><title type='text'>Sensitivity index or d'</title><content type='html'>&lt;p&gt;From Wikipedia:&lt;br /&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;The &lt;b&gt;sensitivity index&lt;/b&gt; or &lt;b&gt;d'&lt;/b&gt; (pronounced 'dee-prime') is a &lt;a href="http://en.wikipedia.org/wiki/Statistic" title="Statistic"&gt;statistic&lt;/a&gt; used in &lt;a href="http://en.wikipedia.org/wiki/Signal_detection_theory" title="Signal detection theory"&gt;signal detection theory&lt;/a&gt;.&lt;/p&gt; &lt;p&gt;d' measures the separation between the means of the signal and noise distributions in units of the standard deviation of the noise distribution. An estimate of d' can be found from measurements of the hit rate and false-alarm rate.&lt;/p&gt; &lt;p&gt;A higher d' indicates that the signal can be more readily detected.&lt;/p&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5740550295288139350-798938446582430817?l=kelvinchufei.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='related' href='http://en.wikipedia.org/wiki/D%27' title='Sensitivity index or d&apos;'/><link rel='replies' type='application/atom+xml' href='http://kelvinchufei.blogspot.com/feeds/798938446582430817/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=5740550295288139350&amp;postID=798938446582430817' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5740550295288139350/posts/default/798938446582430817'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5740550295288139350/posts/default/798938446582430817'/><link rel='alternate' type='text/html' href='http://kelvinchufei.blogspot.com/2008/02/sensitivity-index-or-d.html' title='Sensitivity index or d&apos;'/><author><name>Kelvin Fei Chu</name><uri>http://www.blogger.com/profile/11748397661373760438</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://bp0.blogger.com/_JFxqZRV7aGs/R5oADuf2VKI/AAAAAAAACVI/hPneTeJ_6I8/S220/DSC04852.JPG'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5740550295288139350.post-4038832821459843039</id><published>2008-02-15T09:39:00.001-06:00</published><updated>2008-02-15T09:41:30.241-06:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Signal Processing'/><title type='text'>ROC curve (Receiver operating characteristic)</title><content type='html'>From Wikipedia:&lt;br /&gt;&lt;br /&gt;In &lt;a href="http://en.wikipedia.org/wiki/Signal_detection_theory" title="Signal detection theory"&gt;signal detection theory&lt;/a&gt;, a &lt;b&gt;receiver operating characteristic&lt;/b&gt; (&lt;b&gt;ROC&lt;/b&gt;), or simply &lt;b&gt;ROC curve&lt;/b&gt;, is a &lt;a href="http://en.wikipedia.org/wiki/Graph_of_a_function" title="Graph of a function"&gt;graphical&lt;/a&gt; plot of the &lt;a href="http://en.wikipedia.org/wiki/Sensitivity_%28tests%29" title="Sensitivity (tests)"&gt;sensitivity&lt;/a&gt; vs. (1 - &lt;a href="http://en.wikipedia.org/wiki/Specificity_%28tests%29" title="Specificity (tests)"&gt;specificity&lt;/a&gt;) for a &lt;a href="http://en.wikipedia.org/wiki/Binary_classifier" title="Binary classifier"&gt;binary classifier&lt;/a&gt; system as its discrimination threshold is varied. The ROC can also be represented equivalently by plotting the fraction of &lt;a href="http://en.wikipedia.org/wiki/True_positive" title="True positive"&gt;true positives&lt;/a&gt; (TPR = true positive rate) vs. the fraction of &lt;a href="http://en.wikipedia.org/wiki/False_positive" title="False positive"&gt;false positives&lt;/a&gt; (FPR = false positive rate). Also known as a Relative Operating Characteristic curve, because it is a comparison of two operating characteristics (TPR &amp;amp; FPR) as the criterion changes&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5740550295288139350-4038832821459843039?l=kelvinchufei.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='related' href='http://en.wikipedia.org/wiki/ROC_curve' title='ROC curve (Receiver operating characteristic)'/><link rel='replies' type='application/atom+xml' href='http://kelvinchufei.blogspot.com/feeds/4038832821459843039/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=5740550295288139350&amp;postID=4038832821459843039' title='2 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5740550295288139350/posts/default/4038832821459843039'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5740550295288139350/posts/default/4038832821459843039'/><link rel='alternate' type='text/html' href='http://kelvinchufei.blogspot.com/2008/02/roc-curve-receiver-operating.html' title='ROC curve (Receiver operating characteristic)'/><author><name>Kelvin Fei Chu</name><uri>http://www.blogger.com/profile/11748397661373760438</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://bp0.blogger.com/_JFxqZRV7aGs/R5oADuf2VKI/AAAAAAAACVI/hPneTeJ_6I8/S220/DSC04852.JPG'/></author><thr:total>2</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5740550295288139350.post-3802692632467515098</id><published>2008-02-12T16:22:00.001-06:00</published><updated>2008-02-15T10:35:36.159-06:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Signal Processing'/><title type='text'>Properties of Fourier Transform</title><content type='html'>http://en.wikipedia.org/wiki/Fourier_transform&lt;br /&gt;http://mathworld.wolfram.com/FourierTransform.html&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5740550295288139350-3802692632467515098?l=kelvinchufei.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='related' href='http://mathworld.wolfram.com/FourierTransform.html' title='Properties of Fourier Transform'/><link rel='replies' type='application/atom+xml' href='http://kelvinchufei.blogspot.com/feeds/3802692632467515098/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=5740550295288139350&amp;postID=3802692632467515098' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5740550295288139350/posts/default/3802692632467515098'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5740550295288139350/posts/default/3802692632467515098'/><link rel='alternate' type='text/html' href='http://kelvinchufei.blogspot.com/2008/02/properties-of-fourier-transform.html' title='Properties of Fourier Transform'/><author><name>Kelvin Fei Chu</name><uri>http://www.blogger.com/profile/11748397661373760438</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://bp0.blogger.com/_JFxqZRV7aGs/R5oADuf2VKI/AAAAAAAACVI/hPneTeJ_6I8/S220/DSC04852.JPG'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5740550295288139350.post-898361327802641146</id><published>2008-02-12T14:13:00.000-06:00</published><updated>2008-02-12T14:19:16.717-06:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Signal Processing'/><title type='text'>Compute pseudo-frequency for wavelet scalogram</title><content type='html'>% Compute pseudo-frequencies for wavelet scalogram&lt;br /&gt;f = centfrq(wfun)./(a.*delta);&lt;br /&gt;&lt;br /&gt;a is the scaler&lt;br /&gt;wfun is the mother wavelet function&lt;br /&gt;centfrq is the fft peak frequency&lt;br /&gt;delta is sampling period (i.e. 1/fs)&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5740550295288139350-898361327802641146?l=kelvinchufei.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://kelvinchufei.blogspot.com/feeds/898361327802641146/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=5740550295288139350&amp;postID=898361327802641146' title='3 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5740550295288139350/posts/default/898361327802641146'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5740550295288139350/posts/default/898361327802641146'/><link rel='alternate' type='text/html' href='http://kelvinchufei.blogspot.com/2008/02/compute-pseudo-frequencies-for-wavelet.html' title='Compute pseudo-frequency for wavelet scalogram'/><author><name>Kelvin Fei Chu</name><uri>http://www.blogger.com/profile/11748397661373760438</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://bp0.blogger.com/_JFxqZRV7aGs/R5oADuf2VKI/AAAAAAAACVI/hPneTeJ_6I8/S220/DSC04852.JPG'/></author><thr:total>3</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5740550295288139350.post-1273938206075639149</id><published>2008-02-12T13:55:00.000-06:00</published><updated>2008-02-12T13:56:47.479-06:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Signal Processing'/><title type='text'>Envelope signal after hilbert transform has a group delay of N/2</title><content type='html'>Suppose the hilbert transform involves a N point FFT, then the group delay of the envelop signal is N/2.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5740550295288139350-1273938206075639149?l=kelvinchufei.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://kelvinchufei.blogspot.com/feeds/1273938206075639149/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=5740550295288139350&amp;postID=1273938206075639149' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5740550295288139350/posts/default/1273938206075639149'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5740550295288139350/posts/default/1273938206075639149'/><link rel='alternate' type='text/html' href='http://kelvinchufei.blogspot.com/2008/02/envelope-signal-after-hilbert-transform.html' title='Envelope signal after hilbert transform has a group delay of N/2'/><author><name>Kelvin Fei Chu</name><uri>http://www.blogger.com/profile/11748397661373760438</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://bp0.blogger.com/_JFxqZRV7aGs/R5oADuf2VKI/AAAAAAAACVI/hPneTeJ_6I8/S220/DSC04852.JPG'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5740550295288139350.post-7125884409465053258</id><published>2008-02-11T01:04:00.000-06:00</published><updated>2008-02-11T01:05:09.785-06:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Auditory Peripheral Model'/><title type='text'>Frequency -&gt; ERB_N-rate and ERB_N-Bandwidth (Glasberg and Moore, 1990)</title><content type='html'>ERBrate     = 21.4.*log10(4.37*cf/1000+1);&lt;br /&gt;ERBwidth    = 24.7.*(4.37*cf/1000 + 1);&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5740550295288139350-7125884409465053258?l=kelvinchufei.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://kelvinchufei.blogspot.com/feeds/7125884409465053258/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=5740550295288139350&amp;postID=7125884409465053258' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5740550295288139350/posts/default/7125884409465053258'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5740550295288139350/posts/default/7125884409465053258'/><link rel='alternate' type='text/html' href='http://kelvinchufei.blogspot.com/2008/02/frequency-erbn-rate-and-erbn-bandwidth.html' title='Frequency -&gt; ERB_N-rate and ERB_N-Bandwidth (Glasberg and Moore, 1990)'/><author><name>Kelvin Fei Chu</name><uri>http://www.blogger.com/profile/11748397661373760438</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://bp0.blogger.com/_JFxqZRV7aGs/R5oADuf2VKI/AAAAAAAACVI/hPneTeJ_6I8/S220/DSC04852.JPG'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5740550295288139350.post-1978851511451541418</id><published>2008-02-08T10:48:00.001-06:00</published><updated>2008-02-08T13:14:37.947-06:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Signal Processing'/><title type='text'>An Efficient Implementation of Gammatone Filters by Cooke</title><content type='html'>http://www.dcs.shef.ac.uk/~ning/resources/gammatone/&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Also: see http://library.wolfram.com/infocenter/MathSource/2052/ by Slaney&lt;br /&gt;&lt;br /&gt;Doc:http://citeseer.comp.nus.edu.sg/cache/papers/cs/4963/http:zSzzSzwww.slaney.orgzSzmalcolmzSzapplezSztr35zSzPattersonsEar.pdf/slaney93efficient.pdf&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5740550295288139350-1978851511451541418?l=kelvinchufei.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='related' href='http://www.dcs.shef.ac.uk/~ning/resources/gammatone/' title='An Efficient Implementation of Gammatone Filters by Cooke'/><link rel='replies' type='application/atom+xml' href='http://kelvinchufei.blogspot.com/feeds/1978851511451541418/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=5740550295288139350&amp;postID=1978851511451541418' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5740550295288139350/posts/default/1978851511451541418'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5740550295288139350/posts/default/1978851511451541418'/><link rel='alternate' type='text/html' href='http://kelvinchufei.blogspot.com/2008/02/efficient-implementation-of-gammatone.html' title='An Efficient Implementation of Gammatone Filters by Cooke'/><author><name>Kelvin Fei Chu</name><uri>http://www.blogger.com/profile/11748397661373760438</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://bp0.blogger.com/_JFxqZRV7aGs/R5oADuf2VKI/AAAAAAAACVI/hPneTeJ_6I8/S220/DSC04852.JPG'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5740550295288139350.post-2912558297263571564</id><published>2008-02-08T09:52:00.009-06:00</published><updated>2008-02-28T04:02:39.963-06:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Signal Processing'/><category scheme='http://www.blogger.com/atom/ns#' term='Wavelet'/><category scheme='http://www.blogger.com/atom/ns#' term='My scripts'/><title type='text'>Equivalent Rectangular Bandwidth for an arbitrary band-pass filter</title><content type='html'>&lt;span xmlns=""&gt;&lt;p&gt; he &lt;i&gt;equivalent rectangular bandwidth&lt;/i&gt; (ERB) of a filter is defined as the width of a rectangular filter whose height equals the peak gain of the filter and which passes the same total power as the filter (given a flat spectrum input such as white noise or an impulse).&lt;/p&gt;&lt;/span&gt;Suppose the power density of an arbitrary digital filter is y(f)=|&lt;span style="font-family:Blackadder ITC;"&gt;F &lt;/span&gt;(f)|^2, the discrete form is Y(f&lt;sub&gt;i&lt;/sub&gt;)=|&lt;span style="font-family:Blackadder ITC;"&gt;F &lt;/span&gt;(f&lt;sub&gt;i&lt;/sub&gt;)|^2, then&lt;span xmlns=""&gt;&lt;p&gt;&lt;span style="line-height: 115%;"&gt;&lt;span style="position: relative; top: 16pt;"&gt;&lt;!--[if gte vml 1]&gt;&lt;v:shapetype id="_x0000_t75" coordsize="21600,21600" spt="75" preferrelative="t" path="m@4@5l@4@11@9@11@9@5xe" filled="f" stroked="f"&gt;  &lt;v:stroke joinstyle="miter"&gt;  &lt;v:formulas&gt;   &lt;v:f eqn="if lineDrawn pixelLineWidth 0"&gt;   &lt;v:f eqn="sum @0 1 0"&gt;   &lt;v:f eqn="sum 0 0 @1"&gt;   &lt;v:f eqn="prod @2 1 2"&gt;   &lt;v:f eqn="prod @3 21600 pixelWidth"&gt;   &lt;v:f eqn="prod @3 21600 pixelHeight"&gt;   &lt;v:f eqn="sum @0 0 1"&gt;   &lt;v:f eqn="prod @6 1 2"&gt;   &lt;v:f eqn="prod @7 21600 pixelWidth"&gt;   &lt;v:f eqn="sum @8 21600 0"&gt;   &lt;v:f eqn="prod @7 21600 pixelHeight"&gt;   &lt;v:f eqn="sum @10 21600 0"&gt;  &lt;/v:formulas&gt;  &lt;v:path extrusionok="f" gradientshapeok="t" connecttype="rect"&gt;  &lt;o:lock ext="edit" aspectratio="t"&gt; &lt;/v:shapetype&gt;&lt;v:shape id="_x0000_i1025" type="#_x0000_t75" style="'width:147.75pt;" ole=""&gt;  &lt;v:imagedata src="file:///C:\DOCUME~1\ADMINI~1\LOCALS~1\Temp\msohtmlclip1\01\clip_image001.wmz" title=""&gt; &lt;/v:shape&gt;&lt;![endif]--&gt;&lt;!--[if !vml]--&gt;&lt;!--[endif]--&gt;&lt;/span&gt;&lt;!--[if gte mso 9]&gt;&lt;xml&gt;  &lt;o:oleobject type="Embed" progid="Equation.DSMT4" shapeid="_x0000_i1025" drawaspect="Content" objectid="_1265547389"&gt;  &lt;/o:OLEObject&gt; &lt;/xml&gt;&lt;![endif]--&gt;&lt;/span&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://bp0.blogger.com/_JFxqZRV7aGs/R8aGpwHVxzI/AAAAAAAACZY/4PuKaPdwi7I/s1600-h/clip_image002.gif"&gt;&lt;img style="cursor: pointer;" src="http://bp0.blogger.com/_JFxqZRV7aGs/R8aGpwHVxzI/AAAAAAAACZY/4PuKaPdwi7I/s320/clip_image002.gif" alt="" id="BLOGGER_PHOTO_ID_5171969273930041138" border="0" /&gt;&lt;/a&gt;&lt;/p&gt;&lt;p&gt; where Pm(Y) is the peak value of Y(f&lt;sub&gt;i&lt;/sub&gt;).&lt;/p&gt;Below is an application of estimating the fb parameter for complex morlet wavelet filter bank to best fit the Glasberg&amp;amp;Moore 1990 auditory filter bank ERB data.&lt;br /&gt;&lt;br /&gt;Download: &lt;a href="https://jshare.johnshopkins.edu/fchu3/myscript/ERB.zip?uniq=l3l0n"&gt;here&lt;/a&gt;.&lt;br /&gt;&lt;br /&gt;Please give reference if you want to use the code.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5740550295288139350-2912558297263571564?l=kelvinchufei.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://kelvinchufei.blogspot.com/feeds/2912558297263571564/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=5740550295288139350&amp;postID=2912558297263571564' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5740550295288139350/posts/default/2912558297263571564'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5740550295288139350/posts/default/2912558297263571564'/><link rel='alternate' type='text/html' href='http://kelvinchufei.blogspot.com/2008/02/equivalent-rectangular-bandwidth-for.html' title='Equivalent Rectangular Bandwidth for an arbitrary band-pass filter'/><author><name>Kelvin Fei Chu</name><uri>http://www.blogger.com/profile/11748397661373760438</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://bp0.blogger.com/_JFxqZRV7aGs/R5oADuf2VKI/AAAAAAAACVI/hPneTeJ_6I8/S220/DSC04852.JPG'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://bp0.blogger.com/_JFxqZRV7aGs/R8aGpwHVxzI/AAAAAAAACZY/4PuKaPdwi7I/s72-c/clip_image002.gif' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5740550295288139350.post-1372154948578521243</id><published>2008-01-28T11:16:00.001-06:00</published><updated>2008-01-28T11:24:45.302-06:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Important Papers'/><title type='text'>My paper stack</title><content type='html'>http://www.citeulike.org/user/kelvinchufei&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5740550295288139350-1372154948578521243?l=kelvinchufei.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='related' href='http://www.citeulike.org/user/kelvinchufei' title='My paper stack'/><link rel='replies' type='application/atom+xml' href='http://kelvinchufei.blogspot.com/feeds/1372154948578521243/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=5740550295288139350&amp;postID=1372154948578521243' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5740550295288139350/posts/default/1372154948578521243'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5740550295288139350/posts/default/1372154948578521243'/><link rel='alternate' type='text/html' href='http://kelvinchufei.blogspot.com/2008/01/my-paper-stack.html' title='My paper stack'/><author><name>Kelvin Fei Chu</name><uri>http://www.blogger.com/profile/11748397661373760438</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://bp0.blogger.com/_JFxqZRV7aGs/R5oADuf2VKI/AAAAAAAACVI/hPneTeJ_6I8/S220/DSC04852.JPG'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5740550295288139350.post-5073790379783323498</id><published>2008-01-25T15:08:00.000-06:00</published><updated>2008-01-25T15:10:44.458-06:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Neuroscience'/><title type='text'>Joint Peristimulus Time Histogram</title><content type='html'>&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5740550295288139350-5073790379783323498?l=kelvinchufei.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='related' href='http://mulab.physiol.upenn.edu/jpst.html' title='Joint Peristimulus Time Histogram'/><link rel='replies' type='application/atom+xml' href='http://kelvinchufei.blogspot.com/feeds/5073790379783323498/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=5740550295288139350&amp;postID=5073790379783323498' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5740550295288139350/posts/default/5073790379783323498'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5740550295288139350/posts/default/5073790379783323498'/><link rel='alternate' type='text/html' href='http://kelvinchufei.blogspot.com/2008/01/joint-peristimulus-time-histogram.html' title='Joint Peristimulus Time Histogram'/><author><name>Kelvin Fei Chu</name><uri>http://www.blogger.com/profile/11748397661373760438</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://bp0.blogger.com/_JFxqZRV7aGs/R5oADuf2VKI/AAAAAAAACVI/hPneTeJ_6I8/S220/DSC04852.JPG'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5740550295288139350.post-7506773912507787869</id><published>2008-01-25T13:12:00.001-06:00</published><updated>2008-01-25T13:12:45.667-06:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Miscellaneous'/><title type='text'>Google Scholar Usage Tips</title><content type='html'>&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5740550295288139350-7506773912507787869?l=kelvinchufei.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='related' href='http://biomed.ucsd.edu/GoogleTips.pdf' title='Google Scholar Usage Tips'/><link rel='replies' type='application/atom+xml' href='http://kelvinchufei.blogspot.com/feeds/7506773912507787869/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=5740550295288139350&amp;postID=7506773912507787869' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5740550295288139350/posts/default/7506773912507787869'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5740550295288139350/posts/default/7506773912507787869'/><link rel='alternate' type='text/html' href='http://kelvinchufei.blogspot.com/2008/01/google-scholar-usage-tips.html' title='Google Scholar Usage Tips'/><author><name>Kelvin Fei Chu</name><uri>http://www.blogger.com/profile/11748397661373760438</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://bp0.blogger.com/_JFxqZRV7aGs/R5oADuf2VKI/AAAAAAAACVI/hPneTeJ_6I8/S220/DSC04852.JPG'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5740550295288139350.post-6745514286246408404</id><published>2008-01-25T13:09:00.000-06:00</published><updated>2008-01-25T13:11:14.096-06:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Miscellaneous'/><title type='text'>Google Scholar Citation Export</title><content type='html'>1. Go to &lt;a href="http://scholar.google.com/"&gt;Google Scholar&lt;/a&gt;&lt;br /&gt;2. Click on the &lt;a href="http://scholar.google.com/scholar_preferences"&gt;Scholar Preferences&lt;/a&gt; link to the right of the Scholar search box.&lt;br /&gt;3. Scroll to the bottom of the Scholar Preferences page, and in the 'Bibliography Manager' section, click the radio button next to 'Show link to import citations into' and choose the citation manager format you prefer: BibTeX, EndNote, RefMan, etc.&lt;br /&gt;4. Click the "Save Preferences" button. That's it!&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5740550295288139350-6745514286246408404?l=kelvinchufei.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://kelvinchufei.blogspot.com/feeds/6745514286246408404/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=5740550295288139350&amp;postID=6745514286246408404' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5740550295288139350/posts/default/6745514286246408404'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5740550295288139350/posts/default/6745514286246408404'/><link rel='alternate' type='text/html' href='http://kelvinchufei.blogspot.com/2008/01/google-scholar-citation-export.html' title='Google Scholar Citation Export'/><author><name>Kelvin Fei Chu</name><uri>http://www.blogger.com/profile/11748397661373760438</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://bp0.blogger.com/_JFxqZRV7aGs/R5oADuf2VKI/AAAAAAAACVI/hPneTeJ_6I8/S220/DSC04852.JPG'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5740550295288139350.post-4461271372649937135</id><published>2008-01-25T13:03:00.000-06:00</published><updated>2008-01-25T13:08:00.813-06:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Miscellaneous'/><title type='text'>Google Scholar + CiteULike</title><content type='html'>&lt;span style="font-size:-1;"&gt;CiteULike is a free online service to organise references to academic papers of interest and share them with others. You can create your own library of papers and put tags on them. I feel this is extremely useful as the number of papers I've read increases rapidly.&lt;br /&gt;&lt;br /&gt;Link: &lt;a href="http://www.citeulike.org/"&gt;http://www.citeulike.org/&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Tutorial: &lt;a href="http://www.citeulike.org/post"&gt;http://www.citeulike.org/post&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;You can first use &lt;a href="http://scholar.google.com/schhp?sourceid=navclient&amp;amp;hl=en"&gt;google scholar&lt;/a&gt; to find the paper you need then get into the corresponding abstract page, then click the citeulike button, then it's done! You can put as many tags as you want and keep track of all the papers you have read!&lt;br /&gt; &lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5740550295288139350-4461271372649937135?l=kelvinchufei.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://kelvinchufei.blogspot.com/feeds/4461271372649937135/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=5740550295288139350&amp;postID=4461271372649937135' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5740550295288139350/posts/default/4461271372649937135'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5740550295288139350/posts/default/4461271372649937135'/><link rel='alternate' type='text/html' href='http://kelvinchufei.blogspot.com/2008/01/google-scholar-citeulike.html' title='Google Scholar + CiteULike'/><author><name>Kelvin Fei Chu</name><uri>http://www.blogger.com/profile/11748397661373760438</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://bp0.blogger.com/_JFxqZRV7aGs/R5oADuf2VKI/AAAAAAAACVI/hPneTeJ_6I8/S220/DSC04852.JPG'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5740550295288139350.post-8822939211993095183</id><published>2008-01-25T12:00:00.000-06:00</published><updated>2008-01-25T12:05:37.138-06:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='My scripts'/><category scheme='http://www.blogger.com/atom/ns#' term='Speech Signal'/><title type='text'>Envelop and Temporal Fine Structure of Speech Signal</title><content type='html'>We can use hilbert transform to extract the envelop and temporal fine structure of speech signal.&lt;br /&gt;&lt;br /&gt;Ref: Chris Shen, Zach Smith, Andrew Oxenham, and Bertrand Delgutte 2006; Gaetan Gilbert and Christian Lorenzi 2006;&lt;br /&gt;&lt;br /&gt;Here is my implementation in Matlab R2007b: &lt;a href="https://jshare.johnshopkins.edu/fchu3/myscript/TFS.zip"&gt;Download&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;span&gt;Please give reference if you want to use the code.&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5740550295288139350-8822939211993095183?l=kelvinchufei.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://kelvinchufei.blogspot.com/feeds/8822939211993095183/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=5740550295288139350&amp;postID=8822939211993095183' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5740550295288139350/posts/default/8822939211993095183'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5740550295288139350/posts/default/8822939211993095183'/><link rel='alternate' type='text/html' href='http://kelvinchufei.blogspot.com/2008/01/envelop-and-temporal-fine-structure-of.html' title='Envelop and Temporal Fine Structure of Speech Signal'/><author><name>Kelvin Fei Chu</name><uri>http://www.blogger.com/profile/11748397661373760438</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://bp0.blogger.com/_JFxqZRV7aGs/R5oADuf2VKI/AAAAAAAACVI/hPneTeJ_6I8/S220/DSC04852.JPG'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5740550295288139350.post-5195898757326762824</id><published>2008-01-25T11:25:00.002-06:00</published><updated>2008-01-25T11:26:02.681-06:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Speech Signal'/><title type='text'>Phonemes in English</title><content type='html'>&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5740550295288139350-5195898757326762824?l=kelvinchufei.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='related' href='http://www.lancsngfl.ac.uk/curriculum/literacy/lit_site/lit_sites/phonemes_001/index.htm' title='Phonemes in English'/><link rel='replies' type='application/atom+xml' href='http://kelvinchufei.blogspot.com/feeds/5195898757326762824/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=5740550295288139350&amp;postID=5195898757326762824' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5740550295288139350/posts/default/5195898757326762824'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5740550295288139350/posts/default/5195898757326762824'/><link rel='alternate' type='text/html' href='http://kelvinchufei.blogspot.com/2008/01/phonemes-in-english.html' title='Phonemes in English'/><author><name>Kelvin Fei Chu</name><uri>http://www.blogger.com/profile/11748397661373760438</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://bp0.blogger.com/_JFxqZRV7aGs/R5oADuf2VKI/AAAAAAAACVI/hPneTeJ_6I8/S220/DSC04852.JPG'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5740550295288139350.post-8563041211900345995</id><published>2008-01-25T11:25:00.001-06:00</published><updated>2008-01-25T11:25:40.811-06:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Speech Signal'/><title type='text'>Phoneme Spectral Cues</title><content type='html'>&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5740550295288139350-8563041211900345995?l=kelvinchufei.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='related' href='http://www.cslu.ogi.edu/tutordemos/SpectrogramReading/ipa/ipahome.html' title='Phoneme Spectral Cues'/><link rel='replies' type='application/atom+xml' href='http://kelvinchufei.blogspot.com/feeds/8563041211900345995/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=5740550295288139350&amp;postID=8563041211900345995' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5740550295288139350/posts/default/8563041211900345995'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5740550295288139350/posts/default/8563041211900345995'/><link rel='alternate' type='text/html' href='http://kelvinchufei.blogspot.com/2008/01/phoneme-spectral-cues.html' title='Phoneme Spectral Cues'/><author><name>Kelvin Fei Chu</name><uri>http://www.blogger.com/profile/11748397661373760438</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://bp0.blogger.com/_JFxqZRV7aGs/R5oADuf2VKI/AAAAAAAACVI/hPneTeJ_6I8/S220/DSC04852.JPG'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5740550295288139350.post-644895559676523171</id><published>2008-01-25T11:22:00.000-06:00</published><updated>2008-01-25T11:24:31.667-06:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Speech Signal'/><title type='text'>How to read a spectrogram?</title><content type='html'>&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5740550295288139350-644895559676523171?l=kelvinchufei.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='related' href='http://home.cc.umanitoba.ca/~robh/howto.html' title='How to read a spectrogram?'/><link rel='replies' type='application/atom+xml' href='http://kelvinchufei.blogspot.com/feeds/644895559676523171/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=5740550295288139350&amp;postID=644895559676523171' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5740550295288139350/posts/default/644895559676523171'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5740550295288139350/posts/default/644895559676523171'/><link rel='alternate' type='text/html' href='http://kelvinchufei.blogspot.com/2008/01/how-to-read-spectrogram.html' title='How to read a spectrogram?'/><author><name>Kelvin Fei Chu</name><uri>http://www.blogger.com/profile/11748397661373760438</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://bp0.blogger.com/_JFxqZRV7aGs/R5oADuf2VKI/AAAAAAAACVI/hPneTeJ_6I8/S220/DSC04852.JPG'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5740550295288139350.post-854008142833206812</id><published>2008-01-25T11:10:00.001-06:00</published><updated>2008-02-26T15:32:25.085-06:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Wavelet'/><category scheme='http://www.blogger.com/atom/ns#' term='My scripts'/><category scheme='http://www.blogger.com/atom/ns#' term='Speech Signal'/><title type='text'>Wavelet scalogram using complex morlet wavelet in Matlab R2007b</title><content type='html'>In order to see the frequency formants in speech signal on a wavelet scalogram, usually a time window of certain length is needed. Just like in STFT spectogram,  depending on the size of the analysis window, different levels of frequency/time resolution are achieved. A long window resolves frequency at the expense of time—the result is a &lt;em&gt;narrow band spectrogram&lt;/em&gt;, which reveals individual &lt;em&gt;harmonics&lt;/em&gt; (component frequencies), but smears together adjacent 'moments'. If a short analysis window is used, adjacent harmonics are smeared together, but with better time resolution. The result is a &lt;em&gt;wide band spectrogram&lt;/em&gt; in which individual pitch periods appear as vertical lines (or striations), with &lt;em&gt;formant structure&lt;/em&gt;.&lt;br /&gt;&lt;br /&gt;However, the Morlet wavelet function (wname='morl') included in Matlab R2007b wavelet toolbox doesn't have a bandwidth varying parameter.&lt;br /&gt;&lt;br /&gt;In Matlab R2007b, the morlet function is defined as:&lt;br /&gt;&lt;br /&gt;&lt;div style="text-align: center;"&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://bp1.blogger.com/_JFxqZRV7aGs/R5odf-f2VLI/AAAAAAAACWQ/TmbF7e-Nc1I/s1600-h/ref_0287.gif"&gt;&lt;img style="cursor: pointer;" src="http://bp1.blogger.com/_JFxqZRV7aGs/R5odf-f2VLI/AAAAAAAACWQ/TmbF7e-Nc1I/s320/ref_0287.gif" alt="" id="BLOGGER_PHOTO_ID_5159468758296057010" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;So we will have to use complex morlet wavelet in which a bandwidth parameter is included:&lt;br /&gt;&lt;div style="text-align: center;"&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://bp2.blogger.com/_JFxqZRV7aGs/R8SFWwHVxyI/AAAAAAAACZQ/yd_WyaunqQU/s1600-h/ch06_440.gif"&gt;&lt;img style="cursor: pointer;" src="http://bp2.blogger.com/_JFxqZRV7aGs/R8SFWwHVxyI/AAAAAAAACZQ/yd_WyaunqQU/s320/ch06_440.gif" alt="" id="BLOGGER_PHOTO_ID_5171404898047477538" border="0" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div style="text-align: center;"&gt;&lt;br /&gt;&lt;div style="text-align: left;"&gt;&lt;span style="font-size:100%;"&gt;where fb is a bandwidth parameter, fc is a wavelet center frequency. We can see that the Morlet function above is somehow a form of complex morlet wavelet where fb=2, fc=5/2pi.&lt;br /&gt;&lt;br /&gt;For more formal definitions, please see &lt;a href="http://en.wikipedia.org/wiki/Morlet_wavelet"&gt;http://en.wikipedia.org/wiki/Morlet_wavelet&lt;/a&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style="text-align: left;"&gt;&lt;span style="font-size:100%;"&gt;&lt;br /&gt;In matlab, the continuous wavelet transform using  complex morlet wavelet is realized by:&lt;br /&gt;&lt;/span&gt;&lt;span style=";font-family:monospace;font-size:100%;"  &gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="font-size:100%;"&gt;wname = ['cmor',fb,'-',fc];&lt;br /&gt;&lt;/span&gt;&lt;span style="font-size:100%;"&gt;COEFS = cwt(S,SCALES,'&lt;code style="color: rgb(0, 0, 0);"&gt;&lt;em&gt;wname&lt;/em&gt;&lt;/code&gt;');&lt;/span&gt;&lt;span style="font-size:100%;"&gt;&lt;br /&gt;&lt;br /&gt;Here is my script for getting a wavelet scalogram using complex morlet wavelet.&lt;a href="https://jshare.johnshopkins.edu/fchu3/myscript/scalogram.zip"&gt;Download &lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Please give reference if you want to use the code.&lt;/span&gt;&lt;/div&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5740550295288139350-854008142833206812?l=kelvinchufei.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://kelvinchufei.blogspot.com/feeds/854008142833206812/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=5740550295288139350&amp;postID=854008142833206812' title='21 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5740550295288139350/posts/default/854008142833206812'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5740550295288139350/posts/default/854008142833206812'/><link rel='alternate' type='text/html' href='http://kelvinchufei.blogspot.com/2008/01/wavelet-scalogram-using-complex-morlet.html' title='Wavelet scalogram using complex morlet wavelet in Matlab R2007b'/><author><name>Kelvin Fei Chu</name><uri>http://www.blogger.com/profile/11748397661373760438</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://bp0.blogger.com/_JFxqZRV7aGs/R5oADuf2VKI/AAAAAAAACVI/hPneTeJ_6I8/S220/DSC04852.JPG'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://bp1.blogger.com/_JFxqZRV7aGs/R5odf-f2VLI/AAAAAAAACWQ/TmbF7e-Nc1I/s72-c/ref_0287.gif' height='72' width='72'/><thr:total>21</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5740550295288139350.post-2767202271371053414</id><published>2008-01-25T09:47:00.000-06:00</published><updated>2008-01-25T11:54:44.567-06:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Auditory Peripheral Model'/><category scheme='http://www.blogger.com/atom/ns#' term='My scripts'/><title type='text'>Middle Ear Filter</title><content type='html'>Matlab realization&lt;br /&gt;&lt;br /&gt;My Script file: &lt;a href="https://jshare.johnshopkins.edu/fchu3/myscript/ME.m"&gt;here&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-size: 100%;"&gt;Please give reference if you want to use the code.&lt;/span&gt;&lt;br /&gt;&lt;a href="http://link.aip.org/link/?JASMAN/120/1446/1"&gt;&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5740550295288139350-2767202271371053414?l=kelvinchufei.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://kelvinchufei.blogspot.com/feeds/2767202271371053414/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=5740550295288139350&amp;postID=2767202271371053414' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5740550295288139350/posts/default/2767202271371053414'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5740550295288139350/posts/default/2767202271371053414'/><link rel='alternate' type='text/html' href='http://kelvinchufei.blogspot.com/2008/01/middle-ear-filter.html' title='Middle Ear Filter'/><author><name>Kelvin Fei Chu</name><uri>http://www.blogger.com/profile/11748397661373760438</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://bp0.blogger.com/_JFxqZRV7aGs/R5oADuf2VKI/AAAAAAAACVI/hPneTeJ_6I8/S220/DSC04852.JPG'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5740550295288139350.post-1249816845636735592</id><published>2008-01-25T09:17:00.000-06:00</published><updated>2008-01-25T10:16:07.423-06:00</updated><title type='text'>This old webpage will  be reused</title><content type='html'>This old webpage would be reused to keep track of my research updates.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5740550295288139350-1249816845636735592?l=kelvinchufei.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://kelvinchufei.blogspot.com/feeds/1249816845636735592/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=5740550295288139350&amp;postID=1249816845636735592' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5740550295288139350/posts/default/1249816845636735592'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5740550295288139350/posts/default/1249816845636735592'/><link rel='alternate' type='text/html' href='http://kelvinchufei.blogspot.com/2008/01/old-webpage-reused.html' title='This old webpage will  be reused'/><author><name>Kelvin Fei Chu</name><uri>http://www.blogger.com/profile/11748397661373760438</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://bp0.blogger.com/_JFxqZRV7aGs/R5oADuf2VKI/AAAAAAAACVI/hPneTeJ_6I8/S220/DSC04852.JPG'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5740550295288139350.post-5255406643492351876</id><published>2007-05-18T09:06:00.000-06:00</published><updated>2008-01-25T10:28:21.474-06:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Linux'/><title type='text'>Bash and Bash Scripts</title><content type='html'>http://www-128.ibm.com/developerworks/library/l-bash2.html&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5740550295288139350-5255406643492351876?l=kelvinchufei.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='related' href='http://en.wikipedia.org/wiki/Bash' title='Bash and Bash Scripts'/><link rel='replies' type='application/atom+xml' href='http://kelvinchufei.blogspot.com/feeds/5255406643492351876/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=5740550295288139350&amp;postID=5255406643492351876' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5740550295288139350/posts/default/5255406643492351876'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5740550295288139350/posts/default/5255406643492351876'/><link rel='alternate' type='text/html' href='http://kelvinchufei.blogspot.com/2007/05/bash-and-bash-scripts.html' title='Bash and Bash Scripts'/><author><name>Kelvin Fei Chu</name><uri>http://www.blogger.com/profile/11748397661373760438</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://bp0.blogger.com/_JFxqZRV7aGs/R5oADuf2VKI/AAAAAAAACVI/hPneTeJ_6I8/S220/DSC04852.JPG'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5740550295288139350.post-416217329919380251</id><published>2007-05-18T09:04:00.002-06:00</published><updated>2008-01-25T10:28:21.475-06:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Linux'/><title type='text'>SDVL 64bit Linux Cluster Use</title><content type='html'>&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5740550295288139350-416217329919380251?l=kelvinchufei.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='related' href='http://www.msi.umn.edu/sdvl/index.html' title='SDVL 64bit Linux Cluster Use'/><link rel='replies' type='application/atom+xml' href='http://kelvinchufei.blogspot.com/feeds/416217329919380251/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=5740550295288139350&amp;postID=416217329919380251' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5740550295288139350/posts/default/416217329919380251'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5740550295288139350/posts/default/416217329919380251'/><link rel='alternate' type='text/html' href='http://kelvinchufei.blogspot.com/2007/05/sdvl-64bit-linux-cluster-use.html' title='SDVL 64bit Linux Cluster Use'/><author><name>Kelvin Fei Chu</name><uri>http://www.blogger.com/profile/11748397661373760438</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://bp0.blogger.com/_JFxqZRV7aGs/R5oADuf2VKI/AAAAAAAACVI/hPneTeJ_6I8/S220/DSC04852.JPG'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5740550295288139350.post-7399952246514969828</id><published>2007-05-18T09:04:00.001-06:00</published><updated>2008-01-25T10:28:21.476-06:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Linux'/><title type='text'>Netfinity Linux Cluster Use</title><content type='html'>&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5740550295288139350-7399952246514969828?l=kelvinchufei.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='related' href='http://www.msi.umn.edu/netfinity/index.html' title='Netfinity Linux Cluster Use'/><link rel='replies' type='application/atom+xml' href='http://kelvinchufei.blogspot.com/feeds/7399952246514969828/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=5740550295288139350&amp;postID=7399952246514969828' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5740550295288139350/posts/default/7399952246514969828'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5740550295288139350/posts/default/7399952246514969828'/><link rel='alternate' type='text/html' href='http://kelvinchufei.blogspot.com/2007/05/netfinity-linux-cluster-use.html' title='Netfinity Linux Cluster Use'/><author><name>Kelvin Fei Chu</name><uri>http://www.blogger.com/profile/11748397661373760438</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://bp0.blogger.com/_JFxqZRV7aGs/R5oADuf2VKI/AAAAAAAACVI/hPneTeJ_6I8/S220/DSC04852.JPG'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5740550295288139350.post-7147352308286658357</id><published>2007-05-18T09:03:00.000-06:00</published><updated>2008-01-25T10:28:21.476-06:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Linux'/><title type='text'>Qsub Sample Script</title><content type='html'>&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5740550295288139350-7147352308286658357?l=kelvinchufei.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='related' href='http://discovery.dartmouth.edu/site/Sample_Qsub_script.html' title='Qsub Sample Script'/><link rel='replies' type='application/atom+xml' href='http://kelvinchufei.blogspot.com/feeds/7147352308286658357/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=5740550295288139350&amp;postID=7147352308286658357' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5740550295288139350/posts/default/7147352308286658357'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5740550295288139350/posts/default/7147352308286658357'/><link rel='alternate' type='text/html' href='http://kelvinchufei.blogspot.com/2007/05/qsub-sample-script.html' title='Qsub Sample Script'/><author><name>Kelvin Fei Chu</name><uri>http://www.blogger.com/profile/11748397661373760438</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://bp0.blogger.com/_JFxqZRV7aGs/R5oADuf2VKI/AAAAAAAACVI/hPneTeJ_6I8/S220/DSC04852.JPG'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5740550295288139350.post-4684643697464480516</id><published>2007-05-18T09:02:00.000-06:00</published><updated>2008-01-25T10:28:21.477-06:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Linux'/><title type='text'>Qsub Manual Page</title><content type='html'>&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5740550295288139350-4684643697464480516?l=kelvinchufei.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='related' href='http://www.nas.nasa.gov/Groups/SciCon/Origins/Cluster/PBS/Man/qsub.html' title='Qsub Manual Page'/><link rel='replies' type='application/atom+xml' href='http://kelvinchufei.blogspot.com/feeds/4684643697464480516/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=5740550295288139350&amp;postID=4684643697464480516' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5740550295288139350/posts/default/4684643697464480516'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5740550295288139350/posts/default/4684643697464480516'/><link rel='alternate' type='text/html' href='http://kelvinchufei.blogspot.com/2007/05/qsub-manual-page.html' title='Qsub Manual Page'/><author><name>Kelvin Fei Chu</name><uri>http://www.blogger.com/profile/11748397661373760438</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://bp0.blogger.com/_JFxqZRV7aGs/R5oADuf2VKI/AAAAAAAACVI/hPneTeJ_6I8/S220/DSC04852.JPG'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5740550295288139350.post-7917411686079906097</id><published>2007-05-16T09:18:00.001-06:00</published><updated>2007-05-16T09:18:43.391-06:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Lab-tips'/><title type='text'>How old are you, rat?</title><content type='html'>&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5740550295288139350-7917411686079906097?l=kelvinchufei.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='related' href='http://www.maritime-rattery.20fr.com/photo3.html' title='How old are you, rat?'/><link rel='replies' type='application/atom+xml' href='http://kelvinchufei.blogspot.com/feeds/7917411686079906097/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=5740550295288139350&amp;postID=7917411686079906097' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5740550295288139350/posts/default/7917411686079906097'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5740550295288139350/posts/default/7917411686079906097'/><link rel='alternate' type='text/html' href='http://kelvinchufei.blogspot.com/2007/05/how-old-are-you-rat.html' title='How old are you, rat?'/><author><name>Kelvin Fei Chu</name><uri>http://www.blogger.com/profile/11748397661373760438</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://bp0.blogger.com/_JFxqZRV7aGs/R5oADuf2VKI/AAAAAAAACVI/hPneTeJ_6I8/S220/DSC04852.JPG'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5740550295288139350.post-5742327482732605250</id><published>2007-05-14T13:27:00.000-06:00</published><updated>2007-05-14T13:28:13.368-06:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='RTXI-RTLDC'/><title type='text'>How to install RTXI with Xenomai on Fedora Core 6</title><content type='html'>Installing RTXI requires several software packages to work in concert. &lt;br /&gt;&lt;br /&gt;On each of the following pages we will provide detailed instructions on installing this software.&lt;br /&gt;&lt;br /&gt;You can get an overview of the software installation from: [http://rtxi.sourceforge.net RTXI at sourceforge]&lt;br /&gt;&lt;br /&gt;We used to used Ubuntu 6.06 + RTAI + Comedi + RTXI as a system structure of our dynamic clamp.&lt;br /&gt;&lt;br /&gt;But now we've shifted to Fedora Core 6 + Xenomai + RTXI as a more concise and user-friedly combination.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;== Preparation ==&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;You will need:&lt;br /&gt;&lt;br /&gt;1. [http://fedoraproject.org/wiki/ Fedora Core 6] as the base linux operating system.&lt;br /&gt;&lt;br /&gt;2. [http://www.xenomai.org/ Xenomai] provides the realtime layer.&lt;br /&gt;&lt;br /&gt;3. [http://www.rtxi.org RTXI] acts as the main application of the dynamic clamp.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;== Install Fedora Core 6==&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Usually you can just insert the installation cd and follow the instructions during installation.&lt;br /&gt;&lt;br /&gt;A detailed instruction manual can be found at [http://www.informit.com/articles/article.asp?p=169466&amp;rl=1 here].&lt;br /&gt;&lt;br /&gt;Sometimes you may need partition before installing fedora if you want to dual-boot systems. You can use many different types of partition softwares in Windows to carry out this job. For example, [http://www.symantec.com/partitionmagic/ Symantec PartitionMagic].&lt;br /&gt;&lt;br /&gt;== Install Xenomai ==&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;1.0 Download the linux base kernel&lt;br /&gt;&lt;br /&gt;----&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;First you need to download Xenomai [http://www.xenomai.org/ here]. Extract the files, for example, into /usr/src/xenomai-2.1.&lt;br /&gt;&lt;br /&gt;Then come to the linux kernel. You can find linux base kernel [http://www.kernel.org here]. For example, if you are using 2.6.20 kernel, you may download the kernel and extract it into /usr/src/linux-2.6.20. Then you should make a symbol link from that directory to /usr/src/linux:&lt;br /&gt;&lt;br /&gt;'''$ su -'''&lt;br /&gt;&lt;br /&gt;'''$ ln -s /usr/src/linux-2.6.20 /usr/src/linux'''&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;1.1 Preparing the target kernel&lt;br /&gt;&lt;br /&gt;----&lt;br /&gt;&lt;br /&gt;Xenomai provides a real-time sub-system seamlessly integrated to Linux, therefore the first step is to build it as part of the target kernel. To this end, scripts/prepare-kernel.sh is a shell script which sets up the target kernel properly. The syntax is as follows:&lt;br /&gt;&lt;br /&gt;'''$ scripts/prepare-kernel.sh --linux=&lt;linux-srctree&gt; [--adeos=&lt;adeos-patch&gt;] [--arch=&lt;target-arch&gt;]'''&lt;br /&gt;&lt;br /&gt;--linux specifies the path of the target kernel source tree. Such kernel tree being configured or not makes no difference and is valid either way.&lt;br /&gt;&lt;br /&gt;--adeos specifies the path of the Adeos patch to apply against the kernel tree. This parameter can be omitted if Adeos has already been patched in. In any case, the script will not try to apply it again whenever a former patch is detected.&lt;br /&gt;&lt;br /&gt;--arch tells the script about the target architecture. If unspecified, the build system architecture is detected and suggested as a reasonable default.&lt;br /&gt;&lt;br /&gt;Introduction about ADEOS can be found [http://home.gna.org/adeos/ here]. You can download the corresponding adeos patch with your linux kernel version.&lt;br /&gt;&lt;br /&gt;For instance, the following command would prepare the Linux tree located at /usr/src/linux-2.6.20 in order to include the Xenomai support:&lt;br /&gt;&lt;br /&gt;'''$ su -'''&lt;br /&gt;&lt;br /&gt;'''$ cd xenomai-2.1'''&lt;br /&gt;&lt;br /&gt;'''$ scripts/prepare-kernel.sh --linux=/usr/src/linux --adeos=/tmp/adeos-ipipe-2.6.20-i386-1.0-09.patch --arch=i386'''&lt;br /&gt;&lt;br /&gt;Note: The script will infer the location of the Xenomai kernel code from its own location within the Xenomai source tree. In other words, if /usr/src/xenomai-2.1/script/prepare-kernel.sh is executing, then Xenomai's kernel support available from /usr/src/xenomai-2.1/ksrc will be bound to the target kernel.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;1.2 Configuring and building the target kernel&lt;br /&gt;&lt;br /&gt;----------------------------------------------&lt;br /&gt;&lt;br /&gt;Once the target kernel has been prepared, all Xenomai configuration options are available from the "Real-time subsystem" toplevel menu.&lt;br /&gt;&lt;br /&gt;There are several configure options that cause large latencies; they should be avoided.  The TROUBLESHOOTING file identifies them and explains the issues with their use.  Once configured, the kernel should be built as usual.&lt;br /&gt;&lt;br /&gt;In the following steps, suppose $xenomai_root = path to the Xenomai sources and $build_root = path to a clean build directory.&lt;br /&gt;&lt;br /&gt;'''$ su -'''&lt;br /&gt;&lt;br /&gt;'''$ cd /usr/src/linux'''&lt;br /&gt;&lt;br /&gt;'''$ make xconfig/gconfig/menuconfig'''     # remeber to select the kernel and Xenomai options&lt;br /&gt;&lt;br /&gt;'''$ make bzImage modules'''     # then install as needed&lt;br /&gt;&lt;br /&gt;'''$ mkdir $build_root &amp;&amp; cd $build_root'''&lt;br /&gt;&lt;br /&gt;'''$ $xenomai_root/configure --enable-x86-sep'''&lt;br /&gt;&lt;br /&gt;'''$ make install'''&lt;br /&gt;&lt;br /&gt;You can now restart the machine and boot into the new kernel.&lt;br /&gt;&lt;br /&gt;* [[undefined reference to 'smp_processor_id_hw' error]]&lt;br /&gt;&lt;br /&gt;== Install RTXI ==&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Download the RTXI from CVS server [http://sourceforge.net/cvs/?group_id=118411 here].&lt;br /&gt;&lt;br /&gt;'''$  cvs -z3 -d:pserver:anonymous@rtxi.cvs.sourceforge.net:/cvsroot/rtxi co -P rtxi'''&lt;br /&gt;&lt;br /&gt;Extract it to /usr/src/rtxi.&lt;br /&gt;&lt;br /&gt;'''$ su -'''&lt;br /&gt;&lt;br /&gt;'''$ cd /usr/src/rtxi'''&lt;br /&gt;&lt;br /&gt;'''$ ./autogen.sh'''&lt;br /&gt;&lt;br /&gt;'''$ ./configure --enable-xenomai --disable-comedi --prefix=/usr/src/rtxi --enable-ni'''&lt;br /&gt;&lt;br /&gt;'''$ make install'''&lt;br /&gt;&lt;br /&gt;You should be able to run:&lt;br /&gt;&lt;br /&gt;'''$ rtxi'''&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5740550295288139350-5742327482732605250?l=kelvinchufei.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://kelvinchufei.blogspot.com/feeds/5742327482732605250/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=5740550295288139350&amp;postID=5742327482732605250' title='2 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5740550295288139350/posts/default/5742327482732605250'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5740550295288139350/posts/default/5742327482732605250'/><link rel='alternate' type='text/html' href='http://kelvinchufei.blogspot.com/2007/05/how-to-install-rtxi-with-xenomai-on.html' title='How to install RTXI with Xenomai on Fedora Core 6'/><author><name>Kelvin Fei Chu</name><uri>http://www.blogger.com/profile/11748397661373760438</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://bp0.blogger.com/_JFxqZRV7aGs/R5oADuf2VKI/AAAAAAAACVI/hPneTeJ_6I8/S220/DSC04852.JPG'/></author><thr:total>2</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5740550295288139350.post-3978825857729055644</id><published>2007-03-21T16:31:00.001-06:00</published><updated>2008-01-25T10:28:21.477-06:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Linux'/><title type='text'>How to install Graphical User Interface for yum</title><content type='html'>Yumex is a good thing.&lt;br /&gt;&lt;br /&gt;$yum -y install yumex&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5740550295288139350-3978825857729055644?l=kelvinchufei.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://kelvinchufei.blogspot.com/feeds/3978825857729055644/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=5740550295288139350&amp;postID=3978825857729055644' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5740550295288139350/posts/default/3978825857729055644'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5740550295288139350/posts/default/3978825857729055644'/><link rel='alternate' type='text/html' href='http://kelvinchufei.blogspot.com/2007/03/how-to-install-graphical-user-interface.html' title='How to install Graphical User Interface for yum'/><author><name>Kelvin Fei Chu</name><uri>http://www.blogger.com/profile/11748397661373760438</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://bp0.blogger.com/_JFxqZRV7aGs/R5oADuf2VKI/AAAAAAAACVI/hPneTeJ_6I8/S220/DSC04852.JPG'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5740550295288139350.post-4818295674603806026</id><published>2007-03-21T15:24:00.000-06:00</published><updated>2008-01-25T10:28:21.478-06:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Linux'/><title type='text'>How to config remote desktop on Fedora Core 6</title><content type='html'>How to configure:&lt;br /&gt;&lt;br /&gt;"Desktop" -&gt; "Preferences" -&gt; "Remote Desktop"&lt;br /&gt;in "Remote Desktop Preferences" &lt;br /&gt;&lt;br /&gt;"Sharing" -&gt;&lt;br /&gt;"Allow other users to view your desktop" (Checked)&lt;br /&gt;"Allow other users to control your desktop" (Checked)&lt;br /&gt;&lt;br /&gt;"Security" -&gt;&lt;br /&gt;"Ask you for confirmation" (Un-Checked)&lt;br /&gt;"Require the user to enter this password:" (Checked)&lt;br /&gt;Password: Specify the password&lt;br /&gt;&lt;br /&gt;How to connect into remote Fedora desktop:&lt;br /&gt;&lt;br /&gt;Use VNCViwer to connect.&lt;br /&gt;&lt;br /&gt;From Fedora, execute&lt;br /&gt;vncviewer -fullscreen 192.168.0.1:0&lt;br /&gt;&lt;br /&gt;From Windows, &lt;br /&gt;http://fresh.t-systems-sfr.com/cgi-bin/warex?linux/src/vnc-4_1_1-x86_win32_viewer.zip:a/vnc-4_1_1-x86_win32_viewer.exe&lt;br /&gt;&lt;br /&gt;How to install VNC server:&lt;br /&gt;"Desktop"-&gt;"Applications"-&gt;"Add/Remove Package"&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5740550295288139350-4818295674603806026?l=kelvinchufei.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://kelvinchufei.blogspot.com/feeds/4818295674603806026/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=5740550295288139350&amp;postID=4818295674603806026' title='4 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5740550295288139350/posts/default/4818295674603806026'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5740550295288139350/posts/default/4818295674603806026'/><link rel='alternate' type='text/html' href='http://kelvinchufei.blogspot.com/2007/03/how-to-config-remote-desktop-on-fedora.html' title='How to config remote desktop on Fedora Core 6'/><author><name>Kelvin Fei Chu</name><uri>http://www.blogger.com/profile/11748397661373760438</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://bp0.blogger.com/_JFxqZRV7aGs/R5oADuf2VKI/AAAAAAAACVI/hPneTeJ_6I8/S220/DSC04852.JPG'/></author><thr:total>4</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5740550295288139350.post-2814727183098099308</id><published>2007-03-20T14:35:00.000-06:00</published><updated>2008-01-25T10:28:21.479-06:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Linux'/><title type='text'>How to use CVS on Fedora Core 6</title><content type='html'>First thing is to log into the CVS server&lt;br /&gt;&lt;br /&gt;$export CVSROOT=:pserver:cvs_usrname@the_server_name:/home/cvsroot&lt;br /&gt;$cvs login&lt;br /&gt;&lt;br /&gt;1. How to Import your project to CVS server&lt;br /&gt;Enter the project directory you've got, such as "cvstest"&lt;br /&gt;$cd  cvstest&lt;br /&gt;$cvs import -m "this is a cvstest project" cvstest start v_0_0_1&lt;br /&gt;after -m is something you want to note on this version. "cvstest" is the project name. "start" is  the vendor_tag, "v_0_0_1"  is release_tag.&lt;br /&gt;(cvs import -m "write some comments here" project_name vendor_tag release_tag)&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;2. How to Download your project to a new machine&lt;br /&gt;$cvs checkout cvstest&lt;br /&gt;&lt;br /&gt;3. How to Update your project to newest version (you've got a older copy)&lt;br /&gt;$cd cvstest&lt;br /&gt;$cvs update&lt;br /&gt;or $cvs update filename&lt;br /&gt;&lt;br /&gt;4. How to See what's new in CVS server&lt;br /&gt;$cd cvstest&lt;br /&gt;$cvs status&lt;br /&gt;&lt;br /&gt;5. How to Add a new file to the project&lt;br /&gt;$cvs add new_file&lt;br /&gt;Note: for pictures or other non-text items, you need to use "cvs add -kb" to add file with binary mode, such as:&lt;br /&gt;$cvs add -kb new_file.gif&lt;br /&gt;$cvs add -kb readme.doc&lt;br /&gt;&lt;br /&gt;6. How to Remove a file from the project&lt;br /&gt;$cvs rm file_name&lt;br /&gt;&lt;br /&gt;7. How to Finally Submit your edit&lt;br /&gt;After you edit, add or delete files, don't forget to commit the action.&lt;br /&gt;$cvs commit -m "write some comments here" file_name&lt;br /&gt;&lt;br /&gt;8. Abbreviations:&lt;br /&gt;commit=&gt;ci; update=&gt;up; checkout=&gt;co/get; remove=&gt;rm;&lt;br /&gt;For example, "$cvs commit" can be writtern as "$cvs ci"&lt;br /&gt;&lt;br /&gt;9. How to Recover a previous version&lt;br /&gt;(1) $cvs log&lt;br /&gt;Find the version you want to recover, for example, version 1.2&lt;br /&gt;(2) $cvs update -p -r1.2 file_name &gt;file_name&lt;br /&gt;or $cvs update -p -r1.2&lt;br /&gt;Then the old version 1.2 is coming back.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5740550295288139350-2814727183098099308?l=kelvinchufei.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://kelvinchufei.blogspot.com/feeds/2814727183098099308/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=5740550295288139350&amp;postID=2814727183098099308' title='2 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5740550295288139350/posts/default/2814727183098099308'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5740550295288139350/posts/default/2814727183098099308'/><link rel='alternate' type='text/html' href='http://kelvinchufei.blogspot.com/2007/03/how-to-use-cvs-on-fedora.html' title='How to use CVS on Fedora Core 6'/><author><name>Kelvin Fei Chu</name><uri>http://www.blogger.com/profile/11748397661373760438</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://bp0.blogger.com/_JFxqZRV7aGs/R5oADuf2VKI/AAAAAAAACVI/hPneTeJ_6I8/S220/DSC04852.JPG'/></author><thr:total>2</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5740550295288139350.post-7932406461197465340</id><published>2007-03-20T13:24:00.000-06:00</published><updated>2008-01-25T10:28:21.480-06:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Linux'/><title type='text'>How to setup CVS server on Fedora Core 6</title><content type='html'>Login as "root":&lt;br /&gt;&lt;br /&gt;(1) Get xinetd package installed&lt;br /&gt;&lt;br /&gt;(2) Get cvs package installed&lt;br /&gt;&lt;br /&gt;(3) Create a group CVS&lt;br /&gt;&lt;br /&gt;(4) Create a user cvsroot and assign it to CVS group, the home directory for user cvsroot should now be at /home/cvsroot.&lt;br /&gt;&lt;br /&gt;(5) $gedit /etc/services&lt;br /&gt;and look for "cvspserver". There should be 2 lines like:&lt;br /&gt;cvspserver 2401/tcp   # CVS client/server operations&lt;br /&gt;cvspserver 2401/udp   # CVS client/server operations&lt;br /&gt;If there are no such lines, add them into /etc/services.&lt;br /&gt;&lt;br /&gt;(6) In /etc/xinet.d/, look for file "cvs", if there is no such file, create it.&lt;br /&gt;Edit the file /etc/xinet.d/cvs and make it look like:&lt;br /&gt;# default: off&lt;br /&gt;# description: The CVS service can record the history of your source \&lt;br /&gt;#              files. CVS stores all the versions of a file in a single \&lt;br /&gt;#              file in a clever way that only stores the differences \&lt;br /&gt;#              between versions.&lt;br /&gt;service cvspserver&lt;br /&gt;{&lt;br /&gt; port   = 2401&lt;br /&gt; socket_type  = stream&lt;br /&gt; protocol  = tcp&lt;br /&gt; wait   = no&lt;br /&gt; user   = root&lt;br /&gt; server   = /usr/bin/cvs&lt;br /&gt; server_args  = -f --allow-root=/home/cvsroot pserver&lt;br /&gt;}&lt;br /&gt;&lt;br /&gt;(7) $/etc/init.d/xinetd restart&lt;br /&gt;&lt;br /&gt;(8) In "System"-&gt;"Administration"-&gt;"Security Level and Firewall", add firewall exception of port "2401" corresponding to "cvspserver" service, and also remember to "Modify SELinux policy"-&gt;"SELinux Service Protection"-&gt;"Disable ELinux Service Protection for cvs".&lt;br /&gt;This step is proved to be very important!&lt;br /&gt;&lt;br /&gt;Login as "cvsroot":&lt;br /&gt;&lt;br /&gt;(9) $cvs -d /home/cvsroot init&lt;br /&gt;&lt;br /&gt;(10) $cd /home/cvsroot&lt;br /&gt;&lt;br /&gt;(11) $chmod 771 CVSROOT&lt;br /&gt;CVSROOT is a directory automatically generated under /home/cvsroot.&lt;br /&gt;&lt;br /&gt;At this time, all local real system users can log into CVS server with their own passwords.&lt;br /&gt;If you want to disable local real system users' login, you can do by:&lt;br /&gt;&lt;br /&gt;(12) $ chmod 644 /home/cvsroot/CVSROOT/config&lt;br /&gt;     $ vi $CVSROOT/CVSROOT/config&lt;br /&gt;Here you need to uncomment the line where #SystemAuth = yes. And set SystemAuth = no.&lt;br /&gt;&lt;br /&gt;Then now your system users cannot use CVS service with their own system passwords, except you assign them manually in file /home/cvsroot/CVSROOT/passwd.&lt;br /&gt;&lt;br /&gt;(13) To control user access in CVS, there are three files in /home/cvsroot/CVSROOT/, respectively named passwd, readers, writers. The file readers and writers are not there by default, so you have to create them manually.&lt;br /&gt;&lt;br /&gt;In file "passwd", ithere stores the shadow files for username and password, following the rule:&lt;br /&gt;{cvs usrname}:[encrypted pwd]:[equivalent system usrname]&lt;br /&gt;where the second field is encrypted with crypt(3), just like in /etc/shadow.&lt;br /&gt;The thrid field equivalent system usrname means the corresponding system priviledge the cvs usrname has.&lt;br /&gt;&lt;br /&gt;In file "readers", there stores the list of cvs usrnames of whom you want to enable to only have read acess.&lt;br /&gt;&lt;br /&gt;Similarly, in file "writers", there stores the list of cvs usrnames of whom you want to enable to only have read acess.&lt;br /&gt;&lt;br /&gt;Now, let us suppose we have CVS users "henry", "betty", "anonymous". And we don't want to give them system access, which means the corresponding system priviledge the cvs usrnames have are all null. So, we need to create an equivalent system user, which names "cvspub", who has no system priviledge at all.&lt;br /&gt;&lt;br /&gt;$ useradd -g CVS -M -s /sbin/nologin cvspub&lt;br /&gt;&lt;br /&gt;Then edit file "passwd", make it like:&lt;br /&gt;&lt;br /&gt;henry:$fajkdpaieje:cvspub&lt;br /&gt;betty:fjkal;ffjieinfn/:cvspub&lt;br /&gt;anonymous::cvspub&lt;br /&gt;&lt;br /&gt;Now suppose we want to let henry has write acess while betty and anonymous only have read acess.&lt;br /&gt;Then edit file "readers", make it like:&lt;br /&gt;betty&lt;br /&gt;anonymous&lt;br /&gt;&lt;br /&gt;And edit file "writers", make it like:&lt;br /&gt;henry&lt;br /&gt;&lt;br /&gt;Then it is all finished.&lt;br /&gt;&lt;br /&gt;(14) Test login:&lt;br /&gt;$export CVSROOT=:pserver:henry@the_server_name:/home/cvsroot&lt;br /&gt;$ cvs login&lt;br /&gt;(System will ask for password for henry)&lt;br /&gt; Passwd:xxxxxxxx&lt;br /&gt;There should be no error when you have successfully login to the CVS server.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Problem:&lt;br /&gt;cvs [login aborted]: unrecognized auth response from brachial.umn.edu: cvs pserver: cannot open /home/cvsroot/CVSROOT/config: Permission denied&lt;br /&gt;&lt;br /&gt;Solution:&lt;br /&gt;In "System"-&gt;"Administration"-&gt;"Security Level and Firewall", add firewall exception of port "2401" corresponding to "cvspserver" service, and also remember to "Modify SELinux policy"-&gt;"SELinux Service Protection"-&gt;"Disable ELinux Service Protection for cvs".&lt;br /&gt;This step is proved to be very important!&lt;br /&gt;&lt;br /&gt;Problem:&lt;br /&gt;cvs import: cannot open /root/.cvsignore: Permission denied&lt;br /&gt;&lt;br /&gt;Solution:&lt;br /&gt;Add "-f" to the arguments for cvs in /etc/xinet.d/cvs:&lt;br /&gt; server_args  = -f --allow-root=/home/cvsroot pserver&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5740550295288139350-7932406461197465340?l=kelvinchufei.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://kelvinchufei.blogspot.com/feeds/7932406461197465340/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=5740550295288139350&amp;postID=7932406461197465340' title='11 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5740550295288139350/posts/default/7932406461197465340'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5740550295288139350/posts/default/7932406461197465340'/><link rel='alternate' type='text/html' href='http://kelvinchufei.blogspot.com/2007/03/how-to-setup-cvs-server-on-fedora-core.html' title='How to setup CVS server on Fedora Core 6'/><author><name>Kelvin Fei Chu</name><uri>http://www.blogger.com/profile/11748397661373760438</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://bp0.blogger.com/_JFxqZRV7aGs/R5oADuf2VKI/AAAAAAAACVI/hPneTeJ_6I8/S220/DSC04852.JPG'/></author><thr:total>11</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5740550295288139350.post-4423003346964759268</id><published>2007-03-20T12:09:00.001-06:00</published><updated>2008-01-25T10:28:21.480-06:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Linux'/><title type='text'>Linux Group and User Account Administration</title><content type='html'>&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5740550295288139350-4423003346964759268?l=kelvinchufei.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='related' href='http://www.yolinux.com/TUTORIALS/LinuxTutorialManagingGroups.html' title='Linux Group and User Account Administration'/><link rel='replies' type='application/atom+xml' href='http://kelvinchufei.blogspot.com/feeds/4423003346964759268/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=5740550295288139350&amp;postID=4423003346964759268' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5740550295288139350/posts/default/4423003346964759268'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5740550295288139350/posts/default/4423003346964759268'/><link rel='alternate' type='text/html' href='http://kelvinchufei.blogspot.com/2007/03/linux-group-and-user-account.html' title='Linux Group and User Account Administration'/><author><name>Kelvin Fei Chu</name><uri>http://www.blogger.com/profile/11748397661373760438</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://bp0.blogger.com/_JFxqZRV7aGs/R5oADuf2VKI/AAAAAAAACVI/hPneTeJ_6I8/S220/DSC04852.JPG'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5740550295288139350.post-8867505241405483802</id><published>2007-03-20T11:52:00.000-06:00</published><updated>2008-01-25T10:28:21.481-06:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Linux'/><title type='text'>How to setup CVS (English)</title><content type='html'>http://www.cs.umb.edu/~srevilak/cvs.html&lt;br /&gt;http://owen.sj.ca.us/rkowen/howto/cvs.html&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5740550295288139350-8867505241405483802?l=kelvinchufei.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://kelvinchufei.blogspot.com/feeds/8867505241405483802/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=5740550295288139350&amp;postID=8867505241405483802' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5740550295288139350/posts/default/8867505241405483802'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5740550295288139350/posts/default/8867505241405483802'/><link rel='alternate' type='text/html' href='http://kelvinchufei.blogspot.com/2007/03/how-to-setup-cvs-english.html' title='How to setup CVS (English)'/><author><name>Kelvin Fei Chu</name><uri>http://www.blogger.com/profile/11748397661373760438</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://bp0.blogger.com/_JFxqZRV7aGs/R5oADuf2VKI/AAAAAAAACVI/hPneTeJ_6I8/S220/DSC04852.JPG'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5740550295288139350.post-6804542369901001024</id><published>2007-03-20T11:50:00.001-06:00</published><updated>2008-01-25T10:28:21.482-06:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Linux'/><title type='text'>CVS manual (Chinese)</title><content type='html'>&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5740550295288139350-6804542369901001024?l=kelvinchufei.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='related' href='http://www.chedong.com/tech/cvs_card.html' title='CVS manual (Chinese)'/><link rel='replies' type='application/atom+xml' href='http://kelvinchufei.blogspot.com/feeds/6804542369901001024/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=5740550295288139350&amp;postID=6804542369901001024' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5740550295288139350/posts/default/6804542369901001024'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5740550295288139350/posts/default/6804542369901001024'/><link rel='alternate' type='text/html' href='http://kelvinchufei.blogspot.com/2007/03/cvs-manual-chinese.html' title='CVS manual (Chinese)'/><author><name>Kelvin Fei Chu</name><uri>http://www.blogger.com/profile/11748397661373760438</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://bp0.blogger.com/_JFxqZRV7aGs/R5oADuf2VKI/AAAAAAAACVI/hPneTeJ_6I8/S220/DSC04852.JPG'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5740550295288139350.post-494814502231396931</id><published>2007-03-20T11:46:00.000-06:00</published><updated>2008-01-25T10:28:21.483-06:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Linux'/><title type='text'>How to setup CVS (Chinese)</title><content type='html'>http://www.pgsqldb.org/cvstutorials.html&lt;br /&gt;http://www.linuxmine.com/type1070.html&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5740550295288139350-494814502231396931?l=kelvinchufei.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://kelvinchufei.blogspot.com/feeds/494814502231396931/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=5740550295288139350&amp;postID=494814502231396931' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5740550295288139350/posts/default/494814502231396931'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5740550295288139350/posts/default/494814502231396931'/><link rel='alternate' type='text/html' href='http://kelvinchufei.blogspot.com/2007/03/how-to-setup-cvs-chinese.html' title='How to setup CVS (Chinese)'/><author><name>Kelvin Fei Chu</name><uri>http://www.blogger.com/profile/11748397661373760438</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://bp0.blogger.com/_JFxqZRV7aGs/R5oADuf2VKI/AAAAAAAACVI/hPneTeJ_6I8/S220/DSC04852.JPG'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5740550295288139350.post-2756342486057101739</id><published>2007-03-14T10:45:00.000-06:00</published><updated>2008-01-25T10:27:01.934-06:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Miscellaneous'/><title type='text'>Integrating PHP with Apache on Windows</title><content type='html'>1. Open up the Apache server configure file&lt;br /&gt;&lt;br /&gt;2. Find a section "LoadModule"&lt;br /&gt;At the end of this section, add the following:&lt;br /&gt;&lt;br /&gt;LoadModule php5_module C:/php/php5apache2_2.dll (or php5apache2.dll)&lt;br /&gt;&lt;br /&gt;3. Next look for the section "AddType"&lt;br /&gt;At the end, add the following lines:&lt;br /&gt;&lt;br /&gt;AddType application/x-httpd-php .php .html&lt;br /&gt;PHPIniDir "C:/php"&lt;br /&gt;&lt;br /&gt;4. Restart Apache Server.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5740550295288139350-2756342486057101739?l=kelvinchufei.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://kelvinchufei.blogspot.com/feeds/2756342486057101739/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=5740550295288139350&amp;postID=2756342486057101739' title='3 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5740550295288139350/posts/default/2756342486057101739'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5740550295288139350/posts/default/2756342486057101739'/><link rel='alternate' type='text/html' href='http://kelvinchufei.blogspot.com/2007/03/integrating-php-with-apache-on-windows.html' title='Integrating PHP with Apache on Windows'/><author><name>Kelvin Fei Chu</name><uri>http://www.blogger.com/profile/11748397661373760438</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://bp0.blogger.com/_JFxqZRV7aGs/R5oADuf2VKI/AAAAAAAACVI/hPneTeJ_6I8/S220/DSC04852.JPG'/></author><thr:total>3</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5740550295288139350.post-1535766915221063068</id><published>2007-03-13T15:33:00.000-06:00</published><updated>2008-01-25T10:28:21.484-06:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Linux'/><title type='text'>Use what command to get the library directory</title><content type='html'>rpm -q -l qt-devel&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5740550295288139350-1535766915221063068?l=kelvinchufei.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://kelvinchufei.blogspot.com/feeds/1535766915221063068/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=5740550295288139350&amp;postID=1535766915221063068' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5740550295288139350/posts/default/1535766915221063068'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5740550295288139350/posts/default/1535766915221063068'/><link rel='alternate' type='text/html' href='http://kelvinchufei.blogspot.com/2007/03/use-what-command-to-get-library.html' title='Use what command to get the library directory'/><author><name>Kelvin Fei Chu</name><uri>http://www.blogger.com/profile/11748397661373760438</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://bp0.blogger.com/_JFxqZRV7aGs/R5oADuf2VKI/AAAAAAAACVI/hPneTeJ_6I8/S220/DSC04852.JPG'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5740550295288139350.post-1002672920209616366</id><published>2007-03-13T14:15:00.000-06:00</published><updated>2007-03-15T10:06:37.317-06:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='RTXI-RTLDC'/><title type='text'>Posix enabled RTXI install</title><content type='html'>1.Install the posix patch you need to get rtxi from cvs&lt;br /&gt;&lt;br /&gt;cvs -d:pserver:anonymous@rtxi.cvs.sourceforge.net:/cvsroot/rtxi login&lt;br /&gt; &lt;br /&gt;cvs -z3 -d:pserver:anonymous@rtxi.cvs.sourceforge.net:/cvsroot/rtxi co -P RTXI&lt;br /&gt;&lt;br /&gt;2.Enter that directory and apply the patch:&lt;br /&gt;&lt;br /&gt;patch -p1 &lt; path/of/the/patch(posix.diff)&lt;br /&gt;&lt;br /&gt;3.Compile rtxi, and make sure you give it the --enable-posix flag when you configure.&lt;br /&gt;&lt;br /&gt;./autogen.sh&lt;br /&gt;&lt;br /&gt;./configure --enable-posix&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5740550295288139350-1002672920209616366?l=kelvinchufei.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://kelvinchufei.blogspot.com/feeds/1002672920209616366/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=5740550295288139350&amp;postID=1002672920209616366' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5740550295288139350/posts/default/1002672920209616366'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5740550295288139350/posts/default/1002672920209616366'/><link rel='alternate' type='text/html' href='http://kelvinchufei.blogspot.com/2007/03/posix-enabled-rtxi-install.html' title='Posix enabled RTXI install'/><author><name>Kelvin Fei Chu</name><uri>http://www.blogger.com/profile/11748397661373760438</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://bp0.blogger.com/_JFxqZRV7aGs/R5oADuf2VKI/AAAAAAAACVI/hPneTeJ_6I8/S220/DSC04852.JPG'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5740550295288139350.post-4404957623563932948</id><published>2007-03-12T12:11:00.001-06:00</published><updated>2008-01-25T10:28:21.484-06:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Linux'/><title type='text'>undefined reference to `smp_processor_id_hw' error</title><content type='html'>Problem:&lt;br /&gt;When we are compiliing the new kernel on Fedora Core 6, it returns the error of &lt;br /&gt; &lt;br /&gt;  LD      .tmp_vmlinux1&lt;br /&gt;arch/i386/mach-generic/built-in.o: In function `send_IPI_allbutself':&lt;br /&gt;/usr/src/linux/include/asm/mach-summit/mach_ipi.h:14: undefined reference to `smp_processor_id_hw'&lt;br /&gt;arch/i386/mach-generic/built- in.o: In function `send_IPI_allbutself':&lt;br /&gt;/usr/src/linux/include/asm/mach-bigsmp/mach_ipi.h:14: undefined reference to `smp_processor_id_hw'&lt;br /&gt;arch/i386/mach-generic/built-in.o: In function `target_cpus':&lt;br /&gt;/usr/src/linux/include/asm/mach-es7000/mach_apic.h:19: undefined reference to `smp_processor_id_hw'&lt;br /&gt;/usr/src/linux/include/asm/mach-es7000/mach_apic.h:19: undefined reference to `smp_processor_id_hw'&lt;br /&gt;arch/i386/mach-generic/built- in.o: In function `send_IPI_allbutself':&lt;br /&gt;/usr/src/linux/include/asm/mach-es7000/mach_ipi.h:14: undefined reference to `smp_processor_id_hw'&lt;br /&gt;arch/i386/mach-generic/built-in.o:/usr/src/linux/include/asm/mach-default/mach_ipi.h:22: more undefined references to `smp_processor_id_hw' follow&lt;br /&gt;make: *** [.tmp_vmlinux1] Error 1&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Solution:&lt;br /&gt;You need to change the sub-architecture type to "PC-compatible" you currently have it on generic.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5740550295288139350-4404957623563932948?l=kelvinchufei.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://kelvinchufei.blogspot.com/feeds/4404957623563932948/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=5740550295288139350&amp;postID=4404957623563932948' title='6 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5740550295288139350/posts/default/4404957623563932948'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5740550295288139350/posts/default/4404957623563932948'/><link rel='alternate' type='text/html' href='http://kelvinchufei.blogspot.com/2007/03/undefined-reference-to-smpprocessoridhw.html' title='undefined reference to `smp_processor_id_hw&apos; error'/><author><name>Kelvin Fei Chu</name><uri>http://www.blogger.com/profile/11748397661373760438</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://bp0.blogger.com/_JFxqZRV7aGs/R5oADuf2VKI/AAAAAAAACVI/hPneTeJ_6I8/S220/DSC04852.JPG'/></author><thr:total>6</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5740550295288139350.post-4024356575686839024</id><published>2007-03-09T15:37:00.001-06:00</published><updated>2008-01-25T10:28:21.485-06:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Linux'/><title type='text'>After Fedora pakcage update, cursor disappears</title><content type='html'>Solution:&lt;br /&gt;&lt;br /&gt;As root user, edit /etc/X11/xorg.conf and add:&lt;br /&gt;&lt;br /&gt;Option "HWCursor" "off" &lt;br /&gt;&lt;br /&gt;to the Device section&lt;br /&gt;&lt;br /&gt;save the file and restart X&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5740550295288139350-4024356575686839024?l=kelvinchufei.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://kelvinchufei.blogspot.com/feeds/4024356575686839024/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=5740550295288139350&amp;postID=4024356575686839024' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5740550295288139350/posts/default/4024356575686839024'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5740550295288139350/posts/default/4024356575686839024'/><link rel='alternate' type='text/html' href='http://kelvinchufei.blogspot.com/2007/03/after-fedora-pakcage-update-cursor_09.html' title='After Fedora pakcage update, cursor disappears'/><author><name>Kelvin Fei Chu</name><uri>http://www.blogger.com/profile/11748397661373760438</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://bp0.blogger.com/_JFxqZRV7aGs/R5oADuf2VKI/AAAAAAAACVI/hPneTeJ_6I8/S220/DSC04852.JPG'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5740550295288139350.post-7993786995823455464</id><published>2007-03-09T12:53:00.000-06:00</published><updated>2008-01-25T10:28:21.485-06:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Linux'/><title type='text'>How to compile a kernel on Redhat/Fedora</title><content type='html'>1. Download the correpsonding kernel you want to use from www.kernel.org&lt;br /&gt;2. Unzip the source files to /usr/src/linux&lt;br /&gt;3. Make sure you have all the necessary lib file and devtools, for example, gcc, glibc, qt3/4, etc...&lt;br /&gt;4. Execute: $ cp /boot/config-'uname -r' ./.config&lt;br /&gt;5. Make xconfig&lt;br /&gt;6. Make all&lt;br /&gt;7. Make modules_install&lt;br /&gt;8. Make install&lt;br /&gt;&lt;br /&gt;You may want to change Grub bootfile also: /boot/grub/menu.lst&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5740550295288139350-7993786995823455464?l=kelvinchufei.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://kelvinchufei.blogspot.com/feeds/7993786995823455464/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=5740550295288139350&amp;postID=7993786995823455464' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5740550295288139350/posts/default/7993786995823455464'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5740550295288139350/posts/default/7993786995823455464'/><link rel='alternate' type='text/html' href='http://kelvinchufei.blogspot.com/2007/03/how-to-compile-kernel-on-redhatfedora.html' title='How to compile a kernel on Redhat/Fedora'/><author><name>Kelvin Fei Chu</name><uri>http://www.blogger.com/profile/11748397661373760438</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://bp0.blogger.com/_JFxqZRV7aGs/R5oADuf2VKI/AAAAAAAACVI/hPneTeJ_6I8/S220/DSC04852.JPG'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5740550295288139350.post-7200509157154675710</id><published>2007-03-06T16:11:00.000-06:00</published><updated>2008-01-25T10:28:21.486-06:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Linux'/><title type='text'>Edit /etc/X11/xorg.conf</title><content type='html'># Xorg configuration created by pyxf86config&lt;br /&gt;&lt;br /&gt;Section "ServerLayout"&lt;br /&gt; Identifier     "Default Layout"&lt;br /&gt; Screen      0  "Screen0" 0 0&lt;br /&gt; InputDevice    "Keyboard0" "CoreKeyboard"&lt;br /&gt;EndSection&lt;br /&gt;&lt;br /&gt;Section "InputDevice"&lt;br /&gt; Identifier  "Keyboard0"&lt;br /&gt; Driver      "kbd"&lt;br /&gt; Option     "XkbModel" "pc105"&lt;br /&gt; Option     "XkbLayout" "us"&lt;br /&gt;EndSection&lt;br /&gt;&lt;br /&gt;Section "Device"&lt;br /&gt; Identifier  "NVIDIA 6100"&lt;br /&gt; Driver      "vesa"&lt;br /&gt;        Option "HWCursor" "off"&lt;br /&gt;EndSection&lt;br /&gt;&lt;br /&gt;Section "Monitor"&lt;br /&gt;Identifier "Generic Monitor"&lt;br /&gt;VendorName "Dell"&lt;br /&gt;ModelName "UltraSync 17"&lt;br /&gt;HorizSync 31.5-48.5&lt;br /&gt;VertRefresh 50-70&lt;br /&gt;EndSection&lt;br /&gt;&lt;br /&gt;Section "Screen"&lt;br /&gt; Identifier "Screen0"&lt;br /&gt; Device     "NVIDIA 6100"&lt;br /&gt;        Monitor   "Generic Monitor"&lt;br /&gt; DefaultDepth     24&lt;br /&gt; SubSection "Display"&lt;br /&gt;  Viewport   0 0&lt;br /&gt;  Depth     24&lt;br /&gt;                Modes "1280x1024"&lt;br /&gt; EndSubSection&lt;br /&gt;EndSection&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5740550295288139350-7200509157154675710?l=kelvinchufei.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://kelvinchufei.blogspot.com/feeds/7200509157154675710/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=5740550295288139350&amp;postID=7200509157154675710' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5740550295288139350/posts/default/7200509157154675710'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5740550295288139350/posts/default/7200509157154675710'/><link rel='alternate' type='text/html' href='http://kelvinchufei.blogspot.com/2007/03/edit-etcx11xorg.html' title='Edit /etc/X11/xorg.conf'/><author><name>Kelvin Fei Chu</name><uri>http://www.blogger.com/profile/11748397661373760438</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://bp0.blogger.com/_JFxqZRV7aGs/R5oADuf2VKI/AAAAAAAACVI/hPneTeJ_6I8/S220/DSC04852.JPG'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5740550295288139350.post-2660002887722085883</id><published>2007-03-06T15:46:00.000-06:00</published><updated>2008-01-25T10:28:21.486-06:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Linux'/><title type='text'>RPM HOWTO</title><content type='html'>&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5740550295288139350-2660002887722085883?l=kelvinchufei.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='related' href='http://www.rpm.org/RPM-HOWTO/' title='RPM HOWTO'/><link rel='replies' type='application/atom+xml' href='http://kelvinchufei.blogspot.com/feeds/2660002887722085883/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=5740550295288139350&amp;postID=2660002887722085883' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5740550295288139350/posts/default/2660002887722085883'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5740550295288139350/posts/default/2660002887722085883'/><link rel='alternate' type='text/html' href='http://kelvinchufei.blogspot.com/2007/03/rpm-howto.html' title='RPM HOWTO'/><author><name>Kelvin Fei Chu</name><uri>http://www.blogger.com/profile/11748397661373760438</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://bp0.blogger.com/_JFxqZRV7aGs/R5oADuf2VKI/AAAAAAAACVI/hPneTeJ_6I8/S220/DSC04852.JPG'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5740550295288139350.post-4309921511625938983</id><published>2007-03-06T15:43:00.000-06:00</published><updated>2008-01-25T10:28:21.486-06:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Linux'/><title type='text'>Quick Guide to Red Hat's Package Manager (RPM)</title><content type='html'>&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5740550295288139350-4309921511625938983?l=kelvinchufei.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='related' href='http://www.tfug.org/helpdesk/linux/rpm.html' title='Quick Guide to Red Hat&apos;s Package Manager (RPM)'/><link rel='replies' type='application/atom+xml' href='http://kelvinchufei.blogspot.com/feeds/4309921511625938983/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=5740550295288139350&amp;postID=4309921511625938983' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5740550295288139350/posts/default/4309921511625938983'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5740550295288139350/posts/default/4309921511625938983'/><link rel='alternate' type='text/html' href='http://kelvinchufei.blogspot.com/2007/03/quick-guide-to-red-hats-package-manager.html' title='Quick Guide to Red Hat&apos;s Package Manager (RPM)'/><author><name>Kelvin Fei Chu</name><uri>http://www.blogger.com/profile/11748397661373760438</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://bp0.blogger.com/_JFxqZRV7aGs/R5oADuf2VKI/AAAAAAAACVI/hPneTeJ_6I8/S220/DSC04852.JPG'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5740550295288139350.post-1773227873164074695</id><published>2007-03-06T13:20:00.000-06:00</published><updated>2008-01-25T10:28:21.487-06:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Linux'/><title type='text'>How to backup Ubuntu</title><content type='html'>&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5740550295288139350-1773227873164074695?l=kelvinchufei.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='related' href='http://www.ubuntuforums.org/showthread.php?t=35087' title='How to backup Ubuntu'/><link rel='replies' type='application/atom+xml' href='http://kelvinchufei.blogspot.com/feeds/1773227873164074695/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=5740550295288139350&amp;postID=1773227873164074695' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5740550295288139350/posts/default/1773227873164074695'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5740550295288139350/posts/default/1773227873164074695'/><link rel='alternate' type='text/html' href='http://kelvinchufei.blogspot.com/2007/03/how-to-backup-ubuntu.html' title='How to backup Ubuntu'/><author><name>Kelvin Fei Chu</name><uri>http://www.blogger.com/profile/11748397661373760438</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://bp0.blogger.com/_JFxqZRV7aGs/R5oADuf2VKI/AAAAAAAACVI/hPneTeJ_6I8/S220/DSC04852.JPG'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5740550295288139350.post-3336577588617770843</id><published>2007-03-01T13:40:00.000-06:00</published><updated>2007-03-01T15:18:58.085-06:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='RTXI-RTLDC'/><title type='text'>How to move RTXI from old machine to a new one</title><content type='html'>1. RTAI-patched Linux&lt;br /&gt;Copy the linux source file from old machine(which should already be RTAI patched) &lt;br /&gt;More See http://kelvinchufei.blogspot.com/2006/12/build-real-time-kernel-on-ubuntu-606.html&lt;br /&gt;&lt;br /&gt;Note:You should also directly copy and install the kernel_img.deb and kernel_header.deb from your old machine.&lt;br /&gt;&lt;br /&gt;2. RTAI&lt;br /&gt;Copy the RTAI source file from old machine or you can download RTAI_vulcano from RTAI official site. &lt;br /&gt;&lt;br /&gt;(Note: Version 3.5 hasn't been test yet but version 3.4 is proved to be working)&lt;br /&gt;&lt;br /&gt;3. RTXI&lt;br /&gt;Copy the RTXI source file from old machine.&lt;br /&gt;Download automake1.9 debian package from Internet and install it.&lt;br /&gt;Execute:&lt;br /&gt; ./autogen.sh&lt;br /&gt; ./configure --enable-debug --prefix=/usr/src/rtxi&lt;br /&gt; make&lt;br /&gt; make install&lt;br /&gt;&lt;br /&gt;4. "Theoratically" you don't need to install comedi/comedilib. But we need further investigation.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5740550295288139350-3336577588617770843?l=kelvinchufei.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://kelvinchufei.blogspot.com/feeds/3336577588617770843/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=5740550295288139350&amp;postID=3336577588617770843' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5740550295288139350/posts/default/3336577588617770843'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5740550295288139350/posts/default/3336577588617770843'/><link rel='alternate' type='text/html' href='http://kelvinchufei.blogspot.com/2007/03/how-to-move-rtxi-from-old-machine-to.html' title='How to move RTXI from old machine to a new one'/><author><name>Kelvin Fei Chu</name><uri>http://www.blogger.com/profile/11748397661373760438</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://bp0.blogger.com/_JFxqZRV7aGs/R5oADuf2VKI/AAAAAAAACVI/hPneTeJ_6I8/S220/DSC04852.JPG'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5740550295288139350.post-4973689663432169930</id><published>2007-03-01T13:36:00.000-06:00</published><updated>2008-01-25T10:28:21.487-06:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Linux'/><title type='text'>What is x86-64</title><content type='html'>&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5740550295288139350-4973689663432169930?l=kelvinchufei.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='related' href='http://en.wikipedia.org/wiki/AMD64' title='What is x86-64'/><link rel='replies' type='application/atom+xml' href='http://kelvinchufei.blogspot.com/feeds/4973689663432169930/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=5740550295288139350&amp;postID=4973689663432169930' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5740550295288139350/posts/default/4973689663432169930'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5740550295288139350/posts/default/4973689663432169930'/><link rel='alternate' type='text/html' href='http://kelvinchufei.blogspot.com/2007/03/what-is-x86-64.html' title='What is x86-64'/><author><name>Kelvin Fei Chu</name><uri>http://www.blogger.com/profile/11748397661373760438</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://bp0.blogger.com/_JFxqZRV7aGs/R5oADuf2VKI/AAAAAAAACVI/hPneTeJ_6I8/S220/DSC04852.JPG'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5740550295288139350.post-2728828394772604081</id><published>2007-03-01T13:29:00.000-06:00</published><updated>2008-01-25T10:28:21.487-06:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Linux'/><title type='text'>Add scripts to run when booting up Linux</title><content type='html'>If you want your command to run at boot time, just place it in /etc/rc.local without the sudo in front of it, above "exit 0". You can test it by running the command:&lt;br /&gt;&lt;br /&gt;sudo /etc/init.d/rc.local start.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5740550295288139350-2728828394772604081?l=kelvinchufei.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://kelvinchufei.blogspot.com/feeds/2728828394772604081/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=5740550295288139350&amp;postID=2728828394772604081' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5740550295288139350/posts/default/2728828394772604081'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5740550295288139350/posts/default/2728828394772604081'/><link rel='alternate' type='text/html' href='http://kelvinchufei.blogspot.com/2007/03/add-scripts-to-run-when-booting-up.html' title='Add scripts to run when booting up Linux'/><author><name>Kelvin Fei Chu</name><uri>http://www.blogger.com/profile/11748397661373760438</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://bp0.blogger.com/_JFxqZRV7aGs/R5oADuf2VKI/AAAAAAAACVI/hPneTeJ_6I8/S220/DSC04852.JPG'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5740550295288139350.post-1081402290646458268</id><published>2007-03-01T13:28:00.001-06:00</published><updated>2008-01-25T10:28:21.488-06:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Linux'/><title type='text'>Linux Startup Sequence &amp; Scripts</title><content type='html'>&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5740550295288139350-1081402290646458268?l=kelvinchufei.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='related' href='http://www.luv.asn.au/overheads/linux-startup.html' title='Linux Startup Sequence &amp; Scripts'/><link rel='replies' type='application/atom+xml' href='http://kelvinchufei.blogspot.com/feeds/1081402290646458268/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=5740550295288139350&amp;postID=1081402290646458268' title='3 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5740550295288139350/posts/default/1081402290646458268'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5740550295288139350/posts/default/1081402290646458268'/><link rel='alternate' type='text/html' href='http://kelvinchufei.blogspot.com/2007/03/linux-startup-scripts-sequence.html' title='Linux Startup Sequence &amp; Scripts'/><author><name>Kelvin Fei Chu</name><uri>http://www.blogger.com/profile/11748397661373760438</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://bp0.blogger.com/_JFxqZRV7aGs/R5oADuf2VKI/AAAAAAAACVI/hPneTeJ_6I8/S220/DSC04852.JPG'/></author><thr:total>3</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5740550295288139350.post-1087175323825162220</id><published>2007-03-01T13:15:00.000-06:00</published><updated>2008-01-25T10:28:21.488-06:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='RTXI-RTLDC'/><category scheme='http://www.blogger.com/atom/ns#' term='Linux'/><title type='text'>Potential X problem with Ubuntu 6.06</title><content type='html'>Problem:&lt;br /&gt;&lt;br /&gt;X Error: BadDevice, invalid or uninitialized input device 166&lt;br /&gt;  Major opcode:  146&lt;br /&gt;  Minor opcode:  3&lt;br /&gt;  Resource id:  0x0&lt;br /&gt;Failed to open device&lt;br /&gt;X Error: BadDevice, invalid or uninitialized input device 166&lt;br /&gt;  Major opcode:  146&lt;br /&gt;  Minor opcode:  3&lt;br /&gt;  Resource id:  0x0&lt;br /&gt;Failed to open device&lt;br /&gt;&lt;br /&gt;Solution:&lt;br /&gt;&lt;br /&gt;Go into xorg.conf and comment out the following lines:&lt;br /&gt;&lt;br /&gt;Code:&lt;br /&gt;#    InputDevice    "stylus" "SendCoreEvents"&lt;br /&gt;#    InputDevice    "cursor" "SendCoreEvents"&lt;br /&gt;#    InputDevice    "eraser" "SendCoreEvents"And:&lt;br /&gt;&lt;br /&gt;Code:&lt;br /&gt;#Section "InputDevice"&lt;br /&gt;#&lt;br /&gt;#                                                      # /dev/input/event&lt;br /&gt;#                                                      # for USB&lt;br /&gt;#    Identifier     "stylus"&lt;br /&gt;#    Driver         "wacom"&lt;br /&gt;#    Option         "Device" "/dev/wacom"          # Change to &lt;br /&gt;#    Option         "Type" "stylus"&lt;br /&gt;#    Option         "ForceDevice" "ISDV4"               # Tablet PC ONLY&lt;br /&gt;#EndSection&lt;br /&gt;#&lt;br /&gt;#Section "InputDevice"&lt;br /&gt;#&lt;br /&gt;#                                                      # /dev/input/event&lt;br /&gt;#                                                      # for USB&lt;br /&gt;#    Identifier     "eraser"&lt;br /&gt;#    Driver         "wacom"&lt;br /&gt;#    Option         "Device" "/dev/wacom"          # Change to &lt;br /&gt;#    Option         "Type" "eraser"&lt;br /&gt;#    Option         "ForceDevice" "ISDV4"               # Tablet PC ONLY&lt;br /&gt;#EndSection&lt;br /&gt;#&lt;br /&gt;#Section "InputDevice"&lt;br /&gt;#&lt;br /&gt;#                                                      # /dev/input/event&lt;br /&gt;#                                                      # for USB&lt;br /&gt;#    Identifier     "cursor"&lt;br /&gt;#    Driver         "wacom"&lt;br /&gt;#    Option         "Device" "/dev/wacom"          # Change to &lt;br /&gt;#    Option         "Type" "cursor"&lt;br /&gt;#    Option         "ForceDevice" "ISDV4"               # Tablet PC ONLY&lt;br /&gt;#EndSection&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5740550295288139350-1087175323825162220?l=kelvinchufei.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://kelvinchufei.blogspot.com/feeds/1087175323825162220/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=5740550295288139350&amp;postID=1087175323825162220' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5740550295288139350/posts/default/1087175323825162220'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5740550295288139350/posts/default/1087175323825162220'/><link rel='alternate' type='text/html' href='http://kelvinchufei.blogspot.com/2007/03/potential-x-problem-with-ubuntu-606.html' title='Potential X problem with Ubuntu 6.06'/><author><name>Kelvin Fei Chu</name><uri>http://www.blogger.com/profile/11748397661373760438</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://bp0.blogger.com/_JFxqZRV7aGs/R5oADuf2VKI/AAAAAAAACVI/hPneTeJ_6I8/S220/DSC04852.JPG'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5740550295288139350.post-3723731898037503125</id><published>2007-03-01T12:59:00.000-06:00</published><updated>2007-03-01T13:14:25.126-06:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='RTXI-RTLDC'/><title type='text'>How to install RTXI on Ubuntu 6.06 (1)</title><content type='html'>1. Make sure the RTAI kernel is working (i.e. you can load realtime modules and do the latency test successfully.)&lt;br /&gt;See http://kelvinchufei.blogspot.com/2006/12/build-real-time-kernel-on-ubuntu-606.html&lt;br /&gt;See also http://kelvinchufei.blogspot.com/2006/12/myscripts-memo.html&lt;br /&gt;&lt;br /&gt;2. Get the latest version of "automake" such as version 1.9&lt;br /&gt;(don't use the one Ubuntu provided by default thru apt-get, but instead find a seperate .deb package)&lt;br /&gt;&lt;br /&gt;3. ./autogen.sh&lt;br /&gt;&lt;br /&gt;4. ./configure --enable-debug --prefix=/usr/src/rtxi&lt;br /&gt;&lt;br /&gt;5. make&lt;br /&gt;&lt;br /&gt;6. make install&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5740550295288139350-3723731898037503125?l=kelvinchufei.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://kelvinchufei.blogspot.com/feeds/3723731898037503125/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=5740550295288139350&amp;postID=3723731898037503125' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5740550295288139350/posts/default/3723731898037503125'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5740550295288139350/posts/default/3723731898037503125'/><link rel='alternate' type='text/html' href='http://kelvinchufei.blogspot.com/2007/03/how-to-install-rtxi-on-ubuntu-606.html' title='How to install RTXI on Ubuntu 6.06 (1)'/><author><name>Kelvin Fei Chu</name><uri>http://www.blogger.com/profile/11748397661373760438</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://bp0.blogger.com/_JFxqZRV7aGs/R5oADuf2VKI/AAAAAAAACVI/hPneTeJ_6I8/S220/DSC04852.JPG'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5740550295288139350.post-2592102479404515457</id><published>2007-03-01T12:51:00.000-06:00</published><updated>2008-01-25T10:28:32.730-06:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Linux'/><title type='text'>How to install .deb packages</title><content type='html'>1. First login as root&lt;br /&gt;2. dpkg -i yourpackage.deb&lt;br /&gt;3. Done&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5740550295288139350-2592102479404515457?l=kelvinchufei.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://kelvinchufei.blogspot.com/feeds/2592102479404515457/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=5740550295288139350&amp;postID=2592102479404515457' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5740550295288139350/posts/default/2592102479404515457'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5740550295288139350/posts/default/2592102479404515457'/><link rel='alternate' type='text/html' href='http://kelvinchufei.blogspot.com/2007/03/how-to-install-deb-packages.html' title='How to install .deb packages'/><author><name>Kelvin Fei Chu</name><uri>http://www.blogger.com/profile/11748397661373760438</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://bp0.blogger.com/_JFxqZRV7aGs/R5oADuf2VKI/AAAAAAAACVI/hPneTeJ_6I8/S220/DSC04852.JPG'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5740550295288139350.post-5556609838375270996</id><published>2007-02-27T14:26:00.000-06:00</published><updated>2008-01-25T10:28:32.731-06:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Linux'/><title type='text'>How to create Image (ISO) files from folders in Ubuntu 6.06</title><content type='html'>$ mkisofs -r -o file.iso /location_of_folder/&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5740550295288139350-5556609838375270996?l=kelvinchufei.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://kelvinchufei.blogspot.com/feeds/5556609838375270996/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=5740550295288139350&amp;postID=5556609838375270996' title='2 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5740550295288139350/posts/default/5556609838375270996'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5740550295288139350/posts/default/5556609838375270996'/><link rel='alternate' type='text/html' href='http://kelvinchufei.blogspot.com/2007/02/how-to-create-image-iso-files-from.html' title='How to create Image (ISO) files from folders in Ubuntu 6.06'/><author><name>Kelvin Fei Chu</name><uri>http://www.blogger.com/profile/11748397661373760438</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://bp0.blogger.com/_JFxqZRV7aGs/R5oADuf2VKI/AAAAAAAACVI/hPneTeJ_6I8/S220/DSC04852.JPG'/></author><thr:total>2</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5740550295288139350.post-703653394661477922</id><published>2007-02-27T14:24:00.000-06:00</published><updated>2008-01-25T10:28:32.732-06:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Linux'/><title type='text'>How to check MD5 checksum of files in Ubuntu 6.06</title><content type='html'>Assumed that file.iso and file.iso.md5 are in the same folder &lt;br /&gt;then execute:&lt;br /&gt;$ md5sum -c file.iso.md5&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5740550295288139350-703653394661477922?l=kelvinchufei.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://kelvinchufei.blogspot.com/feeds/703653394661477922/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=5740550295288139350&amp;postID=703653394661477922' title='3 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5740550295288139350/posts/default/703653394661477922'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5740550295288139350/posts/default/703653394661477922'/><link rel='alternate' type='text/html' href='http://kelvinchufei.blogspot.com/2007/02/how-to-check-md5-checksum-of-files.html' title='How to check MD5 checksum of files in Ubuntu 6.06'/><author><name>Kelvin Fei Chu</name><uri>http://www.blogger.com/profile/11748397661373760438</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://bp0.blogger.com/_JFxqZRV7aGs/R5oADuf2VKI/AAAAAAAACVI/hPneTeJ_6I8/S220/DSC04852.JPG'/></author><thr:total>3</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5740550295288139350.post-2021680063579775830</id><published>2007-02-27T14:04:00.000-06:00</published><updated>2008-01-25T10:28:32.733-06:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Linux'/><title type='text'>How to install Matlab R2006b (Unix) on Ubuntu 6.06 / Fedora Core 6</title><content type='html'>1.Download the iso files for Matlab R2006b for Unix&lt;br /&gt;2.Mount the first iso by:&lt;br /&gt;  (a)sudo mkdir /media/iso&lt;br /&gt;  (b)sudo modprobe loop&lt;br /&gt;  (c)sudo mount file1.iso /media/iso/ -t iso9660 -o loop&lt;br /&gt;(if you use CDs, you can directly find /media/Mathworks_2006B1/)&lt;br /&gt;3.Make your $Matlab Directory by:&lt;br /&gt;  (a)mkdir /usr/local/matlab73&lt;br /&gt;  (b)cd /usr/local/matlab73&lt;br /&gt;4.Copy your license file to this directory&lt;br /&gt;  (a)cp /home/kelvin/license.dat ./&lt;br /&gt;5.Start the installation by:&lt;br /&gt;  (a)sudo sh /media/iso/install&lt;br /&gt;  (b)Do the installation configurations you want&lt;br /&gt;  (c)Continue following the instructions&lt;br /&gt;6. When the system reminds you of changing to disc 2,&lt;br /&gt;  (a)sudo umount /media/iso&lt;br /&gt;  (b)sudo mount file2.iso /media/iso/ -t iso9660 -o loop&lt;br /&gt;7. Continue installation and do the same with disc 3.&lt;br /&gt;8. Finish installation.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;FAQs:&lt;br /&gt;1.Problem: &lt;br /&gt;Exception in thread "AWT-EventQueue-0" java.lang.InternalError: Current locale is not supported&lt;br /&gt; at sun.awt.motif.MWindowPeer.pSetTitle(Native Method)&lt;br /&gt; at sun.awt.motif.MWindowPeer.init(Unknown Source)&lt;br /&gt; at sun.awt.motif.MFramePeer.&lt;init&gt;(Unknown Source)&lt;br /&gt; at sun.awt.motif.MToolkit.createFrame(Unknown Source)&lt;br /&gt;...........&lt;br /&gt;&lt;br /&gt;Solution:&lt;br /&gt;$locale&lt;br /&gt;and if its not en_US.utf8 then change it like this:&lt;br /&gt;&lt;br /&gt;export LANG=en_US.UTF-8&lt;br /&gt;&lt;br /&gt;Add this line to .bashrc too....and enjoy Matlab..&lt;br /&gt;&lt;br /&gt;2.Problem: When trying to run matlab, it does not want to start. Error message:&lt;br /&gt;/usr/local/matlab73/bin/glnx86/MATLAB: error while loading shared libraries: /usr/local/matlab73/bin/glnx86/libmwlapack.so: cannot restore segment prot after reloc: Permission denied&lt;br /&gt;&lt;br /&gt;Solution: &lt;br /&gt;chcon -t texrel_shlib_t /usr/local/matlab73/bin/glnx86/*.so&lt;br /&gt;or disable "SELinux" from system security panel.&lt;br /&gt;&lt;br /&gt;3.Problem: &lt;br /&gt;/tmp/12680tmwinstall/update/bin/glnx86/xsetup: error while loading shared libraries: libXp.so.6: cannot open shared object file: No such file or directory&lt;br /&gt;&lt;br /&gt;Solution:&lt;br /&gt;Remember to install xorg-x11-libXp package.&lt;br /&gt;&lt;br /&gt;4.Problem: Matlab requires a Terminal to start.If I create a launcher with the command Matlab in the Gnome-menu I just see the splash-screen and then nothing.&lt;br /&gt;&lt;br /&gt;Solution:&lt;br /&gt;Create a luncher with "matlab -desktop"&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5740550295288139350-2021680063579775830?l=kelvinchufei.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://kelvinchufei.blogspot.com/feeds/2021680063579775830/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=5740550295288139350&amp;postID=2021680063579775830' title='7 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5740550295288139350/posts/default/2021680063579775830'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5740550295288139350/posts/default/2021680063579775830'/><link rel='alternate' type='text/html' href='http://kelvinchufei.blogspot.com/2007/02/how-to-install-matlab-r2006b-unix-on.html' title='How to install Matlab R2006b (Unix) on Ubuntu 6.06 / Fedora Core 6'/><author><name>Kelvin Fei Chu</name><uri>http://www.blogger.com/profile/11748397661373760438</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://bp0.blogger.com/_JFxqZRV7aGs/R5oADuf2VKI/AAAAAAAACVI/hPneTeJ_6I8/S220/DSC04852.JPG'/></author><thr:total>7</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5740550295288139350.post-6731733759893082913</id><published>2007-02-27T12:36:00.000-06:00</published><updated>2007-02-27T12:38:36.131-06:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='RTXI-RTLDC'/><title type='text'>A control module that can pause/unpause other function modules</title><content type='html'>me: hi&lt;br /&gt;now I'm looking at the RT::Thread::setActive()&lt;br /&gt;do you have any example for how to doing with this function?&lt;br /&gt;&lt;br /&gt;jbetten: for a model to pause itself you just call setActive(false)&lt;br /&gt;to pause another model, you just do modelPtr-&gt;setActive(false)&lt;br /&gt;&lt;br /&gt;me: how can I find the modelPtr&lt;br /&gt;I can understand that each module must have a pointer or handler&lt;br /&gt;&lt;br /&gt;jbetten: if you know the model ID you can use Settings::Manager::getInstance()-&gt;getObject()&lt;br /&gt;you then need to up cast it&lt;br /&gt;&lt;br /&gt;me: what do you mean by model ID&lt;br /&gt;&lt;br /&gt;jbetten: every object has a unique ID&lt;br /&gt;&lt;br /&gt;me: where is it defined&lt;br /&gt;&lt;br /&gt;jbetten: it is in the caption of each default gui model&lt;br /&gt;&lt;br /&gt;me: within the source code I couldn't expect what ID is allocated&lt;br /&gt;&lt;br /&gt;jbetten: no&lt;br /&gt;&lt;br /&gt;me: what I can do is providing a GUI&lt;br /&gt;and let the user to input the model IDs they want to pause&lt;br /&gt;is that what you mean?&lt;br /&gt;&lt;br /&gt;jbetten: yeah&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5740550295288139350-6731733759893082913?l=kelvinchufei.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://kelvinchufei.blogspot.com/feeds/6731733759893082913/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=5740550295288139350&amp;postID=6731733759893082913' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5740550295288139350/posts/default/6731733759893082913'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5740550295288139350/posts/default/6731733759893082913'/><link rel='alternate' type='text/html' href='http://kelvinchufei.blogspot.com/2007/02/control-module-that-can-pauseunpause.html' title='A control module that can pause/unpause other function modules'/><author><name>Kelvin Fei Chu</name><uri>http://www.blogger.com/profile/11748397661373760438</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://bp0.blogger.com/_JFxqZRV7aGs/R5oADuf2VKI/AAAAAAAACVI/hPneTeJ_6I8/S220/DSC04852.JPG'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5740550295288139350.post-5648219775710239042</id><published>2007-02-26T17:36:00.000-06:00</published><updated>2007-02-26T17:41:44.395-06:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='RTXI-RTLDC'/><title type='text'>RTXI new custom modules</title><content type='html'>For the past 3 weeks, I was writing modules for RTXI. The finished modules include:&lt;br /&gt;&lt;br /&gt;(1)SpikeRateController&lt;br /&gt;   Input: State&lt;br /&gt;   Output: Current&lt;br /&gt;&lt;br /&gt;(2)PSG (synapitic model)&lt;br /&gt;   Input: State &amp; Vm&lt;br /&gt;   Output: Current&lt;br /&gt;&lt;br /&gt;(3)PlayBack&lt;br /&gt;   Input: File (Structure: TIME Vm)&lt;br /&gt;   Output: Vm&lt;br /&gt;&lt;br /&gt;(4)EventPlayBack&lt;br /&gt;   Input: File (Structure: TIME Cell#0-3)&lt;br /&gt;   Output: State&lt;br /&gt;&lt;br /&gt;(5)DualCellSyn (Discarded)&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5740550295288139350-5648219775710239042?l=kelvinchufei.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://kelvinchufei.blogspot.com/feeds/5648219775710239042/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=5740550295288139350&amp;postID=5648219775710239042' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5740550295288139350/posts/default/5648219775710239042'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5740550295288139350/posts/default/5648219775710239042'/><link rel='alternate' type='text/html' href='http://kelvinchufei.blogspot.com/2007/02/rtxi-new-custom-modules.html' title='RTXI new custom modules'/><author><name>Kelvin Fei Chu</name><uri>http://www.blogger.com/profile/11748397661373760438</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://bp0.blogger.com/_JFxqZRV7aGs/R5oADuf2VKI/AAAAAAAACVI/hPneTeJ_6I8/S220/DSC04852.JPG'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5740550295288139350.post-7367485329692853814</id><published>2007-02-26T17:29:00.000-06:00</published><updated>2007-02-26T17:33:17.696-06:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='RTXI-RTLDC'/><title type='text'>Read the parameter from GUI in RTXI</title><content type='html'>On 2/16/07, Fei Chu &lt; kelvinchufei@gmail.com&gt; wrote:&lt;br /&gt;Hi, Jonathan&lt;br /&gt;Now we are writing the playback module which needs to read a data file. But when we need to specify the filename, we don't know how to read the string from the Default GUI. It seems that there are only datatypes for double, uinteger and integer. What do you suggest us to do? &lt;br /&gt;Thanks.&lt;br /&gt;Kelvin&lt;br /&gt;&lt;br /&gt;On 2/17/07, Jonathan Bettencourt &lt; jbetten@gmail.com&gt; wrote:&lt;br /&gt;Hey,&lt;br /&gt;If you don't specify a type none is enforced, so you effectively have a string type.&lt;br /&gt;-JB&lt;br /&gt;&lt;br /&gt;On 2/22/07, Fei Chu &lt;kelvinchufei@gmail.com&gt; wrote:&lt;br /&gt;Hi, Jonathan&lt;br /&gt;I defined &lt;br /&gt;char *FileName;&lt;br /&gt;But when&lt;br /&gt;FileName = getParameter("FileName"));&lt;br /&gt;It reports error&lt;br /&gt;invalid conversion from 'const char*' to 'char*'&lt;br /&gt;What should I do with this converting? &lt;br /&gt;&lt;br /&gt;Thanks,&lt;br /&gt;Kelvin&lt;br /&gt;&lt;br /&gt;On 2/22/07, Jonathan Bettencourt &lt; jbetten@gmail.com&gt; wrote:&lt;br /&gt;&lt;br /&gt;I think you are getting that problem because getParameter returns a QString instead of a char * what you probably want is something like:&lt;br /&gt;&lt;br /&gt;char FileName[256];&lt;br /&gt;memset(FileName,0,sizeof(FileName));&lt;br /&gt;strncpy(FileName,getParameter("FileName").latin1(),255); &lt;br /&gt;&lt;br /&gt;or just use getParameter directly whenever you need the filename:&lt;br /&gt;&lt;br /&gt;int fd = open(getParameter("FileName").latin1(),"rw");&lt;br /&gt;&lt;br /&gt;-JB&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5740550295288139350-7367485329692853814?l=kelvinchufei.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://kelvinchufei.blogspot.com/feeds/7367485329692853814/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=5740550295288139350&amp;postID=7367485329692853814' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5740550295288139350/posts/default/7367485329692853814'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5740550295288139350/posts/default/7367485329692853814'/><link rel='alternate' type='text/html' href='http://kelvinchufei.blogspot.com/2007/02/read-parameter-from-gui-in-rtxi.html' title='Read the parameter from GUI in RTXI'/><author><name>Kelvin Fei Chu</name><uri>http://www.blogger.com/profile/11748397661373760438</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://bp0.blogger.com/_JFxqZRV7aGs/R5oADuf2VKI/AAAAAAAACVI/hPneTeJ_6I8/S220/DSC04852.JPG'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5740550295288139350.post-4763305196061958397</id><published>2007-02-26T17:25:00.000-06:00</published><updated>2007-02-26T17:27:40.844-06:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='RTXI-RTLDC'/><title type='text'>Default GUI patch of RTXI @ Feb.26th</title><content type='html'>On 2/24/07, Jonathan Bettencourt &lt;jbetten@gmail.com&gt; wrote:&lt;br /&gt;&gt; Hey,&lt;br /&gt;&gt;&lt;br /&gt;&gt; I'm going to do some work on DefaultGUIModel tomorrow, namely:&lt;br /&gt;&gt; 1) Have Applied Parameters appear as red, like RTLDC.&lt;br /&gt;&gt; 2) Remove the "Refresh" button and have the GUI auto refresh every second or&lt;br /&gt;&gt; so.&lt;br /&gt;&gt; 3) Add a pause button.&lt;br /&gt;&gt; 4) Make DefaultGUIModels models load paused.&lt;br /&gt;&gt; 5) Make DefaultGUIModel::update() run in non-realtime, while the model is&lt;br /&gt;&gt; paused.&lt;br /&gt;&gt; 6) Stop having DefaultGUIModels automatically connected to the DAQ when they&lt;br /&gt;&gt; load.&lt;br /&gt;&gt;&lt;br /&gt;&gt; Also if you remind me I can send you a patch to fix the connector plugin so&lt;br /&gt;&gt; it behaves more correctly. And I'll try to get you a patch that makes&lt;br /&gt;&gt; RT::Thread::setActive() public, so it can be called by other models.&lt;br /&gt;&gt;&lt;br /&gt;&gt; With RT::Thread::setActive()  made public you should be able to unpause a&lt;br /&gt;&gt; bunch of models "simultaneously", and by that I mean in realtime with an&lt;br /&gt;&gt; RT::Event. &lt;br /&gt;&gt;&lt;br /&gt;&gt; -JB&lt;br /&gt;&lt;br /&gt;From: Jonathan Bettencourt &lt;jbetten@gmail.com&gt;&lt;br /&gt;Date: Feb 24, 2007 10:02 AM&lt;br /&gt;Subject: Re: Synchronization&lt;br /&gt;To: Theoden Netoff &lt;tnetoff@umn.edu&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Hey,&lt;br /&gt;&lt;br /&gt;Here is a patch that fixes the connector plugin and makes the changes&lt;br /&gt;I mentioned in the previous email. I'm not sure how cleanly it will&lt;br /&gt;apply but it is worth a shot.&lt;br /&gt;&lt;br /&gt;To Apply:&lt;br /&gt;&lt;br /&gt;1) Backup your existing RTXI directory.&lt;br /&gt;    cd /usr/src&lt;br /&gt;    cp -R rtxi rtxi.old&lt;br /&gt;&lt;br /&gt;2) Apply the patch.&lt;br /&gt;   patch -p0 &lt; /the/path/to/the/patch.connector_and_defaultgui&lt;br /&gt;&lt;br /&gt;3) See if the patch applied cleanly, i.e. the output of the previous&lt;br /&gt;step didn't mention and failures. If it fails email me the output of patch and revert to using your old rtxi tree. Otherwise run make install and you should be good to go.&lt;br /&gt;&lt;br /&gt;-JB&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5740550295288139350-4763305196061958397?l=kelvinchufei.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://kelvinchufei.blogspot.com/feeds/4763305196061958397/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=5740550295288139350&amp;postID=4763305196061958397' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5740550295288139350/posts/default/4763305196061958397'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5740550295288139350/posts/default/4763305196061958397'/><link rel='alternate' type='text/html' href='http://kelvinchufei.blogspot.com/2007/02/default-gui-patch-of-rtxi-feb26th.html' title='Default GUI patch of RTXI @ Feb.26th'/><author><name>Kelvin Fei Chu</name><uri>http://www.blogger.com/profile/11748397661373760438</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://bp0.blogger.com/_JFxqZRV7aGs/R5oADuf2VKI/AAAAAAAACVI/hPneTeJ_6I8/S220/DSC04852.JPG'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5740550295288139350.post-5423148148607714008</id><published>2007-02-26T17:05:00.000-06:00</published><updated>2008-01-25T10:19:53.821-06:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='My scripts'/><title type='text'>How to generate correlated gaussian noises</title><content type='html'>Theory  http://www.columbia.edu/~mh2078/MCS04/MCS_framework_FEegs.pdf&lt;br /&gt;&lt;br /&gt;So here is the Matlab code for generating 3 channels of correlated gaussian noise:&lt;br /&gt;&lt;a href="https://jshare.johnshopkins.edu/fchu3/myscript/cwn.m"&gt;&lt;br /&gt;cwn.m&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5740550295288139350-5423148148607714008?l=kelvinchufei.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://kelvinchufei.blogspot.com/feeds/5423148148607714008/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=5740550295288139350&amp;postID=5423148148607714008' title='7 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5740550295288139350/posts/default/5423148148607714008'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5740550295288139350/posts/default/5423148148607714008'/><link rel='alternate' type='text/html' href='http://kelvinchufei.blogspot.com/2007/02/how-to-generate-correlated-gaussian.html' title='How to generate correlated gaussian noises'/><author><name>Kelvin Fei Chu</name><uri>http://www.blogger.com/profile/11748397661373760438</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://bp0.blogger.com/_JFxqZRV7aGs/R5oADuf2VKI/AAAAAAAACVI/hPneTeJ_6I8/S220/DSC04852.JPG'/></author><thr:total>7</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5740550295288139350.post-6757322597512224995</id><published>2007-02-23T12:02:00.000-06:00</published><updated>2007-02-26T17:37:43.396-06:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='RTXI-RTLDC'/><title type='text'>How to Write RTXI Modules</title><content type='html'>The source file of a typical RTXI module may include three parts: Makefile.am, YourMod.cpp, YourMod.h&lt;br /&gt;&lt;br /&gt;Take mimic module as an example.&lt;br /&gt;&lt;br /&gt;1. The Makefile.am is like&lt;br /&gt;&lt;br /&gt;CLEANFILES = *~&lt;br /&gt;DISTCLEANFILES =&lt;br /&gt;MAINTAINERCLEANFILES = Makefile.in&lt;br /&gt;&lt;br /&gt;include $(top_srcdir)/.buildvars&lt;br /&gt;&lt;br /&gt;pkglib_LTLIBRARIES = mimic.la&lt;br /&gt;&lt;br /&gt;mimic_la_LDFLAGS = -module -avoid-version&lt;br /&gt;&lt;br /&gt;mimic_la_SOURCES = \&lt;br /&gt;  mimic.h \&lt;br /&gt;  mimic.cpp&lt;br /&gt;&lt;br /&gt;Usually what you need to do is just change all "mimic" to YourMod.&lt;br /&gt;&lt;br /&gt;Of course, don't forget to use ./autogen.sh and ./configure --enable-debug --prefix=/usr/src/rtxi to generate the real Makefile before you can compile.&lt;br /&gt;See http://kelvinchufei.blogspot.com/2007/02/how-to-make-new-module-for-rtxi.html.&lt;br /&gt;&lt;br /&gt;2. The Header file mimic.h is like this:&lt;br /&gt;&lt;br /&gt;#include &lt;default_gui_model.h&gt;&lt;br /&gt;&lt;br /&gt;//Here uses the default gui, of course if you want you can write your own gui and include it here&lt;br /&gt;&lt;br /&gt;class Mimic : public DefaultGUIModel&lt;br /&gt;{&lt;br /&gt;&lt;br /&gt;public:&lt;br /&gt;&lt;br /&gt;    Mimic(void);&lt;br /&gt;    virtual ~Mimic(void);&lt;br /&gt;&lt;br /&gt;    virtual void execute(void);&lt;br /&gt;&lt;br /&gt;protected:&lt;br /&gt;&lt;br /&gt;    virtual void update(DefaultGUIModel::update_flags_t);&lt;br /&gt;&lt;br /&gt;private:&lt;br /&gt;&lt;br /&gt;    //Here of course you can define your own functions&lt;br /&gt;    //void SetPSG(double *, double, double, double);&lt;br /&gt;&lt;br /&gt;    double gain;&lt;br /&gt;    double offset;&lt;br /&gt;&lt;br /&gt;};&lt;br /&gt;&lt;br /&gt;3. The main mimic.cpp is like this:&lt;br /&gt;&lt;br /&gt;#include &lt;mimic.h&gt;&lt;br /&gt;&lt;br /&gt;extern "C" Plugin::Object *createRTXIPlugin(void) {&lt;br /&gt;    return new Mimic();&lt;br /&gt;}&lt;br /&gt;&lt;br /&gt;static DefaultGUIModel::variable_t vars[] = {&lt;br /&gt;    {&lt;br /&gt;        "Vin",//Label name in GUI&lt;br /&gt;        "",//Here is comments you want to put&lt;br /&gt;        DefaultGUIModel::INPUT,//Type of the GUI element: INPUT,OUTPUT,PARAMETER,STATE&lt;br /&gt;    },&lt;br /&gt;    {&lt;br /&gt;        "Vout",&lt;br /&gt;        "",&lt;br /&gt;        DefaultGUIModel::OUTPUT,&lt;br /&gt;    },&lt;br /&gt;    {&lt;br /&gt;        "Gain",&lt;br /&gt;        "Scaling of the copied signal",&lt;br /&gt;        DefaultGUIModel::PARAMETER | DefaultGUIModel::DOUBLE,&lt;br /&gt;        //DateType: DOUBLE, INTEGER, UINTEGER&lt;br /&gt;        //When defined as DefaultGUIModel::PARAMETER directly, the input type is treated as string&lt;br /&gt;    },&lt;br /&gt;    {&lt;br /&gt;        "Offset",&lt;br /&gt;        "Offset of the copied signal",&lt;br /&gt;        DefaultGUIModel::PARAMETER | DefaultGUIModel::DOUBLE,&lt;br /&gt;    },&lt;br /&gt;};&lt;br /&gt;&lt;br /&gt;static size_t num_vars = sizeof(vars)/sizeof(DefaultGUIModel::variable_t);&lt;br /&gt;&lt;br /&gt;Mimic::Mimic(void)&lt;br /&gt;    : DefaultGUIModel("Mimic",::vars,::num_vars), gain(1.0), offset(0.0)&lt;br /&gt;//Initialize the parameters&lt;br /&gt;{&lt;br /&gt;    update(INIT);&lt;br /&gt;    refresh();&lt;br /&gt;}&lt;br /&gt;&lt;br /&gt;Mimic::~Mimic(void) {}&lt;br /&gt;&lt;br /&gt;void Mimic::execute(void) {&lt;br /&gt;    output(0) = gain*input(0)+offset;&lt;br /&gt;&lt;br /&gt;//Main function, where you can use input(0) as first input etc and use output(0) as the first output.&lt;br /&gt;}&lt;br /&gt;&lt;br /&gt;void Mimic::update(DefaultGUIModel::update_flags_t flag) {&lt;br /&gt;    switch(flag) {&lt;br /&gt;      case INIT:&lt;br /&gt;          setParameter("Gain",gain);&lt;br /&gt;          setParameter("Offset",offset);&lt;br /&gt;          //remember to relate all the parameters with the GUI elements&lt;br /&gt;          break;&lt;br /&gt;      case MODIFY:&lt;br /&gt;          gain   = getParameter("Gain").toDouble();&lt;br /&gt;          offset = getParameter("Offset").toDouble();&lt;br /&gt;          //remember to relate all the parameters with the GUI elements&lt;br /&gt;          break;&lt;br /&gt;      default:&lt;br /&gt;          break;&lt;br /&gt;    }&lt;br /&gt;}&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5740550295288139350-6757322597512224995?l=kelvinchufei.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://kelvinchufei.blogspot.com/feeds/6757322597512224995/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=5740550295288139350&amp;postID=6757322597512224995' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5740550295288139350/posts/default/6757322597512224995'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5740550295288139350/posts/default/6757322597512224995'/><link rel='alternate' type='text/html' href='http://kelvinchufei.blogspot.com/2007/02/how-to-write-rtxi-modules.html' title='How to Write RTXI Modules'/><author><name>Kelvin Fei Chu</name><uri>http://www.blogger.com/profile/11748397661373760438</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://bp0.blogger.com/_JFxqZRV7aGs/R5oADuf2VKI/AAAAAAAACVI/hPneTeJ_6I8/S220/DSC04852.JPG'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5740550295288139350.post-7298188081422167914</id><published>2007-02-15T13:22:00.000-06:00</published><updated>2007-03-05T12:53:36.794-06:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='RTXI-RTLDC'/><title type='text'>How to compile a new module for RTXI</title><content type='html'>1. You need to have a Makefile.am YourMod.cpp YourMod.h in your /rtxi/models/YourMod directory&lt;br /&gt;(The structure of a Makefile can refer to Makefiles in other module directories. Or you can simply replace the name of other modules in that Makefile into your module name and use it.)&lt;br /&gt;&lt;br /&gt;2.Change /rtxi/configure.in and after AC_CONFIG_FILES(), add /models/YourMod/Makefile into it.&lt;br /&gt;&lt;br /&gt;3.Change /rtxi/models/Makefile.am and after SUBDIR=, add YourMod.&lt;br /&gt;&lt;br /&gt;4.Run ./autogen.sh (create makefile.in)&lt;br /&gt;&lt;br /&gt;5.Run ./configure --enable-debug --prefix=/usr/src/rtxi(Your rtxi directory)&lt;br /&gt;&lt;br /&gt;6. Make &amp; Make install&lt;br /&gt;&lt;br /&gt;7. Find your module plugin in /rtxi/lib/rtxi/&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5740550295288139350-7298188081422167914?l=kelvinchufei.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://kelvinchufei.blogspot.com/feeds/7298188081422167914/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=5740550295288139350&amp;postID=7298188081422167914' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5740550295288139350/posts/default/7298188081422167914'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5740550295288139350/posts/default/7298188081422167914'/><link rel='alternate' type='text/html' href='http://kelvinchufei.blogspot.com/2007/02/how-to-make-new-module-for-rtxi.html' title='How to compile a new module for RTXI'/><author><name>Kelvin Fei Chu</name><uri>http://www.blogger.com/profile/11748397661373760438</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://bp0.blogger.com/_JFxqZRV7aGs/R5oADuf2VKI/AAAAAAAACVI/hPneTeJ_6I8/S220/DSC04852.JPG'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5740550295288139350.post-6251380335320261634</id><published>2007-01-30T16:31:00.000-06:00</published><updated>2007-01-30T16:35:31.389-06:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Lab-tips'/><title type='text'>Agar Recipe</title><content type='html'>Sigma Agar #A-9915&lt;br /&gt;&lt;br /&gt;1. 125 mL of water&lt;br /&gt;2. heat till boiling&lt;br /&gt;3. add 5g of agar powder and stir&lt;br /&gt;4. when it becomes transparent and smooth, pour into petri dishes cover asap.&lt;br /&gt;&lt;br /&gt;The amount makes about 3 petri dishes (100*15mm)&lt;br /&gt;&lt;br /&gt;In my experience this is a slightly viscous mixture, I used a bit less&lt;br /&gt;myself last time. Also, this makes so much agar, it dries out before you can really use it all. The last batch lasted us almost 9 months.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5740550295288139350-6251380335320261634?l=kelvinchufei.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://kelvinchufei.blogspot.com/feeds/6251380335320261634/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=5740550295288139350&amp;postID=6251380335320261634' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5740550295288139350/posts/default/6251380335320261634'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5740550295288139350/posts/default/6251380335320261634'/><link rel='alternate' type='text/html' href='http://kelvinchufei.blogspot.com/2007/01/agar-recipe_30.html' title='Agar Recipe'/><author><name>Kelvin Fei Chu</name><uri>http://www.blogger.com/profile/11748397661373760438</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://bp0.blogger.com/_JFxqZRV7aGs/R5oADuf2VKI/AAAAAAAACVI/hPneTeJ_6I8/S220/DSC04852.JPG'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5740550295288139350.post-6164059687052784173</id><published>2007-01-25T16:31:00.000-06:00</published><updated>2007-01-25T16:33:21.088-06:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Lab-tips'/><title type='text'>Agar Recipe</title><content type='html'>Sigma Agar #A-9915&lt;br /&gt;&lt;br /&gt;500 mL of water, add 20g of agar powder&lt;br /&gt;Stir and heat(slowly) till boiling, pour into petri dishes cover asap.&lt;br /&gt;&lt;br /&gt;makes about 8 petri dishes&lt;br /&gt;&lt;br /&gt;In my experience this is a slightly viscous mixture, I used a bit less myself last time. Also, this makes so much agar, it dries out before you can really use it all. The last batch lasted us almost 9 months.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5740550295288139350-6164059687052784173?l=kelvinchufei.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://kelvinchufei.blogspot.com/feeds/6164059687052784173/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=5740550295288139350&amp;postID=6164059687052784173' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5740550295288139350/posts/default/6164059687052784173'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5740550295288139350/posts/default/6164059687052784173'/><link rel='alternate' type='text/html' href='http://kelvinchufei.blogspot.com/2007/01/agar-recipe.html' title='Agar Recipe'/><author><name>Kelvin Fei Chu</name><uri>http://www.blogger.com/profile/11748397661373760438</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://bp0.blogger.com/_JFxqZRV7aGs/R5oADuf2VKI/AAAAAAAACVI/hPneTeJ_6I8/S220/DSC04852.JPG'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5740550295288139350.post-1276325949347688214</id><published>2007-01-25T14:16:00.000-06:00</published><updated>2007-01-25T15:56:29.760-06:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Lab-tips'/><title type='text'>Trainings required by univeristy to perform animal experiments</title><content type='html'>1. Radiation Training(Lab security www.ahcrbms.umn.edu)&lt;br /&gt;2. IACUC Animal and chemical training (Protocol http://www.research.umn.edu/iacuc/training/)&lt;br /&gt;3. Animal Raising/Micro-isolator Traing (RAR http://www.ahc.umn.edu/rar/)&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5740550295288139350-1276325949347688214?l=kelvinchufei.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://kelvinchufei.blogspot.com/feeds/1276325949347688214/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=5740550295288139350&amp;postID=1276325949347688214' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5740550295288139350/posts/default/1276325949347688214'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5740550295288139350/posts/default/1276325949347688214'/><link rel='alternate' type='text/html' href='http://kelvinchufei.blogspot.com/2007/01/trainings-required-by-univeristy-tp.html' title='Trainings required by univeristy to perform animal experiments'/><author><name>Kelvin Fei Chu</name><uri>http://www.blogger.com/profile/11748397661373760438</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://bp0.blogger.com/_JFxqZRV7aGs/R5oADuf2VKI/AAAAAAAACVI/hPneTeJ_6I8/S220/DSC04852.JPG'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5740550295288139350.post-3566006309261537251</id><published>2007-01-25T13:35:00.000-06:00</published><updated>2007-01-25T13:38:56.299-06:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Lab-tips'/><title type='text'>Osmolarity Test</title><content type='html'>ACSF ~ 300mOSM/kg&lt;br /&gt;ICF ~ 270-290mOSM/kg&lt;br /&gt;&lt;br /&gt;1. Put a sample disc on the tray&lt;br /&gt;2. Put 10ul sample solution on there&lt;br /&gt;3. Close the test chamber&lt;br /&gt;4. Wait and read&lt;br /&gt;5. Wipe it clean&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5740550295288139350-3566006309261537251?l=kelvinchufei.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://kelvinchufei.blogspot.com/feeds/3566006309261537251/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=5740550295288139350&amp;postID=3566006309261537251' title='4 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5740550295288139350/posts/default/3566006309261537251'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5740550295288139350/posts/default/3566006309261537251'/><link rel='alternate' type='text/html' href='http://kelvinchufei.blogspot.com/2007/01/osmolarity-test.html' title='Osmolarity Test'/><author><name>Kelvin Fei Chu</name><uri>http://www.blogger.com/profile/11748397661373760438</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://bp0.blogger.com/_JFxqZRV7aGs/R5oADuf2VKI/AAAAAAAACVI/hPneTeJ_6I8/S220/DSC04852.JPG'/></author><thr:total>4</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5740550295288139350.post-7757636127012284071</id><published>2007-01-25T13:23:00.000-06:00</published><updated>2007-01-25T13:34:57.554-06:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Lab-tips'/><title type='text'>ICF Recipe</title><content type='html'>Name              Final-Conc      Stock-Conc        Quantity for 50ml ICF&lt;br /&gt;K-gluconate       120mM           powder            1.4052g&lt;br /&gt;KCL               10mM            1M/L(3.728g/50ml) 0.5ml&lt;br /&gt;Hepes             10mM            powder            0.1192g&lt;br /&gt;&lt;br /&gt;Then quickly add&lt;br /&gt;&lt;br /&gt;Mg-ATP            4mM             powder            0.1188g&lt;br /&gt;Tris-GTP          0.3mM           10mM/L            1.5ml&lt;br /&gt;Na2-Phoscreatine  10mM            powder            0.1690g&lt;br /&gt;Creatine Kinase   20u/ml          1000u/ml          1ml&lt;br /&gt;&lt;br /&gt;Use the pH meter to bring it to PH 7.25 (Use Potassium Hydroxide 1N solution)&lt;br /&gt;&lt;br /&gt;Vacuum suck to filter the solution. (2um) because our pipette tip is 1-2um in diameter.&lt;br /&gt;&lt;br /&gt;Check Osmolarity which should be 270~290mOSM/kg.(Use sucrose to increase, water to decrease). (ACSF osmolarity ~300mOSM/kg)&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5740550295288139350-7757636127012284071?l=kelvinchufei.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://kelvinchufei.blogspot.com/feeds/7757636127012284071/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=5740550295288139350&amp;postID=7757636127012284071' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5740550295288139350/posts/default/7757636127012284071'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5740550295288139350/posts/default/7757636127012284071'/><link rel='alternate' type='text/html' href='http://kelvinchufei.blogspot.com/2007/01/icf-recipe.html' title='ICF Recipe'/><author><name>Kelvin Fei Chu</name><uri>http://www.blogger.com/profile/11748397661373760438</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://bp0.blogger.com/_JFxqZRV7aGs/R5oADuf2VKI/AAAAAAAACVI/hPneTeJ_6I8/S220/DSC04852.JPG'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5740550295288139350.post-5615432606501214984</id><published>2007-01-25T12:19:00.000-06:00</published><updated>2007-01-25T13:23:44.660-06:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Lab-tips'/><title type='text'>Micro-pipette Pulling Cycle / Resistence Test</title><content type='html'>Micro-pipette Pulling Cycle / Resistence Test is used to get a good parameter combination for future reproducible use.&lt;br /&gt;&lt;br /&gt;Usually it is conducted by the following procedure:&lt;br /&gt;1. Set up certain combination of pulling parameters to ensure the cycle times are 3 times and the length of time is about 10s&lt;br /&gt;2. Inject 1* ACSF / ICF into micro-syringe and make sure there is no bubble in the syringe&lt;br /&gt;(a) take 50ml 5* ACSF&lt;br /&gt;(b) bring to 250ml solution&lt;br /&gt;(c) Add 500ul CaCl2 of 1mol/L concentration&lt;br /&gt;(d) Shake it to make it transparent solution without precipitation&lt;br /&gt;3. Connect the tip needle with the syringe and inject a little amount off to expel the air bubbles in the needle&lt;br /&gt;4. Chloride the metal tip of the headstage&lt;br /&gt;5. Inject ACSF / ICF into the pipette to half of the pipette volume (because when the )&lt;br /&gt;6. In the MultiClamp software, first in "Voltage Clamp" mode to balance the offset to zero then go into "Current Clamp" mode to test the "Bridged Resistence".&lt;br /&gt;7. The appropriate resistence range should be from 3-4M ohm.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5740550295288139350-5615432606501214984?l=kelvinchufei.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://kelvinchufei.blogspot.com/feeds/5615432606501214984/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=5740550295288139350&amp;postID=5615432606501214984' title='4 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5740550295288139350/posts/default/5615432606501214984'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5740550295288139350/posts/default/5615432606501214984'/><link rel='alternate' type='text/html' href='http://kelvinchufei.blogspot.com/2007/01/micro-pipette-pulling-cycle-resistence.html' title='Micro-pipette Pulling Cycle / Resistence Test'/><author><name>Kelvin Fei Chu</name><uri>http://www.blogger.com/profile/11748397661373760438</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://bp0.blogger.com/_JFxqZRV7aGs/R5oADuf2VKI/AAAAAAAACVI/hPneTeJ_6I8/S220/DSC04852.JPG'/></author><thr:total>4</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5740550295288139350.post-6763009558874578085</id><published>2007-01-25T12:08:00.000-06:00</published><updated>2007-01-25T12:16:27.884-06:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Lab-tips'/><title type='text'>Working with SPF Animals - RAR facility</title><content type='html'>Micro-isolator operation training&lt;br /&gt;http://www.ahc.umn.edu/rar/&lt;br /&gt;&lt;br /&gt;1. Turn on Hood (Light/Power)&lt;br /&gt;2. Take on Lab coat / Glove / Sleeve&lt;br /&gt;3. 1 gallon water with 15ml bleacher makes L-cide&lt;br /&gt;4. Spray ("Sodium" labeled, not "DMQ" labeled) the tray (stage, two side glasses, DON'T back filter)&lt;br /&gt;5. Spray the crate&lt;br /&gt;6. Open Lid&lt;br /&gt;7. Decontaminate the Glove again&lt;br /&gt;8. Operation&lt;br /&gt;&lt;br /&gt;Contact: Jessica Jones,SPF Rodents ....625-2643&lt;br /&gt;&lt;br /&gt;Animal facility address: Jackson Hall 1-107&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5740550295288139350-6763009558874578085?l=kelvinchufei.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://kelvinchufei.blogspot.com/feeds/6763009558874578085/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=5740550295288139350&amp;postID=6763009558874578085' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5740550295288139350/posts/default/6763009558874578085'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5740550295288139350/posts/default/6763009558874578085'/><link rel='alternate' type='text/html' href='http://kelvinchufei.blogspot.com/2007/01/working-with-spf-animals-rar-facility.html' title='Working with SPF Animals - RAR facility'/><author><name>Kelvin Fei Chu</name><uri>http://www.blogger.com/profile/11748397661373760438</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://bp0.blogger.com/_JFxqZRV7aGs/R5oADuf2VKI/AAAAAAAACVI/hPneTeJ_6I8/S220/DSC04852.JPG'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5740550295288139350.post-9014984963908972131</id><published>2007-01-13T15:29:00.001-06:00</published><updated>2007-01-13T15:29:48.492-06:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Lab-tips'/><title type='text'>Different Types of Laboratory Flasks</title><content type='html'>&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5740550295288139350-9014984963908972131?l=kelvinchufei.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='related' href='http://en.wikipedia.org/wiki/Laboratory_flask' title='Different Types of Laboratory Flasks'/><link rel='replies' type='application/atom+xml' href='http://kelvinchufei.blogspot.com/feeds/9014984963908972131/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=5740550295288139350&amp;postID=9014984963908972131' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5740550295288139350/posts/default/9014984963908972131'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5740550295288139350/posts/default/9014984963908972131'/><link rel='alternate' type='text/html' href='http://kelvinchufei.blogspot.com/2007/01/different-laboratory-flasks.html' title='Different Types of Laboratory Flasks'/><author><name>Kelvin Fei Chu</name><uri>http://www.blogger.com/profile/11748397661373760438</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://bp0.blogger.com/_JFxqZRV7aGs/R5oADuf2VKI/AAAAAAAACVI/hPneTeJ_6I8/S220/DSC04852.JPG'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5740550295288139350.post-4090269833477878442</id><published>2007-01-13T14:52:00.000-06:00</published><updated>2007-01-13T14:53:22.564-06:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Lab-tips'/><title type='text'>Lab Equipment Glossaries</title><content type='html'>&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5740550295288139350-4090269833477878442?l=kelvinchufei.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='related' href='http://www.geocities.com/~chemfun/unit1/labequipment/equipment.html' title='Lab Equipment Glossaries'/><link rel='replies' type='application/atom+xml' href='http://kelvinchufei.blogspot.com/feeds/4090269833477878442/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=5740550295288139350&amp;postID=4090269833477878442' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5740550295288139350/posts/default/4090269833477878442'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5740550295288139350/posts/default/4090269833477878442'/><link rel='alternate' type='text/html' href='http://kelvinchufei.blogspot.com/2007/01/lab-equipment-glossaries.html' title='Lab Equipment Glossaries'/><author><name>Kelvin Fei Chu</name><uri>http://www.blogger.com/profile/11748397661373760438</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://bp0.blogger.com/_JFxqZRV7aGs/R5oADuf2VKI/AAAAAAAACVI/hPneTeJ_6I8/S220/DSC04852.JPG'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5740550295288139350.post-1130353792991477407</id><published>2007-01-13T14:05:00.000-06:00</published><updated>2007-01-13T14:52:44.616-06:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Lab-tips'/><title type='text'>How to weigh chemicals</title><content type='html'>1. Put a weighing paper or bowl on electronic balance;&lt;br /&gt;2. Clear the tare;&lt;br /&gt;3. Put the chemicals on weighing paper or bowl with chemical spatula(if solid) or pipette(if liquid)&lt;br /&gt;4. Weigh it&lt;br /&gt;&lt;br /&gt;* You cannot put the extra chemicals(if more than you want) back into the bottle or bucket container.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5740550295288139350-1130353792991477407?l=kelvinchufei.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://kelvinchufei.blogspot.com/feeds/1130353792991477407/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=5740550295288139350&amp;postID=1130353792991477407' title='5 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5740550295288139350/posts/default/1130353792991477407'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5740550295288139350/posts/default/1130353792991477407'/><link rel='alternate' type='text/html' href='http://kelvinchufei.blogspot.com/2007/01/how-to-weigh-chemicals.html' title='How to weigh chemicals'/><author><name>Kelvin Fei Chu</name><uri>http://www.blogger.com/profile/11748397661373760438</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://bp0.blogger.com/_JFxqZRV7aGs/R5oADuf2VKI/AAAAAAAACVI/hPneTeJ_6I8/S220/DSC04852.JPG'/></author><thr:total>5</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5740550295288139350.post-385831969555455595</id><published>2007-01-13T13:53:00.000-06:00</published><updated>2007-01-13T17:15:04.778-06:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Lab-tips'/><title type='text'>ACSF 5* Recipe (Artifical Cerebral Spinal Fluid)</title><content type='html'>Concentration(5*)    MW          USE&lt;br /&gt;629mM    NaCl        58.442g/M   36.525g(/L)&lt;br /&gt;125mM    NaHCO3      84.007g/M   10.501g(/L)&lt;br /&gt;125mM    Glucose     180.16g/M   22.525g(/L)&lt;br /&gt;6.25mM   NaH2PO4-H2O 137.99g/M   0.8625g(/L) (Sodium phosphate, monobasic H4NaO5P)&lt;br /&gt;12.5mM   KCl         74.551g/M   0.932g(/L)&lt;br /&gt;5mM      MgCl        -           5ml of 1M/L ready solution&lt;br /&gt;&lt;br /&gt;* First add 800ml de-ionized water to mix then bring to 1000ml (1 Liter).&lt;br /&gt;** Lable as (1L ACSF 5*, Date &amp;amp; Initial) and store in refrigerator for future use.&lt;br /&gt;&lt;br /&gt;Before use:&lt;br /&gt;&lt;br /&gt;I. Take 200ml ACSF 5*&lt;br /&gt;&lt;br /&gt;II. Bring to 800ml with de-ionzied water&lt;br /&gt;&lt;br /&gt;III. Add 200ul of 1M/L CaCl2&lt;br /&gt;&lt;br /&gt;(1M/L CaCl2: 11.1g first mixed with 80ml de-ionized water then bring to 100ml because MW=110.98)&lt;br /&gt;Concentration        MW          USE&lt;br /&gt;0.2mM    CaCl2       -           200ul of 1M/L ready solution&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;IV. Bring to 1000ml (1 Liter)&lt;br /&gt;&lt;br /&gt;Final: 1L ACSF&lt;br /&gt;&lt;br /&gt;Ref 1: http://www.biocenter.helsinki.fi/bi/physiol/Internal_temp/internal/int_methods/met_ACSF.htm&lt;br /&gt;&lt;br /&gt;Ref 2:&lt;br /&gt;http://physics.ucsd.edu/neurophysics/lab/ACSF.pdf&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5740550295288139350-385831969555455595?l=kelvinchufei.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://kelvinchufei.blogspot.com/feeds/385831969555455595/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=5740550295288139350&amp;postID=385831969555455595' title='4 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5740550295288139350/posts/default/385831969555455595'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5740550295288139350/posts/default/385831969555455595'/><link rel='alternate' type='text/html' href='http://kelvinchufei.blogspot.com/2007/01/acsf-5-recipe-artifical-cerebral-spinal.html' title='ACSF 5* Recipe (Artifical Cerebral Spinal Fluid)'/><author><name>Kelvin Fei Chu</name><uri>http://www.blogger.com/profile/11748397661373760438</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://bp0.blogger.com/_JFxqZRV7aGs/R5oADuf2VKI/AAAAAAAACVI/hPneTeJ_6I8/S220/DSC04852.JPG'/></author><thr:total>4</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5740550295288139350.post-4863786442109227344</id><published>2007-01-11T16:19:00.000-06:00</published><updated>2008-01-25T10:30:21.556-06:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='RTXI-RTLDC'/><title type='text'>Dynamic Clamp Introduction</title><content type='html'>The Dynamic Clamp protocol, developed by Sharp et. al. (J. Neurophysiol. 69, 992-995, 1993) allows "insertion" of simulated membrane conductances in, and/or simulated synapses between biological neurons.The dynamic clamp uses computer simulation to introduce artificial membrane or synaptic conductances into biological neurons and to create hybrid circuits of real and model neurons. In the ten years since it was first developed, the dynamic clamp has become a widely used tool for the study of neural systems at the cellular and circuit levels. This review describes recent state-of-the-art implementations of the dynamic clamp and summarizes insights gained through its use, ranging from the role of voltage-dependent conductances in shaping neuronal activity to the effects of synaptic dynamics on network behavior and the impact of in vivo-like input on neuronal information processing.&lt;br /&gt;&lt;br /&gt;The dynamic clamp is a novel method that uses computer simulation to introduce conductances into biological neurons. This method can be used to study the role of various conductances in shaping the activity of single neurons, or neurons within networks. The dynamic clamp can also be used to form circuits from previously unconnected neurons. This approach makes computer simulation an interactive experimental tool, and will be useful in many applications where the role of synaptic strengths and intrinsic properties in neuronal and network dynamics is of interest.&lt;br /&gt;&lt;br /&gt;Most influential researchers on the topic of Dynamic Clamp on Scholarpedia.com&lt;br /&gt;http://www.scholarpedia.org/article/Dynamic_Clamp&lt;br /&gt;&lt;br /&gt;Hey, Tay! You are on there!&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5740550295288139350-4863786442109227344?l=kelvinchufei.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://kelvinchufei.blogspot.com/feeds/4863786442109227344/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=5740550295288139350&amp;postID=4863786442109227344' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5740550295288139350/posts/default/4863786442109227344'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5740550295288139350/posts/default/4863786442109227344'/><link rel='alternate' type='text/html' href='http://kelvinchufei.blogspot.com/2007/01/dynamic-clamp.html' title='Dynamic Clamp Introduction'/><author><name>Kelvin Fei Chu</name><uri>http://www.blogger.com/profile/11748397661373760438</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://bp0.blogger.com/_JFxqZRV7aGs/R5oADuf2VKI/AAAAAAAACVI/hPneTeJ_6I8/S220/DSC04852.JPG'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5740550295288139350.post-8932793062835498524</id><published>2007-01-10T16:58:00.000-06:00</published><updated>2008-01-25T10:25:35.099-06:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='RTAI'/><title type='text'>Using the latest RTAI from CVS</title><content type='html'>cvs -d:pserver:anonymous@cvs.gna.org:/cvs/rtai co &lt;modulename&gt;&lt;br /&gt;&lt;br /&gt;You can access to see the directories from&lt;br /&gt;http://cvs.gna.org/cvsweb/?cvsroot=rtai&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5740550295288139350-8932793062835498524?l=kelvinchufei.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://kelvinchufei.blogspot.com/feeds/8932793062835498524/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=5740550295288139350&amp;postID=8932793062835498524' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5740550295288139350/posts/default/8932793062835498524'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5740550295288139350/posts/default/8932793062835498524'/><link rel='alternate' type='text/html' href='http://kelvinchufei.blogspot.com/2007/01/using-latest-rtai-from-cvs.html' title='Using the latest RTAI from CVS'/><author><name>Kelvin Fei Chu</name><uri>http://www.blogger.com/profile/11748397661373760438</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://bp0.blogger.com/_JFxqZRV7aGs/R5oADuf2VKI/AAAAAAAACVI/hPneTeJ_6I8/S220/DSC04852.JPG'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5740550295288139350.post-2245123339127781160</id><published>2007-01-10T14:03:00.000-06:00</published><updated>2007-01-25T12:19:26.601-06:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Lab-tips'/><title type='text'>RAMP Value Test</title><content type='html'>Before starting to use a new type of glass to pull micro-pipettes, make sure to conduct the RAMP Value Test,which would give an empirical relation to calculate the proper Heat, Pull force, Velocity, Delay, and Pressure.&lt;br /&gt;&lt;br /&gt;Operation Procedure:&lt;br /&gt;1. enter a number (such as "3")&lt;br /&gt;2. press "Enter"&lt;br /&gt;3. press "Clear"&lt;br /&gt;4. choose "No"&lt;br /&gt;5. press "1" - Ramp test&lt;br /&gt;6. press "Pull"&lt;br /&gt;7. press "Reset"&lt;br /&gt;&lt;br /&gt;Typical Combinations: (may only applicable to Sutter Instruments P-97)&lt;br /&gt;&lt;br /&gt;Type:Patch Glass:1.5mm*0.86mm(Sutter Glass BF 150-86-10)&lt;br /&gt;RAMP Test Value: 565&lt;br /&gt;Heat=RAMP Value&lt;br /&gt;Pull=0&lt;br /&gt;Velocity=25&lt;br /&gt;Delay=1&lt;br /&gt;Pressure=500&lt;br /&gt;Loop 4 to 5 times. Pipette will have 2-8 M Ohm Resistance.&lt;br /&gt;&lt;br /&gt;Type:Patch Glass:1.5mm*1.10mm(Sutter Glass BF150-110-10)&lt;br /&gt;RAMP Test Value: &lt;br /&gt;Heat=RAMP Value+5&lt;br /&gt;Pull=0&lt;br /&gt;Velocity=45&lt;br /&gt;Time=250&lt;br /&gt;Pressure=500&lt;br /&gt;Loop 3 times. Pipette will have 1-4 M Ohm Resistance.&lt;br /&gt;&lt;br /&gt;Type:Micro-injection Glass:1.0mm*0.50mm(Sutter Glass BF100-50-10)&lt;br /&gt;RAMP Test Value: 535&lt;br /&gt;Heat=RAMP Value+15&lt;br /&gt;Pull=60&lt;br /&gt;Velocity=60&lt;br /&gt;Time=250&lt;br /&gt;Pressure=500&lt;br /&gt;Pipette will have 40-80 M Ohm Resistance.&lt;br /&gt;&lt;br /&gt;Type:Micro-injection Glass:1.0mm*0.78mm(Sutter Glass BF100-78-10)&lt;br /&gt;RAMP Test Value: &lt;br /&gt;Heat=RAMP Value+5&lt;br /&gt;Pull=90&lt;br /&gt;Velocity=70&lt;br /&gt;Delay=70&lt;br /&gt;Pressure=200&lt;br /&gt;Pipette will have 20-60 M Ohm Resistance.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5740550295288139350-2245123339127781160?l=kelvinchufei.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://kelvinchufei.blogspot.com/feeds/2245123339127781160/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=5740550295288139350&amp;postID=2245123339127781160' title='2 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5740550295288139350/posts/default/2245123339127781160'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5740550295288139350/posts/default/2245123339127781160'/><link rel='alternate' type='text/html' href='http://kelvinchufei.blogspot.com/2007/01/ramp-value-test.html' title='RAMP Value Test'/><author><name>Kelvin Fei Chu</name><uri>http://www.blogger.com/profile/11748397661373760438</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://bp0.blogger.com/_JFxqZRV7aGs/R5oADuf2VKI/AAAAAAAACVI/hPneTeJ_6I8/S220/DSC04852.JPG'/></author><thr:total>2</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5740550295288139350.post-1640311913916847330</id><published>2007-01-10T13:59:00.000-06:00</published><updated>2007-01-10T14:02:31.688-06:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Lab-tips'/><title type='text'>How to Glue the Chamber</title><content type='html'>1. Use the silicon seal in the chamber&lt;br /&gt;2. Put a piece of glass on the chamber then take it off, in order to let the amount of gel on the chamber to be appropriate&lt;br /&gt;3. Put another piece of glass on the chamber&lt;br /&gt;4. Screw to fix the window in the center of the chamber&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5740550295288139350-1640311913916847330?l=kelvinchufei.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://kelvinchufei.blogspot.com/feeds/1640311913916847330/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=5740550295288139350&amp;postID=1640311913916847330' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5740550295288139350/posts/default/1640311913916847330'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5740550295288139350/posts/default/1640311913916847330'/><link rel='alternate' type='text/html' href='http://kelvinchufei.blogspot.com/2007/01/glue-chamber.html' title='How to Glue the Chamber'/><author><name>Kelvin Fei Chu</name><uri>http://www.blogger.com/profile/11748397661373760438</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://bp0.blogger.com/_JFxqZRV7aGs/R5oADuf2VKI/AAAAAAAACVI/hPneTeJ_6I8/S220/DSC04852.JPG'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5740550295288139350.post-7857449949886034070</id><published>2007-01-09T17:30:00.000-06:00</published><updated>2007-01-10T15:33:20.655-06:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Lab-tips'/><title type='text'>Instrument Models List</title><content type='html'>Micro-pipette Puller : Sutter Instrument P-97&lt;br /&gt;CCD Camera : XC-ST50+ Olympus U-TV0.5XC-3&lt;br /&gt;Microscope: Olympus BX51WI Fixed Stage Upright Microscope + WI-SNPXLU Revolving Nosepiece + WI-DICTHRA U-LDPXLU20HR DIC Prism + U-KPA Simple Polarizing Intermediate Attachment + U-ANT Analyzer + XLUMPlanFI20XW Objective + WI-DICD Condenser + 32BP775 IR Filter (Polarizer)&lt;br /&gt;Micro-manipulator : Sutter Instrument MPC-385-2 (MPC-200 and ROE-200 and MP-285/M)&lt;br /&gt;Vibration Isolation Platform : Minus k Technology BM-4 Biscuit&lt;br /&gt;Heater Controller : Warner Instruments TC-344B&lt;br /&gt;DAQ Card : National Instrument PCI-6259&lt;br /&gt;BNC Adapter : National Instrument BNC-2090 (using SHC68-68 Cable)&lt;br /&gt;Micro-electrode Amplifier : Axon Instruments MultiClamp 700B&lt;br /&gt;Micro-pipette Headstage : Axon Instruments CV-7B&lt;br /&gt;Water Bath:Precision Scientific 181 STAINLESS&lt;br /&gt;Multichannel Cartridge Pumps: Watson-Marlow* Sci-Q 205U/CA and 205S/CA&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5740550295288139350-7857449949886034070?l=kelvinchufei.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://kelvinchufei.blogspot.com/feeds/7857449949886034070/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=5740550295288139350&amp;postID=7857449949886034070' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5740550295288139350/posts/default/7857449949886034070'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5740550295288139350/posts/default/7857449949886034070'/><link rel='alternate' type='text/html' href='http://kelvinchufei.blogspot.com/2007/01/instrument-models-list.html' title='Instrument Models List'/><author><name>Kelvin Fei Chu</name><uri>http://www.blogger.com/profile/11748397661373760438</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://bp0.blogger.com/_JFxqZRV7aGs/R5oADuf2VKI/AAAAAAAACVI/hPneTeJ_6I8/S220/DSC04852.JPG'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5740550295288139350.post-5899819525405987325</id><published>2007-01-09T13:45:00.000-06:00</published><updated>2008-01-25T10:30:58.861-06:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Comedi'/><title type='text'>Comedi Sample Program(2)</title><content type='html'>Source Code 2: tut2.c&lt;br /&gt;&lt;br /&gt;#include &lt;stdio.h&gt;      /* for printf() */&lt;br /&gt;#include &lt;comedilib.h&gt;&lt;br /&gt;&lt;br /&gt;int subdev = 0;         /* change this to your input subdevice */&lt;br /&gt;int chan = 0;           /* change this to your channel */&lt;br /&gt;int range = 0;          /* more on this later */&lt;br /&gt;int aref = 0;           /* more on this later */&lt;br /&gt;&lt;br /&gt;int main(int argc,char *argv[])&lt;br /&gt;{&lt;br /&gt; comedi_t *cf;&lt;br /&gt; int chan=0;&lt;br /&gt; lsampl_t data;&lt;br /&gt; int maxdata,rangetype;&lt;br /&gt; double volts;&lt;br /&gt;&lt;br /&gt; cf=comedi_open("/dev/comedi0");&lt;br /&gt;&lt;br /&gt; maxdata=comedi_get_maxdata(cf,subdev,chan);&lt;br /&gt;&lt;br /&gt; rangetype=comedi_get_rangetype(cf,subdev,chan);&lt;br /&gt;&lt;br /&gt; comedi_data_read(cf,subdev,chan,range,aref,&amp;amp;data);  //different from the original comedi demo 2 program here&lt;br /&gt;&lt;br /&gt; volts=comedi_to_phys(data,comedi_get_range(cf,subdev,chan,range),maxdata);     //different from the original comedi demo 2 program here&lt;br /&gt;&lt;br /&gt; printf("%d %g\n",data,volts);&lt;br /&gt;&lt;br /&gt;return 0;&lt;br /&gt;}&lt;br /&gt;&lt;br /&gt;Compiling:&lt;br /&gt;cc tut2.c -lcomedi -lm -o tut2&lt;br /&gt;&lt;br /&gt;Running Result:&lt;br /&gt;32768 0.00015259&lt;/comedilib.h&gt;&lt;/stdio.h&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5740550295288139350-5899819525405987325?l=kelvinchufei.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://kelvinchufei.blogspot.com/feeds/5899819525405987325/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=5740550295288139350&amp;postID=5899819525405987325' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5740550295288139350/posts/default/5899819525405987325'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5740550295288139350/posts/default/5899819525405987325'/><link rel='alternate' type='text/html' href='http://kelvinchufei.blogspot.com/2007/01/comedi-sample-program2.html' title='Comedi Sample Program(2)'/><author><name>Kelvin Fei Chu</name><uri>http://www.blogger.com/profile/11748397661373760438</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://bp0.blogger.com/_JFxqZRV7aGs/R5oADuf2VKI/AAAAAAAACVI/hPneTeJ_6I8/S220/DSC04852.JPG'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5740550295288139350.post-5229752305354087389</id><published>2007-01-07T12:51:00.000-06:00</published><updated>2008-01-25T10:48:08.235-06:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Comedi'/><category scheme='http://www.blogger.com/atom/ns#' term='My scripts'/><title type='text'>Comedi Sample Program(1)</title><content type='html'>Source Code:tut1.c&lt;br /&gt;&lt;br /&gt;#include &lt;stdio.h&gt;/* for printf() */&lt;br /&gt;#include &lt;comedilib.h&gt;&lt;br /&gt;&lt;br /&gt;int subdev = 0; /* change this to your input subdevice */&lt;br /&gt;int chan = 0; /* change this to your channel */&lt;br /&gt;int range = 0; /* more on this later */&lt;br /&gt;int aref = AREF_GROUND; /* more on this later */&lt;br /&gt;&lt;br /&gt;int main(int argc,char *argv[])&lt;br /&gt;{&lt;br /&gt;comedi_t *it;&lt;br /&gt;lsampl_t data;&lt;br /&gt;&lt;br /&gt;it=comedi_open("/dev/comedi0");&lt;br /&gt;&lt;br /&gt;comedi_data_read(it,subdev,chan,range,aref, &amp; data);&lt;br /&gt;&lt;br /&gt;printf("%d\n",data);&lt;br /&gt;&lt;br /&gt;return 0;&lt;br /&gt;}&lt;br /&gt;&lt;br /&gt;Compile:&lt;br /&gt;cc tut1.c -lcomedi -lm -o tut1&lt;br /&gt;&lt;br /&gt;Running Result:&lt;br /&gt;32768&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5740550295288139350-5229752305354087389?l=kelvinchufei.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://kelvinchufei.blogspot.com/feeds/5229752305354087389/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=5740550295288139350&amp;postID=5229752305354087389' title='3 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5740550295288139350/posts/default/5229752305354087389'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5740550295288139350/posts/default/5229752305354087389'/><link rel='alternate' type='text/html' href='http://kelvinchufei.blogspot.com/2007/01/comedi-sample-program1.html' title='Comedi Sample Program(1)'/><author><name>Kelvin Fei Chu</name><uri>http://www.blogger.com/profile/11748397661373760438</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://bp0.blogger.com/_JFxqZRV7aGs/R5oADuf2VKI/AAAAAAAACVI/hPneTeJ_6I8/S220/DSC04852.JPG'/></author><thr:total>3</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5740550295288139350.post-8731474587616267738</id><published>2007-01-06T16:07:00.000-06:00</published><updated>2008-01-25T10:28:32.734-06:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Linux'/><category scheme='http://www.blogger.com/atom/ns#' term='Vmware'/><title type='text'>Add usb device in VMware</title><content type='html'>&lt;span style="font-size:100%;"&gt;Prequisite:&lt;br /&gt;&lt;br /&gt;1) Make sure your host O/S does not have it mounted or loaded.&lt;br /&gt;2) Make sure /proc/bus/usb is mounted as filesystem type usbfs.&lt;br /&gt;# mount -t usbfs none /proc/bus/usb&lt;br /&gt;&lt;br /&gt;Step:&lt;br /&gt;In VMware, Edit the virtual machine settings-&gt; Add a usb controller-&gt; Rebooting the virtual machine-&gt; Enable(load) the usb device in "VM"-"Removable Devices"-"USB deivces"&lt;br /&gt;&lt;br /&gt;This will be extremely useful since the MultiClamp is connected through usb port and we can use some portable hard drive with the virtual machine to pass the data to the host machine.&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5740550295288139350-8731474587616267738?l=kelvinchufei.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://kelvinchufei.blogspot.com/feeds/8731474587616267738/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=5740550295288139350&amp;postID=8731474587616267738' title='113 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5740550295288139350/posts/default/8731474587616267738'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5740550295288139350/posts/default/8731474587616267738'/><link rel='alternate' type='text/html' href='http://kelvinchufei.blogspot.com/2007/01/add-usb-device-in-vmware.html' title='Add usb device in VMware'/><author><name>Kelvin Fei Chu</name><uri>http://www.blogger.com/profile/11748397661373760438</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://bp0.blogger.com/_JFxqZRV7aGs/R5oADuf2VKI/AAAAAAAACVI/hPneTeJ_6I8/S220/DSC04852.JPG'/></author><thr:total>113</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5740550295288139350.post-6849004507928213079</id><published>2007-01-06T15:29:00.001-06:00</published><updated>2008-01-25T10:28:32.735-06:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Linux'/><category scheme='http://www.blogger.com/atom/ns#' term='Vmware'/><title type='text'>Add sound card driver in VMware</title><content type='html'>If your virtual machine does not have a virtual sound adapter in the virtual machine configuration file (.vmx)&lt;br /&gt;&lt;br /&gt;With the virtual machine powered off, try adding the following lines to the end of the .vmx file&lt;br /&gt;&lt;br /&gt;sound.present = "TRUE"&lt;br /&gt;sound.virtualDev = "es1371"&lt;br /&gt;sound.fileName = "-1"&lt;br /&gt;sound.autodetect = "TRUE"&lt;br /&gt;&lt;br /&gt;This requires that have a physical sound card installed in your host.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5740550295288139350-6849004507928213079?l=kelvinchufei.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://kelvinchufei.blogspot.com/feeds/6849004507928213079/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=5740550295288139350&amp;postID=6849004507928213079' title='42 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5740550295288139350/posts/default/6849004507928213079'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5740550295288139350/posts/default/6849004507928213079'/><link rel='alternate' type='text/html' href='http://kelvinchufei.blogspot.com/2007/01/add-sound-card-driver-in-vmware.html' title='Add sound card driver in VMware'/><author><name>Kelvin Fei Chu</name><uri>http://www.blogger.com/profile/11748397661373760438</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://bp0.blogger.com/_JFxqZRV7aGs/R5oADuf2VKI/AAAAAAAACVI/hPneTeJ_6I8/S220/DSC04852.JPG'/></author><thr:total>42</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5740550295288139350.post-4396299116103578933</id><published>2007-01-05T16:19:00.001-06:00</published><updated>2008-01-25T10:28:32.736-06:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Linux'/><title type='text'>Linux Script Programing</title><content type='html'>&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5740550295288139350-4396299116103578933?l=kelvinchufei.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='related' href='http://www.comptechdoc.org/os/linux/programming/script/linux_pgscriptintro.html' title='Linux Script Programing'/><link rel='replies' type='application/atom+xml' href='http://kelvinchufei.blogspot.com/feeds/4396299116103578933/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=5740550295288139350&amp;postID=4396299116103578933' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5740550295288139350/posts/default/4396299116103578933'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5740550295288139350/posts/default/4396299116103578933'/><link rel='alternate' type='text/html' href='http://kelvinchufei.blogspot.com/2007/01/linux-script-programing.html' title='Linux Script Programing'/><author><name>Kelvin Fei Chu</name><uri>http://www.blogger.com/profile/11748397661373760438</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://bp0.blogger.com/_JFxqZRV7aGs/R5oADuf2VKI/AAAAAAAACVI/hPneTeJ_6I8/S220/DSC04852.JPG'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5740550295288139350.post-3178499346159297265</id><published>2007-01-04T17:59:00.000-06:00</published><updated>2008-01-25T10:28:32.737-06:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Linux'/><title type='text'>How to switch to and from Console mode in GNOME</title><content type='html'>To switch to Console mode : Press 'Ctrl + Alt + F1' (F2 - F6)&lt;br /&gt;To switch between consoles in Console mode: Press 'Alt + F1' (F2 - F6)&lt;br /&gt;To switch back to GNOME mode : Press 'Alt + F7'&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5740550295288139350-3178499346159297265?l=kelvinchufei.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://kelvinchufei.blogspot.com/feeds/3178499346159297265/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=5740550295288139350&amp;postID=3178499346159297265' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5740550295288139350/posts/default/3178499346159297265'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5740550295288139350/posts/default/3178499346159297265'/><link rel='alternate' type='text/html' href='http://kelvinchufei.blogspot.com/2007/01/how-to-switch-to-and-from-console-mode.html' title='How to switch to and from Console mode in GNOME'/><author><name>Kelvin Fei Chu</name><uri>http://www.blogger.com/profile/11748397661373760438</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://bp0.blogger.com/_JFxqZRV7aGs/R5oADuf2VKI/AAAAAAAACVI/hPneTeJ_6I8/S220/DSC04852.JPG'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5740550295288139350.post-634959612140910134</id><published>2007-01-04T15:47:00.000-06:00</published><updated>2007-03-01T13:14:04.904-06:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='RTXI-RTLDC'/><title type='text'>How to install RTLDC on Ubuntu 6.06 (2)</title><content type='html'>&lt;p&gt;The first step to installation is to configure the package, to do this run:&lt;/p&gt;&lt;table bg="" style="color: rgb(224, 224, 224);" border="1" width="100%"&gt;&lt;tbody&gt;&lt;tr&gt;&lt;td&gt;&lt;span style="color: rgb(0, 0, 0);"&gt;&lt;pre class="SCREEN"&gt;  &lt;tt class="PROMPT"&gt;bash$&lt;/tt&gt; &lt;b class="COMMAND"&gt;make config&lt;/b&gt;&lt;br /&gt;   &lt;/pre&gt;&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;p&gt;Then answer the following questions:&lt;/p&gt;&lt;div class="QANDASET"&gt;&lt;dl&gt;&lt;dt&gt;3.2.1.1. &lt;a href="http://ndl.bu.edu/rtldc/doc/rtldc-install-manual.html#AEN315"&gt;Location of Linux Kernel Sources&lt;/a&gt;&lt;/dt&gt;&lt;dt&gt;3.2.1.2. &lt;a href="http://ndl.bu.edu/rtldc/doc/rtldc-install-manual.html#AEN321"&gt;Real-Time Linux Version&lt;/a&gt;&lt;/dt&gt;&lt;dt&gt;3.2.1.3. &lt;a href="http://ndl.bu.edu/rtldc/doc/rtldc-install-manual.html#AEN327"&gt;Location of RTAI/RTLinux sources&lt;/a&gt;&lt;/dt&gt;&lt;dt&gt;3.2.1.4. &lt;a href="http://ndl.bu.edu/rtldc/doc/rtldc-install-manual.html#AEN334"&gt;Comedi Directory&lt;/a&gt;&lt;/dt&gt;&lt;dt&gt;3.2.1.5. &lt;a href="http://ndl.bu.edu/rtldc/doc/rtldc-install-manual.html#AEN341"&gt;Comedilib Directory&lt;/a&gt;&lt;/dt&gt;&lt;dt&gt;3.2.1.6. &lt;a href="http://ndl.bu.edu/rtldc/doc/rtldc-install-manual.html#AEN348"&gt;QT Directory&lt;/a&gt;&lt;/dt&gt;&lt;/dl&gt;&lt;div class="QANDAENTRY"&gt;&lt;div class="QUESTION"&gt;&lt;p&gt;&lt;a name="AEN315"&gt;&lt;/a&gt;&lt;b&gt;3.2.1.1. &lt;/b&gt;Location of Linux Kernel Sources&lt;/p&gt;&lt;/div&gt;&lt;div class="ANSWER"&gt;&lt;p&gt;&lt;b&gt; &lt;/b&gt;You probably won't go wrong by answering &lt;tt class="FILENAME"&gt;/usr/src/`uname -r`/build&lt;/tt&gt;.&lt;/p&gt;&lt;/div&gt;&lt;/div&gt;&lt;div class="QANDAENTRY"&gt;&lt;div class="QUESTION"&gt;&lt;p&gt;&lt;a name="AEN321"&gt;&lt;/a&gt;&lt;b&gt;3.2.1.2. &lt;/b&gt;Real-Time Linux Version&lt;/p&gt;&lt;/div&gt;&lt;div class="ANSWER"&gt;&lt;p&gt;&lt;b&gt; &lt;/b&gt;You should specify either RTAI or RTLinux, depending on which of the packages you installed, if you followed the directions in &lt;a href="http://ndl.bu.edu/rtldc/doc/rtldc-install-manual.html#SYSTEM-REQUIREMENTS"&gt;System Requirements&lt;/a&gt; you should have RTAI installed.&lt;/p&gt;&lt;/div&gt;&lt;/div&gt;&lt;div class="QANDAENTRY"&gt;&lt;div class="QUESTION"&gt;&lt;p&gt;&lt;a name="AEN327"&gt;&lt;/a&gt;&lt;b&gt;3.2.1.3. &lt;/b&gt;Location of RTAI/RTLinux sources&lt;/p&gt;&lt;/div&gt;&lt;div class="ANSWER"&gt;&lt;p&gt;&lt;b&gt; &lt;/b&gt;If you are using RTAI try &lt;tt class="FILENAME"&gt;/usr/src/rtai&lt;/tt&gt; or if you are using RTLinux try &lt;tt class="FILENAME"&gt;/usr/src/rtlinux&lt;/tt&gt;.&lt;/p&gt;&lt;/div&gt;&lt;/div&gt;&lt;div class="QANDAENTRY"&gt;&lt;div class="QUESTION"&gt;&lt;p&gt;&lt;a name="AEN334"&gt;&lt;/a&gt;&lt;b&gt;3.2.1.4. &lt;/b&gt;Comedi Directory&lt;/p&gt;&lt;/div&gt;&lt;div class="ANSWER"&gt;&lt;p&gt;&lt;b&gt; &lt;/b&gt;This is the location of the Comedi package. If you followed the instructions in &lt;a href="http://ndl.bu.edu/rtldc/doc/rtldc-install-manual.html#SYSTEM-REQUIREMENTS"&gt;System Requirements&lt;/a&gt; then you would answer &lt;tt class="FILENAME"&gt;/opt/comedi&lt;/tt&gt;.&lt;/p&gt;&lt;/div&gt;&lt;/div&gt;&lt;div class="QANDAENTRY"&gt;&lt;div class="QUESTION"&gt;&lt;p&gt;&lt;a name="AEN341"&gt;&lt;/a&gt;&lt;b&gt;3.2.1.5. &lt;/b&gt;Comedilib Directory&lt;/p&gt;&lt;/div&gt;&lt;div class="ANSWER"&gt;&lt;p&gt;&lt;b&gt; &lt;/b&gt;This is the location of the Comedilib package. If you followed the instructions in &lt;a href="http://ndl.bu.edu/rtldc/doc/rtldc-install-manual.html#SYSTEM-REQUIREMENTS"&gt;System Requirements&lt;/a&gt; then you would answer &lt;tt class="FILENAME"&gt;/opt/comedilib&lt;/tt&gt;.&lt;/p&gt;&lt;/div&gt;&lt;/div&gt;&lt;div class="QANDAENTRY"&gt;&lt;div class="QUESTION"&gt;&lt;p&gt;&lt;a name="AEN348"&gt;&lt;/a&gt;&lt;b&gt;3.2.1.6. &lt;/b&gt;QT Directory&lt;/p&gt;&lt;/div&gt;&lt;div class="ANSWER"&gt;&lt;p&gt;&lt;b&gt; &lt;/b&gt;This is the location of the QT package. If you followed the instructions in &lt;a href="http://ndl.bu.edu/rtldc/doc/rtldc-install-manual.html#SYSTEM-REQUIREMENTS"&gt;System Requirements&lt;/a&gt; then you would answer &lt;tt class="FILENAME"&gt;/usr/lib/qt&lt;/tt&gt;.&lt;/p&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;div class="SECT2"&gt;&lt;hr /&gt;&lt;h3 class="SECT2"&gt;&lt;a name="INSTALL-COMPILATION"&gt;&lt;/a&gt;&lt;span style="font-size:85%;"&gt;&lt;span style="color: rgb(0, 0, 0);"&gt;3.2.2. Compilation&lt;/span&gt;&lt;/span&gt;&lt;/h3&gt;&lt;p&gt;Now you are ready to begin compiling so run:&lt;/p&gt;&lt;table bg="" style="color: rgb(224, 224, 224);" border="1" width="100%"&gt;&lt;tbody&gt;&lt;tr&gt;&lt;td&gt;&lt;span style="color: rgb(0, 0, 0);"&gt;&lt;pre class="SCREEN"&gt;  &lt;tt class="PROMPT"&gt;bash$&lt;/tt&gt; &lt;b class="COMMAND"&gt;make&lt;/b&gt;&lt;br /&gt;   &lt;/pre&gt;&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;p&gt;Sit back and wait for the compilation to finish. If your compilation fails checkout the FAQ or if that doesn't work see &lt;a href="http://ndl.bu.edu/rtldc/doc/rtldc-install-manual.html#GETTING-HELP"&gt;Getting Help&lt;/a&gt;.&lt;/p&gt;&lt;p&gt;NOTE:&lt;br /&gt;&lt;/p&gt;1. You have to make a link&lt;br /&gt;$ ln -s /usr/local/lib/libcomedi-0.7.22.so libcomedi-0.7.22.so&lt;br /&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5740550295288139350-634959612140910134?l=kelvinchufei.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://kelvinchufei.blogspot.com/feeds/634959612140910134/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=5740550295288139350&amp;postID=634959612140910134' title='8 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5740550295288139350/posts/default/634959612140910134'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5740550295288139350/posts/default/634959612140910134'/><link rel='alternate' type='text/html' href='http://kelvinchufei.blogspot.com/2007/01/how-to-get-rtldc-working.html' title='How to install RTLDC on Ubuntu 6.06 (2)'/><author><name>Kelvin Fei Chu</name><uri>http://www.blogger.com/profile/11748397661373760438</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://bp0.blogger.com/_JFxqZRV7aGs/R5oADuf2VKI/AAAAAAAACVI/hPneTeJ_6I8/S220/DSC04852.JPG'/></author><thr:total>8</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5740550295288139350.post-171693171657928590</id><published>2007-01-03T14:54:00.000-06:00</published><updated>2008-01-25T10:28:32.738-06:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Linux'/><title type='text'>Start FTP Serve on Ubuntu</title><content type='html'>&lt;pre&gt;&lt;span style="font-size:130%;"&gt;1. sudo apt-get install proftpd (stand alone service)&lt;br /&gt;2. sudo cp /etc/proftpd.conf /etc/proftpd.conf_backup&lt;br /&gt;3. sudo gedit /etc/proftpd/proftpd.conf&lt;br /&gt;4. find this section...DenyFilter \*.*/....&lt;br /&gt;5. Add the following line below it&lt;br /&gt;DefaultRoot ~&lt;br /&gt;6. Save the edited file&lt;br /&gt;7. addgroup ftpuser&lt;br /&gt;8. adduser &lt;/span&gt;&lt;span&gt;&lt;span style="font-size:130%;"&gt;&lt;i xmlns="http://www.w3.org/1999/xhtml"&gt;username&lt;br /&gt;9. &lt;/i&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="font-size:130%;"&gt;usermod -G ftpuser &lt;i xmlns="http://www.w3.org/1999/xhtml"&gt;username&lt;/i&gt;&lt;br /&gt;10. sudo /etc/init.d/proftpd restart&lt;/span&gt;&lt;/pre&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5740550295288139350-171693171657928590?l=kelvinchufei.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://kelvinchufei.blogspot.com/feeds/171693171657928590/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=5740550295288139350&amp;postID=171693171657928590' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5740550295288139350/posts/default/171693171657928590'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5740550295288139350/posts/default/171693171657928590'/><link rel='alternate' type='text/html' href='http://kelvinchufei.blogspot.com/2007/01/start-ftp-serve-on-ubuntu.html' title='Start FTP Serve on Ubuntu'/><author><name>Kelvin Fei Chu</name><uri>http://www.blogger.com/profile/11748397661373760438</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://bp0.blogger.com/_JFxqZRV7aGs/R5oADuf2VKI/AAAAAAAACVI/hPneTeJ_6I8/S220/DSC04852.JPG'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5740550295288139350.post-8477282159019329529</id><published>2007-01-03T13:29:00.000-06:00</published><updated>2008-01-25T10:30:58.863-06:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Comedi'/><title type='text'>Using latest Comedi download through CVS</title><content type='html'>&lt;p&gt;The latest unstable version of Comedi and comedilib can be checked out using anonymous CVS using the commands: &lt;/p&gt;  &lt;pre&gt;&lt;span style="font-size:130%;"&gt;cvs -d :pserver:anonymous@cvs.comedi.org:/cvs/comedi login&lt;br /&gt;cvs -d :pserver:anonymous@cvs.comedi.org:/cvs/comedi co comedi&lt;br /&gt;cvs -d :pserver:anonymous@cvs.comedi.org:/cvs/comedi co comedili&lt;br /&gt;&lt;br /&gt;1. cd /comedilib&lt;br /&gt;2. apt-get install bison&lt;br /&gt;3. apt-get install flex&lt;br /&gt;4. apt-get install libtool&lt;br /&gt;5. download automake1.9_for_debian package and install it&lt;br /&gt;(6. if you encounter the calib.lex error, you can "rm lib/calib_*.[ch]")&lt;br /&gt;7. ./autogen.sh&lt;br /&gt;8. ./configure&lt;br /&gt;9. make&lt;br /&gt;10. make install&lt;br /&gt;11. cd /comedi&lt;br /&gt;12. ./autogen.sh&lt;br /&gt;13. ./configure&lt;br /&gt;14. make&lt;br /&gt;15. make install&lt;br /&gt;16. depmod -a&lt;br /&gt;17. make dev&lt;br /&gt;&lt;br /&gt;Note: The CVS version of Comedi may not be compatible with &lt;/span&gt;&lt;span&gt;&lt;span style="font-size:130%;"&gt;rtai_comedi module of &lt;/span&gt;&lt;/span&gt;&lt;span style="font-size:130%;"&gt;current rtai_3.4 version,&lt;br /&gt;which means if you are using RTAI and Comedi, it may not be the "realtime" case and can be very slow.&lt;br /&gt;&lt;/span&gt;&lt;/pre&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5740550295288139350-8477282159019329529?l=kelvinchufei.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://kelvinchufei.blogspot.com/feeds/8477282159019329529/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=5740550295288139350&amp;postID=8477282159019329529' title='2 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5740550295288139350/posts/default/8477282159019329529'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5740550295288139350/posts/default/8477282159019329529'/><link rel='alternate' type='text/html' href='http://kelvinchufei.blogspot.com/2007/01/comedi-download-through-cvs.html' title='Using latest Comedi download through CVS'/><author><name>Kelvin Fei Chu</name><uri>http://www.blogger.com/profile/11748397661373760438</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://bp0.blogger.com/_JFxqZRV7aGs/R5oADuf2VKI/AAAAAAAACVI/hPneTeJ_6I8/S220/DSC04852.JPG'/></author><thr:total>2</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5740550295288139350.post-3527563451104223560</id><published>2007-01-02T17:26:00.000-06:00</published><updated>2008-01-25T10:28:32.739-06:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Linux'/><title type='text'>Linux Networking</title><content type='html'>&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5740550295288139350-3527563451104223560?l=kelvinchufei.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='related' href='http://www.yolinux.com/TUTORIALS/LinuxTutorialNetworking.html' title='Linux Networking'/><link rel='replies' type='application/atom+xml' href='http://kelvinchufei.blogspot.com/feeds/3527563451104223560/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=5740550295288139350&amp;postID=3527563451104223560' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5740550295288139350/posts/default/3527563451104223560'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5740550295288139350/posts/default/3527563451104223560'/><link rel='alternate' type='text/html' href='http://kelvinchufei.blogspot.com/2007/01/linux-networking.html' title='Linux Networking'/><author><name>Kelvin Fei Chu</name><uri>http://www.blogger.com/profile/11748397661373760438</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://bp0.blogger.com/_JFxqZRV7aGs/R5oADuf2VKI/AAAAAAAACVI/hPneTeJ_6I8/S220/DSC04852.JPG'/></author><thr:total>0</thr:total></entry></feed>
