All posts in Site News

Site Update: Comments

I finally buckled down and wrote the comments theme for the site, so feel free to make use of the lovely AJAX-enabled comments on the full article pages!

New Logo

Marlene just finished the next iteration of my logo. I really like it!

My old logo

My old logo

My new logo

My new logo

Variable-length Integers

Wow. So it definitely took me long enough to get this blog going. A lot has happened since I got this site up and running, so hopefully there will be no shortage of thoughts to write about.

This semester I’ve finally qualified to take the CS Senior Design Project, which, this semester, is to design a Chord client. At the heart of the system is the identifier, which is essentially a glorified hash. We decided to go with SHA-256, partially because the instructor mentioned it was in the class of his favorite hashes. It didn’t really matter to me, since C# supports it just as easily as anything else.

Identifiers have two essential purposes, comparison and addition, from which every method can be derived. I wasn’t particularly intrigued by either of these topics, since almost without exception, you can rely on existing structures in the FCL to do whatever you need to do, and it’s always better to do so. Now, I said “almost without exception,” namely because I stumbled upon the fact that these identifiers unequivocally are exceptions. The thing about using a SHA-256 hash – or any hash for that matter – is that it’s an enormous value – 256 bits to be precise. There aren’t any real 32 or even 64 bit hashes available (I doubt they’d be useful), so relying on the good ol’ FCL goes out the window. Read more

Up and Running

So I got tired of the old site and decided to push ahead plans to get v2 of NorthHorizon up and running. Work will be commencing soon to get a fresh, original theme for the site up, hopefully from a friend of mine.

I’m going to get a post up soon with some really interesting ideas and technologies Chris and I have been working on in WPF and .NET 3.5 and get down to the fun stuff.