Archive for August, 2008

htop – an improved “top”

Tuesday, August 26th, 2008

For the past few months I’ve been playing around with a VPS purchased from Linode (more about Linode may be blogged about at a later date). While setting things up I’ve come across many tutorials about various things, and I’ve decided to create a Linux category here just so that I can keep track of good tutorials and share them with you :)

First is htop, which is a great replacement for the default top utility. There are downfalls to top, like not being able to scroll down the process list, and easy shortcuts for sorting and managing processes. I don’t know why I haven’t found this earlier! Would have saved me a lot of time trying to figure out how to use top and why I couldn’t see all the processes.

This tutorial at Go2Linux outlines the installation method.

WordPress Upgraded

Saturday, August 9th, 2008

I’m amazed at the easiness of the WordPress upgrade system.  The “three step upgrade” really lives up to its name; I upgraded from quite an old version of WordPress and I had no problems with the upgrade at all.  However, I wish the same could be said about themes.  As you can see, I’ve reverted to the default theme for now.

MyBB – Database Import

Wednesday, August 6th, 2008

Ever since MyBB had a facility to create database backups, we have had questions on why there wasn’t a similar facility to import backups.  The following reasons were taken into account while designing this feature:
1) Security: Reason: If a user somehow managed to get into an administrative account with the correct permissions, they could potentially revert your forum to an earlier state, or run arbitrary SQL queries on your database. The Alternative: The use of an externally-installed database administration application reduces the chances that a malicious user can perform these actions on your database through MyBB.
2) Focus: Reason: We are developing a bulletin board system. We are focused on bringing you the features that will help run your bulletin board. Although database backup and restore are important tools, they are not used on a day-to-day basis in your forum’s administration. The backup function has more frequent use than the restore anyway. Our development resources are limited and we do not have the capacity to develop a fully-featured database administration program into the bulletin board software. The Alternative: Third-party database administration programs are specifically developed for the purpose of managing your database. Their features are more robust than what we can provide. Just like how we concentrate on BBS features, their development teams concentrate on what their product is: database administration.
3) Weight: Reason: In order to keep the MyBB package a reasonable size, we have to be conscious of what features are implemented. It is a waste of both physical and human resources to have a large package (clunky to install and update) with a steep learning curve (difficulty of usage). The Alternative: Dedicated database administration solutions have the ability to incorporate more useful administrative features because that is their focus.
4) Reliability: Reason: In the hypothetical case where an import facility is indeed incorporated into MyBB, the requirement of using it is a working version of MyBB. Let’s say you just upgraded to MyBB 1.4, but you do not like it. Your database backup is 30MB. You start restoring it via the MyBB 1.4 Admin CP, but the restore times out part way. Your database is now half MyBB 1.2.x and half MyBB 1.4.x and neither version will operate correctly. You will need to resort to a third-party database administration program anyway to complete the process of reverting. A doctor can’t heal himself if he is unconscious. The Alternative: A third-party database administration program does not depend on anything you are operating on. Even if an operation times out, this does not affect the program, you will be able to use the same program to correct the problem.

I hope this sheds some light on the rationale behind not including a database import feature.

MyBB 1.4 Released

Sunday, August 3rd, 2008

We released MyBB 1.4 to the masses this weekend.  I wouldn’t say it’s “overdue” but it’s about time we had this release out the door.  We still haven’t managed to get the “self-fix” module working for MyBB to fix itself, so as usual support threads are pouring into the MyBB Community Forums.  Unfortunately I was caught up in school and work to do as much development as I wanted to for 1.4, but the other developers did a great job recoding the entire Admin CP, and all the other things.

Hope you enjoy MyBB 1.4.