A Few Cool Ways To Use RSS Feeds

So what is all this RSS hype? I’ve known about RSS feeds, what they are for, and how to use them for quite a while. It’s not like they are new or anything! It wasn’t until recently that I started to actually use them though. I didn’t know what I was missing. RSS stands for “Really Simple Syndication”. You can read a whole definition for RSS here. Basically, an RSS feed allows you to easily keep yourself up to date with the publisher of the feed.

There are all kinds of interesting feeds available. Instead of checking a favorite blog for instance, you can subscribe to their RSS feed and go back when new content is available. There are feeds for Podcasts, products, and there is even a feed available for letting you know which stores have the Nintendo Wii in stock.

I decided to list here a few ways that I’m using and enjoying RSS feeds. Continue reading

Posted in Web | Tagged , , , , , , , , , , | Comments Off on A Few Cool Ways To Use RSS Feeds

How many emails does it take to complete a Masters Degree?

After posting a few tips on completing a Masters Degree and a Thesis, I had a thought that it would be fun to post about the same topic from a lighter angle. How many emails does it take to complete a Masters Degree?

I started using Gmail in 2005. Unfortunately, I don’t have any archived email from before that time. I started school in the Fall of 2003 so there are a number of email conversations I wasn’t able to include for this post. At that time however, I was participating mainly in coursework and had less frequent emailings than later when I was working on my Thesis.

For this post, I’ve considered every email that I sent or received, that pertained to school, since I started saving everything with my Gmail account. I’ve grouped them by the recipient or sender’s responsibility to simplify the summary.

Sender/Recipeint Emails
Major Professor 267
Councilor or Department Staff 62
Graduation Comittee 38
Department Chair 23
Misc People 5
Generic Department Email 4*
Total 399
* I actually deleted a lot of these emails

There you have it. Unfortunately, the communication part of my program was not the bulk of the work for getting my degree!

Posted in Miscellaneous | Tagged , , , , | Comments Off on How many emails does it take to complete a Masters Degree?

Virtual Hosting TurboGears Applications on Mac OS X Leopard

For a couple years now, I’ve been learning and applying various tricks for developing and hosting multiple Python web sites on my development machines. During that time, I made a migration to Mac OS X. Most setup files for python applications and libraries work out of the box on the Linux distributions I’ve tried. For OS X, you can find a lot of prebuilt packages for the necessary dependencies but those packages want to be installed in the OS X system library location for Python.

If you want to host or develop more than one site with Python, you’ll need to use virtual environments. This applies equally to any OS, not just Mac OS X. There seem to be a few more tricks to getting things up and running on OS X however. Here is the process I went through to get TurboGears applications hosted in virtual environments on OS X.

Continue reading

Posted in Programming, System Administration | Tagged , , , , , , , | 2 Comments

Linux-Vserver vs Xen

A while back, I found myself running out of hardware and wanting to host more sites than I currently was. In addition, I wanted to create a little bit more redundancy for some of the services I host.

At the time, I was hosting a number of services with Xen. One physical server hosted 3 or 4 virtual servers. After a certain amount of reading over different solutions, I decided to convert all my production virtual servers to Linux-vserver. I’m not advocating either solution here. I’m simply going to point out my reasons for changing and hopefully help my readers understand the issue more.

Continue reading

Posted in System Administration | Tagged , , , | Comments Off on Linux-Vserver vs Xen

How to fix the Digg Tools JavaScript for WordPress

If you have a wordpress blog and you’ve ever had a popular enough post to have it posted to Digg.com, you might be tempted to paste the digg tools javascript into your post to integrate your site with the digg post. The first thing you noticed after you got the post edited is that your new Digg.com widget didn’t work properly. It reflects the accurate Digg count on the post page but the home page has an incorrect or 0 count.

The following default Digg.com integration JavaScript works on the post page but not on your blogs front page. Here is a quick explanation of the problem. Notice in the original JavaScript code below, the WEBSITE_URL parameter is enclosed in single quotes. WordPress interprets single quotes when your post is displayed and prints a pretty curved quote instead. This results in pretty apostrophes and broken JavaScript. The reason the Digg count works on the post page is that the digg_url parameter, if not set, is defaulted to the referring URL. If the referring URL, in this case, the post page, is the same as an existing digg article, the Digg count is correctly accessed.

<script type="text/javascript">
digg_url = 'WEBSITE_URL';
</script>
<script src="http://digg.com/tools/diggthis.js" type="text/javascript"></script>

Well, the fix for this is so simple that I almost didn’t blog about it. Only after helping fix a post for ExtraLife, Scott said that I ought to write all this down and make a post.

The fix is simply to change the single quotes to double quotes. WordPress doesn’t send interpreted double quotes and your Digg widget renders properly in both locations. Since that was such a simple tweak, I’ve also included a div with a style that displays the widget on the right side of the text with the text wrapping around the bottom when the widget ends.

Here is my modified and corrected JavaScript. Enjoy. I’m also pasting it at the top of this page so you can see a working example. I don’t usually Digg my own articles but oh well.

<div style="position: relative; float: right; width: 52px; margin: 0px 10px 0px">
<script type="text/javascript">
digg_url = "WEBSITE_URL";
</script><script src="http://digg.com/tools/diggthis.js" type="text/javascript"></script>
</div>

Posted in Programming | Tagged , , , | 2 Comments

How much work does it take to complete a Masters Thesis?

After defending my thesis in December, I completed the rest of my graduation papars and will receive my Masters Degree in Computer Science. I don’t have to expound any further to express how excited I am to be finished with the whole process.

Most Masters programs take around 30 credit hours of graduate course work and thesis research to complete. If you are a full time student, you can typically complete this coursework at the rate of about 6-9 credit hours per semester and you can expect to be finished with your degree in approximately two years.

I was lucky enough to have access to a program that allows graduate students to take their classes in the evenings and from various locations around the state. In this way, I was able to complete my degree while working full time and not living around the school. I took a couple semesters off while we moved. In addition, I had a couple of semesters where I was feeling overloaded and only took one class. In the end, it took me about 4 years to complete my degree. The amount of work required, however, should be pretty close for many programs and the time it takes should be dependent on how fast you can do the work.

So just how much work is it to complete a thesis anyway? Most thesis work is 6 credit hours, which can be completed over two semesters. It took a little longer than that for me so I’ve included below what I learned. Perhaps you can learn from my experience to complete your thesis faster. Continue reading

Posted in Miscellaneous | Tagged , , | 4 Comments