国家人口统计男人比女人多了3700万,在大学校园里更是流传着“我很丑,可是我很抢手”(女生版)、“我很帅,可是我很无奈”(男生版)。

鉴于大龄猥琐男越来越盛行,以及小平同志说“让一部分人先恋起来嘛” 今日从科学的角度,让大家明白如何告别单身。 授人与鱼不如授人与渔。即使没能让你奔小康,起码也解决温饱~~~

告别单身的不二法则,三个字,“厚脸皮”,详见下面分析

如果一个男人追一个女人,成功的概率只有0.2, 那么连续追6个,至少有一个成功的概率,高达0.74

> 1-0.8^6
[1] 0.737856

如果连续追7个的话,至少一个成功的概率将达到0.79

> 1-0.8^7
[1] 0.7902848

如果你不是特别差,成功的概率假如是0.3,那么连续追几个的成功概率将更高。。

> 1-0.7^6
[1] 0.882351
> 1-0.7^7
[1] 0.9176457

Continue reading

推荐一个小软件,gperiodic,功能很简单,就是个元素周期表而已,可以查到各个元素的详细信息。

当年初中的时候,这个表也是背过的。。那时候用方言背的,现在用普通话讲,总觉得有点别扭。。

Continue reading

在实际应用中,尤其是sequence数据,应该尽可能避免把整个文件读入内存,文件有可能几个G甚至更大,可能引起内存崩溃。应该放在数据库里,建索引以检索数据。Bioperl有一个module, Bio::DB::Fasta可以实现这个,这个模块在没有安装bioperl的情况下也可以单独安装使用。

Continue reading

根据主页Screen的描述 “Screen is a full-screen window manager that multiplexes a physical terminal between several processes, typically interactive shells. Each virtual terminal provides the functions of the DEC VT100 terminal and, in addition, several control functions from the ANSI X3.64 (ISO 6429) and ISO 2022 standards (e.g., insert/delete line and support for multiple character sets). There is a scrollback history buffer for each virtual terminal and a copy-and-paste mechanism that allows the user to move text regions between windows.

Continue reading

Author's picture

Guangchuang Yu

a senior-in-age-but-not-senior-in-knowledge bioinformatician

Postdoc researcher

Hong Kong