September 15, 2004

Done, done at last! Thank God almighty, done at last!

The last entry for this site, which was made somewhere in June, was never published at all due to the fact that Blog wouldn’t cooperate :p I finally got that entry to publish today after getting most of the major problems in Blog. Actually, I’m kind of happy to get Blog working again since now, I use one application, Blog, to post to both my WordPress site and my non-WordPress site :p That is kind of cool.

A lot has happened since I last posted here and I’d probably have to make a humongous entry to catch up with all the stuff that has happened :p I just don’t feel like making the aforementioned humongous entry due to the fact that I’m not feeling totally well today. So I guess I’ll do the Cliff’s Notes version of what has been happening so far instead :p

OK, I left my then employer and joined a new company somewhere in May. This new company had been a project of my then employer’s and I’d been involved in the project for about a year before they decided to go off and form a separate company and they wanted me involved. I did get involved but found that I’d taken on way too much than I’d bargained for. I found myself doing systems administration, HR duties, procurement and a heck of a lot more besides when I had actually been hired on to be their lead developer. Things got a bit too hairy for my tastes and so, I went back to my old employer (who now is my new employer … again :p).

I’ve been here at my new/old employer for a couple of months now and things have been fairly hectic since I’ve had to do a couple of proposals as well as a full promotional video for the Information and Communication Technology Agency (ICTA) of Sri Lanka. I really enjoyed the work on the ICTA video since it was something different from the usual run of the mill stuff I get to do. Unfortunately, till about a week ago, all this stuff meant that I was kept fairly busy since I also had taken up writing for another monthly magazine here in Sri Lanka (in addition to my existing column on a different monthly magazine :p) and what with trying to do all that and keep up with my comics, movies, TV shows and so on, not much time was left over for doing other things … such as coding.

Since I couldn’t post here till I got back to coding and got Blog working, that presented a bit of a problem as far as posting on SM was concerned. Of course, I really didn’t have much time to worry about SM and so, I’d think about getting back to the code, but really wouldn’t do it :p I’ve finally been able to get back to working on Blog – mostly because a friend needed Blog working more so than because I needed it working :p – and so, hopefully, I should get back to posting here too. We’ll see …

Tags: , , , ,
Posted by Fahim at 10:30 am  |  No Comments

June 7, 2004

Breaking the silence …

Yes, things have been quite but not really due to a desire on my part to remain quiet :p Rather, it has been due to the fac that I just simply hate to post using the web interface and my work on Blog to get it working with WP was progressing very slowly. Actually, the Blog coding was doing pretty well generally but it was the little stuff where things were going crazy. For instance, I got Blog to retrieve posts from a WP server with no problems at all and to even post back to a WP server but then, Blog seemed to develop a weird slow down effect in selecting a post for the very first time. I finally traced that to the PlusMemo component though I’m still not sure how/why this happens. I’ve kind of sidetracked that problem for the moment but then I started getting another error where Blog seems to hang for the longest time before it shuts down and sometimes I get an access violation error. So, I’ve been struggling with all these problems and while I have stuff to post about, I can’t post because there are just too many problems and I’m just not that sure of Blog itself. Yeah, I know I can use the web interface to post but there’s no point in taking the easy way out :p

Tags: , , ,
Posted by Fahim at 10:05 am  |  No Comments

May 24, 2004

And then it happens …

I’d tested the WP blacklist plugin quite extensively and it all seemed to work fine on my notebook machine and so I uploaded it yesterday and set it up for this site. And of course, I never tested the plugin on the site since it had worked before :p That is just asking for things to fail and fail they did – and most spectacularly too. Anybody who tried to post a comment probably got hit with a long string of PHP errors and not much else. Ainslie, who’d tried to post a comment earlier and couldn’t (due to a different error – this time due to me trying to set up permalinks with a nice directory structure :p) let me know about the problem and when I tried it, sure enough it wouldn’t work. So tried to fix it on the server itself for a bit. Bad idea! I finally simply turned off the blacklisting on the server and went back to my local machine. I could duplicate one of the PHP errors on the local machine and after a bit, I figured out what was wrong – there was a logical error in the code where I was checking for IP bans. If there were no IP addresses in the ban list (when I originally tested, there was of course an IP address entered for testing purposes), you get a PHP error. I fixed the code, tested on the local machine and it seemed fine. So I upload to the server and try again … another error! So I recreate the blacklist that I use on my local machine off Jay Allen’s blacklist file and try again and this time I get the error on the local machine too :p So I took a look at what was happening and it turns out that the blacklist that I’d originally imported off of had a few of the regular expressions modified so that they wouldn’t throw a fit with PHP. Unfortunately, when I pulled the list from Jay Allen’s site, I got the stuff as Jay Allen had them and PHP seemed to gag on that. I finally figured out how I should modify the fetched blacklist to play nice with PHP and ran through another round of testing and everything seemed to work fine. So back I went to the server with the blacklist and finally it all worked fine 🙂 Ah well, I’m glad that it works fine now – or at least it seems to … So I guess it’s time to add a few more plugins to the mix to see how soon things will break again :p

Tags: , ,
Posted by Fahim at 3:34 pm  |  4 Comments

May 23, 2004

The fairest of them all …

Yes, I’ve finally switched … and not only have I switched, but I’ve switched in a big way :p I switched over to using WP yesterday and since then, I’ve updated my install twice – first to the WP 1.2 RC2 that was available for download yesterday and today to the WP 1.2 final. Not only that, I’ve also in this timeframe, written a script to import all of my MT entries, categories, users and comments to WP and a plugin to allow me to blacklist comments posters so as to get rid of all that pesky comment spam.
Sure, there was an existing WP script to import from MT, but I hated how it worked and there was already an existing hack for the blacklist functionality but I hated having to modify the source files and then having to do that again when I upgraded to a newer version – so the plugin takes care of all that nicely 🙂 And now I want to get cracking on Blog so that I can get back to posting here via Blog but that looks as if it might take a while since the blacklist plugin is keeping me busy these days. But then again, the first release of the plugin is ready – I’ve actually installed it here already and it seems to work fine :p So maybe it’s time to move back to Blog …

Tags: , , ,
Posted by Fahim at 11:54 am  |  1 Comment

May 21, 2004

And the winner is?

Yes, there have been no entries since I said I was thinking of moving to a different publishing platform :p And the reason is that I’ve been busy checking on each of the contenders I mentioned. Incidentally, I should mention that the folks over at pMachine were kind enough to give me a free copy of ExpressionEngine as part of their switch program 🙂 I didn’t really expect to win when I applied but I did and so I gave ExpressionEngine a try as well and while it is all they claim to be, it has a few things missing which made me decide not to go with it. Plus of course, there is the whole "commercial" thing – it’s a commercial app and while I got this release for free, I don’t know if all future upgrades will be free or not and so I’m a bit leery about it. The biggest thing that I missed in ExpressionEngine was the fact that it had no support for an external blogging API. So if I’d switched to EE, then I wouldn’t have been able to blog from BlogMan or Blog any longer.

As for the other contenders, I think I dropped Nucleus at the outset after discovering that their comment spam filtering features weren’t as good as I wanted them to be :p So that left just b2evolution and WordPress. My initial choice was actually b2evolution since it supported multiple blogs and WordPress didn’t but later I learnt that b2evolution’s multiple blogs weren’t really multiple blogs but some form of separating entries using categories – of course, I might be wrong here since it was something I read rather than know for sure due to firsthand experience :p However, it looked as if there was a lot more work being done on WP than on b2evolution and so I settled on WP.

Once I’d settled on WP however, the real work started :p It turned out that WP imported MT entries but first having the user export the MT entries in MT itself and then reading that exported file. However, that didn’t work for me since I’m on a really slow connection at the moment and the export would always fail before it completed. So I decided to write a script which would import the MT entries into WP on the server itself by transferring the records from the tables on the MT database to the tables on the WP database 🙂 It actually ended up being fairly simple to implement but I had to install Apache, PHP, mySQL and phpmyAdmin on my machine before I could get to work :p Once all that was done though, it took me one evening’s work to actually get the script to the working stage and a few more hours of tweaking saw all my MT entries transferred over without any problems (at least that I could see …) to my WP database. Of course, then began the task of converting my WP template to be as close to the MT original as possible but I think I’ve got that covered now as well. All that remains is to put a comments spam moderation system into place and I’m ready to go.

Here’s the kicker – WP has a lot of comment moderation options but I still like Jay Allen’s MT-Blacklist best of all 🙂 I want something like that! Now the thing is, I find I work really well with PHP since it seems to be an extremely intuitive language to me. So, I’m going to work on the code for an existing WP hack which actually works a lot like Jay Allen’s plugin and try to see if I can actually make it a plugin for WP. If I can (or once I decide I just can’t do it or it’s too much work :p) then I’ll do the final bit of switching over to WP. Till then bear with my comments on switching :p

Tags: , , ,
Posted by Fahim at 8:10 am  |  7 Comments

May 17, 2004

Movable Type and Moving My Typing :p

As you are probably aware, I use Movable Type to maintain this weblog. At least, it is MT which handles the actual publishing though I do use my own offline application (BlogMan) to do the composing of the entries and getting them to the server :p The folks over at Six Apart (they are the ones who develop MT) have been talking about a new release of MT – 3.0 – for a while now and I’ve been looking forward to the new release myself. The first pre-public release – they call it a Developer Edition – was announced over the weekend and a veritable storm broke over major parts of the blogging universe :p

The reason? Ben and Mena Trott – the folks behind Six Apart and MT – had decided to go over to a paid model for this iteration of MT. Unlike a lot of the people who use MT, I am neither personally acquainted with Ben or Mena nor do I use MT that much – it is simply the backend handler for SM since I actually do all of the posting from my own application. However, I do like MT and the features it provides. On the other hand, the limitations of the free release under the 3.0 licensing does make me wonder about continuing to use MT and I’m already looking for replacements. This however is a personal decision based on the fact that the free version of MT might be too limited for me to continue to use it and the fact that future license changes to MT might mean that the free version will be even further feature-atrophied.

As far as Ben and Mena’s own decision regarding MT 3.0, I’m kinda divided. A lot of people seem to feel that Ben and Mena lied to them and that they were being devious in their later decision to change some of the original terms after they were released. I personally don’t think this is the case. Granted that I don’t know the people involved, their concern over having to switch over to a paying model seems to be genuine. But switch they must if they are to survive – this too I understand. As a software developer, I can understand the problems they face. On the other hand, I do think that charging US$ 100 for a personal package which doesn’t give that much more than the free version is a bit excessive as well – especially given that the new release of MT 3.0 does not have that many features added. Yes, there are a lot of changes behind the scenes that will mean more goodies in the future – but nothing for your average user just yet.

Then again, on the other hand, this *is* called a Developer Edition and is aimed mainly at the developer and so the average user shouldn’t really get bent out of shape – not till they do the public release and continue to charge them large sums of money for not many features added :p It really seems to be one of those grey areas that cannot be really categorized as one or the other – there are too many variables … not to mention all the heated emotion that gets in the way of cool thinking. But I do wish Ben and Mena best of luck in trying to take MT along on a new direction.
As far as I’m concerned, I’ll switch to something new soon. I’m looking at a few alternatives at the moment but the one I choose must meet a few criteria that is important to *me*. What are they? Well, first of all, it should be able to import my existing MT entries and comments :p Then, it should support the Blogger API or the MetaBlog API so that I can connect to it via Blog or BlogMan to continue to post offline. Next, it should support comment spam filtering and blacklisting since I seem to get a lot of that stuff :p Finally, it would be nice if it supported a few of the template tags and the calendar feature from MT that I kinda like … but that last is not a must 🙂

Of course, before people suggest (does anybody even read these entries anymore anyway? :p) alternatives, I guess I must mention what I’m looking at, at the moment 🙂 The top three contenders on my list are: WordPress, Nucleus and b2evolution. Each one has strengths and weaknesses but I believe all of them are open source projects and so hopeufully will not suffer the same fate as MT. There is a fourth contender, ExpressionEngine, but that is a commercial application. However, they do seem to be taking advantage of the current furore over MT and are running a sort of competition where the first 1000 people to send them an e-mail get a copy of ExpressionEngine for free :p

Incidentally, I’m not looking at the core or base install of WordPress or Nucleus :p Instead, I’m looking at Wuh Wuh, a souped up version of WordPress, and Nucleus Extreme. I’ll keep you posted as to my findings 🙂

Tags: , , , ,
Posted by Fahim at 9:12 am  |  2 Comments

« Previous Page