This morning I decided that since I was graduation (wahoo!) and my email account wouldn’t be working soon, I should migrate to a new server. Never have I had so much trouble with it. I could connect through an unsecure connection, but as soon as I turned on encryption, the connection would fail silently. I restarted, I changed settings, I googled, but to no avail. Then I noticed the “Error Console” in Thunderbird. I opened it up, and it turned out one of my extensions (the Remember Mismatched Domains extension) had a bug and was causing problems. The solution: disable the extension and restart. Once Thunderbird had a copy of the certificate on hand, I re-enabled the extension, restarted, and things worked as expected. I should probably file a bug report.
Technology
…you write programs to do things that would have been quicker to do by hand. For my digital engineering lab, I decided it would be easier for me to reformat the test strings for my circuit using UNIX command-line programs instead of just monotonously reformatting by hand (there were 21 lines to change).
At one point in this exercise, I realized that I wanted to add two hexadecimal (base 16) numbers, and I decided that I was making mistakes doing it by hand. So I wrote a program that takes in two hex numbers, and outputs their sum (in hex). We’re talking about adding 2+8 to get 10 (which is “A” in hex), nothing fancy. Anyway, so I write this, and then I have to write a second program to concatenate the now-separated lines that need to be together for the program.
Total time spent writing and debugging all my commands, probably 20 minutes. Time to do it by hand, maybe 2 minutes. But, if you give me a 10,000 line test vector, I’m already done. Go do that one by hand, is what I say. Of course, since you’re not expected to have this kind of programming expertise, that wouldn’t happen in this class. But you get my point. And I had fun.
Karolina turned me onto a piece of software that I have been seeking for years: Processing. It lets you program in Java to do cool things with graphics without much effort, especially if you know Java. I always wanted something that would me be bored and make fractals or something. I should program that.
This post is also a test of the feeds.app plugin for movable type for an indeterminate blog.
I just tried to use the MT-Protect plugin to password protect a blog of indeterminate name and location. It takes the cake for being in the top 10% of unusable software. In fact, Movable Type in general ranks high on that list; installing software extensions for it requires you to manually unpack the plugins while logged into the server, and then insert obfuscating tags into all your code templates. To password-protect the blog, I actually had to tell it “Enable Protection” in 3 places, and then I would have had edit all of the file templates (half a dozen more of those), and even then I wouldn’t use the Movable Type author database, you had to use some other website.
Movable type has its own development problems to boot. Useful plugins such as Cross-Blog posting require their own plugins to depend on (and they’re outdated, but that’s another problem). In all, it sounds to me like MT is going down, not up for all its convolution.
Eagle-eyed stalkers may have noticed a growing spam problem on my blog. It probably started when I was linked from a Blogger blog, a site which I understand suffers from rampant spamming. To combat this problem, I installed a spam filter that looked for keywords and other attributes in the spam. It worked relatively well, but not perfectly; a few messages a day would get through. Then it seemed to stop functioning properly, because things that should have been detected were not being caught.
My new solution was the installation of a plugin uninterstingly called CCode and TCode. This plugin scrambles the identity of each plugin by putting an extra variable on each comment page. The key to this tactic is that the spammers do not crawl the webpages the way a normal browser would; they just submit requests directly to the the comment program with variables common to all movable type blogs. So, the spammer picks up the “standard” variables for a comment, submits a request to the commenting page… and is rejected because it didn’t include the “secret” code for each page.
Obviously, if spammers catch onto this tactic, then it’s exceedingly easy to beat; simply visit the page, pull the necessary variables off, and then continue with business as usual. Such is the failing of any scheme that is integrated completely without requiring human intelligence to authenticate. Nonetheless, right now it works perfectly, and when it fails, I’ll probably put in one of those scrambled-word images that have been used to verify human intelligence for years now..
