08 Dec, 2009
Posted by: Mr Otter In: php
After doing quite a bit of development in Joomla, I was getting used to the very friendly J!Dump to list out all the objects value in a dhtml tree format. Recently, I have been tasked to customise some e-marketing product codes. Hmmm… sounds like I needed something handy like J!Dump…
Thankfully, there was Krumo. Once Krumo has been installed properly, you can do a dhtml tree dumb of an object values with 2 simple lines:
require_once(’Krumo/class.krumo.php’);
krumo($dumpObject);
Some screenshots to illustrate the power of Krumo:
Tada… the entire dhtml tree of the object:
The installation is also mightily simple. Just download the entire Krumo project and dump it into your php include path.

02 Dec, 2009
Posted by: Mr Otter In: Support
Needed to help a client retrieve certain files from the web server through FTP and the default Windows FTP just does not work…
Decided to download a ftp client, FTP Voyager for the job. For the 30 day trial version, it can be downloaded here.
Step 1: Click on the Connect Link
Step 2: Click on Create a NEW site profile and Finish
Step 3: Enter Profile Name and click Next
Step 4: Enter either IP Address of Domain Name to connect to and click Next
Step 5: Click Next Again. Do not check Anonymous Login
Step 6: Enter FTP User Id and Password and click Next
Step 7: Select the folder which you will want to transfer your file to and click Next
Step 8: Click Finish
Step 9: Just click and drag across the files between remote server and your computer.

15 Nov, 2009
Posted by: Mr Otter In: .NET
I just hating with for my Visual Studio to recover from its periodic hangs. I was thinking about it.. man. why not I just do the .NET development on my Eclipse IDE? Surely, all I need is a XML editor for the front end files, i.e. .ascx and a .NET editor for the CSharp codes?
Well, for the XML, I can easily use the Eclipse built in ant editor. For those that have installed the enterprise version of eclipse, I think they did include a pretty good HTML editor plugin as well.
For CSharp there is not so much choices. Guess we will need to go with Emonic. They do provide quite a decent CSharp editor.
Emonic - http://emonic.sourceforge.net/updatesite/internap/site.xml
15 Nov, 2009
Posted by: Mr Otter In: .NET| DNN
If you have worked on a DNN project, one of the problems are that the images entered using the HtmlModule is hardcoded with the location of the context path. This essentially means that any changes in the context path of the web application will result in a tonne load of missing images.
Well, I did remember that MySQL had some simple string replace function to address the problem… and after some surfing on the net… wola… The solution to changing all the image path:
update dbo.dnn_HtmlText set DesktopHtml = REPLACE(Cast(DesktopHtml as NVARCHAR(4000)), ‘/aapaf/Portals/0/banners/side’ ,’/aapaf2/Portals/0/banners/side’);
Yes… I know this is not rocket science… just wanted to blog it down here to remind myself during the migration process… and hopefully.. who knows? It might just help some frustrated soul in the future…
09 Sep, 2009
Posted by: Mr Otter In: php
Well, our blog had been down for some time after some meddling by me I guess. Did not have time to fix it till today… Just could not stand the site of the error message anymore….
Some other minor stuff that I kind of figured out today was this date time mismatch on my windows machine when I do some PHP date(d-M-y) stuff. I realised that the php.ini actually sets your timezone.. and if it kind of mismatches what you have set in your computer… you will get the mismatch.
Wanted to find out about that quite some time ago.. but alas… it a world so busy… its really getting hard to find the time to deeply understand things…
05 Apr, 2009
Posted by: Mr Otter In: eclipse
If you are an avid programmer on Eclipse, there will be many times, when you will need to access a folder on eclipse via the traditional Windows Explorer. I have been searching for a plugin like this for no avail for a long, long, long time….
Finally, it has arrived… and it works like magic. Basically with this plugin, we can just highlight the folder and trigger the Windows Explorer screen by using a shortcut key -> Ctrl + Alt + E. (Just in case you do not know.. the Microsoft Key + E is the traditional way of triggering a default Windows Explorer.. so I find this new arrangement very intuitive… )
Windows Explorer Plugin: http://startexplorer.sourceforge.net/update

Microsoft has launched Silverlight and as any other product it is gaining fame for itself. So, let’s review if it really has something new and advance to offer other than the old and most used flash. I have taken a course to compare both silverlight and flash side by side for each feature and functionality. I have tried to cover couple of features, if left any please feel free to point it out.
- Silver light doesn’t support Linux, so can’t be use on other OS other than Windows and Mac. On the other hand flash had no such limitations
- Silverlight usually run with file format WMV which makes it no good with vast majority of video streaming webs, like you tube itself. Flash facilitates more formats than WMV but to run these formats flash codex must be installed on the client machine.
Read the rest of this entry »