Thursday, November 24, 2011

How do you relax ?

Today is Saturday, I need not go to work, and I’m at home with my son. My wife goes to have an examination certifying software profession a whole day, so only I with my son go out to play at morning and to sleep at afternoon. My son’s affection with I becomes better. I feel very glad.



       I agree with the idea what my leader advised me yesterday, that we should spend some time to talk about something troubling ourselves with one of your friends. I very worry about the troubles around me. Now I much need to relax myself, so I’m going to try to do according to the former idea. I eagerly expect that it can resolve efficiently my problem.

Wednesday, November 23, 2011

Breathless-是你让我无法呼吸


if our love was a fairytale i would charge in and rescue you .on a yacht .baby .we would sail to an island we would say"i do"you don't even  know how special you are. you leave me breathless~ you are everything good in my life. you justwalk out of my dreams,so beautiful. you are leaving me , breathless ~ if ourlove was a story book. we would meet on thevery first page. the last chapter would be about how i thankful for the live we've made
 
如果我们生活在童话般的世界,我会主动拯救我们的爱。乘着快艇,去一个属于我们的岛屿。你不 知道你是如此的特别,让我无法呼吸。你是我生命中的一切美好,像你轻轻从我的梦中走出来,让我无法呼吸~如果我们的爱是一本故事书,希望我们在第一页相 遇。直到最后,写满我对生活的感激,因为此生有你~ 

Thursday, November 17, 2011

开发者应对iOS 5限制本地存储的非官方指南

众所周知,由于 iOS 5 新增的机制,在设备容量空间不足的情况下系统会自动清除高速缓存文件或临时目录的内容,迫使开发者将应用存储的数据最小化。
   在 iOS 5 系统中,那些涉及到离线工作、需要用到本地存储的应用都会有相同的问题。很多的果迷热衷于使用这一类应用,尤其是在那些没有 Wi-Fi 网络的地方(地铁、飞机)。如果某一天你安装了一些很大的应用或者同步了大量的图书、音乐,这时候系统的自动清除机制被激活,随之而来的问题就是,你在地 铁里、飞机上想要打发时间的时候突然发现找不到之前下载好的一些离线数据了。(如果对此还不清楚,可以看看这篇文章。)
苹果设计这个机制的初衷是为了保护好的用户体验,但是现在看来,苹果设计师还没有考虑得万分周全(或者是用户和开发者暂时还不能接受这种“激进”做法)。
  作为开发者,现在要让苹果提供另外一个可以存储离线下载数据的文件夹已经不可能了,但是假如有足够的开发者向苹果表明他们确实需要这样一个文件夹来存储一些数据,我想在将来的版本当中,这种欠妥当情况也许会出现改善。
开发者应对iOS 5限制本地存储的非官方指南

  开发者应该怎么做?

  如果 APP 目前是把文件存储在 Documents 文件夹
  现在它在 iOS 5 中运行是不会有任何问题出现的,只是用户可能会抱怨 iCloud 备份了太多数据,浪费时间和存储空间。
  但是当你的应用下次更新时,很可能会被苹果应用审核团队以在 Documents 文件夹存储太多数据为由拒绝,这绝对会是让你头疼的事情。
  如果 APP 目前已经(或打算)把文件存储在 Caches 目录
  请确保你的应用能漂亮的处理任何存储在 Caches 目录里的文件(被)消失的情况,一种解决这个问题的办法是创建一份应用存储在 Caches 目录里的文件的 URL(统一资源定位符) 列表。
  显然开发者要把这个列表文件存储在一个更持久的不同地方。可以在应用启动时检查一下列表中的文件是否还呆在那里。如果发现有任何文件丢失,可以弹出提示框告知用户这个情况,然后询问是否重新下载。当然如果设备是离线状态,你的任何道歉和解释都将被认为是白痴行为。
  要考虑到实际情况可能更复杂,比如有时候只有部分数据仍然有效,你需要决定怎么和多少提示需要显示。
  迁移现有的数据
   如果你打算更新应用,把数据存储在 Caches 目录里,以适应苹果 iOS 5/iCloud 的新规则,那么你可能会需要把原来存储在 Documents 目录里面的文件迁移到 Caches 目录。可以肯定,Apple 的应用审核团队不会对此进行测试,因为他们不会有你旧版本存储有数据的应用,所以,选择迁移数据可能是个正确的选择。
  记住不要在应用启动时在主线程里面做大量数据迁移的工作,因为这可能会引起“启动时间看门狗”的注意,并被它终结掉。
  提早警告用户
  当应用运行时,你可以经过用户设备存储空间不足,这种警告并不会改变文件被清除的命运,但至少可以让更多的人知道这个问题的存在,从而引起苹果的注意。
  让苹果知道这是个大问题
  向苹果相关人员提交漏洞报告,或者疯狂的在twitter、微博、博客里面抱怨,或者像中国的网店主一样到淘宝公司门口举牌抗议,更可以学习华尔街事件的做法(不建议)。

  用户应该怎么做?

知道现在,存储了大量数据的应用在备份时都是个大麻烦,因为 iTunes 备份进程不得不运行很长一段时间,特别是我们确实有那么多有用的数据需要备份的时候。
  在 iCloud 备份过程中,用户可能不愿意使用免费的 5 GB 标配空间来备份他们认为不重要的数据(当然更不愿意付费购买额外空间),这是用户可以设置关闭某个应用的 iCloud 备份。设置的具体路径在:
iCloud > Storage & Backup > Manage Storage > Backups
根据上面的路径进入设置界面,可以选择 开启/关闭 每个应用的 iCloud 备份,并不是每一个用户都会知道有这么个设置功能,所以可以在程序帮助文档、支持邮件中说明,或者,还是用老办法,弹出一个漂亮的提示框,告知用户这一 切。当然,这好像是苹果应该做的事情。
  最后,想说的是,苹果推出了新机制,大部分总是以用户体验更好为初衷的,但是限制本地存储的新机制或许对部分用户和开发者都存在欠妥的地方,本文只是应对 iOS 5 限制本地存储的非官方指南,希望文中没有提供有害的建议,仅供参考。

本文地址:http://www.williamlong.info/archives/2867.html

Thursday, November 3, 2011

current life and work

     After getting back wuhan i found my life begins more easier, very grateful to Amy and loly "take me in " (SHE songs also pretty good ), so that I need not rush about in hankou and wuchang every morning and evening,where the friend is ,where the heaven is. Now i am start to fight "acne",to beauty shop detox, clean facial , brush medicine... Hope my face will became more smooth soon . the  occupation  of beautician so interested me,it ‘s very useful if i have time to learn it .
        My work  is relativaly smoothly, writing two articles about products every day of the blog, sometimes it is original, sometimes imitate others’, I need to know more entertainment news,stars, and famous brand products, riching my products that will be more attractive. To Work , it is very important to insist,I should Enrich my brain to make more money, and also hope in the shortest  time to get a different level, fighting !
       Psychology is a vain thing,we can't see and touch it , but there are a lot of people are talking about it, "calm" "hold it " ... I am still the calm one , most of the time, is optimistic, occasionally upset, though ,may your life be bright and wonderful!

Tuesday, November 1, 2011

About “Seeking A Man Who Doesn’t Beat woman”

Watching myself still individual helplessly, a pile associated with friends as well as relatives keep worrying about me much. Every i gives advocate on the way to marry the particular “female bachelor-at-arms” and talked about my call for one to another. I genuinely don’MT know. Therefore someone gives me her checkmate-seeking criteria for referenc (Below is the girl original language):
1.       Originates from town leastways
2.       Simply child, using both moms and dads alive
3.       Unmarried
4.       With precisely the same age equally me or even older when compared with me using less as compared with 4 geezerhood
5.       Height beyond 170cm
6.       Weight 'tween 65kg in addition to 80kg
7.       With sheepskin above junior college
8 .       With each side neither too handsome nor too ugly, normal is fine
9.       Along with responsibility and also enterprise
10.   Healthy
11.   Non-smoking, drink vino with more(a) 10 bottles a clip, shoot in order to death
12.   With business firm located at any rate in county courthouse for married couple
13.   Along with sense regarding humor, no poker expression all day long. People who ar weary close to shopping having less in comparison with an hour, shoot for you to death.
14.   Wearing slipper to go outside, long fuzz, no shaven face, clothes as a good uncle, spud to expiry.
15.   Seek lover afterward marriage, that is OK, just must keep the integrity with family, you don't need to use nerve, also must inform three months in advance if needs to divorce!
I will be dumbfounded and do not think about requests in greater detail like the following. I get into’t have so a lot of requests and even don’MT want for you to shoot a lot of men in order to death! Only I was forced to convey, so 1 only bear one call for, seek men who doesn’T beat woman.
    Everyone is within an katzenjammer, one boy stares in me by using eyes wide open, expression in bounteous surprise, “your current request can be so strict! Your request can be so strict!”
   I used to be really self-conscious!!!!!!!!!
   Is a request with seeking men who doesn’MT beat womanhood really really at high point?
   No marvel no i enquire approximately me until now, so earlier it’s really because of the high asking.
   Stop, block, in that case, I won’t look for beating.
   Support alone can also be comfortable, why bother to discover a man to get over you?
   Someone like me can’T survive the actual beating!!!!!!