Category Archives: Uncategorized

Problem of escaping in programming languages.

Almost any kind of textual data format, you'll have to implement escaping of some sort. For example: In programming languages, string literals are delimited by a quote or double-quote (' or "). Variants of SGML (including XML and HTML) uses … Continue reading

Posted in Uncategorized | 1 Comment

Grepability 101

Programming in dynamically typed languages such as JavaScript or Python gives you a lot of freedom over how you structure your code. However, you lose a lot of powerful static analysis and refactoring tools that are available in languages like … Continue reading

Posted in Programming, Uncategorized | Leave a comment

Judging a book by its cover

There's a popular English idiom,┬áDon't judge a book by its cover. It means that you should not judge others solely upon their appearance or first impression. However, it's helpful to know that this phrase was first said in 1800s. Back … Continue reading

Posted in Uncategorized | 1 Comment

Graphomania - Desire to write

In his book The book of laughter and forgetting,┬áKundera makes a cynical criticism on graphomania - desire to write. The reason we write books is that our kids don't give a damn. We turn to an anonymous world because our … Continue reading

Posted in Kundera, Uncategorized | Leave a comment

Email notification whenever an user ssh to your Linux machine

TL;DR - Instructions Install pam_python module. This can be done in ubuntu by "sudo apt-get install libpam-python". Download the following script (, to a convenient location. I saved it to /lib/security/ In the file, modify the variables FROM_ADDRESS and … Continue reading

Posted in Uncategorized | 3 Comments

Startup snippets

Few snippets of conversations I had with other people while running Polychart... Snippet #1 A: Do you guys have a website ready? B: No, but we will by this Friday. Snippet #2 A: But isn't it impolite to act so? … Continue reading

Posted in Uncategorized | Leave a comment

On triviality

As a math student, one of my favorite mathematical jargon is trivial. In mathematics, a given problem or structure is trivial if it is relatively simple or well-understood. Some trivial structures in mathematics are semi-formally defined. Empty set, singleton group, … Continue reading

Posted in Mathematics, Uncategorized | Leave a comment

A new year

Within several hours, it is going to be year 2012, and it is a good time to start a blog. -Jee

Posted in Uncategorized | Leave a comment