[root] /




login:

password:

title search:




 

Tue Dec 30 00:35:53 HKT 2008



(google search) (amazon search) second
download here




Sat Jun 20 11:12:11 HKT 2009 From /weblog/design

work with legace


Simple ways to improve legacy code - http://www.onjava.com/lpt/a/4805

One approach to work with legacy code, instead of phrase by phrase or part by part, identify and improve the domain part first - http://gojko.net[..]-efforts-to-replace-legacy-systems-fail/

(google search) (amazon search)


Wed Jun 17 01:59:06 HKT 2009 From /weblog/software+engineering/testing

best practices


First rule - http://fishbowl.pastiche.org[..]08/10/01/nothing_is_too_trivial_to_test/

Test first/last is not important? Unit test either? What do you think? http://beust.com/weblog/archives/000477.html

* The name of the test should describe the requirement of the code
* There should be at least one test for each requirement of the code. Each possible path through of the code is a different requirement#
* Test the goal of the code, not the implementation

http://xprogramming.com/xpmag/testFirstGuidelines.htm http://www.theserverside.com[..]AppQuality&asrc=EM_NLN_761453&uid=703565 http://www.coopercode.net[..]og/2007/08/how-not-to-run-beta-test.html

A lot of links - http://it-techexperts.com/tutorials/tutorials.asp http://testingspot.net/ http://www.exampler.com[..]-links-biased-toward-exploratory-testing

The teaser: Fast, Isolated, Repeatable, Self-validating, and Timely. - http://blog.objectmentor.com[..]es/2007/08/02/not-a-task-but-an-approach http://blog.objectmentor.com/articles/2007/08/02/which-came-first

Corner cases - http://testobsessed.com[..]s/2007/02/testheuristicscheatsheetv1.pdf

One of the targets of TDD coding - http://haacked.com[..]e-code-is-about-managing-complexity.aspx

Design for unit test - http://www.theserverside.com[..]es/content/DesigntoUnitTest/article.html

Introduction to Lean project management - http://ossme.com[..]introduction-of-lean-project-management/

Push and Pull approach -
http://www.richarddurnall.com/?p=10
http://www.richarddurnall.com/?p=15
http://www.richarddurnall.com/?p=31

When not to test - http://www.junitmax.com/blog/?p=187

http://www.infoq.com/news/2009/06/love_agile_testing

Test the story, rather than the implementation - http://www.davesquared.net[..]ving-to-scenario-based-unit-testing.html

(google search) (amazon search)


Wed Jun 17 01:57:07 HKT 2009 From /weblog/hack+and+faq

gigaspaces


Compare of Oracle Coherence and GigaSpace XAP - http://www.theserverside.com[..]03&asrc=EM_NLN_7777299&uid=703565#310060

(google search) (amazon search)


Wed Jun 17 01:55:55 HKT 2009 From /weblog/security

TLS


A list of diagrams to show how TLS work

Understanding TLS protocol -- handshaking kickoff - http://blogs.sun.com/xuelei/entry/understanding_tls_protocol_1
Understanding TLS protocol -- connection states - http://blogs.sun.com[..]rstanding_tls_protocol_connection_states
Understanding TLS protocol -- handshaking renew - http://blogs.sun.com[..]rstanding_tls_protocol_handshaking_renew
Understanding TLS protocol -- handshaking resume - http://blogs.sun.com[..]standing_tls_protocol_handshaking_resume

Another reading, about the handshaking for HTTP protocol - http://www.moserware.com[..]/06/first-few-milliseconds-of-https.html

(google search) (amazon search)






Wed Jun 10 02:06:03 HKT 2009 From /weblog/software+engineering

Agile


beck_keynote_xp2006, an interesting present that discuss about accountable and responsible

http://www.google.com[..]eck_keynote_xp2006.pdf&ie=UTF-8&oe=UTF-8
http://www.carfield.com.hk[..]are+engineering/beck_keynote_xp2006.pdf?

Common issue of adopting Agile development values to the team - http://www.stickyminds.com[..]=12384&ObjectType=ARTCOL&btntopic=artcol

Compare develop software with same function in Agile and waterfall like process, report here - http://chriswoodill.blogspot.com[..]hy-agile-software-projects-are-good.html

What is agile? http://www.google.com[..]g+agile&sourceid=opera&ie=utf-8&oe=utf-8 http://bradapp.blogspot.com[..]06/05/nutshell-definitions-of-agile.html http://bradapp.blogspot.com[..]2007/04/agile-development-distilled.html

May be minimum waste is the goal, agile is just the by-product? http://jchyip.blogspot.com/2007/05/agility-is-not-point.html http://jchyip.blogspot.com[..]ctive-enterprise-architecture-comes.html http://dreamhead.blogbus.com/logs/33816442.html

Comparison of XP and Scrum - http://jamesshore.com/Blog/Should-We-Adopt-Scrum-or-XP.html

Commons anti-pattern - http://www.theserverside.com[..]_id=49239&asrc=EM_NLN_3595241&uid=703565

How yahoo turn to agile - http://www.devagile.com/modules/news/article.php?storyid=244

Triggers for when to use Agile (any one could trigger):

* There's an advantage to get something partial out now rather than everything later
* Not familiar with technology - want to reduce risk
* Want to engage and develop staff
* Competitive pressure for adaptation and faster delivery

http://jchyip.blogspot.com[..]e-thinking-about-agile-vs-waterfall.html

Agile is about a shift in attitude more than process. It requires a shift in focus that is easy to explain, but hard to put in practice. - http://journal.bitshaker.com[..]articles/2008/11/19/a-shift-in-attitude/

Change in process, lead to change in mindset, and view the problem in difference perpective - http://dreamhead.blogbus.com/logs/33068654.html

Discuss about issues of adopting Agile development - http://www.artima.com/forums/flat.jsp?forum=106&thread=246513 http://www.infoq.com/articles/levison-TDD-adoption-strategy

http://www.agileproductdesign.com[..]oduct_owner_and_problem_shaped_hole.html

The way software defects are seen on traditional vs agile projects reveals something about the differences in organizational culture. Given the following causes of defects...

Type 1: Programming error
Type 2: Misunderstood requirement
Type 3: Requirement defined incorrectly
Type 4: Discovered requirement

http://www.davenicolette.net[..]/index.blog/1590120/defects-and-culture/

Agile, is not a choice of good from bad, it is a choice of best from good - http://martinfowler.com/bliki/ComparativeValues.html

(google search) (amazon search)


Wed Jun 10 01:14:06 HKT 2009 From /weblog/design

dsl


A paper show the evolution of a DSL - http://www.mockobjects.com/files/evolving_an_edsl.ooplsa2006.pdf

A stock trading order example of DSL - http://debasishg.blogspot.com[..]05/designing-internal-dsls-in-scala.html

What is the difference between API / DSL if we don't write a parser for our language? From Martin Fowler's blog - http://martinfowler.com/bliki/DslReadings.html , it is mentioned:
Piers Cawley makes the point that a key characteristic of DSLs is their narrow focus on a domain.
I think this is a very good summary, usually if most of the APIs are getXXX() , setXXX(), loadXXX() , createXXX() ........ Then we mostly design APIs that expose low level detail to the API user to work on, which, is work but user probably work nicer if we can come up with language like API that allow users to do their work in more descriptive level.

I think if API design like that usually it will reduce the code duplication, what ever real duplication or conceptual duplication. It probably already apply "Tell, don't ask" style - http://c2.com/cgi/wiki?TellDontAsk

A discussion about applying "Tell, don't ask" which lead to message passing architecture - http://beautifulcode.oreillynet.com[..]07/10/do_messages_want_to_be_asynchr.php

And other discussion about "Tell, don't ask"
http://sriramnarayan.blogspot.com[..]/2008/11/demeters-law-tell-dont-ask.html
http://sriramnarayan.blogspot.com[..]part-two-demeters-law-tell-dont-ask.html
http://sriramnarayan.blogspot.com[..]rt-three-demeters-law-tell-dont-ask.html

One good sample with explaination -
http://hamletdarcy.blogspot.com[..]-it-really-domain-specific-language.html
http://nat.truemesh.com/archives/000727.html

Few links - http://dreamhead.blogbus.com/logs/17667876.html

From CRUD to DDD - http://www.udidahan.com[..]2/15/from-crud-to-domain-driven-fluency/

I like this: "XML abuse reduction (conducting an “XML Intervention”)" - http://www.lostechies.com[..]ps-internal-dsl-draft-outline-notes.aspx

(google search) (amazon search)