What else is there in Python?
[size=10.5pt]We all use the else keyword in Python,usually accompanying if statement:CODE:if x > 0: print 'positive' elif x < 0: print 'negative' else: &nbs...
11个开源且面向文档的NoSQL数据库(2)
5. OrientDBOrientDB is an open source NoSQL database management system written in Java. Even if it is a document-based database, the relationships are managed as in graph databases with direct connect...
11个开源且面向文档的NoSQL数据库(1)
A document-oriented database is a designed for storing, retrieving, and managing document-oriented, or semi structured data. Document-oriented databases are one of the main categorie...
用Python解析XML(3)
Let's take a couple minutes to go over this code. First off is a bunch fo imports. This just sets up our environment with the needed compents from Reportlab and lxml. I also import the decimal module ...
用Python解析XML(2)
Save the code above as order.xml. Now I just need to write a parser and PDF generator script. in Python. You can use Python builtin XML parsing libraries which include SAX, minidom or ElementTree or y...
用Python解析XML(1)
One of the common tasks I am given in my day job is to take some data format input and parse it to create a report or some other document. Today we'll look at taking some XML input, parsing it wit...
用PHP实现两路SMS
SMS is used for various purposes these days. For example, major websites like Gmail and Facebook use SMS to improve their authentication process with multi-factor authentication and notifying users ab...
JDK7增强特性介绍
[i=s] 本帖最后由 jieforest 于 2012-7-21 11:44 编辑 I believe most of the Java Developers are aware of the latest Java release i.e Java 7. Lot of us are disappointed about quite a few important f...
VoltDB - NewSQL Database
IntroductionThe purpose of this post is to give an overview of background, technical architecture, features offered by VoltDB. Traditional RDBMS systems like Oracle, Sybase are designed decades ...
HTTP2 Expression of Interest
This is Facebook's response to the call for expressions of interest in HTTP/2.0: http://trac.tools.ietf.org/wg/httpbis/trac/wiki/Http2CfI1. IntroductionFacebook's mission is to give people the pow...
Type classes in Scala
I am going to show you how I went about solving how to persist instances in Cassandra, using Hector, in the function insert(instance) in Scala. To work out how these instances are going to be pers...
用sqlalchemy构建Django连接池
As you know, Django uses new database connection for each request. This works well initially. However as the load on the server increases, creating/destroying connections to database starts taking...
Managing Rails Apps at Massive Scale
At RailsConf 2012, we sat down with five of our customers (including Jesse Proudman, panel moderator and CEO of the Blue Box Group,) and asked them about the ups and downs of scaling massive websi...
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 ...