Archive for the ‘Sundry Musings’ Category

Moving Elsewhere. Slowly

Sunday, December 7th, 2008

If you take a look at the archives, you may notice that this site hasn’t been updated in quite some time. April, to be specific.

In the late Spring, I got burnt out and kind of lost momentum to continue posting things. Ironically, the site was increasing in traffic and readership. Doh.

I was otherwise occupied throughout the summer (Damn you, WoW!). When the school year swung around, and I officially quit WoW, I decided it was time to revive my old web development/publishing pursuits.

However, for a variety of reasons, I chose not to just pick up with this site and continue. For one thing, I wanted to combine a handful of projects into one, manageable project. One reason I stopped posting here was to work on a blog about World of Warcraft. My new project – This Life of Brian – incorporates a couple of different topics/websites under one umbrella. It makes it a lot easier to keep things up to date.

Also, I grew tired of this domain name. It sounded catchy at first, but now I think it’s a bit spammy. I had a couple articles do well on Digg, and some commenters pointed out the domain name. Doh.

I’m now in the process of slowly migrating the archives of this site to my new project. They’ll all be contained in the web development and publishing section of the site – Nerds at Work. It’s pretty well segregated from the other topics (online gaming, education, and random blogging pursuits). It’s got its own theme and its own RSS feed.

I’m also hosting all of my new content at that site, and this site will no longer be updated. I just renewed the domain for another year, so this site will be here until next December. However, don’t expect anything new here… and hopefully all of the old articles will be at Nerds at Work by the spring time.

So what are you waiting for? Head on over and check out my latest work.

Five Useful, Simple Wordpress Plugins

Thursday, March 20th, 2008

I’ve been playing around with developing Wordpress sites for a while now. I love how quick and easy it is to launch a site and update content.

One of the greatest features is the thousands of plug-ins available for Wordpress. You can find a plug-in for just about anything you want to do – or if you have some PHP know-how, you can develop your own.

Here are five basic Wordpress plug-ins that I’d recommend using for any project you start.
(more…)

Busting 5 Myths About (Ubuntu) Linux

Monday, March 3rd, 2008

Every time I see a discussion on the forums about Linux vs. Windows vs. Mac, I’m struck by the persistence of certain myths about Linux. Reading the conversations, it seems obvious that a lot of people who have never tried Linux have seriously inaccurate conceptions of it.

I recently switched my main computer to Ubuntu Linux. With that as an example Distro, let’s take a look at some popular myths about Linux and see just how true they are.
(more…)

What Is the Point of this Spam Comment?

Friday, February 29th, 2008

Every couple of days, I quickly browse through the Akismet spam bin to see if any real comments got sucked in. There usually aren’t any.

However, I’ve been struck recently by seemingly pointless spam comments. They are clearly generated by a bot, but they don’t include any kind of backlink… what’s the purpose of that?
(more…)

Getting Combinations: Calculating a Binomial Coefficient

Sunday, February 24th, 2008

I came across this problem on the DigitalPoint forums the other day. How can we write a script to calculate the total number of random combinations in a set (i.e. the binomial coefficient), and how can we generate a list of these combinations?

Today, we’ll tackle the first part. We’ll start with a quick primer on math – what is a binomial coefficient? Then, we’ll look into the most efficient way to calculate that and get the total number of possible combinations.
(more…)

Javascript Game Spotlight: 3d Worm

Saturday, February 23rd, 2008

Screenshot of a 3d Worm game written in Javascript.I was browsing the Frihost forums this morning, and I stumbled on a cool Javascript game.

One of the Frihost users and his friend made a 3d Worm game. Although the directions are in Spanish (as is the source code), the game is pretty cool. It’s a good example of what you can accomplish with some Javascript/DOM trickery.
(more…)

Which PHP Logical Operator Is Better – ‘and’ or ‘&&’?

Saturday, February 16th, 2008

I was browsing the Sitepoint forum today and somebody raised this question – is it better to use ‘and’ or ‘&&’ as a logical operator in PHP?

In most cases, they evaluate the same way. For example, these two statements are equivalent.

if ($x && $y) { ... }
if ($x and $y) { ... }

So what’s the difference?
(more…)

More Backlinks, More Cash with Squidoo

Friday, February 15th, 2008

I’d seen this idea suggested on a forum, and it’s about time I got around to it. I created my first lens at Squidoo.

Why? I was able to work in a few nice backlinks to my site and my articles. I’ll earn some cash if it gets traffic of its own.
(more…)

Five PHP Coding Mistakes to Avoid

Monday, February 4th, 2008

While browsing through dZone the other day, I stumbled on this article – 40 signs you really are a lousy PHP programmer.

While I don’t agree with all of the author’s points, it’s an interesting list of php coding habits to avoid – but that most of us tend to pick up anyway. Here’s a list of my five biggest pet peeves.
(more…)

Exploring Wordpress – Database Structure Explained

Sunday, February 3rd, 2008

While reading some forums this morning, I came upon an interesting question. Where is the category information stored in the Wordpress database?

I opened up phpmyadmin, expecting to see a “categories” table. No dice. After a few minutes I figured it out – and I decided it might be a good idea to explain how the Wordpress database is structured.
(more…)