Fastjson—解析JSON的Java库
Fastjson是一个Java语言编写的高性能功能完善的JSON库。它采用一种“假定有序快速匹配”的算法,把JSON Parse的性能提升到极致,是目前Java语言中最快的JSON库。 What is fastjson?Fastjson is a JSON proces...
Motor——一个异步MongoDB驱动器
[i=s] 本帖最后由 jieforest 于 2012-7-11 20:23 编辑 Tornado is a popular asynchronous Python web server, and MongoDB a widely used non-relational database. Alas, to connect to MongoDB from a Torn...
Apache Cassandra Terminology Risks and Rewards
Recently, there's been growing support to change the terminology we use to describe the data model of Cassandra. This has people somewhat divided and although I've gone on record as supporting the...
How to Handle Complex Tagging in RavenDB
In the RavenDB mailing list, we got a question about tagging. In this case, the application need:1. Tags have identity ("set" has a different meaning if I'm talking math, music or spo...
Python Analyzing your Gmail with Matplotlib
Lately, I read this post about using Mathematica to analyze a Gmail account. I found it very interesting and I worked a with imaplib and matplotlib to create two of the graph they showed:•...
Python Manifold learning on handwritten digits with Isomap
The Isomap algorithm is an approach to manifold learning. Isomap seeks a lower dimensional embedding of a set of high dimensional data points estimating the intrinsic geometry of a data manifold b...
Color quantization with Python
The aim of color clustering is to produce a small set of representative colors which captures the color properties of an image. Using the small set of color found by the clustering, a quantization...
Groovy-Eclipse 2.7 发布
Groovy 2.0已于6月底发布,带来了诸多新特性,为了照顾使用Eclipse作为IDE的Groovy开发者,Groovy项目团队发布了最新的Groovy Eclipse 插件。该插件允许开发者在Eclipse平台下编辑、编译和运行Groovy代码。 该...
MOVE模式
[i=s] 本帖最后由 jieforest 于 2012-7-7 09:54 编辑 MVC模式在编程中的应用,是一个很了不起的主意。“数据模型(Model)”可以封装与应用程序的业务逻辑相关的数据及对数据的处理方法;“视图层(View)”能...
Metaclass in Python
[i=s] 本帖最后由 jieforest 于 2012-7-6 11:05 编辑 In this post we will be talking about Metaclass in python. If you are reading some code which uses metaclass, you will probably come across __ne...
Python Closures and Decorators (Part. 2)
In part 1, we looked at sending functions as arguments to other functions, at nesting functinons, and finally we wrapped a function in another function. We'll begin this part by giving an example ...
Apache Cassandra入门指南
Apache Cassandra is a high-performance, extremely scalable, fault tolerant (i.e., no single point of failure), distributed non-relational database solution. Cassandra combines all the benefits of ...
PouchDB介绍
PouchDB is a complete implementation of the CouchDB storage and views API that supports peer-to-peer replication with other CouchDB instances. The browser version is written for IndexedDatabase (p...
Python Closures and Decorators
Since I, in retrospect, made the wrong choice when cutting down a Python course to four hours and messed up the decorator exercise, I promised the attendants that I'd make a post about closures an...
Python实现自动化测试入门指南
This is a quick introduction to Selenium WebDriver in Python on Ubuntu/Debian systems.WebDriver (part of Selenium 2) is a library for automating browsers, and can be used from a variety of langu...
GNU glibc库2.16的新特性
glibc是GNU平台上使用最广泛的库之一,上个礼拜六发布的2.16版本的发布修复了超过230个bug,同样也带来了一些新的特性。包括:对x32 ABI在x86_64版本中支持,这样即使在64位平台上也可以使用32位的指针;g...
说说浏览器份额数据两家打架的原因
目前定期发布全球浏览器市场份额的公司有两家, StatCounter 和 NetApplications 。它们的统计,都是基于网站服务器端对浏 览器访问记录的计算。当浏览器访问网站时,浏览器向服务器发送的报文头部包含着关于浏...
PHP应避免使用addslashes()的情况
[i=s] 本帖最后由 jieforest 于 2012-7-2 10:49 编辑 [size=10.5pt]When peer reviewing PHP code, I often find dangerous uses of addslashes(). It is often believed this is a safe way of escaping user...
Django构建静态网页站点
If you’ve ever poked around on this blog, you may have noticed the colophon which mentions very briefly:Unlike most Django sites, this is compiled into static HTML pages bydjango-medusa, a Djan...
Django的消息中内嵌HTML
ProblemYou want to embed HTML within a message using Django's messages framework.This is a reasonably common requirement - for instance, it's common to want to include a link within the messag...