May 29, 2002

Well … let’s try the remote blog thing again :p I’ve got a couple of interesting things to comment on today. One, discovered a bug in Blog that had been there for a time – at least I think so though I can’t figure out how it escaped me for so long … maybe it was a bug created during a “Replace All” on the code. Anyway, a user was trying to specify a directory for his blog and Blog wasn’t working properly on the FTP part of it. I think he made a mistake himself in that he gave the full URL instead of just the full directory path in the Full Path setting on the Sites tab (which is again partially my fault since it’s not explained properly – fixed now since I added an example to the tooltip hint <g>), but in looking at the code to see what I had done, I realized that there was a small bug in the code too.

The FTP component I use (Indy FTP) does not allow you to change directories from wherever you are – you can either change to a directory below the current directory or you can move one level up from the current directory. Those are the only two options :-( So what I do in Blog is, get the current directory (which the FTP component allows you to do), count the number of / characters in the current directory to figure out how many levels of directories I need to change to get to the root directory and then do a directory change using the absolute directory given in the Full Path setting in Blog. Unfortunately, my code was using the Full Path setting to calculate the number of directory levels to go up instead of the current directory value and that was the bug. It’s fixed now and so everything should work as it should – hopefully …

I was again trawling the referrals to my sites and came across a new link from a message board. The only reason that I find this particular link interesting is because the original poster mentioned the fact that I’d worked on both LiteStep and DarkStep and somebody else responded to it saying that he didn’t know that I’d worked on them :p Since I spent about two years doing nothing but code on LiteStep and DarkStep every spare moment I got, I guess I find that a bit ironic but then again, I probably have a slightly exaggerated sense of myself since you can’t expect everybody to know every little app I coded on, right? <vbg> The only reason that I don’t even link to the DarkStep site from my sites is because I’ve given up totally on DarkStep development and don’t even provide support for it any longer. I’ve often thought of starting work on another shell! (maybe coded in Delphi …) but I just can’t pick up enough enthusiasm or maintain the enthusiasm once I’ve actually got myself to start some work. Ah well …

Update: Drat! The problem with POP access still remains! I don’t have the time to debug it online now and so it will have to wait till the weekend or till I have some time after work at work … I was so hoping to have this done today so that I can start putting together the docs for a new release. Oh well …

Be Sociable, Share!
Tags: General
Posted by Fahim at 6:41 pm   Comments (3)