My Latest Project

Internet, Software

I came out of CUSEC last week filled to the brim with geeky creative energy and the desire to get my hands dirty with something new. While I usually have a few ongoing projects at any given time, my latest one, inspired by this fellow, has been use a nearly decade old unused computer to host a website. I’m curious to see how viably an old machine would work as a server for a low-traffic website, and how quickly it would load a WordPress blog. While paying for a host is much more reliable and relatively inexpensive, I figured this would be a good chance to learn about Apache, PHP, Linux and the web in general.

My first step was to sort through the kipple that is my storage closet and find the old machine. Purchased in 1999, it has a 500 MHz Pentium III processor, 256 MB RAM and a 30 GB hard drive. I found a spot large enough to hook it up to the behemoth CRT monitor that’s as deep as it is wide, and gave it a trial boot (I couldn’t remember exactly why I had retired this old warhorse.) A corrupt Windows 98 sputtered at me, so I quickly went ahead and reformatted from a Linux CD.

I decided that Ubuntu Desktop edition would be my distro of choice for a number of reasons. While I would get better performance out of a server edition, as a Linux newbie I felt more comfortable having a GUI to fall back on when the mysteries of the command line eluded me. Secondly, one of my best friends recently moved her main computer over to Ubuntu, so hopefully she won’t mind when I harass her with calls for help at all hours (thanks Malini!)

My next step was to install and configure Apache, PHP and MySQL, all necessary to set up WordPress. While I’ve worked with Linux at school, this was my first time playing around with it. Needless to say I was pleasantly surprised when I managed to complete the installations with three commands:

sudo aptitude install apache2
sudo aptitude install php5 libapache2-mod-php5
sudo apt-get install mysql-server-5.0

I configured these programs with minimal difficulty, then moved on to the WordPress installation. It’s here, however, that I’ve run into a bit of a snag.

Step six in the WordPress “Famous 5-Minute Install” is “Run the WordPress installation script by accessing wp-admin/install.php in your favorite web browser.” The problem I’m having is that Firefox does not want to run PHP scripts. When I point my browser at install.php, it just asks me if I want to save the file to disk. This thread in the Ubuntu forums helped someone with a similar problem by suggesting that php5.conf might not be in /etc/apache2/mods-enabled/, but this is not the case on my machine. You can see my unanswered question sitting orphaned and alone at the bottom of the thread.

If you happen to be a Linux wizard (lizard?) and have a theory or two about how I can fix this frustrating problem, please drop me either a comment or an e-mail!

→ 3 CommentsTags:  ·  ·  · 

Three Days With a Mac

Software
Apple

Earlier this week my laptop suffered a rather frustrating hard drive crash. I can’t say that I didn’t see it coming; I had a near-crash 2 months ago and my computer had been running exceptionally slowly lately. Fortunately for me I had backed everything up to my terrific 320GB external hard drive about a month ago, but I still lost a few dozen important files (including my copy of In Rainbows) that will require re-downloading.

While waiting for my new hard drive to arrive, I spent most of this week borrowing my dad’s MacBook. My father is the kind of person that Apple has been aggressively marketing to these last few years: someone who is interested in what computers can do but doesn’t have the inclination or the patience to learn the details of using them (the “I just want it to work” type). As such, this MacBook fits him like a glove; he hasn’t even downloaded any new software for it, content to use first party applications such as iTunes, iPhoto, and Safari.

This week has been quite a learning experience; I know my way pretty well around Windows, but I have very little experience with OSX. While the two operating systems are almost identical in general terms, the little details often threw me off. For instance, it felt unusual to use the command key for shortcuts in lieu of Ctrl or Alt. The way in which OSX minimizes tasks took some getting used to as well. The biggest change by far was the single button mouse. A bit of Googling told me that OSX would recognize the two button mouse off my laptop, which was welcome relief. I understand Apple’s logic; anyone who has tried to teach a loved one how to use a computer knows that they struggle with “which button do I press again?” troubles. A single button interface is much more accessible for beginners. However, it’s ashame that Apple doesn’t sell a first-party two button mouse, since their products are painstakingly colour-schemed and an ugly third party mouse destroys that.

I’ll admit that I’ve toyed with the idea of switching to Mac. I’ve met enough OSX power users to know that Apple products aren’t just for technophobes. I owe no particular loyalty to Windows, especially considering all the problems Vista is having. Furthermore, I could potentially use Bootcamp to dual boot XP should the need arise. Yet, all things considered, I just can’t find any particularly compelling reasons to justify a change. Nothing on Apple’s list of advantages, which should be enourmously biased in their favour, is that great. For instance:

  • Awesome out of the box.” That’s sort of nice, but setting up a PC is a one-time hassle. Installing everything from scratch on my new hard drive has let me customize everything to my liking. In fact, the only program that had trouble with the hard drive jump was iTunes, which lost half of my album artwork.
  • 114,000 viruses? Not on a Mac.” Using a combination of AVG Anti-virus, Spybot: Search & Destroy and Sygate Personal Firewall, which are all free and light on system resources, I’m essentially immune to spyware and viruses as long as I use common sense while downloading.
  • Everything-ready.” As I mentioned earlier, I could always dual boot XP for the programs that OSX can’t run, but that seems like a hassle. I can count the number of times I’ve found software that doesn’t work with XP on one hand. Many open-source and freeware applications are never ported over to Mac, not to mention most games.

For the moment, Apple has left me unconvinced. I think they make great products, and I’m glad that they’ve offered a gateway for people like my dad to get into computers, but it’s just not for me. I’m quite content to milk Windows XP dry, then consider making the jump into Linux.

→ 7 CommentsTags:

Useful Web Tools

Internet, Software

Through a series of strange coincidences and necessities, I’ve been introduced to a number of really great software and web tools these past two weeks. Here’s a little bit about each one, with any luck they might fix some of your problems as well.

Google Reader

As I’ve mentioned before, I’m a terribly slow adapter. However, after seeing that a good number of people were subscribed to my RSS feed via Google Reader, my curiosity was piqued and I took the time to check it out. I had previously considered switching from a browser based aggregator to web based one, but I didn’t have the motivation to do so until I began lacking things to read during my breaks at work.

As with most of my slow but eventual technological upgrades, I really should have made the switch a long time ago. It’s the little changes that make a big difference. For instance, the interface is much cleaner and easier to manage, similar in spirit to Gmail (more on Gmail further down). Instead of marking an entire feed as read when you open it, Google Reader marks individual articles as read as you scroll down through them. If you see something interesting but lengthy that you would like to devote more time to later, you can mark it with a star. You can choose to see your entire list of feeds on the left hand menu or just the updated ones, hiding feeds that are updated infrequently while still keeping track of them. Finally, it does a much better job at formatting the feeds, avoiding the “converted directly from XML” look.

With its terrific interface and web portability, I would heartily recommend Google Reader over any browser based aggregator.

Firefox + Greasemonkey

After moving all my feeds over to Google Reader, I made another long overdue change by finally switching completely to Firefox. There’s really no need for me to extol the virtues of Firefox here, as it already has some particularly rabid fans. I will say, however, that its most significant advantage in my mind is how many great customizable add-ons exist for it due to its open-source nature.

To properly explain why the Greasemonkey add-on is so great, I’ll first explain the problem I was facing. I love Gmail, but one thing that has always bugged me was the fact that it displayed how many new spam messages you had received. The point of blocking spam messages is to stop them from annoying you, but when they sit there on your left toolbar looking deceptively like a new e-mail from the corner of your eye… admittedly it was a very nerdy problem. Nevertheless it bugged me that there was no way to turn it off.

After a bit of Googling, the solution came in the form of the aforementioned Greasemonkey. Alone, the add-on does nothing. However, it allows you to install scripts that modify websites’ source code, altering their appearance however you please. The particular script I used was the “Gmail Spam-count Hide” by Daniel Rozenberg. It’s a very simple open-source script that hides the new spam message counter in Gmail.

I only recently found Greasemonkey so I’m still exploring it, but if you know any other useful scripts please share them in a comment.

Thunderbird + Gmail

After getting used to Thunderbird at work, I decided to use it to start backing up my Gmail. This is quite nice since it both gives me offline access to my e-mails and protects me in the event of data loss on Google’s end. Furthermore, Thunderbird is designed with Gmail in mind so setting it up takes minutes. I also installed the Thunderbird Tray program to minimize it to the system tray and never have to worry about it again.

That concludes my list of discoveries that have made my life a bit easier this week. If you have a program or web tool that simplifies your life, I’d love to hear about it, so comment away.

→ 3 CommentsTags:  ·  ·  ·  · 

A Beginner’s Guide to RSS Feeds

Internet, Software

RSS LogoI have a confession: I hate change. I get so comfortable doing things a certain way that I sometimes resist changes that I know will be good for me in the long run. This gives you a bit of context as to why I’m usually about a year or two behind in upgrading my internet browser and other software. I fight tooth and nail to keep my old version, and only grudgingly submit to an upgrade.

When I finally did upgrade to IE7 (if you’re wondering why I haven’t switched to Firefox, consult the above paragraph), I found a host of features that I actually really enjoyed. As someone who really enjoys blogs and webcomics, I especially enjoyed the RSS Feeds function. In fact, I enjoyed it so much that I thought I’d write a quick guide to help my fellow luddites embrace this technological wonder.

What is an RSS Feed?

Websites such as blogs and webcomics syndicate new content at certain intervals. The old fashioned way to check if a website had new content was simply to visit it and check. However, if a website adds new content infrequently or irregularly (I’m lookin’ at you, VG Cats) this can become time-consuming and frustrating. Wouldn’t it be nice if there was a way for website owners to tell interested users that new content was available?

The solution is an RSS Feed (an acronym for Really Simple Syndication, believe it or not). Website owners create a feed site for their page on which they publish new syndicated content. Using a compatible internet browser (or an aggregator), a user can subscribe to these feeds (more on that later). Once subscribed, the browser will check for new content from that feed according to a time schedule and notify the user when new content is found.

How do I subscribe to a feed?

Here is a step-by-step guide to using feeds in Internet Explorer 7 and Firefox 2.0.0:

1. Surf over to a site that you’d like to subscribe to. For this example, we’ll use my site, The Quixotic Engineer. If a website has an RSS Feed available (not all sites do), the RSS Button on your browser will turn orange. If so, click the RSS button (picture below). Alternately, there might be a button on the page labeled “Feed Site” or “RSS Feed” that should link you to their site feed.

RSS Button - Internet ExplorerRSS Button - Firefox

2. The site you will find yourself on is the site’s feed. There should be box at the top of the page similar to the one in the picture below (click to enlarge). Click on the “Subscribe to this feed” button to do exactly that.

Subscribe to this Feed - Internet ExplorerSubscribe to this Feed - Firefox

OK, I’ve subscribed to a feed, what now?

Here’s where IE7 and Firefox divert a little.

  • In Internet Explorer, feeds are saved under the “Feeds” portion of the favorites menu. To get there, first click the yellow star in the top left corner of the screen, then click on “Feeds”. All the feeds that you’ve added will be here, sorted in alphabetical order. Feeds with unread content are bolded. If you right click on the feed, you can specify how often you would like the computer to check for new content.
  • Feed Library - Internet Explorer

  • In Firefox, using what is called “Live Bookmarking”, feeds are treated like a favorites subfolder which can be moved anywhere in your favorites folder. Click on a feed and it will open like a folder, showing the latest posts from that site. This is only one option for handling RSS feeds in Firefox, however. There seem to be add-ons that let you handle feeds differently according to your preference. If you’re reading this post and have experience with Firefox RSS, please leave a comment and I will alter this post accordingly (and credit you, of course).
    Feed Library - Firefox

My limited experience with Firefox notwithstanding, I hope that you, my fellow slow adapter, are convinced and have the tools necessary to start creating your own RSS library. Godspeed.

→ 1 CommentTags:  · 

© 2007-2011 Matthew Gallant, hosted by A Small Orange, powered by Wordpress, theme based on Basic.