title:
By listing the first six prime numbers: 2, 3, 5, 7, 11, and 13, we can see that the 6th prime is 13.
What is the 10 001st prime number?
翻译:
通过列出前6个质数,我们可知第6个质数是13。
那么第10001个质数是...
分类:
其他好文 时间:
2014-06-05 12:28:28
阅读次数:
277
地点:北京CBD附近(地铁1号线大望路)
魅力值:送珍贵期权
你要会:
1、 IOS或者Android开发
2、能够处理类似微视/秒拍的视频录制功能
3、熟悉json
4、做过第三方登录
5、爱学习
6、no zuo
7、工作经验不限
如果你适合,就别再犹...
分类:
移动开发 时间:
2014-06-05 12:23:54
阅读次数:
251
title:
The sum of the squares of the first ten natural numbers is,
12 + 22 + ... + 102 = 385
The square of the sum of the first ten natural numbers is,
(1 + 2 + ... + 10)2 = 552 = 3025
Hence ...
分类:
其他好文 时间:
2014-06-05 12:03:29
阅读次数:
243
python try except else finally 执行顺序详细分析...
分类:
编程语言 时间:
2014-06-05 11:43:56
阅读次数:
305
HTMLParser, a simple lib as html/xhtml parser
官方解释:
This module defines a class
HTMLParser which serves as the basis for parsing text files formatted in HTML (HyperText...
分类:
编程语言 时间:
2014-06-05 11:02:37
阅读次数:
354
python解释器将__init__函数里的__z变量转成 _classname__z了,明白规则后外部依然可以通过实力对象来访问。
In [1]: class aa:
...: def __init__(self):
...: self.x = 10
...: self.y = 11
...: self.__z =...
分类:
编程语言 时间:
2014-06-05 10:25:10
阅读次数:
346
感知器学习算法步骤如下:
1.对权系数w置初值
对权系数w=(W1 .W2 ,…,Wn ,Wn+1 )的各个分量置一个较小的零随机值,但Wn+1 =
—g。并记为Wl (0),W2 (0),…,Wn (0),同时有Wn+1(0)=-θ 。这里Wi (t)为t时刻从第i个
输入上的权系数,i=1,2,…,n。Wn+1 (t)为t时刻时的阀值。
图1-10 感知器的分类例...
分类:
编程语言 时间:
2014-06-05 08:55:11
阅读次数:
448
Json是一种轻量级数据传输格式,广泛应用互联网和各应用中,json主要采用键值对来表示数据项,多个数据项之间用逗号分隔,也可以用于数组。下面注重介绍一下在delphi中使用json,在delphi中使用json常用superobject单元文件,该文件可以在网上下载,最初接触json是在2011年,好久没用这不刚好有项目要用到又折腾了好久,下面做了一个简单的Demo,方便以后忘了能随时查看,具体...
分类:
Web程序 时间:
2014-06-05 08:50:10
阅读次数:
406
首先下载lxml, http://www.lfd.uci.edu/~gohlke/pythonlibs/ ,然后添加引用
from
lxml
import _elementpath
as
DONTUSE
from
lxml
import etree
具体示例:
1.添加命名空间
#set namespace
nsmap = {"xsi":
"h...
分类:
编程语言 时间:
2014-06-05 07:54:48
阅读次数:
441
1. 同事的一台服务器在修改了系统时区后重启的时候,检测到了apache的error_log出现了以下内容
2.这是apache的mod_wsgi模块,这个模块可以用python作为CGI脚本来跑网络应用,可是同事的服务器上跑的是php的程序.根本就没点儿python的代码.
打开httpd.conf后,也没有找到和这个模垮有关的内容....
分类:
其他好文 时间:
2014-06-05 06:03:26
阅读次数:
211