Sunday, January 20, 2013

2013 is my time to grow

2013年已经开始快一个月了。因为各种各样的事情一直没有时间或者说是懒得整理一下去年发生的事情和对新的一年的期望。这个周末闲得实在无聊, 所以正好利用这个时间写写吧。

其实过去的我从来不写什么New Year Resolution之类的, 觉得自己是一个知道自己该做什么的人, 更觉得就算很多东西写出来想要不去做的话也不会怎么样。但自从去年写了一点之后到年末还是有努力地去争取达到的, 比如很幸运的在年底的时候让自己StackOverflow的分数达到了超过1000分。会看去年给自己写下来的东西, 有很多还是挺又提醒的价值的。所以今年也是一样, 给自己定一个基本的计划, 偶尔回来看看, 也算是提醒自己吧。

2012年我都做了什么....

1. 开始了KW8 Project, 从写下第一行code到现在已经超过一年了吧。到目前为止还不是那么成功, 但我应该永远不会忘记这个Project。因为这是我的第一个Project。现在回头看起来, 其实自己成长了很多, 从最开始不知道怎么写规范的code, 不知道怎么使用jQuery Deferred, 到现在基本上驾轻就熟。虽然很多decision call还是做得不够好, 有时候不知道该怎么选择, 但总的来说还是有进步的。更多的进步应该在2013年到来, 但这不属于这个部分。
2. 减了不少肉。
3. 来来回回飞了好多趟, 有过很多争吵, 没有未解决真正的问题付出太多的努力。也不知道该怎么努力地去改变现状。有些迷茫。但随着她的努力开始收效, 一切或许会更加清晰吧。
4. 她考过了CKE, SOA和UFE。我认为这是了不起的成就, 一次就过。希望这能给她带来一些好运。
5. 读了几本英文书。"Javascript the Good Parts", "Javascript Design Pattern" 和 "Crack the Coding Interview"。
6. 爷爷病了
7. StackOverflow达到了1000分, 但还是没有开始在GitHub上做什么事情
8. 有过几个想法, 但是最后都被别人实现了, 比如遥控插座, 云粘贴插件, KCR插件。
9. 给了爸爸妈妈一些钱, 这是我人生第一次给他们这么多钱, 但其实可以给得更多。

总的来说, 2012年不算是太成功的一年对于我自己来说, 虽然很感激得到的成长的机会。但是还是觉得很多事情可以做得更好。这些事情就让自己在2013年去努力吧。

在新的一年里,
1. 继续努力地工作, 争取在年内把SDE2和移民的事情解决了。对于我来说, 这是很重要的两件事情。
2. 继续努力地寻找和她生活的焦点,为我们的以后做一些准备。
3. 变得更加Social一点, 如今的生活状况还是太自我, 没有更好的融入那个环境中。
4. 心胸宽广一些, 多一点帮助别人。
5. 在工作和与人相处中, 多些思考策略, 不要只是一味地傻干。尽管傻干可以涨很多经验, 但还是得相对聪明点。不应有害人之心, 但也不能因为不主动而被disadvantage了。
6. 继续减肥, 多吃蔬菜, 让自己的体重保持在110-120斤的范畴比较好
7. 运动, 每周尽量达到运动超过1个小时的Gym或者更多的运动, 能打球就去打球, 在家要做俯卧撑和仰卧起坐。
8. StackOverflow要达到2000分, 有机会的话要在GitHub上做点事情。
9. 如果时间允许的话, 还是学着搭建一个自己的网站。
10. 多读一些书, 无论英文的还是中文的, 把时间花在看电影上和刷微博上还不如多看点书, 还保护眼睛呢。
11. 找机会多点陪她。
12. 有机会的话也多点陪家里人。让妈妈多点休息, 让爸爸早点戒烟。

暂时也就只能想到这么多, 以后想到再添加吧。

今年是本命年, 希望一切都好。上天保佑我爱的人, 如果非要让我受点磨难, 就让我来承受, 不要伤害我爱的他们。

Friday, September 7, 2012

Worst time in my life so far

我觉得我正在经历的是我有生以来最迷茫的时刻 因为家人 因为爱情 因为工作... 我找不到一个好的办法... 我找不到一个完美的答案... 我不知道怎么做才能让一切变好变正确... 唉... 我在做些什么...

Sunday, August 12, 2012

Nice post about "this" in JS

http://dailyjs.com/2012/06/18/js101-this/

Best part of the post:

When working with this, remember the following rules:
  • It’s set based on how a function is called: new MyConstructor ormyObject.method() will refer to an instance, while this inside a function refers to the global context
  • Strict mode causes this to evaluate to undefined instead of the global context inside functions
  • this can be referenced by a variable, and self is the conventionally used name

Thursday, August 2, 2012

Chrome Inline Installation Error - Verified Site

Google Chrome released their latest upgrade, Chrome 21, to users yesterday. This is a big change Chrome and Chrome Developers because starting from this version, Google Chrome will stop supported Hosted Chrome Applications. The solution for the problem is to use Inline Installation.


When try to upgrade my application to use Inline Installation, I encountered the following error message in Developer Console.


Installs can only be initiated by the Chrome Web Store item's verified site.


If you are seeing the same problem, check a few things. 

  1. Check whether your application is being verified in Chrome Webmaster Tool.
  2. If no, verify your site on Chrome Webmaster Tool. The process is easy and the instructions are easy to understand. 
  3. If yes, make sure the site that you also verified the non-SSL version of your site (http:// instead of https://) (I believe this is a Chrome Bug)
  4. After you verified the non-SSL version of your site, go to the Chrome Developer Dashboard and change the verified URL of your app to the non-SSL URL.
I learned this from this post here. Many thanks to Abraham Williams's answer.




Sunday, July 29, 2012

More things that I want to do

Just adding a few more things that I want to do.
  1. Finish reading "Javascript Design Pattern"
  2. Start to taking note about the stuff that I have been working on. So that I can keep track of what I have done and learned as time passes by.
  3. Maybe learn to build my own site. Not on blogger, but to have my own domain name and my place to post what I wanna do and what I learned.

Saturday, April 7, 2012

Firefox tooltip doesn't show

If you use tooltip in your code by assigning strings to the title attribute, then you might ran into the problem that your tooltip doesn't show up in Firefox. There can be several reasons for this to happen, but one of the easily-ignored cause is you didn't let the mousemove event to go through. So, let the mousemove event to propagate may resolve your problem. Give a try!

Tuesday, February 28, 2012

靠自己

大多数当你遇到苦难的时候 跟别人说都没有用 除了靠你自己做得更好 别无他法 你要知道 如果你做得足够好了 那你就没有那么多的困难 如果你一切都尽力了 那上天也会帮助你 今天你所遇到的困难是命运给你的提示和挑战 顶过去 一切都会好的

你过去有过那种开头很难的经历 你硬着头皮也顶过来 所以如今也是一样 熬一下就过去了 昂首挺胸地过去 低着头蔑视现在的一切