Wednesday, September 26, 2007

Paris Hilton in Rwanda

You can see in DupyNews that Paris Hilton is planning a goodwill tour to Rwanda. If she truly wants to help the people of that poor country, more power to her. If she's doing it just to clean up her image or become another Angelina Jolie or Brad Pitt figure, she's in it for the wrong reasons. It might be more effective for her to stay home and donate some of her millions to professional organizations that are already working in the area. My hope is that she is shocked and disturbed by what she sees in Rwanda, because that might cause her to change in a way that really will help the world.

Well's Drive-In

Yesterday I went to Colfax. Kristen had forgotten her CDs in her rental car when she exchanged it for the fixed-up Equinox, so I had to go fetch them for her. After getting the CDs from the auto body shop, I went to lunch at Well's Drive-In. Well's is an old Colfax fixture that I'd never visited before. It used to be a drive in, but now they serve sit-down customers only. When I first got there I was a little disappointed to see that the menu was kind of expensive. I decided to go for their less expensive burger but to splurge a little bit on a blueberry milkshake. Upon the arrival of the food, I immediately understood why it leans toward the spendy side. They give you a lot! My burger had two quarter pound patties, ham, bacon, and all the fixings. I could barely get my mouth around it. A big basket of fries accompanied the burger. They were hot and good, especially with the horseradish-infused fry sauce. The milkshake was a little thin for my liking, but it came in gigantic proportions as well. The server handed me the milkshake glass as well as the nearly full mixing cup. The mixing cup had enough milkshake in it for two full refills. Everything tasted really good. I always enjoy the chance to support small-town businesses.

Charlie Rose

Have you ever noticed that Charlie Rose lives in a black hole? How do they create that effect on the set of his show?

Kim and Jeff's Wedding

This weekend Kristen and I went to the west side for the wedding of Jeff Dunlap and Kim Berg. It was a fun trip because we got to see a lot of old band people (Kim and Jeff are former band members). We spent one night with Vic and Karl and one with my parents. Jaron came along to see Mom and Dad.

Thursday, September 20, 2007

Living in Sloan

If you can't tell by the subject matter of my most recent posts, this week has been practically consumed by this program I'm writing. Which means I'm pretty much living in Sloan. I go home to sleep, but that's about it. The rest of the time (18 or 19 hours a day) I'm working at the computer. The good news is that I'm getting stuff done, but the bad news is that it's going extremely slowly.

One interesting side effect of these marathon programming sessions is that I'm actually eating better for the most part. Since I'm so busy, I don't have any time for junk food. Since I'm lazy and a cheapskate, I buy the cheapest stuff they have at the espresso cart in Carpenter (garden salads).

Another interesting (although not nearly as positive) side effect of sitting at a computer all day is that I've become (literally) painfully aware of how un-ergonomic my typing techniques are. I've made some adjustments and things are already feeling better. Still, everything in the lab (the desk, the chair, the screen, etc) is working against me.

rsync

I've just discovered the power of rsync, a Linux utility that allows you to synchronize files on different computers via SSH. This is exactly what I've been looking for because I need a safe and secure yet easily accessible way to store my files for my CPT S 560 class. Here's a quick summary of the command:


To download changes from a remote location -
rsync -ave ssh --delete user@server:folder path

To upload changes to a remote location -
rsync -ave ssh --delete folder user@server:path

The --delete option takes care of files that have been deleted from the source by also deleting them from the destination.

The folder argument specifies the source folder to be transferred. If this argument ends in a trailing slash (/), only the contents of the folder are copied. If there is no trailing slash, the folder is copied along with its contents.

The path argument is the destination to which the files are to be copied.

Wednesday, September 19, 2007

DupyBoot

Right now in CPT S 560 I'm working on a booter which can boot a hard disk into different partitions. It's a pretty big program, and I've been working hard on it. Here's a shopping list of milestones to complete. The crossed-out ones are finished.

read MBR
printf()
printi()
printx()
printl()
prints()
gets()
decompose()
get_block()
read superblock
read group descriptor
read root inode
navigate through inodes
write to high memory
read directory
chain booter
load Linux partitions
read extended partitions
load extended partitions

Tuesday, September 18, 2007

Pipelining

I forgot how interesting it is to study CPU pipelining in computer architecture. The ideas are pretty simple and really effective. They're also ingenious. Concepts like forwarding always leave me thinking, "Wow, I would never have thought of that." In class, we're just about to start talking about branch handling, which is when things get really interesting.

fdisk

I'm writing an fdisk program for my CPT S 560 class right now. An interesting thing I've found is that it only works correctly if I have superuser privileges. At first I thought this was just a mistake in my program, but a non-root shell doesn't even recognize the fdisk command in KDE.

Monday, September 17, 2007

Jott Test

This is a test of a new service on the Internet called Jott and that allows me to post to Blogger using my voice on the telephone.
Click here to listen

Powered by Jott