共 14 篇文章
英语里那些"哑巴"字母
学英语时,你可能发现过一件奇怪的事:knife 里的 k 不发音,lamb 里的 b 不发音,write 里的 w 不发音……拼写与发音之间存在一条奇怪的鸿沟。英语里大约 60% 的单词都有不发音的字母,这在主要语言里算是相当高的比例了。这是为什么?
本周阅读清单 20191130
Uber 的 Go 指导规范
https://github.com/uber-go/guide/blob/master/style.md使用 JWT 保证服务间通信的安全
https://abekthink.github.io/backend/json-web-token/MySQL 查询对大小写不敏感
https://www.jianshu.com/p/408daf82ac71服务流量限制(漏桶、令牌桶)
https://chai2010.cn/advanced-go-programming-book/ch5-web/ch5-06-ratelimit.html为什么推荐 InnoDB 引擎使用自增主键?
https://blog.csdn.net/zheng0518/article/details/76302167MySQL 唯一性索引与 NULL 字段
https://yemengying.com/2017/05/18/mysql-unique-key-null/
本周阅读清单 20190808
PHP 正则 preg_match 匹配长度限制
https://learnku.com/articles/7193/php-regular-preg-match-matching-length-limit深悉正则(pcre)最大回溯/递归限制
http://www.laruence.com/2010/06/08/1579.htmlRedis 的内存优化
https://cachecloud.github.io/2017/02/16/Redis内存优化Content-Disposition 的 filename 与 filename 区别*
https://developer.mozilla.org/zh-CN/docs/Web/HTTP/Headers/Content-DispositionRedis Scan 命令原理
https://segmentfault.com/a/1190000018218584Redis 字典的遍历 dictScan 算法
http://www.langdebuqing.com/redis%20notebook/redis源码解读:字典的遍历dictScan.html
乔布斯的 Connecting the Dots
You can’t connect the dots looking forward; you can only connect them looking backwards.
你无法预先把点点滴滴串联起来,只有在回顾过去时才能看清它们是如何连接的。
内心平静下来——找到直觉
Coming back to America was, for me, much more of a cultural shock than going to India. The people in the Indian countryside don’t use their intellect like we do, they use their intuition instead, and their intuition is far more developed than in the rest of the world. Intuition is a very powerful thing, more powerful than intellect, in my opinion. That’s had a big impact on my work.
回到美国对我来说,去印度所引发的文化冲击远不如回到美国来得强烈。印度乡村的人们不像我们这样运用理性思考,他们运用直觉,而他们的直觉比世界上其他地方的人发达得多。在我看来,直觉是一种非常强大的东西,比理性更强大。这对我的工作产生了深远的影响。
你的时间有限——活出自己
Your time is limited, so don’t waste it living someone else’s life. Don’t be trapped by dogma — which is living with the results of other people’s thinking. Don’t let the noise of others’ opinions drown out your own inner voice. And most important, have the courage to follow your heart and intuition. They somehow already know what you truly want to become. Everything else is secondary.
你的时间是有限的,所以不要浪费它去过别人的生活。不要被教条束缚——所谓教条,就是活在别人思考的结果里。不要让别人的喧嚣淹没你自己内心的声音。最重要的是,要有勇气去追随你的内心和直觉——它们多少已经知道你真正想成为什么样的人。其他一切都是次要的。
记住自己即将死去——追随内心
Remembering that I’ll be dead soon is the most important tool I’ve ever encountered to help me make the big choices in life. Because almost everything—all external expectations, all pride, all fear of embarrassment or failure—these things just fall away in the face of death, leaving only what is truly important. Remembering that you are going to die is the best way I know to avoid the trap of thinking you have something to lose. You are already naked. There is no reason not to follow your heart.
记住你即将死去——这是我已知的最有帮助的工具,它帮助我做出人生中的重大选择。因为几乎所有的一切——所有外在的期待、所有的骄傲、所有对尴尬或失败的恐惧——在死亡面前都会烟消云散,只留下真正重要的东西。记住你即将死去是避免认为自己有所失的陷阱的最好方法。你已经赤身裸体了,没有理由不追随你的心。