wordpress stats

Spring Break Hackathon Day One

April 4, 2009

This Saturday marked the first work day of my 28 hours work week. Without much fanfare, I went out and accomplish the 4 hours, mostly done at night.

This is what I have accomplished so far.

1. I started the git-downloader project(I wish I have better names for this project), a script that clone code repoistory, package them, and then generate html to present the download to users. This meant opportunities for learning as I never try to make them before, as well trying out libraries to boot. So I took some time to  scour for libraries. I found  grit, a library that deal with git, and erubis, a library for embedded ruby in html files. I also planned to use the built-in cgi library. The script barely got started with trying to make a repoistory and initizaling a git repoistory. It failed, utterly. I am not too worried because it is part of the learning process. I also checked out what my webhost can do just so I can be sure that this script can run on this host.

2. Space Fighter Ace is one of my major project that I was working on. Today, I finally fixed a crash bug that been plaguing me for quite a while. Thanks to the use of the Logger library, I was able to log and understand what is going on in the camera class. I fixed a display bug also. However, I decided to try to modernize the EventQueue to Rubygame 2.4.  This lead me down to a road of confusion as I struggle to figure out how the new event class work. I looked at one of the rubygame sample but I didn’t quite understand everything. Jacius should defintely write a tutorial on that.

3. Rubytet got some love. I regret to say there has been very slow progress on the feature that I am working on. This feature will be the ability to change the playfield’s size at will, adding a degree of flexibility that is not so neccessary to the game. This feature required lot of changes in various files of the program.

4. Rbgooey is another project that also got some love. It is a GUI library that I been developing for years but alway got stuck on a rewrite in one form or another. I just got started on writing a more easily managable data structure but I won’t replace some of the major core code. It is a codebase that is thousand of lines long so it will take a while to complete. Once I am done, I’ll begin using the library across all my rubygame projects. I also made some changes to rbgooey’s toolset to allow for easier testing.

I also encountered completely obvious opps along the way. The library grit didn’t get loaded into my script. It wasn’t until later that I realize that I forgot something. It was rubygems.

For Sunday, I hope to complete the smaller playfield feature for rubytet so I can release the second version of it. I actually wanted to complete the git-downloader script before completing rubytet’s featureset for the next version. However, reality said that git-downloader will likely be in development longer than rubytet.

Leave a Reply