tag:blogger.com,1999:blog-53537998670789940582024-03-09T02:14:27.240-08:00Surfing TrovesSurfing Troveshttp://www.blogger.com/profile/07005425779123795943noreply@blogger.comBlogger53125tag:blogger.com,1999:blog-5353799867078994058.post-9353626827346829312014-08-08T17:25:00.001-07:002014-08-08T17:27:11.139-07:00WinEdit: Cannot Jump from PDF to LaTex source?<div dir="ltr" style="text-align: left;" trbidi="on">
<div>
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. </div>
<div>
<br /></div>
<div>
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. </div>
<div>
<br /></div>
<div>
Regardless of how other online posts complicated this solution, here is the quick steps:</div>
<div>
<script async src="//pagead2.googlesyndication.com/pagead/js/adsbygoogle.js"></script>
<!-- surfingtroves_main_Blog1_468x60_as -->
<ins class="adsbygoogle"
style="display:inline-block;width:468px;height:60px"
data-ad-client="ca-pub-0648395428705476"
data-ad-slot="5101568019"></ins>
<script>
(adsbygoogle = window.adsbygoogle || []).push({});
</script>
<br /></div>
<div>
1. <a href="http://blog.kowalczyk.info/software/sumatrapdf/download-free-pdf-viewer.html">Download Sumatra PDF reader</a> and install it (to avoid unnecessary trouble, just install it to the default folder, for instance 'C:\Program Files (x86)").</div>
<div>
<br /></div>
<div>
2. Open your WinEdit and get into 'Options' (from the main menu) -> 'Execution Modes'</div>
<div>
<br /></div>
<div>
3. In 'PDF Viewer' tab, set Sumatra PDF reader (the executable SumatraPDF.exe) as the 'PDF Viewer Executable'; leave 'Use --synctex switch when --src is enabled' unchecked; fill '--synctex=1' in SyncTex switch box</div>
<div>
<br /></div>
<div>
4. Move to the 'Console Applications' tab, choose 'PDFTexify' in the navigation menu on the left-hand side, fill '--pdf --tex-option=--synctex=-1' in the 'Switches' box.</div>
<div>
<br /></div>
<div>
5. Ctrl+Shift+'P' (or choose 'PDFTexify' from the 'Tex'->'PDF' menu items) to build your PDF; save settings and get back to your editing environment.</div>
<div>
<br /></div>
<div>
6. Now try to double click a line in the PDF, the beautiful functionality should play like a charm!</div>
<div>
<br /></div>
<div>
<br /></div>
</div><div class="blogger-post-footer">http://feeds.feedburner.com/SurfingTroves</div>chapple.caihttp://www.blogger.com/profile/05417712358820523031noreply@blogger.com6tag:blogger.com,1999:blog-5353799867078994058.post-60540822692321109552014-08-08T15:04:00.001-07:002014-08-08T16:20:08.923-07:00Solve PDF font-embedding really quick<div dir="ltr" style="text-align: left;" trbidi="on">
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.<br />
<div>
<br /></div>
<div>
This is the most straightforward recipe:</div>
<div>
<script async src="//pagead2.googlesyndication.com/pagead/js/adsbygoogle.js"></script>
<!-- surfingtroves_main_Blog1_468x60_as -->
<ins class="adsbygoogle"
style="display:inline-block;width:468px;height:60px"
data-ad-client="ca-pub-0648395428705476"
data-ad-slot="5101568019"></ins>
<script>
(adsbygoogle = window.adsbygoogle || []).push({});
</script>
<br /></div>
<div>
1. Open you problematic PDF in any application that provides a capability of printing (such as Acrobat Reader or Acrobat Pro).</div>
<div>
<br /></div>
<div>
2. Go to 'print' page and choose 'Acrobat PDF' as the printer.</div>
<div>
<br /></div>
<div>
3. Get into "properties" of the printer.</div>
<div>
<br /></div>
<div>
4. In the 'Adobe PDF Setting' tab, get into 'edit' next to the 'Default Settings' item.</div>
<div>
<br /></div>
<div>
5. Get into 'Fonts' from the navigation menu. </div>
<div>
<br /></div>
<div>
6. Choose the 'Embed all fonts' checkbox. </div>
<div>
<br /></div>
<div>
7. Select 'All' items in the 'Never Embed' listbox and Remove all of them.</div>
<div>
<br /></div>
<div>
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 'print' page. </div>
<div>
<br /></div>
<div>
9. Print your PDF into another PDF, where all fonts are now embedded.</div>
<div>
<br /></div>
<div>
10. Problem should be solved already. </div>
<div>
<br /></div>
<div>
* To check if all fonts have been embedded: </div>
<div>
In Acrobat Reader/Pro, go to 'properties' from the 'File' menu, look into the 'Font' tab, </div>
<div>
for each successfully embedded font, there should be something like '(Embedded subset)'. </div>
</div><div class="blogger-post-footer">http://feeds.feedburner.com/SurfingTroves</div>chapple.caihttp://www.blogger.com/profile/05417712358820523031noreply@blogger.com6tag:blogger.com,1999:blog-5353799867078994058.post-74679756146033538642014-04-04T13:36:00.006-07:002014-08-08T16:24:09.962-07:00Passing reference by value in JavaHaving been sticking to C/C++ for a decade, I know relatively clearly about the notion of "passing by value" and "passing by reference/address", and the memory models behind them. Embarrassingly, however, it is just a recent clarification that "passing reference by value", 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.<br />
<br />
Without re-spinning the explanation, I just simply summarize toward the gist about this topic, using the information in courtesy of <i>Dale King</i>, by posting the core question and the thorough answer to it.<br />
<br />
<script type="text/javascript"><!--
google_ad_client = "ca-pub-0648395428705476";
/* SurfingTrovesPostBodyAd */
google_ad_slot = "6578301219";
google_ad_width = 320;
google_ad_height = 50;
//-->
</script>
<script type="text/javascript"
src="//pagead2.googlesyndication.com/pagead/show_ads.js">
</script>
<br />
<span style="color: blue;">Does Java pass objects by reference or by value? </span><br />
<br />
The answer is <b>NO</b>! (that is, Java neither passes objects by reference nor does that by value!)<br />
<br />
The fact is that <u>Java has no facility whatsoever
to pass an object to any function</u>, and the reason is that <u>Java has no
variables that contain objects</u>.<br />
<br />
It is common to confound the concept of <i>an object reference variable</i> with that of <i>an object
instance</i>, but all object instances in Java are allocated on the heap and
can only be accessed through object references.<br />
<br />
So if I have the
following assignment:<br />
<br />
<pre>String g = new String( "Hello" );</pre>
<pre></pre>
<pre> </pre>
The variable g does not contain the string "Hello", it contains a reference (or pointer) to an object instance that contains the string "Hello". <br /><br /> Java only has variables that hold primitives or
object references. Both are passed by value. Now, it comes naturally that Java does <b>pass</b> (object's) <b>reference by value</b>. if the parameter being passes is an object (rather than a primitive type of value).<br />
<br /><div class="blogger-post-footer">http://feeds.feedburner.com/SurfingTroves</div>Surfing Troveshttp://www.blogger.com/profile/07005425779123795943noreply@blogger.com0tag:blogger.com,1999:blog-5353799867078994058.post-74047951260276334162012-11-26T20:47:00.001-08:002012-11-27T19:30:52.802-08:00Building and Extending VirtualBox Source Code in Fedora Linux 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.<br />
<br />
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 "installer" 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.<br />
<br />
Now go ahead building the source package in the first place. No exhaustive details, <u><b>just critical steps to work around traps and annoying errors you might have got stuck on</b></u>, 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 "<a href="https://www.virtualbox.org/wiki/Linux%20build%20instructions">Linux build instructions</a>" in there.<br />
<br />
1. failure in getting through the first-step "./configure". Here are the cures:<br />
<br />
<ul>
<li>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. Instead, just install it using the installer <a href="http://openwatcom.mirrors.pair.com/open-watcom-c-linux-1.9">found here</a> to save yourself!</li>
<li>for "LIBIDL"'s missing, sudo yum -y install LIBIDL-pluginbase-devel (the name might not be exactly as this, correct it as needed)</li>
<li>for Qt4, compiling the source code rather than just installing the executables to install. Using the opensource-everywhere source package (<a href="http://releases.qt-project.org/qt4/source/qt-everywhere-opensource-src-4.8.3.tar.gz">found here</a>) is recommended.</li>
<li>* this may take long, be patient and after it is finished, add the directory holding the "qmake" executable to the environment variable "PATH" and make it take effect before doing "./configure" again.</li>
<li>for PulseAudio, use the disable flag corresponding to it as an option to the "./configure" launch.</li>
<li>upon failure to find "lstdc++", "whereis libstdc++.a" and then copy it from where you found it to the standard place "/usr/lib64"</li>
<li>For missing headers for "32-bit support", using "--nonfatal" option provided with the "./configure" itself. By doing this, we simply ignore, and hence sacrifice, the support of 32-bit additions by the VirtualBox</li>
<li>* For other errors, put it into the comment area of this post. I will try to help with them.</li>
</ul>
<br />
2. failure in getting through the "make" step (actually "kmk" instead of "make", a KBuild variant of the GNU make). Here are the other cures:<br />
<br />
<ul>
<li>for the repulsive error like "<u><i>spec failure: g++: invalid/unrecognized option "-m"</i></u>", do "kmk -ik" anyway but keeping the error log by appending " 2>errors 1>&2" to it</li>
<li>grep "g++: " errors > makeup.sh and then replace all "g++" with "g++34" (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). </li>
<li>do the brute-force "complete" compilation by "kmk -bBik all"</li>
<li>And, now run "sh makeup.sh". If things are done, you should be able to locate the "VirtualBox" executable under the $installDir/linux.x86/release/bin directory, run it and enjoy your success. </li>
<li>Otherwise, you will need go back to the "errors" file to find other failures in issues other than the "invalid -m options with g++", for example some compilation errors in your own hacking code.</li>
</ul>
<div>
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:</div>
<div>
<br /></div>
<div>
<ul>
<li>for messages complaining about "can not load vbox driver" or something like that when you are trying to start a virtual machine, get back to your terminal and do "sudo modprobe vboxdrv". If this does not do the trick, using insmod directly by "sudo insmod $path/vboxdrv" where "$path" indicates where the vboxdrv.ko file is located. You can get the path by "find -name" or "locate" followed by "vboxdrv.ko"; Alternatively, you can simply do "sudo kmk load" under the top source code directory to get this step done as well.</li>
<li>for complaints like "driver is not accesible", which may pop up at the time of starting a VM too, do "sudo chmod a+rwx /dev/vboxdrv" - by default, the vbox driver should have been placed in /dev/</li>
</ul>
</div>
<div>
<br /></div>
<div>
<br /></div>
<div style="text-align: center;">
<a href="http://gan.doubleclick.net/gan_click?lid=41000613802464048&pid=22375289&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&usg=AFHzDLvpKfJ0Ae_2MgYHfeAcg3MhHkCgAQ&pubid=600927" rel="nofollow">Brother HL-2270DW Laser Printer (Google Affiliate Ad)</a></div>
-----<div class="blogger-post-footer">http://feeds.feedburner.com/SurfingTroves</div>chapple.caihttp://www.blogger.com/profile/05417712358820523031noreply@blogger.com266tag:blogger.com,1999:blog-5353799867078994058.post-87972963570212191162012-11-26T09:41:00.001-08:002012-11-26T19:55:54.705-08:00Hacking Bluetooth Modules in Fedora 17 Linux<span style="font-family: Georgia, Times New Roman, serif;">Having figured out how to successfully build the original source package of the Bluetooth modules downloaded online (see my <a href="http://surfingtroves.blogspot.com/2012/11/build-bluetooth-kernel-module-in-fedora.html">older post on how to build</a>), 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).</span><br />
<span style="font-family: Georgia, Times New Roman, serif;"><br /></span>
<span style="font-family: Georgia, Times New Roman, serif;">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 <a href="http://surfingtroves.blogspot.com/2012/11/build-bluetooth-kernel-module-in-fedora.html">older post on how to build</a>, 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 "sudo" the execution of the common sequence of "./configure" -> "make" -> "make install" if you are not logged in as the root directly.</span><br />
<span style="font-family: Georgia, Times New Roman, serif;"><br /></span>
<span style="font-family: Georgia, Times New Roman, serif;">Now following things to be followed, no big deal, just the below listed,</span><br />
<span style="font-family: Georgia, Times New Roman, serif;"><br /></span>
<span style="font-family: Georgia, Times New Roman, serif;">1. Having successfully built the kernel modules should have given you a group of module binaries (.ko files) that has been moved ("installed") to the directory of "/lib/modules/`uname -r`/updates" by default, where subdirectories include the following together with example, but not all, enclosed files :</span><br />
<b><span style="font-family: Georgia, Times New Roman, serif;">driver[/btusb.ko], net[/bluetooth/{rfcomm.ko, bnep.ko}], and net/[bluetooth.ko]. </span></b><br />
<span style="font-family: Georgia, Times New Roman, serif;"><br /></span>
<span style="font-family: Georgia, Times New Roman, serif;">* 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 <a href="http://surfingtroves.blogspot.com/2012/11/build-bluetooth-kernel-module-in-fedora.html">older post on how to build</a>:</span><br />
<span style="font-family: Georgia, Times New Roman, serif;">under the top source directory, do</span><br />
<b><span style="font-family: Georgia, Times New Roman, serif;">"make clean" -> "scripts/selectdriver bt" -> "make install-modules"</span></b><br />
<span style="font-family: Georgia, Times New Roman, serif;"><br /></span>
<span style="font-family: Georgia, Times New Roman, serif;">2. before you can "mount" the newly built kernel module for bluetooth above, make sure you "dismount" the currently mounted one as the system has done while booting the kernel by default. Do these:</span><br />
<b><span style="font-family: Georgia, Times New Roman, serif;">"killall -9 bluetoothd" -> "sudo modprobe -r bnep" -> "sudo modprobe -r rfcomm" -> "sudo modprobe -r btusb" -> "sudo modprobe -r bluetooth". An alternative to "modprobe -r" could be "rmmod".</span></b><br />
<span style="font-family: Georgia, Times New Roman, serif;"><br /></span>
<span style="font-family: Georgia, Times New Roman, serif;">* note if the bluetoothd (see below for more about it) is still running, you will get "cannot remove module xxx, xxx is busy/in use" when you are doing the aforementioned "dismounting" steps.</span><br />
<span style="font-family: Georgia, Times New Roman, serif;"><br /></span>
<span style="font-family: Georgia, Times New Roman, serif;">* note that the btusb.ko module is directly associated with the "bluetooth icon" 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.</span><br />
<span style="font-family: Georgia, Times New Roman, serif;"><br /></span>
<span style="font-family: Georgia, Times New Roman, serif;">* If you still had trouble removing them, play the trump now:</span><br />
<b><span style="font-family: Georgia, Times New Roman, serif;">"sudo init 3" -> "log in a root" -> "do the same series of modprobe -r"</span></b><br />
<span style="font-family: Georgia, Times New Roman, serif;"><br /></span>
<span style="font-family: Georgia, Times New Roman, serif;">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 "./configure" before. Check the installation directory for such subdirectories as that includes the following together with example, but not all, enclosed files :</span><br />
<b><span style="font-family: Georgia, Times New Roman, serif;">bin[/hcitools], sbin[/bluetoothd], ....</span></b><br />
<span style="font-family: Georgia, Times New Roman, serif;"><br /></span>
<span style="font-family: Georgia, Times New Roman, serif;">Here we actually are concerned about the bluetooth daemon server <b>bluetoothd</b> only, as is to be running in the user space to bridge the bluetooth applications and the underlying bluetooth kernel modules.</span><br />
<span style="font-family: Georgia, Times New Roman, serif;"><br /></span>
<span style="font-family: Georgia, Times New Roman, serif;">4. Now start mounting your own hacked modules and make them effect by following steps:</span><br />
<span style="font-family: Georgia, Times New Roman, serif;"><br /></span>
<ol>
<li><b><span style="font-family: Georgia, Times New Roman, serif;">"sudo mv /sbin/bluetoothd /sbin/bluetoothd.org" (just back up the original one in any way you prefer)</span></b></li>
<li><b><span style="font-family: Georgia, Times New Roman, serif;">"sudo cp $installDir/sbin/bluetoothd /sbin/" (this is critical, directly running this daemon from the $installDir", at least when the "installDir" is not the one taken as default, has fallen to failure for me)</span></b></li>
<li><b><span style="font-family: Georgia, Times New Roman, serif;">"sudo /sbin/bluetoothd [-n] [-d]"</span></b></li>
<li><b><span style="font-family: Georgia, Times New Roman, serif;">"sudo modprobe bluetooth,bnep,rfcomm,btusb"</span></b></li>
</ol>
<span style="font-family: Georgia, Times New Roman, serif;"><br /></span>
<span style="font-family: Georgia, Times New Roman, serif;"><br /></span>
<span style="font-family: Georgia, Times New Roman, serif;">Now you should have been working with your hacked bluetooth modules.</span><br />
<span style="font-family: Georgia, Times New Roman, serif;"><br /></span>
<span style="font-family: Georgia, Times New Roman, serif;">* using "-n" 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 "-d" to the command line can provide you even more details of the internal dynamics of the user space code.</span><br />
<span style="font-family: Georgia, Times New Roman, serif;"><br /></span>
<span style="font-family: Georgia, Times New Roman, serif;">* "dmesg -T | grep "bluetooth" can give you running logs of the kernel module, about their being loaded and run.</span><br />
<span style="font-family: Georgia, Times New Roman, serif;"><br /></span>
<span style="font-family: Georgia, Times New Roman, serif;">Enjoy hacking!</span><br />
<span style="font-family: Georgia, Times New Roman, serif;"><br /></span>
<a href="http://gan.doubleclick.net/gan_click?lid=41000613802463973&pid=sku3914713&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&usg=AFHzDLvruEu1YlbUR_aptNCF4q_J75g2Gg&pubid=600927" rel="nofollow"><span style="font-family: Georgia, Times New Roman, serif;">Nikon D5100 16.2MP Digital SLR Camera with AF-S DX Nikkor 18-55mm f/3. (Google Affiliate Ad)</span></a><br />
<br /><div class="blogger-post-footer">http://feeds.feedburner.com/SurfingTroves</div>chapple.caihttp://www.blogger.com/profile/05417712358820523031noreply@blogger.com2tag:blogger.com,1999:blog-5353799867078994058.post-85650304852215797042012-11-19T18:32:00.003-08:002012-11-26T20:35:36.451-08:00Build Bluetooth Kernel Module in Fedora LinuxPrelude:<br />
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.<br />
<br />
<div style="font-family: Georgia,"Times New Roman",serif;">
<span style="font-size: large;">Download Linux Bluetooth kernel module source code</span></div>
<div style="font-family: Georgia,"Times New Roman",serif;">
<span style="font-size: large;"><br /></span></div>
<div style="font-family: Georgia,"Times New Roman",serif;">
<span style="font-size: large;">Can not compile Linux Bluetooth kernel module</span></div>
<div style="font-family: Georgia,"Times New Roman",serif;">
</div>
<span style="font-size: large;"><span style="font-family: Georgia,"Times New Roman",serif;">/sbin/modprobe: invalid option -- 'l'</span></span><br />
<br />
<br />
========================== Start =====================================<br />
<br />
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.<br />
<br />
NOTE: this post is not about playing with the <a href="http://www.kernel.org/pub/linux/bluetooth/bluez-4.101.tar.gz">user space code</a> that you may find on the bluez.org official site http://www.bluez.org/download/<br />
<br />
<b>1. download kernel code for the bluetooth module</b><br />
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<br />
<br />
<a href="https://gforge.ti.com/gf/download/frsrelease/802/5435/ti-compat-bluetooth-2012-02-20.tar.gz">https://gforge.ti.com/gf/download/frsrelease/802/5435/ti-compat-bluetooth-2012-02-20.tar.gz</a><br />
<br />
2. now once your followed the steps indicated on <a href="http://processors.wiki.ti.com/index.php/Open_source_Wireless_Connectivity_Bluetooth_components#Bluetooth_Modules">http://processors.wiki.ti.com/index.php/Open_source_Wireless_Connectivity_Bluetooth_components#Bluetooth_Modules</a>, you will probably get stuck by the compilation with<br />
<pre> </pre>
<pre>make KLIB_BUILD=<Path To Linux> KLIB=${ROOTFS} install-modules</pre>
<br />
(Equivalence of it is to run "make bt" under the top source code directory.)<br />
<br />
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 (<a href="http://processors.wiki.ti.com/images/8/8e/Compat-patch-zip.zip">http://processors.wiki.ti.com/images/8/8e/Compat-patch-zip.zip</a>) , the only cure I had got that really was efficacious is to<b> apply the following patch instead</b> (thanks to the guy who posted it)<br />
<a href="http://marc.info/?l=linux-wireless&m=132760196131230&w=2">http://marc.info/?l=linux-wireless&m=132760196131230&w=2</a> (in case this link may be expired or moved away, I have pasted below)<br />
<br />
<pre>This file was introduced in commit 2a11c8ea20bf850b3a2c60db8c2e7497d28aba99
and included in 3.1 and later kernels. It includes <generated/autoconf.h>
itself, as well as some other definitions that are used elsewhere.
Signed-off-by: John W. Linville <linville@tuxdriver.com>
---
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 <linux/version.h>
-#if (LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,33))
+#if (LINUX_VERSION_CODE >= KERNEL_VERSION(3,1,0))
+#include <linux/kconfig.h>
+#elif (LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,33))
#include <generated/autoconf.h>
#else
#include <linux/autoconf.h>
--
1.7.4.4</pre>
<br />
(Copy it into a file named newpatch, say, and then apply it by "patch -p1 newpatch")<br />
<br />
Thereafter, you should be able to get through "make bt" successfully".<br />
<br />
3. However, when you get to "make btinstall" or later "make btuninstall" to toy around the Bluetooth loading or unloading, you can get more annoying warnings like:<br />
<pre> </pre>
<pre>/sbin/modprobe: invalid option -- 'l'</pre>
<pre></pre>
It seems not critical but will block the normal process of "installation" from being complete hence unsuccessfully installation of the new Bluetooth module you just made.<br />
<br />
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), <b>use the following trick</b><br />
(this is came up with on the basis of what was earlier posted by <b>Artem Chekunov </b>on <a href="http://comments.gmane.org/gmane.linux.kernel.wireless.general/87040">http://comments.gmane.org/gmane.linux.kernel.wireless.general/87040</a>)<br />
<br />
<pre>touch /sbin/modprobe.sh</pre>
<pre>and then put the following into it and save.</pre>
<pre>--------------------------------------------------------------------------</pre>
<pre>#!/bin/bash
if [[ $1 == -l ]]
then
if [ -z $2 ]
then</pre>
<pre> find /lib<i>/modules/</i>$(uname -r) -name '*.ko' | \</pre>
<pre> sed -e "s#\/lib\/modules\/$(uname -r)\/##g"
else </pre>
<pre> find /lib<i>/modules/</i>$(uname -r) -name '*.ko' | \ </pre>
<pre> sed -e "s#\/lib\/modules\/$(uname -r)\/##g" | grep $2
fi
else
/sbin/modprobe $@
fi</pre>
<pre> </pre>
<pre>exit 0 </pre>
<pre>---------------------------------------------------------------------------</pre>
Note the last line I added (besides changes made somewhere else) is important to make sure that "make" can run completely through all expected steps.<br />
<br />
Then do the following more steps:<br />
<br />
<pre>chmod +x /sbin/modprobe.sh
alias modprobe=/sbin/modprobe.sh
echo "alias modprobe=/sbin/modprobe.sh" >> /etc/bashrc
cp Makefile Makefile.save
sed -i -e 's/^MODPROBE.*/MODPROBE := \/sbin\/modprobe.sh/g' Makefile</pre>
<pre> </pre>
Now do what you like.<br />
<br />
========================== End =====================================<div class="blogger-post-footer">http://feeds.feedburner.com/SurfingTroves</div>chapple.caihttp://www.blogger.com/profile/05417712358820523031noreply@blogger.com4tag:blogger.com,1999:blog-5353799867078994058.post-65133207732276639492012-08-22T12:10:00.002-07:002012-08-22T12:10:27.801-07:00Cracking problems during installation of FreeWRL under Fedora 13Starting from : <a href="http://freewrl.sourceforge.net/install_Linux.html">http://freewrl.sourceforge.net/install_Linux.html</a><div class="blogger-post-footer">http://feeds.feedburner.com/SurfingTroves</div>Surfing Troveshttp://www.blogger.com/profile/07005425779123795943noreply@blogger.com0tag:blogger.com,1999:blog-5353799867078994058.post-68774077926710010442012-08-22T12:10:00.000-07:002012-08-22T12:10:07.124-07:00Can not find the gdk-pixbuf library or version is lower than required<h3 class="post-title entry-title">
</h3>
<div class="post-header">
</div>
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:<br />
<br />
1. yum -y reinstall gdk-pixbuf-devel.x86_64 gdk-pixbuf.x86_64<br />
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)<br />
<br />
( if it wors ok now for you, stop here and congrutulations to you!)<br />
<br />
2. download and built on source package<br />
<br />
But gdk-pixelbuf-2.0 can NOT be found, how repulsively this costly trivial steps end like this!<br />
<br />
<br />
Finally, it is a conclusion: you should build gtk-2.4, where gdk-pixbuf-2.0 will be included inside!!<br />
<br />
<br />
ok, what else could we do but to follow it :<br />
<br />
1.<br />
go <a href="ftp://ftp.gtk.org/pub/gtk/v2.4/">ftp://ftp.gtk.org/pub/gtk/v2.4/</a> :<br />
<br />
wget ftp://ftp.gtk.org/pub/gtk/v2.4/glib-2.4.7.tar.bz2<br />
<br />
bunzip glib-2.4.7.tar.bz2 && tar xvf glib-2.4.7.tar.bz2<br />
<br />
cd glib-2.4.7.tar.bz2 && ./configure && make && make install<br />
<br />
<br />
pkg-config --modversion glib-2.0<br />
2.4.7<br />
<br />
2.<br />
wget ftp://ftp.gtk.org/pub/gtk/v2.4/pango-1.4.1.tar.bz2<br />
<br />
same steps to install pango 1.4.1 as above<br />
<br />
*** 'pkg-config --modversion glib-2.0' returned 2.4.7, but GLIB (2.26.1)<br />
*** was found! If pkg-config was correct, then it is best<br />
*** to remove the old version of GLib. You may also be able to fix the error<br />
*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing<br />
*** /etc/ld.so.conf. Make sure you have run ldconfig if that is<br />
*** required on your system.<br />
*** If pkg-config was wrong, set the environment variable PKG_CONFIG_PATH<br />
*** to point to the correct configuration files<br />
no<br />
configure: error:<br />
*** Glib 2.4.0 or better is required. The latest version of<br />
*** Glib is always available from ftp://ftp.gtk.org/.<div class="blogger-post-footer">http://feeds.feedburner.com/SurfingTroves</div>Surfing Troveshttp://www.blogger.com/profile/07005425779123795943noreply@blogger.com0tag:blogger.com,1999:blog-5353799867078994058.post-57356707559028093842012-03-09T10:33:00.001-08:002012-03-09T10:34:10.396-08:00Overriding/overwriting and Overloading<div dir="ltr" style="text-align: left;" trbidi="on">
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 as much complete as possible.<br />
<br />
(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; Overriding provides a different implementation of a method inherited from a base type.<br />
<br />
(2) Overloading is decided at compile time and overriding is decided at runtime, Overriding is basically the point of polymorphism by inheritance.<br />
<div>
<br />
(3) Overloading lets you define a similar operation in different ways for different data, Overriding lets you define a similar operation in different ways for different object types.</div>
<div>
<br /></div>
<div>
(4) Using overloading and overridding, you can acheive the concept of polymorphism. Polymorphism means "one name, multiple forms". Using one name u can do multiple of actions. Method overloading is a compile time polymorphism and Method Overridding is a runtime polymorphism. Compile time polymorphism means compiler knows which object assigned to which class at the compiling time. Runtime polymorphism means compiler didn't know at the compile time, it only knows at a run time.</div>
<div>
<br /></div>
<div>
(5) Overriding method appears in subclasses, 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.</div>
<div>
<br /></div>
<div>
=====================================</div>
<div>
<br /></div>
<div>
Similar to this topic, there is a differentiation between shadowing and overriding, found at</div>
<div>
<div>
<a href="http://msdn.microsoft.com/en-us/library/ms172785(v=vs.80).aspx">http://msdn.microsoft.com/en-us/library/ms172785(v=vs.80).aspx</a></div>
<div>
<br /></div>
<div>
<br /></div>
<div>
<br /></div>
<div>
<br /></div>
<br />
<br /></div>
</div><div class="blogger-post-footer">http://feeds.feedburner.com/SurfingTroves</div>Surfing Troveshttp://www.blogger.com/profile/07005425779123795943noreply@blogger.com0tag:blogger.com,1999:blog-5353799867078994058.post-37513184310016536862011-08-19T09:31:00.000-07:002011-08-19T09:31:57.718-07:00how to retrieve the info of the compiler having built an ELF executable<div dir="ltr" style="text-align: left;" trbidi="on">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.<br />
<br />
There are two ways, no matter whether they are the real good ones.<br />
<br />
1) objdump -s --section .comment <the executable><br />
<br />
2) strings -a <the executable> | grep -i -E "gcc|cl| $other possible clue for the compiler name"<br />
<br />
<pre><code>
</code></pre></div><div class="blogger-post-footer">http://feeds.feedburner.com/SurfingTroves</div>Surfing Troveshttp://www.blogger.com/profile/07005425779123795943noreply@blogger.com0tag:blogger.com,1999:blog-5353799867078994058.post-70326216427939264702011-07-24T19:18:00.001-07:002011-07-24T19:18:15.070-07:00Tracing the segmentation fault problem caused by glutBitmapCharacter or glutBitmapString<div dir="ltr" style="text-align: left;" trbidi="on">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. <br />
<br />
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 -> libGL.so.xx -> /usr/lib/dri/i965_dri.so. <br />
<br />
Tried dozens of "solutions" ranging from reinstalling many times of freeglut-2.6 to changing GLUT to the classic GLUT-3.7 following the instruction from <a href="http://original.jamesthornton.com/linux/HOWTO/Nvidia-OpenGL-Configuration/instglut.html" target="_blank">http://original.jamesthornton.<wbr></wbr>com/linux/HOWTO/Nvidia-OpenGL-<wbr></wbr>Configuration/instglut.html</a>, including debugging deeply in the code itself, trying different fonts and using glutBitmapString, for instance, just all end up with failures. <br />
<br />
Finally, the installation of GLUT-3.7 through an indirect approach - by installing MesaLib (the another ordeal has been put in <a href="http://surfingtroves.blogspot.com/2011/07/defeating-mesalib-installation-issues.html" target="_blank">http://surfingtroves.blogspot.<wbr></wbr>com/2011/07/defeating-mesalib-<wbr></wbr>installation-issues.html) </a><br />
give the sense of graphics driver issues. It really is! <br />
<br />
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 "solutions":<br />
<br />
go to /usr/lib/, mv i965_dri.so i965_dri.so.old. <br />
<br />
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.<br />
</div><div class="blogger-post-footer">http://feeds.feedburner.com/SurfingTroves</div>Surfing Troveshttp://www.blogger.com/profile/07005425779123795943noreply@blogger.com2tag:blogger.com,1999:blog-5353799867078994058.post-20232358440303513382011-07-24T18:52:00.000-07:002011-07-24T19:30:30.330-07:00Defeating the MesaLib installation issues - not sufficiently high version of libdrm and then "915_EXEC_BLT" undeclared<div dir="ltr" style="text-align: left;" trbidi="on">While obstructed by the tricky installation of GLUT-3.7 in Linux (Fedora 13/14 in this post'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.<br />
<br />
However, there might be still other problems with the building installation itself of MesaLib, here are several candidates:<br />
<br />
1. before generating the makefile, "./configure" can complains that the version of libdrm_intel is lower than 2.4.21 which is required to compile mesa.<br />
<br />
---> download the package of libdrm from <a href="http://packages.pardus.org.tr/info/corporate2/devel/source/libdrm.html" target="_blank">http://packages.pardus.org.tr/<wbr></wbr>info/corporate2/devel/source/<wbr></wbr>libdrm.html</a> ,unpack it and go to "./configure", here you may get another obstacle, however, by failure in checking PCIACCESS. fix this easily by "yum -y install libpciaccess" and perhaps also "yum -y install libpciaccess-devel". Then "make" -> "make install". and get back to mesa<br />
<br />
Unfortunately, the complaints did not disappear as most likely happens. This is a problem of package recognition previously encountered as the case of "<a href="http://surfingtroves.blogspot.com/2010/12/linux-fedora-upgraded-package-and.html" target="_blank">http://surfingtroves.<wbr></wbr>blogspot.com/2010/12/linux-<wbr></wbr>fedora-upgraded-package-and.<wbr></wbr>html</a>" . 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<br />
export PKG_CONFIG_PATH=/usr/local/<wbr></wbr>lib/pkgconfig:$PKG_CONFIG_<wbr></wbr>PATH. <br />
<br />
Then "pkg-config --modversion libdrm_intel" should confirm that the version is updated to suffice the installation of mesaLib. <br />
<br />
2. "./configure" 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.<br />
<br />
3. now, do the sure thing "make" , you are probably expected to get stymied again by the complaint like:<br />
<br />
"error: I915_EXEC_BLT undeclared "<br />
<br />
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 "-I/usr/include/libdrm" therein. A simple fix is to copy the command line and manually compile again with "-I/usr/include/libdrm" changed to "-I/usr/local/include/libdrm" since drm_intel is installed to /usr/local by default.<br />
<br />
4. "make install". And, done.<br />
<br />
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*.<br />
<br />
Now you should be alreay there.<br />
<br />
</div><div class="blogger-post-footer">http://feeds.feedburner.com/SurfingTroves</div>Surfing Troveshttp://www.blogger.com/profile/07005425779123795943noreply@blogger.com1tag:blogger.com,1999:blog-5353799867078994058.post-8622351467470469472011-07-24T18:02:00.000-07:002011-07-24T18:04:47.040-07:00Can not hear from earphone on fedora linux ALSA Conexant<div dir="ltr" style="text-align: left;" trbidi="on"><br />
1. check if the file /etc/modprobe.d/alsa-base exists, touch an empty one of this if not.<br />
<br />
<br />
2. add following line to it :<br />
options snd-hda-intel model=olpc-xo-1_5<br />
<br />
<br />
3.save and reboot.<br />
<br />
<br />
Then the problem should have gone.<br />
<br />
<br />
Note that this may only do the tricks for exact this sound device<br />
"Codec: Conexant CX20583 (Pebble HSF)". If it is not working for you, please refer to the original post at <a href="http://linux.derkeiler.com/Mailing-Lists/Ubuntu/2010-05/msg00541.html" target="_blank">http://linux.derkeiler.com/<wbr></wbr>Mailing-Lists/Ubuntu/2010-05/<wbr></wbr>msg00541.html</a>.<br />
<br />
<br />
Many thanks to the original author.<br />
<br />
</div><div class="blogger-post-footer">http://feeds.feedburner.com/SurfingTroves</div>Surfing Troveshttp://www.blogger.com/profile/07005425779123795943noreply@blogger.com0tag:blogger.com,1999:blog-5353799867078994058.post-85261139440611921422011-07-23T13:13:00.000-07:002012-08-22T12:10:34.343-07:00Can not hear from earphone on fedora linux ALSA Conexant<a href="http://linux.derkeiler.com/Mailing-Lists/Ubuntu/2010-05/msg00541.html"></a><a href="http://linux.derkeiler.com/Mailing-Lists/Ubuntu/2010-05/msg00541.html"></a><a href="http://linux.derkeiler.com/Mailing-Lists/Ubuntu/2010-05/msg00541.html"></a><div class="blogger-post-footer">http://feeds.feedburner.com/SurfingTroves</div>Surfing Troveshttp://www.blogger.com/profile/07005425779123795943noreply@blogger.com0tag:blogger.com,1999:blog-5353799867078994058.post-77966003486667327622011-06-16T18:39:00.000-07:002014-08-08T17:30:29.146-07:00On how universities handle multiple GRE scores (how about taking GRE more than once) ?<div dir="ltr" style="text-align: left;" trbidi="on"><span style="font-size: x-small;"><span style="font-family: garamond,serif;"><b style="color: #cc0000;"><span style="font-family: times new roman,serif; font-size: medium;">RESULTS FROM Google "more than one gre scores" or " Multiple GRE scores"</span></b><br />
(first 50 pages according to the page-rank)</span></span><br />
<span style="font-size: x-small;"><span style="font-family: garamond,serif;"> </span></span><br />
<span style="font-size: x-small;"><span style="font-family: garamond,serif;"></span></span><br />
<span style="font-size: x-small;"><span style="font-family: garamond,serif;">-------------------------------------------------------------------------------------------------------------------------------------------------------------</span></span><br />
<span style="font-size: x-small;"><span style="font-family: garamond,serif;"></span></span><br />
<span style="font-size: x-small;"><span style="font-family: garamond,serif;"> <a href="http://el-prod.baylor.edu/certain_doubts/?p=876" target="_blank">http://el-prod.baylor.edu/<wbr></wbr>certain_doubts/?p=876</a></span></span><br />
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.<br />
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 ...........................<br />
<br />
<span style="font-size: x-small;"><span style="font-family: garamond,serif;">-------------------------------------------------------------------------------------------------------------------------------------------------------------</span></span><br />
<a href="http://www.vetmed.wsu.edu/prospectivestudents/admissionProcedure.aspx" target="_blank">http://www.vetmed.wsu.edu/<wbr></wbr>prospectivestudents/<wbr></wbr>admissionProcedure.aspx</a><br />
<br />
* 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. <br />
<br />
<span style="font-size: x-small;"><span style="font-family: garamond,serif;">-------------------------------------------------------------------------------------------------------------------------------------------------------------</span></span><br />
<span style="font-size: x-small;"><span style="font-family: garamond,serif;"> <a href="http://chhs.gsu.edu/pt/faq.asp" target="_blank">http://chhs.gsu.edu/pt/faq.asp</a></span></span><span style="color: dimgrey;"><b> </b></span><br />
<span style="color: dimgrey;"><b>15. I've taken the GRE multiple times. Which scores will you use?</b></span><br />
<span style="color: dimgrey;">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. </span><br />
<br />
<span style="font-size: x-small;"><span style="font-family: garamond,serif;"></span></span><br />
<span style="font-size: x-small;"><span style="font-family: garamond,serif;">-------------------------------------------------------------------------------------------------------------------------------------------------------------</span></span><br />
<script async src="//pagead2.googlesyndication.com/pagead/js/adsbygoogle.js"></script>
<!-- surfingtroves_main_Blog1_468x60_as -->
<ins class="adsbygoogle"
style="display:inline-block;width:468px;height:60px"
data-ad-client="ca-pub-0648395428705476"
data-ad-slot="5101568019"></ins>
<script>
(adsbygoogle = window.adsbygoogle || []).push({});
</script>
<span style="font-size: x-small;"><span style="font-family: garamond,serif;"> <a href="http://www.yale.edu/graduateschool/admissions/faqstq.html" target="_blank">http://www.yale.edu/<wbr></wbr>graduateschool/admissions/<wbr></wbr>faqstq.html</a></span></span><br />
<span style="font-size: x-small;"><span style="font-family: garamond,serif;"> </span></span>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.<br />
<br />
<span style="font-size: x-small;"><span style="font-family: garamond,serif;">-------------------------------------------------------------------------------------------------------------------------------------------------------------</span></span><br />
<a href="http://www.physics.ucsb.edu/education/graduate/prospective/faqsforapps.htm#mixgre" target="_blank">http://www.physics.ucsb.edu/<wbr></wbr>education/graduate/<wbr></wbr>prospective/faqsforapps.htm#<wbr></wbr>mixgre</a><br />
<h3>I have taken the GRE exams more than once. Can I mix and match the results?</h3><div align="left"><a href="http://www.ets.org/gre/%20" target="_blank">GRE</a> scores can not be mixed and matched. We will review only the most recent scores, regardless of the outcome. </div><span style="font-size: x-small;"><span style="font-family: garamond,serif;">-------------------------------------------------------------------------------------------------------------------------------------------------------------</span></span><br />
<a name='more'></a><span style="font-size: x-small;"><span style="font-family: garamond,serif;"><br />
</span></span><br />
<a href="http://complit.uchicago.edu/graduate/applicationfaq.html" target="_blank">http://complit.uchicago.edu/<wbr></wbr>graduate/applicationfaq.html</a><br />
<b>I have multiple GRE scores. How will my scores be interpreted?</b> ETS provides GRE scores from the past five years of an applicant's records. It is up to the discretion of the reviewers how they would like to account for these scores.<br />
<br />
<span style="font-size: x-small;"><span style="font-family: garamond,serif;">-------------------------------------------------------------------------------------------------------------------------------------------------------------</span></span><br />
<a href="http://economics.ucsd.edu/grad/gradAdm/admFaqs.php" target="_blank">http://economics.ucsd.edu/<wbr></wbr>grad/gradAdm/admFaqs.php</a><br />
<b>What is your policy on GRE retakes?</b><br />
Regarding GRE retakes, your highest scores will be considered of any test scores that are received before the admission application deadline. Remember that <i>official scores</i> from ETS are required. Copies are not accepted. 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.” <br />
<br />
<span style="font-size: x-small;"><span style="font-family: garamond,serif;">-------------------------------------------------------------------------------------------------------------------------------------------------------------</span></span><br />
<a href="http://www.du.edu/korbel/admissions/howtoapply/faqs/" target="_blank">http://www.du.edu/korbel/<wbr></wbr>admissions/howtoapply/faqs/</a><br />
<dl><div><div class="im">
<dt><a href="http://www.blogger.com/post-edit.g?blogID=5353799867078994058&postID=7796600348666732762&from=pencil">Can I take the GRE more than once?</a></dt>
</div>
<dd style="display: block;">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: <a href="http://www.ets.org/" target="_blank">www.ets.org</a>. The institutional code for the GRE and TOEFL is 4842. </dd>
<dt><br />
</dt>
</div></dl> <span style="font-size: x-small;"><span style="font-family: garamond,serif;">-------------------------------------------------------------------------------------------------------------------------------------------------------------</span></span><br />
<a href="http://www.gse.harvard.edu/admissions/faq/standardized_tests.html" target="_blank">http://www.gse.harvard.edu/<wbr></wbr>admissions/faq/standardized_<wbr></wbr>tests.html</a><br />
<h3>How many scores does HGSE accept?</h3>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.<br />
<br />
<span style="font-size: x-small;"><span style="font-family: garamond,serif;">-------------------------------------------------------------------------------------------------------------------------------------------------------------</span></span><br />
<a href="http://www.econ.ucdavis.edu/graduates_faq.cfm" target="_blank">http://www.econ.ucdavis.edu/<wbr></wbr>graduates_faq.cfm</a><br />
<table align="center"><tbody>
<tr><td colspan="2"><b>If I have taken the GRE exam more than once, how do you consider the scores?</b></td> </tr>
<tr> <td><br />
</td> <td>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.</td></tr>
</tbody></table><br />
<span style="font-size: x-small;"><span style="font-family: garamond,serif;">-------------------------------------------------------------------------------------------------------------------------------------------------------------</span></span><br />
<b><a href="http://depts.washington.edu/epidem/adm/FAQ_gre.shtml#mult" target="_blank">http://depts.washington.edu/<wbr></wbr>epidem/adm/FAQ_gre.shtml#mult</a><br />
I took the GRE more than once, which score will you count? </b><br />
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.<br />
<br />
<span style="font-size: x-small;"><span style="font-family: garamond,serif;">-------------------------------------------------------------------------------------------------------------------------------------------------------------</span></span><br />
<a href="http://www.eecs.berkeley.edu/Gradadm/FAQA.htm" target="_blank">http://www.eecs.berkeley.edu/<wbr></wbr>Gradadm/FAQA.htm</a><br />
<b>If I take the GRE more than once, which scores do you consider?</b> The highest scores will be the most important to us.<br />
<a href="http://www.blogger.com/post-edit.g?blogID=5353799867078994058&postID=7796600348666732762&from=pencil" name="1309b34e1da52b9e_17b"></a><b>How important is the writing/verbal portion of the GRE?</b><br />
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.<br />
<br />
<span style="font-size: x-small;"><span style="font-family: garamond,serif;">-------------------------------------------------------------------------------------------------------------------------------------------------------------</span></span><br />
<a href="http://www.stat.columbia.edu/%7Ecook/movabletype/archives/2009/01/taking-a-standa.html" target="_blank">http://www.stat.columbia.edu/~<wbr></wbr>cook/movabletype/archives/<wbr></wbr>2009/01/taking-a-standa.html</a><br />
<div><div>When we have a grad school applicant who's taken the GRE or TOEFL multiple times, we typically just look at the highest score. It's my impression that pretty much everybody does this, even though basic statistical principles would suggest taking the average. Eric Rasmusen <a href="http://rasmusen1.blogspot.com/2009/01/sat-wont-report-low-scores.html" target="_blank">reminded me</a> 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't sound like a good idea! But, as Rasumusen points out, it might make more money for the organizations that administer the test.<br />
According to <a href="http://www.nytimes.com/2008/12/31/education/31sat.html?_r=1" target="_blank">the linked news article</a>, students "will have the option of choosing which scores to send to colleges while hiding those they do not want admissions officials to see." My question is: will their score report state whether they've chosen this option? If so, it should be possible to at least try to correct for the bias.<br />
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's the possibility of cheating. . . . I guess the real lesson is that these admissions decisions aren't going to be perfect, and we should think more about how to incorporate this perspective into our admissions process.<br />
<br />
<span style="font-size: x-small;"><span style="font-family: garamond,serif;">-------------------------------------------------------------------------------------------------------------------------------------------------------------</span></span><br />
<div lang="en-US" style="margin-bottom: 0in;"><span style="color: black;"><span style="font-family: Tahoma,sans-serif;"><span style="font-size: small;"><span style="font-family: Calibri,sans-serif;"><span style="font-size: small;"><a href="http://www.google.com/url?sa=t&source=web&cd=106&ved=0CDcQFjAFOGQ&url=http%3A%2F%2Fwww.chemistry.ohio-state.edu%2Ffiles%2FAU%25202011%2520Admissions%2520FAQs.doc&rct=j&q=more%20than%20one%20gre%20scores&ei=DYv6TcH4LYTf0QHmkZmcAw&usg=AFQjCNFE4njAht7SSK0EFe2Wp_cnTB1Zog&sig2=95iSAr9Us0WUPOqz0QtB7A&cad=rja" target="_blank">http://www.google.com/url?sa=<wbr></wbr>t&source=web&cd=106&ved=<wbr></wbr>0CDcQFjAFOGQ&url=http%3A%2F%<wbr></wbr>2Fwww.chemistry.ohio-state.<wbr></wbr>edu%2Ffiles%2FAU%25202011%<wbr></wbr>2520Admissions%2520FAQs.doc&<wbr></wbr>rct=j&q=more%20than%20one%<wbr></wbr>20gre%20scores&ei=<wbr></wbr>DYv6TcH4LYTf0QHmkZmcAw&usg=<wbr></wbr>AFQjCNFE4njAht7SSK0EFe2Wp_<wbr></wbr>cnTB1Zog&sig2=<wbr></wbr>95iSAr9Us0WUPOqz0QtB7A&cad=rja</a><br />
</span></span></span></span></span></div><div lang="en-US" style="margin-bottom: 0in;"><span style="color: black;"><span style="font-family: Tahoma,sans-serif;"><span style="font-size: small;"><span style="font-family: Calibri,sans-serif;"><span style="font-size: small;">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.</span></span></span></span></span><br />
<br />
<span style="font-size: x-small;"><span style="font-family: garamond,serif;">-------------------------------------------------------------------------------------------------------------------------------------------------------------</span></span><span style="color: black;"><span style="font-family: Tahoma,sans-serif;"><span style="font-size: small;"><span style="font-family: Calibri,sans-serif;"><span style="font-size: small;"> </span></span></span></span></span></div></div></div><a href="http://www.tuck.dartmouth.edu/admissions/admissions-faq/" target="_blank">http://www.tuck.dartmouth.edu/<wbr></wbr>admissions/admissions-faq/</a><br />
<dl><dt><a href="http://www.blogger.com/post-edit.g?blogID=5353799867078994058&postID=7796600348666732762&from=pencil">I have taken the GMAT and/or GRE several times. Which score does the admissions committee consider?</a></dt>
<dd style="display: block;">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. </dd></dl><span style="font-size: x-small;"><span style="font-family: garamond,serif;">-------------------------------------------------------------------------------------------------------------------------------------------------------------</span></span><br />
<b> <a href="http://english.uchicago.edu/prospective/phd-checklist-and-faq" target="_blank">http://english.uchicago.edu/<wbr></wbr>prospective/phd-checklist-and-<wbr></wbr>faq</a><br />
I have multiple GRE scores. How will my scores be interpreted?</b><br />
ETS provides GRE scores from the past five years of an applicant's records. It is up to the discretion of the reviewers how they would like to account for these scores.<br />
<br />
<span style="font-size: x-small;"><span style="font-family: garamond,serif;">-------------------------------------------------------------------------------------------------------------------------------------------------------------</span></span><br />
<a href="http://www.cs.fsu.edu/current/grad/faq.php" target="_blank">http://www.cs.fsu.edu/current/<wbr></wbr>grad/faq.php</a><br />
<h4>I took the GRE more than once. Which score do you accept: the highest or the most recent score?</h4>The highest GRE score is considered for admission. <br />
<br />
<span style="font-size: x-small;"><span style="font-family: garamond,serif;">-------------------------------------------------------------------------------------------------------------------------------------------------------------</span></span><br />
<a href="http://home.ubalt.edu/NTSBROSS/gre.html" target="_blank">http://home.ubalt.edu/<wbr></wbr>NTSBROSS/gre.html</a><br />
<br />
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.<br />
<br />
<span style="font-size: x-small;"><span style="font-family: garamond,serif;">-------------------------------------------------------------------------------------------------------------------------------------------------------------</span></span><br />
<a href="http://cilas.ucsd.edu/academics/graduate/faqs.html#p11" target="_blank">http://cilas.ucsd.edu/<wbr></wbr>academics/graduate/faqs.html#<wbr></wbr>p11</a><br />
<b>What is the average GRE score of applicants?</b><br />
<br />
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.<br />
<br />
<span style="font-size: x-small;"><span style="font-family: garamond,serif;">-------------------------------------------------------------------------------------------------------------------------------------------------------------</span></span><br />
<br />
<span style="font-size: x-small;"><span style="font-family: garamond,serif;"> <a href="http://viterbi.usc.edu/admission/graduate/faq/submitted_application/admission-criteria.htm" target="_blank">http://viterbi.usc.edu/<wbr></wbr>admission/graduate/faq/<wbr></wbr>submitted_application/<wbr></wbr>admission-criteria.htm</a><br />
</span></span><b>Can I take the GRE more than once?</b><br />
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.<br />
<br />
<span style="font-size: x-small;"><span style="font-family: garamond,serif;">-------------------------------------------------------------------------------------------------------------------------------------------------------------</span></span><br />
<span style="font-size: x-small;"><span style="font-family: garamond,serif;"> <a href="http://www.olemiss.edu/gradschool/GPC_handbook_1.html" target="_blank">http://www.olemiss.edu/<wbr></wbr>gradschool/GPC_handbook_1.html</a><br />
</span></span>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. <br />
<br />
<span style="font-size: x-small;"><span style="font-family: garamond,serif;">-------------------------------------------------------------------------------------------------------------------------------------------------------------</span></span><br />
<a href="http://gradcollege.okstate.edu/faq/faq.html" target="_blank">http://gradcollege.okstate.<wbr></wbr>edu/faq/faq.html</a><br />
How are multiple GRE scores treated?<br />
<br />
GRE scores are one of the many criteria used to evaluate an applicant. Individual departments' 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. <br />
<br />
<br />
<span style="font-size: x-small;"><span style="font-family: garamond,serif;">-------------------------------------------------------------------------------------------------------------------------------------------------------------</span></span><br />
<a href="http://www.fordschool.umich.edu/prospective/masters_faq.php" target="_blank">http://www.fordschool.umich.<wbr></wbr>edu/prospective/masters_faq.<wbr></wbr>php</a><br />
<h3>How do you handle multiple GRE scores?</h3><div><div style="display: block;">The Admissions Committee will be given all of the applicants' scores. We do not average them nor do we take the higher or lower scores. Improvement in scores will be taken into consideration.<br />
<br />
<span style="font-size: x-small;"><span style="font-family: garamond,serif;">-------------------------------------------------------------------------------------------------------------------------------------------------------------</span></span> </div></div><div><a href="http://www.engr.wisc.edu/ie/prospective/grad/faq.html#21." target="_blank">http://www.engr.wisc.edu/ie/<wbr></wbr>prospective/grad/faq.html#21.</a> </div><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><div><a href="http://www.blogger.com/post-edit.g?blogID=5353799867078994058&postID=7796600348666732762&from=pencil" name="1309b34e1da52b9e_21.">How important are GRE scores in admissions? Is there a minimum score required?<br />
<br />
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.</a><br />
<br />
</div></blockquote><br />
<span style="font-size: x-small;"><span style="font-family: garamond,serif;">-------------------------------------------------------------------------------------------------------------------------------------------------------------</span></span> <br />
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><div><br />
<a href="http://www.maxwell.syr.edu/ir/admissions/FAQ.aspx#29." target="_blank">http://www.maxwell.syr.edu/ir/<wbr></wbr>admissions/FAQ.aspx#29.</a></div></blockquote><div class="gmail_quote"><div class="im"><span dir="ltr"></span></div><div>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. </div><div><br />
<span style="font-size: x-small;"><span style="font-family: garamond,serif;">-------------------------------------------------------------------------------------------------------------------------------------------------------------</span></span><br />
<a href="http://www.cs.rice.edu/gradinfo/faq.shtml" target="_blank">http://www.cs.rice.edu/<wbr></wbr>gradinfo/faq.shtml</a><br />
<span style="color: black; font-size: medium;"><b>9. Multiple test scores</b><br />
</span><br />
<span style="color: black; font-size: medium;">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?<br />
A: The latest score. </span><br />
<span style="color: black; font-size: medium;"><b>10. GRE subject exam</b><br />
</span><br />
<span style="color: black; font-size: medium;">Q: I am a Ph.D applicant, but lack a GRE subject test score. Can I apply as an MS candidate instead?<br />
A: The GRE subject test is required for both MS and Ph.D applications. </span><br />
<br />
<span style="font-size: x-small;"><span style="font-family: garamond,serif;">-------------------------------------------------------------------------------------------------------------------------------------------------------------</span></span><br />
<a href="http://www.gsb.stanford.edu/mba/admission/test_scores.html" target="_blank">http://www.gsb.stanford.edu/<wbr></wbr>mba/admission/test_scores.html</a><br />
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.<br />
<br />
<span style="font-size: x-small;"><span style="font-family: garamond,serif;">-------------------------------------------------------------------------------------------------------------------------------------------------------------</span></span><br />
<a href="http://ls.berkeley.edu/about-college/l-s-divisions/arts-humanities/diversity/prospective-students/graduate-record-exam" target="_blank">http://ls.berkeley.edu/about-<wbr></wbr>college/l-s-divisions/arts-<wbr></wbr>humanities/diversity/<wbr></wbr>prospective-students/graduate-<wbr></wbr>record-exam</a><br />
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'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.<br />
<br />
<span style="font-size: x-small;"><span style="font-family: garamond,serif;">-------------------------------------------------------------------------------------------------------------------------------------------------------------</span></span><br />
<a href="http://www.cs.vt.edu/graduate/prospective_students/application_guidelines" target="_blank">http://www.cs.vt.edu/graduate/<wbr></wbr>prospective_students/<wbr></wbr>application_guidelines</a><br />
<h2>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?</h2>It doesn'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.<br />
<br />
<span style="font-size: x-small;"><span style="font-family: garamond,serif;">-------------------------------------------------------------------------------------------------------------------------------------------------------------</span></span> <br />
<a href="http://www.anderson.ucla.edu/x19460.xml#11.1" target="_blank">http://www.anderson.ucla.edu/<wbr></wbr>x19460.xml#11.1</a><br />
<b>If I take the GMAT/GRE more than once, will the Admissions Committee average the scores or take the highest one?<br />
</b>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.<br />
<br />
<span style="font-size: x-small;"><span style="font-family: garamond,serif;">-------------------------------------------------------------------------------------------------------------------------------------------------------------</span></span><br />
<a href="http://www4.gsb.columbia.edu/mba/admissions/applynow/apprequirements#GMAT" target="_blank">http://www4.gsb.columbia.edu/<wbr></wbr>mba/admissions/applynow/<wbr></wbr>apprequirements#GMAT</a><br />
Be sure to self-report your GMAT score when completing your application. If admitted, you must submit an official score report via <a href="http://www.mba.com/" target="_blank">www.mba.com</a>. 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 <b>QF8-N6-36</b>. <br />
<br />
<span style="font-size: x-small;"><span style="font-family: garamond,serif;">-------------------------------------------------------------------------------------------------------------------------------------------------------------</span></span><br />
<a href="http://som.utdallas.edu/academicAreas/isom/opMgmtPrograms/faq.php" target="_blank">http://som.utdallas.edu/<wbr></wbr>academicAreas/isom/<wbr></wbr>opMgmtPrograms/faq.php</a><br />
<ul><li><a href="http://www.blogger.com/post-edit.g?blogID=5353799867078994058&postID=7796600348666732762&from=pencil" name="1309b34e1da52b9e_Q16">In case of more than one GMAT score, would you consider the average or the best score?</a> For MS SCM program, we consider the best GMAT score.</li>
</ul><span style="font-size: x-small;"><span style="font-family: garamond,serif;">-------------------------------------------------------------------------------------------------------------------------------------------------------------</span></span> <br />
<a href="http://socialsciences.uchicago.edu/prospective/admissions/admissions-application.shtml" target="_blank">http://socialsciences.<wbr></wbr>uchicago.edu/prospective/<wbr></wbr>admissions/admissions-<wbr></wbr>application.shtml</a><br />
In the cases of multiple tests, the overall best test date is used for review purposes.<br />
<br />
<span style="font-size: x-small;"><span style="font-family: garamond,serif;">-------------------------------------------------------------------------------------------------------------------------------------------------------------</span></span><br />
<b><a href="http://www.hds.harvard.edu/afa/apply/faq.html#Can%20I%20take%20the%20GRE%20multiple%20times?" target="_blank">http://www.hds.harvard.edu/<wbr></wbr>afa/apply/faq.html#Can%20I%<wbr></wbr>20take%20the%20GRE%20multiple%<wbr></wbr>20times?</a><br />
<br />
Can I take the GRE multiple times? If you receive multiple scores from me, how will you determine which ones to consider for my application?<br />
</b>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<br />
<br />
<span style="font-size: x-small;"><span style="font-family: garamond,serif;">-------------------------------------------------------------------------------------------------------------------------------------------------------------</span></span><br />
<a href="http://www.wharton.upenn.edu/doctoral/admissions/application-requirements.cfm#Standardized_Test_Scores" target="_blank">http://www.wharton.upenn.edu/<wbr></wbr>doctoral/admissions/<wbr></wbr>application-requirements.cfm#<wbr></wbr>Standardized_Test_Scores</a><br />
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. <br />
<br />
<span style="font-size: x-small;"><span style="font-family: garamond,serif;">-------------------------------------------------------------------------------------------------------------------------------------------------------------</span></span><br />
<a href="http://che.engin.umich.edu/graduateprogram/graduateadmissions/gradfaq.html#scores" target="_blank">http://che.engin.umich.edu/<wbr></wbr>graduateprogram/<wbr></wbr>graduateadmissions/gradfaq.<wbr></wbr>html#scores</a><br />
<b>If I take the GRE more than one time which score will you take?</b> We look at the applicant's highest GRE score. </div><div><br />
<span style="font-size: x-small;"><span style="font-family: garamond,serif;">-------------------------------------------------------------------------------------------------------------------------------------------------------------</span></span> </div><div>UC Davis says "<b>When you take the GRE multiple times, we consider the highest scores in each section for examinations taken within the five-year period."</b><br />
Source: <a href="http://www.vetmed.ucdavis.edu/studentprograms/subpages/faqs.html#q21" rel="nofollow" target="_blank">http://www.vetmed.ucdavis.edu/<wbr></wbr>studen.../faqs.html#q21</a><br />
<br />
<span style="font-size: x-small;"><span style="font-family: garamond,serif;">-------------------------------------------------------------------------------------------------------------------------------------------------------------</span></span><br />
Cornell says "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's DVM Admissions selection process."<br />
Source: <a href="http://www.vet.cornell.edu/admissions/prep.htm" rel="nofollow" target="_blank">http://www.vet.cornell.edu/<wbr></wbr>admissions/prep.htm</a><br />
<br />
<span style="font-size: x-small;"><span style="font-family: garamond,serif;">-------------------------------------------------------------------------------------------------------------------------------------------------------------</span></span><br />
Iowa State says "The one test that gives you the best score is used."<br />
Source: <a href="http://www.vetmed.iastate.edu/prospective_students/default.aspx?id=988#26" rel="nofollow" target="_blank">http://www.vetmed.iastate.edu/<wbr></wbr>prospe...aspx?id=988#26</a><br />
<br />
<span style="font-size: x-small;"><span style="font-family: garamond,serif;">-------------------------------------------------------------------------------------------------------------------------------------------------------------</span></span><br />
Louisiana State says "<span style="font-family: Verdana;">When the GRE has been taken more than once, the highest score from a single test date will be used."<br />
Source: <a href="http://www.vetmed.lsu.edu/admissions/admission_faqs.htm#re-take" rel="nofollow" target="_blank">http://www.vetmed.lsu.edu/<wbr></wbr>admissions...qs.htm#re-take</a></span><br />
<span style="font-family: Verdana;"><br />
</span><br />
<span style="font-size: x-small;"><span style="font-family: garamond,serif;">-------------------------------------------------------------------------------------------------------------------------------------------------------------</span></span><br />
<span style="font-family: Verdana;"> Michigan State says "</span> When the test has been taken more than once, only the higher composite score will be added to the applicant's credentials."<br />
Source: <a href="http://www.cvm.msu.edu/student-information/dvm-program-admissions/requirements-for-doctor-of-veterinary-medicine/gre-and-toefl" rel="nofollow" target="_blank">http://www.cvm.msu.edu/<wbr></wbr>student-infor.../gre-and-toefl</a><br />
<br />
<span style="font-size: x-small;"><span style="font-family: garamond,serif;">-------------------------------------------------------------------------------------------------------------------------------------------------------------</span></span><br />
North Caroline State says "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."<br />
Source: <a href="http://www.cvm.ncsu.edu/studentservices/admissions.html" rel="nofollow" target="_blank">http://www.cvm.ncsu.edu/<wbr></wbr>studentservices/admissions.<wbr></wbr>html</a><br />
<br />
<span style="font-size: x-small;"><span style="font-family: garamond,serif;">-------------------------------------------------------------------------------------------------------------------------------------------------------------</span></span><br />
Ohio State says " We take the highest score from one exam. "<br />
Source: <a href="http://www.vet.ohio-state.edu/2699.htm#q19" rel="nofollow" target="_blank">http://www.vet.ohio-state.edu/<wbr></wbr>2699.htm#q19</a><br />
<br />
<span style="font-size: x-small;"><span style="font-family: garamond,serif;">-------------------------------------------------------------------------------------------------------------------------------------------------------------</span></span><br />
Washington State says "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."<br />
Source: <a href="http://www.vetmed.wsu.edu/prospectiveStudents/AdmissionProcedure.aspx" rel="nofollow" target="_blank">http://www.vetmed.wsu.edu/<wbr></wbr>prospectiv...Procedure.aspx</a><br />
<br />
<span style="font-size: x-small;"><span style="font-family: garamond,serif;">-------------------------------------------------------------------------------------------------------------------------------------------------------------</span></span><br />
Western University says "If taken multiple times, all scores will be considered, but more weight will likely be placed on the later score."<br />
Source: <a href="http://www.westernu.edu/xp/edu/howtoapply/dvm_prerequisites.xml#DVM_If_I_take_the_GRE_or_MCAT" rel="nofollow" target="_blank">http://www.westernu.edu/xp/<wbr></wbr>edu/howto...he_GRE_or_MCAT</a><br />
<br />
<span style="font-size: x-small;"><span style="font-family: garamond,serif;">-------------------------------------------------------------------------------------------------------------------------------------------------------------</span></span><br />
<a href="http://www.vet.upenn.edu/admissions/faq.html" rel="nofollow" target="_blank">http://www.vet.upenn.edu/<wbr></wbr>admissions/faq.html</a> <br />
<br />
"When considering scores from multiple test dates, we will take the highest combined verbal and quantitative scores from the same test date."<br />
<br />
<a href="http://www.vet.upenn.edu/admissions/faq.html" rel="nofollow" target="_blank"><br />
</a></div><div></div><div></div><div></div></div></div><div class="blogger-post-footer">http://feeds.feedburner.com/SurfingTroves</div>chapple.caihttp://www.blogger.com/profile/05417712358820523031noreply@blogger.com75tag:blogger.com,1999:blog-5353799867078994058.post-3189229611970758832011-05-27T13:49:00.000-07:002011-05-31T19:54:55.382-07:00building installation of freeglut ------ problem with /usr/lib/libGL.so.1 or /lib/libm.so.6When 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's command line:<br />
<br />
/usr/lib/libGL.so.1<br />
/lib/libm.so.6<br />
<br />
The typical prompt would be like the lines as follows:<br />
<br />
<i>freeglut is defined in DSO /usr/lib/libGL.so.1 so try adding it to the linker command line</i><br />
<br />
A very gauche approach is to edit each Makefile spread over different levels of directories in the source code root, by changing each "CC=gcc" line to "CC=gcc /usr/lib/libGL.so.1 /lib/libm.so.6". Obviously, you will need much pissy manual work to treat this nasty problem.<br />
<br />
Here what I would like to share is a cheaper yet perky way, maybe not that paradigmatic though, to the quick solution:<br />
<br />
1. enter /usr/bin/ (or somewhere else gcc lies, the location can be retrieved by whereis gcc );<br />
2. mv gcc gcc_org <br />
3. touch gcc and add following lines in it:<br />
<i>#!/bin/bash<br />
<br />
/usr/bin/gcc_org $@ /usr/lib/libGL.so.1 /lib/libm.so.6</i><br />
<br />
4. chmod +x gcc<br />
<br />
Now get back to glut source package directory and follow the original instruction, that is, "./configure" -> "make && make install".<br />
<br />
You should not expect further problems until everything will be set up well there.<br />
<br />
After done, do not forget to clean up the your cheating spot : move to /usr/bin,<br />
and "mv gcc_org gcc".<div class="blogger-post-footer">http://feeds.feedburner.com/SurfingTroves</div>chapple.caihttp://www.blogger.com/profile/05417712358820523031noreply@blogger.com36tag:blogger.com,1999:blog-5353799867078994058.post-8570419850097791112011-03-28T20:30:00.000-07:002011-03-28T20:32:36.569-07:00A TUI library for Dos/Windows<div dir="ltr" style="text-align: left;" trbidi="on">A Text User Interface Library in C++ for DOS/Windows. Useful for building light-weighted TUI based applications.<br />
<br />
<a>http://sourceforge.net/u/haipengcai/wikituidos/Home/</a> </div><div class="blogger-post-footer">http://feeds.feedburner.com/SurfingTroves</div>Surfing Troveshttp://www.blogger.com/profile/07005425779123795943noreply@blogger.com0tag:blogger.com,1999:blog-5353799867078994058.post-66429632233188591002011-02-08T12:14:00.000-08:002011-02-08T12:15:37.168-08:00Why vim not search STL headers?In vim it is common to open a header in place, which is really a handy feature for browsing a directory hierarchy.<br />
<br />
But you might find this functionality seems to fail with C++ STL headers : when the cursor is blinking under "#include <iostream>", say, and your hitting 'gf' will not respond by entering that header but engender a grouch like following instead:<br />
<br />
<div style="background-color: #999999;">"E447: Can't find file iostream in path".</div><br />
In actuality it is quite easy to resolve this problem by riffling through vim manual.<br />
<br />
Treatment:<br />
<br />
open the rc file of vim, for instance, /etc/vimrc, add following setting :<br />
<br />
<div style="color: lime;">set path = **,/usr/include/c++/**</div><br />
provided your c++ STL headers are hoarded in /usr/include/c++.<br />
<br />
reopen the source code you were previously browsing around and try "gf" again, it should work now! It is really that piece of cake! Really extensible is vim!<div class="blogger-post-footer">http://feeds.feedburner.com/SurfingTroves</div>chapple.caihttp://www.blogger.com/profile/05417712358820523031noreply@blogger.com0tag:blogger.com,1999:blog-5353799867078994058.post-17132492598488027692011-02-08T12:00:00.000-08:002011-02-08T12:00:43.941-08:00remove empty line by sed or in vimIn vim, following the same trick for general sustitution:<br />
<pre><span style="background-color: white; color: lime; font-family: Georgia,"Times New Roman",serif; font-size: large;"><span class="punct">:%s/</span><span class="symbol">^[\ \t]*\n</span><span class="punct">//</span><span class="ident">g</span> </span><span style="background-color: white; color: lime;"></span></pre><br />
By sed on the command line:<br />
<div style="background-color: white;"><span style="color: lime; font-family: Georgia,"Times New Roman",serif; font-size: large;">cat orgfile | sed /^$/d</span></div><div class="blogger-post-footer">http://feeds.feedburner.com/SurfingTroves</div>chapple.caihttp://www.blogger.com/profile/05417712358820523031noreply@blogger.com0tag:blogger.com,1999:blog-5353799867078994058.post-41420631769922626732011-01-08T10:03:00.000-08:002011-05-31T20:19:09.169-07:00Enable X Shared Memory Extension Pixmaps<div dir="ltr" style="text-align: left;" trbidi="on">Definitely not encouraged to use, sometimes this feature is needed for using certain applications what depends on this deprecated X window extension.<br />
<br />
Found the solution on <a href="http://fxc.noaa.gov/FSD-NVIDIA-OB9-FXC.htm">http://fxc.noaa.gov/FSD-NVIDIA-OB9-FXC.htm</a>. More precisely, an example illustrating the details with Nvidia series on Fedora 14 is shown as follows.<br />
<br />
<pre class="brush: xml"># nvidia-xconfig: X configuration file generated by nvidia-xconfig
# nvidia-xconfig: version 260.19.29 </pre><pre class="brush: xml"># (buildmeister@swio-display-x86-rhel47-04.nvidia.com) Wed Dec </pre><pre class="brush: xml"># 8 12:27:39 PST 2010
Section "ServerLayout"
Identifier "Layout0"
Screen 0 "Screen0" 0 0
InputDevice "Keyboard0" "CoreKeyboard"
InputDevice "Mouse0" "CorePointer"
EndSection
Section "Files"
FontPath "/usr/share/fonts/default/Type1"
EndSection
Section "InputDevice"
# generated from default
Identifier "Mouse0"
Driver "mouse"
Option "Protocol" "auto"
Option "Device" "/dev/input/mice"
Option "Emulate3Buttons" "no"
Option "ZAxisMapping" "4 5"
EndSection
Section "InputDevice"
# generated from data in "/etc/sysconfig/keyboard"
Identifier "Keyboard0"
Driver "kbd"
Option "XkbLayout" "us"
Option "XkbModel" "pc105"
EndSection
Section "Monitor"
Identifier "Monitor0"
VendorName "Unknown"
ModelName "Unknown"
HorizSync 28.0 - 33.0
VertRefresh 43.0 - 72.0
Option "DPMS"
EndSection
Section "Device"
Identifier "Device0"
Driver "nvidia"
VendorName "NVIDIA Corporation"
Option "AllowSHMPixmaps" "true"
EndSection
Section "Screen"
Identifier "Screen0"
Device "Device0"
Monitor "Monitor0"
DefaultDepth 24
SubSection "Display"
Depth 24
EndSubSection
EndSection
</pre><br />
The enabling appendix is simply the single line below.<br />
<span bold="true">Option "AllowSHMPixmaps" "true"</span><br />
<br />
Then reboot the system to make it effect.<br />
<br />
Following code snippet could be used for verifying the availability of this feature:<br />
<br />
<pre class="brush: cpp">int vmajor;
int vminor;
bool vpixmap;
bool shm_flag;
if (XShmQueryVersion(window->getDisplay(),&vmajor,&vminor,&vpixmap) != True) {
cerr << "X Shared Memory Extension not supported." << endl;
shm_flag=false;
}
else if (vpixmap != True) {
cerr << "X Shared Memory Extension Pixmap not supported." << endl;
shm_flag=false;
}
else {
// do what is relying on the MIT-SHM feature from here on
......
}
</pre></div><div class="blogger-post-footer">http://feeds.feedburner.com/SurfingTroves</div>Surfing Troveshttp://www.blogger.com/profile/07005425779123795943noreply@blogger.com0tag:blogger.com,1999:blog-5353799867078994058.post-32017969923968536692011-01-06T08:35:00.000-08:002011-01-06T09:25:51.936-08:00How to get the screen resolution in Linux C (and more X window information)<span style="font-size: large;"><b style="font-family: Georgia,"Times New Roman",serif;">Linux C: get the screen resolution and window size </b></span> <br />
<br />
Happened to necessitate the retrieval of information about the screen of the canonical X window system (X11) in use while I am employing Fedora Linux release 14.<br />
<br />
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.<br />
<br />
Actually it is quite simpler than it might be postulated to be:<br />
<br />
<pre class="brush: c">// -----------------------------------------------------------
// Purpose : simply retrieve current X screen resolution and
// the size of current root window of the default
// screen of curent default window
// -----------------------------------------------------------
#include <X11/Xlib.h>
#include <stdio.h>
int getRootWindowSize(int *w, int *h)
{
Display* pdsp = NULL;
Window wid = 0;
XWindowAttributes xwAttr;
pdsp = XOpenDisplay( NULL );
if ( !pdsp ) {
fprintf(stderr, "Failed to open default display.\n");
return -1;
}
wid = DefaultRootWindow( pdsp );
if ( 0 > wid ) {
fprintf(stderr, "Failed to obtain the root windows Id "
"of the default screen of given display.\n");
return -2;
}
Status ret = XGetWindowAttributes( pdsp, wid, &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, "Failed to open default display.\n");
return -1;
}
pscr = DefaultScreenOfDisplay( pdsp );
if ( !pscr ) {
fprintf(stderr, "Failed to obtain the default screen of given display.\n");
return -2;
}
*w = pscr->width;
*h = pscr->height;
XCloseDisplay( pdsp );
return 0;
}
int main()
{
int w, h;
getScreenSize(&w, &h);
printf (" Screen: width = %d, height = %d \n", w, h);
getRootWindowSize(&w, &h);
printf (" Root Window: width = %d, height = %d \n", w, h);
return 1;
}
/* gcc -o $@ $< -lX11 */
/* set ts=4 sts=4 tw=100 sw=4 */
</pre>You can also retrieve more information about the X window system you are currently using, such as display name and the tag of vendor. <br />
<pre class="brush: c">// -----------------------------------------------------------
// Purpose : simply retrieve current X windows information
// -----------------------------------------------------------
#define XLIB_ILLEGAL_ACCESS
#include <X11/Xlib.h>
#include <stdio.h>
int main()
{
Display* pdsp = XOpenDisplay(NULL);
Window wid = DefaultRootWindow(pdsp);
Screen* pwnd = DefaultScreenOfDisplay(pdsp);
int sid = DefaultScreen(pdsp);
XWindowAttributes xwAttr;
XGetWindowAttributes(pdsp,wid,&xwAttr);
printf (" name : %s\n vendor : %s\n", pdsp->display_name, pdsp->vendor);
printf (" pos : (%d, %d), width = %d, height = %d \n",
xwAttr.x, xwAttr.y, xwAttr.width, xwAttr.height);
XCloseDisplay( pdsp );
return 1;
}
/* gcc -o $@ $< -lX11 */
/* set ts=4 sts=4 tw=100 sw=4 */
</pre><br />
Note that here "#define XLIB_ILLEGAL_ACCESS" was used for accessing to some of the data member in the Display structure in C. <br />
<br />
For more data member accessible, see the definition/declarations in the header /usr/include/X11/Xlib.h.<br />
<br />
PS: It is thankfully in the courtesy of <a href="http://www.craftyfella.com/2010/01/syntax-highlighting-with-blogger-engine.html">http://www.craftyfella.com/2010/01/syntax-highlighting-with-blogger-engine.html</a> 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 <a href="http://www.craftyfella.com/2010/01/syntax-highlighting-with-blogger-engine.html">craftyfella</a>!<div class="blogger-post-footer">http://feeds.feedburner.com/SurfingTroves</div>Surfing Troveshttp://www.blogger.com/profile/07005425779123795943noreply@blogger.com13tag:blogger.com,1999:blog-5353799867078994058.post-53639865888350505202011-01-03T17:35:00.000-08:002011-01-03T17:36:03.944-08:00Can not find man page for GLUT routines in Linux?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:<br />
<br />
sudo yum list "*glut*"<br />
<br />
more than a couple was found and following two are among the alternatives:<br />
<br />
sudo -y install freeglut freeglut-evel<br />
<br />
<br />
now enter into vim again and try ^K on "glutWindowSize" for instance, check if it works now.<div class="blogger-post-footer">http://feeds.feedburner.com/SurfingTroves</div>chapple.caihttp://www.blogger.com/profile/05417712358820523031noreply@blogger.com0tag:blogger.com,1999:blog-5353799867078994058.post-18456330208107087992011-01-03T16:19:00.000-08:002011-01-03T16:19:52.608-08:00Fix bugs for Buidling installation of G3D 7.01 in Fedora 14Today I am porting such and such a 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!<br />
<br />
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 <a href="http://sourceforge.net/projects/g3d/files/g3d-cpp/7.01/G3D-7.01-src.zip/download">http://sourceforge.net/projects/g3d/files/g3d-cpp/7.01/G3D-7.01-src.zip/download</a> in Fedora 14. I deem the same problems and solutions may as well be portable to other Linux distributions and various versions of specific distribution.<br />
<br />
1. Edit GLG3D.lib/include/GLG3D/Discovery2.h, add the header including definition of the macro "INT_MAX" which was referred at line 68 in this file, where the first problem you will run across in the first try of building using "./buildg3d all" or "buildg3d --install all", or so forth the similar.<br />
<br />
I simply added "#include <limits.h>" right after "#include <string.h>", actually an c++ header equivalent is "climits".<br />
<br />
<br />
(<b>Where is "INT_MAX", "LONG_MAX", etc, defined?</b>) <br />
I found the container header of this macro at <a href="http://www.fredosaurus.com/notes-cpp/90summaries/summary-headers.html">http://www.fredosaurus.com/notes-cpp/90summaries/summary-headers.html</a>, you may find it useful further in the future. <br />
<br />
2. In order to get a complete installation, test code should not be skipped either, so this fix is necessary:<br />
<br />
in tools/viewer/MD2Viewer.cpp : 108, change<br />
currentPose = MD2Model::Pose::Pose(MD2Model::STAND, 0);<br />
into<br />
currentPose = MD2Model::Pose(MD2Model::STAND, 0);<br />
<br />
I am bit of wondering why there the class Pose 's constructor should be called in this explicit way with this originally buggy code.<br />
<br />
3. now get back to the source directory (where ./buildg3d lies),<br />
./buildg3d --install all"<br />
<br />
then the library will be installed straightforwardly.<div class="blogger-post-footer">http://feeds.feedburner.com/SurfingTroves</div>Surfing Troveshttp://www.blogger.com/profile/07005425779123795943noreply@blogger.com0tag:blogger.com,1999:blog-5353799867078994058.post-48143575176756275072011-01-03T13:44:00.000-08:002011-01-03T17:25:02.118-08:00A Funny Time Varying VIM color scheme switchingVi/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.<br />
<br />
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.<br />
<br />
The snippet 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.<br />
<br />
<br />
<pre style="color: black; font-family: Georgia,"Times New Roman",serif;"><span style="font-size: small;"><i>" # intelligent colorscheme switching
let weekday=system('date +%u')
let hour=system('date +%H')
" if the shell command gets any exception during execution, nothing will be </i></span></pre><pre style="color: black; font-family: Georgia,"Times New Roman",serif;"><span style="font-size: small;"><i>" done on color scheme setting
if !v:shell_error
" in other time slots than mornings and evenings, scheme to be applied depends </i></span></pre><pre style="color: black; font-family: Georgia,"Times New Roman",serif;"><span style="font-size: small;"><i> " on which the weekday it is today, beginning from 1 as Monday, through 6 as </i></span></pre><pre style="color: black; font-family: Georgia,"Times New Roman",serif;"><span style="font-size: small;"><i> " Saturday and Sunday numbered as 0
if 1== weekday
let coloration="elflord"
elseif 2 == weekday
let coloration="koehler"
elseif 3 == weekday
let coloration="slate"
elseif 4 == weekday
let coloration="zellner"
elseif 5 == weekday
let coloration="torte"
elseif 6 == weekday
let coloration="ron"
else "Sundays
let coloration="blue"
endif </i></span></pre><pre style="color: black; font-family: Georgia,"Times New Roman",serif;"><span style="font-size: small;"><i> </i></span></pre><pre style="color: black; font-family: Georgia,"Times New Roman",serif;"><span style="font-size: small;"><i> " exert the color scheme application
execute "colorscheme ".coloration </i></span></pre><pre style="color: black; font-family: Georgia,"Times New Roman",serif;"><span style="font-size: small;"><i> </i></span></pre><pre style="color: black; font-family: Georgia,"Times New Roman",serif;"><span style="font-size: small;"><i><i> " in mornings, alwasy using the "morning" scheme
if hour >= 7 && hour <= 10
let coloration="morning"
" in evenings, alwasy using the "evening" scheme
elseif hour >= 18 && hour <= 23
let coloration="evening"
endif</i></i></span></pre><pre style="color: black; font-family: Georgia,"Times New Roman",serif;"><i><i><span style="font-size: small;"><i><i> </i></i></span></i></i></pre><pre style="color: black; font-family: Georgia,"Times New Roman",serif;"><i><i><span style="font-size: small;"><i><i>endif</i></i></span></i></i></pre><br />
<br />
Just give it a try, you may be intrigued with use of it afterwards like me!<br />
<br />
-----------------------------------<br />
other interesting links<br />
-------------------------------------<br />
<br />
Full range of vim color scheme implemented in a Google code project<br />
<a href="http://vimcolorschemetest.googlecode.com/svn/html/index-c.html">http://vimcolorschemetest.googlecode.com/svn/html/index-c.html</a><br />
<br />
A find-tweaked color scheme for Mac:<br />
<a href="http://blog.toddwerth.com/entries/show/8">http://blog.toddwerth.com/entries/show/8</a><div class="blogger-post-footer">http://feeds.feedburner.com/SurfingTroves</div>Surfing Troveshttp://www.blogger.com/profile/07005425779123795943noreply@blogger.com1tag:blogger.com,1999:blog-5353799867078994058.post-58636890063580075602011-01-01T19:24:00.000-08:002011-01-04T08:14:41.386-08:00Install Nvidia Driver (non Gefore series) in Fedora 14<div style="font-family: Times,"Times New Roman",serif;"><span style="font-size: small;">Intro: </span></div><div style="font-family: Times,"Times New Roman",serif;"><span style="font-size: small;"><br />
</span></div><div style="font-family: Times,"Times New Roman",serif;"><span style="font-size: small;">While here places a complete guide that is already great for novices in Fedora community at <a href="http://www.if-not-true-then-false.com/2010/fedora-14-nvidia-drivers-install-guide-disable-nouveau-driver/">http://www.if-not-true-then-false.com/2010/fedora-14-nvidia-drivers-install-guide-disable-nouveau-driver/</a>, following text will act as a complementary instruction for those who are using Nvidia Driver Card other than in the Geforce / Geforce FX series, Quadro FX, for instance. (some parts actually are learned from the this page)</span></div><div style="font-family: Times,"Times New Roman",serif;"><span style="font-size: small;"><br />
</span></div><div style="font-family: Times,"Times New Roman",serif;"><span style="font-size: small;">Steps: </span></div><div style="font-family: Times,"Times New Roman",serif;"><span style="font-size: small;"><br />
</span></div><div style="font-family: Times,"Times New Roman",serif;"><span style="font-size: small;">1. update to the latest kernel and restart the OS</span></div><div style="font-family: Times,"Times New Roman",serif;"><span style="font-size: small;">by</span></div><pre class="bash" style="font-family: Times,"Times New Roman",serif;"><span style="font-size: small;">yum update kernel<span style="color: black; font-weight: bold;">*</span>
reboot</span></pre><div style="font-family: Times,"Times New Roman",serif;"><span style="font-size: small;"><br />
</span></div><div style="font-family: Times,"Times New Roman",serif;"><span style="font-size: small;">2. make sure a correct xorg configuration, i.e. /etc/X11/xorg.conf, contains things about nvidia like the following</span></div><i><span style="font-family: Times,"Times New Roman",serif; font-size: small;">Section <span style="color: red;">"Files"</span></span></i><br />
<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family: Times,"Times New Roman",serif;"><i><span style="font-size: small;"> ModulePath <span style="color: red;">"/usr/lib64/xorg/modules/extensions/nvidia"</span>
ModulePath <span style="color: red;">"/usr/lib64/xorg/modules"</span>
EndSection</span></i></pre><pre class="bash" style="font-family: Times,"Times New Roman",serif;"><span style="font-size: small;">
</span></pre><pre class="bash" style="font-family: Times,"Times New Roman",serif;"><span style="font-size: small;">(If for 32bit platform, use lib instead of lib64 in the paths above)</span></pre><pre class="bash" style="font-family: Times,"Times New Roman",serif;"><span style="font-size: small;">(If the xorg.conf file does not exist before, simply create it and add the stuff above)</span></pre><pre class="bash" style="font-family: Times,"Times New Roman",serif;"><span style="font-size: small;">
</span></pre><pre class="bash" style="font-family: Times,"Times New Roman",serif;"><span style="font-size: small;">3. Change Configuration of the Grub Bootloader by changing the current /boot/grub/grub.conf into text </span></pre><pre class="bash" style="font-family: Times,"Times New Roman",serif;"><span style="font-size: small;">like the following </span></pre><pre class="bash" style="font-family: Times,"Times New Roman",serif;"><span style="font-size: small;">
</span></pre><pre class="bash" style="font-family: Times,"Times New Roman",serif;"><i><span style="font-size: small;">default=0
timeout=5
splashimage=(hd0,0)/boot/grub/splash.xpm.gz </span></i></pre><pre class="bash" style="font-family: Times,"Times New Roman",serif;"><i><span style="font-size: small;"> </span></i></pre><pre class="bash" style="font-family: Times,"Times New Roman",serif;"><i><span style="font-size: small;">hiddenmenu </span></i></pre><pre class="bash" style="font-family: Times,"Times New Roman",serif;"><i><span style="font-size: small;">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</span></i></pre><pre class="bash" style="font-family: Times,"Times New Roman",serif;"><i><span style="font-size: small;"> rd_NO_LUKS rd_NO_LVM rd_NO_MD rd_NO_DM LANG=en_US.UTF-8 SYSFONT=latarcyrheb-sun16 </span></i></pre><pre class="bash" style="font-family: Times,"Times New Roman",serif;"><i><span style="font-size: small;">KEYTABLE=us rhgb quiet <span style="color: blue;">rdblacklist=nouveau nouveau.modeset=0</span>
initrd /boot/initramfs-2.6.35.10-74.fc14.x86_64.img </span></i></pre><pre class="bash" style="font-family: Times,"Times New Roman",serif;"><i><span style="font-size: small;"> </span></i></pre><pre class="bash" style="font-family: Times,"Times New Roman",serif;"><i><span style="font-size: small;">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 </span></i></pre><pre class="bash" style="font-family: Times,"Times New Roman",serif;"><span style="font-size: small;"><i>rd_NO_LUKS rd_NO_LVM rd_NO_MD rd_NO_DM LANG=en_US.UTF-8 SYSFONT=latarcyrheb-sun16</i></span></pre><pre class="bash" style="font-family: Times,"Times New Roman",serif;"><span style="font-size: small;"><i> KEYTABLE=us rhgb quiet
initrd /boot/initramfs-2.6.35.6-45.fc14.x86_64.img </i></span></pre><pre class="bash" style="font-family: Times,"Times New Roman",serif;"><span style="font-size: small;"><i> </i></span></pre><pre class="bash" style="font-family: Times,"Times New Roman",serif;"><span style="font-size: small;"><i>title windows 7
rootnoverify (hd0,3)
chainloader +1</i>
</span></pre><pre class="bash" style="font-family: Times,"Times New Roman",serif;"><span style="font-size: small;">
</span></pre><pre class="bash" style="font-family: Times,"Times New Roman",serif;"><span style="font-size: small;">the key is the blued text, which is added to disable the default display driver : nouveau. If this is </span></pre><pre class="bash" style="font-family: Times,"Times New Roman",serif;"><span style="font-size: small;">missed, you will be told in the step 4 below that the installer can not proceed due to the nouveau is not</span></pre><pre class="bash" style="font-family: Times,"Times New Roman",serif;"><span style="font-size: small;">disabled.</span></pre><pre class="bash" style="font-family: Times,"Times New Roman",serif;"><span style="font-size: small;">
</span></pre><pre class="bash" style="font-family: Times,"Times New Roman",serif;"><span style="font-size: small;">4. download driver from Nvidia official site, for linux x86_64 we are using </span></pre><pre class="bash" style="font-family: Times,"Times New Roman",serif;"><span style="font-size: small;"><a href="http://us.download.nvidia.com/XFree86/Linux-x86_64/260.19.29/NVIDIA-Linux-x86_64-260.19.29.run">http://us.download.nvidia.com/XFree86/Linux-x86_64/260.19.29/NVIDIA-Linux-x86_64-260.19.29.run</a> </span></pre><pre class="bash" style="font-family: Times,"Times New Roman",serif;"><span style="font-size: small;">for now, wget it to a handy location, /root, say.</span></pre><pre class="bash" style="font-family: Times,"Times New Roman",serif;"><span style="font-size: small;">
</span></pre><pre class="bash" style="font-family: Times,"Times New Roman",serif;"><span style="font-size: small;">5. reboot, then select the latest kernel item, and</span></pre><pre class="bash" style="font-family: Times,"Times New Roman",serif;"><i><span style="font-size: small;"> press "e" to edit it</span></i></pre><pre class="bash" style="font-family: Times,"Times New Roman",serif;"><i><span style="font-size: small;"> choose the "kernel /boot/vmlinuz-2.6.35.10-7...." line and press "e" to edit again</span></i></pre><pre class="bash" style="font-family: Times,"Times New Roman",serif;"><i><span style="font-size: small;"> append "single" to the line and press enter to get back to the previous interface</span></i></pre><pre class="bash" style="font-family: Times,"Times New Roman",serif;"><i><span style="font-size: small;"> press "b" to trigger the bootstrap</span></i></pre><pre class="bash" style="font-family: Times,"Times New Roman",serif;"><span style="font-size: small;"> </span></pre><pre class="bash" style="font-family: Times,"Times New Roman",serif;"><span style="font-size: small;">6. now that get in the Level 1 (single user mode), enter Level 3 (I did not check if this is necessary)</span></pre><pre class="bash" style="font-family: Times,"Times New Roman",serif;"><span style="font-size: small;">by<i> "/sbin/init 3"</i></span></pre><pre class="bash" style="font-family: Times,"Times New Roman",serif;"><span style="font-size: small;"> </span></pre><pre class="bash" style="font-family: Times,"Times New Roman",serif;"><span style="font-size: small;">7. Run the installer</span></pre><pre class="bash" style="font-family: Times,"Times New Roman",serif;"><span style="font-size: small;"> <i>sh /root/NVIDIA-Linux-x86_64-260.19.29.run -a</i></span></pre><pre class="bash" style="font-family: Times,"Times New Roman",serif;"><span style="font-size: small;"><i> </i></span></pre><pre class="bash" style="font-family: Times,"Times New Roman",serif;"><span style="font-size: small;">(if you are installing for the first time, you might already nvidia-installer on you machine,</span></pre><pre class="bash" style="font-family: Times,"Times New Roman",serif;"><span style="font-size: small;">then you don't need to download beforehand, instead a simpler way is :</span></pre><pre class="bash" style="font-family: Times,"Times New Roman",serif;"><span style="font-size: small;"> </span></pre><pre class="bash" style="font-family: Times,"Times New Roman",serif;"><span style="font-size: small;"><i>nvidia-install -a --update </i></span></pre><pre class="bash" style="font-family: Times,"Times New Roman",serif;"><span style="font-size: small;"> </span></pre><pre class="bash" style="font-family: Times,"Times New Roman",serif;"><span style="font-size: small;">you can by this get the latest driver and install it. but this will demand a network access</span></pre><pre class="bash" style="font-family: Times,"Times New Roman",serif;"><span style="font-size: small;">of course, see this page (<a href="http://www.blogger.com/goog_249665570">http://surfingtroves.blogspot.com/2010/12/linux-access-network</a></span></pre><pre class="bash" style="font-family: Times,"Times New Roman",serif;"><span style="font-size: small;"><a href="http://-service-in-single.html/">-service-in-single.html</a> ) for enabling network access in the single user mode, as is suitable</span></pre><pre class="bash" style="font-family: Times,"Times New Roman",serif;"><span style="font-size: small;">for being at Level 3. </span></pre><pre class="bash" style="font-family: Times,"Times New Roman",serif;"><span style="font-size: small;"> </span></pre><pre class="bash" style="font-family: Times,"Times New Roman",serif;"><span style="font-size: small;">8. when finished, restart, and the installation should be well done.</span></pre><pre class="bash" style="font-family: Times,"Times New Roman",serif;"><span style="font-size: small;">
</span></pre><pre class="bash" style="font-family: Times,"Times New Roman",serif;"><span style="font-size: small;">
</span></pre><pre class="bash" style="font-family: monospace;"></pre><pre class="bash" style="font-family: monospace;"></pre><pre class="bash" style="font-family: monospace;"></pre></div></div><div class="blogger-post-footer">http://feeds.feedburner.com/SurfingTroves</div>Surfing Troveshttp://www.blogger.com/profile/07005425779123795943noreply@blogger.com0