Calendar

2010年三月
« 二    
1234567
891011121314
15161718192021
22232425262728
293031  

Translator

The Impossible Dream-追梦无悔

音频片段:需要 Adobe Flash Player(9 或以上版本)播放音频片段。 点击这里下载最新版本。您需要开启浏览器的 JavaScript 支持。

要做那不可能实现的梦。
对抗无法匹敌的对手。
承受难以承受的悲痛。
去往勇者以畏惧之地。
纠正那无法改正的错误。
成为远远超越自己的人。
即使双臂疲惫不堪,仍要尽力去尝试。
要摘下那遥不可及的星星。

这是我的追求,
去追随那颗星,
不管多么绝望,
不管多么遥远。

毫不犹豫的为梦想而战,
即使向地狱进发也毫不退缩。

而我明白只有坚守着这光荣的使命,
闭上双眼,内心必能得到安宁与平静。
世界也将因此而更加美好。
无所畏惧,带着伤疤的人,
将战斗到最后,
直到摘到梦想中的那颗星。

Click to continue reading

PHP-MVC-UML

http://anantgarg.com/2009/03/13/write-your-own-php-mvc-framework-part-1/

是个很好的php mvc实现过程展示,已经说地很翔实了。我比较笨,为了更好的理解他的代码实现,用UML把它的设计思路画了一下。

class 

sequence

How online payment processing works

Online payment processing consists of two principal steps: authorization and settlement. The authorization process verifies that the customer’s credit card is active, and that there is sufficient credit to pay for the transaction. During the settlement process, the customer’s card account is charged and money from the customer’s account is transferred to the merchant’s account.

1. Payment processing authorization

During authorization, a bank verifies that holders of a payment instrument, such as a credit card, have sufficient credit or funds to make a purchase.

  1. Customer decides to purchase online and inputs credit card information.
  2. Merchant’s website receives customer information and sends it to payment processing service.
  3. Processing service routes information to processor.
  4. Processor routes information to bank that issued customer’s credit card.
  5. Issuing bank sends authorization (or declination) to processor.
  6. Processor routes transaction results to payment processing service.
  7. Processing service sends results to merchant.
  8. Merchant decides to accept or reject purchase. (Here, the merchant should take additional precautions to ensure the 8. credit card is not stolen and that the customer actually owns this card.)

image

Click to continue reading

PICOL-形象通讯语言(Pictorial Communication Language)

PICOL:形象通讯语言(Pictorial Communication Language)。PICOL的目标是创建一个“用于电子通信的标准和精简的符号系统”。PICOL可以免费使用,并允许用户自行修改。

人类一直都通过文字来阅读。这种方式有其弊端:

  • 字形表意晦涩,学习困难
  • 种类繁多
  • 同时表达方式单一,只能一行一行的序列陈述

PICOL设计观念为我们展示了一种新颖的沟通语言:就是用通用图标(精简会意符号)。这种语言,通过标准化的会意图标来表达思想,其思想正好解决传统文字的弊端。

  • 方便理解,学习简单:它表现象形,不管你是哪国人,不用学也能明白大概。
  • 表现方式多样:它也不一定像传统文字那样一行行的排列来陈述,完全可以一在个平面甚至是三维空间中随意组合、运动来表达含义。

有利必有弊,PICOL弊端也很明显。

  • 书写困难: 很难想象所有字都要一个个的画出来,不过计算机时代的到来让这种输入难度急速降低。
  • 表达有限:PICOL现在看来只适合陈述事件与逻辑关系, 要用它来写一篇诗歌或散文,还不如去拍个电影。

下面是一个实例,视频:Internet的历史

这个视频完全运用PICOL来表达。试试禁音“阅读”,在你还没有学过这种语言的情况,看看能理解多少。设想一下,如果还有一段表达同样意思的梵文,你又能理解多少。

如果你曾经对Internet是如何诞生的很好奇,但又没有时间来阅读相关主题的书籍,那一定不要错过Milah Bilgil制作的这段名为”Internet的历史”的简短视频。这段视频对分时(time-sharing),文件共享(file-sharing),arpanet以及internet的历史演进作了一个非常形象的介绍。

 


History of the Internet from PICOL

Reference: http://blog.picol.org/

用Google Trends来做决定

一堆东西放在你面前选,拿不定主意。人人都会碰到这样的难题,一个简单的方法就是找Google Trends。

我就是! 想研究一下cms,网上找了很多产品,各有千秋,不知怎么选, 就偷了个懒,让Google Trends 帮我选了。

google trends cms

PCI Data Security Standards (PCI DSS)

写paypal程序有一段时间了。关于电子支付,安全问题非同小可,总是要反复留心。但不管怎么谨慎,按照个人主观标准做的东西总不能保证质量。近日开始系统阅读paypal开发文档,没想到第一课就是PCI DSS(Payment Card Industry Data Security Standards支付卡数据安全工业标准)。有了标准就有质量保证的依据,应该是做电子支付的必修课了。

什么是PCI DSS?

  • PCI DSS是:支付卡数据安全工业标准
    • 按照支付卡行业安全标准委员会(PCI SSC)需求设计
    • 保护持卡人在支付卡欺诈、遗失、偷盗情况下的数据安全规范
  • PCI SSC 管理此标准
  • 支付卡公司执行此标准(如:Visa, MasterCard, DiscoverCard and American Express)
  • PCI DSS适用于持卡人数据存储、处理与传输的全过程 

PCI DSS 目标概略

  • 建设与维护安全网络
  • 保护持卡人数据
  • 维护系统弱点
  • 实行健壮的访问控制
  • 监控与测试网络
  • 维护一个安全策略

遵守PCI DSS

遵守PCI DSS不是一次性目标,它是不断评估与执行的过程。

  • 评估:确定持卡人数据与相关IT设施清单,分析弱点
  • 纠正:修正弱点并保持只对指定数据进行处理
  • 报告:记录所有的行动日志,并通知收单行与有关经营体

PCI DSS 12 Core Requirements

Build and Maintain a Secure Network
Requirement 1 Install and maintain a firewall configuration to protect cardholder data
Requirement 2 Do not use vendor-supplied defaults for system passwords and other security parameters

Protect Cardholder Data
Requirement 3 Protect stored cardholder data
Requirement 4 Encrypt transmission of cardholder data across open, public networks

Maintain a Vulnerability Management Program
Requirement 5 Use and regularly update anti-virus software
Requirement 6 Develop and maintain secure systems and applications

Implement Strong Access Control Measures
Requirement 7 Restrict access to cardholder data by business need-to-know
Requirement 8 Assign a unique ID to each person with computer access
Requirement 9 Restrict physical access to cardholder data

Regularly Monitor and Test Networks
Requirement 10 Track and monitor all access to network resources and cardholder data
Requirement 11 Regularly test security systems and processes

Click to continue reading

my reading: A short history of Chinese philosophy

A short history of China philosophy  by:Fung Yu-Lan

The sentences deserve to be noted.

Chapter 1: The Spirit of Chinese philosophy

The place which philosophy has occupied in chinese civilization has been comparable to that of religion on other civilizations.

Place of philosophy in Chinese Civilization

A present it is known to many Westerners that the Chinese people have been less concerned with religion than other people are. ……. When one says it is ethics, not religion, that has provided the spiritual basis of Chinese civiliztion, does it imply that the Chinese are not conscious of those values which are highter than moral ones? ……To answer ther above questions, I would say that the craving for something beyond the present actual world is one of the innate desires of mankind, and the Chinese people are no exception to the rule. They have not had much concern with religion because thay have had so much concern with pphilosophy. They are not religious because they are philosophical. in philosophy they satisfy their craving for what is beyond the present actual world. In philosophy also they have the super-moral values expressed and appreciated, and in living according to philosophy these super-moral values are experienced.

Problem and Spirit of Chinese philosophy

“不离日用常行内,直到先天未画前”. “It is not divorced from the daily ordinary activities, yet it gose straight to what antedated Heaven.” This is what Chinese philosophy has striven for.

The man who accomplishes this synthesis, not only in theory but also in deed, is the sage.

The Way in which Chinese Philosophers Expressed Themseleves

According to the chinese trandition, the study of philosophy is not a profession. Everyone should study philosophy just like in the West every on should go to church. The purpose of the study of philosophy is to enable a man, as man, to be a man, no some ……

“言者所以在意,得意而忘言,吾安得夫忘言之人而与之言哉!”
Words a for holding on ideal, but when one has got the ideal, one need no longer think about the words. If only I could find someone who had stopped thinking about words and could have him with me to talk to! –”when their eyes met, the Tao was there” or “the Tao cannot be told, but only suggested.”

Chapter 2: The Background of Chinese philososphy

Chinese Art and Poetry

The Confucianists took art as an instrument for moral education. The Taoists admiration of the free movement of the spirit and their idealization of nature gave profound inspiration to the great artists of China. ……Likewise in Chinese poetry we find suck poems as that by T’ao Ch’ien(A.D.372-427):“结庐在人境,而无车马喧。问君何能尔,心远地自偏。采菊东篱下,悠然见南山。山气日夕佳,飞鸟相与还。此中有真意,欲辨已忘言。 ”

I built my hut in a zone of human habitation,
Yat near me there sounds no noise of horse or coach,
Would you know how that is possible?
A heart that is distant creates a wilderness round it.
I pluck chrysanthemums under the eastern hedge,
Then gaze long at the distant summer hills.
The mountain air is fresh at the dusk of day;
The flying birds two by two return.
In these thing there lies a deep meaning;
Yet when we would expressit, words suddenly fail us.

美元贬值与黄金坐庄

Gold

震荡与贬值

前晚睡觉前,已过零点,习惯性的看看金价,急跌至五周低位883$,已低于自己的目标买入价。但是,如此急跌是否有对金价不利的系统风险出现,保守起见没有行动。可就在我睡下的一个小时里金价急升到950$一带,震幅巨大。原来隔夜美联储采取量化宽松货币政策,印钞300,000,000,000$以收购美国长期国债提振金融市场,美指急挫至近两个月低位。美元贬值,黄金当然要涨。

让我不明白的一点是,涨可以理解,那之前的大幅下跌又是怎么回事,而且就在利好消息公布之前,怎么让人感觉就像咱们家A股市场的恶庄行为。可要知道黄金做为全球通行的准货币,理论上不应该有坐庄这类非系统性风险存在,不过仅为理论上如此。同样,事实上某些大庄还是能轻易的制造出一些系统风险,从而牟取利益。比如美国政府。量化宽松货币政策说白了就是大开印钞机贬值美元来得利自己,而持有大量美国国债的债权国就将为此蒙受巨大损失。

细节中的本质

注意一个细节,就在几天前,美国总统奥巴马在与访美的巴西总统卢拉会谈后的记者会上表示,包括中国在内的全世界投资者都应对其在美国投资的安全性有“绝对信心”。(美国总统奥巴马急给中国投资定心丸)我们可怜的总理的好觉还没睡上几晚(温家宝:中国是美最大债权国 担心中国资产安全),老实人就被忽悠了。可以肯定,当时说这话的美国总统已知道今后几天将发生什么事了。

想想这一阴阳行径与右边这张“黄金坐庄图”有什么区别!事实告诉我们,越大的庄家越是无信可言,在利益面前,信誉一文不值。对于庄家而言,信誉只是让善良的人们放弃自己权力的一种手段!

Page 1 of 27123456789101112...Last »