December 2011
1 post
Java: How to read in XML files →
This is a nice short example of how to use SAX to read in XML files in Java. I’m sure I’ll be referencing this page sometime in the future.
August 2011
2 posts
Java: Performance of threads handling many objects
So, at work, a portion of a program that I am working on has to perform some cleaning procedures on just over 200,000 records. Cleaning each record iteratively was taking way too long, so I decided to use some of my parallelization skills from last summer to see if I could decrease the run time on the cleaning portion. I decided to use 4 threads to ease the work on our poor processor. Here are...
MySQL migration: Windows > Ubuntu
So, at work, I’ve been trying to migrate all my existing work, projects, services, etc.. from a Windows Server 2008 machine to a fresh install of Natty Ubuntu. Developing on windows, even with cygwin was getting to be too much of a hassle for me.
However, when I went to migrate the MySQL database, I ran into a minor difficulty that took me nearly a full afternoon to figure out.
I started...
July 2010
1 post
June 2010
2 posts
The REU Maine Experience part 2
For those who are closely following my experiences here in Maine, I apologize for the delay in this post. Hopefully, after reading this, you will understand why I did not post the day immediately following the first.
June 1st - Orono, Maine.
Today is the first day of the program and we are to meet in the Barrows Auditorium at 9am. We were told yesterday that breakfast, lunch, and dinner will...
The REU Maine Experience part 1
This post will hopefully be the first of many. I am writing with the intention of informing those whom I care about of my experiences here at the University of Maine. So, please, sit back, relax, and continue to follow my Comp-Sci Saga.
For those of you who do not know, I was accepted into a summer-internship program called “Research Experience for Undergraduates” (shortened to REU)...
March 2010
1 post
5 tags
Database Normal Forms
After browsing through programmingforums.org I found someone who needed to know about the different normal forms in databases. My response to her question is copied & pasted below.
Here are descriptions of the normal forms. Sometimes it’s easiest to understand the forms by seeing what violates them. 1NF - Typically, if you can make a valid database table, it’s in 1NF. I think...
February 2010
2 posts
6 tags
Dual Boot Mac & Linux w/ Boot Camp
This weekend I had a lot of extra free time and I was feeling a bit under the weather, so I decided to make use of this time that I couldn’t be out with friends (or out shredding the gnar on my snowboard) by installing Ubuntu Linux 9.10 on my Mac. I encountered a variety of problems getting everything to work, so here’s how it went:
1.) Start up Boot Camp Assistant. This can be...
The Beginning to a Comp-Sci Saga
Today I’m starting a blog about my findings in computer science, or just with computers in general. That is, once I figure out how to do something noteworthy on (or for) a computer, I’ll post here with instructions and details with regards to how I did it. So, sit back, relax, and enjoy reading how I further my persona toward “geek.”