Monthly Archives: December 2014
SWIG C++ & Python: C++ & Python Object Lifetime
I’m currently struggling with a bug in my open source project and it has to do with temporary object lifetimes. I believe the core issue is that I have a Python object that holds a pointer to an underlying C++ … Continue reading
Posted in programming
Tagged c++, python, swig
Comments Off on SWIG C++ & Python: C++ & Python Object Lifetime
How to clone Linux disk of different sizes; large HDD to smaller SSD
WARNING: MISUSE OF THE COMMANDS IN THIS TUTORIAL CAN CAUSE DATA LOSS! BACKUP YOUR DATA! YOU’VE BEEN WARNED! Step 1: Clone original HDD to larger, spare HDD 1.1. Connect SRC and DST disk to computer 1.2. Disconnect external drives that … Continue reading