Posted by GJ on January 31, 2007
Ophcrack provides a bootable CD which looks at the local Windows installation and proceed to use the computer’s available memory and CPU resources to extract the passwords for all the user accounts. Ophcrack by default cracks only alphanumeric passwords (letters and numbers only); serious users would have to buy additional data files to crack more complex passwords.
<img src=’http://sourceforge.net/dbimage.php?id=25562′
Running this on my Windows installation was an eye-opener - my system’s weak passwords were cracked in less than a minute. It instilled the fear of weak passwords in me like no amount of haranguing or well written articles could!
Posted in techie | No Comments »
Posted by GJ on January 27, 2007
This is a good article from Psychology Today: Friendship: The Laws of Attraction.
An excerpt:
But according to social psychologists Carolyn Weisz and Lisa F. Wood at the University of Puget Sound, in Tacoma, Washington, there’s another component to best friendship that may trump even intimacy: social-identity support, the way in which a friend understands, and then supports, our sense of self in society or the group. If we view ourselves as a mother first and a belly dancer only on Saturday mornings at the local dance studio, our best friend is likely to be another mom because she supports our primary social-identity (as opposed to our personal identity as, say, someone who loves film noir or comes from the Bronx). Our social-identity might relate to our religion, our ethnic group, our social role, or even membership in a special club.
Also some interesting tips on how to maintain friendships:
From young adulthood onward, our notion of what makes a good friendship changes very little, but our capacity to maintain one does. It’s a poignant reality; we know what it means to be and have friends, but after we graduate from college and go our separate ways—launching our careers, getting married, having children, getting divorced, caring for aging parents—we’re often unable to muster the time and energy to maintain friendships we profess to value. Like anything else in life, if we want to remain friends with someone, it requires a little work. Simply put, we must show up.
Communication facilitates the first two essential behaviors: self-disclosure and supportiveness, both necessary for intimacy. We must be willing to extend ourselves, to share our lives with our friends, to keep them abreast of what’s going on with us. Likewise, we need to listen to them and offer support.
Interaction is the third essential in tending to a friendship. You’ve got to write, you’ve got to call, you’ve got to visit. Find the nearest Starbucks and take time to catch up. “The specific activity doesn’t matter,” says Oswald. “The important thing is to interact.”
The last and most elusive behavior necessary for keeping friends is being positive. Social psychologists tout the necessity of self-disclosure, but that doesn’t mean an unrestricted license to vent. At the end of the day, the intimacy that makes a friendship thrive must be an enjoyable one, for the more rewarding a friendship, the more we feel good about it, the more we’re willing to expend the energy it takes to keep it alive.
Posted in everyday | No Comments »
Posted by GJ on January 27, 2007
It’s not that I’m against buying real estate, but for such a significant decision, I prefer to have as much objective information as I can. I’m very “left-brained”… and often a contrarian, much to the displeasure of many I talk to.
So it is with interest that I read http://en.wikipedia.org/wiki/United_States_housing_bubble:
The popular notion that, unlike stocks, homes do not fall in value is believed to have contributed to the mania for purchasing homes. This assertion has been true for the United States as a whole since the Great Depression, and appears to be encouraged by the real estate industry. However, housing prices can move both up and down in local markets, as evidenced by the relatively recent price history in locations such as New York, Los Angeles, Boston, Japan, Vancouver, Sydney, and Hong Kong; large trends of up and down price fluctuations can be seen in many U.S. cities.
and:
Compounding the popular expectation that home prices do not fall, it is also widely believed that home values will yield average or better-than-average returns as investments. The investment motive for purchasing homes should not be conflated with the necessity of shelter that housing provides; an economic comparison of the relative costs of owning versus renting the equivalent utility of shelter can be made separately … Over the holding periods of decades, inflation-adjusted house prices have increased less than 1% per year.
I won’t contend with anyone about whether a particular neighbourhood is “bound to go up”, though; unsurprisingly, I’m not good at all at predicting how people will value a particular neighbourhood ten years hence.
Posted in everyday | No Comments »
Posted by GJ on January 18, 2007
Someone tell me what’s wrong with this calculation? The “common sense” advice is that one should always take the shorter amortization period that you can live with when buying a mortgage, all other things being equal. When I crunch the numbers, however, it doesn’t make sense.
I whipped up a simple spreadsheet that does the major calculations: http://spreadsheets.google.com/pub?key=p4BfPAlbI_wk4TRtdFKA0MQ
I picked an arbitrary principal amount. I also picked the amortization period in a similar fashion. It’s easy to spot that five years doesn’t make a large difference in the monthly payments. However, if we assume that monthly difference is invested for a certain Return On Investment, it adds up to a pretty big amount after 30 years.
For fun, I factored in the tax refund form using a tax shelter - it makes the case stronger, but it doesn’t change the conclusion. I also took into account that with a shorter amortization period, the last 5 years of payments goes directly into the bank account.
Can someone tell me why these calculations are wrong? It runs contrary to all the accepted wisdom about mortgages. I ignored inflation, but given that inflation is economically beneficial when holding debt, it would make extending the amortization period a better case. The ROI is chosen based on a historical average of the stock market index, and the mortgage rate seems historically reasonable, too?
My only thought so far is that the underlying assumption in the standard advice is that people won’t (profitably) invest the extra monthly cash that comes from a smaller payments. Is it really simply a discipline issue, and knowing one’s self?
[Updated 2007/01/26] The comment from DX is right; if I remove the tax shelter effects and make the mortgage rate equal to the ROI, the Future Value of both amortization cases ends up the same. Another consideration I’m wondering about is if the Present Value of those last five years of mortgage-free savings is as valuable as the accrual of smaller savings earlier. I suspect, however, that is balanced out by the reduced real burden of debt due to that same effect.
So I guess it boils down to whether one’s expected ROI is greater than the mortgage rate, and whether one is forgoing any tax shelters with those mortgage payments.
Posted in everyday | No Comments »
Posted by GJ on January 17, 2007
Upon special request after relating my woes of having a suicidal computer, I put up pictures of my computer setup. Click on the pictures to go to Flickr, as I’ve added explanatory notes about many of the items in the pictures - wave your mouse pointer over the version of the picture at Flickr.

Posted in techie | No Comments »
Posted by GJ on January 17, 2007
While performing evening ablutions, I heard a noise that never fails to terrify - CRASH! Used to the antics of my cats, I sighed, and went to discover my computer case had leapt three feet, off my desk to the hardwood depths below.
Much to my surprise, I did not lose any data. I believe my case may have suffered some structural damage, evidenced by the warping of the front panels, but my case has long past the point of prettiness.
I think I’ll buy another Antec case after this one finally succumbs to my abuse. I have an Antec SLK1650 for the benefit of anyone else looking for a well-made case.
Posted in techie | No Comments »
Posted by GJ on January 17, 2007
After shipping my Optoma DV10 projector to Optoma’s Mississauga location, I crossed my fingers that it was a simple repair. It must have been, as a scant two working days later, I discovered UPS was trying to deliver me a package!
According to the service report, they replaced the colour wheel and all was well again. Trying it out at home, it works again!!!
I missed watching shows on the Really Big screen.
Posted in everyday | No Comments »
Posted by GJ on January 6, 2007
The MetaWeblog plugin for Pyblosxom (xmlrpc_metaweblog.py) generates new blog entries in files that are named as a incrementing sequence of numbers (based on total entry count). That isn’t very helpful when trying to find the source of a blog entry to edit.
I don’t program in Python, but it is a straightforward language to work with. Some googling gave me enough code snippets to figure out what to do. The patch below changes the filename logic to be based on the title and the current timestamp. This format is also helpful with respect to my use of the filenametime plugin (pyfilenametime.py), which allows the date/time embedded in the filename to override the file timestamp for purposes of determining the blog post timestamp (so I can edit previous posts without affecting the order).
390,391c390,392 < count = _getEntryCount(request) pattern = re.compile('[^a-zA-z0-9]+') > title = pattern.sub('-', struct['title']) > date_time = time.strftime('%Y-%m-%d-%H-%M') 393c394 postId = os.path.join(category, "%s" % (title + '.' + date_time)) 395c396 postId = os.path.join("%s" % (title, '.', date_time))
Posted in techie | No Comments »
Posted by GJ on January 6, 2007
I noticed today that whenever I edit an existing post via a file editor and save it, the first refresh to my Pyblosxom generates an HTTP 500 error. Since the logging is terrible for Pyblosxom (or I’m ignorant on how to make it better), I disabled all my plugins and progressively enabled them, testing at each step.
I don’t know what the ultimate source of the problem is, but it’s clearly the Weblogsping.py plugin that’s associated with the behaviour. With that plugin, editing a file causes the first refresh to have an error; subsequent refreshes behave as expected.
Fortunately, that plugin was only there as an afterthought - it doesn’t matter much to me to be pinging blog aggregators.
Posted in techie | No Comments »
Posted by GJ on January 6, 2007
The obvious revamp of my blog’s appearance also reflects a change of the blogging software underneath. I switched from Blojsom to Pylosxom. Both are based on the Perl-based Blosxom. The unifying principle of all three is that blog entries are stored as plain text files, rather than in a relational database like other, fancier packages (e.g. WordPress).
The main reasons for moving to Pyblosxom:
- The next version of Blojsom, v3, is moving away from a file-based data store to a relational database (Apache Derby). A simple blog-entry-per-file scheme is why I looked for something like Blojsom in the first place (easy to backup, easy to edit).
- My server is a virtual machine with 96MB RAM. Running a light servlet container (Jetty) for Blojsom takes 40MB - most of the free memory after all other services are running.
- I like finding “better” ways of doing things.
I originally tried Blosxom, but I found it frustrating to get the plugins I wanted running. I later reasoned that since Python is the “cool” language right now, Pyblosxom had a chance of being good and of progressing. Compared to Blojsom, some of what I like about Pyblosxom:
- Low resource footprint.
- Load times are much faster (related to the lower resource footprint).
- Tagging and Captchas, which were difficult for Blojsom, were easy.
The main features I miss from Blojsom:
- Integrated administration webpages that can also be used to post to the blog.
- Better XML-RPC support for various graphical blog posting tools. The only one that worked while supporting categories was Deepest Sender. Blogmailr, which I used to post to my blog via e-mail, will work only with Pyblosxom’s root category.
- More active development of the base and of plugins. Blojsom’s authour, David Czarnecki, is prolific. Blojsom is also the default blog server for Mac OSX.
- Better error handling. Pyblosxom’s logging is poor (most errors result in an HTTP 500 error and a generic message in the Apache logs), and something as simple as a malformed metadata line (e.g. specifying the tags for the entry) or a zero-byte file will cause unrecoverable errors.
- The Pyblosxom plugin MetaWebLog XML-RPC API creates new posts as sequentially increasing filenames - Blojsom created them based on the title of the blog post.
Overall, I’m happy with the result. Pyblosxom had a limited set of appearances to choose from. However, starting with the one I liked the most as the base, and with feedback from Firion, I was able to hack around with the plugins and CSS to get something I’m content with - for now anwyay.
Posted in techie | No Comments »