Unix & Me

Saturday, May 9, 2020

C++ Multiple Implementation Design Pattern

›
It is common to have multiple implementations to a given problem. In STL, for example, you can build a queue from a vector or a list, i.e, ...
1 comment:
Friday, March 6, 2020

Docker Cheat Sheet

›
Concepts: - container: an instance of running image View images $ docker images Delete an image $ docker image rm IMAGE_ID View run...
Monday, February 17, 2020

Kaldi series 1 - setup/debug with CLion

›
In the series of posts, I will describe how to run automatic speech recognition (ASR) system with Kaldi. For the best debugging experience, ...
Tuesday, November 19, 2019

Debug Pybind11 C++ Extension with CLion

›
OK, so I need to be able to debug C++ part of the code, which is called from Python3 using Pybind11, and I don't want to do it with lldb...
3 comments:
Sunday, October 27, 2019

WTF? Fix to "string.h not found" in macOS

›
OK, I love macOS but I sometimes hate the hassle when it comes to Xcode and its toolchains. Randomly I get errors like "string.h" ...
Thursday, October 3, 2019

Load Makefile Projects on CLion

›
If you are like me, there is no better C/C++ IDE than Jetbrain's CLion . I absolutely love it and refuse to use any other IDE. There i...
Wednesday, June 19, 2019

Compile GNU Coreutils from Scratch on macOS Mojave

›
Here, I will discuss how to compile GNU  coreutils from scratch. You have two options. I recommend Option 2 below. Option 1: First, down...
1 comment:
Saturday, May 4, 2019

Copy to Clipboard in Terminal

›
Install xclip $ sudo apt install xclip Copy to clipboard $ cat some_file.txt | xclip -selection clipboard Paste to anywhere!
Sunday, April 21, 2019

N-Gram ARPA Model

›
This post is to summarize how the probability is calculated from ARPA model. Consider test.arpa and the following sequences of words: lo...
Wednesday, March 27, 2019

Remote Debugging with Eclipse

›
I am not familiar with Eclipse, as I prefer to use CLion. However, for projects that do not use CMake build system, I will have to use Eclip...
›
Home
View web version
Powered by Blogger.