Ongoing CUDA work, aka, I love this book.

If anyone has any interest in CUDA, or GPU/Parallel programming in general, David B. Kirk and Wen-mei Hwu’s groundbreaking “Programming Massively Parallel Processors” is a must. ** The sub-title of the book is “A Hands on Approach” and I didn’t get it until a third of the way through the book, that that’s exactly what it is. The pairing of Kirk, a NVIDIA Fellow, outgoing NVIDIA Chief Scientist and generally world-weary technologist and all round ‘hardware guru’ with Hwu, a well-heeled educator and researcher at the University of Illinois provide a practical but in-depth look at not just the pure ‘programming’ to deal with massivly parallel processing, but instead assumes that the reader can work out for instance how to do Matrix Multiplication the ‘basic’ way from looking at the NVIDIA CUDA API’s, and looks at how to take advantage of the hardware to give sometimes incredible speed increases. ...

June 14, 2010 · Andrew Bolster

Automagic Kernel Cleaning under Ubuntu

Sick of having dozens of old kernels sitting under your /boot/ dir? Want a simpler boot-life? Well we’ve got the solution for you. Just one course of cleankernel once an upgrade cycle will remove all previous kernel entries from your bootloader and /boot/ dir. Basically, it lists what kernels you currently have in your /boot/ and removes them using apt .

May 31, 2010 · Andrew Bolster

Shared Items - 19/05/2010

Illustrated Guide Explains Your Mind’s Decision Biases [Mind Hacks] NIST Releases Updated Handbook of Math Functions Matplotlib For Python Developers

May 19, 2010 · Andrew Bolster

SEE, Programming Abstractions, Assignment 1

SEE, or, Stanford Engineering Everywhere, has turned out to be my favourite E-learning resource; I’ve dipped into it a few times over the past few years but in light of my recent investment into a CUDA enabled Graphics Card, I thought that it was coming high time to brush up on my C++ programming, which I’ve basically left stagnant for two years after advancing no further than function pointers, structures, and templates. So, in the spirit of openness that SEE tries to foster, I’ll be blogging my work through their CS106B course, Programming Abstractions, the second of three programming courses. (I passed on CS106A, Programming Methodology, since I’ve had enough Java shoved down my throat to last a lifetime…). ...

April 28, 2010 · Andrew Bolster

Shared Items - 21/04/2010

Twittering pub hanging Questions to Ask if You’re Thinking of Getting Involved in Open Source Backing Up With rsync And Managing Previous Versions/History How To Write Your First Google Android Application How to Build your Wardrobe – Part 1 TeamViewer Remote Desktop Tool Available for Linux [Updates]

April 21, 2010 · Andrew Bolster

Listing just dot-files

Its a problem that I’ve come across, and I’m not the only one, so heres what works for me to find those pesky files that start with a . ls -a | egrep -i "^\." This only works in the current working directory, which is the normal usage. FYI the reason that this is problematic is that the ‘.’ symbol is a single character wildcard; most people are familiar with the asterisk ‘*’ indicating ‘anything, however long’, whereas the ‘.’ means ‘any single character’. ...

April 9, 2010 · Andrew Bolster

Mod_Rewrite in Apache2

Just incase you forget how to fix this the easy way: Enable mod_rewrite for URL voodoo; (Or any module replacing the rewrite ) $sudo a2enmod rewrite $sudo service apache2 restart Remember to fiddle with /etc/apache2/sites-available.*< \pre> and change "AllowOverride none" to "all" in any places that you're having trouble with rewritten URL's

April 1, 2010 · Andrew Bolster

Shared Items - 31/03/2010

NumberQuotes Gives Perspective to Your Statistics, Is Great for Presentations [Statistics] The Menaissance: The Death of the Metrosexual and the Rise of the Retrosexual Jesus Loves Me? World’s Most Stunning Data Centers Jason takes us through exploit a web application, uploading a… IF YOU DON’T STUDY Recursively remove all empty directories Top 10 Atheism Quotes Dynamic lighting effects in Canvas Digg: 4000% Performance Increase by Sorting in PHP Rather than MySQL ...

March 31, 2010 · Andrew Bolster

Installing and Configuring NS-3 on a Ubuntu System

** NS-3 Appears to have a staggeringly steep learning curve so I hope these posts help out someone else (or me, when i forget all this in a month). Running off a virtualised Ubuntu 9.10 system, the prerequisites I installed were all the ones listed here. (And i removed some out of date packages) sudo apt-get install bison bzr dia doxygen flex g++ gcc gdb graphviz imagemagick libgoocanvas-dev libgtk2.0-0 libgtk2.0-dev libsqlite3-dev libxml2 libxml2-dev mercurial python python-dev python-kiwi python-pygoocanvas python-pygraphviz sqlite sqlite3 tcpdump texi2html texinfo texlive texlive-extra-utils valgrind ...

March 14, 2010 · Andrew Bolster

Mercurial Quick Start Cheatsheet

I hadn’t used Mercurial before so I thought it might be a good idea to leave a reminder for me and anyone else who comes across it… For tidyness, I do all of my dev-stuff (Subversion, Mercurial, CVS, Git etc) under ~/src and only take root privileges when its needed; any good makefile should relocate the necessary files for you at the ‘make install’ or equivalent point. **Update:**This article was picked up by the guys at DevCheatSheet.com and I’m really honoured to be included in a site that I’ve been dipping into over the years, so if you need any kind of cheat sheet or quick reference, I highly recommend checking them out. Anyway… ...

March 13, 2010 · Andrew Bolster