RSS feed [root] /weblog




login:

password:

title search:




 

Sat Mar 06 23:56:04 HKT 2010

weblog


log down some useful resource


(google search) (amazon search) second
download here

Thu Mar 11 14:55:11 HKT 2010 From /weblog/design/concurrency

thread


Intel Guide for Developing Multithreaded Applications - http://software.intel.com[..]or-developing-multithreaded-applications

Difference ways to stop a thread - http://www.ddj.com[..]ept_url=/hpc-high-performance-computing/

Interesting, I am not sure if I agree, but chrome ( which use fork ) are really cool in performance:
There’s another problem with Unix programming in Ruby that I’ll just touch on briefly: Java people and Windows people. They’re going to tell you that fork(2) is bad because they don’t have it on their platform, or it sucks on their platform, or whatever, but it’s cool, you know, because they have native threads, and threads are like, way better anyways.

Fuck that.

Don’t ever let anyone tell you that fork(2) is bad. Thirty years from now, there will still be a fork(2) and a pipe(2) and a exec(2) and smart people will still be using them to solve hard problems reliably and predictably, just like they were thirty years ago.

MRI Ruby people need to accept, like Python (you have seen multiprocessing, yes?), that Unix processes are one of two techniques for achieving reliable concurrency and parallelism in server applications. Threads are out. You can use processes, or async/events, or both processes and async/events, but definitely not threads. Threads are out.
http://tomayko.com/writings/unicorn-is-unix

(google search) (amazon search)


Thu Mar 11 14:21:23 HKT 2010 From /weblog/hack+and+faq

as400


java toolbox FAQ - http://www-03.ibm.com/systems/i/software/toolbox/faq.html

bible of AS400 - http://www.redbooks.ibm.com[..]4r5/ic2924/index.htm?info/rzahgictoc.htm
CRTLIB - create library
CRTSRCPF - Create Source Physical File
WRKMBRPDM - work with members using PDM
STRACMS - SCM ( aldon lifecycle manager for iseries )
QSQLSRC - Source File for create table
WRKSPLF - check Job status
STRJRNPF - start Journal a change of a file to another - http://publib.boulder.ibm.com[..]r2/ic2928/index.htm?info/cl/strjrnpf.htm
DSPFFD, UFFD - check table schema, Display File Field Description (DSPFFD)
WRKOBJ - find object under a library, e.g. : wrkobj qgpl/rst* *file
CHGCURDIR - ction or command e.g. : CHGCURDIR dir('$DEVKW3')
DSPFD - show journal status of the file
SBMBENJOB - submit ben job
DSPSYSVAL SYSVAL(QTIME)
WRKJOB Q_JREIS
STRISDB - start debugger, e.g. : CALL PGM(*LIBL/CLRS_LST) PARM( '/HOME/ISCY1/' 'RSTLSTTAK' '1.6')
edtlibl - edit library list

common library for code - $PRDSRCBEN/QCSRC $PRDSRCBEN/H $PRDSRCBEN/QCBLLESRC $PRDSRCBEN/QCBLSRC $PRDSRCBEN/QDDSSRC
common library for sql - $PRDOBJBEN , $REFDTAREP
common library for script - $PRDSRCBEN/QTXTSRC

$PRDSRCBEN/QCSRC
COSOMSVAL

F23=more options (shift + F11 = F23)
F24=More keys
F4 = drop down kind of prompt



6:57:06 PM: Carfield W Yim/: hi... just get distracted by a call... now I created a member.... then I edit it and put the create table scripts there. However, it only allow me to put 18 lines, is that normal?
6:57:52 PM: Srikanth X Krishnaswamy/: type in the letter 'I' followed by 10 in the first column- inserts 10 lines
7:15:26 PM: Srikanth X Krishnaswamy/: Nope; I10 on the line that says 0018.00; start from the first 0

Global search

3:44:08 PM: Srikanth X Krishnaswamy/: wrkmbrpdm
3:44:29 PM: Srikanth X Krishnaswamy/: use the right source ($vvv/bbb) for example
3:44:57 PM: Srikanth X Krishnaswamy/: Option 25, hit F13 to replicate this option on all source members
3:47:36 PM: Carfield W Yim/: and how to run F13?
3:50:56 PM: Srikanth X Krishnaswamy/: shirt+F1


5:42:01 PM: Srikanth X Krishnaswamy/: Connection > Configure > 27x132 columns

(google search) (amazon search)


Tue Mar 09 10:21:15 HKT 2010 From /weblog/misc

support


some tips help you to build effective support - http://www.goodproductmanager.com[..]7/03/29/streamline-your-product-support/

Tips for arranging support tasks for agile tasks, look like a separate supporting team is still required - http://www.elilopian.com[..]7/12/12/handling-support-in-agile-teams/

Downtime handling - http://www.kalzumeus.com[..]time-today-heres-what-im-doing-about-it/

(google search) (amazon search)


Tue Mar 09 09:47:59 HKT 2010 From /weblog/hack+and+faq

visual studio


Type >of followed by a space, then begin the name of the file you are looking for. - http://www.alteridem.net[..]uickly-findopen-a-file-in-visual-studio/

(google search) (amazon search)


Tue Mar 09 09:45:28 HKT 2010 From /weblog/business

starting business


My boss say that it brilliant, see if it good - http://www.paulgraham.com/start.html

The other reference - http://evhead.com/2005/11/ten-rules-for-web-startups.asp

Joey recommendation - http://www.joelonsoftware.com/articles/fog0000000056.html

And how to set price - http://www.richardrodger.com[..]rd/Weblog/demand_curve_for_java_software

Successful case of home made game - http://www.codinghorror.com/blog/archives/000872.html

"You want to do your best, or you want to do the best of this world?" - http://sethgodin.typepad.com/the_dip/2007/05/but_are_you_rea.html

The cost and risk of starting business, may be as high as you thought - http://manincentral.blogspot.com/2008/04/blog-post_16.html ; meanwhile, as an high paid employee may not that nice - http://manincentral.blogspot.com/2008/04/blog-post_30.html

Fire startup staff??? - http://mikemason.ca/blog/?p=19

http://pankap.com[..]tartup-lessons-i-learnt-at-protoinday-1/

How to parening software product and team? http://www.ericsink.com/articles/Product_Parenting.html

Ideas are nice, but technical is still the key - http://mailinator.blogspot.com[..]linator-and-not-death-by-popularity.html

(google search) (amazon search)


Tue Mar 09 09:37:46 HKT 2010 From /weblog/software_engineering/SCM

overview


Software CM creates the medium through which software development changes & activities must flow. Therefore, Software CM is the intentional architecture of software development change-flow. According to this article

http://bradapp.blogspot.com[..]/2007/05/software-cm-is-not-process.html

Survey result of difference VCS within thoughtwork - http://martinfowler.com/bliki/VcsSurvey.html

(google search) (amazon search)


Mon Mar 08 22:30:01 HKT 2010 From /weblog/learning

presentation


How to capture the attention from audience in 30 second - http://www.learninggeneralist.com[..]tter-beginnings-how-to-capture-your.html

How you can build Meaningful Interactivity into your eLearning - http://www.learninggeneralist.com[..]010/01/how-you-can-build-meaningful.html

3 Ways to Spice up Linear Navigation in Elearning - http://www.learninggeneralist.com[..]ys-to-spice-up-linear-navigation-in.html

(google search) (amazon search)



Tue Mar 02 00:29:04 HKT 2010 From /weblog/software_engineering/team

leadership


Believe me, the objective was not to make decisions, but to create
the right environment so that the right decision would be made.
http://tech.groups.yahoo.com/group/leandevelopment/message/1952

A nice set of questions to ask for a leader - http://jchyip.blogspot.com[..]3/questions-on-influence-and-growth.html

In short, don't put your shoes on others' foot - http://www.inc.com[..]earned-in-the-army_Printer_Friendly.html

4 types of leadership style, well, I think he model leadership a little too simple - http://softwarecreation.org[..]s-the-best-leader-for-the-software-team/

Servant Leadership - http://www.inc.com[..]t-be-my-style-of-servant-leadership.html

Your experts are spending all their time mentoring novices. Therefore:

Put one expert in charge of all the novices, let the others develop the system. - http://gigix.agilechina.net[..]010/2/25/organizational-pattern-day-care

(google search) (amazon search)


Fri Feb 26 17:02:09 HKT 2010 From /weblog/unix

shell


use rlwrap to enable BASH like editing in SQLplus, and use screen to presist terminal sessions - http://binkley.blogspot.com[..]miracle-utilities-rlwrap-and-screen.html

Ctrl+r searches through history
Use the history command plus !# to run old commands
Shell expansion using {} , e.g. cp foo.sh{,.old} == cp foo.sh foo.sh.old
zsh have good auto complete

http://www.pgrs.net/2007/9/6/useful-unix-tricks

mkdir -p creates nested directories
Use less instead of tail
lsof shows open files
ps will show process trees with the f flag

http://www.pgrs.net/2007/10/8/useful-unix-tricks-part-2

!! is the previous command in the shell history
Use vim -b to show nonprintable characters
** is a recursive wildcard in zsh
cd – will return to the previous folder
Use ctrl+z and kill %1 to kill a process that will not die
pwdx shows the working directory of a process
Use sh -x to debug shell scripts
sysctl replaces /proc on macs

http://pgrs.net/2009/2/20/useful-unix-tricks-part-3

ps -eo pcpu,pid,args | sort -n => check CPU%
grep -sq "" /etc/lsb-release && lsb_release -rd => run command if file exist

HTML tools for commandline - http://www.macdevcenter.com/lpt/a/6343

Bash history - http://www.talug.org/events/20030709/cmdline_history.html

(google search) (amazon search)


Fri Feb 26 00:11:41 HKT 2010 From /weblog

decoration


Using blackbox for decoration - http://forward.hkwebs.net/archives/8132

(google search) (amazon search)


Thu Feb 25 23:43:48 HKT 2010 From /weblog/investment

realestate


Invest on foreign country - http://cn.wsj.com/big5/20100223/REB074501.asp?source=rss

(google search) (amazon search)


Thu Feb 25 00:11:23 HKT 2010 From /weblog/business

presentation


Some nice tips of having presentation

Do not spend half of your talk "motivating" your topic.
Have a rhythm. Let's be honest
Tell a story.
Make sure you solve an actual problem.
Not everything you say has to be brand new.
Never let anyone touch your slides after you have last seen them.

http://www.eaipatterns.com/ramblings/51_javaone.html

http://www.worthytips.com/6-excellent-tips-give-presentation/

http://java.dzone.com/articles/presenting-lessons-ive-learned

The secret of Steve Job presentation - http://cn.wsj.com/big5/20100215/bog103159.asp http://blogs.wsj.com[..]-to-give-a-presentation-like-steve-jobs/

(google search) (amazon search)


Wed Feb 24 23:46:02 HKT 2010 From /weblog/love

marry


a lot of people blog about 夫妻相處之道, surprising - http://hk.blog.yahoo.com[..]%9B%B8%E8%99%95%E4%B9%8B%E9%81%93&type=2

nice article, hope google translate it nice

http://translate.google.com[..]E767C5&langpair=en%7Czh-TW&hl=en&ie=UTF8

Orginal

http://now.eloqua.com[..]B94&elq=B029032F08E74AA9BAC9D27FFDE767C5

Love have a cost - http://manincentral.blogspot.com/2008/01/blog-post_03.html

How to keep good relationship - http://hk.news.yahoo.com/080202/12/2obz4.html http://forward.hkwebs.net/archives/6753 http://rayswchiu-ej.blogspot.com/2009/11/blog-post_9152.html

$$$$$ - http://cn.wsj.com/big5/20100223/inv081010.asp?source=rss

(google search) (amazon search)


Tue Feb 23 10:54:16 HKT 2010 From /weblog/photographic

tutorial


動 態 攝 影 分 享 - http://www.dchome.net/viewthread.php?tid=432312

India guide - http://www.dchome.net/viewthread.php?tid=481974

請問點影一個人行緊過黎既情景 - http://www.dchome.net/viewthread.php?tid=753867

http://digital-photography-school.com[..]chool.com/how-to-take-great-group-photos

Street photographic - http://www.dchome.net/viewthread.php?tid=819443

What is the real meaning of Aperture in zoom len - http://digitaljournalist.org/issue0909/tech-tips.html

How to take building photo look proper vertically - http://www.dchome.net/viewthread.php?tid=833344

(google search) (amazon search)


Tue Feb 23 01:08:09 HKT 2010 From /weblog/hardware

memory


How typical OS manage memory - http://duartes.org[..]blog/post/anatomy-of-a-program-in-memory

(google search) (amazon search)


Mon Feb 22 11:00:07 HKT 2010 From /weblog/design

API design guideline


This is a message from a management blog, but I think the arguement is also apply API design. In fact, I think most critical difference of good and bad API is knowing which small detail is important and which is not - http://www.goodproductmanager.com[..]er.com/2007/11/08/sweat-the-small-stuff/

Design tips:
http://www.artima.com/weblogs/viewpost.jsp?thread=142428
http://openide.netbeans.org/tutorial/api-design.html
http://www.cincomsmalltalk.com[..]gView?showComments=true&entry=3258158706
http://today.java.net[..]its-of-highly-profitable-developers.html
http://www.infoq.com/news/2007/08/why-api-design-matters
http://www.infoq.com/presentations/effective-api-design

About Compatibility issues
http://wiki.eclipse.org/Evolving_Java-based_APIs

A blog of using interfaces-vs-abstract-classes
http://hoskinator.blogspot.com[..]6/04/interfaces-vs-abstract-classes.html

XOM design overview - http://www.xom.nu/designprinciples.xhtml#d0e309

You need to identify the business value but not pick any tools/design just because it is cool - http://myarch.com/what-is-good-soa

A lot of links here - http://kasparov.skife.org/blog-live/src/api-design-refs.writeback http://discuss.joelonsoftware.com/default.asp?design.4.527465

An introduction of good OSS project to study their source - http://techkriti.wordpress.com[..]com/2007/06/28/learning-from-the-source/

CCCCDPIPE - http://blog.objectmentor.com/articles/2007/08/02/which-came-first

Discussion of why getting feedback quick is important - http://blog.objectmentor.com[..]u-dont-know-until-you-take-the-next-step

Someone saying that routines is the greatest invention in CS, I agree - http://www.codinghorror.com/blog/archives/001129.html

New way of modeling system then layering, The Onion Architecture - http://jeffreypalermo.com/blog/the-onion-architecture-part-1/

SOLID - http://www.lostechies.com[..]of-the-month-march-solid-principles.aspx http://dotnet.dzone.com/news/solid-software-works <-- very good picture!

Idempotent, Orthogonality, Immutability - http://www.codinghorror.com/blog/archives/001244.html

Some example of how to driven good API - http://jdegoes.squarespace.com[..]al/2009/5/11/good-api-design-part-3.html

It's not enough to write tests for an API you develop, you have to write unit tests for code that uses your API. When you do, you learn first-hand the hurdles that your users will have to overcome when they try to test their code independently. http://butunclebob.com[..]MichaelFeathers.TheGoldenRuleOfApiDesign

(google search) (amazon search)


Mon Feb 22 10:59:06 HKT 2010 From /weblog/winxp

System Utilities


Recover from register currupt - http://www.windowsdevcenter.com/lpt/a/6643

Introduce a utility to clean up profile and speed up shutdown time (probably more than that) - http://www.intelliadmin.com[..]-windows-takes-so-long-to-shut-down.html

A long long list of admin tools - http://www.windowsdevcenter.com[..]/07/18/best-windows-admin-downloads.html

DD for windows - http://sourceforge.net/projects/windd/

Free file recovery - http://www.softperfect.com/products/filerecovery/ http://www.softpedia.com[..]m/Back-Up-and-Recovery/Restoration.shtml

File unlocker: If you get message that don't allow you to open / delete file as it is in use, may be you can use this tool and make it editable / deletable - http://ccollomb.free.fr/unlocker/ Other than that, if you have file name that is too long and cannot be deleted, this tool can help either.

Remote command runner - http://technet.microsoft.com/en-us/sysinternals/bb897553.aspx

Snapit, capture text at screen to clipboard, amazing~ http://www.techsmith.com/screen-capture.asp

http://blog.taragana.com[..]/top-5-free-softwares-for-windows-vista/

http://blog.taragana.com[..]-10-cpu-performance-monitoring-software/

http://www.blogsdna.com[..]-device-manager-with-unknown-devices.htm

Better than [alt + tab] - http://www.blogsolute.com[..]y-to-switch-between-windows-alttab/5779/

Scan disk on xp - http://www.blogsolute.com[..]ive-2010-scan-fix-hard-disk-errors/6074/

(google search) (amazon search)


Sun Feb 21 00:11:16 HKT 2010 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

Test the configuration - http://searchsoftwarequality.techtarget.com[..]TSS10ctqa&asrc=EM_NLN_8746433&uid=703565

Feel the deep synergy of design and test constraint - http://michaelfeathers.typepad.com[..]athers_blog/2007/09/the-deep-synerg.html

(google search) (amazon search)


Fri Feb 19 17:10:33 HKT 2010 From /weblog/design

algorithm


What O(log n ) mean - http://kevinrodrigues.com[..]log/2010/01/06/analysis-of-an-algorithm/

(google search) (amazon search)


Thu Feb 18 22:55:44 HKT 2010 From /weblog/business

VC


Tips of getting VC to invest on your business, see if you believe it

http://blog.guykawasaki.com/2006/01/the_venture_cap.html
http://blog.guykawasaki.com/2006/03/the_art_of_rais.html
http://discuss.joelonsoftware.com/default.asp?joel.3.401548

Company failure rates based on one venture capitalist's personal data
http://www.techcrunch.com/2007/11/30/vcs-whats-your-failure-rate/
http://www.unionsquareventures.com/2007/11/why_early_stage.html
http://www.unionsquareventures.com/2007/11/failure_rates_i.html

indicators of work with VC or not - http://www.joelonsoftware.com/items/2010/02/14.html

(google search) (amazon search)


Thu Feb 18 12:21:18 HKT 2010 From /weblog/design/concurrency

concurrency


How to write safer concurrency code - http://www.artima.com/forums/flat.jsp?forum=276&thread=178345

reentrant and thread safe functions - http://kevinrodrigues.com[..]/31/reentrant-and-thread-safe-functions/

Libraries / toolkits for multicore process - http://www.ddj.com[..]intableArticle.jhtml?articleID=212900103

Introduction - http://www.ddj.com[..]QQSNDLRSKHSCJUNN2JVN?articleID=212903586 http://www.ddj.com[..]CQSNDLRSKHSCJUNN2JVN?articleID=213001517

Collections of links - http://dobbscodetalk.com[..]rallel-Or-Get-Left-Behind.html&Itemid=29

Briefing of difference modeling of threading system - http://www.ddj.com[..]intableArticle.jhtml?articleID=215900465 http://software.intel.com[..]inners-guide-to-multithreaded-libraries/

(google search) (amazon search)


Thu Feb 18 10:57:47 HKT 2010 From /weblog/database

database comparison


Wiki of common DBMS comparison - http://en.wikipedia.org[..]rison_of_SQL_database_management_systems

Somebody comment that postgresql is less competency than MSSQL, see the comment
http://www.baubels.net/blog/?p=88

Alternative DBMS - http://www.webresourcesdepot.com[..]ternative-open-source-databases-engines/

(google search) (amazon search)


Wed Feb 17 23:56:43 HKT 2010 From /weblog/design/distribute

mapreduce


Showing that map reduce can support real time transaction processing - http://googleblog.blogspot.com[..]09/12/relevance-meets-real-time-web.html

Using map-reduce in cloud - http://horicky.blogspot.com/2010/02/cloud-mapreduce-tricks.html

(google search) (amazon search)


Wed Feb 17 23:55:04 HKT 2010 From /weblog/career/jobs

interviewee tip


10 types of crappy interviewees - http://damncoolpics.blogspot.com[..]/02/10-types-of-crappy-interviewees.html

(google search) (amazon search)