Central Spell-Checking Dictionary

11 Jan 2010

Today, I found out that the spell-check system within Microsoft’s .NET framework does not support adding entries to the dictionary. Supposedly, .NET 4.0 will add such support.

Come on! Are you kidding me? What century is this, anyway? This is an extremely basic feature. Seriously, I could write the code in under 1 day and I don’t even know C#.

Generally, yes, the Microsoft Office shared spell-check dictionary would probably fit the bill. It’s been a long time, but I remember nearly 10 years back that there was some COM or DCOM accessible spelling-dictionary facility documented in MFC coding guides that was more OS level “global”. That’s what was basically what I was thinking about. However, I’m not finding it with some quick Googling, so maybe I’m thinking of something else?

Yet another reason I continue to prefer Qt. Oh, and Linux where any app that wants spell-check just links in the GNU aspell (or other such) library, all of which can share common dictionaries. Lest we forget Mac OS X; they have a global spell-check feature that even works on a command prompt.

Why are Microsoft frameworks (especially .NET) always so far behind?



Writing Secure Code: 8 Basic (Microsoft) Rules

31 Oct 2006

While reading some things today, I stumbled across this MSDN Mag article titled, “8 Simple Rules For Developing More Secure Code“.

There is nothing groundbreaking in this article, but it is a good collection and summary of these important and truly basic, programming principles. Some are easier to implement in an existing development pipeline and a couple could require some very large changes. Still, it’s worth considering.



“Hacker” is a Good Word

14 Sep 2006

One thing that really irritates me to no end is how the mainstream media keeps demonizing the term “Hacker”. I often get questions about the term and sometimes end up spending time explaining that the term “Hacker” has been around since long before it came to be used in the world of computers.

As I’m sure most of my regular readers have already figured out, I agree with much (but not all) of what Bruce Schneier writes. His latest post, titled “\What is a Hacker?,” repeats some things he has said before about this and is an excellent description.

Well worth the read.



Java’s Battle Against non-Nouns

1 Aug 2006

I’ve just come across this post by Steve Yegge. It’s quite an enjoyable read and I think he’s quite right about Java’s attitude towards verbs.

Overall, I like Steve’s writting style and I think I’ll be reading more of his stuff in the future, even though he seems to be suffering from a complete lack of Vim.



WordPress 2.0.4

1 Aug 2006

Four days ago, a new release of WordPress, the blogging software that runs OpenBrainstem blogs was made available. It’s now up to version 2.0.4, which all OpenBrainstem blogs are now using.

There were several security fixes and over 50 bug fixes, according to the announcement on the WordPress website. However, I’ve also noticed a couple of irritating regressions. For example, when managing pending comments, it’s always been possible to click on the text next to the radio buttons at the bottom of each comment you are moderating. This makes it easy to select the action you wish to take for each comment, as you have a larger target for your mouse pointer. Unfortunately, this broke with 2.0.4 and clicking the text no longer selects the bullet.

There were a couple of other patches I had to reapply to the code. For example, if you look at the calendars at my blog, you’ll see that dates with a post are displayed very nicely. This is thanks to a small change I made to the template-functions-general.php file. You can download the patch file and apply it to your own WordPress installation, if you like. Then, I added the posted-day class to the style.css file for the theme that I am using.

There are also a few other tweaks I have made to that theme, and I’m planning a couple more. One thing is that when you view a dated page, the sidebars don’t get their background colors set. A minor bug, but I’ll fix it sometime.

Anyway, there were some other code patches I had to reapply, but it only took about 10 minutes to do. I’m going to get some of these patches packaged up and submitted for inclusion in future versions of WordPress.



PHP Dinner

6 Jul 2006

This evening, Clint Savage and I met up with John Taber and Richard K. Miller at a little place in Provo called Pudding on the Rice, which sells only rice pudding in various flavors. The restaurant looks like it would fit in perfectly on Rodeo Drive or in Manhattan and was quite fun.

We spent a couple of hours discussing many things PHP. We talked about and compared PHP and other languages like PERL and Ruby. We spent some time discussing the pros and cons of several PHP frameworks like CakePHP (a.k.a. simply “Cake”), qcodo and CodeIgniter, among others. I’m not going to waste time here describing them, as John did an excellent job of comparing the various PHP MVC frameworks already.

It was a good time and I hope to be able to do more of them. If you have any interest in PHP at all (this definitely doesn’t mean you, Stuart), then you should make the effort to join us next time. Also, check out the Utah PHP Users Group site for details on other events for Utah’s PHP community.



Nearly All Binary Searches and Mergesorts are Broken

6 Jun 2006

I just stumbled across this gem on Google‘s Official Google Research Blog.

For those non-software engineering types in the audience, perhaps a good “advertisement” (yes, it’s a bit of a spoof on Apple‘s ads from a couple of years ago).