PHP序列化变量的3种方法
The idea behind serializing a variable is to create a storable string format of it, such that the same variable can be recreated later when required using the string.1. serialize and unserialize...
把Apache Cassandra作为云数据库的评估
IntroductionThe amount of information that currently resides only in the cloud is small, but that’s about to change. A recent study by IT industry analyst group IDC estimates that cloud computi...
Using Morphia to map Java objects in MongoDB
MongoDB is an open source document-oriented NoSQL database system which stores data as JSON-like documents with dynamic schemas. As it doesn't store data in tables as is done in the us...
Using Sorted Sets with Jedis API
Sorted Sets and JedisIn the previous post we started looking into Jedis API a Java Redis Client.In this post we will look into the Sorted Set(zsets).Sorted Set works like a Set in the way it d...
Real-time Twitter heat map with MongoDB
Over the last few weeks I got in touch with the fascinating field of data visualization which offers great ways to play around with the perception of information.In a more formal approach data v...
FSharpCouch和MongoFS——NoSQL的辅助库介绍
I've been working on a few new libraries lately that focus on providing functional wrappers around various NoSQL options.FSharpCouchFSharpCouch is something that I wrote about a little over tw...
Reducing CouchDB disk space consumption
Apache CouchDB offers high availability, excellent throughput and scalability. These goals were achieved using immutable data structures – but they have a price: disk space. CouchDB was designed ...
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...