How to list code in Latex

  • How to create  a customized language highlighting scheme in Latex
  • How to use “{” and “}” in lstinline

Continue reading

Posted in Uncategorized | Leave a comment

locating stragglers tasks in parallel programs

Here is a post on how to locate certain straggler task in openmp parallel programs using perf and gdb.

Continue reading

Posted in Uncategorized | Leave a comment

How to get GAPBS and Ligra to generate weighted graph with weight 1

We have been trying to generate weighted graph for two popular graph frameworks, GAPBS and Ligra to generate graphs with weights one from SNAP format edge lists. Here are some our experiences.

Continue reading

Posted in Uncategorized | Leave a comment

inline function parameters in c++

This is a note on how to inline functions that are passed as parameters (argumetns) of a function, using templates.

Continue reading

Posted in Uncategorized | Leave a comment

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