Instructional


9
Jun 11

Change Kindle Network Provider

More a note for myself than anyone else. Stolen shamelessly from Marc Fletcher.

In Settings, alt+e,alt+q, alt+q.


23
May 11

Accidentally Proper Kindle PDF Document Conversion

Example of standard PDF 'conversion' I’ve discovered a strange undocumented* ‘feature’ of the Amazon Kindle document Delivery system. As it stands, if you send a document to username@free.kindle.com or @kindle.com, the document is sent onto your device at its convenience. Generally this is fine, but for most documents that people actually use (PDFs) this can be a pain as the service says it does not support PDF reflow, and on a smaller than A4/Letter screen, lovely documents end up looking like this…
Continue reading →


18
Apr 11

LU Decomposition in C (and under CUDA)

As part of any major project, it occasionally happens that you assume something is a ‘solved problem’ when its really not.

Continue reading →


14
Apr 11

CUDA Compute 20 Error and other issues

There’s a quirk of using older CUDA drivers is that  the latest NVIDIA SDK code examples are not backward compatible, i.e compiling the 3.0 SDK against the 2.3 toolkit (that I’ve spent the last day doing) is a fools errand (Thanks very much to @thebaron on #cuda on freenode and tkerwin on StackOverflow.)

Basically, the 3.x drivers reclassify newer cards based on the; previously, the ‘compute’ value (a measure of OpenCL adherence) would max out at 1.3, but now the range is extended up to 2.0, but the 2.3 toolkit does not recognise this value, so craps out.

nvcc fatal   : Unsupported gpu architecture 'compute_20'

The first solution is to try to use the 2.3 SDK instead, and thankfully, NVIDIA keeps a tidy library of back-releases. But upon installation of the 2.3 SDK, a new problem appeared. Lack of OpenGL Libraries… Unfortunately the machine I’m working on isn’t exactly standard issue so I’ll be asking the maintenance team to check it out on my behalf.

The secondary fix is to force nvcc to to use the older 1_3 capabilities in the makefile of the problematic kernels;

# CUDA source files (compiled with cudacc)
CUFILES_sm_13 := *.cu

There are a variety of these CUFILES_sm_XX clauses for different capabilities. Dig around the ../sdk/C/common/common.mk file for more hints.

PS This is a really old draft I found disgarded in my queue, so excuse me if this is very out of date.


24
Jul 10

Citrix Web Client with Ubuntu

Citrix Reciever LogoUbuntu is one of those polarising technologies; Its really easy to use on a recreational basis, or as part of a institution/business wide rollout, but heartbreakingly awkward to use ‘alone’ within an entrenched business setting.

Continue reading →


8
Jul 10

Intel 4965: Poor wireless performance under Ubuntu

I had an incident recently where the Windows 7 side of my laptop connected easily to an open AP, but the Ubuntu 10.04 (or 9.04, tried both) wouldn’t, with the Intel Iwlagn drivers reporting in syslog a deauth (reason=6), basically the card spoke too soon. I eventually found the solution.

Continue reading →


31
May 10

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. Continue reading →


28
Apr 10

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…).

Continue reading →


17
Apr 10

Add a Twitter @anywhere hovercard to links containing tweeps

Everyone and their dog has a walkthrough of adding @anywhere hovercards to your blog. But the default has a small failing that irked me when I was re-doing my Blogroll (check them out, they’re all great! I promise!), and that was that if you take a tweep, like @god for example, it’ll happily wrap the hovercard around it, but if you have a link to this great status that @god posted, @anywhere won’t pick this @god up.

Continue reading →


16
Apr 10

Shaded Headers in Thematic

So, as you can see the blog is sporting a new, cleaner look. Nothing better than experimenting! One of the nicer aspects of the new setup is the shaded headers (ie. <h1>/<h2> tags).

Continue reading →


Load Times Plugin made by Ares Free Download