hongy19’s blog

2015 Summary


对我而言,2015年是具有特殊意义的一年。工作和生活都发生了巨大的变化。

家庭

2015年基本是围绕了小家伙而展开家庭建设的。杨金锭同学占据我几乎所有的业余时间,这一年只和老婆偷偷出去约会过两次。随着小家伙的成长,她开始有了自己的主意,开始了叛逆期和察言观色。2016年的重点是学习幼儿心理学,协调家庭成员在孩子教育上的认知。

编程

从2014年就开始接触Python3和Flask。之后一直想把pymoney和pyblog迁移到Python3和Flask上。这个愿望终于在2015年下半年成为现实。重构后的代码变得更加简洁,并开始尝试函数式编程风格。一些不常用的功能,比如Google blog update,从代码中移除。

Haskell进展不大,主要是读了一些入门书籍,但练手写code的机会很少。

读书

这一年读书不多:英文版的战争与和平只读了四分之一,a brief history of human being也只读了一半。主要原因还是微博微信占用了太多的时间。阅读英文书籍需要较长的阅读时间以及放松的大脑。而上下班及看娃间隙就不太适合阅读这类书籍了。

社交网络 blog

微信和微博还是上下班间隙的主要阅读渠道。希望今年能戒除在班车上看微信和微博的习惯,这样对眼睛实在是不好。

Blog更新频率很低,主要还是缺乏一个能在手机上随时更新的工具。

工作

工作也发生了不小的变化,希望自己能在新的一年把新的工作最好。更为重要的是,如何保持工作竞争力,以及如何在大公司中不变成一个“废人”。

Read more ⟶

"can't open file" for downloaded APK


I just got a new Nexus 5X phone and want to install shadowsocks. But I always met “can’t open file” mistake from naive Android download manager when I downloaded apk from my own http server. Finally I found it is a download manager bug (link) and could be fixed by update mime configuration file from sever side (link)

Read more ⟶

ens, new name for internet interface


I lost ip for my VPS after reboot when systemd update from 225 -> 226. I noticed a wired thing is eth0 -> ens3. According to this link, ens is better new name strategy. So I decided to follow this rule. The configuration file of netctl and iptables are updated (all eth0 -> ens3).

Another thing is I found systemd-networkd could be used for statis IP instead of netctl for my VPS. So I uninstall netctl and switch to systemd-networkd.

Read more ⟶