Python argparse notes

Here is some notes for using python argparse package,

Continue reading

Posted in Uncategorized | Leave a comment

Smart Pointer Notes

Here is a note on using Smart Pointers for C++

Continue reading

Posted in Uncategorized | Leave a comment

Notes on Pass by Reference, Pass by Value

Some notes (excerpts from other people) on the differences between pass by reference and pass by value, and how this affects objects get passed in C++ and Java. This is a question that confused me for a long time with lots of bad answers on stack overflow out there.

Continue reading

Posted in Uncategorized | Leave a comment

Python Unit Test Notes

Here are some notes I make about Python Unit Test

Continue reading

Posted in Tools, Uncategorized | Leave a comment

How to use Google Sparse Hash

Notes on how to use the Google Sparse Hash, hopefully a much better hash map than STL unordered_map. 🙂

Continue reading

Posted in Tools, Uncategorized | Leave a comment

Visitor Pattern Notes

I have been working on building a new domain-specific programming language for graph applications. In the process, I am building a compiler, and really learned the importance of visitor patter. Here is a post summarizing some of the things I learned on visitor pattern.

Continue reading

Posted in Uncategorized | Leave a comment

SQL Alchemy Notes

This is some notes when I was playing with SQL Alchemy in Python.

Continue reading

Posted in Uncategorized | Leave a comment