<?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:blogger='http://schemas.google.com/blogger/2008' 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-5353799867078994058</id><updated>2026-02-25T02:08:55.353-08:00</updated><title type='text'>Surfing Troves</title><subtitle type='html'></subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://surfingtroves.blogspot.com/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5353799867078994058/posts/default?redirect=false'/><link rel='alternate' type='text/html' href='http://surfingtroves.blogspot.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><link rel='next' type='application/atom+xml' href='http://www.blogger.com/feeds/5353799867078994058/posts/default?start-index=26&amp;max-results=25&amp;redirect=false'/><author><name>Surfing Troves</name><uri>http://www.blogger.com/profile/07005425779123795943</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>53</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>25</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-5353799867078994058.post-935362682734682931</id><published>2014-08-08T17:25:00.001-07:00</published><updated>2014-08-08T17:27:11.139-07:00</updated><title type='text'>WinEdit: Cannot Jump from PDF to LaTex source?</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;div&gt;
You may have already known about the convenient feature of WinEdit LaTex environment that allows you to jump from the generated PDF line, when clicking that line, back to the corresponding tex source line in the WinEdit editor window. This is immensely helpful and conducive to efficient Tex editing and revising.&amp;nbsp;&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
However, somehow you may find that the feature suddenly fails to work. That happens to me recently, making a lot of headaches when fiddling with how to fix it and bring the nice feature back to work.&amp;nbsp;&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
Regardless of how other online posts complicated this solution, here is the quick steps:&lt;/div&gt;
&lt;div&gt;
&lt;script async src=&quot;//pagead2.googlesyndication.com/pagead/js/adsbygoogle.js&quot;&gt;&lt;/script&gt;
&lt;!-- surfingtroves_main_Blog1_468x60_as --&gt;
&lt;ins class=&quot;adsbygoogle&quot;
     style=&quot;display:inline-block;width:468px;height:60px&quot;
     data-ad-client=&quot;ca-pub-0648395428705476&quot;
     data-ad-slot=&quot;5101568019&quot;&gt;&lt;/ins&gt;
&lt;script&gt;
(adsbygoogle = window.adsbygoogle || []).push({});
&lt;/script&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
1. &lt;a href=&quot;http://blog.kowalczyk.info/software/sumatrapdf/download-free-pdf-viewer.html&quot;&gt;Download Sumatra PDF reader&lt;/a&gt; and install it (to avoid unnecessary trouble, just install it to the default folder, for instance &#39;C:\Program Files (x86)&quot;).&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
2. Open your WinEdit and get into &#39;Options&#39; (from the main menu) -&amp;gt; &#39;Execution Modes&#39;&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
3. In &#39;PDF Viewer&#39; tab, set Sumatra PDF reader (the executable SumatraPDF.exe) as the &#39;PDF Viewer Executable&#39;; leave &#39;Use --synctex switch when --src is enabled&#39; unchecked; fill &#39;--synctex=1&#39; in SyncTex switch box&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
4. Move to the &#39;Console Applications&#39; tab, choose &#39;PDFTexify&#39; in the navigation menu on the left-hand side, fill &#39;--pdf --tex-option=--synctex=-1&#39; in the &#39;Switches&#39; box.&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
5. Ctrl+Shift+&#39;P&#39; (or choose &#39;PDFTexify&#39; from the &#39;Tex&#39;-&amp;gt;&#39;PDF&#39; menu items) to build your PDF; save settings and get back to your editing environment.&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
6. Now try to double click a line in the PDF, the beautiful functionality should play like a charm!&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;/div&gt;&lt;div class=&quot;blogger-post-footer&quot;&gt;http://feeds.feedburner.com/SurfingTroves&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://surfingtroves.blogspot.com/feeds/935362682734682931/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/5353799867078994058/935362682734682931' title='6 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5353799867078994058/posts/default/935362682734682931'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5353799867078994058/posts/default/935362682734682931'/><link rel='alternate' type='text/html' href='http://surfingtroves.blogspot.com/2014/08/winedit-cannot-jump-from-pdf-to-latex.html' title='WinEdit: Cannot Jump from PDF to LaTex source?'/><author><name>chapple.cai</name><uri>http://www.blogger.com/profile/05417712358820523031</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>6</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5353799867078994058.post-6054082269232110955</id><published>2014-08-08T15:04:00.001-07:00</published><updated>2014-08-08T16:20:08.923-07:00</updated><title type='text'>Solve PDF font-embedding really quick</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
To make your PDF files easy to view by others who may have a different font environment from where you generated the PDFs, you are usually in want of embedding all fonts in the files. In fact, many of the professional publishing agencies, such as the Conference Publishing System (CPS) of IEEE or ACM, have set mandatory requirements in that regard on the paper authors preparing the camera-ready versions.&lt;br /&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
This is the most straightforward recipe:&lt;/div&gt;
&lt;div&gt;
&lt;script async src=&quot;//pagead2.googlesyndication.com/pagead/js/adsbygoogle.js&quot;&gt;&lt;/script&gt;
&lt;!-- surfingtroves_main_Blog1_468x60_as --&gt;
&lt;ins class=&quot;adsbygoogle&quot;
     style=&quot;display:inline-block;width:468px;height:60px&quot;
     data-ad-client=&quot;ca-pub-0648395428705476&quot;
     data-ad-slot=&quot;5101568019&quot;&gt;&lt;/ins&gt;
&lt;script&gt;
(adsbygoogle = window.adsbygoogle || []).push({});
&lt;/script&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
1. Open you problematic PDF in any application that provides a capability of printing (such as Acrobat Reader or Acrobat Pro).&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
2. Go to &#39;print&#39; page and choose &#39;Acrobat PDF&#39; as the printer.&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
3. Get into &quot;properties&quot; of the printer.&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
4. In the &#39;Adobe PDF Setting&#39; tab, get into &#39;edit&#39; next to the &#39;Default Settings&#39; item.&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
5. Get into &#39;Fonts&#39; from the navigation menu.&amp;nbsp;&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
6. Choose the &#39;Embed all fonts&#39; checkbox.&amp;nbsp;&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
7. Select &#39;All&#39; items in the &#39;Never Embed&#39; listbox and Remove all of them.&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
8. Save the settings (a new setting will be created which can be used next time upon the same need) and go back to the &#39;print&#39; page.&amp;nbsp;&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
9. Print your PDF into another PDF, where all fonts are now embedded.&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
10. Problem should be solved already.&amp;nbsp;&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
* To check if all fonts have been embedded:&amp;nbsp;&lt;/div&gt;
&lt;div&gt;
In Acrobat Reader/Pro, go to &#39;properties&#39; from the &#39;File&#39; menu, look into the &#39;Font&#39; tab,&amp;nbsp;&lt;/div&gt;
&lt;div&gt;
for each successfully embedded font, there should be something like &#39;(Embedded subset)&#39;.&amp;nbsp;&lt;/div&gt;
&lt;/div&gt;&lt;div class=&quot;blogger-post-footer&quot;&gt;http://feeds.feedburner.com/SurfingTroves&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://surfingtroves.blogspot.com/feeds/6054082269232110955/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/5353799867078994058/6054082269232110955' title='6 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5353799867078994058/posts/default/6054082269232110955'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5353799867078994058/posts/default/6054082269232110955'/><link rel='alternate' type='text/html' href='http://surfingtroves.blogspot.com/2014/08/solve-pdf-font-embedding-really-quick.html' title='Solve PDF font-embedding really quick'/><author><name>chapple.cai</name><uri>http://www.blogger.com/profile/05417712358820523031</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>6</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5353799867078994058.post-7467975614603353864</id><published>2014-04-04T13:36:00.006-07:00</published><updated>2014-08-08T16:24:09.962-07:00</updated><title type='text'>Passing reference by value in Java</title><content type='html'>Having been sticking to C/C++ for a decade, I know relatively clearly about the notion of &quot;passing by value&quot; and &quot;passing by reference/address&quot;, and the memory models behind them. Embarrassingly, however, it is just a recent clarification that &quot;passing reference by value&quot;, a freak concept in Java, is not only in essence unequivocally different from the preceding two, but really closely related to them. Most important, this nuance in name but connections underneath is what has been confusing me for all times I was intensively programming in Java for the past two years.&lt;br /&gt;
&lt;br /&gt;
Without re-spinning the explanation, I just simply summarize toward the gist about this topic, using the information in courtesy of &lt;i&gt;Dale King&lt;/i&gt;, by posting the core question and the thorough answer to it.&lt;br /&gt;
&lt;br /&gt;
&lt;script type=&quot;text/javascript&quot;&gt;&lt;!--
google_ad_client = &quot;ca-pub-0648395428705476&quot;;
/* SurfingTrovesPostBodyAd */
google_ad_slot = &quot;6578301219&quot;;
google_ad_width = 320;
google_ad_height = 50;
//--&gt;
&lt;/script&gt;
&lt;script type=&quot;text/javascript&quot;
src=&quot;//pagead2.googlesyndication.com/pagead/show_ads.js&quot;&gt;
&lt;/script&gt;
&lt;br /&gt;
&lt;span style=&quot;color: blue;&quot;&gt;Does Java pass objects by reference or by value?&amp;nbsp;&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;

The answer is &lt;b&gt;NO&lt;/b&gt;! (that is, Java neither passes objects by reference nor does that by value!)&lt;br /&gt;
&lt;br /&gt;
The fact is that &lt;u&gt;Java has no facility whatsoever
to pass an object to any function&lt;/u&gt;, and the reason is that &lt;u&gt;Java has no
variables that contain objects&lt;/u&gt;.&lt;br /&gt;
&lt;br /&gt;
It is common to confound the concept of &lt;i&gt;an object reference variable&lt;/i&gt; with that of &lt;i&gt;an object
instance&lt;/i&gt;, but all object instances in Java are allocated on the heap and
can only be accessed through object references.&lt;br /&gt;
&lt;br /&gt;
So if I have the
following assignment:&lt;br /&gt;
&lt;br /&gt;
&lt;pre&gt;String g = new String( &quot;Hello&quot; );&lt;/pre&gt;
&lt;pre&gt;&lt;/pre&gt;
&lt;pre&gt;&amp;nbsp;&lt;/pre&gt;
The variable g does not contain the string &quot;Hello&quot;, it contains a reference (or pointer) to an object instance that contains the string &quot;Hello&quot;. &lt;br /&gt;&lt;br /&gt; Java only has variables that hold primitives or
object references. Both are passed by value. Now, it comes naturally that Java does &lt;b&gt;pass&lt;/b&gt; (object&#39;s) &lt;b&gt;reference by value&lt;/b&gt;. if the parameter being passes is an object (rather than a primitive type of value).&lt;br /&gt;
&lt;br /&gt;&lt;div class=&quot;blogger-post-footer&quot;&gt;http://feeds.feedburner.com/SurfingTroves&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://surfingtroves.blogspot.com/feeds/7467975614603353864/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/5353799867078994058/7467975614603353864' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5353799867078994058/posts/default/7467975614603353864'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5353799867078994058/posts/default/7467975614603353864'/><link rel='alternate' type='text/html' href='http://surfingtroves.blogspot.com/2014/04/passing-reference-by-value-in-java.html' title='Passing reference by value in Java'/><author><name>Surfing Troves</name><uri>http://www.blogger.com/profile/07005425779123795943</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5353799867078994058.post-7404795126027633416</id><published>2012-11-26T20:47:00.001-08:00</published><updated>2012-11-27T19:30:52.802-08:00</updated><title type='text'>Building and Extending VirtualBox Source Code in Fedora Linux </title><content type='html'>The following practice was done in Fedora 17 Linux on an AMD-64 arch. If you are playing around VirtualBox in Ubuntu, you may find it much easier than the following talks about.&lt;br /&gt;
&lt;br /&gt;
Of course, the reason why you wanted to build the source package of the Virtualbox instead of downloading the executable by automatical installation provided by such and such an &quot;installer&quot; is very likely to be your desire to extend or develop on the current VirtualBox distribution. I was doing this for extending it to include a performance monitor for the VMM at the core.&lt;br /&gt;
&lt;br /&gt;
Now go ahead building the source package in the first place. No exhaustive details, &lt;u&gt;&lt;b&gt;just critical steps to work around traps and annoying errors you might have got stuck on&lt;/b&gt;&lt;/u&gt;, since I have no intent to write tutorial for building VirtualBox in Linux given the existing tutorial maintained on the official site of the developers of VirtualBox. See &quot;&lt;a href=&quot;https://www.virtualbox.org/wiki/Linux%20build%20instructions&quot;&gt;Linux build instructions&lt;/a&gt;&quot; in there.&lt;br /&gt;
&lt;br /&gt;
1. failure in getting through the first-step &quot;./configure&quot;. Here are the&amp;nbsp;cures:&lt;br /&gt;
&lt;br /&gt;
&lt;ul&gt;
&lt;li&gt;for openWatCom, if you can not build from the source code successfully within at most 20 minutes, forget about that daunting way of doing it. &amp;nbsp;Instead, just install it using the installer &lt;a href=&quot;http://openwatcom.mirrors.pair.com/open-watcom-c-linux-1.9&quot;&gt;found here&lt;/a&gt;&amp;nbsp;to save yourself!&lt;/li&gt;
&lt;li&gt;for &quot;LIBIDL&quot;&#39;s missing, sudo yum -y install LIBIDL-pluginbase-devel (the name might not be exactly as this, correct it as needed)&lt;/li&gt;
&lt;li&gt;for Qt4, compiling the source code rather than just installing the executables to install. Using the opensource-everywhere source package (&lt;a href=&quot;http://releases.qt-project.org/qt4/source/qt-everywhere-opensource-src-4.8.3.tar.gz&quot;&gt;found here&lt;/a&gt;) is recommended.&lt;/li&gt;
&lt;li&gt;* this may take long, be patient and after it is finished, add the directory holding the &quot;qmake&quot; executable to the environment variable &quot;PATH&quot; and make it take effect before doing &quot;./configure&quot; again.&lt;/li&gt;
&lt;li&gt;for PulseAudio, use the disable flag corresponding to it as an option to the &quot;./configure&quot; launch.&lt;/li&gt;
&lt;li&gt;upon failure to find &quot;lstdc++&quot;, &quot;whereis libstdc++.a&quot; and then copy it from where you found it to the standard place &quot;/usr/lib64&quot;&lt;/li&gt;
&lt;li&gt;For missing headers for &quot;32-bit support&quot;, using &quot;--nonfatal&quot; option provided with the &quot;./configure&quot; itself. By doing this, we simply ignore, and hence sacrifice, the support of 32-bit additions by the VirtualBox&lt;/li&gt;
&lt;li&gt;* For other errors, put it into the comment area of this post. I will try to help with them.&lt;/li&gt;
&lt;/ul&gt;
&lt;br /&gt;
2. &amp;nbsp;failure in getting through the &quot;make&quot; step (actually &quot;kmk&quot; instead of &quot;make&quot;, a KBuild variant of the GNU make). Here are the other cures:&lt;br /&gt;
&lt;br /&gt;
&lt;ul&gt;
&lt;li&gt;for the repulsive error like &quot;&lt;u&gt;&lt;i&gt;spec failure:&amp;nbsp;g++: invalid/unrecognized option &quot;-m&quot;&lt;/i&gt;&lt;/u&gt;&quot;, do &quot;kmk -ik&quot; anyway but keeping the error log by appending &quot; 2&amp;gt;errors 1&amp;gt;&amp;amp;2&quot; to it&lt;/li&gt;
&lt;li&gt;grep &quot;g++: &quot; errors &amp;gt; makeup.sh and then&amp;nbsp;replace all &quot;g++&quot; with &quot;g++34&quot; (under Fedora 17, g++34 is installed by default and otherwise I presume you have it by any means. Or I am not sure for now how to get this hurdled bypassed).&amp;nbsp;&lt;/li&gt;
&lt;li&gt;do the brute-force &quot;complete&quot; compilation by &quot;kmk -bBik all&quot;&lt;/li&gt;
&lt;li&gt;And, now run &quot;sh makeup.sh&quot;. If things are done, you should be able to locate the &quot;VirtualBox&quot; executable under the&amp;nbsp;$installDir/linux.x86/release/bin directory, run it and enjoy your success.&amp;nbsp;&lt;/li&gt;
&lt;li&gt;Otherwise, you will need go back to the &quot;errors&quot; file to find other failures in issues other than the &quot;invalid -m options with g++&quot;, for example some compilation errors in your own hacking code.&lt;/li&gt;
&lt;/ul&gt;
&lt;div&gt;
3. finally, failure in launching the newly built Virtualbox frontend (the backend, VBoxSVC and XCOM service will automatically be boosted up when the first frontend gets started). Here are the final cures:&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
&lt;ul&gt;
&lt;li&gt;for messages complaining about &quot;can not load vbox driver&quot; or something like that when you are trying to start a virtual machine, get back to your terminal and do &quot;sudo modprobe vboxdrv&quot;. If this does not do the trick, using insmod directly by &quot;sudo insmod $path/vboxdrv&quot; where &quot;$path&quot; indicates where the vboxdrv.ko file is located. You can get the path by &quot;find -name&quot; or &quot;locate&quot; followed by &quot;vboxdrv.ko&quot;; Alternatively, you can simply do &quot;sudo kmk load&quot; under the top source code directory to get this step done as well.&lt;/li&gt;
&lt;li&gt;for complaints like &quot;driver is not accesible&quot;, which may pop up at the time of starting a VM too, do &quot;sudo chmod a+rwx /dev/vboxdrv&quot; - by default, the vbox driver should have been placed in /dev/&lt;/li&gt;
&lt;/ul&gt;
&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: center;&quot;&gt;
&lt;a href=&quot;http://gan.doubleclick.net/gan_click?lid=41000613802464048&amp;amp;pid=22375289&amp;amp;adurl=http%3A%2F%2Fwww.officemax.com%2Ftechnology%2Fprinters%2Flaser-printers%2Fproduct-prod3130164%3Fcm_mmc%3DPerformics-_-Technology-_-Printers-_-Laser%2520Printers%26ci_src%3D14110944%26ci_sku%3D22375289&amp;amp;usg=AFHzDLvpKfJ0Ae_2MgYHfeAcg3MhHkCgAQ&amp;amp;pubid=600927&quot; rel=&quot;nofollow&quot;&gt;Brother HL-2270DW Laser Printer (Google Affiliate Ad)&lt;/a&gt;&lt;/div&gt;
-----&lt;div class=&quot;blogger-post-footer&quot;&gt;http://feeds.feedburner.com/SurfingTroves&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://surfingtroves.blogspot.com/feeds/7404795126027633416/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/5353799867078994058/7404795126027633416' title='266 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5353799867078994058/posts/default/7404795126027633416'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5353799867078994058/posts/default/7404795126027633416'/><link rel='alternate' type='text/html' href='http://surfingtroves.blogspot.com/2012/11/building-and-extending-virtualbox-in.html' title='Building and Extending VirtualBox Source Code in Fedora Linux '/><author><name>chapple.cai</name><uri>http://www.blogger.com/profile/05417712358820523031</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>266</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5353799867078994058.post-8797296357021219116</id><published>2012-11-26T09:41:00.001-08:00</published><updated>2012-11-26T19:55:54.705-08:00</updated><title type='text'>Hacking Bluetooth Modules in Fedora 17 Linux</title><content type='html'>&lt;span style=&quot;font-family: Georgia, Times New Roman, serif;&quot;&gt;Having figured out how to successfully build the original source package of the Bluetooth modules downloaded online (see my &lt;a href=&quot;http://surfingtroves.blogspot.com/2012/11/build-bluetooth-kernel-module-in-fedora.html&quot;&gt;older post on how to build&lt;/a&gt;), now we can head to hack those modules in order to customize certain Bluetooth functionalities on demand (as is actually, at least one of many others, the reason why we wanted to build the source package instead of downloading the executable in the first place).&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Georgia, Times New Roman, serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;font-family: Georgia, Times New Roman, serif;&quot;&gt;To hack the Bluetooth modules and make it really effect for ordinary users, we need both categories of module - the kernel module and the user module. While the tricks required to build the kernel modules ca be found in the&amp;nbsp;&lt;a href=&quot;http://surfingtroves.blogspot.com/2012/11/build-bluetooth-kernel-module-in-fedora.html&quot;&gt;older post on how to build&lt;/a&gt;, building the latter on the same platform (AMD64, Fedora 17 Linux) has been straightforward at least for myself(your report of troubles in building the user space modules of Bluetooth, i.e. as downloaded from bluez.org, is welcome to be put into the comments of this post). Remember, however, as was somehow seemingly required, you need to &quot;sudo&quot; the execution of the common sequence of &quot;./configure&quot; -&amp;gt; &quot;make&quot; -&amp;gt; &quot;make install&quot; if you are not logged in as the root directly.&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Georgia, Times New Roman, serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;font-family: Georgia, Times New Roman, serif;&quot;&gt;Now following things to be followed, no big deal, just the below listed,&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Georgia, Times New Roman, serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;font-family: Georgia, Times New Roman, serif;&quot;&gt;1. Having successfully built the kernel modules should have given you a group of module binaries (.ko files) that has been moved (&quot;installed&quot;) to the directory of &quot;/lib/modules/`uname -r`/updates&quot; by default, where subdirectories include the following together with example, but not all, enclosed files :&lt;/span&gt;&lt;br /&gt;
&lt;b&gt;&lt;span style=&quot;font-family: Georgia, Times New Roman, serif;&quot;&gt;driver[/btusb.ko], &amp;nbsp;net[/bluetooth/{rfcomm.ko, bnep.ko}], and net/[bluetooth.ko].&amp;nbsp;&lt;/span&gt;&lt;/b&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Georgia, Times New Roman, serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;font-family: Georgia, Times New Roman, serif;&quot;&gt;* if you have not yet successfully got these files, you have not yet successfully built the kernel module then. Check again you have really followed and went through successfully the following steps before getting back again to the&amp;nbsp;&lt;a href=&quot;http://surfingtroves.blogspot.com/2012/11/build-bluetooth-kernel-module-in-fedora.html&quot;&gt;older post on how to build&lt;/a&gt;:&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Georgia, Times New Roman, serif;&quot;&gt;under the top source directory, do&lt;/span&gt;&lt;br /&gt;
&lt;b&gt;&lt;span style=&quot;font-family: Georgia, Times New Roman, serif;&quot;&gt;&quot;make clean&quot; -&amp;gt; &quot;scripts/selectdriver bt&quot; -&amp;gt; &quot;make install-modules&quot;&lt;/span&gt;&lt;/b&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Georgia, Times New Roman, serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;font-family: Georgia, Times New Roman, serif;&quot;&gt;2. before you can &quot;mount&quot; the newly built kernel module for bluetooth above, make sure you &quot;dismount&quot; the currently mounted one as the system has done while booting the kernel by default. Do these:&lt;/span&gt;&lt;br /&gt;
&lt;b&gt;&lt;span style=&quot;font-family: Georgia, Times New Roman, serif;&quot;&gt;&quot;killall -9 bluetoothd&quot; -&amp;gt; &quot;sudo modprobe -r bnep&quot; -&amp;gt; &quot;sudo modprobe -r rfcomm&quot; -&amp;gt; &quot;sudo modprobe -r btusb&quot; -&amp;gt; &quot;sudo modprobe -r bluetooth&quot;. An alternative to &quot;modprobe -r&quot; could be &quot;rmmod&quot;.&lt;/span&gt;&lt;/b&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Georgia, Times New Roman, serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;font-family: Georgia, Times New Roman, serif;&quot;&gt;* note if the bluetoothd (see below for more about it) is still running, you will get &quot;cannot remove module xxx, xxx is busy/in use&quot; when you are doing the aforementioned &quot;dismounting&quot; steps.&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Georgia, Times New Roman, serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;font-family: Georgia, Times New Roman, serif;&quot;&gt;* note that the btusb.ko module is directly associated with the &quot;bluetooth icon&quot; on the toolbar of the desktop , which is presented there by default. So when you killed this module, that icon disappeared. In return, you can use the disappearance of that icon as a simple flag that this module has been removed successfully.&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Georgia, Times New Roman, serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;font-family: Georgia, Times New Roman, serif;&quot;&gt;* If you still had trouble removing them, play the trump now:&lt;/span&gt;&lt;br /&gt;
&lt;b&gt;&lt;span style=&quot;font-family: Georgia, Times New Roman, serif;&quot;&gt;&quot;sudo init 3&quot; -&amp;gt; &quot;log in a root&quot; -&amp;gt; &quot;do the same series of modprobe -r&quot;&lt;/span&gt;&lt;/b&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Georgia, Times New Roman, serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;font-family: Georgia, Times New Roman, serif;&quot;&gt;3. Having successfully built the user space module should have given you a set of binary executables and objects (lib files) besides documentation related files to the directory you have indicated when doing &quot;./configure&quot; before. Check the installation directory for such subdirectories as that includes the following together with example, but not all, enclosed files :&lt;/span&gt;&lt;br /&gt;
&lt;b&gt;&lt;span style=&quot;font-family: Georgia, Times New Roman, serif;&quot;&gt;bin[/hcitools], sbin[/bluetoothd], ....&lt;/span&gt;&lt;/b&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Georgia, Times New Roman, serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;font-family: Georgia, Times New Roman, serif;&quot;&gt;Here we actually are concerned about the bluetooth daemon server &lt;b&gt;bluetoothd&lt;/b&gt; only, as is to be running in the user space to bridge the bluetooth applications and the underlying bluetooth kernel modules.&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Georgia, Times New Roman, serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;font-family: Georgia, Times New Roman, serif;&quot;&gt;4. Now start mounting your own hacked modules and make them effect by following steps:&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Georgia, Times New Roman, serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;ol&gt;
&lt;li&gt;&lt;b&gt;&lt;span style=&quot;font-family: Georgia, Times New Roman, serif;&quot;&gt;&quot;sudo mv /sbin/bluetoothd /sbin/bluetoothd.org&quot; (just back up the original one in any way you prefer)&lt;/span&gt;&lt;/b&gt;&lt;/li&gt;
&lt;li&gt;&lt;b&gt;&lt;span style=&quot;font-family: Georgia, Times New Roman, serif;&quot;&gt;&quot;sudo cp $installDir/sbin/bluetoothd /sbin/&quot; (this is critical, directly running this daemon from the $installDir&quot;, at least when the &quot;installDir&quot; is not the one taken as default, has fallen to failure for me)&lt;/span&gt;&lt;/b&gt;&lt;/li&gt;
&lt;li&gt;&lt;b&gt;&lt;span style=&quot;font-family: Georgia, Times New Roman, serif;&quot;&gt;&quot;sudo /sbin/bluetoothd [-n] [-d]&quot;&lt;/span&gt;&lt;/b&gt;&lt;/li&gt;
&lt;li&gt;&lt;b&gt;&lt;span style=&quot;font-family: Georgia, Times New Roman, serif;&quot;&gt;&quot;sudo modprobe bluetooth,bnep,rfcomm,btusb&quot;&lt;/span&gt;&lt;/b&gt;&lt;/li&gt;
&lt;/ol&gt;
&lt;span style=&quot;font-family: Georgia, Times New Roman, serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;font-family: Georgia, Times New Roman, serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;font-family: Georgia, Times New Roman, serif;&quot;&gt;Now you should have been working with your hacked bluetooth modules.&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Georgia, Times New Roman, serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;font-family: Georgia, Times New Roman, serif;&quot;&gt;* using &quot;-n&quot; to run bluetoothd in a non-daemon will show you the running log that can give you a sense of how the user modules get loaded and run; further, the addition of &quot;-d&quot; to the command line can provide you even more details of the internal dynamics of the user space code.&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Georgia, Times New Roman, serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;font-family: Georgia, Times New Roman, serif;&quot;&gt;* &quot;dmesg -T | grep &quot;bluetooth&quot; can give you running logs of the kernel module, about their being loaded and run.&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Georgia, Times New Roman, serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;font-family: Georgia, Times New Roman, serif;&quot;&gt;Enjoy hacking!&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Georgia, Times New Roman, serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;a href=&quot;http://gan.doubleclick.net/gan_click?lid=41000613802463973&amp;amp;pid=sku3914713&amp;amp;adurl=http%3A%2F%2Fwww.samsclub.com%2Fsams%2Fnikon-d5100-16-2mp-digital-slr-camera-with-af-s-dx-nikkor-18-55mm-f-3-5-5-6g-vr-lens%2Fprod3500252.ip%3Fpid%3D_DoubleClick_Affiliates%26ci_src%3D15781033%26ci_sku%3Dsku3914713&amp;amp;usg=AFHzDLvruEu1YlbUR_aptNCF4q_J75g2Gg&amp;amp;pubid=600927&quot; rel=&quot;nofollow&quot;&gt;&lt;span style=&quot;font-family: Georgia, Times New Roman, serif;&quot;&gt;Nikon D5100 16.2MP Digital SLR Camera with AF-S DX Nikkor 18-55mm f/3. (Google Affiliate Ad)&lt;/span&gt;&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;&lt;div class=&quot;blogger-post-footer&quot;&gt;http://feeds.feedburner.com/SurfingTroves&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://surfingtroves.blogspot.com/feeds/8797296357021219116/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/5353799867078994058/8797296357021219116' title='2 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5353799867078994058/posts/default/8797296357021219116'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5353799867078994058/posts/default/8797296357021219116'/><link rel='alternate' type='text/html' href='http://surfingtroves.blogspot.com/2012/11/hacking-bluetooth-modules-in-fedora-17.html' title='Hacking Bluetooth Modules in Fedora 17 Linux'/><author><name>chapple.cai</name><uri>http://www.blogger.com/profile/05417712358820523031</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>2</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5353799867078994058.post-8565030485221579704</id><published>2012-11-19T18:32:00.003-08:00</published><updated>2012-11-26T20:35:36.451-08:00</updated><title type='text'>Build Bluetooth Kernel Module in Fedora Linux</title><content type='html'>Prelude:&lt;br /&gt;
If you do not encounter issues like one of the following, you are free to leave now so as to avoid a waster of time reading more below.&lt;br /&gt;
&lt;br /&gt;
&lt;div style=&quot;font-family: Georgia,&amp;quot;Times New Roman&amp;quot;,serif;&quot;&gt;
&lt;span style=&quot;font-size: large;&quot;&gt;Download&amp;nbsp; Linux Bluetooth kernel module source code&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font-family: Georgia,&amp;quot;Times New Roman&amp;quot;,serif;&quot;&gt;
&lt;span style=&quot;font-size: large;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font-family: Georgia,&amp;quot;Times New Roman&amp;quot;,serif;&quot;&gt;
&lt;span style=&quot;font-size: large;&quot;&gt;Can not compile Linux Bluetooth kernel module&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font-family: Georgia,&amp;quot;Times New Roman&amp;quot;,serif;&quot;&gt;
&lt;/div&gt;
&lt;span style=&quot;font-size: large;&quot;&gt;&lt;span style=&quot;font-family: Georgia,&amp;quot;Times New Roman&amp;quot;,serif;&quot;&gt;/sbin/modprobe: invalid option -- &#39;l&#39;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
========================== Start =====================================&lt;br /&gt;
&lt;br /&gt;
Although this practice was with Fedora Linux 17, the following instructions should still do the tricks for building the Compat bluetooth kernel module for Linux with kernel version of 2.6.x or above.&lt;br /&gt;
&lt;br /&gt;
NOTE: this post is not about playing with the &lt;a href=&quot;http://www.kernel.org/pub/linux/bluetooth/bluez-4.101.tar.gz&quot;&gt;user space code&lt;/a&gt; that you may find on the bluez.org official site http://www.bluez.org/download/&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;1. download kernel code for the bluetooth module&lt;/b&gt;&lt;br /&gt;
This should be ported together with the kernel itself, but in case you have not yet had it on hand or been unable to find the source code, download from the site below&lt;br /&gt;
&lt;br /&gt;
&lt;a href=&quot;https://gforge.ti.com/gf/download/frsrelease/802/5435/ti-compat-bluetooth-2012-02-20.tar.gz&quot;&gt;https://gforge.ti.com/gf/download/frsrelease/802/5435/ti-compat-bluetooth-2012-02-20.tar.gz&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
2. now once your followed the steps indicated on &lt;a href=&quot;http://processors.wiki.ti.com/index.php/Open_source_Wireless_Connectivity_Bluetooth_components#Bluetooth_Modules&quot;&gt;http://processors.wiki.ti.com/index.php/Open_source_Wireless_Connectivity_Bluetooth_components#Bluetooth_Modules&lt;/a&gt;, you will probably get stuck by the compilation with&lt;br /&gt;
&lt;pre&gt;&amp;nbsp;&lt;/pre&gt;
&lt;pre&gt;make KLIB_BUILD=&amp;lt;Path To Linux&amp;gt; KLIB=${ROOTFS} install-modules&lt;/pre&gt;
&lt;br /&gt;
(Equivalence of it is to run &quot;make bt&quot; under the top source code directory.)&lt;br /&gt;
&lt;br /&gt;
Error might be like some syntactical faults in the kernel headers this module depends on, and you may find you have no luck by applying the patch provided in the above site (&lt;a href=&quot;http://processors.wiki.ti.com/images/8/8e/Compat-patch-zip.zip&quot;&gt;http://processors.wiki.ti.com/images/8/8e/Compat-patch-zip.zip&lt;/a&gt;) , the only cure I had got that really was efficacious is to&lt;b&gt; apply the following patch instead&lt;/b&gt; (thanks to the guy who posted it)&lt;br /&gt;
&lt;a href=&quot;http://marc.info/?l=linux-wireless&amp;amp;m=132760196131230&amp;amp;w=2&quot;&gt;http://marc.info/?l=linux-wireless&amp;amp;m=132760196131230&amp;amp;w=2&lt;/a&gt;&amp;nbsp;(in case this link may be expired or moved away, I have pasted below)&lt;br /&gt;
&lt;br /&gt;
&lt;pre&gt;This file was introduced in commit 2a11c8ea20bf850b3a2c60db8c2e7497d28aba99
and included in 3.1 and later kernels.  It includes &amp;lt;generated/autoconf.h&amp;gt;
itself, as well as some other definitions that are used elsewhere.

Signed-off-by: John W. Linville &amp;lt;linville@tuxdriver.com&amp;gt;
---
 include/linux/compat-2.6.h |    4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)

diff --git a/include/linux/compat-2.6.h b/include/linux/compat-2.6.h
index c23e94a..3ccd051 100644
--- a/include/linux/compat-2.6.h
+++ b/include/linux/compat-2.6.h
@@ -2,7 +2,9 @@
 #define LINUX_26_COMPAT_H
 
 #include &amp;lt;linux/version.h&amp;gt;
-#if (LINUX_VERSION_CODE &amp;gt;= KERNEL_VERSION(2,6,33))
+#if (LINUX_VERSION_CODE &amp;gt;= KERNEL_VERSION(3,1,0))
+#include &amp;lt;linux/kconfig.h&amp;gt;
+#elif (LINUX_VERSION_CODE &amp;gt;= KERNEL_VERSION(2,6,33))
 #include &amp;lt;generated/autoconf.h&amp;gt;
 #else
 #include &amp;lt;linux/autoconf.h&amp;gt;
-- 
1.7.4.4&lt;/pre&gt;
&lt;br /&gt;
(Copy it into a file named newpatch, say, and then apply it by &quot;patch -p1 newpatch&quot;)&lt;br /&gt;
&lt;br /&gt;
Thereafter, you should be able to get through &quot;make bt&quot; successfully&quot;.&lt;br /&gt;
&lt;br /&gt;
3.&amp;nbsp; However, when you get to &quot;make btinstall&quot; or later &quot;make btuninstall&quot; to toy around the Bluetooth loading or unloading, you can get more annoying warnings like:&lt;br /&gt;
&lt;pre&gt;&amp;nbsp;&lt;/pre&gt;
&lt;pre&gt;/sbin/modprobe: invalid option -- &#39;l&#39;&lt;/pre&gt;
&lt;pre&gt;&lt;/pre&gt;
It seems not critical but will block the normal process of &quot;installation&quot; from being complete hence unsuccessfully installation of the new Bluetooth module you just made.&lt;br /&gt;
&lt;br /&gt;
To get rid of them (I am showing you the reasons behind it since you may be interested more in the solutions right now, please Google that if you are indeed intrigued with that),&amp;nbsp; &lt;b&gt;use the following trick&lt;/b&gt;&lt;br /&gt;
(this is came up with on the basis of what was earlier posted by &lt;b&gt;Artem Chekunov &lt;/b&gt;on &lt;a href=&quot;http://comments.gmane.org/gmane.linux.kernel.wireless.general/87040&quot;&gt;http://comments.gmane.org/gmane.linux.kernel.wireless.general/87040&lt;/a&gt;)&lt;br /&gt;
&lt;br /&gt;
&lt;pre&gt;touch /sbin/modprobe.sh&lt;/pre&gt;
&lt;pre&gt;and then put the following into it and save.&lt;/pre&gt;
&lt;pre&gt;--------------------------------------------------------------------------&lt;/pre&gt;
&lt;pre&gt;#!/bin/bash

if [[ $1 == -l ]]
then

if [ -z $2 ]    
then&lt;/pre&gt;
&lt;pre&gt;&amp;nbsp;find /lib&lt;i&gt;/modules/&lt;/i&gt;$(uname -r) -name &#39;*.ko&#39; | \&lt;/pre&gt;
&lt;pre&gt; sed -e &quot;s#\/lib\/modules\/$(uname -r)\/##g&quot;
else&amp;nbsp;&lt;/pre&gt;
&lt;pre&gt;&amp;nbsp;find /lib&lt;i&gt;/modules/&lt;/i&gt;$(uname -r) -name &#39;*.ko&#39; | \&amp;nbsp;&lt;/pre&gt;
&lt;pre&gt; sed -e &quot;s#\/lib\/modules\/$(uname -r)\/##g&quot; | grep $2
fi

else
/sbin/modprobe $@
fi&lt;/pre&gt;
&lt;pre&gt;&amp;nbsp;&lt;/pre&gt;
&lt;pre&gt;exit 0 &lt;/pre&gt;
&lt;pre&gt;---------------------------------------------------------------------------&lt;/pre&gt;
Note the last line I added (besides changes made somewhere else) is important to make sure that &quot;make&quot; can run completely through all expected steps.&lt;br /&gt;
&lt;br /&gt;
Then do the following more steps:&lt;br /&gt;
&lt;br /&gt;
&lt;pre&gt;chmod +x /sbin/modprobe.sh
alias modprobe=/sbin/modprobe.sh
echo &quot;alias modprobe=/sbin/modprobe.sh&quot; &amp;gt;&amp;gt; /etc/bashrc

cp Makefile Makefile.save
sed -i -e &#39;s/^MODPROBE.*/MODPROBE := \/sbin\/modprobe.sh/g&#39; Makefile&lt;/pre&gt;
&lt;pre&gt;&amp;nbsp;&lt;/pre&gt;
Now do what you like.&lt;br /&gt;
&lt;br /&gt;
========================== End =====================================&lt;div class=&quot;blogger-post-footer&quot;&gt;http://feeds.feedburner.com/SurfingTroves&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://surfingtroves.blogspot.com/feeds/8565030485221579704/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/5353799867078994058/8565030485221579704' title='4 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5353799867078994058/posts/default/8565030485221579704'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5353799867078994058/posts/default/8565030485221579704'/><link rel='alternate' type='text/html' href='http://surfingtroves.blogspot.com/2012/11/build-bluetooth-kernel-module-in-fedora.html' title='Build Bluetooth Kernel Module in Fedora Linux'/><author><name>chapple.cai</name><uri>http://www.blogger.com/profile/05417712358820523031</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>4</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5353799867078994058.post-6513320773227663949</id><published>2012-08-22T12:10:00.002-07:00</published><updated>2012-08-22T12:10:27.801-07:00</updated><title type='text'>Cracking problems during installation of FreeWRL under Fedora 13</title><content type='html'>Starting from : &lt;a href=&quot;http://freewrl.sourceforge.net/install_Linux.html&quot;&gt;http://freewrl.sourceforge.net/install_Linux.html&lt;/a&gt;&lt;div class=&quot;blogger-post-footer&quot;&gt;http://feeds.feedburner.com/SurfingTroves&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://surfingtroves.blogspot.com/feeds/6513320773227663949/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/5353799867078994058/6513320773227663949' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5353799867078994058/posts/default/6513320773227663949'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5353799867078994058/posts/default/6513320773227663949'/><link rel='alternate' type='text/html' href='http://surfingtroves.blogspot.com/2012/08/cracking-problems-during-installation.html' title='Cracking problems during installation of FreeWRL under Fedora 13'/><author><name>Surfing Troves</name><uri>http://www.blogger.com/profile/07005425779123795943</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5353799867078994058.post-6877407792671001044</id><published>2012-08-22T12:10:00.000-07:00</published><updated>2012-08-22T12:10:07.124-07:00</updated><title type='text'>Can not find the gdk-pixbuf library or version is lower than required</title><content type='html'>&lt;h3 class=&quot;post-title entry-title&quot;&gt;
&lt;/h3&gt;
&lt;div class=&quot;post-header&quot;&gt;
&lt;/div&gt;
One more, maybe last in the nasty complaining list for building GTK+-2.22.1, prerequisite for GTK+, which might be complaining the lower version than required or simply loss of it:&lt;br /&gt;
&lt;br /&gt;
&amp;nbsp;1. yum -y reinstall gdk-pixbuf-devel.x86_64 gdk-pixbuf.x86_64&lt;br /&gt;
oops, no luck this time, ./configure of GTK still grouses there for missing it (on some platforms, this reintallation could only get the 0.22.0 version, for instance)&lt;br /&gt;
&lt;br /&gt;
( if it wors ok now for you, stop here and congrutulations to you!)&lt;br /&gt;
&lt;br /&gt;
2. download and built on source package&lt;br /&gt;
&lt;br /&gt;
But gdk-pixelbuf-2.0 can NOT be found,&amp;nbsp; how repulsively this costly trivial steps end like this!&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Finally, it is a conclusion:&amp;nbsp; you should build gtk-2.4, where gdk-pixbuf-2.0 will be included inside!!&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
ok, what else could we do but to follow it :&lt;br /&gt;
&lt;br /&gt;
1.&lt;br /&gt;
go &lt;a href=&quot;ftp://ftp.gtk.org/pub/gtk/v2.4/&quot;&gt;ftp://ftp.gtk.org/pub/gtk/v2.4/&lt;/a&gt; :&lt;br /&gt;
&lt;br /&gt;
wget ftp://ftp.gtk.org/pub/gtk/v2.4/glib-2.4.7.tar.bz2&lt;br /&gt;
&lt;br /&gt;
bunzip glib-2.4.7.tar.bz2 &amp;amp;&amp;amp; tar xvf&amp;nbsp;&amp;nbsp; glib-2.4.7.tar.bz2&lt;br /&gt;
&lt;br /&gt;
cd glib-2.4.7.tar.bz2 &amp;amp;&amp;amp; ./configure &amp;amp;&amp;amp; make &amp;amp;&amp;amp; make install&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
pkg-config&amp;nbsp; --modversion&amp;nbsp; glib-2.0&lt;br /&gt;
2.4.7&lt;br /&gt;
&lt;br /&gt;
2.&lt;br /&gt;
wget ftp://ftp.gtk.org/pub/gtk/v2.4/pango-1.4.1.tar.bz2&lt;br /&gt;
&lt;br /&gt;
same steps to install pango 1.4.1 as above&lt;br /&gt;
&lt;br /&gt;
*** &#39;pkg-config --modversion glib-2.0&#39; returned 2.4.7, but GLIB (2.26.1)&lt;br /&gt;
*** was found! If pkg-config was correct, then it is best&lt;br /&gt;
*** to remove the old version of GLib. You may also be able to fix the error&lt;br /&gt;
*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing&lt;br /&gt;
*** /etc/ld.so.conf. Make sure you have run ldconfig if that is&lt;br /&gt;
*** required on your system.&lt;br /&gt;
*** If pkg-config was wrong, set the environment variable PKG_CONFIG_PATH&lt;br /&gt;
*** to point to the correct configuration files&lt;br /&gt;
no&lt;br /&gt;
configure: error:&lt;br /&gt;
*** Glib 2.4.0 or better is required. The latest version of&lt;br /&gt;
*** Glib is always available from ftp://ftp.gtk.org/.&lt;div class=&quot;blogger-post-footer&quot;&gt;http://feeds.feedburner.com/SurfingTroves&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://surfingtroves.blogspot.com/feeds/6877407792671001044/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/5353799867078994058/6877407792671001044' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5353799867078994058/posts/default/6877407792671001044'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5353799867078994058/posts/default/6877407792671001044'/><link rel='alternate' type='text/html' href='http://surfingtroves.blogspot.com/2012/08/can-not-find-gdk-pixbuf-library-or.html' title='Can not find the gdk-pixbuf library or version is lower than required'/><author><name>Surfing Troves</name><uri>http://www.blogger.com/profile/07005425779123795943</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5353799867078994058.post-5735670755902809384</id><published>2012-03-09T10:33:00.001-08:00</published><updated>2012-03-09T10:34:10.396-08:00</updated><title type='text'>Overriding/overwriting and Overloading</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
It is often asked how overriding/overwriting differs from overloading and there are many posts online to answer related questions. Here I am summarizing the difference between them to give an overview&amp;nbsp;as much complete&amp;nbsp;as possible.&lt;br /&gt;
&lt;br /&gt;
(1) Overloading provides multiple signatures for the same method in a single class, with the return value being not seen as part of the signature of method;&amp;nbsp;Overriding provides a different implementation of a method inherited from a base type.&lt;br /&gt;
&lt;br /&gt;
(2)&amp;nbsp;Overloading is decided at compile time and overriding is decided at runtime,&amp;nbsp;Overriding is basically the point of polymorphism by inheritance.&lt;br /&gt;
&lt;div&gt;
&lt;br /&gt;
(3)&amp;nbsp;Overloading lets you define a similar operation in different ways for different data,&amp;nbsp;Overriding lets you define a similar operation in different ways for different object types.&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
(4)&amp;nbsp;Using overloading and overridding, you can acheive the concept of polymorphism.&amp;nbsp;Polymorphism means &quot;one name, multiple forms&quot;. Using one name u can do multiple of actions.&amp;nbsp;Method overloading is a compile time polymorphism and Method Overridding is a runtime polymorphism.&amp;nbsp;Compile time polymorphism means compiler knows which object assigned to which class at the compiling time. Runtime polymorphism means compiler didn&#39;t know at the compile time, it only knows at a run time.&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
(5) Overriding method&amp;nbsp;appears in subclasses,&amp;nbsp;having the same name and same parameter list as a superclass method. The access modifier for the overriding method may not be more restrictive than the access modifier of the superclass method.&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
=====================================&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
Similar to this topic, there is a differentiation between&amp;nbsp;shadowing and overriding, found at&lt;/div&gt;
&lt;div&gt;
&lt;div&gt;
&lt;a href=&quot;http://msdn.microsoft.com/en-us/library/ms172785(v=vs.80).aspx&quot;&gt;http://msdn.microsoft.com/en-us/library/ms172785(v=vs.80).aspx&lt;/a&gt;&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;/div&gt;&lt;div class=&quot;blogger-post-footer&quot;&gt;http://feeds.feedburner.com/SurfingTroves&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://surfingtroves.blogspot.com/feeds/5735670755902809384/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/5353799867078994058/5735670755902809384' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5353799867078994058/posts/default/5735670755902809384'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5353799867078994058/posts/default/5735670755902809384'/><link rel='alternate' type='text/html' href='http://surfingtroves.blogspot.com/2012/03/overridingoverwriting-and-overloading.html' title='Overriding/overwriting and Overloading'/><author><name>Surfing Troves</name><uri>http://www.blogger.com/profile/07005425779123795943</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5353799867078994058.post-3751318431001653686</id><published>2011-08-19T09:31:00.000-07:00</published><updated>2011-08-19T09:31:57.718-07:00</updated><title type='text'>how to retrieve the info of the compiler having built an ELF executable</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;Sometime there happens to be a need for retrieving what is the compilation information, compiler version, say, of the compiler that was previously used for building an ELF executable.&lt;br /&gt;
&lt;br /&gt;
There are two ways, no matter whether they are the real good ones.&lt;br /&gt;
&lt;br /&gt;
1) objdump -s --section .comment&amp;nbsp; &amp;lt;the executable&amp;gt;&lt;br /&gt;
&lt;br /&gt;
2) strings -a &amp;lt;the executable&amp;gt; | grep -i -E &quot;gcc|cl| $other possible clue for the compiler name&quot;&lt;br /&gt;
&lt;br /&gt;
&lt;pre&gt;&lt;code&gt;
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;div class=&quot;blogger-post-footer&quot;&gt;http://feeds.feedburner.com/SurfingTroves&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://surfingtroves.blogspot.com/feeds/3751318431001653686/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/5353799867078994058/3751318431001653686' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5353799867078994058/posts/default/3751318431001653686'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5353799867078994058/posts/default/3751318431001653686'/><link rel='alternate' type='text/html' href='http://surfingtroves.blogspot.com/2011/08/how-to-retrieve-info-of-compiler-having.html' title='how to retrieve the info of the compiler having built an ELF executable'/><author><name>Surfing Troves</name><uri>http://www.blogger.com/profile/07005425779123795943</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5353799867078994058.post-7032621642793926470</id><published>2011-07-24T19:18:00.001-07:00</published><updated>2011-07-24T19:18:15.070-07:00</updated><title type='text'>Tracing the segmentation fault problem caused by glutBitmapCharacter or glutBitmapString</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;When porting an openGL+freeGLUT program to a laptop running with an  integrated on-board graphics card ( actually, a part of the chipset, the  model is Intel Corporation Mobile 4 Series Chipset Integrated Graphics  Controller in HP Presario CQ60 standard configuration ), a call in the  code to glutBitmapCharacter always leads the program to perish in the  runtime. &lt;br /&gt;
&lt;br /&gt;
Built it in debug mode first and then trace the program with the  dumped memory core. It is found that the problem can be traced to  glBitmap -&amp;gt; libGL.so.xx -&amp;gt; /usr/lib/dri/i965_dri.so.&amp;nbsp; &lt;br /&gt;
&lt;br /&gt;
Tried  dozens of &quot;solutions&quot; ranging from reinstalling many times of  freeglut-2.6 to changing GLUT to the classic GLUT-3.7 following the  instruction from &lt;a href=&quot;http://original.jamesthornton.com/linux/HOWTO/Nvidia-OpenGL-Configuration/instglut.html&quot; target=&quot;_blank&quot;&gt;http://original.jamesthornton.&lt;wbr&gt;&lt;/wbr&gt;com/linux/HOWTO/Nvidia-OpenGL-&lt;wbr&gt;&lt;/wbr&gt;Configuration/instglut.html&lt;/a&gt;,  including debugging deeply in the code itself, trying different fonts  and using glutBitmapString, for instance,&amp;nbsp; just all end up with  failures. &lt;br /&gt;
&lt;br /&gt;
Finally, the installation of GLUT-3.7 through an indirect approach - by installing MesaLib (the another ordeal has been put in &lt;a href=&quot;http://surfingtroves.blogspot.com/2011/07/defeating-mesalib-installation-issues.html&quot; target=&quot;_blank&quot;&gt;http://surfingtroves.blogspot.&lt;wbr&gt;&lt;/wbr&gt;com/2011/07/defeating-mesalib-&lt;wbr&gt;&lt;/wbr&gt;installation-issues.html) &lt;/a&gt;&lt;br /&gt;
give the sense of graphics driver issues. It really is!&amp;nbsp; &lt;br /&gt;
&lt;br /&gt;
Now,  skipping the obscure discussions about the notorious graphics card  driver problem in Linux ( this is true at least as far as I am concerned  ), just show you the one of real &quot;solutions&quot;:&lt;br /&gt;
&lt;br /&gt;
go to /usr/lib/, mv i965_dri.so i965_dri.so.old. &lt;br /&gt;
&lt;br /&gt;
get back the code, I am lucky to get the long gnawing problem solved. You should be as well if your case is similar to mine.&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;blogger-post-footer&quot;&gt;http://feeds.feedburner.com/SurfingTroves&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://surfingtroves.blogspot.com/feeds/7032621642793926470/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/5353799867078994058/7032621642793926470' title='2 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5353799867078994058/posts/default/7032621642793926470'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5353799867078994058/posts/default/7032621642793926470'/><link rel='alternate' type='text/html' href='http://surfingtroves.blogspot.com/2011/07/tracing-segmentation-fault-problem.html' title='Tracing the segmentation fault problem caused by glutBitmapCharacter or glutBitmapString'/><author><name>Surfing Troves</name><uri>http://www.blogger.com/profile/07005425779123795943</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>2</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5353799867078994058.post-2023235844030351338</id><published>2011-07-24T18:52:00.000-07:00</published><updated>2011-07-24T19:30:30.330-07:00</updated><title type='text'>Defeating the MesaLib installation issues - not sufficiently high version of libdrm and then &quot;915_EXEC_BLT&quot; undeclared</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;While obstructed by the tricky installation of GLUT-3.7 in Linux (Fedora  13/14 in this post&#39;s case), an easy expedient is to indirectly install  MesaLib since this package should have already included GLUT-3.7 and  thus the desirable installation of GLUT-3.7 can be achieved tortuously  by installing MesaLib through the source package building.&lt;br /&gt;
&lt;br /&gt;
However, there might be still other problems with the building installation itself of MesaLib, here are several candidates:&lt;br /&gt;
&lt;br /&gt;
1.  before generating the makefile, &quot;./configure&quot;&amp;nbsp; can complains that the  version of libdrm_intel is lower than 2.4.21 which is required to  compile mesa.&lt;br /&gt;
&lt;br /&gt;
---&amp;gt; download the package of libdrm from &lt;a href=&quot;http://packages.pardus.org.tr/info/corporate2/devel/source/libdrm.html&quot; target=&quot;_blank&quot;&gt;http://packages.pardus.org.tr/&lt;wbr&gt;&lt;/wbr&gt;info/corporate2/devel/source/&lt;wbr&gt;&lt;/wbr&gt;libdrm.html&lt;/a&gt;  ,unpack it and go to &quot;./configure&quot;, here you may get another obstacle,  however, by failure in checking PCIACCESS. fix this easily by &quot;yum -y  install libpciaccess&quot; and perhaps also &quot;yum -y install  libpciaccess-devel&quot;. Then &quot;make&quot; -&amp;gt; &quot;make install&quot;. and get back to  mesa&lt;br /&gt;
&lt;br /&gt;
Unfortunately, the complaints did not disappear as most likely  happens. This is a problem of package recognition previously encountered  as the case of &quot;&lt;a href=&quot;http://surfingtroves.blogspot.com/2010/12/linux-fedora-upgraded-package-and.html&quot; target=&quot;_blank&quot;&gt;http://surfingtroves.&lt;wbr&gt;&lt;/wbr&gt;blogspot.com/2010/12/linux-&lt;wbr&gt;&lt;/wbr&gt;fedora-upgraded-package-and.&lt;wbr&gt;&lt;/wbr&gt;html&lt;/a&gt;&quot;  . For this instance, find libdrm_intel.pc ( should be found in  /usr/local/lib/pkgconfig/ after installation, if not, copy from the  source package of libdrm ( typically in intel/ ) and copy it to a  directory like this), then add the containing path to the environment  variable PKG_CONFIG_PATH. for example&lt;br /&gt;
export PKG_CONFIG_PATH=/usr/local/&lt;wbr&gt;&lt;/wbr&gt;lib/pkgconfig:$PKG_CONFIG_&lt;wbr&gt;&lt;/wbr&gt;PATH. &lt;br /&gt;
&lt;br /&gt;
Then &quot;pkg-config --modversion libdrm_intel&quot; should confirm that the version is updated to suffice the installation of mesaLib. &lt;br /&gt;
&lt;br /&gt;
2.  &quot;./configure&quot; continues to grouches, but with missing of TALLOC this  time. Fix it by installing libtalloc and libtalloc-devel using yum like  above. and you should be able to get through it.&lt;br /&gt;
&lt;br /&gt;
3. now, do the sure thing &quot;make&quot; , you are probably expected to get stymied again by the complaint like:&lt;br /&gt;
&lt;br /&gt;
&quot;error: &amp;nbsp;I915_EXEC_BLT undeclared &quot;&lt;br /&gt;
&lt;br /&gt;
The is because the older version of the drm_intel library is still being used. Look at the compilation command line before this complaints, you can find &quot;-I/usr/include/libdrm&quot; &amp;nbsp;therein. &amp;nbsp;A simple fix is to copy the command line and manually compile again with&amp;nbsp;&quot;-I/usr/include/libdrm&quot; changed to&amp;nbsp;&quot;-I/usr/local/include/libdrm&quot;&amp;nbsp;&amp;nbsp;since drm_intel is installed to /usr/local by default.&lt;br /&gt;
&lt;br /&gt;
4.&amp;nbsp;&quot;make install&quot;. &amp;nbsp;And, done.&lt;br /&gt;
&lt;br /&gt;
To  check if GLUT-3.7 has been installed during the installation of  mesaLib, look at /usr/local/lib/libglut* and  /usr/local/include/GL/glut*.&lt;br /&gt;
&lt;br /&gt;
Now you should be alreay there.&lt;br /&gt;
&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;blogger-post-footer&quot;&gt;http://feeds.feedburner.com/SurfingTroves&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://surfingtroves.blogspot.com/feeds/2023235844030351338/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/5353799867078994058/2023235844030351338' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5353799867078994058/posts/default/2023235844030351338'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5353799867078994058/posts/default/2023235844030351338'/><link rel='alternate' type='text/html' href='http://surfingtroves.blogspot.com/2011/07/defeating-mesalib-installation-issues.html' title='Defeating the MesaLib installation issues - not sufficiently high version of libdrm and then &quot;915_EXEC_BLT&quot; undeclared'/><author><name>Surfing Troves</name><uri>http://www.blogger.com/profile/07005425779123795943</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5353799867078994058.post-862235146747046947</id><published>2011-07-24T18:02:00.000-07:00</published><updated>2011-07-24T18:04:47.040-07:00</updated><title type='text'>Can not hear from earphone on fedora linux ALSA Conexant</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;&lt;br /&gt;
1. check if the file  /etc/modprobe.d/alsa-base exists, touch an empty one of this if not.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
2. add following line to it :&lt;br /&gt;
options snd-hda-intel  model=olpc-xo-1_5&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
3.save and reboot.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Then the problem should have gone.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Note that this may only do the tricks for exact this sound device&lt;br /&gt;
&quot;Codec:  Conexant CX20583 (Pebble HSF)&quot;. If it is not working for you, please  refer to the original post at  &lt;a href=&quot;http://linux.derkeiler.com/Mailing-Lists/Ubuntu/2010-05/msg00541.html&quot; target=&quot;_blank&quot;&gt;http://linux.derkeiler.com/&lt;wbr&gt;&lt;/wbr&gt;Mailing-Lists/Ubuntu/2010-05/&lt;wbr&gt;&lt;/wbr&gt;msg00541.html&lt;/a&gt;.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;nbsp;Many thanks to the original author.&lt;br /&gt;
&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;blogger-post-footer&quot;&gt;http://feeds.feedburner.com/SurfingTroves&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://surfingtroves.blogspot.com/feeds/862235146747046947/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/5353799867078994058/862235146747046947' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5353799867078994058/posts/default/862235146747046947'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5353799867078994058/posts/default/862235146747046947'/><link rel='alternate' type='text/html' href='http://surfingtroves.blogspot.com/2011/07/can-not-hear-from-earphone-on-fedora_23.html' title='Can not hear from earphone on fedora linux ALSA Conexant'/><author><name>Surfing Troves</name><uri>http://www.blogger.com/profile/07005425779123795943</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5353799867078994058.post-8526113944061192142</id><published>2011-07-23T13:13:00.000-07:00</published><updated>2012-08-22T12:10:34.343-07:00</updated><title type='text'>Can not hear from earphone on fedora linux ALSA Conexant</title><content type='html'>&lt;a href=&quot;http://linux.derkeiler.com/Mailing-Lists/Ubuntu/2010-05/msg00541.html&quot;&gt;&lt;/a&gt;&lt;a href=&quot;http://linux.derkeiler.com/Mailing-Lists/Ubuntu/2010-05/msg00541.html&quot;&gt;&lt;/a&gt;&lt;a href=&quot;http://linux.derkeiler.com/Mailing-Lists/Ubuntu/2010-05/msg00541.html&quot;&gt;&lt;/a&gt;&lt;div class=&quot;blogger-post-footer&quot;&gt;http://feeds.feedburner.com/SurfingTroves&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://surfingtroves.blogspot.com/feeds/8526113944061192142/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/5353799867078994058/8526113944061192142' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5353799867078994058/posts/default/8526113944061192142'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5353799867078994058/posts/default/8526113944061192142'/><link rel='alternate' type='text/html' href='http://surfingtroves.blogspot.com/2011/07/can-not-hear-from-earphone-on-fedora.html' title='Can not hear from earphone on fedora linux ALSA Conexant'/><author><name>Surfing Troves</name><uri>http://www.blogger.com/profile/07005425779123795943</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5353799867078994058.post-7796600348666732762</id><published>2011-06-16T18:39:00.000-07:00</published><updated>2014-08-08T17:30:29.146-07:00</updated><title type='text'>On how universities handle multiple GRE scores (how about taking GRE more than once) ?</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;span style=&quot;font-family: garamond,serif;&quot;&gt;&lt;b style=&quot;color: #cc0000;&quot;&gt;&lt;span style=&quot;font-family: times new roman,serif; font-size: medium;&quot;&gt;RESULTS FROM Google &quot;more than one gre scores&quot;&amp;nbsp;&amp;nbsp;&amp;nbsp; or &quot; Multiple GRE scores&quot;&lt;/span&gt;&lt;/b&gt;&lt;br /&gt;
(first 50 pages according to the page-rank)&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;span style=&quot;font-family: garamond,serif;&quot;&gt; &lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;span style=&quot;font-family: garamond,serif;&quot;&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;span style=&quot;font-family: garamond,serif;&quot;&gt;-------------------------------------------------------------------------------------------------------------------------------------------------------------&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;span style=&quot;font-family: garamond,serif;&quot;&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;span style=&quot;font-family: garamond,serif;&quot;&gt; &lt;a href=&quot;http://el-prod.baylor.edu/certain_doubts/?p=876&quot; target=&quot;_blank&quot;&gt;http://el-prod.baylor.edu/&lt;wbr&gt;&lt;/wbr&gt;certain_doubts/?p=876&lt;/a&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
It is getting close to the time for graduating seniors to submit  applications to PhD programs, and I’ve been reflecting again on our  discipline’s practices in this regard.  Especially, I’ve been thinking  about the role of GRE scores in the process.&lt;br /&gt;
The role of GRE scores in any given graduate program is fairly  obscure, but it is fair to say that there are institutional pressures to  recruit students with higher GRE scores.  There are various ways to  succumb to these pressures, from a crass preference for higher GRE  scores to a system in which first cuts are made on the basis of GRE  scores.  I don’t mean to attach any significance to the question of  whether such practices amount to succumbing to pressure, however; my  concern is with the practices themselves ...........................&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;span style=&quot;font-family: garamond,serif;&quot;&gt;-------------------------------------------------------------------------------------------------------------------------------------------------------------&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;a href=&quot;http://www.vetmed.wsu.edu/prospectivestudents/admissionProcedure.aspx&quot; target=&quot;_blank&quot;&gt;http://www.vetmed.wsu.edu/&lt;wbr&gt;&lt;/wbr&gt;prospectivestudents/&lt;wbr&gt;&lt;/wbr&gt;admissionProcedure.aspx&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
* GRE percentile is calculated by averaging the percentile rank from the   three sections of the general test (composite score). If an application   contains more than one set of GRE scores, the committee will consider the   highest section score. Only GRE scores received by the admissions office at   the time of initial academic evaluation will contribute to Tier assignment.      &lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;span style=&quot;font-family: garamond,serif;&quot;&gt;-------------------------------------------------------------------------------------------------------------------------------------------------------------&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;span style=&quot;font-family: garamond,serif;&quot;&gt; &lt;a href=&quot;http://chhs.gsu.edu/pt/faq.asp&quot; target=&quot;_blank&quot;&gt;http://chhs.gsu.edu/pt/faq.asp&lt;/a&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: dimgrey;&quot;&gt;&lt;b&gt;&amp;nbsp;&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: dimgrey;&quot;&gt;&lt;b&gt;15.&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;I&#39;ve taken the GRE multiple times.&amp;nbsp; Which scores will you use?&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: dimgrey;&quot;&gt;We will use the  highest score earned in each section of the GRE. For example, if your  verbal test score was high the first time, we will use that score rather  than your most recent verbal score (if lower). A minimum verbal score  of 400 must be obtained. The required Analytical Writing Section score  is 3.5. Scores cannot be more than five years old from the desired  semester of entry.&amp;nbsp;&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;span style=&quot;font-family: garamond,serif;&quot;&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;span style=&quot;font-family: garamond,serif;&quot;&gt;-------------------------------------------------------------------------------------------------------------------------------------------------------------&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;script async src=&quot;//pagead2.googlesyndication.com/pagead/js/adsbygoogle.js&quot;&gt;&lt;/script&gt;
&lt;!-- surfingtroves_main_Blog1_468x60_as --&gt;
&lt;ins class=&quot;adsbygoogle&quot;
     style=&quot;display:inline-block;width:468px;height:60px&quot;
     data-ad-client=&quot;ca-pub-0648395428705476&quot;
     data-ad-slot=&quot;5101568019&quot;&gt;&lt;/ins&gt;
&lt;script&gt;
(adsbygoogle = window.adsbygoogle || []).push({});
&lt;/script&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;span style=&quot;font-family: garamond,serif;&quot;&gt; &lt;a href=&quot;http://www.yale.edu/graduateschool/admissions/faqstq.html&quot; target=&quot;_blank&quot;&gt;http://www.yale.edu/&lt;wbr&gt;&lt;/wbr&gt;graduateschool/admissions/&lt;wbr&gt;&lt;/wbr&gt;faqstq.html&lt;/a&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;span style=&quot;font-family: garamond,serif;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;GRE scores are but one of many criteria used to evaluate an applicant.  Individual departments practices may differ, but overall the best score  from each section is used. However, you must submit ALL of your GRE  scores in order to have the department consider the highest from each  section.&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;span style=&quot;font-family: garamond,serif;&quot;&gt;-------------------------------------------------------------------------------------------------------------------------------------------------------------&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;a href=&quot;http://www.physics.ucsb.edu/education/graduate/prospective/faqsforapps.htm#mixgre&quot; target=&quot;_blank&quot;&gt;http://www.physics.ucsb.edu/&lt;wbr&gt;&lt;/wbr&gt;education/graduate/&lt;wbr&gt;&lt;/wbr&gt;prospective/faqsforapps.htm#&lt;wbr&gt;&lt;/wbr&gt;mixgre&lt;/a&gt;&lt;br /&gt;
&lt;h3&gt;I have taken the GRE exams more than once. Can I mix and match the results?&lt;/h3&gt;&lt;div align=&quot;left&quot;&gt;&lt;a href=&quot;http://www.ets.org/gre/%20&quot; target=&quot;_blank&quot;&gt;GRE&lt;/a&gt; scores can not be mixed and matched. We will review only the most recent scores, regardless of the outcome.  &lt;/div&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;span style=&quot;font-family: garamond,serif;&quot;&gt;-------------------------------------------------------------------------------------------------------------------------------------------------------------&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;a name=&#39;more&#39;&gt;&lt;/a&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;span style=&quot;font-family: garamond,serif;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;a href=&quot;http://complit.uchicago.edu/graduate/applicationfaq.html&quot; target=&quot;_blank&quot;&gt;http://complit.uchicago.edu/&lt;wbr&gt;&lt;/wbr&gt;graduate/applicationfaq.html&lt;/a&gt;&lt;br /&gt;
&lt;b&gt;I have multiple GRE scores. How will my scores be interpreted?&lt;/b&gt;   ETS provides GRE scores from the past five years of an applicant&#39;s  records. It is up to the discretion of the reviewers how they would like  to account for these scores.&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;span style=&quot;font-family: garamond,serif;&quot;&gt;-------------------------------------------------------------------------------------------------------------------------------------------------------------&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;a href=&quot;http://economics.ucsd.edu/grad/gradAdm/admFaqs.php&quot; target=&quot;_blank&quot;&gt;http://economics.ucsd.edu/&lt;wbr&gt;&lt;/wbr&gt;grad/gradAdm/admFaqs.php&lt;/a&gt;&lt;br /&gt;
&lt;b&gt;What  is your policy on GRE retakes?&lt;/b&gt;&lt;br /&gt;
Regarding  GRE retakes, your highest scores will be  considered of any test scores that are  received before the admission  application deadline.&amp;nbsp; Remember that &lt;i&gt;official scores&lt;/i&gt; from ETS  are  required.&amp;nbsp; Copies are not accepted.&amp;nbsp; Official scores must be  received either by  mail (postmark or carrier sent date) or   electronically by the application deadline in order to be considered “on  time.”                &lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;span style=&quot;font-family: garamond,serif;&quot;&gt;-------------------------------------------------------------------------------------------------------------------------------------------------------------&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;a href=&quot;http://www.du.edu/korbel/admissions/howtoapply/faqs/&quot; target=&quot;_blank&quot;&gt;http://www.du.edu/korbel/&lt;wbr&gt;&lt;/wbr&gt;admissions/howtoapply/faqs/&lt;/a&gt;&lt;br /&gt;
&lt;dl&gt;&lt;div&gt;&lt;div class=&quot;im&quot;&gt;
&lt;dt&gt;&lt;a href=&quot;http://www.blogger.com/post-edit.g?blogID=5353799867078994058&amp;amp;postID=7796600348666732762&amp;amp;from=pencil&quot;&gt;Can I take the GRE more than once?&lt;/a&gt;&lt;/dt&gt;
&lt;/div&gt;
&lt;dd style=&quot;display: block;&quot;&gt;Yes, you  can take the GRE and TOEFL more than once. If there are multiple scores  available, the Josef Korbel School takes                                                    the highest score for  each section. Be sure to submit scores to our university each time you  take the exam. For additional                                                    information about the  GRE or TOEFL, including how to register or order your official test  scores, please see: &lt;a href=&quot;http://www.ets.org/&quot; target=&quot;_blank&quot;&gt;www.ets.org&lt;/a&gt;. The institutional code for the GRE and TOEFL is 4842.                                                 &lt;/dd&gt;
&lt;dt&gt;&lt;br /&gt;
&lt;/dt&gt;
&lt;/div&gt;&lt;/dl&gt;&amp;nbsp;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;span style=&quot;font-family: garamond,serif;&quot;&gt;-------------------------------------------------------------------------------------------------------------------------------------------------------------&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;a href=&quot;http://www.gse.harvard.edu/admissions/faq/standardized_tests.html&quot; target=&quot;_blank&quot;&gt;http://www.gse.harvard.edu/&lt;wbr&gt;&lt;/wbr&gt;admissions/faq/standardized_&lt;wbr&gt;&lt;/wbr&gt;tests.html&lt;/a&gt;&lt;br /&gt;
&lt;h3&gt;How many scores does HGSE accept?&lt;/h3&gt;HGSE will consider up to two sets of official GRE scores. If  candidates have taken the test more than twice, the admissions committee  looks at the two most recent test dates. We encourage all applicants to  self-report their scores on the online application, as well as request  your official score report from ETS (our institution code is 3428).  Additionally, HGSE does not average test scores - we look at each set of  scores separately.&lt;br /&gt;
&lt;br /&gt;
&amp;nbsp;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;span style=&quot;font-family: garamond,serif;&quot;&gt;-------------------------------------------------------------------------------------------------------------------------------------------------------------&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;a href=&quot;http://www.econ.ucdavis.edu/graduates_faq.cfm&quot; target=&quot;_blank&quot;&gt;http://www.econ.ucdavis.edu/&lt;wbr&gt;&lt;/wbr&gt;graduates_faq.cfm&lt;/a&gt;&lt;br /&gt;
&lt;table align=&quot;center&quot;&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt;&lt;b&gt;If I have taken the GRE exam more than once, how do you consider the scores?&lt;/b&gt;&lt;/td&gt;    &lt;/tr&gt;
&lt;tr&gt;    &lt;td&gt;&lt;br /&gt;
&lt;/td&gt;    &lt;td&gt;All of the scores will be looked at and considered.  We will be able to consider your best scores of each section of the exam.&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;span style=&quot;font-family: garamond,serif;&quot;&gt;-------------------------------------------------------------------------------------------------------------------------------------------------------------&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;b&gt;&lt;a href=&quot;http://depts.washington.edu/epidem/adm/FAQ_gre.shtml#mult&quot; target=&quot;_blank&quot;&gt;http://depts.washington.edu/&lt;wbr&gt;&lt;/wbr&gt;epidem/adm/FAQ_gre.shtml#mult&lt;/a&gt;&lt;br /&gt;
I took the GRE more than once, which score will you count? &lt;/b&gt;&lt;br /&gt;
We will count the best set of scores taken at one sitting.  We will  not consider the top score in each category if they are from different   tests. If your scores went down in your most recent test, your chances  of  admission will be reduced.&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;span style=&quot;font-family: garamond,serif;&quot;&gt;-------------------------------------------------------------------------------------------------------------------------------------------------------------&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;a href=&quot;http://www.eecs.berkeley.edu/Gradadm/FAQA.htm&quot; target=&quot;_blank&quot;&gt;http://www.eecs.berkeley.edu/&lt;wbr&gt;&lt;/wbr&gt;Gradadm/FAQA.htm&lt;/a&gt;&lt;br /&gt;
&lt;b&gt;If I take the GRE more than once, which scores do you    consider?&lt;/b&gt; The highest scores will be the most important to us.&lt;br /&gt;
&lt;a href=&quot;http://www.blogger.com/post-edit.g?blogID=5353799867078994058&amp;amp;postID=7796600348666732762&amp;amp;from=pencil&quot; name=&quot;1309b34e1da52b9e_17b&quot;&gt;&lt;/a&gt;&lt;b&gt;How important is the writing/verbal portion of the GRE?&lt;/b&gt;&lt;br /&gt;
Though the math section will be more important in our review, any score less    than a 400 on the verbal section of the test will be of concern.&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;span style=&quot;font-family: garamond,serif;&quot;&gt;-------------------------------------------------------------------------------------------------------------------------------------------------------------&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;a href=&quot;http://www.stat.columbia.edu/%7Ecook/movabletype/archives/2009/01/taking-a-standa.html&quot; target=&quot;_blank&quot;&gt;http://www.stat.columbia.edu/~&lt;wbr&gt;&lt;/wbr&gt;cook/movabletype/archives/&lt;wbr&gt;&lt;/wbr&gt;2009/01/taking-a-standa.html&lt;/a&gt;&lt;br /&gt;
&lt;div&gt;&lt;div&gt;When we have a grad school  applicant who&#39;s taken the GRE or TOEFL multiple times, we typically just  look at the highest score.  It&#39;s my impression that pretty much  everybody does this, even though basic statistical principles would  suggest taking the average.  Eric Rasmusen &lt;a href=&quot;http://rasmusen1.blogspot.com/2009/01/sat-wont-report-low-scores.html&quot; target=&quot;_blank&quot;&gt;reminded me&lt;/a&gt;  of this point in the context of the SAT, which apparently has changed  its policy to encourage multiple test-taking even more, by allowing  students to report only their highest score.  Throwing away  information--that doesn&#39;t sound like a good idea!  But, as Rasumusen  points out, it might make more money for the organizations that  administer the test.&lt;br /&gt;
According to &lt;a href=&quot;http://www.nytimes.com/2008/12/31/education/31sat.html?_r=1&quot; target=&quot;_blank&quot;&gt;the linked news article&lt;/a&gt;,  students &quot;will have the option of choosing which scores to send to  colleges while hiding those they do not want admissions officials to  see.&quot;  My question is:  will their score report state whether they&#39;ve  chosen this option?  If so, it should be possible to at least try to  correct for the bias.&lt;br /&gt;
In any case, all this discussion makes me think we should be more  careful about just looking at the maximum when our applicants take the  GRE multiple times.  And then there&#39;s the possibility of cheating. . . .  I guess the real lesson is that these admissions decisions aren&#39;t going  to be perfect, and we should think more about how to incorporate this  perspective into our admissions process.&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;span style=&quot;font-family: garamond,serif;&quot;&gt;-------------------------------------------------------------------------------------------------------------------------------------------------------------&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;div lang=&quot;en-US&quot; style=&quot;margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;color: black;&quot;&gt;&lt;span style=&quot;font-family: Tahoma,sans-serif;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;span style=&quot;font-family: Calibri,sans-serif;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;a href=&quot;http://www.google.com/url?sa=t&amp;amp;source=web&amp;amp;cd=106&amp;amp;ved=0CDcQFjAFOGQ&amp;amp;url=http%3A%2F%2Fwww.chemistry.ohio-state.edu%2Ffiles%2FAU%25202011%2520Admissions%2520FAQs.doc&amp;amp;rct=j&amp;amp;q=more%20than%20one%20gre%20scores&amp;amp;ei=DYv6TcH4LYTf0QHmkZmcAw&amp;amp;usg=AFQjCNFE4njAht7SSK0EFe2Wp_cnTB1Zog&amp;amp;sig2=95iSAr9Us0WUPOqz0QtB7A&amp;amp;cad=rja&quot; target=&quot;_blank&quot;&gt;http://www.google.com/url?sa=&lt;wbr&gt;&lt;/wbr&gt;t&amp;amp;source=web&amp;amp;cd=106&amp;amp;ved=&lt;wbr&gt;&lt;/wbr&gt;0CDcQFjAFOGQ&amp;amp;url=http%3A%2F%&lt;wbr&gt;&lt;/wbr&gt;2Fwww.chemistry.ohio-state.&lt;wbr&gt;&lt;/wbr&gt;edu%2Ffiles%2FAU%25202011%&lt;wbr&gt;&lt;/wbr&gt;2520Admissions%2520FAQs.doc&amp;amp;&lt;wbr&gt;&lt;/wbr&gt;rct=j&amp;amp;q=more%20than%20one%&lt;wbr&gt;&lt;/wbr&gt;20gre%20scores&amp;amp;ei=&lt;wbr&gt;&lt;/wbr&gt;DYv6TcH4LYTf0QHmkZmcAw&amp;amp;usg=&lt;wbr&gt;&lt;/wbr&gt;AFQjCNFE4njAht7SSK0EFe2Wp_&lt;wbr&gt;&lt;/wbr&gt;cnTB1Zog&amp;amp;sig2=&lt;wbr&gt;&lt;/wbr&gt;95iSAr9Us0WUPOqz0QtB7A&amp;amp;cad=rja&lt;/a&gt;&lt;br /&gt;
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div lang=&quot;en-US&quot; style=&quot;margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;color: black;&quot;&gt;&lt;span style=&quot;font-family: Tahoma,sans-serif;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;span style=&quot;font-family: Calibri,sans-serif;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;If more than one set of scores from the GRE or TOEFL are reported, the committee will place the most weight during the review on the most recent score set.&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;span style=&quot;font-family: garamond,serif;&quot;&gt;-------------------------------------------------------------------------------------------------------------------------------------------------------------&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;&lt;span style=&quot;font-family: Tahoma,sans-serif;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;span style=&quot;font-family: Calibri,sans-serif;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;a href=&quot;http://www.tuck.dartmouth.edu/admissions/admissions-faq/&quot; target=&quot;_blank&quot;&gt;http://www.tuck.dartmouth.edu/&lt;wbr&gt;&lt;/wbr&gt;admissions/admissions-faq/&lt;/a&gt;&lt;br /&gt;
&lt;dl&gt;&lt;dt&gt;&lt;a href=&quot;http://www.blogger.com/post-edit.g?blogID=5353799867078994058&amp;amp;postID=7796600348666732762&amp;amp;from=pencil&quot;&gt;I have taken the GMAT and/or GRE several times. Which score does the admissions committee consider?&lt;/a&gt;&lt;/dt&gt;
&lt;dd style=&quot;display: block;&quot;&gt;The admissions committee takes into consideration your highest test  score. The Tuck application allows students to report up to two GMAT  and/or GRE test scores. If you have scored better on one test in the  verbal section and better on the other in the quantitative section, we  will consider your highest quantitative and highest verbal scores.  Please refer to Instructions for applicants for more information. &lt;/dd&gt;&lt;/dl&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;span style=&quot;font-family: garamond,serif;&quot;&gt;-------------------------------------------------------------------------------------------------------------------------------------------------------------&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;b&gt; &lt;a href=&quot;http://english.uchicago.edu/prospective/phd-checklist-and-faq&quot; target=&quot;_blank&quot;&gt;http://english.uchicago.edu/&lt;wbr&gt;&lt;/wbr&gt;prospective/phd-checklist-and-&lt;wbr&gt;&lt;/wbr&gt;faq&lt;/a&gt;&lt;br /&gt;
I have multiple GRE scores. How will my scores be interpreted?&lt;/b&gt;&lt;br /&gt;
ETS provides GRE scores from the past five years of an applicant&#39;s  records. It is up to the discretion of the reviewers how they would like  to account for these scores.&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;span style=&quot;font-family: garamond,serif;&quot;&gt;-------------------------------------------------------------------------------------------------------------------------------------------------------------&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;a href=&quot;http://www.cs.fsu.edu/current/grad/faq.php&quot; target=&quot;_blank&quot;&gt;http://www.cs.fsu.edu/current/&lt;wbr&gt;&lt;/wbr&gt;grad/faq.php&lt;/a&gt;&lt;br /&gt;
&lt;h4&gt;I took the GRE more than once.  Which score do you accept: the highest or the most recent score?&lt;/h4&gt;The highest GRE score is considered for admission.    &lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;span style=&quot;font-family: garamond,serif;&quot;&gt;-------------------------------------------------------------------------------------------------------------------------------------------------------------&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;a href=&quot;http://home.ubalt.edu/NTSBROSS/gre.html&quot; target=&quot;_blank&quot;&gt;http://home.ubalt.edu/&lt;wbr&gt;&lt;/wbr&gt;NTSBROSS/gre.html&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
If you do take the GRE more than once, it is important to remember that the institutions to which you apply may have to decide which of your scores to use in comparing you with other applicants. Institutional practices vary in this respect.  In evaluating GRE scores as one factor in their admissions or fellowship decisions, some use the most recent scores, some the highest, and others average the scores earned in several tries.&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;span style=&quot;font-family: garamond,serif;&quot;&gt;-------------------------------------------------------------------------------------------------------------------------------------------------------------&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;a href=&quot;http://cilas.ucsd.edu/academics/graduate/faqs.html#p11&quot; target=&quot;_blank&quot;&gt;http://cilas.ucsd.edu/&lt;wbr&gt;&lt;/wbr&gt;academics/graduate/faqs.html#&lt;wbr&gt;&lt;/wbr&gt;p11&lt;/a&gt;&lt;br /&gt;
&lt;b&gt;What is the average GRE score of applicants?&lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
The Admissions Committee prefers applicants who have GRE scores over the  50th percentile. Because scores differ at each testing period, we  mainly consider percentile rankings instead of raw scores. We take the  highest of your GRE scores if the test has been taken multiple times,  and we encourage applicants to retake the GRE if they feel it was not a  good indicator of their ability.&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;span style=&quot;font-family: garamond,serif;&quot;&gt;-------------------------------------------------------------------------------------------------------------------------------------------------------------&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;span style=&quot;font-family: garamond,serif;&quot;&gt; &lt;a href=&quot;http://viterbi.usc.edu/admission/graduate/faq/submitted_application/admission-criteria.htm&quot; target=&quot;_blank&quot;&gt;http://viterbi.usc.edu/&lt;wbr&gt;&lt;/wbr&gt;admission/graduate/faq/&lt;wbr&gt;&lt;/wbr&gt;submitted_application/&lt;wbr&gt;&lt;/wbr&gt;admission-criteria.htm&lt;/a&gt;&lt;br /&gt;
&lt;/span&gt;&lt;/span&gt;&lt;b&gt;Can I take the GRE more than once?&lt;/b&gt;&lt;br /&gt;
Yes, you  can take the GRE more than once.  If you have multiple GRE  scores, we  will consider the best score you obtained in each section.&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;span style=&quot;font-family: garamond,serif;&quot;&gt;-------------------------------------------------------------------------------------------------------------------------------------------------------------&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;span style=&quot;font-family: garamond,serif;&quot;&gt; &lt;a href=&quot;http://www.olemiss.edu/gradschool/GPC_handbook_1.html&quot; target=&quot;_blank&quot;&gt;http://www.olemiss.edu/&lt;wbr&gt;&lt;/wbr&gt;gradschool/GPC_handbook_1.html&lt;/a&gt;&lt;br /&gt;
&lt;/span&gt;&lt;/span&gt;When multiple GRE score reports exist, the most recent  scores are   considered applicable and individual sub-scores (in verbal,   quantitative, and  analytical reasoning) are not selected from among   tests taken on different  days. &lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;span style=&quot;font-family: garamond,serif;&quot;&gt;-------------------------------------------------------------------------------------------------------------------------------------------------------------&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;a href=&quot;http://gradcollege.okstate.edu/faq/faq.html&quot; target=&quot;_blank&quot;&gt;http://gradcollege.okstate.&lt;wbr&gt;&lt;/wbr&gt;edu/faq/faq.html&lt;/a&gt;&lt;br /&gt;
How are multiple GRE scores treated?&lt;br /&gt;
&lt;br /&gt;
GRE scores are one of the many criteria used to  evaluate an applicant.  Individual departments&#39; practices may differ, but  generally the last  test score reported is the one used. Keep in mind  that the score report  will include all scores from the tests taken  within the last 5 years. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;span style=&quot;font-family: garamond,serif;&quot;&gt;-------------------------------------------------------------------------------------------------------------------------------------------------------------&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;a href=&quot;http://www.fordschool.umich.edu/prospective/masters_faq.php&quot; target=&quot;_blank&quot;&gt;http://www.fordschool.umich.&lt;wbr&gt;&lt;/wbr&gt;edu/prospective/masters_faq.&lt;wbr&gt;&lt;/wbr&gt;php&lt;/a&gt;&lt;br /&gt;
&lt;h3&gt;How do you handle multiple GRE scores?&lt;/h3&gt;&lt;div&gt;&lt;div style=&quot;display: block;&quot;&gt;The  Admissions Committee will be given all of the  applicants&#39; scores. We  do not average them nor do we take the higher or  lower scores.  Improvement in scores will be taken into consideration.&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;span style=&quot;font-family: garamond,serif;&quot;&gt;-------------------------------------------------------------------------------------------------------------------------------------------------------------&lt;/span&gt;&lt;/span&gt; &lt;/div&gt;&lt;/div&gt;&lt;div&gt;&lt;a href=&quot;http://www.engr.wisc.edu/ie/prospective/grad/faq.html#21.&quot; target=&quot;_blank&quot;&gt;http://www.engr.wisc.edu/ie/&lt;wbr&gt;&lt;/wbr&gt;prospective/grad/faq.html#21.&lt;/a&gt; &lt;/div&gt;&lt;blockquote class=&quot;gmail_quote&quot; style=&quot;border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;&quot;&gt;&lt;div&gt;&lt;a href=&quot;http://www.blogger.com/post-edit.g?blogID=5353799867078994058&amp;amp;postID=7796600348666732762&amp;amp;from=pencil&quot; name=&quot;1309b34e1da52b9e_21.&quot;&gt;How important are GRE scores in admissions? Is there a minimum score required?&lt;br /&gt;
&lt;br /&gt;
We try to develop an overall picture of the candidate and their chance   of success in our program by considering all the application materials   presented. Although we like to see the Quantitative portion of the GRE   test scores above 90%, we do not weigh the GRE so heavily that scoring   below that mark would cause us to deny a candidate. In general, students   who are admitted into our graduate program have an overall score of   1200 or above.&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;/div&gt;&lt;/blockquote&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;span style=&quot;font-family: garamond,serif;&quot;&gt;-------------------------------------------------------------------------------------------------------------------------------------------------------------&lt;/span&gt;&lt;/span&gt; &lt;br /&gt;
&lt;blockquote class=&quot;gmail_quote&quot; style=&quot;border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;&quot;&gt;&lt;div&gt;&lt;br /&gt;
&lt;a href=&quot;http://www.maxwell.syr.edu/ir/admissions/FAQ.aspx#29.&quot; target=&quot;_blank&quot;&gt;http://www.maxwell.syr.edu/ir/&lt;wbr&gt;&lt;/wbr&gt;admissions/FAQ.aspx#29.&lt;/a&gt;&lt;/div&gt;&lt;/blockquote&gt;&lt;div class=&quot;gmail_quote&quot;&gt;&lt;div class=&quot;im&quot;&gt;&lt;span dir=&quot;ltr&quot;&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;If you take the GRE exam more than once, our Admissions Committee will  consider only the highest score of each section, whether that score was  earned the first or second time the test was taken. Many applicants  improve in at least one section the second time they take the exam. &lt;/div&gt;&lt;div&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;span style=&quot;font-family: garamond,serif;&quot;&gt;-------------------------------------------------------------------------------------------------------------------------------------------------------------&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;a href=&quot;http://www.cs.rice.edu/gradinfo/faq.shtml&quot; target=&quot;_blank&quot;&gt;http://www.cs.rice.edu/&lt;wbr&gt;&lt;/wbr&gt;gradinfo/faq.shtml&lt;/a&gt;&lt;br /&gt;
&lt;span style=&quot;color: black; font-size: medium;&quot;&gt;&lt;b&gt;9. Multiple test scores&lt;/b&gt;&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: black; font-size: medium;&quot;&gt;Q: What is your policy regarding multiple test scores?  Which scores will be considered if the GRE, TOEFL, or TSE exams have been taken more than once?&lt;br /&gt;
A:  The latest score. &lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: black; font-size: medium;&quot;&gt;&lt;b&gt;10. GRE subject exam&lt;/b&gt;&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: black; font-size: medium;&quot;&gt;Q: I am a Ph.D applicant, but lack a GRE subject test score.  Can I apply as an MS candidate instead?&lt;br /&gt;
A: The GRE subject test is required for both MS and Ph.D applications. &lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;span style=&quot;font-family: garamond,serif;&quot;&gt;-------------------------------------------------------------------------------------------------------------------------------------------------------------&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;a href=&quot;http://www.gsb.stanford.edu/mba/admission/test_scores.html&quot; target=&quot;_blank&quot;&gt;http://www.gsb.stanford.edu/&lt;wbr&gt;&lt;/wbr&gt;mba/admission/test_scores.html&lt;/a&gt;&lt;br /&gt;
&amp;nbsp;If you have taken the GMAT more than once, report only the score from  one examination that you wish us to consider while reviewing your  application. We do not average scores. The scores you report must be  from the same testing session.&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;span style=&quot;font-family: garamond,serif;&quot;&gt;-------------------------------------------------------------------------------------------------------------------------------------------------------------&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;a href=&quot;http://ls.berkeley.edu/about-college/l-s-divisions/arts-humanities/diversity/prospective-students/graduate-record-exam&quot; target=&quot;_blank&quot;&gt;http://ls.berkeley.edu/about-&lt;wbr&gt;&lt;/wbr&gt;college/l-s-divisions/arts-&lt;wbr&gt;&lt;/wbr&gt;humanities/diversity/&lt;wbr&gt;&lt;/wbr&gt;prospective-students/graduate-&lt;wbr&gt;&lt;/wbr&gt;record-exam&lt;/a&gt;&lt;br /&gt;
For applicants who have taken the GRE more than one time, you should be  aware of how this situation may affect you. Usually, your highest score  is acknowledged in each of the three components, but often all of your  scores are also identified. I wouldn&#39;t worry too much about this.  Admission committee members appear to take these situations in stride  and understand the situations under which students are placed in test  conditions.&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;span style=&quot;font-family: garamond,serif;&quot;&gt;-------------------------------------------------------------------------------------------------------------------------------------------------------------&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;a href=&quot;http://www.cs.vt.edu/graduate/prospective_students/application_guidelines&quot; target=&quot;_blank&quot;&gt;http://www.cs.vt.edu/graduate/&lt;wbr&gt;&lt;/wbr&gt;prospective_students/&lt;wbr&gt;&lt;/wbr&gt;application_guidelines&lt;/a&gt;&lt;br /&gt;
&lt;h2&gt;If I have multiple GRE scores, will you consider the best score? Or  most recent score? If it is the best, will you consider the best of the  total or best of individual scores?&lt;/h2&gt;It doesn&#39;t matter. The GRE is only one criterion used in admissions  decisions. As the answer to the previous FAQ suggests, applicants with  lower scores might be accepted and those with higher scores might be  declined. You do not have to worry about your application being declined  because we used the smaller GRE score.&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;span style=&quot;font-family: garamond,serif;&quot;&gt;-------------------------------------------------------------------------------------------------------------------------------------------------------------&lt;/span&gt;&lt;/span&gt; &lt;br /&gt;
&lt;a href=&quot;http://www.anderson.ucla.edu/x19460.xml#11.1&quot; target=&quot;_blank&quot;&gt;http://www.anderson.ucla.edu/&lt;wbr&gt;&lt;/wbr&gt;x19460.xml#11.1&lt;/a&gt;&lt;br /&gt;
&lt;b&gt;If I take the GMAT/GRE more than once, will the Admissions Committee average the scores or take the highest one?&lt;br /&gt;
&lt;/b&gt;We  will see all of your scores but will take your higher score if you take  the test twice. If you take the test more than twice, we consider all  scores, but will not average them.&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;span style=&quot;font-family: garamond,serif;&quot;&gt;-------------------------------------------------------------------------------------------------------------------------------------------------------------&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;a href=&quot;http://www4.gsb.columbia.edu/mba/admissions/applynow/apprequirements#GMAT&quot; target=&quot;_blank&quot;&gt;http://www4.gsb.columbia.edu/&lt;wbr&gt;&lt;/wbr&gt;mba/admissions/applynow/&lt;wbr&gt;&lt;/wbr&gt;apprequirements#GMAT&lt;/a&gt;&lt;br /&gt;
Be sure to self-report your GMAT score when completing your application.  If admitted, you must submit an official score report via &lt;a href=&quot;http://www.mba.com/&quot; target=&quot;_blank&quot;&gt;www.mba.com&lt;/a&gt;.  The Admissions Committee will consider only your highest score when  reviewing your application, but will not combine subscores from multiple  exams into a single composite score. Columbia Business School’s GMAC  code is &lt;b&gt;QF8-N6-36&lt;/b&gt;. &lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;span style=&quot;font-family: garamond,serif;&quot;&gt;-------------------------------------------------------------------------------------------------------------------------------------------------------------&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;a href=&quot;http://som.utdallas.edu/academicAreas/isom/opMgmtPrograms/faq.php&quot; target=&quot;_blank&quot;&gt;http://som.utdallas.edu/&lt;wbr&gt;&lt;/wbr&gt;academicAreas/isom/&lt;wbr&gt;&lt;/wbr&gt;opMgmtPrograms/faq.php&lt;/a&gt;&lt;br /&gt;
&lt;ul&gt;&lt;li&gt;&lt;a href=&quot;http://www.blogger.com/post-edit.g?blogID=5353799867078994058&amp;amp;postID=7796600348666732762&amp;amp;from=pencil&quot; name=&quot;1309b34e1da52b9e_Q16&quot;&gt;In case of more than one GMAT score, would you consider the average or the best score?&lt;/a&gt;    For MS SCM program, we consider the best GMAT score.&lt;/li&gt;
&lt;/ul&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;span style=&quot;font-family: garamond,serif;&quot;&gt;-------------------------------------------------------------------------------------------------------------------------------------------------------------&lt;/span&gt;&lt;/span&gt; &lt;br /&gt;
&lt;a href=&quot;http://socialsciences.uchicago.edu/prospective/admissions/admissions-application.shtml&quot; target=&quot;_blank&quot;&gt;http://socialsciences.&lt;wbr&gt;&lt;/wbr&gt;uchicago.edu/prospective/&lt;wbr&gt;&lt;/wbr&gt;admissions/admissions-&lt;wbr&gt;&lt;/wbr&gt;application.shtml&lt;/a&gt;&lt;br /&gt;
In the cases of multiple tests, the overall best test date is used for review purposes.&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;span style=&quot;font-family: garamond,serif;&quot;&gt;-------------------------------------------------------------------------------------------------------------------------------------------------------------&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;b&gt;&lt;a href=&quot;http://www.hds.harvard.edu/afa/apply/faq.html#Can%20I%20take%20the%20GRE%20multiple%20times?&quot; target=&quot;_blank&quot;&gt;http://www.hds.harvard.edu/&lt;wbr&gt;&lt;/wbr&gt;afa/apply/faq.html#Can%20I%&lt;wbr&gt;&lt;/wbr&gt;20take%20the%20GRE%20multiple%&lt;wbr&gt;&lt;/wbr&gt;20times?&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
Can I take the GRE multiple times?&amp;nbsp; If you receive multiple scores from me, how will you determine which ones to consider for my application?&lt;br /&gt;
&lt;/b&gt;When possible, we suggest that you prepare carefully and take the GRE once. If you chose to take the GRE a second or third time after sending us an official GRE score report, it is possible that the Admissions Committee will complete its review of your application before the additional scores arrive. If we receive multiple sets of scores from you before the application deadline, the Admissions Committee will consider all scores received. Remember, GRE scores are only valid for five years. If you submit invalid scores, your application will be considered incomplete&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;span style=&quot;font-family: garamond,serif;&quot;&gt;-------------------------------------------------------------------------------------------------------------------------------------------------------------&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;a href=&quot;http://www.wharton.upenn.edu/doctoral/admissions/application-requirements.cfm#Standardized_Test_Scores&quot; target=&quot;_blank&quot;&gt;http://www.wharton.upenn.edu/&lt;wbr&gt;&lt;/wbr&gt;doctoral/admissions/&lt;wbr&gt;&lt;/wbr&gt;application-requirements.cfm#&lt;wbr&gt;&lt;/wbr&gt;Standardized_Test_Scores&lt;/a&gt;&lt;br /&gt;
We evaluate only GMAT and GRE results from tests taken prior to the  receipt of your application. The highest score is used — we do not  combine multiple scores. &lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;span style=&quot;font-family: garamond,serif;&quot;&gt;-------------------------------------------------------------------------------------------------------------------------------------------------------------&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;a href=&quot;http://che.engin.umich.edu/graduateprogram/graduateadmissions/gradfaq.html#scores&quot; target=&quot;_blank&quot;&gt;http://che.engin.umich.edu/&lt;wbr&gt;&lt;/wbr&gt;graduateprogram/&lt;wbr&gt;&lt;/wbr&gt;graduateadmissions/gradfaq.&lt;wbr&gt;&lt;/wbr&gt;html#scores&lt;/a&gt;&lt;br /&gt;
&lt;b&gt;If I take the GRE more than one time which score will you take?&lt;/b&gt; We look at the applicant&#39;s highest GRE score.&amp;nbsp;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;span style=&quot;font-family: garamond,serif;&quot;&gt;-------------------------------------------------------------------------------------------------------------------------------------------------------------&lt;/span&gt;&lt;/span&gt; &lt;/div&gt;&lt;div&gt;UC Davis says &quot;&lt;b&gt;When you take the GRE multiple times, we consider the  highest scores in each section for examinations taken within the  five-year period.&quot;&lt;/b&gt;&lt;br /&gt;
Source: &lt;a href=&quot;http://www.vetmed.ucdavis.edu/studentprograms/subpages/faqs.html#q21&quot; rel=&quot;nofollow&quot; target=&quot;_blank&quot;&gt;http://www.vetmed.ucdavis.edu/&lt;wbr&gt;&lt;/wbr&gt;studen.../faqs.html#q21&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;span style=&quot;font-family: garamond,serif;&quot;&gt;-------------------------------------------------------------------------------------------------------------------------------------------------------------&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
Cornell says &quot;Cornell       also has a policy of using your best test  composite scores from       multiple tests (even if your best scores in  the various sections       were not earned on the same test date) to  help our applicants       feel less anxious about any one test. If you  experience test       anxiety, you may leave an examine knowing you may  return for       a new examine without being penalized in Cornell&#39;s DVM  Admissions       selection process.&quot;&lt;br /&gt;
Source: &lt;a href=&quot;http://www.vet.cornell.edu/admissions/prep.htm&quot; rel=&quot;nofollow&quot; target=&quot;_blank&quot;&gt;http://www.vet.cornell.edu/&lt;wbr&gt;&lt;/wbr&gt;admissions/prep.htm&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;span style=&quot;font-family: garamond,serif;&quot;&gt;-------------------------------------------------------------------------------------------------------------------------------------------------------------&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
Iowa State says &quot;The one test that gives you the best score is used.&quot;&lt;br /&gt;
Source: &lt;a href=&quot;http://www.vetmed.iastate.edu/prospective_students/default.aspx?id=988#26&quot; rel=&quot;nofollow&quot; target=&quot;_blank&quot;&gt;http://www.vetmed.iastate.edu/&lt;wbr&gt;&lt;/wbr&gt;prospe...aspx?id=988#26&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;span style=&quot;font-family: garamond,serif;&quot;&gt;-------------------------------------------------------------------------------------------------------------------------------------------------------------&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
Louisiana State says &quot;&lt;span style=&quot;font-family: Verdana;&quot;&gt;When the GRE has been taken more than once, the                    highest score from a single test date will be used.&quot;&lt;br /&gt;
Source: &lt;a href=&quot;http://www.vetmed.lsu.edu/admissions/admission_faqs.htm#re-take&quot; rel=&quot;nofollow&quot; target=&quot;_blank&quot;&gt;http://www.vetmed.lsu.edu/&lt;wbr&gt;&lt;/wbr&gt;admissions...qs.htm#re-take&lt;/a&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Verdana;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;span style=&quot;font-family: garamond,serif;&quot;&gt;-------------------------------------------------------------------------------------------------------------------------------------------------------------&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Verdana;&quot;&gt; Michigan State says &quot;&lt;/span&gt; When the test has been taken more than once, only the higher composite score will be added to the applicant&#39;s credentials.&quot;&lt;br /&gt;
Source: &lt;a href=&quot;http://www.cvm.msu.edu/student-information/dvm-program-admissions/requirements-for-doctor-of-veterinary-medicine/gre-and-toefl&quot; rel=&quot;nofollow&quot; target=&quot;_blank&quot;&gt;http://www.cvm.msu.edu/&lt;wbr&gt;&lt;/wbr&gt;student-infor.../gre-and-toefl&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;span style=&quot;font-family: garamond,serif;&quot;&gt;-------------------------------------------------------------------------------------------------------------------------------------------------------------&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
North Caroline State says &quot;If an applicant takes the test more than  once, the highest total score is used from a single testing date, not  the highest of each section.&quot;&lt;br /&gt;
Source: &lt;a href=&quot;http://www.cvm.ncsu.edu/studentservices/admissions.html&quot; rel=&quot;nofollow&quot; target=&quot;_blank&quot;&gt;http://www.cvm.ncsu.edu/&lt;wbr&gt;&lt;/wbr&gt;studentservices/admissions.&lt;wbr&gt;&lt;/wbr&gt;html&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;span style=&quot;font-family: garamond,serif;&quot;&gt;-------------------------------------------------------------------------------------------------------------------------------------------------------------&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
Ohio State says &quot; We take the highest score from one exam. &quot;&lt;br /&gt;
Source: &lt;a href=&quot;http://www.vet.ohio-state.edu/2699.htm#q19&quot; rel=&quot;nofollow&quot; target=&quot;_blank&quot;&gt;http://www.vet.ohio-state.edu/&lt;wbr&gt;&lt;/wbr&gt;2699.htm#q19&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;span style=&quot;font-family: garamond,serif;&quot;&gt;-------------------------------------------------------------------------------------------------------------------------------------------------------------&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
Washington State says &quot;GRE scores are calculated by averaging the  percentile rank on all 3   sections of the general test (composite  score). If an application contains   more than one set of GRE scores,  the committee will consider the highest   composite score. Only GRE  scores received by the Admissions Office at the   time of initial  academic evaluation will contribute to Tier assignment.   Scores  received later will be used in the final evaluation.&quot;&lt;br /&gt;
Source: &lt;a href=&quot;http://www.vetmed.wsu.edu/prospectiveStudents/AdmissionProcedure.aspx&quot; rel=&quot;nofollow&quot; target=&quot;_blank&quot;&gt;http://www.vetmed.wsu.edu/&lt;wbr&gt;&lt;/wbr&gt;prospectiv...Procedure.aspx&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;span style=&quot;font-family: garamond,serif;&quot;&gt;-------------------------------------------------------------------------------------------------------------------------------------------------------------&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
Western University says &quot;If taken multiple times, all scores will be  considered, but more weight will likely be placed on the later score.&quot;&lt;br /&gt;
Source: &lt;a href=&quot;http://www.westernu.edu/xp/edu/howtoapply/dvm_prerequisites.xml#DVM_If_I_take_the_GRE_or_MCAT&quot; rel=&quot;nofollow&quot; target=&quot;_blank&quot;&gt;http://www.westernu.edu/xp/&lt;wbr&gt;&lt;/wbr&gt;edu/howto...he_GRE_or_MCAT&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;span style=&quot;font-family: garamond,serif;&quot;&gt;-------------------------------------------------------------------------------------------------------------------------------------------------------------&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;a href=&quot;http://www.vet.upenn.edu/admissions/faq.html&quot; rel=&quot;nofollow&quot; target=&quot;_blank&quot;&gt;http://www.vet.upenn.edu/&lt;wbr&gt;&lt;/wbr&gt;admissions/faq.html&lt;/a&gt; &lt;br /&gt;
&lt;br /&gt;
&quot;When considering scores from multiple test dates, we will take the  highest combined verbal and quantitative scores from the same test  date.&quot;&lt;br /&gt;
&lt;br /&gt;
&lt;a href=&quot;http://www.vet.upenn.edu/admissions/faq.html&quot; rel=&quot;nofollow&quot; target=&quot;_blank&quot;&gt;&lt;br /&gt;
&lt;/a&gt;&lt;/div&gt;&lt;div&gt;&lt;/div&gt;&lt;div&gt;&lt;/div&gt;&lt;div&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;div class=&quot;blogger-post-footer&quot;&gt;http://feeds.feedburner.com/SurfingTroves&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://surfingtroves.blogspot.com/feeds/7796600348666732762/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/5353799867078994058/7796600348666732762' title='75 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5353799867078994058/posts/default/7796600348666732762'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5353799867078994058/posts/default/7796600348666732762'/><link rel='alternate' type='text/html' href='http://surfingtroves.blogspot.com/2011/06/on-how-universities-handle-multiple-gre.html' title='On how universities handle multiple GRE scores (how about taking GRE more than once) ?'/><author><name>chapple.cai</name><uri>http://www.blogger.com/profile/05417712358820523031</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>75</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5353799867078994058.post-318922961197075883</id><published>2011-05-27T13:49:00.000-07:00</published><updated>2011-05-31T19:54:55.382-07:00</updated><title type='text'>building installation of freeglut ------ problem with /usr/lib/libGL.so.1 or /lib/libm.so.6</title><content type='html'>When setting up freeglut with the source code package downloaded from sourceForge in the Fedora Linux environment, there always complains in the link step about loss of either of following two dynamically-linked libraries on the linker&#39;s command line:&lt;br /&gt;
&lt;br /&gt;
/usr/lib/libGL.so.1&lt;br /&gt;
/lib/libm.so.6&lt;br /&gt;
&lt;br /&gt;
The typical prompt would be like the lines as follows:&lt;br /&gt;
&lt;br /&gt;
&lt;i&gt;freeglut is defined in DSO /usr/lib/libGL.so.1 so try adding it to the linker command line&lt;/i&gt;&lt;br /&gt;
&lt;br /&gt;
A very gauche approach is to edit each Makefile spread over different levels of directories in the source code root, by changing each &quot;CC=gcc&quot; line to &quot;CC=gcc /usr/lib/libGL.so.1 /lib/libm.so.6&quot;. Obviously, you will need much pissy manual work to treat this nasty problem.&lt;br /&gt;
&lt;br /&gt;
Here what I would like to share is a cheaper yet perky way, maybe not that paradigmatic though, to the quick solution:&lt;br /&gt;
&lt;br /&gt;
1. enter /usr/bin/&amp;nbsp; (or somewhere else gcc lies, the location can be retrieved by whereis gcc );&lt;br /&gt;
2. mv gcc gcc_org&amp;nbsp;&lt;br /&gt;
3. touch gcc and add following lines in it:&lt;br /&gt;
&lt;i&gt;#!/bin/bash&lt;br /&gt;
&lt;br /&gt;
/usr/bin/gcc_org $@ /usr/lib/libGL.so.1 /lib/libm.so.6&lt;/i&gt;&lt;br /&gt;
&lt;br /&gt;
4. chmod +x gcc&lt;br /&gt;
&lt;br /&gt;
Now get back to glut source package directory and follow the original instruction, that is, &quot;./configure&quot; -&amp;gt; &quot;make &amp;amp;&amp;amp; make install&quot;.&lt;br /&gt;
&lt;br /&gt;
You should not expect further problems until everything will be set up well there.&lt;br /&gt;
&lt;br /&gt;
After done, do not forget to clean up the your cheating spot : move to /usr/bin,&lt;br /&gt;
and &quot;mv gcc_org gcc&quot;.&lt;div class=&quot;blogger-post-footer&quot;&gt;http://feeds.feedburner.com/SurfingTroves&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://surfingtroves.blogspot.com/feeds/318922961197075883/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/5353799867078994058/318922961197075883' title='36 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5353799867078994058/posts/default/318922961197075883'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5353799867078994058/posts/default/318922961197075883'/><link rel='alternate' type='text/html' href='http://surfingtroves.blogspot.com/2011/05/building-installation-of-freeglut.html' title='building installation of freeglut ------ problem with /usr/lib/libGL.so.1 or /lib/libm.so.6'/><author><name>chapple.cai</name><uri>http://www.blogger.com/profile/05417712358820523031</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>36</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5353799867078994058.post-857041985009779111</id><published>2011-03-28T20:30:00.000-07:00</published><updated>2011-03-28T20:32:36.569-07:00</updated><title type='text'>A TUI library for Dos/Windows</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;A Text User Interface Library in C++ for DOS/Windows. Useful for building light-weighted TUI based applications.&lt;br /&gt;
&lt;br /&gt;
&lt;a&gt;http://sourceforge.net/u/haipengcai/wikituidos/Home/&lt;/a&gt; &lt;/div&gt;&lt;div class=&quot;blogger-post-footer&quot;&gt;http://feeds.feedburner.com/SurfingTroves&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://surfingtroves.blogspot.com/feeds/857041985009779111/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/5353799867078994058/857041985009779111' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5353799867078994058/posts/default/857041985009779111'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5353799867078994058/posts/default/857041985009779111'/><link rel='alternate' type='text/html' href='http://surfingtroves.blogspot.com/2011/03/tui-library-for-linux.html' title='A TUI library for Dos/Windows'/><author><name>Surfing Troves</name><uri>http://www.blogger.com/profile/07005425779123795943</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5353799867078994058.post-6642963223318859100</id><published>2011-02-08T12:14:00.000-08:00</published><updated>2011-02-08T12:15:37.168-08:00</updated><title type='text'>Why vim not search STL headers?</title><content type='html'>In vim it is common to open a header in place, which is really a handy feature for browsing a directory hierarchy.&lt;br /&gt;
&lt;br /&gt;
But you might find this functionality seems to fail with C++ STL headers : when the cursor is blinking under &quot;#include &amp;lt;iostream&amp;gt;&quot;, say, and your hitting &#39;gf&#39; will not respond by entering that header but engender a grouch like following instead:&lt;br /&gt;
&lt;br /&gt;
&lt;div style=&quot;background-color: #999999;&quot;&gt;&quot;E447: Can&#39;t find file iostream in path&quot;.&lt;/div&gt;&lt;br /&gt;
In actuality it is quite easy to resolve this problem by riffling through vim manual.&lt;br /&gt;
&lt;br /&gt;
Treatment:&lt;br /&gt;
&lt;br /&gt;
open the rc file of vim, for instance, /etc/vimrc, add following setting :&lt;br /&gt;
&lt;br /&gt;
&lt;div style=&quot;color: lime;&quot;&gt;set path = **,/usr/include/c++/**&lt;/div&gt;&lt;br /&gt;
provided your c++ STL headers are hoarded in /usr/include/c++.&lt;br /&gt;
&lt;br /&gt;
reopen the source code you were previously browsing around and try &quot;gf&quot; again, it should work now! It is really that piece of cake!&amp;nbsp; Really extensible is vim!&lt;div class=&quot;blogger-post-footer&quot;&gt;http://feeds.feedburner.com/SurfingTroves&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://surfingtroves.blogspot.com/feeds/6642963223318859100/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/5353799867078994058/6642963223318859100' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5353799867078994058/posts/default/6642963223318859100'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5353799867078994058/posts/default/6642963223318859100'/><link rel='alternate' type='text/html' href='http://surfingtroves.blogspot.com/2011/02/why-vim-not-search-stl-headers.html' title='Why vim not search STL headers?'/><author><name>chapple.cai</name><uri>http://www.blogger.com/profile/05417712358820523031</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5353799867078994058.post-1713249259848802769</id><published>2011-02-08T12:00:00.000-08:00</published><updated>2011-02-08T12:00:43.941-08:00</updated><title type='text'>remove empty line by sed or in vim</title><content type='html'>In vim, following the same trick for general sustitution:&lt;br /&gt;
&lt;pre&gt;&lt;span style=&quot;background-color: white; color: lime; font-family: Georgia,&amp;quot;Times New Roman&amp;quot;,serif; font-size: large;&quot;&gt;&lt;span class=&quot;punct&quot;&gt;:%s/&lt;/span&gt;&lt;span class=&quot;symbol&quot;&gt;^[\ \t]*\n&lt;/span&gt;&lt;span class=&quot;punct&quot;&gt;//&lt;/span&gt;&lt;span class=&quot;ident&quot;&gt;g&lt;/span&gt; &lt;/span&gt;&lt;span style=&quot;background-color: white; color: lime;&quot;&gt;&lt;/span&gt;&lt;/pre&gt;&lt;br /&gt;
By sed on the command line:&lt;br /&gt;
&lt;div style=&quot;background-color: white;&quot;&gt;&lt;span style=&quot;color: lime; font-family: Georgia,&amp;quot;Times New Roman&amp;quot;,serif; font-size: large;&quot;&gt;cat orgfile | sed /^$/d&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;blogger-post-footer&quot;&gt;http://feeds.feedburner.com/SurfingTroves&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://surfingtroves.blogspot.com/feeds/1713249259848802769/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/5353799867078994058/1713249259848802769' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5353799867078994058/posts/default/1713249259848802769'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5353799867078994058/posts/default/1713249259848802769'/><link rel='alternate' type='text/html' href='http://surfingtroves.blogspot.com/2011/02/remove-empty-line-by-sed-or-in-vim.html' title='remove empty line by sed or in vim'/><author><name>chapple.cai</name><uri>http://www.blogger.com/profile/05417712358820523031</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5353799867078994058.post-4142063176992262673</id><published>2011-01-08T10:03:00.000-08:00</published><updated>2011-05-31T20:19:09.169-07:00</updated><title type='text'>Enable X Shared Memory Extension Pixmaps</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;Definitely not encouraged to use, sometimes this feature is needed for using certain applications what depends on this deprecated X window extension.&lt;br /&gt;
&lt;br /&gt;
Found the solution on &lt;a href=&quot;http://fxc.noaa.gov/FSD-NVIDIA-OB9-FXC.htm&quot;&gt;http://fxc.noaa.gov/FSD-NVIDIA-OB9-FXC.htm&lt;/a&gt;. More precisely, an example illustrating the details with Nvidia series on Fedora 14 is shown as follows.&lt;br /&gt;
&lt;br /&gt;
&lt;pre class=&quot;brush: xml&quot;&gt;# nvidia-xconfig: X configuration file generated by nvidia-xconfig
# nvidia-xconfig:  version 260.19.29&amp;nbsp;&lt;/pre&gt;&lt;pre class=&quot;brush: xml&quot;&gt;# (buildmeister@swio-display-x86-rhel47-04.nvidia.com)  Wed Dec&amp;nbsp;&lt;/pre&gt;&lt;pre class=&quot;brush: xml&quot;&gt;# 8 12:27:39 PST 2010


Section &quot;ServerLayout&quot;
    Identifier     &quot;Layout0&quot;
    Screen      0  &quot;Screen0&quot; 0 0
    InputDevice    &quot;Keyboard0&quot; &quot;CoreKeyboard&quot;
    InputDevice    &quot;Mouse0&quot; &quot;CorePointer&quot;
EndSection

Section &quot;Files&quot;
    FontPath        &quot;/usr/share/fonts/default/Type1&quot;
EndSection

Section &quot;InputDevice&quot;

    # generated from default
    Identifier     &quot;Mouse0&quot;
    Driver         &quot;mouse&quot;
    Option         &quot;Protocol&quot; &quot;auto&quot;
    Option         &quot;Device&quot; &quot;/dev/input/mice&quot;
    Option         &quot;Emulate3Buttons&quot; &quot;no&quot;
    Option         &quot;ZAxisMapping&quot; &quot;4 5&quot;
EndSection

Section &quot;InputDevice&quot;

    # generated from data in &quot;/etc/sysconfig/keyboard&quot;
    Identifier     &quot;Keyboard0&quot;
    Driver         &quot;kbd&quot;
    Option         &quot;XkbLayout&quot; &quot;us&quot;
    Option         &quot;XkbModel&quot; &quot;pc105&quot;
EndSection

Section &quot;Monitor&quot;
    Identifier     &quot;Monitor0&quot;
    VendorName     &quot;Unknown&quot;
    ModelName      &quot;Unknown&quot;
    HorizSync       28.0 - 33.0
    VertRefresh     43.0 - 72.0
    Option         &quot;DPMS&quot;
EndSection

Section &quot;Device&quot;
    Identifier     &quot;Device0&quot;
    Driver         &quot;nvidia&quot;
    VendorName     &quot;NVIDIA Corporation&quot;
    Option    &quot;AllowSHMPixmaps&quot; &quot;true&quot;
EndSection

Section &quot;Screen&quot;
    Identifier     &quot;Screen0&quot;
    Device         &quot;Device0&quot;
    Monitor        &quot;Monitor0&quot;
    DefaultDepth    24
    SubSection     &quot;Display&quot;
        Depth       24
    EndSubSection
EndSection
&lt;/pre&gt;&lt;br /&gt;
The enabling appendix is simply the single line below.&lt;br /&gt;
&lt;span bold=&quot;true&quot;&gt;Option    &quot;AllowSHMPixmaps&quot; &quot;true&quot;&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
Then reboot the system to make it effect.&lt;br /&gt;
&lt;br /&gt;
Following code snippet could be used for verifying the availability of this feature:&lt;br /&gt;
&lt;br /&gt;
&lt;pre class=&quot;brush: cpp&quot;&gt;int vmajor;

int vminor;
bool vpixmap;
bool shm_flag;
if (XShmQueryVersion(window-&amp;gt;getDisplay(),&amp;amp;vmajor,&amp;amp;vminor,&amp;amp;vpixmap) != True) { 
    cerr &amp;lt;&amp;lt; &quot;X Shared Memory Extension not supported.&quot; &amp;lt;&amp;lt; endl;
    shm_flag=false;
}
else if (vpixmap != True) { 
    cerr &amp;lt;&amp;lt; &quot;X Shared Memory Extension Pixmap not supported.&quot; &amp;lt;&amp;lt; endl;
    shm_flag=false;
}
else {
    // do what is relying on the MIT-SHM feature from here on
    ......
}

&lt;/pre&gt;&lt;/div&gt;&lt;div class=&quot;blogger-post-footer&quot;&gt;http://feeds.feedburner.com/SurfingTroves&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://surfingtroves.blogspot.com/feeds/4142063176992262673/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/5353799867078994058/4142063176992262673' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5353799867078994058/posts/default/4142063176992262673'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5353799867078994058/posts/default/4142063176992262673'/><link rel='alternate' type='text/html' href='http://surfingtroves.blogspot.com/2011/01/enable-x-shared-memory-extension.html' title='Enable X Shared Memory Extension Pixmaps'/><author><name>Surfing Troves</name><uri>http://www.blogger.com/profile/07005425779123795943</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5353799867078994058.post-3201796992396853669</id><published>2011-01-06T08:35:00.000-08:00</published><updated>2011-01-06T09:25:51.936-08:00</updated><title type='text'>How to get the screen resolution in Linux C (and more X window information)</title><content type='html'>&lt;span style=&quot;font-size: large;&quot;&gt;&lt;b style=&quot;font-family: Georgia,&amp;quot;Times New Roman&amp;quot;,serif;&quot;&gt;Linux C: get the screen resolution and window size&amp;nbsp;&lt;/b&gt;&lt;/span&gt; &lt;br /&gt;
&lt;br /&gt;
Happened to necessitate the retrieval of information about the screen of the canonical X window system (X11)&amp;nbsp; in use while I am employing Fedora Linux release 14.&lt;br /&gt;
&lt;br /&gt;
Some guys (or gals maybe) suggest achieving this by GTK calls like gdk_screen_get_resolution or the like, I will prefer to using the legacy routines of Xlib for accessing to the X window information. For at least one thing, the X window system is presumably more likely to be installed in Linux OS than is the GTK/GTK+ libraries in my view.&lt;br /&gt;
&lt;br /&gt;
Actually it is quite simpler than it might be postulated to be:&lt;br /&gt;
&lt;br /&gt;
&lt;pre class=&quot;brush: c&quot;&gt;// -----------------------------------------------------------
// Purpose : simply retrieve current X screen resolution and 
//    the size of current root window of the default 
//    screen of curent default window
// -----------------------------------------------------------

#include &amp;lt;X11/Xlib.h&amp;gt;
#include &amp;lt;stdio.h&amp;gt;

int getRootWindowSize(int *w, int *h)
{
 Display* pdsp = NULL;
 Window wid = 0;
 XWindowAttributes xwAttr;

 pdsp = XOpenDisplay( NULL );
 if ( !pdsp ) {
  fprintf(stderr, &quot;Failed to open default display.\n&quot;);
  return -1;
 }

 wid = DefaultRootWindow( pdsp );
 if ( 0 &amp;gt; wid ) {
  fprintf(stderr, &quot;Failed to obtain the root windows Id &quot;
      &quot;of the default screen of given display.\n&quot;);
  return -2;
 }
 
 Status ret = XGetWindowAttributes( pdsp, wid, &amp;amp;xwAttr );
 *w = xwAttr.width;
 *h = xwAttr.height;

 XCloseDisplay( pdsp );
 return 0;
}

int getScreenSize(int *w, int*h)
{

 Display* pdsp = NULL;
 Screen* pscr = NULL;

 pdsp = XOpenDisplay( NULL );
 if ( !pdsp ) {
  fprintf(stderr, &quot;Failed to open default display.\n&quot;);
  return -1;
 }

    pscr = DefaultScreenOfDisplay( pdsp );
 if ( !pscr ) {
  fprintf(stderr, &quot;Failed to obtain the default screen of given display.\n&quot;);
  return -2;
 }

 *w = pscr-&amp;gt;width;
 *h = pscr-&amp;gt;height;

 XCloseDisplay( pdsp );
 return 0;
}

int main()
{
 int w, h;

 getScreenSize(&amp;amp;w, &amp;amp;h);
 printf (&quot; Screen:  width = %d, height = %d \n&quot;, w, h);

 getRootWindowSize(&amp;amp;w, &amp;amp;h);
 printf (&quot; Root Window:  width = %d, height = %d \n&quot;, w, h);
 
 return 1;
 
}


/* gcc -o $@ $&amp;lt; -lX11 */


/* set ts=4 sts=4 tw=100 sw=4 */
&lt;/pre&gt;You can also retrieve more information about the X window system you are currently using, such as display name and the tag of vendor.  &lt;br /&gt;
&lt;pre class=&quot;brush: c&quot;&gt;// -----------------------------------------------------------
// Purpose : simply retrieve current X windows information
// -----------------------------------------------------------
#define XLIB_ILLEGAL_ACCESS
#include &amp;lt;X11/Xlib.h&amp;gt;
#include &amp;lt;stdio.h&amp;gt;

int main()
{

 Display* pdsp = XOpenDisplay(NULL);
 Window wid = DefaultRootWindow(pdsp);

 Screen* pwnd = DefaultScreenOfDisplay(pdsp);
 int sid = DefaultScreen(pdsp);
 
 XWindowAttributes xwAttr;
 XGetWindowAttributes(pdsp,wid,&amp;amp;xwAttr);

 printf (&quot; name : %s\n vendor : %s\n&quot;, pdsp-&amp;gt;display_name, pdsp-&amp;gt;vendor);
 printf (&quot; pos : (%d, %d), width = %d, height = %d \n&quot;,
   xwAttr.x, xwAttr.y, xwAttr.width, xwAttr.height);

 XCloseDisplay( pdsp );
 
 return 1;
}


/* gcc -o $@ $&amp;lt; -lX11 */
/* set ts=4 sts=4 tw=100 sw=4 */
&lt;/pre&gt;&lt;br /&gt;
Note that here &quot;#define XLIB_ILLEGAL_ACCESS&quot; was used for accessing to some of the data member in the Display structure in C. &lt;br /&gt;
&lt;br /&gt;
For more data member accessible, see the definition/declarations in the header /usr/include/X11/Xlib.h.&lt;br /&gt;
&lt;br /&gt;
PS: It is thankfully in the courtesy of &lt;a href=&quot;http://www.craftyfella.com/2010/01/syntax-highlighting-with-blogger-engine.html&quot;&gt;http://www.craftyfella.com/2010/01/syntax-highlighting-with-blogger-engine.html&lt;/a&gt; to make the code snippets I posted above have a highlighted effect and look organized more trimly (otherwise it is always bit of mangled!) Thanks to &lt;a href=&quot;http://www.craftyfella.com/2010/01/syntax-highlighting-with-blogger-engine.html&quot;&gt;craftyfella&lt;/a&gt;!&lt;div class=&quot;blogger-post-footer&quot;&gt;http://feeds.feedburner.com/SurfingTroves&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://surfingtroves.blogspot.com/feeds/3201796992396853669/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/5353799867078994058/3201796992396853669' title='13 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5353799867078994058/posts/default/3201796992396853669'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5353799867078994058/posts/default/3201796992396853669'/><link rel='alternate' type='text/html' href='http://surfingtroves.blogspot.com/2011/01/how-to-get-screen-resolution-in-linux-c.html' title='How to get the screen resolution in Linux C (and more X window information)'/><author><name>Surfing Troves</name><uri>http://www.blogger.com/profile/07005425779123795943</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>13</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5353799867078994058.post-5363986588835050520</id><published>2011-01-03T17:35:00.000-08:00</published><updated>2011-01-03T17:36:03.944-08:00</updated><title type='text'>Can not find man page for GLUT routines in Linux?</title><content type='html'>I made up the man page for GLUT (so that I can ^K to call the API manual out while the cursor is on the words symbolizing GLUT routines) by the simplest way:&lt;br /&gt;
&lt;br /&gt;
sudo yum&amp;nbsp; list &quot;*glut*&quot;&lt;br /&gt;
&lt;br /&gt;
more than a couple was found and following two are among the alternatives:&lt;br /&gt;
&lt;br /&gt;
sudo -y install freeglut freeglut-evel&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
now enter into vim again and try ^K on &quot;glutWindowSize&quot; for instance, check if it works now.&lt;div class=&quot;blogger-post-footer&quot;&gt;http://feeds.feedburner.com/SurfingTroves&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://surfingtroves.blogspot.com/feeds/5363986588835050520/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/5353799867078994058/5363986588835050520' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5353799867078994058/posts/default/5363986588835050520'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5353799867078994058/posts/default/5363986588835050520'/><link rel='alternate' type='text/html' href='http://surfingtroves.blogspot.com/2011/01/can-not-find-man-page-for-glut.html' title='Can not find man page for GLUT routines in Linux?'/><author><name>chapple.cai</name><uri>http://www.blogger.com/profile/05417712358820523031</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5353799867078994058.post-1845633020810708799</id><published>2011-01-03T16:19:00.000-08:00</published><updated>2011-01-03T16:19:52.608-08:00</updated><title type='text'>Fix bugs for Buidling installation of G3D 7.01 in Fedora 14</title><content type='html'>Today I am porting such and such a&amp;nbsp; project which is dependent on G3D and for historical reasons this project could not work with other versions of G3D including the latest ones but versions before 8.0 since it calls some of the routines in the Libraries whose prototypes had been modified!&lt;br /&gt;
&lt;br /&gt;
In conclusion, we have two bugs to fix before the G3D 7.01 library can be successfully built from the downloaded source code found at &lt;a href=&quot;http://sourceforge.net/projects/g3d/files/g3d-cpp/7.01/G3D-7.01-src.zip/download&quot;&gt;http://sourceforge.net/projects/g3d/files/g3d-cpp/7.01/G3D-7.01-src.zip/download&lt;/a&gt; in Fedora 14. I deem&amp;nbsp; the same problems and solutions&amp;nbsp; may as well be portable to other Linux distributions and various versions of specific distribution.&lt;br /&gt;
&lt;br /&gt;
1. Edit&amp;nbsp;&amp;nbsp; GLG3D.lib/include/GLG3D/Discovery2.h, add the header including definition of the macro &quot;INT_MAX&quot; which was referred at line 68 in this file, where the first problem you will run across in the first try of building using &quot;./buildg3d&amp;nbsp; all&quot; or &quot;buildg3d --install all&quot;, or so forth the similar.&lt;br /&gt;
&lt;br /&gt;
&amp;nbsp;I simply added &quot;#include &amp;lt;limits.h&amp;gt;&quot; right after &quot;#include &amp;lt;string.h&amp;gt;&quot;, actually an c++ header equivalent is &quot;climits&quot;.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
(&lt;b&gt;Where is &quot;INT_MAX&quot;, &quot;LONG_MAX&quot;, etc, defined?&lt;/b&gt;) &lt;br /&gt;
I found the container header of this macro at &lt;a href=&quot;http://www.fredosaurus.com/notes-cpp/90summaries/summary-headers.html&quot;&gt;http://www.fredosaurus.com/notes-cpp/90summaries/summary-headers.html&lt;/a&gt;, you may find it useful further in the future. &lt;br /&gt;
&lt;br /&gt;
2. In order to get a complete installation, test code should not be skipped either, so this fix is necessary:&lt;br /&gt;
&lt;br /&gt;
in tools/viewer/MD2Viewer.cpp : 108, change&lt;br /&gt;
currentPose = MD2Model::Pose::Pose(MD2Model::STAND, 0);&lt;br /&gt;
into&lt;br /&gt;
currentPose = MD2Model::Pose(MD2Model::STAND, 0);&lt;br /&gt;
&lt;br /&gt;
I am bit of wondering why there the class Pose &#39;s constructor should be called in this explicit way with this originally buggy code.&lt;br /&gt;
&lt;br /&gt;
3. now get back to the source directory (where ./buildg3d lies),&lt;br /&gt;
./buildg3d --install all&quot;&lt;br /&gt;
&lt;br /&gt;
then the library will be installed straightforwardly.&lt;div class=&quot;blogger-post-footer&quot;&gt;http://feeds.feedburner.com/SurfingTroves&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://surfingtroves.blogspot.com/feeds/1845633020810708799/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/5353799867078994058/1845633020810708799' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5353799867078994058/posts/default/1845633020810708799'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5353799867078994058/posts/default/1845633020810708799'/><link rel='alternate' type='text/html' href='http://surfingtroves.blogspot.com/2011/01/fix-bugs-for-buidling-installation-of.html' title='Fix bugs for Buidling installation of G3D 7.01 in Fedora 14'/><author><name>Surfing Troves</name><uri>http://www.blogger.com/profile/07005425779123795943</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5353799867078994058.post-4814357517675627507</id><published>2011-01-03T13:44:00.000-08:00</published><updated>2011-01-03T17:25:02.118-08:00</updated><title type='text'>A Funny Time Varying VIM color scheme switching</title><content type='html'>Vi/vim is really the most popular editor under Linux esp. for those  advanced users or Linux fans, even though there are dozen of other  featured ones including visual editors and the most worthy of  mentioning, Emacs for programming gurus.&lt;br /&gt;
&lt;br /&gt;
Here I just  got a whimsy yet actually a fortuitous idea, to make this editor of  daily use to be adaptive with current local time periods such as  morning, noon, evening and other phases of a day.&lt;br /&gt;
&lt;br /&gt;
The  snippet&amp;nbsp; meant to be placed in or tailed at the vim configuration file,  as is mostly the /etc/vimrc or $HOME/vimrc, will make the vim editor  apply different color scheme that is meaningfully in accordance with the  time of period when vim is launched. Additionally, color schemes for  other time of period than morning and evening will be changed with the  weekday.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;pre style=&quot;color: black; font-family: Georgia,&amp;quot;Times New Roman&amp;quot;,serif;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;i&gt;&quot; # intelligent colorscheme switching
let weekday=system(&#39;date +%u&#39;)
let hour=system(&#39;date +%H&#39;)

&quot; if the shell command gets any exception during execution, nothing will be&amp;nbsp;&lt;/i&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre style=&quot;color: black; font-family: Georgia,&amp;quot;Times New Roman&amp;quot;,serif;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;i&gt;&quot; done on color scheme setting
if !v:shell_error


&amp;nbsp;&amp;nbsp; &quot; in other time slots than mornings and evenings, scheme to be applied depends&amp;nbsp;&lt;/i&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre style=&quot;color: black; font-family: Georgia,&amp;quot;Times New Roman&amp;quot;,serif;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;i&gt;   &quot; on which the weekday it is today, beginning from 1 as Monday, through 6 as&amp;nbsp;&lt;/i&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre style=&quot;color: black; font-family: Georgia,&amp;quot;Times New Roman&amp;quot;,serif;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;i&gt;   &quot; Saturday and Sunday numbered as 0
&amp;nbsp;&amp;nbsp;&amp;nbsp; if&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 1== weekday
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; let coloration=&quot;elflord&quot;
&amp;nbsp;&amp;nbsp;&amp;nbsp; elseif 2 == weekday
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; let coloration=&quot;koehler&quot;
&amp;nbsp;&amp;nbsp;&amp;nbsp; elseif 3 == weekday
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; let coloration=&quot;slate&quot;
&amp;nbsp;&amp;nbsp;&amp;nbsp; elseif 4 == weekday
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; let coloration=&quot;zellner&quot;
&amp;nbsp;&amp;nbsp;&amp;nbsp; elseif 5 == weekday
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; let coloration=&quot;torte&quot;
&amp;nbsp;&amp;nbsp;&amp;nbsp; elseif 6 == weekday
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; let coloration=&quot;ron&quot;
&amp;nbsp;&amp;nbsp;&amp;nbsp; else &quot;Sundays
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; let coloration=&quot;blue&quot;
&amp;nbsp;&amp;nbsp;&amp;nbsp; endif&amp;nbsp;&lt;/i&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre style=&quot;color: black; font-family: Georgia,&amp;quot;Times New Roman&amp;quot;,serif;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;i&gt;&amp;nbsp;&lt;/i&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre style=&quot;color: black; font-family: Georgia,&amp;quot;Times New Roman&amp;quot;,serif;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;i&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &quot; exert the color scheme application
&amp;nbsp;&amp;nbsp;&amp;nbsp; execute &quot;colorscheme &quot;.coloration&amp;nbsp;&lt;/i&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre style=&quot;color: black; font-family: Georgia,&amp;quot;Times New Roman&amp;quot;,serif;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;i&gt;&amp;nbsp;&lt;/i&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre style=&quot;color: black; font-family: Georgia,&amp;quot;Times New Roman&amp;quot;,serif;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;i&gt;&lt;i&gt;    &quot; in mornings, alwasy using the &quot;morning&quot; scheme
&amp;nbsp;&amp;nbsp;&amp;nbsp; if hour &amp;gt;= 7 &amp;amp;&amp;amp; hour &amp;lt;= 10
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; let coloration=&quot;morning&quot;
&amp;nbsp;&amp;nbsp;&amp;nbsp; &quot; in evenings, alwasy using the &quot;evening&quot; scheme
&amp;nbsp;&amp;nbsp;&amp;nbsp; elseif hour &amp;gt;= 18 &amp;amp;&amp;amp; hour &amp;lt;= 23
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; let coloration=&quot;evening&quot;
&amp;nbsp;&amp;nbsp;&amp;nbsp; endif&lt;/i&gt;&lt;/i&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre style=&quot;color: black; font-family: Georgia,&amp;quot;Times New Roman&amp;quot;,serif;&quot;&gt;&lt;i&gt;&lt;i&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;i&gt;&lt;i&gt;&amp;nbsp;&lt;/i&gt;&lt;/i&gt;&lt;/span&gt;&lt;/i&gt;&lt;/i&gt;&lt;/pre&gt;&lt;pre style=&quot;color: black; font-family: Georgia,&amp;quot;Times New Roman&amp;quot;,serif;&quot;&gt;&lt;i&gt;&lt;i&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;i&gt;&lt;i&gt;endif&lt;/i&gt;&lt;/i&gt;&lt;/span&gt;&lt;/i&gt;&lt;/i&gt;&lt;/pre&gt;&lt;br /&gt;
&lt;br /&gt;
Just give it a try, you may be intrigued with use of it afterwards like me!&lt;br /&gt;
&lt;br /&gt;
-----------------------------------&lt;br /&gt;
other interesting links&lt;br /&gt;
-------------------------------------&lt;br /&gt;
&lt;br /&gt;
Full range of vim color scheme implemented in a Google code project&lt;br /&gt;
&lt;a href=&quot;http://vimcolorschemetest.googlecode.com/svn/html/index-c.html&quot;&gt;http://vimcolorschemetest.googlecode.com/svn/html/index-c.html&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
A find-tweaked color scheme for Mac:&lt;br /&gt;
&lt;a href=&quot;http://blog.toddwerth.com/entries/show/8&quot;&gt;http://blog.toddwerth.com/entries/show/8&lt;/a&gt;&lt;div class=&quot;blogger-post-footer&quot;&gt;http://feeds.feedburner.com/SurfingTroves&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://surfingtroves.blogspot.com/feeds/4814357517675627507/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/5353799867078994058/4814357517675627507' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5353799867078994058/posts/default/4814357517675627507'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5353799867078994058/posts/default/4814357517675627507'/><link rel='alternate' type='text/html' href='http://surfingtroves.blogspot.com/2011/01/clever-time-varying-vim-color-scheme.html' title='A Funny Time Varying VIM color scheme switching'/><author><name>Surfing Troves</name><uri>http://www.blogger.com/profile/07005425779123795943</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5353799867078994058.post-5863689006358007560</id><published>2011-01-01T19:24:00.000-08:00</published><updated>2011-01-04T08:14:41.386-08:00</updated><title type='text'>Install Nvidia Driver (non Gefore series) in Fedora 14</title><content type='html'>&lt;div style=&quot;font-family: Times,&amp;quot;Times New Roman&amp;quot;,serif;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;Intro:&amp;nbsp;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;font-family: Times,&amp;quot;Times New Roman&amp;quot;,serif;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;font-family: Times,&amp;quot;Times New Roman&amp;quot;,serif;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;While here places a complete guide that is already great for novices in Fedora community at &lt;a href=&quot;http://www.if-not-true-then-false.com/2010/fedora-14-nvidia-drivers-install-guide-disable-nouveau-driver/&quot;&gt;http://www.if-not-true-then-false.com/2010/fedora-14-nvidia-drivers-install-guide-disable-nouveau-driver/&lt;/a&gt;, following text will act as a complementary instruction for those who are using Nvidia Driver Card other than in the Geforce / Geforce FX series,&amp;nbsp; Quadro FX, for instance. (some parts actually are learned from the this page)&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;font-family: Times,&amp;quot;Times New Roman&amp;quot;,serif;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;font-family: Times,&amp;quot;Times New Roman&amp;quot;,serif;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;Steps:&amp;nbsp;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;font-family: Times,&amp;quot;Times New Roman&amp;quot;,serif;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;font-family: Times,&amp;quot;Times New Roman&amp;quot;,serif;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;1. update to the latest kernel and restart the OS&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;font-family: Times,&amp;quot;Times New Roman&amp;quot;,serif;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;by&lt;/span&gt;&lt;/div&gt;&lt;pre class=&quot;bash&quot; style=&quot;font-family: Times,&amp;quot;Times New Roman&amp;quot;,serif;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;yum update kernel&lt;span style=&quot;color: black; font-weight: bold;&quot;&gt;*&lt;/span&gt;
reboot&lt;/span&gt;&lt;/pre&gt;&lt;div style=&quot;font-family: Times,&amp;quot;Times New Roman&amp;quot;,serif;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;font-family: Times,&amp;quot;Times New Roman&amp;quot;,serif;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;2. make sure a correct xorg configuration, i.e. /etc/X11/xorg.conf, contains things about nvidia like the following&lt;/span&gt;&lt;/div&gt;&lt;i&gt;&lt;span style=&quot;font-family: Times,&amp;quot;Times New Roman&amp;quot;,serif; font-size: small;&quot;&gt;Section &lt;span style=&quot;color: red;&quot;&gt;&quot;Files&quot;&lt;/span&gt;&lt;/span&gt;&lt;/i&gt;&lt;br /&gt;
&lt;div class=&quot;wp_syntax&quot;&gt;&lt;div class=&quot;code&quot;&gt;&lt;pre class=&quot;bash&quot; style=&quot;font-family: Times,&amp;quot;Times New Roman&amp;quot;,serif;&quot;&gt;&lt;i&gt;&lt;span style=&quot;font-size: small;&quot;&gt;    ModulePath   &lt;span style=&quot;color: red;&quot;&gt;&quot;/usr/lib64/xorg/modules/extensions/nvidia&quot;&lt;/span&gt;
    ModulePath   &lt;span style=&quot;color: red;&quot;&gt;&quot;/usr/lib64/xorg/modules&quot;&lt;/span&gt;
EndSection&lt;/span&gt;&lt;/i&gt;&lt;/pre&gt;&lt;pre class=&quot;bash&quot; style=&quot;font-family: Times,&amp;quot;Times New Roman&amp;quot;,serif;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;
&lt;/span&gt;&lt;/pre&gt;&lt;pre class=&quot;bash&quot; style=&quot;font-family: Times,&amp;quot;Times New Roman&amp;quot;,serif;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;(If for 32bit platform, use lib instead of lib64 in the paths above)&lt;/span&gt;&lt;/pre&gt;&lt;pre class=&quot;bash&quot; style=&quot;font-family: Times,&amp;quot;Times New Roman&amp;quot;,serif;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;(If the xorg.conf file does not exist before, simply create it and add the stuff above)&lt;/span&gt;&lt;/pre&gt;&lt;pre class=&quot;bash&quot; style=&quot;font-family: Times,&amp;quot;Times New Roman&amp;quot;,serif;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;
&lt;/span&gt;&lt;/pre&gt;&lt;pre class=&quot;bash&quot; style=&quot;font-family: Times,&amp;quot;Times New Roman&amp;quot;,serif;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;3. Change Configuration of the Grub Bootloader by changing the current /boot/grub/grub.conf into text&amp;nbsp;&lt;/span&gt;&lt;/pre&gt;&lt;pre class=&quot;bash&quot; style=&quot;font-family: Times,&amp;quot;Times New Roman&amp;quot;,serif;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;like the following &lt;/span&gt;&lt;/pre&gt;&lt;pre class=&quot;bash&quot; style=&quot;font-family: Times,&amp;quot;Times New Roman&amp;quot;,serif;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;
&lt;/span&gt;&lt;/pre&gt;&lt;pre class=&quot;bash&quot; style=&quot;font-family: Times,&amp;quot;Times New Roman&amp;quot;,serif;&quot;&gt;&lt;i&gt;&lt;span style=&quot;font-size: small;&quot;&gt;default=0
timeout=5
splashimage=(hd0,0)/boot/grub/splash.xpm.gz&amp;nbsp;&lt;/span&gt;&lt;/i&gt;&lt;/pre&gt;&lt;pre class=&quot;bash&quot; style=&quot;font-family: Times,&amp;quot;Times New Roman&amp;quot;,serif;&quot;&gt;&lt;i&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/i&gt;&lt;/pre&gt;&lt;pre class=&quot;bash&quot; style=&quot;font-family: Times,&amp;quot;Times New Roman&amp;quot;,serif;&quot;&gt;&lt;i&gt;&lt;span style=&quot;font-size: small;&quot;&gt;hiddenmenu&amp;nbsp;&lt;/span&gt;&lt;/i&gt;&lt;/pre&gt;&lt;pre class=&quot;bash&quot; style=&quot;font-family: Times,&amp;quot;Times New Roman&amp;quot;,serif;&quot;&gt;&lt;i&gt;&lt;span style=&quot;font-size: small;&quot;&gt;title Fedora (2.6.35.10-74.fc14.x86_64)
 root (hd0,0)
 kernel /boot/vmlinuz-2.6.35.10-74.fc14.x86_64 ro root=UUID=e36dbe41-49ac-458f-8942-ba3fbdd22e32&lt;/span&gt;&lt;/i&gt;&lt;/pre&gt;&lt;pre class=&quot;bash&quot; style=&quot;font-family: Times,&amp;quot;Times New Roman&amp;quot;,serif;&quot;&gt;&lt;i&gt;&lt;span style=&quot;font-size: small;&quot;&gt; rd_NO_LUKS rd_NO_LVM rd_NO_MD rd_NO_DM LANG=en_US.UTF-8 SYSFONT=latarcyrheb-sun16&amp;nbsp;&lt;/span&gt;&lt;/i&gt;&lt;/pre&gt;&lt;pre class=&quot;bash&quot; style=&quot;font-family: Times,&amp;quot;Times New Roman&amp;quot;,serif;&quot;&gt;&lt;i&gt;&lt;span style=&quot;font-size: small;&quot;&gt;KEYTABLE=us rhgb quiet &lt;span style=&quot;color: blue;&quot;&gt;rdblacklist=nouveau nouveau.modeset=0&lt;/span&gt;
 initrd /boot/initramfs-2.6.35.10-74.fc14.x86_64.img&amp;nbsp;&lt;/span&gt;&lt;/i&gt;&lt;/pre&gt;&lt;pre class=&quot;bash&quot; style=&quot;font-family: Times,&amp;quot;Times New Roman&amp;quot;,serif;&quot;&gt;&lt;i&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/i&gt;&lt;/pre&gt;&lt;pre class=&quot;bash&quot; style=&quot;font-family: Times,&amp;quot;Times New Roman&amp;quot;,serif;&quot;&gt;&lt;i&gt;&lt;span style=&quot;font-size: small;&quot;&gt;title Fedora Linux 14 (2.6.35.6-45.fc14.x86_64)
 root (hd0,0)
 kernel /boot/vmlinuz-2.6.35.6-45.fc14.x86_64 ro root=UUID=e36dbe41-49ac-458f-8942-ba3fbdd22e32&amp;nbsp;&lt;/span&gt;&lt;/i&gt;&lt;/pre&gt;&lt;pre class=&quot;bash&quot; style=&quot;font-family: Times,&amp;quot;Times New Roman&amp;quot;,serif;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;i&gt;rd_NO_LUKS rd_NO_LVM rd_NO_MD rd_NO_DM LANG=en_US.UTF-8 SYSFONT=latarcyrheb-sun16&lt;/i&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre class=&quot;bash&quot; style=&quot;font-family: Times,&amp;quot;Times New Roman&amp;quot;,serif;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;i&gt; KEYTABLE=us rhgb quiet
 initrd /boot/initramfs-2.6.35.6-45.fc14.x86_64.img&amp;nbsp;&lt;/i&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre class=&quot;bash&quot; style=&quot;font-family: Times,&amp;quot;Times New Roman&amp;quot;,serif;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;i&gt;&amp;nbsp;&lt;/i&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre class=&quot;bash&quot; style=&quot;font-family: Times,&amp;quot;Times New Roman&amp;quot;,serif;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;i&gt;title windows 7
 rootnoverify (hd0,3)
 chainloader +1&lt;/i&gt;
&lt;/span&gt;&lt;/pre&gt;&lt;pre class=&quot;bash&quot; style=&quot;font-family: Times,&amp;quot;Times New Roman&amp;quot;,serif;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;
&lt;/span&gt;&lt;/pre&gt;&lt;pre class=&quot;bash&quot; style=&quot;font-family: Times,&amp;quot;Times New Roman&amp;quot;,serif;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;the key is the blued text, which is added to disable the default display driver : nouveau. If this is&amp;nbsp;&lt;/span&gt;&lt;/pre&gt;&lt;pre class=&quot;bash&quot; style=&quot;font-family: Times,&amp;quot;Times New Roman&amp;quot;,serif;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;missed, you will be told in the step 4 below that the installer can not proceed due to the nouveau is not&lt;/span&gt;&lt;/pre&gt;&lt;pre class=&quot;bash&quot; style=&quot;font-family: Times,&amp;quot;Times New Roman&amp;quot;,serif;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;disabled.&lt;/span&gt;&lt;/pre&gt;&lt;pre class=&quot;bash&quot; style=&quot;font-family: Times,&amp;quot;Times New Roman&amp;quot;,serif;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;
&lt;/span&gt;&lt;/pre&gt;&lt;pre class=&quot;bash&quot; style=&quot;font-family: Times,&amp;quot;Times New Roman&amp;quot;,serif;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;4. download driver from Nvidia official site, for linux x86_64 we are using&amp;nbsp;&lt;/span&gt;&lt;/pre&gt;&lt;pre class=&quot;bash&quot; style=&quot;font-family: Times,&amp;quot;Times New Roman&amp;quot;,serif;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;a href=&quot;http://us.download.nvidia.com/XFree86/Linux-x86_64/260.19.29/NVIDIA-Linux-x86_64-260.19.29.run&quot;&gt;http://us.download.nvidia.com/XFree86/Linux-x86_64/260.19.29/NVIDIA-Linux-x86_64-260.19.29.run&lt;/a&gt;&amp;nbsp;&lt;/span&gt;&lt;/pre&gt;&lt;pre class=&quot;bash&quot; style=&quot;font-family: Times,&amp;quot;Times New Roman&amp;quot;,serif;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;for now, wget it to a handy location, /root, say.&lt;/span&gt;&lt;/pre&gt;&lt;pre class=&quot;bash&quot; style=&quot;font-family: Times,&amp;quot;Times New Roman&amp;quot;,serif;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;
&lt;/span&gt;&lt;/pre&gt;&lt;pre class=&quot;bash&quot; style=&quot;font-family: Times,&amp;quot;Times New Roman&amp;quot;,serif;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;5. reboot,  then select the latest kernel item, and&lt;/span&gt;&lt;/pre&gt;&lt;pre class=&quot;bash&quot; style=&quot;font-family: Times,&amp;quot;Times New Roman&amp;quot;,serif;&quot;&gt;&lt;i&gt;&lt;span style=&quot;font-size: small;&quot;&gt; press &quot;e&quot; to edit it&lt;/span&gt;&lt;/i&gt;&lt;/pre&gt;&lt;pre class=&quot;bash&quot; style=&quot;font-family: Times,&amp;quot;Times New Roman&amp;quot;,serif;&quot;&gt;&lt;i&gt;&lt;span style=&quot;font-size: small;&quot;&gt; choose the &quot;kernel /boot/vmlinuz-2.6.35.10-7....&quot; line and press &quot;e&quot; to edit again&lt;/span&gt;&lt;/i&gt;&lt;/pre&gt;&lt;pre class=&quot;bash&quot; style=&quot;font-family: Times,&amp;quot;Times New Roman&amp;quot;,serif;&quot;&gt;&lt;i&gt;&lt;span style=&quot;font-size: small;&quot;&gt; append &quot;single&quot; to the line and press enter to get back to the previous interface&lt;/span&gt;&lt;/i&gt;&lt;/pre&gt;&lt;pre class=&quot;bash&quot; style=&quot;font-family: Times,&amp;quot;Times New Roman&amp;quot;,serif;&quot;&gt;&lt;i&gt;&lt;span style=&quot;font-size: small;&quot;&gt; press &quot;b&quot; to trigger the bootstrap&lt;/span&gt;&lt;/i&gt;&lt;/pre&gt;&lt;pre class=&quot;bash&quot; style=&quot;font-family: Times,&amp;quot;Times New Roman&amp;quot;,serif;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/pre&gt;&lt;pre class=&quot;bash&quot; style=&quot;font-family: Times,&amp;quot;Times New Roman&amp;quot;,serif;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;6. now that get in the Level 1 (single user mode), enter Level 3 (I did not check if this is necessary)&lt;/span&gt;&lt;/pre&gt;&lt;pre class=&quot;bash&quot; style=&quot;font-family: Times,&amp;quot;Times New Roman&amp;quot;,serif;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;by&lt;i&gt; &quot;/sbin/init 3&quot;&lt;/i&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre class=&quot;bash&quot; style=&quot;font-family: Times,&amp;quot;Times New Roman&amp;quot;,serif;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/pre&gt;&lt;pre class=&quot;bash&quot; style=&quot;font-family: Times,&amp;quot;Times New Roman&amp;quot;,serif;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;7. Run the installer&lt;/span&gt;&lt;/pre&gt;&lt;pre class=&quot;bash&quot; style=&quot;font-family: Times,&amp;quot;Times New Roman&amp;quot;,serif;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt; &lt;i&gt;sh /root/NVIDIA-Linux-x86_64-260.19.29.run -a&lt;/i&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre class=&quot;bash&quot; style=&quot;font-family: Times,&amp;quot;Times New Roman&amp;quot;,serif;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;i&gt;&amp;nbsp;&lt;/i&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre class=&quot;bash&quot; style=&quot;font-family: Times,&amp;quot;Times New Roman&amp;quot;,serif;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;(if you are installing for the first time, you might already nvidia-installer on you machine,&lt;/span&gt;&lt;/pre&gt;&lt;pre class=&quot;bash&quot; style=&quot;font-family: Times,&amp;quot;Times New Roman&amp;quot;,serif;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;then you don&#39;t need to download beforehand, instead a simpler way is :&lt;/span&gt;&lt;/pre&gt;&lt;pre class=&quot;bash&quot; style=&quot;font-family: Times,&amp;quot;Times New Roman&amp;quot;,serif;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/pre&gt;&lt;pre class=&quot;bash&quot; style=&quot;font-family: Times,&amp;quot;Times New Roman&amp;quot;,serif;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;i&gt;nvidia-install -a --update  &lt;/i&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre class=&quot;bash&quot; style=&quot;font-family: Times,&amp;quot;Times New Roman&amp;quot;,serif;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/pre&gt;&lt;pre class=&quot;bash&quot; style=&quot;font-family: Times,&amp;quot;Times New Roman&amp;quot;,serif;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;you can by this get the latest driver and install it. but this will demand a network access&lt;/span&gt;&lt;/pre&gt;&lt;pre class=&quot;bash&quot; style=&quot;font-family: Times,&amp;quot;Times New Roman&amp;quot;,serif;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;of course, see this page (&lt;a href=&quot;http://www.blogger.com/goog_249665570&quot;&gt;http://surfingtroves.blogspot.com/2010/12/linux-access-network&lt;/a&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre class=&quot;bash&quot; style=&quot;font-family: Times,&amp;quot;Times New Roman&amp;quot;,serif;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;a href=&quot;http://-service-in-single.html/&quot;&gt;-service-in-single.html&lt;/a&gt; ) for enabling network access in the single user mode, as is suitable&lt;/span&gt;&lt;/pre&gt;&lt;pre class=&quot;bash&quot; style=&quot;font-family: Times,&amp;quot;Times New Roman&amp;quot;,serif;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;for being at Level 3. &lt;/span&gt;&lt;/pre&gt;&lt;pre class=&quot;bash&quot; style=&quot;font-family: Times,&amp;quot;Times New Roman&amp;quot;,serif;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/pre&gt;&lt;pre class=&quot;bash&quot; style=&quot;font-family: Times,&amp;quot;Times New Roman&amp;quot;,serif;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;8. when finished, restart, and the installation should be well done.&lt;/span&gt;&lt;/pre&gt;&lt;pre class=&quot;bash&quot; style=&quot;font-family: Times,&amp;quot;Times New Roman&amp;quot;,serif;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;
&lt;/span&gt;&lt;/pre&gt;&lt;pre class=&quot;bash&quot; style=&quot;font-family: Times,&amp;quot;Times New Roman&amp;quot;,serif;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;
&lt;/span&gt;&lt;/pre&gt;&lt;pre class=&quot;bash&quot; style=&quot;font-family: monospace;&quot;&gt;&lt;/pre&gt;&lt;pre class=&quot;bash&quot; style=&quot;font-family: monospace;&quot;&gt;&lt;/pre&gt;&lt;pre class=&quot;bash&quot; style=&quot;font-family: monospace;&quot;&gt;&lt;/pre&gt;&lt;/div&gt;&lt;/div&gt;&lt;div class=&quot;blogger-post-footer&quot;&gt;http://feeds.feedburner.com/SurfingTroves&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://surfingtroves.blogspot.com/feeds/5863689006358007560/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/5353799867078994058/5863689006358007560' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5353799867078994058/posts/default/5863689006358007560'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5353799867078994058/posts/default/5863689006358007560'/><link rel='alternate' type='text/html' href='http://surfingtroves.blogspot.com/2011/01/install-nvidia-driver-non-gefore-series.html' title='Install Nvidia Driver (non Gefore series) in Fedora 14'/><author><name>Surfing Troves</name><uri>http://www.blogger.com/profile/07005425779123795943</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry></feed>