« October 2004 | Main | December 2004 »

November 25, 2004

[笔记]SMP, 分布式内存模式和NUMA技术

Posted by ch1v4n at 10:52 AM | Comments (0) | TrackBack

November 24, 2004

今天看了一下vim手册

权当笔记,记一些要点,原文在这里
J: 把两行连起来
CTRL-R: redo
"o" 命令在光标下方建立一个新的空行,并把 Vim 切换到插入模式
"O" 命令(大写)在光标上方打开一个新行
w: 移动光标向前跳动一个词,移动到词首
b: 与w相反
"e" 命令可以移到下一个单词的词末,而 "ge" 则移动到前一个单词的末尾
"$" 命令把光标移动到当前行行尾
"^" 命令把光标移动到当前行的第一个非空字符
"0"(零) 命令则移到一行的第一个字符

f/F:单字符查找命令,最有用的移动命令之一,"fx" 命令向前查找本行中的字符 x。"F" 命令则用于向左查找。
"tx" 命令与 "fx" 相似,但它只把光标移动到目标字符的前一个字符上。提示:"t" 表示 "To"。这个命令的反向版本是 "Tx"。
这四个命令可以通过 ";" 命令重复,"," 命令则用于反向重复。无论用哪个命令,光标永远都不会移出当前行,哪怕是这两行是连续的一个句子。

"%" 是一个非常方便的命令了:它能匹配一对括号。如果光标在 "(" 上,它移动到对应的 ")" 上,反之,如果它在")" 上,它移动到 "(" 上。

G: 移动到指定的行,"33G" 把你送到 33 行
"50%" 移动到文件的中间,而 "90%" 移到差不多结尾的位置。

H,M,L:分别代表移到当前视野的Home, Middle, Last处


Continue reading "今天看了一下vim手册"

Posted by ch1v4n at 03:26 PM | Comments (0) | TrackBack

The Apache Cocoon Project


ApacheCon!

Come to ApacheCon 2004!
Apache Cocoon
Apache Cocoon is a web development framework built around the concepts of
separation of concerns and component-based web development.
Cocoon implements these concepts around the notion of 'component pipelines',
each component on the pipeline specializing on a particular operation. This
makes it possible to use a Lego(tm)-like approach in building web solutions,
hooking together components into pipelines without any required programming.
Cocoon is "web glue for your web application development needs". It is a glue
that keeps concerns separate and allows parallel evolution of all aspects of
a web application, improving development pace and reducing the chance of
conflicts.

Posted by ch1v4n at 12:38 PM | Comments (0) | TrackBack

碰到牛人

昨天晚上,netkiller又向以前一样,发起MSN群聊,发布自己最新的消息,原来他的postfix文档已经达到840页了,我也凑合了几句,然后就跟群聊里的人聊了起来。netkiller既然是牛人,那么他的群聊对象也应该是牛人(不包括我),像hzqbbc, charles,还有他在postfix文档里的感谢列表中的人。Google了一把他们的信息,都让我肃然起敬的主,想想高手就在我的MSN列表,确实不胜荣幸。
netkiller和hzqbbc都是数据库、邮件系统的高手(根据现在的了解);Charles则是OS的高手,他对Solaris, linux, Freebsd的见解都非常独到,日后会有很多问题向他请教。他们都还很年轻,二十六七岁的光景。
现在我的MSN联系人列表里,专门建立了一个tech组。
榜样的力量是无穷的。

Posted by ch1v4n at 11:27 AM | Comments (2) | TrackBack

November 18, 2004

微软社会性网络-Wallop

微软推出了社会性网络(SNS)服务Wallop,Wallop能够让我们和朋友们交互,分享照片、音乐及Blog等。Wallop界面由Flash做成,界面清新,风格独特(要求浏览器安装插件Flash 7)。 

Continue reading "微软社会性网络-Wallop"

Posted by ch1v4n at 08:33 AM | Comments (1) | TrackBack

November 17, 2004

停电,蜡烛下的涂鸦

晚上回家,停电。在黑暗中发呆,享受一下这难得的宁静。因为什么事都做不了,反而可以静下脑子去思考写东西。

可是停电实在难受,一味发呆容易真的变呆,于是找出蜡烛点了起来。拿出纸笔,在昏暗的烛光下涂鸦乱写,希望能整理一下自己的一些思绪。

想的照样是我感兴趣的SNS方面的东西,也许是黑暗带来的特别宁静,思路似乎突然开阔起来。哗地写了三张A4纸,边写边乐。当然这时候的想法也许不成熟,但是写下来再说,日后慢慢整理,也许会有一些启发。

Posted by ch1v4n at 08:21 PM | Comments (0) | TrackBack

November 16, 2004

下一代互联网的旅游蓝图

下一代互联网的旅游蓝图
作者:巫宁 2004-11-15 23:50:43
博客中国(Blogchina.com)

2004年,中国第一个下一代互联网主干网CERNET2试验网、美国Internet2、欧盟GEANT共同宣布开通全球IPv6下一代互联网服务。以IPv6技术为代表的下一代互联网技术正向我们走来,并将引发互联网应用的重大革命。

下一代互联网的旅游蓝图

拥有下一代互联网,在2008年的奥运会上,运动员只需戴上一些简单设备,普通市民就可以成为“运动员自己”,以他们的眼光观看比赛;拥有下一代互联网,我们不仅可以进行远程会诊,甚至一个眼科医生可以远程操作一台精细手术……那么究竟什么是下一代互联网?

什么是下一代互联网?

下一代互联网是采用IPv6技术的高速互联网。它能支持包括网格计算、高清晰度电视、点到点视频语音综合通信、组播视频会议、大规模虚拟现实环境、智能交通、环境监测、远程医疗、远程教育等在内的重大应用开发。与目前“炒”得正热的宽带网不同,宽带仅仅是指速度,只是下一代互联网包含的一个方面,而下一代互联网则是一场革命。

欧洲委员会专家Erkki Liikanen指出,下一代互联网将使网络渗透到人们生活的方方面面,带来真正的数字化生活和以人为本的网络社会。作为为最有竞争力的主流媒体,下一代互联网的赢利能力将是现一代互联网的100倍以上。

Continue reading "下一代互联网的旅游蓝图"

Posted by ch1v4n at 10:26 AM | Comments (0) | TrackBack

November 15, 2004

用关键字模糊定义新闻

用户输入足够数量的关键字,代表自己感兴趣的领域。然后聚合器分析这些关键字,给用户聚合能引起用户足够兴趣的新闻。

Posted by ch1v4n at 04:30 PM | Comments (0) | TrackBack

从RSS新闻聚合谈起

可否提供一种工具,提供对非RSS的源进行聚合。比如订阅某一个传统HTML页面,通过对页面元素的分析选择,形成RSS文件,或者仅仅显示自己感兴趣的内容(比如去掉广告、图片、无谓的装饰等)。我曾经用lynx dump一个页面的信息,然后截取自己喜欢的内容。页面源是http://www.wz121.com,我截取的内容是里边的文字天气预报信息,用来放在一个论坛上。
代码如下:
#!/bin/bash
cd /usr/local/weather/
lynx -dump http://www.wz121.com/welcome.asp |grep -A 30 专业气象台 |grep -B 30
" □" > weather.info
cat weather.info |grep -B 30 ℃ > weather.info_
cat first > /var/www/html/leobbs/weather.html
cat weather.info_ >> /var/www/html/leobbs/weather.html
cat last >> /var/www/html/leobbs/weather.html

最终的页面内容如下:
http://www.hikz.com/leobbs/weather.html

Posted by ch1v4n at 04:15 PM | Comments (0) | TrackBack

November 12, 2004

拓扑图,内网网物理隔离

总拓扑图.gif

Posted by ch1v4n at 10:25 AM | Comments (0) | TrackBack

November 11, 2004

Top 75 Security Tools

Top 75 Network Security Tools

Nessus: The premier Open Source vulnerability assessment tool
Nessus is a remote security scanner for Linux, BSD, Solaris, and other
Unices. It is plug-in-based, has a GTK interface, and performs over
1200 remote security checks. It allows for reports to be generated in
HTML, XML, LaTeX, and ASCII text, and suggests solutions for security
problems.

Ethereal: Sniffing the glue that holds the Internet together
Ethereal is a free network protocol analyzer for Unix and Windows. It
allows you to examine data from a live network or from a capture file
on disk. You can interactively browse the capture data, viewing
summary and detail information for each packet. Ethereal has several
powerful features, including a rich display filter language and the
ability to view the reconstructed stream of a TCP session. A
text-based version called tethereal is included.

Snort: A free intrusion detection system (IDS) for the masses
Snort is a lightweight network intrusion detection system, capable of
performing real-time traffic analysis and packet logging on IP
networks. It can perform protocol analysis, content searching/matching
and can be used to detect a variety of attacks and probes, such as
buffer overflows, stealth port scans, CGI attacks, SMB probes, OS
fingerprinting attempts, and much more. Snort uses a flexible rule
based language to describe traffic that it should collect or pass, and
a modular detection engine. Many people also suggested that the Analysis Console for Intrusion Databases (ACID) be used with Snort.

Netcat: The network swiss army knife
A simple Unix utility which reads and writes data across network
connections, using TCP or UDP protocol. It is designed to be a
reliable "back-end" tool that can be used directly or easily driven by
other programs and scripts. At the same time, it is a feature-rich
network debugging and exploration tool, since it can create almost any
kind of connection you would need and has several interesting built-in
capabilities.

TCPDump / WinDump: The classic sniffer for network monitoring and data acquisition
Tcpdump is a well-known and well-loved text-based network packet
analyzer ("sniffer"). It can be used to print out the headers of
packets on a network interface that matches a given expression. You
can use this tool to track down network problems or to monitor network
activities. There is a separate Windows port named WinDump. TCPDump is also the source of the Libpcap/WinPcap packet capture library, which
is used by
Nmap among many other
utilities. Note that many users prefer the newer Ethereal sniffer.


这里是前5个工具,全部列表见:http://www.insecure.org/tools.html

Posted by ch1v4n at 09:33 PM | Comments (0) | TrackBack

10x10™

10x10™ ('ten by ten') is an interactive exploration of the words and pictures that define the time. The result is an often moving, sometimes shocking, occasionally frivolous, but always fitting snapshot of our world. Every hour, 10x10 collects the 100 words and pictures that matter most on a global scale, and presents them as a single image, taken to encapsulate that moment in time. Over the course of days, months, and years, 10x10 leaves a trail of these hourly statements which, stitched together side by side, form a continuous patchwork tapestry of human life.

Continue reading "10x10™"

Posted by ch1v4n at 09:22 PM | Comments (0) | TrackBack

November 10, 2004

电子交易有了国家标准印章

由中国电子商务协会会同公安部物证鉴定中心组织研发的中国安全电子印章管理应用系统(www.esca.cn)昨天在京宣布开通,国旅集团出入境服务有限公司、中国国际经济咨询公司和上海中泰实业有限公司三方通过该系统签署的一份出国考察合同,成为我国电子签名法于今年8月出台之后,首份采用安全电子印章签署的电子合同。

有关人士指出,这份合同的签署不仅实现了全球首次安全电子印章的多方同步在线签约,而且掀开了我国印章史上革命性的一页,同时也为明年4月1日我国电子签名法的实施起到助跑的作用。

据介绍,安全电子印章分为电子印章和电子名章,采取对符合国家标准的印章、印迹进行加密,并绑定经国家相关主管部门认可的数字证书,灌制在一个带有国密办授权密码的密钥中。应用时只需要将智能钥匙与电脑相连操作。
来源:北京青年报

Posted by ch1v4n at 07:34 PM | Comments (0) | TrackBack

离散标签和连续标签

我的观点是,应该用自由标签、传统树状分类相结合进行分类。

自由标签是离散的,可以进行个别内容的迅速定位。
树状分类能对内容进行有层次的有效组织。层次性的分类,应当是不能被遗弃的。

为了统一起见,可以这样定义:标签分为两类,连续和离散。 当两个标签之间没有从属关系,那么它是离散的,当一个标签明显的可以从属于某一个标签之下,那么它是连续的(这个名称也许有一个更好的代替)。

要么来一种另外的表达方式:所有的标签都是离散的,但是一个标签可以包含另外一个标签。比如我赋予某一个实体属于标签“music”,那么,它可以同时被赋予标签“entertainment”,或者“hobby”。事实上,很多实体(Entry)很适合这么做。

再来一种表达方式:所有实体可以赋予n个标签以便分类。标签也是一种特殊的实体。

Posted by ch1v4n at 11:10 AM | Comments (0) | TrackBack

What is Furl?

Furl is a free service that saves a personal copy of any page you find on the Web, and lets you find it again instantly by searching your archive of pages. It's your Personal Web.

Furl offers the best ways to share the content you find on the Web, and recommends new Web pages that may interest you. You can also search Furl to find the best sites that other people are saving.

Furl is used for many purposes by many types of people. For travel planning. Recipe sharing. House-hunting. Medical research. Thousands of people use Furl every day to save, share and discover information that is important to them.

Instantly. Simply. Guaranteed.

Continue reading "What is Furl?"

Posted by ch1v4n at 10:55 AM | Comments (0) | TrackBack

November 09, 2004

网威推出Linux Desktop 9软件挑战微软视窗

新浪科技讯美国东部时间11月8日11:38(北京时间11月9日0:38)消息,今天网威(Novell)正式推出了Linux Desktop 9软件平台。网威声称,该软件拥有强大的性能,完全可与微软用于企业桌面电脑的视窗系统竞争,能为有关用户提供更多的选择

Continue reading "网威推出Linux Desktop 9软件挑战微软视窗"

Posted by ch1v4n at 05:18 PM | Comments (0) | TrackBack

November 02, 2004

光纤接口介绍:ST/SC/LC

接头:
常见的有ST(FE, ATM在光纤跳线架上常用),SC(在GE交换机中常用,1Gb FC的接口标准之一),LC(2Gb FC中的标准之一,并非国际标准,来自Lucent)

Posted by ch1v4n at 09:12 PM | Comments (1) | TrackBack