Polipo

Written by  on November 12, 2017

在打开Android Studio 项目的总是会卡在 Shell 1 gradle: resolve dependencies ':classpath'

[Read more...]

Codeforces #879C

Written by  on November 6, 2017

879C C. Short Program time limit per test 2 seconds memory limit per test 256 megabytes input standard input output standard output Petya learned a new programming language CALPAS. A program in this language always takes one non-negative integer and returns one non-negative integer as well.

[Read more...]

Speech of Steve Jobs from Apple Special Event 2017

Written by  on September 13, 2017

There’s lots of ways to be, as a person. And some people express their deep appreciation in different ways. But one of the ways that I believe people express their appreciation to the rest of humanity is to make something wonderful and put it out there and you never meet the people, you never shake their hands, you never hear their story or tell yours, but somehow in the act of making something with a great deal of care and love, something is transmitted there. And it’s a way of expressing to the rest of our species our deep appreciation. So we need to be true to who we are and remember what’s really important to us. That’s what’s going to keep Apple, Apple, is if we keep us, us.

[Read more...]

鄂尔多斯马拉松记

Written by  on August 20, 2017

近年来北马的报名门槛越来越高,现在都要求两年以内必须有完赛记录了,作为一个马拉松萌新,只能先挑一个规模较小更容易报上名的赛事,在田哥的推荐下便报了鄂尔多斯马拉松,报名过后我一跟其他同事朋友提起我要去鄂尔多斯,大家都问是不是那个“鬼城”,其实我自己印象中没有很将鄂尔多斯和鬼城联系在一起,在他们提了过后我才依稀想起来在多年前的《南方周末》上有看到过鄂尔多斯房地产泡沫破灭的大版面报告,“鬼城”这个称谓也应该是从那个时候开始有的。

[Read more...]

读完《银河帝国》

Written by  on July 9, 2017

大概是花了三个月的时间,总算是踉踉跄跄地读完了银河帝国:基地七部曲这部鸿篇巨作,大多阅读时间都发生在睡觉前或者通勤路上,读的算是囫囵吞枣,很多细节没注意到的地方直接看过了就过了,没有在意太多。

[Read more...]

搬家

Written by  on July 2, 2017

历经一个月的各种下班看房,终于顺利地搬到了公司五分钟行程内了,终于不用蜷缩在之前逼仄的七平米隔断里面了,终于可以葛优躺了。新屋面积大概是之前房间的三倍左右,下午刚搬完家收拾完东西发现还是略显拥挤,真不知道我之前是怎么忍过来的,稍微有点遗憾的就是没有找到合适的有独卫的房子,但是离公司确实近的可怕,隐约感觉这次选址会成为2017年最明智的决策。

[Read more...]

嗨咔嚯

Written by  on May 6, 2017

作为一个南方人,一般只能大概地区别出南方口音和北方口音,但是我最近发现似乎可以通过三个语气用词来区别北京口音,东北口音还有天津口音,即“嗨”、“咔”和“嚯”:

[Read more...]

postfix指定发件人地址

Written by  on May 6, 2017

博客最近出现了几次nginx进程莫名其妙地挂掉,有好几次博客一晚上不能访问我都不知道,查日志也没查出来什么原因,后来用了监控宝家的报警服务,效果还蛮不错的,基本上出了故障十分钟以内都会检测到,并且还有邮件和免费短信通知,但是有的时候即使通知到了也不方便及时上服务器重启服务,所以索性自己写了个检测脚本:

[Read more...]

20170421

Written by  on April 21, 2017

上个月七忙八忙居然没更blog,为了防止这个月也零蛋,先混一篇为敬~; 每天七点到七点半之间起床; 跑步; 跑完步沐浴更衣,大约八点五十了;

[Read more...]

奇异值分解

Written by  on February 23, 2017

在自然语言处理或者机器学习相关应用时,通常首先要做的是将每一个样本转换成一个向量,然后将预处理过后的样本聚集在一起以矩阵计算的形式来对数据进行分析,然而很多时候都会碰到向量维度过高矩阵过大带来的计算复杂度太高问题,这个时候就要对样本数据集进行降维处理,也就是通常所说的主成分分析 (Principal components analysis,PCA),在尽可能保持原本数据集的特征的前提下降低数据集维度,简单的线性回归就是一种降维操作(将二维平面上的点用一维的线段来表示)。

[Read more...]