Skip to main content

Posts

Showing posts with the label linux

Update to Garmin Forerunner 305 and Linux

Since my last post about it, the method to upload via Garmin Connect has stopped working. It relied on using the old version of the Garmin website, which has been taken down. I now use GPSBabel with the front end gpsbabelfe (listed as gpsbabel-gui), both available on the Linux Mint repos. Using the input options: snwhite=0,get_posn=0,power_off=0,erase_t=0,resettime=0 and output options: course=0 Works well and can be uploaded straight into Strava.

Installing Julia on Linux Mint

I have started using Julia as my language of choice for mathematical programming. It is very nice, faster than Python, open source unlike Matlab, and an intuitive syntax so that migrating is simple. There are precompiled packages that can be downloaded from the website, but for whatever reason I had problems with them. One particular example was when performing a Cholesky decomposition of a matrix. As the matrix size increased the result became less and less similar to the Matlab decomposition of the same matrix and then crashed above a certain size. After googling for quite a while I found it was similar to issues other people had with the linear algebra subroutines. I found that downloading the source from github and compiling on my computer fixed the problem. Hence this is what I would recommend. This is how to install from a clean install of Linux Mint 17.1, but it should be effectively the same as for any Ubuntu based Linux distribution. Firstly install git sudo apt-get insta...

Windows 10 Upgrade Experiences

So I decided to upgrade my desktop to Windows 10 from 7 whilst it's free. Before the upgrade it had a dual boot with Linux Mint 17, which I had set up with the following partitions: 8Gb swap,  60Gb Linux,  60Gb Linux /home, 50Gb Windows,  322Gb shared partition. I downloaded the Windows 10 installer and started the update. The download is about 3Gb which was fine, but the first problem hit just after. The installer got stuck on "checking for updates", which after googling seems like a common problem. To fix it you have to restart windows update service by opening cmd in admin mode typing net stop wuauserv​ net start wuauserv​ I had to repeat this a few times before it finished.  The next problem was that the partition didn't have enough free space, which was a surprise as I only use Windows for games and those are on the shared partition. It turns out that although Windows 7 requires 20Gb to install, a normal install uses ~45Gb after all the updates. A...

Vim Cheat Sheet UK

VIM is amazing, the best text editor available. I have written everything from bash code to a PhD thesis using it. There is a really nice graphical cheat sheet available here http://www.viemu.com/a_vi_vim_graphical_cheat_sheet_tutorial.html but there is no UK layout. I have edited it for the UK, download as pdf  or svg