My thoughts on the ALS challenge

Before you read this entry, please be aware that it might rub you the wrong way. (That’s okay with me if it’s okay with you. I don’t expect that everyone will share my perspective.) There’s always the one guy who has to be the party pooper, and I guess it’s my turn. Ever since hearing…

SGDQ 2013

Summer Games Done Quick 2013, a video game speedrunning marathon for charity, is underway. 100% of donations go to Doctors Without Borders. Please consider donating! My brother will be speed-running The Addams Family: Pugsley’s Scavenger Hunt (SNES) on Sunday, 2013-07-28, at approximately 10:05 AM EDT (GMT-4). The official estimated completion time for his run is 35…

Lock-free clustering of large PostgreSQL data sets

Since 2012-09-27, I have been collecting overstock data from TF2WH every five minutes and storing a snapshot of this data in my database. This enables me to do some really cool things, such as chart past data as well as make projections about future stock levels. For this amount of time, data collection has been…

Object Copying in C#

When working on some sort of data-driven project, I frequently have the need to allow deep-copying of data objects. There are several patterns that accomplish this, but I’ve settled on one in particular. Most .NET developers are probably familiar with the ICloneable interface. While this is a good starting point, it is not what I…

CategoriesC#

httpd migration complete

I’ve finished the httpd migration process. chrishowie.com is now using nginx as its primary httpd, which reverse-proxies to Apache for only a few mod_python and mod_mono web applications. Over the next few weeks, I’ll be trying to eliminate Apache entirely.

httpd and URI-to-site-mapping migration

Over the next week or so I’ll be working on migrating this site from Apache to nginx, as well as altering the way that various URLs map to sites/applications. I will be trying very hard to avoid any service interruptions by fully testing my nginx configuration before replacing Apache, but who knows what might happen….

TF2 item store launched

So I had some free time last weekend and coded an item store for Team Fortress 2. I collect items and sell them for varying prices, usually one scrap metal each. If you’re interested, check out the store! The store is built on a few components, all written in Python. There is a script to…

C++ references, continued

So I got some feedback about my last C++ post. The comment states that references are not pointers, they are just names for another object. Sorry for reopening a topic after nearly 6 months. But I cannot stay silent. I think you got it wrong. Completely. Although a reference might behave like “some sort” of…

Database versioning and handling branching

It’s no secret to developers of database-driven applications that trying to version a database schema (and seed data) is a royal pain. Propagating changes from your development environment to a live environment is not something that most version control systems are well-equipped to do. This is further complicated by distributed VCSes, like Git — how…

VPS.NET experiences

I’ve been using VPS.NET as my hosting provider for two years now (since October 2009). Here’s my experience, the good and the bad. The building block of the VPS offering is a node: a discrete unit of CPU time, RAM, storage, and bandwidth. These nodes can be deployed as separate servers, or combined together to…