-
Useful code snippet for Python list fold/reduce
Going through one of the MOOC courses, I came across a homework problem that I solved with one of Python’s list reduce functions, any(), throwing in an interesting functional programming twist. I save it here for my own reference. I won’t mention which course this is, lest I give the answer away to one of…
-
Fixing WordPress comment email notification problem by installing sendmail on Debian
In the past, whenever a reader commented on a blog entry, I would receive an email notification. Ever since I moved this site to a Linode VM, I noticed the comment email notification stopped working. Alas, blogs are not like what they used to be back in the day, now that so many people have…
-
Introducing JiMetrics
For the impatient, here is the link to JiMetrics web site, where you can get the scripts and get going. To learn why it is called JiMetrics, you will have to read all the way to the end. During the last couple of years, I’ve been working with health care related BI data warehouse, running…
-
Web hosting with DNSimple and Linode
After about 8 years of hosting this site with Midphase, I’ve migrated my hosting service to Linode. I am using Debian 7 as my operating system. The web server is Tengine, a fork of Nginx. (Update: I am currently using Apache.) I have root access, therefore total control of this Linode VM. And I am…
-
Message to friends in education consultancies/给做留学教育咨询朋友的信件
In the past few months, two individuals involved in high education consultancies, mostly specializing in placing Chinese students in American universities or even high schools and helping them with life in the US, asked me for advice. I am certainly no expert in this field, but I did come up with some ideas, perhaps a…