Posts Mentioning RSS Toggle Comment Threads | Keyboard Shortcuts

  • tin 2:43 am on February 12, 2010 Permalink | Reply  

    Paul Buchheit的一篇博文If your product is Great, it doesn’t need to be Good,写的很好。它的确说明了apple产品之所以成功的一个很重要的原因。产品定义要明确,它不能承载太多目标,有三个就足够了,做到卓越,它是Great的,所以不需要和那些Good的产品相提并论。那些Good的产品经不起时间的考研,而Great的产品可以。

     
  • tin 2:34 am on February 12, 2010 Permalink | Reply
    Tags: , ,   

    和老婆去了一趟谭柘寺,春节前来这里的人并不多。我们两个来这里是为了追求一丝平静。因为过去的一年实在有很多不利的事情发生,心里希望寺庙能够给我们一些好运气。大雄宝殿边有个告示,是告诉大家佛家将“种善因,得善果”,因果报应理论,劝大家多行善。如果是冷眼旁观,我会觉得这是一个心里暗示,告诉你应该做好事,因为会得善报,不应该做坏事,因为会得恶报。这是一个积极的心里暗示。而我从这里也得到了一点平静,因为它让我朴素的感悟到佛教在教化世俗的过程中,它的基本价值观是积极的。我之所以会觉的最近做事很晦气,很大的程度上是因为我对自己进行了过多的消极心里暗示。

    上次在OpenParty的聚会上面好看簿的蚂蚁同学就指出过我的一些说法都是消极心里暗示。

    虽然我不笃信佛教,但是我可以从它的智慧里面得到一些好的暗示。那就是坚持积极的生活态度,谨慎认真的修身养性,以达到自己所希望得到的结果。我在寺庙里面好好的烧了一炷香,然后跪在庄严的大佛面前好好的进行了自我反省,我问自己希望得到的(愿望)是什么,过滤掉自己过多的贪欲,然后问自己达到这些愿望所需要做的是什么。然后,我就知道我应该怎样做的。

    回来的路上,身上轻松了很多。在路上开车心态也平衡了很多,不去斗气,平和的和老婆谈话。感觉健康了很多。努力的做那些积极的事情,期望达成那些积极的愿望。积极的心里暗示,好像“种善因,得善果”。

     
  • tin 1:05 am on February 4, 2010 Permalink | Reply
    Tags: ,   

    最近诸事不利,走背字。昨晚给ipod touch贴膜边角进了灰,很郁闷,只能再网购一个,可是能想起来的最近10次给自己和朋友的电子设备贴膜都没有失败过,偏偏自己的失败了。还好这样不用费心和朋友交代,和自己交代不就是来点积极心里暗示就好了么?

    老婆提议去庙里拜拜。老婆问是香山卧佛寺呢?还是雍和宫呢?还是白云观呢?还是都一样呢?也许诚心想想就好了。

     
  • tin 1:02 am on February 4, 2010 Permalink | Reply
    Tags:   

    在iPod touch 3到来的夜晚,沐浴,和老婆一起打开她的包装,给她贴膜。连上iTunes还魂,很快我的Tin’s iPod又回到了我的身边。又开始一个漫长的旅程。

     
  • tin 3:21 pm on February 2, 2010 Permalink | Reply
    Tags:   

    老婆工作需要要购置2W的单反装备,包括机身、镜头、卡、闪灯。开始犹豫应该上哪一套呢?

     
    • mark 3:31 am on February 3, 2010 Permalink

      无敌兔?L头是不可避免的了。加上flash可能正好差不多。

  • tin 3:20 pm on February 2, 2010 Permalink | Reply
    Tags: , ipod   

    静静的等待我的新iPod touch的到来,它的前辈陪我走了一年半,我非常怀念它。因为有备份,所以新的touch到来后会很快恢复原来的记忆,我觉得它就好像一个会永生的机器人朋友,它可以陪我走啊走,总是可以回到我的身边。我付出的只是它躯体再生的价格。就好像Billy Joy在”Why the future doesn’t need us”里面描述的一样,机器人也许可以很快的走到我们身边,而且它会不知不觉的取代你的位置,这是不可阻挡的。

     
  • tin 5:48 am on January 30, 2010 Permalink | Reply
    Tags: announcement   

    我开始使用diamondtin.com域名,老婆使用zzjane.com域名。因为考虑到消息单一化的问题,我决定还是分开域名。

    以前的zztin.com域名还可以使用(有效期还有1年),不过会被permanent redirect到新的域名上面。

     
  • tin 1:38 am on January 29, 2010 Permalink | Reply
    Tags: mysql   

    不得不抱怨Mysql的权限实在很二。我昨晚搞了半天都没有搞定我的MBP上的古怪问题:

    我在机器上面的mysql在命令行下面用mysql -u root可以直接登上去,但是在django里面设置user = ‘root’, password=”却登不上去,而用有密码的用户可以登上去,告诉我access denied。

    我尝试重置密码,用sql更新总是不管用,而且我发现更新结果实际上就在mysql.user表里面,直接更新表比使用命令还简单。

    幸好 @nicholasdsj 同学指了一下问题,发现因为我的Terminal里面的mysql客户端即使-h登录进去它也默认使用socket连接,但是socket连接忽略了密码……我不知道这是否是我的机器的配置有问题,但是这个古怪的原因造成我使用mysql客户端尝试密码完全失效……实际上总是有密码。最后干脆执行sql清空一下密码:

    update user set Password = '' where User = 'root' and Host = 'localhost';

    而后python连接没有问题了,清净了。可是Terminal里面每次都需要输入-p参数然后回车进去了。

     
  • tin 1:56 pm on January 14, 2010 Permalink | Reply
    Tags: ,   

    原来adb shell到G1里面即使su了也不具有对system的读写权限,需要:

    mount -o rw,remount -t yaffs2 /dev/block/mtdblock3 /system

     
  • tin 2:32 am on January 13, 2010 Permalink | Reply
    Tags: php   

    - I really don’t like programming. I built this tool to program less so that I could just reuse code.
    - PHP is about as exciting as your toothbrush. You use it every day, it does the job, it is a simple tool, so what? Who would want to read about toothbrushes?
    - I was really, really bad at writing parsers. I still am really bad at writing parsers.
    - We have things like protected properties. We have abstract methods. We have all this stuff that your – - computer science teacher told you you should be using. I don’t care about this crap at all.
    - There are people who actually like programming. I don’t understand why they like programming.
    - I’m not a real programmer. I throw together things until it works then I move on. The real programmers will say “yeah it works but you’re leaking memory everywhere. perhaps we should fix that.” I’ll just restart apache every 10 requests.
    - I do care about memory leaks but I still don’t find programming enjoyable.
    这里

     
c
compose new post
j
next post/next comment
k
previous post/previous comment
r
reply
e
edit
o
show/hide comments
t
go to top
l
go to login
h
show/hide help
esc
cancel