Sursc = lupin + hacker

关于接单

| Comments

关系再好也一定要做好需求分析,要有详细的文档。

| Comments

工作两年半了,从没像最近这么忙过。
10点半前回家算少见的,还在公司通宵过两次。
周末难得休息两天就觉得很幸福了。

接下来一个月会更忙碌。今天开会老大说:“大家忙碌了快一年了,不要在最后阶段掉链子。接下来3周周末就不休息了,大家一起努力把内测版给好好发出来,可以安心过个好年。“

WTF!

操作系统学习笔记(2)

| Comments

Since a virtual address is encoded by such a word, the most important system parameter determined by the word size is the maximum size of the virtual address space.

32位系统最大支持内存是4G。
230 = 1GB
232 = 4GB

那么64位能支持多少呢?

240 = 1TB
250 = 1PB
260 = 1EB
264 = 16EB
我擦好吓人~ 没想到有这么多~

操作系统学习笔记(1)

| Comments

The memory system

L0 : registers
L1 : on-chip L1 cache (SRAM)
L2 : off-chip L2 cache (SRAM)
L3 : main memory (DRAM)
L4 : local secondary storage (local disk)
L5 : remote secondary storage (distributed file systems, Web servers)

from top to botton, Larger,slower, and cheaper storage devices
register file is a cache for the L1 cache, which is a cache for the L2 cache, which is a cache for the main memory, whici is a cache for the disk.

The Operating System Manages The Hardware

Processes

A process is the operating system’s abstraction for a running program.

CF vs NS

| Comments

参考 http://stackoverflow.com/questions/9353804/cf-objects-vs-ns-objects

1.不是所有的CF类有等价的NS类,反之亦然。
2.有相同名称的类不一定做相同的事。
3.尽量用NS。底层框架不支持NS,或性能要求高的部分用CF。

2013新年许愿

| Comments

按照惯例每年三个

我的

  1. 收入达到预期
  2. 技术提高
  3. 买新手机,不丢手机

老婆的

  1. 读完100本
  2. 实习顺利
  3. 爸妈跟老公身体健康开开心心的度过一年

Shell 学习笔记(1)

| Comments

若一条命令被设置过别名,你又想执行原始版本,则需要在命令前加上反斜杠

例如:
alias ls=”ls -l”
ls /usr/bin 等于 ls -l /usr/bin
\ls /usr/bin 等于 ls /usr/bin

sudo !!

以root的身份执行上一条命令 。

IOS学习笔记

| Comments

@class

告诉编译器有这样一个类,不会引入类的内容,节省时间。
- 1. 需要用到这个类名,但不需要类的成员或方法时尽量用@class,否则需要用#import
- 2. 两个类相互引用引起死锁时,要使用@class

英语学习笔记(1)

| Comments

  1. He paid upfront.
  2. I got a new gig.
  3. I’m still on the fence.
  4. I’m on a tight budget.
  5. She’s the breadwinner.
  6. It was Bettle’s rip-off.
  7. My computer crashed.
  8. We had a working lunch.
  9. I felt very out of place.
  10. It was just passing fad.
  11. I have some reservations.(我保留意见)
  12. Actually, I am between jobs. (I’m unemployed.)
  13. We need to meet halfway. (妥协,compromise)
  14. Please keep me informed.
  15. Don’t be such a know-it-all.(自以为无所不知的人)
  16. You are behind on your rent.(behind=late)
  17. His Optimism is contagious.(他的乐观情绪有传染性的)
  18. He maxed out his credit card.(超过信用额度credit line)
  19. The company went belly up.(倒闭)
  20. You are better off not doing it.(更好)