摘要: Python多线程异步获得多函数调用的返回值 阅读全文
posted @ 2014-12-27 19:46 子田力亥 阅读(116) 评论(0) 推荐(0) 编辑
摘要: 最近开始学习Django,起步阶段创建项目,在网上看到了Django的教程,编写第一个Django程序,之前安装了Django,所以起初没有什么太大的问题,随着进一步创建项目,发现windows下创建Django是多么不容易的一件事情,又不想整天打开Ubuntu,可能是习惯了windows的系统... 阅读全文
posted @ 2014-12-17 23:12 子田力亥 阅读(597) 评论(0) 推荐(0) 编辑
摘要: COALESCE (Transact-SQL) 最近发现一个很好的处理NULL值的函数,coalesce,按顺序计算变量并返回最初不等于 NULL 的第一个表达式的当前值。还有一个函数ifnull(),这个函数接受的参数有限。待续。。。 阅读全文
posted @ 2014-12-12 11:26 子田力亥 阅读(190) 评论(0) 推荐(0) 编辑
摘要: python文件目录的转换(转换到D盘),首先要import os>>> import os>>> os.chdir("d:\"); 查看运行的结果:>>> os.chdir('d:\\')>>> print os.getcwd();d:\>>> os.chdir("d:\\python27\... 阅读全文
posted @ 2014-11-29 15:11 子田力亥 阅读(143) 评论(0) 推荐(0) 编辑
摘要: 有幸参加在永谦剧场举办的第二次程序员大会,还有曹东李玺教授的博士论坛交流会,感概还是有那么一点的,否则自己回来也不会“埋头苦干”了,讲的也是蛮有道理的,一个浙大的学生,到底是什么让自己可以在以后的道路上高枕无忧,是学历吗,还是能力,如果自己现在做的就是一个大专生或者本科生就能做的,自己还读研究生... 阅读全文
posted @ 2014-11-22 22:18 子田力亥 阅读(212) 评论(0) 推荐(0) 编辑
摘要: 之前师兄在git上创建了一个新的branch,自己看到了,不过没怎么记得操作,后来师兄帮忙弄了一下,也是了解了一些大概先交上代码,最近有点忙,随后有时间再添加注释,下面是dos窗口的一些命令。(主要是关于pull中的fetch跟merge,以及创建远程分支的track)具体还是需要看廖雪峰的Git教... 阅读全文
posted @ 2014-11-21 21:43 子田力亥 阅读(469) 评论(0) 推荐(0) 编辑
摘要: MATLAB实现模糊聚类与模糊综合评价(三个程序,其中许峰教授做的)function Fuzzy_method_allfunction Fuzzy_method_all% 本程序通过一个较为复杂的例子演示了如何调用相关子程序实现模糊聚类与模糊综合评价。clear,clc,format short g... 阅读全文
posted @ 2014-03-31 07:33 子田力亥 阅读(1317) 评论(0) 推荐(0) 编辑
摘要: The Japanese language is notorious for its sentence ending particles. Personal preference of such particles can be considered as a reflection of the s... 阅读全文
posted @ 2014-03-24 17:49 子田力亥 阅读(139) 评论(0) 推荐(0) 编辑
摘要: Given a pair of positive integers, for example, 6 and 110, can this equation 6 = 110 be true? The answer is "yes", if 6 is a decimal number and 110 is... 阅读全文
posted @ 2014-03-23 08:40 子田力亥 阅读(127) 评论(0) 推荐(0) 编辑
摘要: 很好的求幂方法。值得学习一下#include #include #include #include #include #include #include #include #include #include #include using namespace std;int main(){ int a... 阅读全文
posted @ 2014-03-22 18:55 子田力亥 阅读(260) 评论(0) 推荐(0) 编辑