Booting from SD Card on a X230
The SD Card slot is unfortunately on the PCI bus, so it doesn’t show up as a bootable device. Solution: Have a /boot partition on an internal drive, point that at the SD card. Reclaimed ~900MB from Lenovo’s system restore partition to make a /boot partition. GRUB was added to the internal drive. As suggested […]
TF2 on DigitalOcean
Posted by Sysadmin on July 20, 2014
inOr how I spent 3 cents on Digital Ocean to play MvM with my friends for 2 hours. Maybe the MvM servers were having issues, but 4 different people trying to create a game didn’t work (or at least TF2 kept on saying ‘connection error’ – for everyone. So I decided to try and spin […]
Fixing a mangled NTFS partition: success
Posted by Sysadmin on April 21, 2014
inA follow-up from kyl191.net/2012/08/rebuilding-a-partition-table-after-failed-resize/ Almost two years on, Correcting errors in the Master File Table (MFT) mirror. Correcting errors in the master file table’s (MFT) BITMAP attribute. Correcting errors in the Volume Bitmap. Windows has made corrections to the file system. My drive is back! And seemingly OK! I’m celebrating by setting up a Python […]
Musings on the Mythical Man-Month Chapter 2
Posted by Personal, Programming on April 2, 2014
intl;dr: Scheduling tasks is hard We assume everything will go well, but we’re actually crap at estimating We confuse progress with effort Because we’re crap at estimating, managers are also crap at estimating Progress is poorly monitored If we fall behind, natural reaction is to add more people Overly optimistic: Three stages of creation: Idea, […]
Musings on The Mythical Man-Month Chapter 1
Posted by Personal, Programming on April 1, 2014
inSummary of the chapter: Growing a program A standalone product, running on the dev’s environment, is cheap. It gets expensive if: You make it generic, such that it can be extended by other people. This means you have to document it, testing it (unit tests!), and maintain it. You make it part of a larger […]
CyanogenMod 11 Nightly on a GSM Galaxy Nexus
Posted by Uncategorized on December 24, 2013
inI have a Galaxy Nexus, and have been pretty happy with it. Then Google said it wouldn’t update the Galaxy Nexus to 4.4, and 4.4 is all swanky and new and most importantly, supports low memory devices better. So I want it. And guess what? CyanogenMod is pushing out 4.4 in CM11. The real push […]
Getting Django running on CentOS 6
Posted by Sysadmin, Uncategorized on October 27, 2013
inTrying to follow this guide: www.digitalocean.com/community/articles/how-to-install-and-configure-django-with-postgres-nginx-and-gunicorn epel6 rpms only seem to install 8.4 at this time, not 9.3 (strangely, since 8.4 isn’t supported anymore, so… I have many questions) Official 9.3 installation go! wiki.postgresql.org/wiki/YUM_Installation But WTF1: It was installed to /usr/pqsql-9.3, which wasn’t in the search path, so all the createdb and etc commands didn’t […]
Django + Nginx resources
Posted by Programming, Sysadmin on October 26, 2013
inFor SE Hack Day: michal.karzynski.pl/blog/2013/06/09/django-nginx-gunicorn-virtualenv-supervisor/ looks the best (along with michal.karzynski.pl/blog/2013/07/14/using-redis-as-django-session-store-and-cache-backend/) wiki.nginx.org/DjangoFastCGI and https://code.djangoproject.com/wiki/DjangoAndNginx are Django + FastCGI adambard.com/blog/start-to-finish-serving-mysql-backed-django-w/ blog.richard.do/index.php/2013/04/setting-up-nginx-django-uwsgi-a-tutorial-that-actually-works/ serverfault.com/questions/370525/nginxdjango-serving-static-files/370573#370573 stackoverflow.com/questions/17511466/deploying-django-on-nginx www.digitalocean.com/community/articles/how-to-install-and-configure-django-with-postgres-nginx-and-gunicorn because postgres
CSS animations/transitions
Posted a bunch of stuff I came across to the WaterlUX group page, figure I might as well document them here too: ricostacruz.com/jquery.transit/ (Lovely lovely annotated source at ricostacruz.com/jquery.transit/source/) daneden.me/animate/ – Memories of Overused Powerpoint animations spring to mind… But I can see using the attention getters & fadeIn/Outs on a webpage. Also, ninjaui.com/ for […]
‘Solving’ SQL injection in Java
Posted by Programming on October 13, 2013
inSo during the summer I worked on a large enterprisey Java program. (Singleton pattern ahoy!) One of the annoying things (besides massive code duplication) was it used database queries that naively appended user input (particularly search queries) onto selects. And from my web background, I knew that SQL injection makes wiping the table trivial. Or […]