These are some easy steps required to setup Git for Windows:
Download msysGit from: http://code.google.com/p/msysgit
I prefer to use the portable version. At the time of this writing there’s no difference between 32 bit and 64 bit versions and the filename for the portable version is: PortableGit-1.7.10-preview20120409.7z. Currently it seems that the development of the project has been moved to GitHub, but the releases are still located in Google Code.
I downloaded the Qt SDK (offline installer version which was 1.7 GB) from: http://qt.nokia.com/downloads
At the time of this writing, the Qt libraries version was 4.7.3.
Then I downloaded the VS-Addin, using the link at the bottom of the downloads page, titled “Qt Visual Studio Add-in”.
After installing both SDK, and the VS-Addin on my system, I started Visual Studio 2010. I tried to create a sample project by selecting: File > New > Project… > Qt4 Projects > Qt Application, and specified proper values for Name and Location.
Run a command prompt as administrator.
Run the following command:
powercfg.exe -h off The disk space is freed immediately. To turn it back on run:
powercfg.exe -h on Reference: [+]
PdfLaTeX does not support eps files by default. Add the following imports in the beginning:
\usepackage{graphicx} % already added \usepackage{epstopdf} After that the includegraphics commands with eps arguments should produce no problems.
Reference: [+]
Here are the methods to calculate mean, variance, and standard deviation of a vector of values. These are put here for easy reference, so that I do not need to rewrite them again (and again (and again)).
The following method is a utility method for creating the K divisions upon which one is going to perform the K-fold cross validation operation. The input of the method is the length of the training data, and the number K. The output conveys which indices of the training-data is to be put in each division.
Some classes use external data files which are located in the same directory as the one that the .java file is located, or somewhere nearby which can be easily addressed with a relative path. This happens a lot for me, esp. when I am running open source programs developed by someone else. As an example, imagine a class called SampleClass located in a directory in which there exists a text file with the name of SomeFile.