Libraries are always good, right?

There is a pervasive belief in the software world that you should never re-invent the wheel and that an existing library is always the best solution. While there is some merit to the sentiment that re-inventing the wheel is often pointless or dangerous, I have recently come to the conclusion that this is not always the case.

Continue reading “Libraries are always good, right?”

NostalgiaMUD

A month or two back, I was joking about with some folks on an IRC channel. We got to talking about retro things on the intertubes, which isn’t a stretch given the general topic of the channel. Eventually, the topic of MUDs came up. Now I used to run a MUD myself so it piqued my interest.

First, I looked around hard to see if I could find the old source code for that MUD I used to run. Alas, one two many hard drive moves before the era of terabyte plus hard drives for less than a C-note means that unless I somehow get instanely lucky and find a burned CD somewhere or somebody out there has the source on their hard drive, the source code for AugMUD (the MUD I used to run) is long lost in the great bitbucket in the sky. But I didn’t let that stop me, for I remembered that AugMUD was based on the CircleMUD codebase.

The first thing I did was download the version AugMUD was based on and discovered that it doesn’t build on a modern system. I looked at a newer version and found that it was all cluttered up with portability cruft. I wasn’t happy with either option. Fortunately, I have a decade and change more experience with C programming since then and I had this brilliant notion. I thought to myself, “I can write a MUD!”

I cranked up my text editor and set my programmer-fu loose on it. In relatively short order, I had a function communication framework. Then, using the CircleMUD code base as a guide (since I wanted the general CircleMUD feel), I rapidly fleshed out the system until I had a playerable game. I even managed to build a tool to import data files intended for CircleMUDs and convert the areas that came with CircleMUD 2.2. Then, finally, just around Christmas, I completed the last showstopping missing feature (magic). That meant the game was now playable.

Since then, I’ve done various updates, expansions, and renovations to the world, but it has remained playable. So with that, I am happy to say to anyone who remembers the old days of text based multiplayer dungeons or anyone who wants to try one out, NostalgiaMUD is open for business.

You can connect to NostalgiaMUD on port 4000 at nostalgiamud.l-w.ca. (This link might work if you’re lucky: telnet://nostalgiamud.l-w.ca:4000.) You will need some sort of terminal program that supports the telnet protocol, or, if you want the heyday experience, a MUD client. Anyway, feel free to drop in and check it out.

Edit 2016-01-19: There’s a web site at http://nostalgiamud.l-w.ca now.

cphulkd sucks

One of the unfortunate things about my day job is that I have to manage a server running cPanel. Some folks insist on cPanel because it has all these fancy gewgaws, features, widgets, and the like. However, once you start trying to manage a server running cPanel for more than a few trivial web sites, you start to discover just how terribly engineered it is, and it has absolutely no excuse for that. One particular feature I recently tripped over hard is cphulkd, which is cPanel’s answer to brute force detection. Continue reading “cphulkd sucks”

The PHP Encryptor Scam

At $dayjob, I recently encountered a WordPress installation that was created by some overseas developers on behalf of our client. Let’s call the client Fred. So Fred asks me to make a duplicate of his site on a subdomain so he can have some development work done without messing up the live site. That’s perfectly reasonable and ordinarily poses no problems. You just duplicate the WordPress files and database, update the configuration file, maybe fix a hard coded URL or two, and Bob’s your uncle. Alas, this time it was not that simple. Continue reading “The PHP Encryptor Scam”

Responding to Mythbusting Linux

I just encountered a video done by one Matthew Moore. He calls it “Mythbusting Linux”. You can find it over on Youtube here. For the most part, what Matthew says in the videos is accurate enough. However, there are a couple of points where he misrepresents or misunderstands the specific situation. Continue reading “Responding to Mythbusting Linux”

Adopt vs Adapt….

I was just reading a professionally published novel. Normally, you expect some competency from the editors in such situations. To be fair, it is clear that there was editing and the editing was consistent. However, the editing had a consistent glaring error.

In at least three cases, the text read “adopt to”. In those cases, it was being used in constructions like “adopt to the new policies”. That is wrong. You can adopt a new policy but you cannot adopt to a new policy. The correct word is “adapt”. When your town adopts a new policy, you have to adapt to it. Now, in two cases, it was crystal clear from context that “adapt” was the intended word. In a third case, it was less clear and a case might have been made for “adopt”. However, it would have been a bit weak.

There are other usages throughout the same work (different words) that are potentially questionable. However, in those cases, a reasonable case can be made that it was a stylistic choice, a result of inner monologue by a character that didn’t understand nuances correctly, or what have you. There are other cases that are clearly typos or otherwise errors. However, the instances of “adopt” were significant in that they were consistent. That is, someone actually believes that they are correct.

It’s unfortunate that such an error slipped though. The novel in question is an otherwise excellent read.

Stupid Email App Design (Android)

I just encountered, for the umpteenth time, what is probably the single stupidest design decision I have ever encountered in the history of email applications. With the default Android email app, it is impossible to change the IMAP or POP3 username once the account is created. You can change everything else, including the username for SMTP, but not the username for incoming mail. The only way to change the username for incoming mail is to delete and recreate the email account, which is something you don’t want to do if you are using POP3 and storing email on the phone

Of course, you may be wondering why this is an issue? After all, usernames don’t change, do they? Wrong. There are two cases where usernames change:

1. You change email providers. That doesn’t always mean your email address changes since you may be changing the hosting for a domain. In that case, username required to log in to the new mail server might change.

2. Your email host changes the way it operates its email server and that changes the login format required. For instance, going from requiring “username” to requiring “username@domain”.

These two things happen more often than most people realize.

So, by the collected powers of the universe, good, evil, and neutral, fix the <bleeeeeeeeeeeep> default Android email app to allow changing the <bleep> username for incoming mail!

Traffic Signals and Pedestrians

A recent discussion about a New York City request to Google proved somewhat interesting. The request itself was for Google to add an option to its navigation type products to avoid left turns. Their reasoning was that left turns are an inherently dangerous operation and reducing the number of them would be overall beneficial. One commenter brought up another question that is somewhat interesting, though. Continue reading “Traffic Signals and Pedestrians”

The Greek Crisis, Money, and, Bitcoin

Over the past week or two, there has been a nontrivial amount of commentary on Bitcoin and Greece. Many commenters seem to think it is a prime opportunity for Bitcoin to go mainstream, or even go as far as being adopted as an official Greek currency. Others are much more skeptical, or downright derisive of the idea. I’ve discussed Bitcoin before (here, here, and here for instance). If you’ve read those posts, you’ll have a fair idea where I’m going to fall on this particular issue. Continue reading “The Greek Crisis, Money, and, Bitcoin”