Sort Your Brain Out

大脑大搜查

大脑的优化技巧

  1. 水——每天第一件事就是为你的大脑补充水分
  2. 运动——大脑健康的关键(也是维持神智的关键)
  3. 压力——控制皮质醇来管理压力
  4. 阳光——沐浴阳光,稳定情绪
  5. 咖啡因——在很多方面都对大脑有益,但要适可而止

The pain of Jinja2

There are many reasons to choose a generally better solution, but there is only one reason you don’t do that, which is it’s not suitable for your problem domain.
Who said that? Well, it’s me. LOL

The Way of Django

As a software architect, compared to software developer, I face more choices and challenges every day when constructing software systems. There’s no silver bullet in software development as told by Fred Brooks, but there’s always a better way to build software considering cost and productivity, and the last but the most important factor for modern software development: being happy programmers.

Construction Method Reading Notes

我读《构建之法》

以前读过邹欣老师的几篇博客,觉得还是有些受用。这次看到邹欣老师出书,就赶热闹买了一本,看看软件从业者眼中的现代软件工程是什么样子。这本书我看的比较快,也没做笔记,今天有点时间,就把我认为比较有意思的一些点总结一下,对自己算是个交代。

Hexo 3.0 on Mac

爱折腾就得花时间,Hexo是个好东西,但一到环境切换上就不让人省心了。花了多半天,总算切到MBP上了,不算顺利,有些小坑,记录一下。

HTTP Status 406

用Spring MVC 4.0写一个REST服务,实验的过程中碰到了406错误,具体错误消息如下,

The resource identified by this request is only capable of generating responses with characteristics not acceptable according to the request “accept” headers.

Vagrant Tips

听说Vagrant管理虚拟机不错,研究了一下Vagrant和Docker的区别,决定安装Vagrant,中间遇到了两个问题,分享如下。