Accessing HP Cloud OpenStack Nova Using Python and Requests
This content is part of the Python Zone, which is presented to you by DZone and New Relic. Visit the&...
OpenStack Open Source Cloud Needs To Pick Up The Pace
OpenStack Open Source Cloud Needs To Pick Up The PaceThe OpenStack open source cloud platform is maturing rapidly,&...
Is OpenStack the new Linux?
Is OpenStack the new Linux?Or is this open source 'cloud operating system' just a launching pad for a million&...
Harnessing the Power of the Ruby SDK on AWS
Since launching in early 2006, Amazon Web Services (AWS) has been the dominant entity in Cloud Computing. Their offering includes such services as EC2 for elastic computing, S3 for simple object...
rst2pdf介绍 – Changing Restructured Text into PDFs with Python
There are several cool ways to create PDFs with Python. In this article we will be focusing on a cool little tool called rst2pdf, which takes a text file that contains Restructured Text and conver...
值得期待的NoSQL新书《Seven Databases in Seven Weeks》
Data is getting bigger and more complex by the day, and so are your choices in handling it. From traditional RDBMS to newer NoSQL approaches, Seven Databases in Seven Weeks takes you on a tour of ...
JBoss Data Grid 6发布
红帽公司近日发布了其大数据存储解决方案Red Hat JBoss Data Grid 6的正式版本。 红帽JBoss Data Grid 6是一个内存、键值型的数据存储解决方案,基于JBoss社区项目Infinispan构建,包含了JBoss企业应用平台和...
Python Timer Class - Context Manager for Timing Code Blocks
CODE:from timeit import default_timerclass Timer(object): def __init__(self, verbose=False): self.verbose = verbose  ...
Heroku+Mongo+Node.js在开发中遇到的一个问题
A couple facts about three cool technologies图片1.jpgImage via Wikipedianode.js is a powerful way of writing backend code in JavaScript; why JavaScript? Because you have the kind of problem t...
Amazing Algorithms with NoSQL: A MongoDB Example Part 2
In part 1 of this article, I described the use of MongoDB to solve a specific Chemoinformatics problem, namely the computation of molecular similarities. Depending on the target Tanimoto coefficie...
Python算法-How to sort a dictionary by value
The other day I was asked if there was a way to sort a dictionary by value. If you use Python regularly, then you know that the dictionary data structure is by definition an unsorted mapping type....
Django Switching Databases on Per-View Level
Django has a "multiple databases" feature that lets you read/write data from more than just the default database. I'm going to show you how to switch databases on a per-view level, rather than per...
A Data Migration for Every Django Project
How to use a South data migration to avoid accidentally sending emails from example.com.ProblemConsider the following snippet from Django's docs [1] for sending a confirmation email:CODE:from ...
NoSQLUnit 0.3.0发布
IntroductionUnit testing is a method by which the smallest testable part of an application is validated. Unit tests must follow the FIRST Rules; these are Fast, Isolated, Repeatable, Self-Valida...
Deploying a Django Application to dotCloud
As I mentioned in a recent blog post, in the 11 months since I wrote my first post on dotCloud, I now work there. Besides me working there, there has been a lot of other changes at dotCloud, and I...
pyflakes: The Passive Checker of Python Programs
There are several code analysis tools for Python. The most well known is pylint. Then there’s pychecker and now we’re moving on to pyflakes. The pyflakes project is a part of something known as ...
用dotNet访问MongoDB
Not the usual choice for .NET development but NoSql document databases are becoming more common in the development world.Getting MongoDb running on Windows1. To get ...
Python的SIGPIPE信号
Have you ever seen a socket.error: [Errno 32] Broken pipe message when running a Python Web server and wondered what that means?The rule is that when a process tries to write to a socket that ha...
PHP发布新版本,解决安全问题5.4.4和5.3.14发布
PHP开发团队今天连发了两个版本:PHP 5.4.4和PHP 5.3.14。 PHP 5.4.4和PHP 5.3.14两个版本主要修复了两个重要的安全问题: 1. DES算法Crypt实现中的一个漏洞2. phar扩展中的一个堆溢出问题此外,这两个版...
谷歌AngularJS发布1.0版
AngularJS是Google开发的一种模板技术,谷歌最近正式发布了AngularJS 1.0。 谷歌称,AngularJS可以让你扩展HTML的语法,以便清晰、简洁地表示应用程序中的组件,并允许将标准的HTML作为你的模板语言。AngularJ...