Eli's Notes

lifelong learning


  • 首页

  • 归档

  • 标签

  • 搜索

英语学习计划

发表于 2016-05-16 |

学习英语主要目标是理解和表达。

理解,可分为听力和阅读

  1. 听力: 发音,词汇量,语法
  2. 阅读: 词汇量,语法

表达,可分为口语和写作

  1. 说:发音,词汇量,语法
  2. 写:写作结构, 常用连接词,词汇量,语法

详细介绍每部分相关的内容:

发音

  1. 元音辅音, 读准每一个音很基本也很重要。
  2. Intonation 语调
  3. Linking 连读
  4. Word stress 单词重读

词汇

  1. 词汇分为阅读词汇,写作词汇,听力词汇和口语词汇
  2. 写作要求使用Academic词汇
  3. 每天五个单词,一周可以学30+
  4. 学习单词,要造句,复习单词同样要造句, 造句要体现单词的意思
  5. 阅读是被动提高词汇量,而写作是主动的,能在写作或者口语中正确使用的单词,才算真正理解。

语法

  1. 语法很重要,熟悉常用的语法结构,并灵活运用
  2. 学好语法就可以专注发音和用词的选择
  3. 在写作上语法的灵活变化很重要

具体练习方法:

  1. 流利说APP:纠正发音
  2. 听写(沪江听力酷):增加听力词汇量
  3. 复读并录音:纠正发音,提高听力
  4. 阅读英文原版书:提高阅读词汇量,并熟悉常用描述方法。
  5. 写作练习:提高写作词汇,常用写作技巧
  6. Think in English: 提高表达能力。

川藏线

发表于 2016-05-15 | 分类于 travel |

不知不觉已经完成了川藏线将近一个月的时间,一路走来,有风雨,有快乐,也有些许感悟,更重要的是大量的漂亮的照片。
所有的照片 都已经分享在百度云。

meet a dog


西藏界



风景1
风景2

塌方




然乌湖



然乌湖
然乌湖

休息




路标



爬山
祈福

Rpc retails

发表于 2015-07-20 |

todo

Server performance monitoring

发表于 2015-07-18 |

todo

Why you should start a blog?

发表于 2015-07-17 |

“Fill you paper with the breathings of your heart.”
—William Wordsworth

Generally, Blogging will change you in two sides: inside and outside.
First, take a look at the inside change.

  1. You will be a good writer. At its core, writing is communcation. it is about recoreding thoughts on paper. it will impore with practise. Blogging will not force
    you to become a better writer, it will happen as you do it. And becoming a better writer holds important benefits for the rest of your life–whether you are creating a book, a presentation, a resume, or an anniversary card for your spouse.

  2. You will develop an eye for meaningful things. it is simply not possible to write about every thing in your life. Instead, blogging is is a never ending progress of choosing to articulate the most meaningful events and the most important thoughts. then, you automaticly focus the meaningful things and live a meaningful life.

  3. You will be a better thinker. the blogging process enourages you to think deeper. Once you start writing about your life and the thoughts that shape it, you’ll begin thinking more intentionally about who you are and who you are becoming.

  4. It will lead to healthier life habits. Blogging requires time, devotion, commitment, and discipline. those are good things to embrace.

Then, the outside change.

  1. Connect people like you. Blogging brings like-minded people together. Starting a blog can help you find those people and share your opinions and thoughts or books and songs.

  2. To Market yourself.Blogging is a great way to help market or promote yourself. Blogs are wonderfull tools to help you establish yourselves as experts in a field or topic. Blogging can help legitimize your expertise and expand your online presence and platform. You can show what you have done as a prove.

Reference:

  1. 15 Reasons I Think You Should Blog
  2. Top 10 reasons to blog

Closures Details

发表于 2015-07-16 |
  1. Define
    a closure is a data structure storing a function together with an environment: a mapping associating each free variable of the function with the value or storage location the name was bound to at the time the closure was created.
    A closure—unlike a plain function—allows the function to access those captured variables through the closure’s reference to them, even when the function is invoked outside their scope.
    The use of closures is associated with languages where functions are first-class objects.
  1. Applications
    • Function factories, create functions with args.
    • Emulating private methods with closures
  1. Some examples in python, scheme and golang:
1
2
3
4
5
6
7
# python
def makeInc(x):
def inc(y):
# x is "closed" in the definition of inc
return y + x
return inc
1
; scheme later
1
2
3
4
5
6
7
8
9
// golang
func intSeq() func() int {
i := 0
return func() int {
i += 1
return i
}
}

pomelo source analysis

发表于 2015-06-30 |

As a matter of fact, we can gain lots of benefits from reading source code, so I start to read a game framwork.
Pomelo is a fast, scalable game server framework for node.js. I choose it for several reasons.

  1. open source code, hosted in Github.
  2. contains all the features of game server, and fully documented.
  3. help me to get know node.js.
  4. similar to my project in work.

Main features

  • framework
  • connection: rpc, protocal

game robot

发表于 2015-06-30 |

load test for game server. source code has been hosted on Github.

Main features

  1. client basic feature: connect, logic injection
  2. client manager, multi client
  3. statistics

Process


first, fork the boom.

then, modify the code for game server test.

  1. add the client with raw socket;
  2. add base features for game server:register/login;
  3. add logic injection;

Simple record about building the blog

发表于 2015-06-24 |
  1. check the Lanyon project.
  2. change the title, content to make it looks like a blog.
  3. add a tag cloud.
  4. add a post preview.
  5. add tag to post title.
1…56
Eli Wang

Eli Wang

59 日志
3 分类
22 标签
GitHub 豆瓣
© 2015 - 2018 Eli Wang
由 Hexo 强力驱动
主题 - NexT.Pisces