New P2P framework
Today I have some ideas about P2P application framework. Would check if there is any available ones and whether they can fulfil my ideas. Maybe I would start a project to implement these ideas in Python and/or C++.
共 63 篇文章。
Today I have some ideas about P2P application framework. Would check if there is any available ones and whether they can fulfil my ideas. Maybe I would start a project to implement these ideas in Python and/or C++.
没看到题目的看这儿。
答案:
原题:
有两间屋,甲和乙,甲屋有四个开关,乙屋有四个灯泡,
甲屋是看不到乙屋,而甲屋的每一个开关是控制乙屋的其中一个灯泡,
问你怎样可以只停留在甲屋一次,停留在乙屋一次,
而可以知道那个开关是控制那个灯泡呢?
想不出来可以接着看提示,星期五公布答案。
From: NASA
A planet larger than Pluto has been discovered in the outlying regions of the solar system.
The planet was discovered using the Samuel Oschin Telescope at Palomar Observatory near San Diego, Calif. The discovery was announced today by planetary scientist Dr. Mike Brown of the California Institute of Technology in Pasadena, Calif., whose research is partly funded by NASA.
在二十多年前,美国科学家Stanley B. Prusiner教授(1997年诺贝尔奖医学生理学奖得主)提出:变异的蛋白质可能于动物界甚至人群间传播,进而造成中枢神经系统退化等疾病的发生。在当时,许多科学家们都抱持着高度怀疑的态度,因为缺乏DNA或RNA等遗传物质的分子如何能在宿主体内复制存活呢?又如何能建立感染路径? 举例来说:病毒,这个构造最简单的微生物也是需要依赖DNA或RNA来进行复制,才能感染宿主。
然而,在Stanley B. Prusiner教授所提出的理论中,他却认为那些异常的prions蛋白可以「影响」其它正常的prions蛋白,造成其构型上的改变。这些异常prions蛋白的持续堆积在脑中会造成脑组织出现海绵状空洞,进而影响正常的中枢神经系统功能。换句话说,prion这个病原有别于细菌、霉菌、病毒等微生物,它对紫外线及消毒剂有很强的抵抗力。它不具有遗传物质(例如DNA与RNA)却可以在宿主身上造成疾病。它是一种蛋白质,但高温却破坏不了它,这个神秘的病原大大地颠覆了传统的思维,然而越来越多的证据显示这个可怕的病原确实存在。
Seems that my server keep tuning its clock, somewhat weird…
Jun 30 22:56:43 tarsier ntpd[412]: ntpd 4.2.0-a Thu Jun 30 11:02:35 CST 2005 (1)
Jun 30 22:56:43 tarsier ntpd[412]: no IPv6 interfaces found
Jun 30 23:05:20 tarsier ntpd[412]: kernel time sync disabled 2041
Jun 30 23:14:58 tarsier ntpd[412]: kernel time sync enabled 2001
Jul 1 01:26:33 tarsier ntpd[412]: kernel time sync enabled 6001
Jul 1 01:43:39 tarsier ntpd[412]: kernel time sync enabled 2001
Jul 1 09:36:14 tarsier ntpd[412]: time reset -0.152496 s
Jul 1 11:30:42 tarsier ntpd[412]: time reset +0.155343 s
Jul 1 11:30:42 tarsier ntpd[412]: kernel time sync enabled 6001
Jul 1 11:40:17 tarsier ntpd[412]: kernel time sync enabled 2001
Jul 1 15:57:41 tarsier ntpd[412]: time reset +0.176810 s
Jul 1 15:57:41 tarsier ntpd[412]: kernel time sync enabled 6001
Jul 1 16:07:19 tarsier ntpd[412]: kernel time sync enabled 2001
Jul 1 20:10:47 tarsier ntpd[412]: time reset -0.156077 s
Jul 1 20:20:24 tarsier ntpd[412]: time reset +0.236649 s
Jul 2 10:33:54 tarsier ntpd[412]: time reset -0.132817 s
Jul 2 16:11:24 tarsier ntpd[412]: kernel time sync enabled 6001
Jul 2 16:27:47 tarsier ntpd[412]: kernel time sync enabled 2001
Jul 3 19:50:46 tarsier ntpd[412]: kernel time sync enabled 6001
Jul 3 20:17:51 tarsier ntpd[412]: kernel time sync enabled 2001
Jul 4 10:12:53 tarsier ntpd[412]: time reset -0.160430 s
Jul 4 10:12:53 tarsier ntpd[412]: kernel time sync enabled 6001
Jul 4 10:22:29 tarsier ntpd[412]: kernel time sync enabled 2001
Jul 4 20:30:43 tarsier ntpd[412]: kernel time sync enabled 6001
Jul 4 20:31:05 tarsier ntpd[412]: kernel time sync enabled 2001
Jul 5 00:34:58 tarsier ntpd[412]: time reset +0.157389 s
Jul 5 11:00:13 tarsier ntpd[412]: time reset -0.133099 s
Jul 5 18:48:49 tarsier ntpd[412]: time reset +0.263088 s
Jul 5 18:48:49 tarsier ntpd[412]: kernel time sync enabled 6001
Jul 5 18:58:22 tarsier ntpd[412]: kernel time sync enabled 2001
Jul 5 19:57:22 tarsier ntpd[412]: time reset -0.178673 s
Jul 6 00:12:40 tarsier ntpd[412]: time reset +0.144622 s
Jul 6 09:51:10 tarsier ntpd[412]: time reset -0.132773 s
Jul 6 23:40:28 tarsier ntpd[412]: time reset +0.149341 s
Jul 7 01:53:55 tarsier ntpd[412]: time reset -0.177050 s
Jul 7 09:58:34 tarsier ntpd[412]: time reset -0.183544 s
Jul 7 12:15:14 tarsier ntpd[412]: time reset +0.158977 s
Jul 7 17:33:38 tarsier ntpd[412]: time reset +0.188230 s
Jul 7 19:31:21 tarsier ntpd[412]: time reset -0.183378 s
Jul 8 09:22:04 tarsier ntpd[412]: time reset -0.190559 s
Jul 8 10:48:50 tarsier ntpd[412]: time reset +0.144984 s
Jul 8 14:44:54 tarsier ntpd[412]: time reset +0.156142 s
Jul 8 20:13:49 tarsier ntpd[412]: time reset -0.211498 s
Jul 8 20:23:25 tarsier ntpd[412]: time reset +0.213453 s
Jul 8 23:54:54 tarsier ntpd[412]: time reset +0.171939 s
Jul 9 03:35:08 tarsier ntpd[412]: time reset -0.150036 s
求一系列字符串的最长公共子串的问题大家都很了解,今天在琢磨垃圾信息的时候突然想到另一个问题。
好比说,5个字符串:
www.domain.com
domain.com
domain.net
www.domain.net
spammer.domain.net
转载自 TAS台灣天文網
大多数宇宙学家相信,超大质量黑洞是在大型星系中央,经过长时间吸积物质所形成的。但是Cambridge研究团队的Haehnelt博士却表示,有越来越多的证据显示事情可能不是这样,今天的超大质量黑洞是由各处形成的微型黑洞融合而成。