问题起源 今天,leader看了我写的代码。提了一个建议。我在写p2p业务系统的时候,数据库底层使用了“关联查询,left-join”,leader认为这样性能不好。他建议,不使用关联查询,每次都是单表查询,假设须要查询关联数据。添加一次查询,然后再把两次甚至多次的数据合并。即通过程序而不是sql,...
分类:
其他好文 时间:
2015-07-25 13:39:06
阅读次数:
150
htlm5存储
分类:
其他好文 时间:
2015-07-25 13:37:06
阅读次数:
105
http://finance.qq.com/a/20150725/007085.htm?pgv_ref=aio2012&ptlang=2052深圳炒房客8年:几万元投入赚了3000万 过程惊心动魄高华2000年从东北到深圳闯荡,最初买房纯粹为了自住,但随着收入增长,租金可抵月供的房子,吸引高华将目光...
分类:
其他好文 时间:
2015-07-25 13:37:51
阅读次数:
127
1、使用pip安装django, pip是什么,如何安装?自行放狗搜# pip install "django<1.9"2、创建项目# django-admin startproject djangosite3、运行项目# cd djangosite# python manage.py runser...
分类:
其他好文 时间:
2015-07-25 13:36:52
阅读次数:
153
区间更新,单点查询,,,,奇葩,HDU上强行加了扩栈才过。 1 #pragma comment(linker, "/STACK:1024000000,1024000000") 2 3 #include 4 #include 5 #include 6 using namespace...
分类:
其他好文 时间:
2015-07-25 13:36:41
阅读次数:
121
有愿意共同发展USB固件做。现在,它使用STC89S52+PDIUSBD12(环教你玩USB开发板)它实现了一个USB键盘,项目地址:https://github.com/artprogramming/usb,目的是为了实现一个共同的开源USB固件库,例:USB键盘、鼠标、串行、摄像机等,并可以很容...
分类:
其他好文 时间:
2015-07-25 13:36:09
阅读次数:
114
树链剖分点更新,线段树点更新区间查询,需要维护两个值 1 #include 2 #include 3 #include 4 #include 5 using namespace std; 6 #define lson l,m,rtmaxsize) 41 m...
分类:
其他好文 时间:
2015-07-25 13:38:16
阅读次数:
156
有需求需要动态的为combobox增加可选项,后来解决方案如下html如下js 如下keyArray为数组 tips:此处forEach 不是都支持,火狐官网上有对此方法的修正现在直接将代码贴上,大家可以自行查阅if (!Array.prototype.forEach) { ...
分类:
其他好文 时间:
2015-07-25 13:37:16
阅读次数:
295
出处:http://xiahouzuoxin.github.io/notesKalman滤波器的历史渊源We are like dwarfs on the shoulders of giants, by whose grace we see farther than they. Our study ...
分类:
其他好文 时间:
2015-07-25 13:36:14
阅读次数:
799
这个题还是比较好的,提供了一种求最小生成树不错的方法,但是,C++ TLE,G++ 400+ms 1 #include 2 #include 3 #include 4 #include 5 using namespace std; 6 const int maxn = 1005;...
分类:
其他好文 时间:
2015-07-25 13:35:34
阅读次数:
114
盘点机器学习和统计模型的差异出处:微信公众号_Datartisan数据工匠(shujugongjiang)在各种各样的数据科学论坛上这样一个问题经常被问到——机器学习和统计模型的差别是什么?这确实是一个难以回答的问题。考虑到机器学习和统计模型解决问题的相似性,两者的区别似乎仅仅在于数据量和模型建立者...
分类:
其他好文 时间:
2015-07-25 13:35:41
阅读次数:
116
一、简介 dsaparam指令用来生成和操作dsa参数 二、语法 openssl dsaparam [-inform DER|PEM] [-outform DER|PEM] [-in filename ] [-out filename] [-noout] [-text] [-C] [-rand fi...
分类:
其他好文 时间:
2015-07-25 13:36:20
阅读次数:
139
800600带通配符的字符串匹配难度级别:B; 运行时间限制:1000ms; 运行空间限制:51200KB; 代码长度限制:2000000B试题描述通配符是一类键盘字符,当我们不知道真正字符或者不想键入完整名字时,常常使用通配符代替一个或多个真正字符。通配符有问号(?)和星号(*)等,其中,“?”可...
分类:
其他好文 时间:
2015-07-25 13:33:51
阅读次数:
160
Well, the idea is to search from thetop-rightelement and then reduce the range for further searching by comparisons betweentargetand the current eleme...
分类:
其他好文 时间:
2015-07-25 13:34:48
阅读次数:
131
原文:http://blog.csdn.net/luoyeffcs/article/details/16106707目录1.关系分析2.关系综述3.概念点4.疑问1.关系分析UIBarItem-> UIBarButtonItem -> UINavigationItem1.1UIBarItem:UIB...
分类:
其他好文 时间:
2015-07-25 13:34:16
阅读次数:
161
1、运行时报错,提示Exception in thread "main" java.lang.NoSuchFieldError: INSTANCE at org.apache.http.conn.ssl.SSLConnectionSocketFactory.(SSLConnectionSocketF...
分类:
其他好文 时间:
2015-07-25 13:32:05
阅读次数:
857
一、简介 CA.pl是证书操作的友好接口,简化了一些相似的证书创建或管理操作 二、语法 CA.pl [-?] [-h] [-help] [-newcert] [-newreq][-newreq-nodes] [-newca] [=pkcs12] [-xsign] [-sign] [ -signreq...
分类:
其他好文 时间:
2015-07-25 13:34:55
阅读次数:
145