今天,奶奶要洗衣服,笑笑到处找衣服,从箱子里拿衣服要洗,奶奶说这是干净的不用洗。
笑笑实在找不到衣服了,不过这也难不倒笑笑。笑笑把尿尿在裤子上了,然后说"尿裤子了,要洗"。。。
今天,奶奶要洗衣服,笑笑到处找衣服,从箱子里拿衣服要洗,奶奶说这是干净的不用洗。
笑笑实在找不到衣服了,不过这也难不倒笑笑。笑笑把尿尿在裤子上了,然后说"尿裤子了,要洗"。。。
妈妈在澳洲,和爸爸用MSN聊天,笑笑过来,也让她和妈妈发些表情图片,传情动漫啥的。
基本上很多都发过了,也不想让笑笑太长时间呆在计算机前面,于是爸爸就说剩下来这些"要花钱的",。。。
笑笑转身就跑开了,爸爸真得意。笑笑咚咚咚又回来了,还带来了爸爸的钱包,然后打开,拿出了100大元,说:’拿钱玩。。。"
爸爸在广州,妈妈在澳洲,笑笑在兴化,因此爸爸妈妈老用QQ视频看笑笑。
昨天爸爸先打电话回去的,爷爷让笑笑接电话,笑笑不肯接,说"网上网上",真是与时俱进的新时代儿童啊…
笑笑最喜欢在QQ上贴图,把这个叫做"小贴贴",还真形象,大人可真没这样的想象力。
一些基本概念,摘自http://www.hypothetic.org/docs/msn/notification/get_details.php
Forward List (FL)
The forward list, abbreviated as FL, is the list of principals whose presence you are subscribed to. You can expect to be notified about their on-line state, phone numbers, etc. This is what a layman would call their “contact list”.
This list currently (as of March 23, 2003), has a limit of 150 people, doubled from a previous 75. If you try to add a 151st person, you will receive error 210 and they will not be added.
Everyone in your forward list belongs to one or more groups, identified by their group number. By default, they belong to group 0.
Reverse List (RL)
The reverse list, abbreviated as RL, is the list of principals that have you on their forward list. You cannot make modifications to it. If you attempt to add or remove people from this list, you will be immediately disconnected from the NS with no error message.
Allow List (AL)
The allow list, abbreviated as AL, is the list of principals that you allow to see your online presence – as opposed to your reverse list, which is the list of people who request to see your online presence. If someone removes you from his or her contact list, he or she is automatically removed from your RL but not your AL. He or she no longer receives online presence from you, but if he or she adds you again, your client can act in the knowledge that you previously allowed him or her to see your presence.
Block List (BL)
The block list, abbreviated as BL, is the list of people that are blocked from seeing your online presence. They will never receive your status, and when they try to invite you to a switchboard session, they will be notified that you are offline. No-one can be on the AL and the BL at the same time, and if you try to add someone to both lists, you will receive error 219.
用Miranda, MSN, 还有自己的程序做了些实验,基本上搞清楚了:
原来主要的问题是,MSN里面删除帐号的时候,并不从AL里面删除,这就导致了再次加好友的时候,好友帐号不会再次得到“被加为好友”信息
原来笑笑是11,12点才睡,从澳洲回来,基本8点就睡了,挺正常,感觉也挺好。可一个月过去,睡觉时间更提前了,6点吃完晚饭,有时候就开始打哈欠。今天6:30爸爸打回去电话,爷爷说笑笑已经睡下了。说每天早上5点就醒,有几天4点就醒了,醒了就折腾。这和爷爷奶奶刚呆了一个多月,怎么越睡越早呢?这样折腾也不行啊,4点起来爷爷奶奶也受不了啊,还得想想办法。。。
前两天天笑笑在电视前面,电视没开,里面有笑笑的影子,笑笑说:"笑笑上电视了",然后就又跳又唱的
又有一次,看到电视里时装表演,笑笑说"我也来吧",也扭起屁股来
下午看了《每当变幻时(Hooked on You)》, 没来由的感动了半天。特别是杨千嬅最后的一笑,是卸去重负吗?是明白一切都是过程的顿悟吗?
也许这片子的原名《阿妙的十年》,陈奕迅也正好唱过一首《十年》,想想自己的生活也又是十年。
十年前在水木清华写下《昨日情怀》,纪念那入学后的十年,那时候是否也是一种卸去重负,期待未来的微笑呢?后来被大学同学看到,猜到那是我写的,今年年初聚会时提到了,说,又是十年了,是不是再写点什么啊。是啊,又是十年了。我也想再回忆回忆,反省一下这十年,但大概是没有这样的时间和激情了。
就用陈奕迅的《十年》表达一下思绪吧,虽然我的十年并不完全这样:
如果那两个字没有颤抖
我不会发现 我难受
怎么说出口 也不过是分手
如果对于明天没有要求
牵牵手就像旅游
成千上万个门口 总有一个人要先走
怀抱既然不能逗留
何不在离开的时候
一边享受 一边泪流
十年之前
我不认识你 你不属于我
我们还是一样 陪在一个陌生人左右
走过渐渐熟悉的街头
十年之后
我们是朋友 还可以问候
只是那种温柔 再也找不到拥抱的理由
情人最后难免沦为朋友
直到和你做了多年朋友
才明白我的眼泪
不是为你而流 也为别人而流
========================================
还有,阿妙的十年 —- MISS
连续碰到两次和locale相关的问题,一次是ifstream, 一次是boost::format, 做了些实验记录下来:
1. ifstream 的文件名参数其实可以接受char *, 也可以接受wchar_t * 作为参数,如果接受char * 的话,实际上内部也是转换成为wchar_t *,但转换的时候问题就来了,如果此文件名里面有汉字,vc2005就转换不对,这样就打不开文件了。在vc2005中,一开始程序的缺省locale是”C”, 也就是std::locale::classic()返回的,但这个locale下,汉字转换是不正确的,所以,要先用 std::locale::global(std::locale(“”))这样的语句将locale设到系统缺省的。实际上std::locale::global(std::locale(“.936”)) 也是一样的。936就是简体中文的codepage(代码页)。 此时用 locale.name() 打印出来的locale名称为: “Chinese_People’s Republic of China.936”
2. 但是一旦locale变为936了,cout 输出中文就又会有问题,碰到中文就会断掉,而且后面的东西再也显示不出来。这可以通过在ifstream打开文件之后,用std::locale::global(std::locale(“C”))再设回缺省locale来解决。
3. locale设为936的另一个问题是,boost::format 中 如果输出数字的话,1234会变成1, 234. 这个问题也可以用上面的方法来解决。另外一个方法是可以用format的第二个参数来做,例如std::locale::classic() 或者std::locale(“C”);
4. 网上说流输出时候也会将1234变为 1,234,但我直接实验cout << 1234 好像没有问题。看到说碰到这种情况,需要用a.imbue(std::locale("C"))。 5. 如果ifstream直接用wchar_t *的文件名参数,就很简单了,由于不更改locale就可以打开文件,后面的cout输出汉字也没有问题,boost::format也没有问题。所以竭力推荐这种方法 🙂