about

I’m glad you found me. My name is xing zhou and I am a developer

blog

inspired by an old gentle man

With a single bamboo dish of rice, a single gourd dish of drink, and living in his mean narrow lane, while others could not have endured the distress, he did not allow his joy to be affected by it. - 《Confucian Analects》This is one of th...

实用英语词组总结

give it a shot: 这是一个非常常用的口语,意思是“试试吧”, eg. let's give it a shotbear in mind: 表达时可以用bear sth in mind(记住某事),或者bear in mind that balabalashot to fame: 一举成名、一炮走红online celeberity: 我们常用celeberity来表示明星一类的人物,那么网红就是online celeberityBy contrast: 相...

Long Live Pricing

When I was in a project in BeiJing last year(2016), I expressed my burning desire for a ruby based project, then on a sunny day in May I got a call from BeiJing office resource manager, I was told there is a ruby project in Xi'an, it wil...

实用英语词组总结(二)

1. in a matter of : 大约只不过在…之内;eg. That school was sorted out in a matter of two months. 那所学校仅用了两个月的时间就整顿好了.2. be bound up with : 与…有密切关系;eg. Why should happiness be bound up with the presence and movement of water? 对于两夫妻双方睡眠的冲突似乎跟生物因素及不同...

实用英语词组总结(三)

1. early on : 在早期; 前一阵子;2. up front : 预先,在最前面;3. in one case : 有一次;有一个例子;4. all too often : 时常,经常是;5. in fits and starts : 一阵一阵地;eg. Because of other commitments I can only write my book in fits and starts. 因为我有其他的事要做,所以这本书只能时写时辍.6. get ...

clean up rails view

个别同学可能看到这个标题就已经开始喷我了,“大哥,这都啥年代了,前后端都分离了,你还扯 Rails 的 View 干啥”?这里的 View 不只是渲染 HTML,还包括提供API,不管是渲染页面还是提供API,Rails 的 View 很容易变得庞大臃肿,逻辑乱飞,大多数 Rails 程序员喜欢这么做:1. 逻辑都放到 controller2. 逻辑都放到 helper3. 瘦 controller 胖 model,把逻辑尽可能都放到 model 上第一种做法的缺点显而...

Concerns in Rails

自从 Rails4 开始,初始化项目时会默认在 controller 和 model 目录下生成 concerns 文件夹,concern 是一个有用且强大的概念,它可以减少我们的重复代码,让程序变得合理易维护,直接来看一个例子:# app/models/post.rb
 class Post < ActiveRecord::Base
   has_many :comments, as: :commentable
 
   def ...

实用英语词组总结(四)

1. detail aside : 细节不谈2. hail from : 来自3. up-front : 预先的;坦率的4. clear-cut : 清晰的;轮廓鲜明的5. out of nowhere : 不知打哪儿来;突然冒出来;莫名其妙的出现6. poker face : 一本正经的面容;面无表情的人7. work my ass off : 拼命工作8. take it up a notch : 更上一层楼9. something was off : 有点不对劲1...

鼓励打鸡汤短语合集

Hang in there.我们可以用“hang in there”这个词组鼓励别人在困难的环境中坚持下去。明天就要考试了,大家一定要hang in there。考研的同学也要坚持住啊。It's almost done. Hang in there. 就快结束了。坚持住。on the right trackon the right track表示“走在正确的道路上”。学习英语的正确道路就是每天背单词,相信只要走在正确的道路上就能通过考试。I believe I'm on...

这些年收到的feedback(一)

2015一.来源于客户我在哪些方面做的还不错? (what did I do well...)在Ruby编程方面很不错,是组里其他成员学习的榜样。本职工作方面做的很不错,能非常好的完成布置给你的任务。在团队建设,客户关系维护方面做的不错,是个非常好的team member,团队的润滑剂。赏析:因为之前做了近两年的Ruby,积累了很多的代码量,来到这个项目干活比较效率,很遗憾的是现在忘得差不多了(囧);年轻活泼偶尔搞搞笑,增加一下气氛也挺好的,嗯,这一点我同意。我在哪些方...

contact

want to talk something or join Thoughtworks, send email to Edward_mjz@hotmail.com