Archive for category Coding/Development
spherebox re-launched!
Posted by Benny Chew in Coding/Development, Web on August 28th, 2006
As posted by Han Kern earlier, we finally got spherebox completed 2 days ago. All credit to him for the writeups. ;) This page should be a good start if you’re wondering what it is all about.
For those interested in the nitty-gritty technical details, the site was designed based on a WordPress installation with numerous changes to the CSS and templates of the theme it’s based on (MistyLook). WordPress Codex was an excellent resource for all the stuff I did and has everything categorised pretty well.
As expected, IE decided not to display some things as how the other 2 browsers displayed it (stuff just above the header images were misaligned or got ‘covered’ by the image below it) and I chose to use the conditional comments method to get around this. The site now shows up appropriately in Firefox 1.5, IE 6 and 7, Opera 9 on Windows.
Ubuntu 6.06 LTS Server setup guide
Posted by Benny Chew in Coding/Development, Open Source on August 25th, 2006
About a month ago, I got some old computer parts from Kah Wai which weren’t in use and set up a headless server using the latest Ubuntu server edition. I stumbled upon this guide which was excellent in guiding me through the process of setting it up and I would highly recommend it if you are new to setting up a server from scratch.
I’m pretty impressed by the Debian derived package management system which makes it very easy to add, remove or update almost any application available for it. I remember the times when I had to deal with all sorts of dependency errors when attempting to install stuff on Mandrake 9.0 (now called Mandriva). Besides the server services such as Apache, PHP, MySQL, I got Samba installed as well so it’s now also functioning as a dump box besides its primary function as a development server (not much so recently though..). :D
How software development works
Posted by Benny Chew in Coding/Development, Humour on August 20th, 2006
Pretty true to a certain extent. :P
via digg
Coincidentally, I found another pic lying on my hard disk of a similar vein:

I do not wish to prove this true during the usability testing session with my project’s client in 2 days time though.. It’s going to be a pain if that happens. XD
WordPress 2.0.4
Posted by Benny Chew in Coding/Development, General Tech, Open Source, Site Updates, WordPress on July 30th, 2006
It was released earlier today and is noted to have fixed a lot of security vulnerabilities, so I those who are running WordPress blogs themselves should update soon.
Have just updated blogs hosted on spherebox. :)
Edit: You can get only the changed files in a zip which would save the time needed in uploading here.
Forum software
Posted by Benny Chew in Coding/Development, General Tech, Open Source on July 19th, 2006
It’s been a while since IPS ceased to offer free unlimited trials of IPB (Invision Power Board) and I’ve been trying out various forum software since, but most don’t seem to have the same level of usability as well as featureset as compared to IPB.
The venerable phpBB has been around for years and wasn’t updated much till only recently when they released v3.0 beta1. I have not tested it out much, but v2 had a very weak admin control panel which I found annoying to use. It being a target of heaps of exploits don’t help much either. See v2 here and v3 here (via KhimHoe.Net).
SMF (Simple Machines Forum) v1.1 RC looked promising and decent aesthetically, but the admin CP was poor as well. I didn’t quite like how the code was modularised when I tried to modify the underlying code. See it here.
One forum software which I came across recently and sort of liked is PunBB. It’s very lightweight and quick and only contains the minimum functionality (even the PM function is left out! – a little absurd IMHO). Mods to add functionality to it are quite plentiful, so you should be able to search for what you want and not code it up yourself. It’s probably a hassle for the initial set up, but this would definitely keep bloat to a bare minimum and allow the user to choose what he/she requires (similar to Firefox’s extension based system). See it running here and here.
I’ll probably stick to PunBB for now. Wikipedia has a long list of forum software here in a comparison table.
Lowyat.NET Development Blog
Posted by Benny Chew in Coding/Development on July 19th, 2006
A brief summary of what it is about:
In support of the BlogSentral project, the Lowyat.NET developers will blog about our development efforts on the website. We aim to provide timely and technically insightful, yet interesting posts about our contributions. The topics covered will revolve around operational issues (e.g. Database Management, Systems Administration, Systems Architecture), and programming (PHP development, Software Engineering methods).
I have only done minor stuff, and only posted once so far though. ;) wKkaY (my webhost) has done quite a lot and if you have any interest in the topics stated above, you might want to have a read of stuff posted there. Here’s the link.
SWT
Posted by Benny Chew in Coding/Development on June 9th, 2006
SWT Designer has got to be one of the best visual composition editors for designing GUIs using Eclipse’s SWT (Standard Widget Toolkit). Due to the relative young age of SWT, there aren’t that many tools that have been developed for this as opposed to if you develop GUIs using the standard Java‘s AWT/Swing. Other tools which I’ve tried such as Eclipse’s Visual Editor project wasn’t that user friendly and pretty confusing to use (I probably will give it another shot again as I was hard pressed for time then :P) and didn’t support the new widgets our UI was going to have. Jigloo GUI Builder had the same issue of not having support for ‘ExpandBars’ and SWT GUI Builder doesn’t seem to have been updated since 2003.
IMHO SWT looks a lot better than Swing due to the way it retains the system’s look and feel instead of enforcing a standard (ugly) look over all platforms. It blends in nicely with other applications and doesn’t look out of place when being run with other applications.
However, it seems Microsoft is actually going away from that approach (or at least for some of their products for now). Their recent applications such as Windows Media Player 10/11, Windows Live Messenger have the option for the standard windowing to be hidden allowing the application to have menus, buttons, colour schemes that are totally disconnected from the underlying Windows’ theme.
So was Sun right after all in having a GUI which runs in its own shell without taking into consideration the native look and feel? Or is the reason because Sun’s Swing isn’t aesthetically pleasing? Although those applications by M$ looked fine on my Windows desktop, it probably would not have the same effect if it was run on a Mac OS X or Linux’s Gnome for example. Since Java applications are meant to be cross platform, I believe Eclipse’s SWT approach is the way to go.
Symbolic links in Windows
Posted by Benny Chew in Coding/Development, Tips & Tweaks, Windows on June 7th, 2006
Unfortunately FileZilla Server‘s logging option did not allow a change to the target directory where the logs will be stored. So instead of changing any bits of the program code, I created a symbolic link using a program called Junction Link Magic which linked the default logs directory to another directory where I keep all my logfiles at. ;)
Here‘s the link to an article on symbolic and hard links in Windows. :)
Useful Firefox extensions for web developers
Posted by Benny Chew in Coding/Development on May 24th, 2006
As a follow up the previous post, I thought I’ll post up on the Firefox extensions I found useful while I was doing my web development work on spherebox:
Web Developer
Has all the necessary tools for HTML, CSS, forms and the like. Probably a must have extension for those doing development work.
IE Tab
I wouldn’t really say it’s for web development only as I’ve been using it for some time for viewing pages that only display properly in IE. It makes a Firefox tab use the IE rendering engine with a single click.
Other web development related extensions which I have yet to try out are the FireBug and LinkChecker extensions. The former is supposedly similar to Web Developer while the latter checks if the links on a page are still valid and highlights them accordingly.
spherebox v1 site up, sort of..
Posted by Benny Chew in Coding/Development, General Tech on May 24th, 2006
Have finally got the main spherebox site up with heaps of time spent on tweaking the CSS and relearning most of it due to my lengthy hiatus from web development. :/ It’s still a work of progress with most sections still without any content.
Looks perfectly fine in the more standard-conforming Firefox, but unfortunately not so in IE6 (hover stuff aren’t working). IE7 Beta 2 gave slightly better results, though still not quite right. Will have to look into hacking up a separate CSS for IE but the ‘optimised for Mozilla Firefox’ tagline at the bottom will have to do for now. ;)
