帮忙与责任(转发)

发信人: j2k (没有开始,也没有结束,只有道路在消失), 信区: RunningLife
标 题: 帮忙与责任
发信站: 水木社区 (Fri Jun 8 00:53:18 2007), 站内 协会例会开完,泛泛而谈,若心有所动,反躬自省 常常喜欢把帮忙挂在嘴边,比如找老同学帮忙办个事情,比如找辅导员帮忙联系工作,比如找老师帮忙高抬贵手,当然被别人找上门也不少,比如帮忙到图书馆借个书,比如帮忙到邮局寄封信,比如帮忙买个礼物送回家,比如…… 很多吧,数不清楚了。 不过还有很多时候,不是用帮忙这个词,而是用责任,或者另外相近的,例如工作、要求、任务……不过我喜欢"责任",工作好像太宽泛了,工作还可以打盹呢,要求似乎有些机械,是别人的要求,和自己没有关系,任务就更夸张了点,极端反感这样的说法,那还是用"责任"吧。"责任"是近代才有的,古代
"责"的意思是"差事",估计和"任务"类似,"任"的意思是"职责",偏重担当。 这个例子也很多,比如今天打扫卫生是我的责任,比如明天升旗是我的责任,还有比如晚会的灯光是我的责任等等。很多,也数不清。 认真想想,"帮忙"大概重于关系,血缘、地缘、人缘都算,简单说就是人际关系,处好了,别人给你帮忙,处不好,当然就不帮忙。想起以前看过《乡土中国》,费孝通的一本薄薄的册子,极白话,其中提到中国传统社会是"差序格局",有一个很形象的比喻就是"以己为中心,像在水中投入的石子,水的波纹一圈一圈推出去,越远越薄"正好在《说文》中对于"伦"的解释是"伦也,水文相次有伦理也",多么形象。大概帮忙就是这个层面的意思了,你靠石子近,就容易帮忙,否则就越远越薄嘛。不过既然是水的波纹一样,你就不知道到底有没有波及到你,振幅虽然不断削减,不过总还是有那么点点微波,这个远和近太模糊了,
"帮忙"的界限就很模糊,到底他会不会帮忙呢?我忐忑不安中,也许明天就不帮忙了也说不定。 "责任"好像和这个一点关系都没有,"责任"就是一种权利和义务的匹配关系,你有你的责任,他有他的责任,不在乎他离开你远就没有责任了,也不在乎离你近这个责任就大了一些,等间距的,就好像一捆木头,有的承担多一点的捆绑压力,有的少一些,不过总是明确的。不过这个"责任"往往是有界限的,正如一捆木头,总是在这个捆的范围内,譬如我的责任是打扫教室,那隔壁就不是我的范围,甚至就今天,明天也不是我的范围了。虽然也许你要我来打扫你家不可得,也许会扫你的兴,不过教室我可认认真真打扫干净了。 一个团队,可以是"帮忙"的,也可以是"责任"的,比如我的好朋友组成个团队,那我们就是互相帮忙的性质,谁也没有必然的责任,不过谁都可以付出很大的"帮忙",如果两个恋人,那更是一个"帮忙"为主的团队。公司里面,好像大多数是"责任",很难听说老板让员工"帮忙"完成工作的,也许有时候话语上不免温柔体贴,不过试试如果你超过一定期限不干活,照样炒鱿鱼,当然不排除家族企业里面裙带之风,那你不上班都没有关系,此为另话。 一块石子再大,波纹也会很快消失到无法振动其他水花,这是常识,当然太阳可以不断掀起潮汐巨浪,不过太阳估计也管不到天狼星的潮汐吧。一捆木头则不然,你可以捆多一点,多捆几把然后再扎起来,堆垛起来,甚至是堆成小山,恐怕都是可以的,木头不用太粗,也不必一定都是实心木头,空心都无妨,巧妙的捆绑堆垛,还是可以承受很大压力的吧。 团队就是这样,也许开始后创业就两个好兄弟,发展到一定程度,还是要亲兄弟明算账,中苏关系够铁吧,还不是倒戈相向;太宗兄弟够亲吧,还不是玄武门血溅当场;希望集团五兄弟够意思吧,最后也分开各干各的了。要壮大起来,靠几块石子是做不来的,还得靠一捆一捆的木头。
--
炎炎夏夜皎皎明月心烦意乱无心睡眠 浩浩队伍盈盈笑语跑步健身吃瓜联欢
┌┬┐┌┬┐┌┬┐┌┬┐ ˇ ● ˇ┌┬┐┌┬┐┌┬┐┌┬┐
○ ├夜┤├间┤├跑┤├步┤� � ├有┤├氧┤├健┤├身┤ ▲
<�- └┴┘└┴┘└┴┘└┴┘ └┴┘└┴┘└┴┘└┴┘ �●
/> 清华马协2007夏季夜间跑步活动 RunningLife/跑道人生 ∧■
※ 修改:・j2k 于 Jun 8 08:16:19 修改本文・[FROM: 202.108.12.*]
※ 来源:・水木社区 newsmth.net・[FROM: 202.108.12.*]

Re: 有没有doxygen的扩展?

 
 

Sent to you by Gift via Google Reader:

 
 

Re: 有没有doxygen的扩展?

via 水木社区 Emacs/Emacs编辑器 文摘区 by PKubuntu on Jun 15, 2007


发信人: PKubuntu (Hello, Ubuntu!), 信区: Emacs
标 题: Re: 有没有doxygen的扩展?
发信站: 水木社区 (Fri Jun 15 14:41:13 2007), 转信

找到了,这个

http://doxymacs.sourceforge.net

【 在 PKubuntu (Hello, Ubuntu!) 的大作中提到: 】
: 手动的敲那些@para什么的挺麻烦的,问一声~

--
std::_Vector_base(3) -- 3 Mar 2007 -- libstdc++
NAME
std::_Vector_base -
SYNOPSIS
Inherited by vector [protected].

※ 来源:・水木社区 newsmth.net・[FROM: 211.151.89.*]

 
 

Things you can do from here:

 
 

根据分隔符按列cut(转载)

cut 使用 cut 工具,我们可以将构成文件中数据域的各个列分隔开来。默认的分隔符是制表符,-f 选项可以用来指定希望显示的域。 举例来说,假设一个文本文件 "sample" 有三列,其内容如下所示:

one    two    three
four five six
seven eight nine
ten eleven twelve

现在执行下面的命令:

# cut -f2 sample 

这会返回:

two
five
eight
eleven

如果将这个命令修改成:

# cut -f1, 3 sample 

这会返回下面的不同结果:

one    three
four six
seven nine
ten twelve

这个命令有几个命令行选项。除了 -f 之外,我们还应该熟悉下面两个选项:

  • -c ―― 允许我们指定字符而不是域。
  • -d ―― 允许我们指定其他分隔符,而不是制表符。

____________________________________
cut:两个实际例子 ls -l 命令可以显示某个目录中所有文件的权限、链接个数、属主、组、大小、日期和文件名 ―― 这些都是以空格分隔开的。如果我们对大部分域都不感兴趣,而是只希望了解文件属主的信息,可以使用下面的命令:

# ls -l | cut -d" " -f5
root
562
root
root
root
root
root
root

这个命令只会显示文件属主(第 5 个域),而会忽略其他域。 如果您知道文件属主信息开始的第一个字符的确切位置,可以使用 -c 选项来显示文件属主的第一个字符。假设它是从第 16 个字符开始的,下面这个命令就返回第 16 个字符,这是文件属主名的第一个字符。

# ls -l | cut -c16
r

r
r
r
r
r
r

如果我们再假设大部分用户都使用最多 8 个字符作为自己的用户名,那么我们就可以使用下面的命令:

# ls -l | cut -c16-24 

这会返回用户名域的那些项。 现在假设文件名是从第 55 个字符开始的,但是我们无法确定文件名会连续占用多少个字符,因为有些文件名可能会比其他文件名长很多。解决方案是从第 55 个字符开始,但却不指定结束字符(这意味着我们要截取该行中所有剩余的内容),如下所示:

# ls -l | cut -c55-
a.out
cscope-15.5
cscope-15.5.tar
cscope.out
memo
search_items
test.c
test.s

现在我们来考虑另外一种情况。为了获得系统中所有用户的清单,我们可以从前面使用过的 /etc/passwd 文件中提取第一个域:

# cut -d":" -f1 /etc/passwd
root
bin
daemon
adm
lp
sync
shutdown
halt
mail
news
uucp
operator

要搜集用户名及其对应的主目录,我们可以提取第 1 个和第 6 个域的内容:

# cut -d":" -f1,6 /etc/passwd
root:/root
bin:/bin
daemon:/sbin
adm:/var/adm
lp:/var/spool/lpd
sync:/sbin
shutdown:/sbin
halt:/sbin
mail:/var/spool/mail
news:/etc/news
uucp:/var/spool/uucp
operator:/root

cut(转载)

cut的使用方法
  名称:cut   使用权限:所有使用者   用法:cut -cnum1 -num2 filename   说明:显示每行从开头算起 num1 到 num2 的文字。   范例:   shell>> cat example   test2   this is test1   shell>> cut -c0 -6 example ## print 开头算起前 6 个字节   test2   this i

npipe

E:temp>npipe
Usage: npipe [OPTIONS] [INPUT] [OUTPUTS] [FILE FLAGS] [CONVERSIONS]
Input parameters can appear in any order, file flags affect only the next
file/flag/handle/section/object specified on the command line
-t, --tee
        Copy INPUT to STDOUT
-s, --stderrtee
        Copy INPUT to STDERR
-n handle-num, --handle handle-num
        Copy INPUT to handle: handle-num
-e error-file, --error-file error-file
        Send errors to file: error-file
-a append-file, --append-file append-file
        Append INPUT to file: append-file
-i input-file, --input-file input-file
        Read INPUT from file: input-file
-N handle-num, --input-handle handle-num
        Read INPUT from handle: handle-num
-D ntapi-file, --device-input ntapi-file
        Read INPUT from native api/kernel file: ntapi-file
-d ntapi-file, --device-output ntapi-file
        Copy INPUT to native api/kernel file: ntapi-file
-V, -VV, -VVV, -VVVV
        Increasing verbosity, by default only parameter error info
-b buffer-length, --buffer-length buffer-length
        Set the IO buffer size (default is 64k, unless console handle IO
        is taking place, in which case it is 256)
-w, --wait
        Wait for all pipes to be connected to before starting transfer
-B, --block-read
        Read an entire buffer before writing
        Likely only affects pipes or other communication handles
-m max-bytes, --maximum max-bytes
        Read a maximum of max-bytes from INPUT
-c conversion-function, --convert conversion-function
        Converts the buffer using one of the following functions:
        All output commands after this point will be processed after the
        conversion, those before will be unaffected.
        l       ANSI To Lower Case
        L       Unicode To Lower Case
        u       ANSI To Upper Case
        U       Unicode To Upper Case
        c       Clean non-ASCII to space
        c:l     Clean non-ASCII to letter l
        cnum    Clean non-ASCII to ASCII char num
        c-      Delete non-ASCII
        O       ANSI to OEM
        A       OEM to ANSI
        w       ANSI to Unicode
        W       ANSI to Unicode, with BOM
        a       Unicode to ANSI
        s[num]  Swap order of every num bytes, default 2, where num is a power
                of two
        hb[+][-]Binary to Hex by byte [with text dump] [without address dump]
        hw[+][-]Binary to Hex by word [with text dump] [without address dump]
        hd[+][-]Binary to Hex by dword [with text dump] [without address dump]
        hr[+]   Binary to Hex by byte raw dump [with spaces]
-h, -?, --help
        Display this help
-v, --version
        Display version info
--credits
        Display program credits
-P, --progress
        Displays a progress bar on the active console screen buffer (not STDOUT
        or STDERR)
-R, --report
        Print a status report to the error handle (default STDERR, set with -e)
        This is overriden by the progress-bar flag (-P).
-O [queue length], --overlapped [queue length]
        Reads from the input file (not file mapping) using asynchronous
        overlapped IO.
        This will probably improve the overall read/process speed
        This is incompatible with the block-read flag (-B), and file mapping
        inputs (-F)
        'Queue length' defaults to 16, and must be between 1 and 64.
-Q, --overlapped-output
        Outputs to the last output handle in the chain using asynchronous
        overlapped IO.
        This is incompatible with file mapping outputs
        This activates overlapped read IO (-O above)
-X, --always-read
        Read input even if no output specified

Flags which affect the next file on the command line
  -W, --file-share-write
        Open with FILE_SHARE_WRITE
  -F, --file-mapping
        Treat as a named file mapping object (cannot be a pipe)
        For best performance: ensure that the buffer size and the skip offset
        are a multiple of the page size, usually 4k.
  -p, --persistent
        Continue writing to next handle, even if write errors occur
        Read unmapable/unreadable sections as blank
  -S skip-bytes, --skip skip-bytes
        Skip the first skip-bytes bytes of the file, (not pipe)
Flags which affect the next file on the command line (pipe only)
  -z    Force connection to existing pipes rather than create a new pipe
  -Z    Force creation of new pipes rather than connection to existing pipe

Pipe names must be in the format: .pipe[[path]name]
INPUT defaults to STDIN
/ may be used instead of -
Number may be prefixed with 0x for hexadecimal, and postfixed with the following
 SI prefixes: k,M,G,T,P,E
These stand for increasing powers of 2^10 (1024) and can be used to specify kilo
bytes, megabytes, etc.
One letter arguments may be clumped, however only the last argument in the clump
 may have an argument.
eg. -V -V -t -s -b64k <--> -VVtsb64k

Example: npipe -tsVVVVwm64k -FpD DevicePhysicalMemory out -chr -a outputfile -
Z .pipepipe1
Outputs to STDOUT,STDERR. Very verbosely. Waits for all pipes. Read max 64kB (65
536 bytes). Opens DevicePhysicalMemory as a ntapi file mapping object and pers
istently reads from it. Outputs to file: 'out'. Converts output to a raw hexdump
, affects following two output commands. Appends to file: 'outputfile'. Always c
reates, and outputs on pipe: 'pipe1'.

E:temp>npipe -c hr+ -i writer.exe outputs

数钱

Google Reader (100+)

拷,你们太悠闲了吧 (转载)

发信人: shujia2003 (好多牛虱啊), 信区: Joke
标 题: 拷,你们太悠闲了吧
发信站: 水木社区 (Sat Jun 9 11:10:57 2007), 站内

【 以下文字转载自 WorkLife 讨论区 】
发信人: yellowalert (香烧小静静), 信区: WorkLife
标 题: 拷,你们太悠闲了吧
发信站: 水木社区 (Sat Jun 9 11:10:01 2007), 站内

我的一天

7:00 起床
8:00-11:00 数钱
11:00-12:00吃饭、保养指关节
1:00-4:00 数钱
4:00-5:00 发现钱不是自己的,痛苦一小时

拒绝

[(XYS20070606)]一个充分尊重患者知情权的中医师,不仅要告诉患者自己诊断不了癌
症,也治不了癌症,而且应该要求患者必须拿着现代医学的检验单来看病,否则
就拒绝治疗;如果是确知得了癌症的患者来要求治病,也应拒绝,而不能因为患 者坚决要求采用中医方法治疗就以为自己没有责任、可以放心开药了。教师何尝不应如此?