[MySQL-errors] ERROR 1005 (HY000) at line 28: Can’t create table ‘X’ (errno: 150)

Spent quite a bit of time trying to figure this one out. It turns out, InnoDB wants an index created on a referenced field. It turns out, the error was as a result of a non-indexed referenced field–title_etd in this case. Continue reading “[MySQL-errors] ERROR 1005 (HY000) at line 28: Can’t create table ‘X’ (errno: 150)”

[R-scripts] ggplot2 Kiviat Plot Using coord_polar Function

I ran out of time a couple of months ago and decided to use the following quick hack to generatea Kiviat plot using ggplot2’s coord_polar function. Continue reading “[R-scripts] ggplot2 Kiviat Plot Using coord_polar Function”

[Bash-scripts] Recursive String Replacement

I had a bunch of makefiles that needed editing–finding and replacing occurrences of strings. It would have taken a long time to manually do it. I used the simple bash scirpt below to recursively barrow into all sub-directories, and subsequently find and replace all occurrences of strings in question. Continue reading “[Bash-scripts] Recursive String Replacement”

Android Tethering and Wi-Fi Hotspoting on Kubuntu Using WICD

I had a really tough time trying to tether my Android-based LG Optimus L5 mobile device, and additionally use it as a portable hotspot. The basic idea was to make it possible to access it via the Ubuntu 12.04.2 installed on my laptop; I run Kubuntu desktop environment on it by the way, and that kind of made it a lot harder… However, since I started using WICD [1] –all my problems are pretty much gone now 🙂 Continue reading “Android Tethering and Wi-Fi Hotspoting on Kubuntu Using WICD”

LaTeX Copy Editing – Using Aspell Interactive Spell Checker

I got feedback from my supervisor late last night –he’s clearly a night Owl. I’ve spent the last couple of hours going through his comments and there’re a number of suggested changes to be made in the three draft chapters I sent through to him. One thing was immediately clear: my manuscripts had tonnes of spelling and grammar mistakes… Continue reading “LaTeX Copy Editing – Using Aspell Interactive Spell Checker”