Deprecated Garbage Collections – Kenny Lee Chee Wei

A truckload of garbage by Kenny Lee Chee Wei

Archive for the ‘Software Dev’ Category

Useful Online unicode utilities

leave a comment »

Regexp Unicode Block : Builds a JavaScript regular expression that matches characters that fall in any number of specified Unicode blocks.

Unicode Code Converter : Converts characters into their various code representations like hexadecimal, html, URI encoding, unicode hex notation,  UTF-8 code units and JavaScript escapes.


Written by kennii

October 10, 2011 at 7:51 am

Posted in Software Dev

Combining Agile Methodologies – XP and Scrum

with 9 comments

Since XP is more focused on development practices(engineering), while Scrum more towards project organization(management), it seems possible to combine this 2 methodologies.

Having experience both agile methodologies separately, here’s my take on the must-haves.

  1. Planning
    • Daily Standup(XP/Scrum) – What you done yesterday, going to do today, obstacles if any.
    • Break down requirements into user stories (XP), then put them into a product backlog using excel or web tools like acunote (Scrum)
    • Physical task-board for easy and quick viewing of sprint tasks
  2. Coding
  3. Testing
  4. Releasing

Interesting Differences.

  • XP prefers having no overtime anytime, anyday, while scrum prefers no rest within a sprint, which probably means no off days and leave, unless urgent, for a good 3-4 weeks.

Majority of the coding and testing rules come from XP, while planning rules come from SCRUM. The key is to keep the rules flexible. Sprint reviews after each sprint allows you to better fine-tune your rules, based on team strength/weakness or project nature. Well, as long as they work for you.

Free Scrum/XP E-book

Written by kennii

September 10, 2008 at 7:12 pm

Ajax App Server? – AjaxToaster

with one comment

AjaxToaster is an Ajax application server which makes it easy to create RESTful web services for rich web client applications. It runs under any of the main Java servlet containers (tomcat/glassfish/websphere/jboss/jetty)”

Still in RC though. I haven’t managed to take a closer look, but the request/update urls doesn’t look too restful to me.

http://localhost:8080/toaster?service=meetings/UpdateMeetingRoom&inputjson={"Room":[{"RoomCode":"AZALEA","RoomName":"The Azalea Room"}

Hmm, not too sure anyone had a go at this project.

Written by kennii

August 15, 2008 at 4:26 am

Posted in Java

Tagged with , ,

Symbolic link case sensitive in linux but not in mac os leopard

with 3 comments

Yeah, try it.

Written by kennii

April 22, 2008 at 7:31 am

Posted in Software Dev

First Flex Play-around

leave a comment »

This is a great explorer site for flex sample effects.

Written by kennii

October 28, 2007 at 1:50 pm

Posted in Flex 2

Time to abandon the Waterfall SDLC and/or Business Analysts?

with one comment

Part 1 – Abandon Waterfall SDLC?

I feel gone are the days whereby software companies should force customers to sign off system requirements.

Reason? There is no guarantee that the requirements gathered during the “System Analysis” phase of the Waterfall cycle is fully complete. So if you’re forcing the customer to sign off and get ready to accept something that they might not fully embrace after delivering, then there might be a problem late on.

Instead of contract disputes in the end, why not have constant customer collarboration/communication throught the lifecycle through an agile development methodology like Extreme Programming or Scrum? Customer should be as involved with the success of the project as the project development team.

Your company is foolish not to tap on the customer’s feedback during the project development. At the end of the day, it’s the customer who mark the acceptance tests.

Part 2- Abandon Business Analysts?

This one is abit controversial. Did i meant let the developers take over the job of business analysts? Possible, why not? Developers are supposed to be smarter than BAs, although BAs generally have better communication skills. Generally developers create prototypes anyway, so if there is any mis-communication, changes can be done swiftly.

The key problem is having good communication skills alone does not allow a BA to analyst customer IT problems and churn out technical user requirements/specifications.

It is easier to find a developer with decent communication skills than a sound business analyst with development background or is IT-savvy. And if you ever find one, do whatever it takes to keep him/her. My working experience also made me believe that BAs should come from a technical background. It improves the specs they write, trust me.

Even though generally managers prefer decision-biding employees rather than employees whom speak up and challenge decisions, you can be sure you’ll get more of those if you have such developers. “Can’t these developers just write the damn code” they thought. I’m one of those. CTOs doesn’t scare me 1 bit.

I generally prefer to gather requirements directly from customers. If information gets filtered by BAs, 100% customer requirement accuracy might just be left 80%. If specifications are written incorrectly, you are left with maybe 60%.

XP suggests that a customer be placed at the development site, Thoughtworks practises placing the development team within the customer’s site, with the latter sounding more practical to me. Simply having a key customer decision maker’s MSN account would be fine for me though.

Written by kennii

September 2, 2007 at 12:10 pm

Posted in Software Dev


leave a comment »

  1. String s = "f" + "o" + "o"
  2. is faster than

    String s = "f";

  3. The comparison
    ('a' == s.charAt(0))
  4. is faster than


  5. The StringBuffer default capacity is 16. If your string is going to be larger than that, you might as well reserve a larger capacity by passing a realistic length such asStringBuffer sb = new StringBuffer(1024);

Written by kennii

August 9, 2007 at 5:02 pm

Posted in Performance