星期六 多云 18~24℃
关于三十而立 ( 思考 )
昨晚听于丹《论语》心得的最后一集《人生之道》,其中第一条就是于丹对“三十而立”的理解。
今天绝大多数人对这句话的理解只存于表面,所谓的“三十而立”,就是在三十岁的时候要有车有房,没有的话,那就是没有立。于丹则认为,这里的“立”,是一种内心的立,是在内心建立起的一种沉着的自信之立。
事实上,许多人这一辈子也没有真正达到“而立”之年,更不用说后面的“四十而不惑”“五十而知天命”“六十而耳顺”“七十而从心所欲不逾矩”。这里的三十,四十,五十,六十,七十,讲的其实是心灵的年龄,而并非仅仅是外在的年龄。
穿长袖了
前天晚上躺在竹席上吹着风扇,背部还有些出汗,当天最高气温32℃。下半夜忽觉凉意四侵,窗外有雨声。
昨天早上出门,以及下午下班回家,均觉秋风逼人。当天最高气温26℃,一天内下降6℃。
今天最高气温24℃。早上出门穿长袖了。
换季温差大,需防感冒。日常生活中,一些很浅的道理,往往很容易被忽视。
关于平滑loading
昨天录入 变形金刚:闪电出击 ( Blast Attack ) 时,看到 loading 比较平滑,有些好奇。不过提取出来后,没有发觉特别,用的也是帧率。平滑的原因是文件大,所以显得平滑。
this.onEnterFrame = function ()
{
var _loc2 = this.getBytesLoaded() / this.getBytesTotal();
if (_loc2 < 1)
{
this.mcLoader.mcLoadBar._xscale = _loc2 * 100;
}
else
{
this.gotoAndStop("Title");
delete this.onEnterFrame;
} // end else if
};
stop ();
去年和 灰昼 在 68 论坛 提起过平滑 loading,不过当时没有深入下去。
友吧首页“最新分享”滚动列表添加“查看所有”按钮
下午添加了“查看所有”的“显示/隐藏”切换,在滚动列表的右端。
滚动列表,一方面是节省空间,另一方面是吸引目光,而“查看所有”则可为用户节省浏览时间。
New Shoes
from http://www.storyarts.org/library/nutshell/stories/newshoes.html
A Taoist Tale from China by Han Fei
A man needed a new pair of shoes. Before he went to the marketplace, he drew a detailed picture of his feet on a piece of paper, carefully measured them, and wrote down all their dimensions. Then, he set off on foot for the shoe store. Arriving later that day at the bazaar, he unhappily discovered that he had forgotten to bring the paper with his measurements on it! He turned around and walked back home to get it. It was sunset by the time he returned to the market,. and all the shops were closed. He explained his situation to one of the shopkeepers who had already packed away all his wares.
"Foolish man!" said the merchant. "You could have trusted your feet and tried the shoes on in the store! Why did you go home to get your diagrams?"
The man blushed, "I guess I trusted my measurements more . . ."
发表评论