Category Archives: Uncategorized

Casting shared pointers in C++

Here’s a note on my experience with casting a base class shared pointer to a derived class pointer.

Posted in Uncategorized | Leave a comment

Notes on Reservoir Sampling

Reservoir sampling is a useful technique when sample k items for a large data sets. In this post I outline some ideas on how it works.

Posted in Uncategorized | Leave a comment

How to trim text in List of Figures / Tables (Latex)

Sometimes we have really long texts in the list of figures and list of tables part (\listoffigures, \listoftables). The text correspond to the captions of the figures and tables. We can trim the text using an optional argument to the … Continue reading

Posted in Uncategorized | Leave a comment

Get Pylint to work with Python 3 programs

Here’s my note on getting Pylint to work with Python3. The issue is that I also have Python2.7 installed on the machine. As a result, when I just run “pylint python3_program_name.py”, the script gives “invalid syntax” errors. One trick I … Continue reading

Posted in Uncategorized | Leave a comment

Reducing space in latex

Some useful tricks I learned from past collaborators.

Posted in Uncategorized | Leave a comment

Spell Checking for Latex

This is a post summarizing my experience performing spell check for my latex files.

Posted in Uncategorized | Leave a comment

Learning Tensorflow 2.0

Some notes on learning how to use Tensorflow 2.0

Posted in Uncategorized | Leave a comment

Resources on Polyhedral Compilers

Here’s are some useful resources for learning about polyhedral compilation.

Posted in Uncategorized | Leave a comment

Reading C / C++ Types

Some notes on reading C and C++ types (go right, and then left, then right … )

Posted in Uncategorized | Leave a comment

C++ Early vs Late Bindings

This is a note on early (static) binding vs late (dynamic) binding in C++.

Posted in Uncategorized | Leave a comment