Category Archives: Linux

Lucid Lynx (10.04) and GRUB on Windows 7

In a previous post (Recovering GRUB After Installing Windows 7) I described a situation where GRUB would not be able to detect your Windows 7 boot partition after you installed Ubuntu.  The fix was to point the root directory to a small (or secret?) partition outside of the main Windows 7 NTFS partition. I recently [...]

Also posted in Tech | Tagged , , , , | 1 Comment

Python Shell Commands, /bin/sh: Syntax error

This semester, Derek and I have been doing some work on Postgres’ buffer management system for my CSC443 Database Systems Technology course.  Derek, wrote a nice little Python script that parses various Postgres outputs and does a bit of math on it. However, when I tried to run his script on my machine, I got [...]

Also posted in python, Tech | Tagged , , , , , , , , | 1 Comment

Speed Reader

I spent a small portion of my free time this week working on a small Java application that would help me do a bit of speed reading. For those who are unfamiliar with the concept, you can read more about it on the wiki article here.  The basic idea is to increase the speed at [...]

Also posted in Java, Mac, Tech, Win32 | Tagged , , , , , , , | Leave a comment

Drawing Strings in Swing using Graphics2D

I’ve started a new project again, and this time I’m working on a speed-reader application using Java (more details on that later) One of the problems that I’ve always had with Java Swing UIs is figuring out how to directly draw centered Strings while inside of a paintComponent(Graphics g) method of some JComponent So let’s [...]

Also posted in Java, Mac, Tech, Win32 | Tagged , , , , , , , , , | Leave a comment

Unbricking Your Router

I live in a house where I’m the resident tech guru, so its pretty much my responsibility to fix any technical glitch regardless of who actually caused them. Last Friday, one of my family members got the bright idea to do a firmware update on our router…too bad he used the wrong firmware version for [...]

Also posted in Mac, Tech, Win32 | Tagged , , , , , | 4 Comments