Pragmatism in code

Michael Percy AKA DeeEmm - Waxing lyrical about life the universe and everything software related since lunchtime 2006.
DeeEmm AKA Michael Percy is an industrial software engineer specialising in language based programming. A long time supporter and contributor to the open source community, he can mostly be found tinkering about creating web sites and writing code for various CMS platforms as well as maintaining several websites of his own.

Ubuntu 8.04

Well not being able to resist the advert shown above, I decided to take the plunge and update my Ubuntu install. Generally I have been very happy with 'Gutsy' What could go wrong?

The update is very straightforward and is easily done via synaptics update manager - first you make sure that the current install is up to date and then it allows you to install the update. The whole process takes about 20 minutes whilst it downloads and installs the relevent files and then reboots.

There's  a load of updated apps which is great as some of the apps in the Gutsy repository were a little out of date, Unfortunately there is still no VMware and more unfortunately it is likely that your curent VMware will stop working as mine did - however - fear not - it is fixable - After the mandatory google - I simply reinstalled it following some instructions for 8.04 and all was good (don't forget to back up your Virtual machine files first just in case).

One dissapointment for me was the new version of Firefox - well not firefox exactly (it's even better than it usually is) but the fact that most of the extension developers have not updated thier code to work with the new version. This is a bit of a pain for me as I regularly use quite a few additional tools for web development. The biggest pain is google sync as I use it to sync my bookmarks between my machines. Firebug and FireFTP need to come to the party too.

Continue reading
1625 Hits

A Good Time To Try Linux

With the New release of Ubuntu just around the corner and the bloated and expensive Vista requiring a hardware upgrade for most current 2000 / XP users to even be able to install it on thier machines it has never been a better time to try Linux. With the ability to be able to boot off of the disc and try Ubuntu without even having to install anything on your hard drive there is really no excuse - especially as it is free!

5 months and still smilingIt has now been about 5 months that I've been solely using Ubuntu Linux as both my work and 'play' operating systems which means it's being used about 10-12 hours a day. So far I have only had to revert to using Windoze on one or two occasions - and that was only to use an excel file that I had written a bunch of VB code for as open office does not seem to support it. Eventually I will get around to re-writing the file in Javascript as a standalone software package - then my ties with Windoze will be completely gone.For emergency use I had set up Windows XP as a virtual machine (as well as leaving the Vista installation as dual boot when I initially installed Linux) The vitual machine allowed me to use the Excel file for a client demo, and as the virtual machine integrates quite nicely within the Linux window handling I'll leave it installed (see THIS video I recorded whilst writing this article). The dual boot Vista on the other had has not been booted into since I installed Linux on the machine - when I get some spare time I'll look into removing it.Another item of note is that I have managed to function using Linux in a solely windows envoironment - everyone else (with the exception of one Mac user) uses Windows at work, the main server is running Windows SBS, most of our clients use Windows. Even considering that I am probably the only person using Linux file sharing and editing of shared files has not caused any problems - Email from the SBS 2003 server has not been a problem - even acessing and creating public exchange folders is possible. Despite all the success, there are a few things to look out for - occasionally Evolution (the mail client I use) goofs out, Incorrect formatting within office documents seems to get very exaggerated within open office and you will probably need to manually set up some things that you take for granted on windows (such as being able to connect to the internet via bluetooth on my WM6 Smartphone) - Mind you, one point of note is that Ubuntu is a LOT more stable - as well as simply working with my Asus laptop from day 1, it has never suffered one lock up - I cannot say the same for my experience with any windows operating system.


So,why not replace your MCE machine with Linux too?

Continue reading
1820 Hits

Eclipse PDT And Xdebug (Better Than Ultraedit?)

Unusually I have found myself with a spare half hour this morning so decided to put it to good use and write a post here. Progress has been slow of late - the only thing that has really changed is the folder layout - I've created a few new folders and moved some files from the site root - the only real use this serves is simply to tidy things up a little. There's basically two new folders - 'javascript' and 'core_files' - both of these should be self explainatary. For those of you who are interested - checkout the latest CVS - you will see a branch called 'new_folder_layout' under the dmcms_080 module - that's the new site layout.Other worthy things of note are my continued useage of eclipse - some of you may recall that late last year I switched to Linux from Windoze (Ubuntu to be exact) the transition was relatively painless but it did leave me without a linux version of my trusty Ultraedit. Rumors of a Linux port aside it looked like UEdit Studio was not going to find its way over to the dark side and so that left me with little choice than to try something else - that something else was Eclipse with the PDT plugin (which I have installed by using the Pulse Eclipse manager).For the odd file edits here and there I must admit I use the built in text editor (Gedit) which has syntax highlighting and generally suits me fine but for project based stuff (like DMCMS) I've been using Eclipse. The integrated CVS client is great - there's not even any need for a key - just put in your password once and the checkout / update process is seamless and uninterrupted. Checking out into a project is very easy - in fact a project can be created when you check the files out if you require. Overall - very easy to use. My only (very small) complaint is that the CVS commands are hidden under a second level in the context menu (Under the 'Team' menu to be precise).With an active project you might want to set up the Xdebug integrated (free) php debugger - to do so you will need to select Xdebug as the default debugger from the properties menu (accessible under windows > properties) and add in the path to your php executable. A point worthy of note here is that you may not have a php executable if you installed PHP from the repository - you might need to add the command line interface version of PHP - you can easily do this by the following command-(for ubuntu)sudo apt-get install php5-cli

Obviously replace the php5 with your version - now you should be able to find php5 under Usr/Bin (type 'find php5' in a terminal to list all occurances of php5).

The Xdebug debugger is an open source project that is now bundled into Eclipse, it is free and thus very obviously a fraction of the price of the Zend version. For those of you who have a license for the Zend product - Eclipse also offers support for this too

With the Xdebug debugger installed and the CVS client up and running I now have a tool of comparible use to Ultraedit Studio for PHP work -for me it's still a bit clunky but then that's probably more to do with the fact that I've been using ultraedit for many years - I'm sure I'l eventually get used to it.

Continue reading
4780 Hits

PhpBB Blog Mod

With the recent update of a site I help manage and some discussions about a new direction for DMCMS towards the social networking side of town I stumbled across a mod for phpBB that allows users to create thier very own blog. The mod, known as 'The Blog Mod' seems to have a very chequered history and is difficult to find somewhere that currently supports it. Trawling through the phpBB mods forums I found out that the original author (Hyperion) seemed to simply dissappear, A deluge of posting then raised the concern that the mod would simply die without some kind of rescue attempt - so another topic was started to discuss the relevent merits of saving the mod. The outcome of that discussion was that yet another topic was started to support the newly ressurrected 'Blog Mod' - after the topic was blasted for not being in the specific phpBB mod style, and the original auther gracefully backed out of thier offer of support yet another thread was started and the mod lived on...That was until about February when the official development thread on phpBB was locked. In addition the official website at seems to have died about August time last year.It seems a shame that there is so much beurocracy over at phpBB that what appears to have been quite a well respected mod has now had the plug pulled on it by the closure of the thread, as for what happened to the official site, who knows?A little digging has found a few links to sites still hosting 'The Blog Mod' -

If anyonw knows what happened to this mod shoot me a message via the forums.


17800 Hits

MD Webhosting

Regular visitors will have noticed that the site has been out of action for a number of weeks now - this is due to my web hosting providers poor service. I have been plagued by bad service from this provider since I started hosting with them last year - access to the email server would stop, as would access to the site, then it would start, then stop again... this seemed to be hourly. 

No amount of service calls seemed to bring about a resolution - the tech team's standard response seems to be clear your browsers cookies and then restart your browser... mmmmmnnn... ok? Well, a recent security breach left me pretty pissed - my site was hacked, filled with phishing software and then used as a launchpad for a spam assault - it would appear that the security breach was server wide - no doubt someone gaining access as root. I lost my site when they deleted it - with no warning and then had all my service requests ignored. All I can say is it is a good job that this site is not for profit - if I relied on it for an income I would be bankrupt by now. Well enough was enough - I've now changed providers - hopefully the service should be a lot better. Mind you, I had the last laugh yesterday when MD Webhosting's site was down again - they're probably still getting hacked. My advice to anyone thinking of using MD Webhosting - DONT! They're not the cheapest and they're far from the best. Anyhows - that's enough ranting from me - Just thought I'd add to the plethora of Google results that say MD Webhosting suck - guess I should have read a bit deeper before deciding to go with them. Please be patient whilst I get the site back up and running, hopefully it shouldn't take too long. I'm limited for time at the moment so you may have to wait a while before I get the forum and Wiki back up. DM.


UPDATE: 13:54:55  2008-02-22 - The Wiki and Forum are now back online. However I have not been able to restore the Wiki backup - I may use this as an excuse to rewrite it.

1489 Hits

One Week Later...

I've now been using Eclipse for the past 5 days and must admit I think I've found a serious contender for replacing Ultraedit. I've set up the CVS client plugin - which incidentally doesn't have the annoying problem found with crossvc and tortoise that requires you to input your password multiple times (I added it once and haven't needed to add it in again!!!) - the CVS client is as good as any others I've used - it integrates nicely into the main editor so you only really need to go into the plugin to set it up. Some of the terminology differs from what you might expect (instead of 'CVS' on the context menu it says 'team') but once you're used to it it really isn't a problem.

Eclipse as an editor has some nice productivity features - for instance - it searches all the code in the project and lists all instances of the text 'TODO' (and some other tags) and provides you with a task list in a window at the bottom the screen - these tasks link directly with the code in which they were found - clicking on them open the relevent file at the appropriate place. You can update / expand the text to make it more useable or readable, plus you can set priorities and mark them as finished too. What a great tool!!Code checking was one feature that I loved about using Ultraedit for writing PHP, well Eclipse not only includes code checking - it handles it in a very different way. Along side the task window you will find the 'Problems' window - this is a live list of all errors and warnings found in all files in the project - No need to syntax check each file - simple browse through the window content - again clicking on the error will take you directly to the relevent part of the code. Warnings and errors are also highlighted by a warning or error icon in the margin of the codepage.Another nifty feature that I love is the full page editing - if you double click on the tab for the page you want to edit all of the docked menus are automatically hidden and the page is shown full size within the editor - menus can still be accessed by the use of small icons around the edge of the screen. Double clicking the tab or selecting one of the restore icons returns the layout back to normal. This feature also works with any of the tabbed docked tool windows as well.I must admit however, I haven't found a column edit mode, which I use quite a lot in Ultraedit. In summary - I actually like this editor quite a lot, whether it is extensible enough to use for other non supported languages remains to be seen but as a PHP editing envoiroment it certainly cuts the mustard, I'm quite happy to adopt this as my primary PHP editor within the Linux envoironment.One thing of note is the way in which you choose to install it. I am running Ubuntu 7.10 (Gutsy) and found that if you wanted to install Eclipse via synaptics and then installl the plugin using the built in feature manager in Eclipse the PDT plugin will not install - this is because the version of Eclipse in the Gutsy repository is too old. this means that you can either manually install a later version of Eclipse, or install the PDT 'all in one'. There is also another alternative - you can use Eclipse 'Pulse' - this is an online plugin management service - it is free to use and currently in beta - Pulse provides PDT as a package as well.Anyhows...Enough talking for the moment - I actually have work to be getting on with. Currently I am working on getting the user group functionality sorted out for DMCMS - this will provide the possibility of many additional features - one of which will be user comments. (Hopefully some of you who read this might also contribute to the discussion) I just thoght I'd take the time to share my findings with Eclipse.L8RSDM.

2273 Hits


Last Friday I decided to throw a curve ball at my editing practices and try something that didn't involve Ultraedit. Somehow I ended up on the Eclipse IRC network and had a chat about the relevent merits of Eclipse, it's useability, scalability etc. I had briefly tried Eclipse before but had not really tried to use it in earnest, plus I think that I probably had the wrong version installed. Eclipse is basically an editor platform on which plugins are added to flavour it to your requirements - if you want to edit and compile C++ you simply install the relevent plugins to turn it into a C++ IDE. Likewise for PHP / Web editing you add in the relevent PHP plugins - this is the part I didn't do last time! Armed with new information - and a link to the PDT package download page (the PDT package is the PHP Development Tools plugin) I installed a copy of Eclipse. It's worth noting at this point that if you don't have the Java Runtime installed on your machine you will need to install it as the program will not function correctly - the installer will alert you if you need to install it (you can install it easily via synaptics).My first impressions of the PDT package are that it seems to be pretty impressive - I like the way that it lists included files in a hand to use menu, the syntax highlighting is as good as most - generally the layout is well presented. Projects are easily generated and it has a built in CVS client although I havent set it up yet.I'm going to try using it for the next week or so and see how I get on. Watch this space...

1449 Hits

CVS Linux Or Windows???

With my new Ubuntu installation taking shape there are only a few things left to sort out to make it 100% functional as my primary web developing machine. So far I have not regretted making the change, especially as I can now run my beloved Ultraedit Studio within VMware on a virtual XP machine. The transition has been pretty seamless, the interface is intuitive and a pleasure to use. I have made a few minor customisations to help increase productivity and changed the theme to add a little eye candy.

The main change was adding in the Compiz manager so that I could enable a few additional desktop effects - specifically I added a 'hot corner' to the 'Scale' effect so that I could use it as an entourage type screen switcher - this also works great with VMware. Normally you need to press the 'ctrl' + 'alt' key combo to release the mouse focus from the VM - setting a hot corner to the top right of the screen means that the Scale effect is called regardless - no need to press the key combo - simply moving the mouse to the top right not only releases the mouse focus but also calls the scale effect. Checkout the screenshot on the left - The VMware screen integrates seamlessly with the rest of the applications. For the best effect you should turn off the tabs, toolbar and summary so that the VM looks like any other Application window. Click on the image to open up a larger version.

Using VMware this way has allowed me to retain the use of Ultraedit (which is good as bought a lifetime subscription - lol), but it does leave me with another small dilema - what cvs program do I use?????

Up until now I have used Tortoise CVS - an excellent program that integrated nicely into the windows shell. For a while I also used the CVS built into Ultraedit but found Tortoise to be far superior.

Continue reading
1618 Hits

Lamp Not Wamp

As regular readers would know, I have recently changed my primary operating system over to Ubuntu. This computer is mostly used for web development so running a Linux based system makes sense as the end platorm I write for is Linux based.On Windows I usually use WampServer to host and test PHP code on my local machine, this is basically an AMP stack (Apache2 + PHP5 + MySQL) bundled with phpMyAdmin and a nice task bar 'applet' where you can change settings, start / stop the server etc.. All of this is installed from a sinle installer file - things don't get much more convenient than that.To make my Ubuntu (Desktop version) installation more useable I needed to install the LAMP stack but this involved installing the components seperately. This isn't really that hard but it does require using the terminal and typing some commands in. Incidently, you can use Ubuntu server version which already has this set up, but being aimed at use as a server it is void of other programs.Installation of the AMP stack is best carried out in order - this is basically Apache > PHP > SQL.To install Apache2 you will need to use the following command - sudo apt-get install apache2You may get an error as follows - "apache2: Could not determine the server’s fully qualified domain name, using" this is easily remedied by adding the following line to your httpd.conf file

ServerName localhost

You can call the file up in the text editor by using the following command

gksudo gedit /etc/apache2/httpd.conf

Continue reading
1672 Hits

Dual Boot Linux And Windows

As some of you may recall, after a recent hard drive crash I invested in a new laptop and then installed Ubuntu on the old laptop. This was a great idea as I found that all of the previous issues I had encountered whilst using Linux seem to have been addressed with Ubuntu (I have previously used Fedora). The only problem I found was that I was neglecting the new laptop and using the old machine with Ubuntu on it a little tto much.With renewed enthusiasm in Lunux I would love to make the jump from Windows but try as hard as I can - I cant seem to take the plunge and replace Vista on the new laptop with Linux. This is mostly due to not being to find a decent replacement for Ultraedit - I've tried the alternatives - none of which really cut the mustard, I've even installed Ultraedit running under WINE but nothing quite matches up to my expectations (Ultraedit is just too sluggish running under wine to be really useable for me)Well....Although I haven't one the whole hog - I HAVE taken the plunge and set up the new laptop as dual boot Linux / Vista.This is actually very easy to do with Ubuntu Gutsy - basically you'll need to have Vista already installed and then boot up with the Ubuntu CD. Once booted, click on the 'Install' icon on the desktop and the installation process will start - it will ask you a few questions and then launch into the partitioning tool. The partitioning tool will present you with 3 options - assisted partition / use whole disk / manual partition. Choose the first option (assisted partition). The tool will then ask you what size you want to adjust the partition to - choose a suitable size and then the installer will do the rest.When the installation is finished it will ask you to remove the disk from the drive and hit enter - the machine will then reboot and start with a boot menu allowing you to select what os you want - the bottom option will be windows.Anyhows.....With Ubuntu installed on my machine I have opted to install VMware under Linux so that I can run Windows as a Virtual Machine - this will allow me to run Ultraedit and the other applications that I need that I can't find Linux alternatives for (mostly work related applications such as robot programming clients). Setting it up in this way I can use Ubuntu as my primary ooperating system :)I have also taken the plunge and done the same for my company laptop - evolution works flawlessly as an exchange client and I seem to have less network problems with Ubuntu than I did with Windows. (plus I can't wait to see the look on the IT managers face - lol).The coming weeks will be a real test to see if I can live without windows - it shouldn't be a problem with the company laptop as I don't do any programming with that machine - just manager stuff involving the office suite (open office that is ;) ) and project based stuff for which I already use open workbench.If I can happily live without booting into Vista on the other machine I will remove it :DOne annoyance has come out of this - my new laptop came with a recovery disk - the disk is an Asus branded disk that will only allow installation onto an Asus machine - This however means that it won't allow me to install Vista into VMware as it does not see the virtual machine as an Asus machine - phah!!! - looks like I will have to revert back to XP for the time being.

DMCMS Latest

With renewed vigour I have been ploughing into getting the next release of DMCMS ready. At the moment I've been working on groups and group membership - I'm trying to set it up so that there can be any number of groups and users can be members of multiple groups - this level of flexibility when coupled with access permissions granted to group members should make DMCMS very flexible in terms of managing content access.

At the moment I'm thinking of access restrictions in terms of categories -

Continue reading
1394 Hits

An E-Mail Server For Your WAMP Setup

For all of my development work I use an AMP stack running on my windows machine (commonly referred to as a WAMP server). This allows me to run Apache / PHP / MySQL on my windows box without the need for a Linux machine - very handy if you are developing something like DMCMS and don't have a linux box on which to test your work. Over the years I have tried many different WAMP distro's - I've even installed the seperate components myself.

Nowdays I tend to favour Wampserver - as it is compact, easy to install and has a nice, easy to use interface. I have also used UniServer ( ) as it has a very small footprint and can be installed on a memory stick so it can be used an any PC. However, it didn't integrate correctly with the syntax checking function in Ultraedit so for the time being Wampserver is my tool of choice (although I must admin I have no use for SqlLiteManager).

The only problem I found with Wampserver is that it does not include a mail server - this makes it impossible to test any mail functions within your software.

With my current focus on getting DMCMS Version 080 ready, it didn't take long for me to get bored with uploading changed files to a test site, so that I could test out changes involving sending mail, so I decided to install a mail server on my Windoze machine.

Continue reading
2791 Hits

Start As You Mean To Go On...

With the first working week of the year at an end I am very pleased with myself - not only have I managed to release two DMCMS updates but I have also managed to keep my other resolutions too. The long long overdue security update was rolled out in Version 0.7.1 closely followed by another version to address a couple of small issues that were missed with the first release. Whilst only up for few hours the Version 0.7.1 release had 20 downloads - thats a lot of interest in such a short period of time - hopefully this is an indication of things to come.Work has continued on the Version 0.8.0 release with a number of items being crossed off of the To Do list. In a bid to keep visitors more informed I have added a 'Current Task' to the To Do page to indicate what I'm currently working on, I also split out the list into items scheduled for the next release (To Do List) and items for later releases (Wish List) - this has allowed me to review and remove a few items from the 0.8.0 release to speed up it's release. Hopefully this should provide an accurate status for future project development.Have you visited

Also worthy of mention is - Ohloh was started up in 2004 as a way of providing more visitbility into software development. Utilising a number of aids ohloh provides analytical data and project overviews in an easy to read format. Statistics can be viewed for both projects and contributors alike. In addition Kudos points can be awarded between members. Members can also add projects to 'Stacks' (a personal colletions of projects) allowing projects to be suggested to them based on common choices.

Naturally I added DMCMS as a project. The project page proides entries for RSS feeds, descriptions and after adding CVS information a breakdown of the content of the project is displayed.

Amusingly the breakdown indicates that it would cost you approximately $844,130 if you wanted to hire a team to replicate DMCMS - And to think I gave it away for free - surely THAT should give me some kudos points.

1245 Hits


Once again it is that time of year where most of us will make the resolve to change something for the New Year. Usually this ends up with failed attempts and frustrations with only some being lucky enough to follow through.Well - it is coming up to one whole year since I gave up smoking :) I guess this time round I was one of the lucky ones - although I didn't give up on New Years Eve - it was more like mid January. Maybe this is why I was successfull? Who knows? (If I did I would have spent the past year marketing my 'how to give up smoking' book).But now it's time for me to make some more promises to myself - this year my biggest goal is to get a little fitter (I managed to put a few pounds on in the process of giving up smoking), a hard task for most - hopefully I can apply the same determination to this as I did to giving up smoking last year (In a way I almost feel that now I've managed to give up smoking I can achieve anything).A much harder task to acheive will be getting DMCMS V0.8 into a state where it is ready to release - this is however one of my New Years Resolutions.Looking back over the past year a lot of progress was made on the development of DMCMS in the first 6 months - the whole project was made public on Sourceforge (there have been nearly 600 downloads to date from the Sourceforge site), it has been targetted by various hackers exploiting vulnerabilities in the code (which I see almost as an honour - lol), it has been promoted on various websites and it has continued to provide the basis for most of the websites that I create / manage. Unfortunately the latter part of the year provided no further releases due to other commitments.My commitment for 2008 is to get the Version 0.8 release finished so that it can be made public - The biggest part of the V0.8 release is the user management features. The decision to integrate user management into DMCMS was taken earlier in the year and it has proven to be quite a bit more work than originally anticipated. The current test releases have a functioning user management system that provides user registration and user commenting for registered users. The plan for the final V0.8 release is to also include a permissions system so that access can be restricted to created pages.Currently the permissions system allows users to be split into three different categories -

Users (this category is for registered users) Administrators (these users have access to all site features) Moderators (these users can modify / delete / add content).

These user categories are mostly to deal with the commenting system - moderators can be made to carry out moderation functions but thier access to other admin functions is completely restricted, Administrators obviously have access to do anything and Users have to be logged in to be able to post (therefore they have to be registered).No Guest posting is allowed as this will most probably just event in a lot of unwanted spam. User registration involves confirmation by email for account activation. I have also added captcha integration using the reCaptcha API for added anti-spam security - this may or may not be bindled with the release - I'm not sure at the moment - I personally think it's great but I also have to consider the added complexity it presents to the user setting up a DMCMS installation.The [currently] limited user account types will have to be expanded to provide access control to created pages, it is most likely that this will be expanded to customizable user groups. This route is almost a definate as it fits in well with another project that I am currently undertaking where I need to provide a seperate area for each logged in (subscribed) user - the ability to be able to create unique groups will allow me to be able to assign a group to each user. I can then create a page specifically for each user where access is only granted for the group associated with the user. Fully customisable user groups also allows the end user to choose a name for the groups that best suit thier site.

This method of access restriction works well, as a user can be made a member of many groups, meaning that access can be infinately complex. I may also add a timed function so that users can be made a member of a particular group from / until a specific time, this is something that I will need to do for the other project I am working on as paid subscriptions will be required, it seems logical to also include the features develped for my other projects in DMCMS too.

My other New Years Resolutions relate to other projects that I need to finish - I currently have a web based project that is in the initial stages of development, a desktop application that is 25% of the way through, a WM5 application that needs rescuing (it was finished but then a hard drive failure has meant that I lost some files) and an idea for another web based project. All of these projects (with the exception of the last one) need to be finished within the next few months, fortunately the web based project largely depends on DMCMS V0.8 so it is likely that this will cause the next DMCMS release to be pushed along nicely.

Continue reading
1200 Hits

Wine At Christmas

Regular readers would remember my look into IDE's / Programming Editors for the Linux platform from the last post. My main reason for this was to try and find something to replace Ultraedit Studio which has been my weapon of choice for coding for the past 7 or 8 years. Well, I've possibly found a better alternative - running Ultraedit 'natively' on Linux!No, unfortunately IDM have not decided to port UE for Linux (although more on that below...), I have discovered Wine. Wine is an application layer that allows Windoze applications to run on Linux by allowing access to dll files.The Wine website has an application database that lists applications tested with Wine, this ranges from applications like UEdit to PC based games. There are several entries listed for Ultraedit - namely different versions. There are some reports that ftp functionality does not work or is limited but generally it appears that Ultraedit functions fine. The Database entry can be viewed HERE and the Wine Home page can be viewed HERE

Installation of Wine in Ubuntu is easy - simply choose Wine in the Synaptic Package Manager. Wine is also available for other flavours of linux, with installation options to suit each.

After installing Wine, you will now need to download a copy of Ultraedit to your linux box. I've chosen to download and install Ultraedit Studio. Installation involves setting the exe file to open with Wine - this can be easily done by right clicking on the file and choosing 'open with other application'.

A bit of a tip - I found that if I chose the custom installation it would fall over trying to register wodCertificate.dll - wheras choosing the typical installation had no problems.

Continue reading
1593 Hits

Linux Programming Editors

A week or so in and I am really digging my Ubuntu installation, so much so that I'm almost regretting spending the cash on the new laptop - Installing Ubuntu on my old Dell Latitude has speeded it up end - it's now a much more useable machine. So far I have only had one issue with the Ubuntu installation - I've not yet been able to get WEP authentication working on wireless - the wireless card connects to non-secured networks no problem - but doesn't connect to WEP secured networks. Anyways - it's not a major issue and I'm sure I will sort it out in time.

EDIT: I reconfigured my router to use WEP Open Authentication and now it works!

I've decided to transfer over my web development onto the Ubuntu machine - I figure that if I can manage to comfortably use ubuntu to write code then I will junk my copy of Windoze Vista on the new laptop and make the jump over to linux permanent. The few programs that I need to run in windows can be run inside of VXWorks.My biggest issue is finding a replacement of Ultraedit - I've been using Ultraedit (Studio) for about the past 7 years and have found it hard to move away from using it, it simply has too many usefull features that many other editors do not. In the past I have tried many different open source editors for the Windoze platform but none quite hit the mark (I use Notepad++ on my work machine as they are too tight to cough up for a copy of Ultraedit). Linux appears to be no different.The main 'advanced' features I use for editing are syntax highlighting, function lists, bracket matching, project management, cvs integration, column editing, find / replace in files and php syntax checking.

I mainly use Uedit Studio for my web development - PHP / HTML / CSS, however it does get used for more specialist programming endeavours such as robot programming and so things like compiler integration is very handy.

Continue reading
2084 Hits


A recent hard drive crash ended up in me treating myself to a new laptop. Somehow the hard drive on my old Dell decided to just... well... stop working. A bit strange to say the least - the hard drive was less than a year old and hadn't really seen any rough use. But anyhows - I used the whole fiasco to talk myself into replacing the whole laptop with a new one (but of course bought a replacement H/D to revive the Dell)With my new machine pretty much installed and up and running, with the exception of a webserver to my taste (I've been playing with Ulimate Server - a slim php/sql distro that runs from a USB stick but it doesn't work with my syntax checker) I decided to get the Dell up and running with linux.After looking into the current range of Linux distro's I decided to give Ubuntu a go as it seemed like the least painfull route to getting it up and running. I have previously used Fedora but had a lot of trouble with wireless drivers.So far I must say that I am very impressed with ubuntu and the ease of installation. (I'm typing this from Firefox in ubuntu right now ;) ). everything has worked pretty much right out of the box. I've enabled Beryl (the expose style task switcher) and am currently setting up the avant window manager (a mac icon dock clone).Other software will get installed in time - I'm already happy using open office and gimp the only program I need to sort out is a decent text editor...I'll keep you posted of the progress.

1641 Hits

Hold The Front Page

Regular visitors to the site will notice the sudden shift in editorial content on the front page. This used to be the space where info and download links for my open source CMS project was displayed, that is until now...I originally registered the site for the CMS and have used it as both a testbed for new CMS code and as a platform from which it is aupported and served. The change in focus is largely due to other developments now taking a larger protion of my time away from the CMS, and a descision to free up the DeeEmm name association from being solely associated with the CMS.The name DeeEmm is the phonetic spelling for DM, which is in turn an acronym for an old nickname of mine. I used to use the name (and still do of course) as a psuedonym under which I program. Nowdays my identity is much less of a secret than it was way back when I first assumed the DeeEmm nickname but old habits die hard.Hopefully this page will develop into my personal blog and include news about tech stuff that I'm working on. (Yup - I know - just what the world needs is another blog) In a sense it is also a massive advertisement for myself to the rest of the world and can potentially be used as a platform from which to offer my services - for that reason alone it needs to be at least jazzed up a little as it is just a little dull :)Work on the CMS is still continuing, the bugfix for the SQL injection vulnerability has been implimented in a number of test sites and will be rolled out soon. Version 8 is still on the horizon, there are still a number of items to fix up but it is basically operational. I have a live version 8 site up and running at the moment and all appears to be well. The site was successfully updated from version 7 using the update function and will be used to test out the remaining bux fixes and features before the next release.My main focus with the CMS at the moment is to get the user management system completely up and running - at present it is functional but wholely untested. The addition of the user management system was a decision made some time back, it has meant that the final release has been delayed quite considerably but it has also proven to be a sound decision due to the demand from a number of current projects to have user management functionality.One such project requires a subscription based access restriction system to be employed - hence my current focus on getting stuff to a point where it is functional. The same project also requires ecommerce functionality, but I doubt that this will make it's way into the open source release.Anyways....This is more than enough rambling from me, I have real work to do - specifically getting the commenting system tested - that way some of you folks reading this can comment.DM.

1332 Hits

Open Source

A recent hard drive failure has forced me to purchase myself a long overdue new laptop. I ended up purchasing a nice Asus F3. The machine is a lot better than my old Dell 505 which has served me well for the past four years but unfortunately came installed with vista. A long time user of Dell products, I decided on the F3 as it has a very similar feel to the 505, which after struggling with my Toshiba Tecra at work was very important to me (the tecra has a number of really annoying features / non-features such as no right hand control button, windows button at top of keyboard, lack of bluetooth etc etc...)The spec of the machine is much better than my dell and should see me ok for the next few years.Originally I had considered changing to macs but the extortionate price of the macbook pro gave me trouble justifying it. My next choice was very obviously Dell, but as I really needed to pick something up this weekend I was left with little choice than to change manufacturer.Being a writer of open source code I decided that it was also long overdue to replace my aging office suite with a better and open source version - especially as I dont think my old version is compatible with vista.I've tried open office before - it came bundled with a fedora installation that I installed and I also installed / uninstalled it from my old laptop. this time though - I've decided that I will not give in to the pressure of installing office instead.Browsing duties go exclusively to Firefox of course, but with the addition of Internet Exploder / Opera and now Safari for testing purposes. Unfortunately the ieolas standalone version of IE6 no longer works :((deja vu)Another product that I've downloaded is netbeans - an open source and cross platform IDE supporting multiple languages. I've yet to use it and so cannot tell if it can replace visual studio express for me - I will keep you all posted.I previously used sharpsoft but ended up replacing it with visual studio express as it was a little too buggy.I'm embarking on a project to develop a desktop app - its a basic data handling and reporting app - I'm tempted to use the java portion of netbeans to write this - both as a test of the IDE and also to end up with a x-platform app.Another change for me is the adoption of Thunderbird as my email client - this coupled with the lighting calendar plugin has me pretty much set. This combo allows meeting requests to be sent to outlook clients with no porblems.All I need to do now is get push working with my windows mobile PDA when it gets back from the repairers and I can finally junk using the works SBS :)

1441 Hits

Pocket PHP

I recently discovered a Pocket PC PHP server called PocketHPH. PocketHPH is available from MobileLeap and runs on various platforms including the WM5 that my JasJam runs. Also included is SQLite3 support to allow you to run dabase based php developments.You might wonder what use running a server on your Mobile phone would be, from my point of view it could allow me to work on DeeEmm CMS development whilst on the road without needing to take a laptop with me, although I'm not sure that it would run in it's current configuration. Currently I have it loaded up and am using it so that I can test the output of DeeEmm CMS on a mobile device whilst configuring the mobile css file.Pocket HPH is free for non commercial use.You can download it from

Whilst on the subject of programs for Windows Mobile 5 I should also mention a few other apps that I find invaluable.

Minimo is a miniture version of Mozilla that is far better than the Internet Explorer that came with my JasJam. Amongst other things it includes tabbed browsing.

Minimo is available free for downbload from

Continue reading
7829 Hits

X10 Kit Arrived

I took delivery of my Active Home X10 starter kit yesterday. The kit is the 7 peice version that includes the Computer interface, appliance outlet, lamp outlets, bayonet fitting, radio receiver and remote control. As I already have the mControl demo installed on my laptop I decided to try and get control of at least one light. I fitted the bayonet adaptor into my hallway light and then plugged the radio receiver into a socket outlet. Using the remote I could easily trigger the appliance adaptor built into the radio receiver; by pressing '1' and then 'on' I heard a satisfactory click as the relay clicked on and off, however pressing '2' and then 'on' did not switch the light on as expected - that is until I realised I needed to obviously leave the light switch in the on position - D'OH!In less that 5 minutes I had a working system - I could now turn the hall light on and off from anywhere in the house and garden (for what pupose I'm not really sure). The range on the remote control seems very good - I now have it plugged in at one one of the house and can use the remote from the other with no problems.So now for the tricky part - getting it to work from my PC. I put the batteries in the pc adaptor and plugged it in, I then run the comms cable from the adapator to the comm port on my laptop (the unit I received is the serial version - a USB version is also available).With the connections done I opened up the mControl demo. I created a zone for the Hallway and added an LM14 device as it did not have an LM15 calling it Hall Light. After I saved it I clicked on the button to turn the lamp on and hey presto - the light went on!!! So far so good - this only leaves one thing left to test - My JasJam smart phone. I have a static IP address as I host some web sites on a home server which is great for accessing computers whilst i'm away from home. Its also possible to use some kind of service if you have a dynamically assigned address that allows you connect to your home server, but I haven't used this before. Before I could use the remote interface I created a rule on my firewall to pass port 29990 through to the IP address of my laptop, I then navigated my JasJam's broswser to http://myipaddress:29990/mobile.aspx I was pleasantly surprised to see the zone I had created with the hallway light in my browser, I could easily turn the light on and off with a surpringly quick reaction time of only a second or two.mControl rocks!!! - it worked right 'out of the box' with no fancy configuration required, the mobile remote access is also great - not only is it included with the package its easy to use and has well thought out controls for the small mobile screen.I am more than happy with the whole system (well - based on installing one light I am - lol) its easy to setup, use and the mControl software is worth every penny. I must admit I didn't even load up the software that came with the product - perhaps this is all you may require but if your're a Media Centre user I definately reccomend mControl for the integration into the MCE interface. The browser based access is also great - I tried this on a small 8" touchscreen which will be the permanent access point for the whole home automation system, the layout of the mControl interface works great at this size.All I now need is for the rest of my X10 parts and the Micro PC to turn up

4576 Hits