Quantcast
Channel: Chris Chou
Browsing all 10 articles
Browse latest View live

Image may be NSFW.
Clik here to view.

My favorite screen setting

My favorite screen setting (~/.screenrc) is pasted here to share #set the startup message startup_message off term linux ##use ` as the Global Key ## escape `` ##set a biger buffer defscrollback 4096 #...

View Article



Image may be NSFW.
Clik here to view.

Change the Mac terminal ANSI color

The default blue ANSI color of Mac terminal is unreadable, I follow the way describe at http://ciaranwal.sh/2007/11/01/customising-colours-in-leopard-terminal to add an ANSI color panel to the Settings...

View Article

Image may be NSFW.
Clik here to view.

PostgreSQL supports built-in master-slave replication

Long time before 8.5 alpha3, Postgres hadn’t provided any built-in solution for replication, although there were several 3-party solution there, it was possibly one of the most important defects that...

View Article

Image may be NSFW.
Clik here to view.

Simple benchmark between Cython and Boost.Python

Inspired by Dan Sanduleac’s post at stackless.com, I re-ran the benchmark between Cython and Boost.Python. Basically, Cython is about 7x times faster than Boost.Python, which astonished me. The...

View Article

Image may be NSFW.
Clik here to view.

Install R Package RPostgreSQL in Mac OSX

I am trying to use PostgreSQL for data warehousing data and R for interactive data exploration. So the first priority to make this happen is to connect PostgreSQL from R and read data back via...

View Article


Image may be NSFW.
Clik here to view.

Install Postgresql in Mac OSX

There are at least four different ways to install PostgreSQL in your Mac. Method 1: Install from source code This is the most boring way to install PostgreSQL, you need to deal with all the things of...

View Article

Image may be NSFW.
Clik here to view.

Turning PostgreSQL for Development Purpose

I installed a PostgreSQL 9.0 port in my puny Mac Pro, and I don’t want it to be a burden for the limited 2GB memory, so I modified following parameters in the postgresql.conf file: shared_buffers = 2MB...

View Article

Image may be NSFW.
Clik here to view.

Useful Python Resources for Setting Up Django Website

Recently, I am developing a website and need practical solution to setting up a real-life production web serving environment. I googled and found following links that are useful for my final decision....

View Article


Image may be NSFW.
Clik here to view.

Manipulate data in R via SQL interface

I has been looking for a R package providing SQL-like interface for data manipulation. Though, there are already usable DBI/RDBI package we can use to talk to SQL interfacing database already, they are...

View Article


Image may be NSFW.
Clik here to view.

Play sqldf with RPostgreSQL

This post is obsolete, the content in this post is not correct, please see Gabor’s comment.   In the previous post Manipulate data in R via SQL interface, I introduced how to use RpgSQL as DB driver to...

View Article
Browsing all 10 articles
Browse latest View live




Latest Images