Tag Archives: eric gaumer

Northwind Database Client Server Project

Here is a project I wrote last semester for a client/server systems class. Basically the professor assigned us a table from the Northwind Database. Our first assignment was to take that table, export it to a text file, then create a program to parse that text file and create a random access binary file. We were then to create a GUI that will read, write, and modify records from that binary file. I decided to write my project assignments in Python since that is my programming language of choice.

We spent half the semester working on this part of the project instead of learning anything related to client/server systems. Creating the GUI was extremely easy using Qt3 Designer and pyuic, so most of my work went into the reading and writing of the binary file.

Finally about 3/4 of the way though the semester we were assigned to modify our program to read, write, and modify the binary file over the network. The server contained the binary file, and the client connected to the server to get information from the binary file. This part of the program was actually fun to implement.

Our very last assignment was to merge our client and server with another students. I partnered with Eric Gaumer since he was also working in python. The following code is the result of our work. We took my GUI added the features his client needed and then added his server code to mine.

Simply start the server, then when you start the client enter the ip address where the server is located.

Code:

http://www.mattweber.org/files/nwdb.tar.gz

Note: PyQT and PyKDE are required to run this code.

Mammoth 2006

mammoth_006.jpg
mammoth_016.jpg
mammoth_019.jpg

Eric and I went to Mammoth last weekend and it was amazing. I arrived around 8:30am after a 4.5 hour drive from my house, not fun. Immediately after arriving it started snowing and did not stop much the entire weekend. After getting situated we all decided to go boarding. Being short on money, we opted for the $30 beginner ticket. This ticket is meant for use on one lift for beginners, of course we did not do this because the staff did not check our lift tickets when getting on lifts that take us to the top. Anyways it was snowing non-stop the entire time we were out Friday. Katie, my girlfriend, and I did not have facemasks for the first couple runs and wound up freezing our entire face’s. We got smart and put of the $16 for one which lead to a much better snowboarding experience.

On Saturday all the girls wanted to stay in and watch the entire first season of Grey’s Anatomy while all the guys went off to the mountain. We bought full lift tickets today so we could explore the entire mountain without any problems. Turns out that the top of the mountain was closed due to high winds and avalanche warnings. This was not a problem though since we could still go everywhere else. It has snowed over 18 inches that night so there was powder everywhere! Riding in this much powder was a little tough, however it did not matter how hard you fell because it was so soft.

Sunday everyone went with the beginner lift ticket again. It was a lot more crowded this day that any other for some reason. I am sure it is due to the holiday weekend. Again the snow was all powder which lead to another great day of boarding.

Check out all my random pictures here: Mammoth 2006

Status Update and SCALE 4x

Well I am back! Sorry for the lack of updates, I have been overwhelmed with school and plain laziness lately. Anyways, I will attempt to post more often from now on.

Over winter break I setup a new firewall using Shorewall. I am pretty impressed with how easy it was to setup and secure. My firewall now has my wireless network separated from my wired network, a DHCP server for the internal networks, a DNS proxy, and Squid setup as a transparent proxy. Pretty impressive considering this is my first firewall setup. In the future I would like to lock down my wireless network even further by using an OpenVPN bridge to encrypt local wireless traffic on top of the current WEP encryption. That might be a little overkill, however it should be a good learning experience.

My brother bought a video iPod and harassed me to figure out how to get movies onto it. After I gave in and a little research I found a program called HandBrake that most people seem to be using. It works best on OSX even though there are Linux, and Windows versions available. The Linux version is command line only, so there is no fancy GUI for those of you that can’t work without one. I downloaded the Linux version, compiled it, and gave it a go. I tested H.264 and MPEG-4 encoding and received the best iPod compatibility and encoding speeds with MPEG-4. I would like to say that the H.264 video had better video quality with a smaller file size.

I attended SCALE 4x last weekend with Eric Gaumer and it was great! I got to meet a bunch of great people such as Aaron Seigo, Ted Haeger, Jono Bacon, and the famous DVD Jon! Eric and I spent most of the day with Ted and Jono discussing various topics such as LugRadio Live 2006 and why Novell needs to embrace deb packages instead of RPM’s. FYI, we were introduced to Jono last year by Jon Masters after revealing that we were huge fans of LugRadio. Anyways, we attended the three talks on desktop linux. Aaron Seigo about KDE4, Ted Haeger on NLD10, and Jono Bacon on the future of the linux desktop. All three talks were great and well presented, however I would have to say Ted’s presentation on XGL was the most interesting to me. I was really amazed at XGL and look forward to checking it out in the future. I also enjoyed the “Bacon and Eggs” picture import during Ted’s presentation. Eric took some pictures that I will post once he sends them to me.

Anyways, Eric and I will be going to Mammoth this weekend. Expect some pictures from that trip as well.

DefCon 13

Eric and I attended DefCon 13 last weekend. The event was pretty good, even though some of the talks were pretty boring. The thing that got me the most though, was the type of people that attended. There was some pretty freaky looking people there. I guess I was expecting a different type of crowd. To top it off, most of these people were into the whole “rave” thing, which I am not. It was really annoying listening to techno music until 5am. Anyways, I would love to attend the event again, but stay at a hotel on the strip away from the rave music.

Blogging with PyBlosxom

Well I finally managed to get my blog moved over to PyBlosxom. Other than laziness on my part, the move went pretty well. I love the fact that I can now work on my blog using WebDAV. WebDAV allows me to post and manage my blog as if I was working with files on my main computer, not a remote server. I love it!!! I would like to thank Eric Gaumer for introducing me to PyBlosxom and WebDAV, and for the PyBlosxom flavour he designed. Thanks.

Anyways, if anyone can find any glitches, flaws, or has any comments regarding my blog, please feel free to leave a comment or drop me an email.