自定义博客皮肤VIP专享

*博客头图:

格式为PNG、JPG,宽度*高度大于1920*100像素,不超过2MB,主视觉建议放在右侧,请参照线上博客头图

请上传大于1920*100像素的图片!

博客底图:

图片格式为PNG、JPG,不超过1MB,可上下左右平铺至整个背景

栏目图:

图片格式为PNG、JPG,图片宽度*高度为300*38像素,不超过0.5MB

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+
  • 博客(202)
  • 资源 (25)
  • 收藏
  • 关注

转载 Python Patterns - An Optimization Anecdote

Python Patterns - An Optimization AnecdotePython Patterns - An Optimization AnecdoteThe other day, a friend asked me a seemingly simple question: what's the best way to convert a list of integ

2014-08-17 11:26:21 1054

原创 Install Oracle 11g R2 in Centos 6 X64

If the prereuisite CV_ASSUME_DISTID=OEL4 to CV_ASSUME_DISTID=OEL6

2014-07-24 10:41:29 1281

转载 Rich Comparison Methods

One of the nicest features of the Data Model is the ability to override the behavior of rich comparison operators:import [email protected]_orderingclass Generic(object): def __ini

2014-07-08 14:03:58 812

转载 Optimizing Linux Memory Management for Low-latency / High-throughput Databases

Table of ContentsIntroductionSetting up the contextReproducing and understanding Linux's zone reclaim behaviorNUMA memory rebalancing also triggers direct page scansLessons learnedIntr

2014-07-07 17:27:30 1233

转载 The ultimate SO_LINGER page, or: why is my tcp not reliable

This post is about an obscure corner of TCP network programming, a corner where almost everybody doesn’t quite get what is going on. I used to think I understood it, but found out last week that I did

2014-06-10 17:22:19 6783

转载 Iterables, Iterators and Generators: Part 2

This is the second part of the talk I gave January 24, 2013 at the Ottawa Python Authors Group.Part One introduces Python iterables and iterators and generators. This part covers the advanced use

2014-06-10 16:13:22 947

转载 Top 10 Mistakes that Python Programmers Make

About PythonPython is an interpreted, object-oriented, high-level programming language with dynamic semantics. Its high-level built in data structures, combined with dynamic typing and dynamic b

2014-05-24 17:48:01 885

转载 The Light and Dark sides of Python name binding

The Light and Dark sides of Python name bindingPosted on 2014-04-04, last modified 2014-04-09.What does bar.foo do? - An exploration of Python assignment, objects, attributes and descripto

2014-05-20 10:22:15 898

转载 Benchmark of Python WSGI Servers

Benchmark of Python WSGI ServersNicholas Piël | March 15, 2010It has been a while since the Socket Benchmark of Asynchronous server. That benchmark looked specifically at the raw socket perfor

2014-05-01 22:48:33 2565

转载 Asynchronous Servers in Python

Asynchronous Servers in PythonNicholas Piël | December 22, 2009There has already been written a lot on the C10K problem and it is known that the only viable option to handle LOTS of concurre

2014-05-01 22:44:04 1076

转载 A collection of not-so-obvious Python stuff you should know

A collection of not-so-obvious Python stuff you should know!I am really looking forward to your comments and suggestions to improve andextend this little collection! Just send

2014-04-26 23:18:16 1472

原创 openssl CLI

1) Create a self-signed certificate2) Check if a certificate is self-signedopenssl x509 -in cert.pem -inform PEM -nou

2014-04-20 20:05:33 804

转载 OOP Concepts in Python 2.x - Part 2

OOP Concepts in Python 2.x - Part 2Published on: Mar 10th, 2014Tags: pythonPosted by Leonardo GiordaniAbstractThis post continues the analysis of the Python OOP implementatio

2014-04-12 22:41:41 962

转载 OOP Concepts in Python 2.x - Part 1

OOP Concepts in Python 2.x - Part 1Published on: Mar 5th, 2014Tags: pythonPosted by Leonardo GiordaniAbstractObject-oriented programming (OOP) has been the leading programmin

2014-04-12 17:02:16 1211

转载 Linux I/O Performance Tests using dd

Under Linux, the dd command can be used for simple I/O performance measurements. This article will provide valuable information about which parameters should be used.Contents [hide] 

2014-04-08 20:01:10 1091

转载 Default Parameter Values in Python

Default Parameter Values in PythonFredrik Lundh | July 17, 2008 | based on a comp.lang.python post(It happened to me in one of the first Python programs I ever wrote, and it took several yea

2014-03-23 22:53:06 1114

转载 Playing with ptrace, Part I

Using ptrace allows you to set up system call interception and modification at the user level.Have you ever wondered how system calls can be intercepted? Have you ever tried fooling the kern

2014-03-10 20:59:26 848

原创 CherryPy architecture

High Level FrameworkApplication Level Framework

2014-02-22 22:31:35 852

原创 Python debuggers

1) pdb2) Winpdb3) pydev4) gdb python extentionReferences:https://code.google.com/p/winpdb/wiki/DebuggingTutorialhttp://stackoverflow.com/questions/132058/showing-the-stack-trace-from-a-r

2014-02-19 20:00:23 731

原创 volatile in C++

1) "volatile" has nothing to do with multiprocessing. So it is not atomic.2) In a single threaded env, "volatile int vi = 0", vi = 1; int read_back = vi; assert (read_back == 1); the assertion may f

2014-02-13 10:03:13 791

原创 Javascript module/libs

1) jQuery2) RequireJS3) Underscore4) Backbone5)

2014-02-08 22:08:19 749

转载 Metaprogramming in Python

MetaprogrammingMetaprogramming is the ability for a program to reason about itself or to modify.Metaprogramming is the writing of computer programs that write or manipulate other programs (o

2014-01-27 21:41:23 1459

原创 Use unique_ptr to RAII your file objects

auto file_closer = [](int* pfd) { close(*pfd); };int fd = open("a.txt", O_WRONLY|O_CREAT, 0666);unique_ptr raii_fd (&fd, file_closer);// using fd

2014-01-25 16:08:33 692

原创 From LinkedIn

Favorite monitoring / performance tool mostly for Linux Servers on Vmware/Proliant and some Windows servers

2014-01-25 12:11:13 752

原创 Logging

Python logging componentsLoggers expose the interface that application code directly uses.Handlers send the log records (created by loggers) to the appropriate destination.Filters provide a fine

2014-01-19 11:33:00 742

原创 Env setup for MAC OS X

1) Install package management tool "Homebrew" for MAChttp://brew.sh/2) Configure the Terminal's background/foreground and text colors. Default Foreground: 255/255/255Default Backgrou

2014-01-08 18:57:57 1519

转载 Eggs and Egg Info

----------------------Eggs and their Formats----------------------A "Python egg" is a logical structure embodying the release of aspecific version of a Python project, comprising its code,

2014-01-05 16:47:02 2623

转载 Why so many Python web frameworks

Why so many Python web frameworks?When asked about the plethora of web frameworks for Python the answer is often that it is way too easy to put together one in Python. That certainly seems plaus

2014-01-05 11:11:02 1121

转载 The Log: What every software engineer should know about real-time data's unifying abstraction

I joined LinkedIn about six years ago at a particularly interesting time. We were just beginning to run up against the limits of our monolithic, centralized database and needed to start the transition

2013-12-24 16:33:09 1457

转载 Making Your Next Move

This entry is part of a series, RValue References: Moving Forward»Entries in this series:Want Speed? Pass by Value.Making Your Next MoveYour Next Assignment...Exceptionally Moving!On

2013-12-24 15:39:34 842

转载 Want Speed? Pass by Value.

Want Speed? Pass by Value.This entry is part of a series, RValue References: Moving Forward»Entries in this series:Want Speed? Pass by Value.Making Your Next MoveYour Next Assignme

2013-12-24 14:06:18 1999

转载 Kernel Korner - Why and How to Use Netlink Socket

Use this bidirectional, versatile method to pass data between kernel and user space.Due to the complexity of developing and maintaining the kernel, only the most essential and performance-cr

2013-12-24 11:19:17 1035

转载 64-Bit Programming Models: Why LP64?

64-Bit Programming Models: Why LP64?Participation from: Digital Equipment Corporation, Hewlett-Packard Company, IBM Corporation, Intel Corporation, Novell Inc., NCR Corporation (formally AT&T GIS),

2013-12-20 15:22:30 623

转载 64-Bit Programming Models: Why LP64?

64-Bit Programming Models: Why LP64?Participation from: Digital Equipment Corporation, Hewlett-Packard Company, IBM Corporation, Intel Corporation, Novell Inc., NCR Corporation (formally AT&T GIS),

2013-12-20 15:18:15 575

转载 64-Bit Programming Models: Why LP64?

64-Bit Programming Models: Why LP64?Participation from: Digital Equipment Corporation, Hewlett-Packard Company, IBM Corporation, Intel Corporation, Novell Inc., NCR Corporation (formally AT&T GIS),

2013-12-20 15:15:14 725

原创 context manager

1) The "with" statementwith expr [as VAR]:    WITH-BLOCK"with" statement is something like "RAII" in C++, when "with" statement finishes, all resources will be cleaned automatically even there i

2013-12-20 12:12:09 1124

原创 Relative imports

For example, code in the A.B.C module can do:from . import D                 # Imports A.B.Dfrom .. import E                # Imports A.Efrom ..F import G               # Imports A.F.G

2013-12-20 11:05:54 1100

转载 A guide to analyzing Python performance - Python Performance, 6 of n

A guide to analyzing Python performanceWhile it’s not always the case that every Python program you write will require a rigorous performance analysis, it is reassuring to know that there are a wide v

2013-12-11 21:49:36 980

转载 Linux下高并发socket最大连接数所受的各种限制

Linux下高并发socket最大连接数所受的各种限制12/06. 20131、修改用户进程可打开文件数限制在Linux平台上,无论编写客户端程序还是服务端程序,在进行高并发TCP连接处理时,最高的并发数量都要受到系统对用户单一进程同时可打开文件数量的限制(这是因为系统为每个TCP连接都要创建一个socket句柄,每个socket句柄同时也是一个文件句柄)。可使用uli

2013-12-11 12:11:43 741

转载 Linux memory manager and your big data

Disclaimer: We always assume that when we have an issue and think it's the operating system, 99% of the time, it turns out to be something else. We therefore caution against assuming that the proble

2013-12-11 11:58:09 764

MPEG-4 ISO 标准 ISO/IEC14496-3 part3

MPEG-4 ISO 标准 ISO/IEC14496-3,因为文件太大,需分三卷压缩上传,这是第三部分,研究MPEG-4的朋友耐心下载

2009-02-26

MPEG-4 ISO 标准 ISO/IEC14496-3 part2

MPEG-4 ISO 标准 ISO/IEC14496-3,因为文件太大,需分三卷压缩上传,这是第一部分,研究MPEG-4的朋友耐心下载

2009-02-26

MPEG-4 ISO 标准 ISO/IEC14496-3 part1

MPEG-4 ISO 标准 ISO/IEC14496-3,因为文件太大,需分三卷压缩上传,这是第一部分,研究MPEG-4的朋友耐心下载

2009-02-26

MPEG-4 ISO 标准 ISO/IEC14496-15

MPEG-4 ISO 标准 ISO/IEC14496-15,研究MPEG-4的朋友必备

2009-02-26

MPEG-4 ISO 标准 ISO/IEC14496-14

MPEG-4 ISO 标准 ISO/IEC14496-14,研究MPEG-4的朋友必备

2009-02-26

MPEG-4 ISO 标准 ISO/IEC14496-12

MPEG-4 ISO 标准 ISO/IEC14496-12,研究MPEG-4的朋友必备

2009-02-26

MPEG-4 ISO 标准 ISO/IEC14496-6

MPEG-4 ISO 标准 ISO/IEC14496-6,研究MPEG-4的朋友必备

2009-02-26

MPEG-4 ISO 标准 ISO/IEC14496-5

MPEG-4 ISO 标准 ISO/IEC14496-5,研究MPEG-4的朋友必备

2009-02-26

MPEG-4 ISO 标准 ISO/IEC14496-1 2004 third edition

MPEG-4 ISO 标准 ISO/IEC14496-2,研究MPEG-4的朋友必备

2009-02-26

MPEG-4 ISO 标准 ISO/IEC14496-2

MPEG-4 ISO 标准 ISO/IEC14496-2文档,研究MPEG-4的朋友必备

2009-02-26

用TCP/IP进行网际互联(卷1).part1

网络编程的经典书籍,强烈推荐。三卷都上传了,请下载的朋友注意。

2008-03-20

用TCP/IP进行网际互联(卷1).part2

网络编程的经典书籍,强烈推荐。三卷都上传了,请下载的朋友注意。

2008-03-20

用TCP/IP进行网际互联(卷3).part2

网络编程的经典书籍,强烈推荐。

2008-03-19

用TCP/IP进行网际互联(卷3).part1

网络编程的经典书籍,强烈推荐。第三卷分两个分卷压缩包上传此为第一部分。

2008-03-19

用TCP/IP进行网际互联(卷3).part1

网络编程的经典书籍,强烈推荐。第三卷分两个分卷压缩包上传此为第一部分。

2008-03-19

用TCP/IP进行网际互联(卷2)

网络编程的经典书籍,强烈推荐。三卷我都会上传,请关注。

2008-03-19

C++国际标准(C++ Standard)

C++国际标准,强烈推荐学习研究C++的朋友下载

2007-10-21

inside the c++ model 深度探索C++对象模型.part1.rar(中文版

c++牛书,推荐阅读

2007-10-12

inside the c++ model 深度探索C++对象模型.part1.rar(中文版)

深入c++系列,牛书,分两部分上传

2007-10-12

the c++ Standard library C++标准程序库—自修教程与参考手册.part4.rar(中文版)

分四部分上传。上次上传了第一部分后,因网络原因不能上传第二部分。所以大家不要下以前那个版本。在次也向各位表示歉意。

2007-10-12

the c++ Standard library C++标准程序库—自修教程与参考手册.part3.rar(中文版)

分四部分上传。上次上传了第一部分后,因网络原因不能上传第二部分。所以大家不要下以前那个版本。在次也向各位表示歉意。

2007-10-11

the c++ Standard library C++标准程序库—自修教程与参考手册.part2.rar(中文版)

分四部分上传。上次上传了第一部分后,因网络原因不能上传第二部分。所以大家不要下以前那个版本。在次也向各位表示歉意。

2007-10-11

the c++ Standard library C++标准程序库—自修教程与参考手册.part1.rar(中文版)

分四部分上传。上次上传了第一部分后,因网络原因不能上传第二部分。所以大家不要下以前那个版本。在次也向各位表示歉意。

2007-10-10

the c++ Standard libraryC++标准程序库—自修教程与参考手册.pdf(中文版)

应上传文件不能超过10MB,所以分卷上传

2007-10-07

C++ net programming using ACE

C++网络编程方便的经典书籍

2007-08-11

空空如也

TA创建的收藏夹 TA关注的收藏夹

TA关注的人

提示
确定要删除当前文章?
取消 删除