• C++ '&' operator

    Some note on C++ references

  • The Black Swan

    By Nassim Nicholas Taleb

  • The Remains of The Day

    By Kazuo Ishiguro

  • Japan Garden

    Nature has always been a central focus of the Japanese culture, in the religion, architecture, food. Japanese Garden is an attempt to embrace nature and bring human closer to nature. A trip to the Koishikawa Korakuen Garden with the Tokyo City Guide club has taught me much.

  • Concurrency in Java context

    Concurrency is an unavoidable fact in web development if the page ever gets pass more than one user (which is pretty much any service out there). But concurrency also poses a problem to data consistency. This post is a back-to-the-basics summary of techniques I’m aware of.

  • Running Odoo 8 on Pypy

    Pypy has not reached the point of compatibility that one could simply switch the interpreter. Some libraries need to be replaced, or installed with latest development code. Still, one can get the Odoo web running with a few changes.

  • Tornado Non-blocking Smtp Client

    Recently, I was developing a tornado-based web application at work. The idea of using Tornado is to base the whole web application on Tornado’s single-threaded IOloop, which enables the application to handle higher load compared to using other multi-threaded model (given the same hardware). Since there is no additional thread spawned to handle concurrent requests, no memory overhead. And besides, that help avoids context-switching cost when the program control is passed between threads.

  • Fibonacci Tail Recursion

    (Documenting my progress with Haskell. little by little)

Subscribe via RSS