星期二 阴 1~6℃

叼个烟悠闲的站在公交车头前 ( 思考 )

从前只是听说,今早亲见了一回。在一个站台,前面一辆公交一直不动,我们这辆只好后退再拐出站,经过前面的公交时,才发现车头塞满了乘客,不过车尾还有些空,一名男子嘴上叼个烟,很悠闲的站在公交前挡住去路。

突然想起前几天记的那篇英文故事《The Ass and the Mule》

主人带着一头驴和一头骡子去旅行,驴和骡子身上都放了很多行李。走到一段山路时,驴觉得很累,快吃不消了,对骡子说,老兄,你力大,帮我背一些吧。骡子不应允,驴很快就累死了。主人于是把驴身上的行李都放在了骡子身上。骡子很后悔,如果我当时帮驴负担一些,他不会累死,我现在也不用背这么多。

帮助别人就是帮助自己。


开始设计会员空间 ( & F8Team )

找了一张素材图片,开始加工。以后会有越来越多的会员空间模板,最好是将来像 QQ 空间一样,会员可以自己定制模板。

UCH 果然是个大杂烩,我们面临的首要事情,就是简化它,精简它,不要让人一进来有茫然无措、不知道从何开始的感觉。

下午在团队群里交流了一些内容:

认真研究下,还是很能理解 UCH 的操作逻辑的,但是它的最严重的问题之一就在于,它恨不得把所有的功能都显示在舞台上,似乎每一个功能都很重要,结果就反而失去了主次感,在用户眼里,就变得每一个都不重要了。要精简,要让小学生进来,用几分钟就能对空间上手,那就很牛。很多产品,越往后做,功能越来越多,反而让用户不好下手,所以就出现了所谓的经典版,比如 XP 是经典版,coreldraw9 是经典版,当年我用瑞星时,那玩意儿越升级就越豪华,用起来却越难受。

bobl 问:“把用户当傻瓜来看?”

我说:“对的,要把用户当傻瓜,但是不能当白痴,因为有‘傻瓜相机’,但是没有‘白痴相机’。傻瓜的意思,就是简化操作。”

对于按钮而言,摆放的位置,远远比按钮本身的精致程度要重要得多。一个重要的按钮摆在某一个位置,就要让用户产生足够的点击欲望。导航就是重中之重的按钮,试想,你的导航不能迅速有效的进入用户视野,不能让用户产生足够的点击心理,用户将其视若无物,这样的导航,还能称之为导航吗?

小明认为:“其实欲望更多是设计的问题。”

我补充:“设计包括两大要点,位置和身体。身体再好,一个人在房间里,没人看到,也是白搭。所以,相对而言,位置比身体重要得多。”

其实,这些都是相对的东西,真正的完美主义者,是同时追求身体和位置的。体会了位置的重要性以后,你还会满足一个平平的身体吗?


网页框架(frame)伸缩代码

点击下载源代码

框架缩进弹出:显示/隐藏顶部框架,显示/隐藏左侧框架。


The Salt Merchant and His Ass
from http://classics.mit.edu/Aesop/fab.1.1.html#521

A Peddler drove his Ass to the seashore to buy salt. His road home lay across a stream into which his Ass, making a false step, fell by accident and rose up again with his load considerably lighter, as the water melted the sack. The Peddler retraced his steps and refilled his panniers with a larger quantity of salt than before. When he came again to the stream, the Ass fell down on purpose in the same spot, and, regaining his feet with the weight of his load much diminished, brayed triumphantly as if he had obtained what he desired. The Peddler saw through his trick and drove him for the third time to the coast, where he bought a cargo of sponges instead of salt. The Ass, again playing the fool, fell down on purpose when he reached the stream, but the sponges became swollen with water, greatly increasing his load. And thus his trick recoiled on him, for he now carried on his back a double burden.

一位盐商赶着驴去海边批发盐,回来时经过一条河,驴不小心滑了一脚,盐被水融化了一些,重量轻了很多。第二次,盐商在框里装了更多的盐,驴想,上次不小心滑了一下,货物轻了很多,这一次,就故意滑一下,果然又变轻了。盐商识破了驴的诡计,决定给它一个惩罚。第三次,买了一批海棉,当驴故计重施时,发觉这一次重量反而变重了。

事不过三。

星期一 阴 2~8℃

使用google文档作为“F8Team记事本”

小明推荐了 google 文档,以后 F8Team 用 google 文档共享记录。团队六人上午均已成功连接。


The Sick Stag
from http://classics.mit.edu/Aesop/fab.1.1.html#514

A sick stag lay down in a quiet corner of its pasture-ground. His companions came in great numbers to inquire after his health, and each one helped himself to a share of the food which had been placed for his use; so that he died, not from his sickness, but from the failure of the means of living.

Evil companions bring more hurt than profit.

心痛比病痛更加可怕,哀莫大于心死。

第222天:友吧Home版首页方案敲定

星期日 小雨 4~9℃

友吧Home版首页方案敲定

下午完成了 Home 版首页的设计。接下去将设计 Home 的会员空间页面和 Home 的独立首页。

这个版本上线后,友吧看上去才像友吧。这一版本,将令人振奋,计划在春节过后上线。程序扩展和 AS 方面,尚需 Ryan 和小明努力。

星期六  小雨 5~9℃

治好了长达八年的灰指甲

大概在 2000 年的时候得了灰指甲(左手拇指),那个时候还不知道是灰指甲,校医看了以后说的。他那表情至今难忘,看起来有些惊讶,有些害怕,上身迅速的往后稍稍一撤,用手指着我的手指说:灰指甲。说很难治,也没什么特效药,就用达克宁涂涂吧。

结果,达克宁当然不管用。

后来大概在 2001 年夏天抑或是 2002 年夏天用过一种药,药名不记得了,打着“无效退款”的旗号,但是确实无效,找上门去,庙在人已去。2003 年上半年用过一盒亮甲,同样几乎无效。我于是相信了大家都在说的,灰指甲治不好,没再治过。

去年下半年搬家到德胜东村附近,发现乐购斜对面有一家店打着很大的“灰指甲”的招牌,想,等过完年去试试看吧。现在工作和生活也都比以前稳定多了,治疗灰指甲需要有长期比较稳定的时间,选择在年后也比较合适,可以有一整年的稳定时间。此前两次没治好,和工作不稳定有很大关系,影响了长期治疗(几年间,我已经辗转了好几个城市)。

大概在今年 2 月底或 3 月初,去这家店里看,店名是“康美尔乐”,配了药,最初隔三岔五要去店里。到 8 月份,眼看快痊愈了,于是减了药量,不料又复发了,只好继续治疗,每周去店里复疹。

这段时间,我已经三周没去店里了,因为它看上去已经痊愈了,只是吸取了上次的教训,还在用药巩固,不敢懈怠。今天路过店面,进去看看,被告知,已经好了,只是还要继续用药巩固一段时间。

治灰指甲,不单纯是药力的问题,更重要的是人力的问题,治疗方提供的服务、患者的耐心,都是至关重要的。今年治疗过程中,原本报着试试的心理,但是后来越治越有信心。买药事小,买服务才事大。另外,相对稳定的生活是持续长期治疗的保障。

关于病因:事实上,我几乎是一个有洁癖的人,很不相信会患上灰指甲,今年去这家店里看时才得知,指甲受伤也是得病的原因之一。我想,多半就是这个原因了,因为学校打篮球时,“萝卜”没有少吃。

祈祷:希望不要再复发了。

附:治疗花时约 10 个月,总共费用¥400 左右。

这不是康美尔乐的软文,这是康美尔乐应得的口碑,是我对康美尔乐杭州德胜店的那位服务员的感激。


找到感觉就容易不知不觉

昨晚继续设计Home版首页,做着做着,发觉脚冷了起来,才看见屏幕右下方显示快12点了,赶紧收尾收工。

星期五 阴 4~9℃

友吧 Home 版首页方案升级

今天继续设计 Home 版首页。发给 Flx 看,评价和我自己的评价一致,整体比目前的线上版好很多,看了这个方案,再看线上的,发觉线上的很单调。


删文,“教育”这个词不知不觉已经敏感到很厉害的程度了

自从改变写博风格以来,一直没再接到网监通知。大半年过去了,今天又接到一条,关于 2008-2-20 写的一篇旧文《中国的“畸形人比人教育”》。

没有新帐,那就算旧帐吧。

尊敬的客户:
    您好!
    接到北京公安网监处通知,如下站点中出现的违法信息:http://www.friends8.com/plus/feedback.php?arcID=438
    违法性质:敏感信息

“教育”这个词不知不觉已经敏感到这样的地步了。


The Boys and the Frogs
from http://classics.mit.edu/Aesop/fab.1.1.html#509

Some boys, playing near a pond, saw a number of Frogs in the water and began to pelt them with stones. They killed several of them, when one of the Frogs, lifting his head out of the water, cried out: "Pray stop, my boys: what is sport to you, is death to us."

这件事对你们而言是娱乐,对我们而言却是死亡。

星期四 晴 1~10℃

Flash默认支持的最大元件尺寸

修改元件尺寸时,如果是在属性面板中输入数据,Flash默认支持的最大元件尺寸是:

width:5760px
height:5760px

但是手动拉伸可以不受限制,可以拉到舞台以外。同样的,坐标也一样,可以用鼠标或者键盘移动将元件移动到舞台以外。生成的 SWF 不受影响。


“博友”合并到“读吧”并新增“焦点”栏目

取消“博友”大栏目,原属“博友”的三个子栏目“饭后呓语”“睡在月光下”“站长录”划归到“读吧”下,并新增“焦点”栏目。这样做的理由是:

1、这些文章划归为“读吧”理所当然。
2、更主要的原因:挪出来为接下去的 Home 版“博友”作准备。


The Frogs Asking for a King
from http://classics.mit.edu/Aesop/fab.1.1.html#494

The Frogs, grieved at having no established Ruler, sent ambassadors to Jupiter entreating for a King. Perceiving their simplicity, he cast down a huge log into the lake. The Frogs were terrified at the splash occasioned by its fall and hid themselves in the depths of the pool. But as soon as they realized that the huge log was motionless, they swam again to the top of the water, dismissed their fears, climbed up, and began squatting on it in contempt. After some time they began to think themselves ill-treated in the appointment of so inert a Ruler, and sent a second deputation to Jupiter to pray that he would set over them another sovereign. He then gave them an Eel to govern them. When the Frogs discovered his easy good nature, they sent yet a third time to Jupiter to beg him to choose for them still another King. Jupiter, displeased with all their complaints, sent a Heron, who preyed upon the Frogs day by day till there were none left to croak upon the lake.

既然你们不服管,那么只有让你们的天敌来统治你们了。

第218天:怀旧AS

星期三 阴 2~7℃

怀旧AS,续《怀旧能让人快乐》

昨天记下《怀旧能让人快乐》,从这几天对 AS 的怀旧来看,可以证实这一点。

一年没写 AS 了,上周来了个商家网点地图项目,上午遇到个问题:

<?xml version="1.0" encoding="GBK"?>
<data>
  <pics ShopNum="0"></pics>
  <pics ShopNum="3"></pics>
  <pics ShopNum="62"></pics>
</data>

_root.testNum = 3

在这种情况下,有没有什么方法可以根据 _root.testNum 与 XML 文件中的 ShopNum 对应,来得到 XML 文件中 length 的第 2 条数据?结果发现用这样一个简单的循环就可以了。

关键语句:

//…
tagNum[i] = myXML.childNodes[0].childNodes[i].attributes.ShopNum;
//…
iMax = myXML.firstChild.childNodes;
for (n=0; n<iMax.length; n++) {
  if (tagNum[n] == _root.shopNum) {
    i = n;
  }
}


The Ass and the Mule
from http://classics.mit.edu/Aesop/fab.1.1.html#479

A Muleteer set forth on a journey, driving before him an Ass and a Mule, both well laden. The Ass, as long as he traveled along the plain, carried his load with ease, but when he began to ascend the steep path of the mountain, felt his load to be more than he could bear. He entreated his companion to relieve him of a small portion, that he might carry home the rest; but the Mule paid no attention to the request. The Ass shortly afterwards fell down dead under his burden. Not knowing what else to do in so wild a region, the Muleteer placed upon the Mule the load carried by the Ass in addition to his own, and at the top of all placed the hide of the Ass, after he had skinned him. The Mule, groaning beneath his heavy burden, said to himself: "I am treated according to my deserts. If I had only been willing to assist the Ass a little in his need, I should not now be bearing, together with his burden, himself as well."

帮助别人就是帮助自己

星期二 多云 -1~5℃

怀旧能让人快乐

昨晚在手机报上看到这条消息,今天在网上找到这篇文章

这些记忆起初可能会使人落泪,但最终留下的只有快乐和好心情。

这才发现写日志多了一个好处,可以在晚年的时候坐在轮椅上感受过去的时光,感受快乐。


远期意识是中国人群中最稀缺的素质之一 ( 思考 )

越来越发觉,远期意识是中国人群中最稀缺的素质之一。所以,不断培养和锻炼自己的远期意识,是决定是否能够走向成功的一大要素。


做错事后习惯找借口搬理由的后果 ( 思考 )

毫无疑问,这样的后果就是一次一次犯同样的错。行为习惯,就是性格的直接返照。


上海小吃店一瞥

昨晚下班后到小区里的一家上海老街汤圆小吃店吃水饺。以前在这家店有吃过两三次,店里虽然看起来脏兮兮,但是水饺做得挺好吃。

夫妻老板正在吃饭,我要韭菜馅的,没有。男的于是很麻利的从边上拿了饺子皮,把饭碗往边上推一推,挪出一小块空间来,饺子皮就直接放在饭桌上,只见他嘴里一边咀嚼着,一边就用那双刚才正在吃饭的手包起饺子来。

我说不要了,那女的眼神于是闪出无比怪异的光。听了太多的关于上海人的负面描述,何况这还不是在上海。不知道这对夫妻是不是真的上海人。

走出店门,去了前面的沙县小吃。

回去和女友说了这事,我说以后不要去那家店吃了。女友于是说,难怪那天吃了水饺第二天就拉肚子了,不过吃是挺好吃的。

这家店生意很好。


The Wolf in Sheep’s Clothing
from http://classics.mit.edu/Aesop/fab.1.1.html#470

Once upon a time a Wolf resolved to disguise his appearance in order to secure food more easily. Encased in the skin of a sheep, he pastured with the flock deceiving the shepherd by his costume. In the evening he was shut up by the shepherd in the fold; the gate was closed, and the entrance made thoroughly secure. But the shepherd, returning to the fold during the night to obtain meat for the next day, mistakenly caught up the Wolf instead of a sheep, and killed him instantly.

Harm seek. Harm find.

最危险的地方,不一定是最安全的地方。千算万算,就漏了一算。

第216天:下雪了,啃老族

星期一 小雪转多云 -3~2℃

下雪了

早上起床后到阳台上,看见屋上有薄薄的一层积雪。看来昨晚下的雪粒子不止下了十几分钟。

上班,在公交上快到公司时,看到飘起一些小雪花,不过到办公室后就停了,大概是十来分钟。

天就晴了。


啃老族

昨晚在手机新闻上看到一条关于啃老族的新闻,今天在网上查看详情,搜到了这篇文章:《调查显示中国65%以上家庭存在老养小现象》。越来越有一种忧虑感,中国的繁荣,会是会只是昙花一现?许许多多的现象都表明,我们的许多做法都是牺牲后代的做法,当后代没有东西可以让我们牺牲的时候,我们拿什么去维持这样的繁荣?


The Laborer and the Snake
from http://classics.mit.edu/Aesop/fab.1.1.html#457

A Snake, having made his hole close to the porch of a cottage, inflicted a mortal bite on the Cottager’s infant son. Grieving over his loss, the Father resolved to kill the Snake.

The next day, when it came out of its hole for food, he took up his axe, but by swinging too hastily, missed its head and cut off only the end of its tail. After some time the Cottager, afraid that the Snake would bite him also, endeavored to make peace, and placed some bread and salt in the hole. The Snake, slightly hissing, said: "There can henceforth be no peace between us; for whenever I see you I shall remember the loss of my tail, and whenever you see me you will be thinking of the death of your son."

No one truly forgets injuries in the presence of him who caused the injury.

如果我曾给过你巨大的伤害,那么只要看见我,你就无法真正忘记我曾带给你的伤害。

星期日 小雨 0~8℃

Home版首页框架完成

中午完成了 Home 版首页的框架设计。Home 版首页,是指加入 Home 产品后的 friends8.com 首页。Home 的独立首页尚待设计,心下已有草图。

收工后,下去吃午饭,打电话给 Ryan,告知了这一方案。我说,当我昨天早上洗脸时想到这个方案时,突然不打算再买彩票了。


洗了将近三个小时的衣服

衣架不够用了,房间里到处找,好歹凑合着够用了,阳台上挂得满满,大概有二十来件吧。洗的时候一边哼歌,倒也不觉得太累。戴上那种厚的牛筋手套,手不冷,脚倒是有点冷。

心情好的时候,就要做一些不太快活的事,可以互补。


雪粒子

晚上六点左右出门时,天空下起一粒一粒的雪粒子,打在雨伞上噼啪响。稀稀疏疏,下了十几分钟。