Tokyo Cabinet/Tyrant for Python Programmers

March 18, 2009 § 4 Comments

1. Tokyo Tyrant Tutorial

2. Tokyo Tyrant Documentation

3. Starting Tyrant Server as Daemon: (casket.tch is the database)

ttserver -dmn -pid /tmp/ /tmp/casket.tch

4. Best documentation on how to install Tokyo Cabinet & Tyrant:

I personally go the git route.

5. To get the ‘distributed‘ feature, use Memcache Client to connect to Tokyo Tyrant server. The default port is 1978.

6. In my opinion, Tokyo Tyrant works best as Cache/Session/find_by_id solutions.



The real reason why C++ was invented

March 16, 2009 § 1 Comment

First of all, I’m not sure if this post is for real. If so, shocking. If not, it’s a very good humor.

In short, the real reason why Bjarne Stroustrup created the language is to keep software engineer salary relatively high, C++ developers nowadays indeed have very good salary.

He also mentioned that C++ doomed Mentor Graphic big time.

Read it for yourself.

C and C++ Interpreter

March 15, 2009 § Leave a comment

I never imagine anyone would bother inventing it, but some folks at ROOT (associated with CERN) thought otherwise.

The project is called CINT. It is written in C++. It is open source under MIT license.

This is gonna be fun.


CINT page


March 12, 2009 § Leave a comment

I’ve been blogging for a while now, but I never bother to figure out how pingback works.

In short, pingback uses link element and XML-PRC for notifying the recipient.

Learn something new everyday.


PyPy: Assembler Wanted

March 11, 2009 § Leave a comment

March has been a good month for PyPy project. In this post, their JIT is 20x faster than CPython. The code is below:

i = 0
while i < 10000000:
i = i + 1

From the blog post(s), the JIT is generated via tracing the code’s bytecode. The post said that most of their crashes happened because of unsupported operator on the assembler back-end.

Since, PyPy project allows multiple back-ends (well… that’s the whole point), having more assembly developers working on the JIT would be a great thing to realize its speed potential.

(I know, I know, the point of PyPy project is not just for speed, but there are a lot of people who are enthusiastic for this reason)

So, if you know friends who know assembly, spread the words…

Inside IDEO: How Industrial Designer Works

March 9, 2009 § Leave a comment

Here are the 3 parts of ABC NightLine: Inside IDEO, one of the top industrial designer firm. The show aired in 1999.

I notice that Agile processes have similarities to what IDEO folks are doing, i.e. taping mock designs on the wall and voting with stickies.

Hope reader enjoy these.

Another KVDB: Redis

March 9, 2009 § Leave a comment

More and more KVDB projects are entering the scene, this time is Redis.

Why redis is cool? Writes to disk is perform periodically as opposed to immediate. Perfect for applications that are cache-heavy.

It boasted 100,000+ writes/sec. That’s pretty cool, the fastest benchmark I’ve seen so far. But don’t jump on it for mission critical application, yet. They just got started on implementing the replication. Just wait for a bit, from browsing the source, codes are checking in daily.


Where Am I?

You are currently viewing the archives for March, 2009 at RAPD.