Fixing Eclipse’s Autocompletion Feature

When I upgraded to Ubuntu Karmic, I reloaded Eclipse from the repositories, and everything seemed to be happy. Except my cherished autocomplete!

I dug around online, and found this site; the solution wasn’t in rebuilding my project, but rather in the comments.

Go into Window > Preferences > Java > Editor > Content Assist > Advanced and make sure “Java Proposals” is checked.

If you find that some members are missing, you may need to muck with some of the other checkboxes in that screen. However, when I checked “Java Non-Type Proposals”, “Java Proposals”, and “Java Type Proposals”, every member was duplicated in the list. That’s not damaging, but it is irritating. Just leaving “Java Proposals” checked seems to have made everything happy once again.

Getting K3b to burn MP3s

K3b is a good CD burning app for Ubuntu. But it won’t burn MP3 files right out of the box. A bit of Googling and trial and error reveals the fix for this. Read the rest of this entry »

[solved] Wordpress: Broken Thumbnail Maker

I can’t figure this out just yet, but I haven’t had a lot of time to figure it out either. It looks like the option to insert a thumbnail is broken in the latest release of Wordpress. (see bottom of this post. I did figure it out)

Broken thumbnail creator

The thumbnail creation buttons are greyed out. (click to see full image)

I go to insert a picture into a post, and I get the screen with information about the picture I just uploaded. The option buttons allowing me to use a thumbnail-sized version of the picture are greyed out, however. The picture inserted into this post is not a thumbnail, but rather a full-size, scaled down by the browser, not the server.

Since this site is currently hosted out of my own basement, I need to conserve bandwidth. I have a cap on my server’s upload speeds, so ultimately not being able to use thumbnails is going to hurt the end user; the site will just take forever to load.

Now, I’ve gotten some hints that this is an indication that I am missing GD in my Apache installation. It doesn’t show up in my phpinfo() dump, so that’s the first thing I’m going to try. I will post back when I’ve got it figured out.

EDIT: Well, I figured out how to install GD; a bit of Googling around found this. It seems to be a bit dated; also, I am using PHP5, not PHP4. Issuing the command “apt-cache search gd” showed me all of the Debian packages with “gd” in the name; the one I want is “php5-gd – GD module for php5″. I ran “apt-get install php5-gd” to install the package. I restarted Apache by issuing the command “apache2ctl restart”, and the option buttons were enabled. Mystery solved!