[ML][LLM] – Knowledge Library

Disclaimer: These are my notes explaining my understanding of LLM, it may be correct, may be not. Use at your own risk 😀 Glossary FAQ What is a foundation language model, how are the models trained? what can…

Read More »

Numpy tricks/tips

Matrix manipulations

Read More »

[KL][FastZ] update 04/07/2021

Background Some updates for the FastZ project at Kerlin Lab Updates

Read More »

Collection of errors and fixes

Python OpenCV QT error when using OpenCV Python distribution This answer from StackOverflow helped me solve this problem The openCv author says that this problem comes from different Qt versions in openCv and the linux distro. That is:…

Read More »

Run a script before or after system suspend by systemd-suspend.service

Although Ubuntu has a utility called Startup Application Preference, the registered program is only run once when you first log in. If the user hibernates or suspends the system, the registered program will not be launched when the…

Read More »

ES6 new syntax

let and const Arrow function New syntax to create a function (kind of like an anonymous function or lambda in Python) Syntax See more details here (Pay attention to the use of this keyword in arrow functions) Exports…

Read More »

Python Panda *.csv basic IO and modifications

Some tips and examples with Panda framework. *.csv file manipulations read_csv() function returns an object of the Pandas DataFrame Plotting data from *.csv file data[‘Close’] returns a Pandas.Seires object data[[‘Close’,’Open’]] returns Panda.DataFrame object Reference Pandas DataFrame Pandas DataFrame.plot()…

Read More »

Building OpenCV for Windows

In this post, I will show how one can build the OpenCV library on a machine running Windows Materials OpenCV source code CMake Visual Studio (any version) Getting the source code I will use OpenCV 4.3.0 in my…

Read More »

Fixing WordPress post’s featured images and thumbnail images getting hard-cropped

My problems with VT-blog theme’s posts featured image I am using VT-Blogging theme and have been having issues with my post featured images got hard-cropped (Read below to see what is hard-crop), thus only showing a part of…

Read More »

TStracker – Error log

About Some logs about errors encountered while writing TStracker Problems 1 – Program got hung My code runs inside a console program, spawns a thread to handle the GUI The fix The dialog box got hung because my…

Read More »