Archive for August, 2009

OOP

Since I can remember, I always thought there was an irrational gravitation towards OOP from people. "If you don't do OO, you're not a programmer" is an underlying sentiment in all circles of programmers.Now, I firmly believe that OO design is definitely a great way to organize, process and a...
Read More

Visualizing changeset activity

Came across a nifty extension for mercurial that uses google charts to generate graphs revolving around your Hg repository activity. The extension is called ChartExtension - it's not as configurable as I had hoped but the results are pretty easy to obtain:[crayon-5bca07ea855a4431276085/] (click for larger) Subscribe in a reader...
Read More

End-user responsible for security?

Imagine this situation:A massively distributed worm that connects to random P2P services and downloads and shares various music files gets installed on your machine.The RIAA finds out and sues you right?This brings up a good question:Do we expect every citizen of the internet to be responsible for their own security...
Read More

Remote hooks with mercurial

If you use mercurial in a centralized model - it can be a little fiesty to create and troubleshoot your hooks.You'll want to make sure you scan over the /hgrc hooks section and the redbook section on hooksFirst, a few rule of thumbs:It's possible to write them in bash/sh, and...
Read More

Overengineeringalisminity

More often than not, developers thrive for the opportunity for self-developmental moments by designing something super abstract - and in the end become disappointed and unhappy with it because designing things that are too abstract can be just as limiting, if not more limiting and difficult to work with than...
Read More

Good programmers

Truths about good programmers:0. They know the difference between writing it 'quickly' and writing it 'right'1. They know that the ability to do both is necessary.2. They know that when writing it quickly, if you have to stop and think about something, think about the data storage schema, not the...
Read More

Programming through inductive reasoning

I'll never forget my Geometry class in high school, not just because it was fun, but the teacher was kind of an oddball (in a good kind of way). I learned so much from this class it was unbelievable, it was a life changing experience because it taught the true...
Read More

Canonically speaking

A co-worker and I recently got into a discussion regarding table naming - specifically prefixes and how to group them.A common approach you see, is to group the tables around a system using a prefix for it's name:_newsevents_news_newsevents_categories_newsevents_aclThe hardest thing about keeping everything 'integrated' is to get other developer's off...
Read More