Author Archives: yunmingzhang17

How to check the status of a file system

Some notes on what to do when the nfs is down. Advertisements

Posted in Uncategorized | Leave a comment

Python program with tee

I ran into problems with Python not piping stdout to tee. The problem was that Python is buffering the stdout. To enable tee to work, you simply need to put a -u flag there. python -u your_script | tee your_log … Continue reading

Posted in Uncategorized | Leave a comment

replace string across multiple files with sed

Here’s a useful mac osx / linux trick that helps with replacing a string across multiple files using sed.

Posted in Uncategorized | Leave a comment

mallopt disabling mmap

Here are some notes for using mallopt to disable mmap for potentially better performance.

Posted in Uncategorized | Leave a comment

Pandas Data Frames notes

Here are my notes using dataframes in python pandas

Posted in Uncategorized | Leave a comment

Use seaborn to draw heatmap on Mac

Here are my notes for a basic example that draws a heatmap on mac

Posted in Uncategorized | Leave a comment

OpenMP numa and libnuma note

Some notes on using libnuma, and achieving some similar functionalities in openmp using task affinity and places.

Posted in Uncategorized | Leave a comment