-
Recent Posts
Archives
Categories
Meta
Blogroll
Books and Reference
Complex Event Processing
Discretionary Trading
Machine Learning
Market Impact
Misc
Momentum
Portfolio Investing
Probability
Regression
Statistics
Support Vector Machines
Time Series Analysis
Tutorials
Video Tutorials
Monthly Archives: January 2017
Searching / Finding Files Containing Text
grep -rnw helloWorld | grep src/ | cut -c -200
What to do if logging in to Ubuntu Unity Desktop Fails
I occasionally have an error where: – I try to log into Ubuntu Unity Desktop – I type in password successfully – After a few seconds the screen flickers and I am taken back to the login prompt. This problem … Continue reading
Using SQL Alchemy With New Server Bot
Had a problem using SQLAlchemy in Python 3.5, as MySqlDB is not in Python 3.x. The solution is to specify pymysql in the connection string. E.g. mysql+pymysql://user:password@localhost/database To set the user, I went to the users and priveleges page of … Continue reading
Making Cuda Work With Numba
Add these lines to .bashrc: export NUMBAPRO_LIBDEVICE=/usr/local/cuda/nvvm/libdevice export NUMBAPRO_NVVM=/usr/local/cuda/nvvm/lib64/libnvvm.so.3 More info: http://stackoverflow.com/questions/41496299/library-nvvm-not-found-when-trying-to-use-numba
Example Crontab
An example crontab for my Linode box, which runs scheduled Python scripts. The PATH and PYTHONPATH lines set environment variables. The scripts reside in /srv/, rather than /home, as I also use apache, which would have trouble reading scripts from … Continue reading
Ubuntu Things To Do After Install
A list of things to do when installing my dev machine, which took me a week and a half to work out due to NVIDIA drivers causing boot issues. So I want to document it here. The purpose of the … Continue reading
Installing NVidia Drivers on Ubuntu
https://elementaryforums.com/index.php?threads/howto-install-latest-nvidia-driver-on-linux-without-getting-black-screen.7/ The important bit: #Would you like to run the nvidia-xconfig utility to automatically update your X Configuration file so set the NVIDIA X driver will be used when you restart X? #no,no,No,NO,NO!!!