download here
Thu Mar 11 14:55:11 HKT 2010
From /weblog/design/concurrency
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
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 09:47:59 HKT 2010
From /weblog/hack+and+faq
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:37:46 HKT 2010
From /weblog/software_engineering/SCM
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)
Tue Mar 02 00:29:04 HKT 2010
From /weblog/software_engineering/team
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
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)
Thu Feb 25 00:11:23 HKT 2010
From /weblog/business
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)
|