posts

Jun. 29, 2026

UML Diagram

Unified Modeling Language (UML) diagram is a standardized visual diagram used to design and document the structure and behavior of complex software systems. Here is YouTube video that talks about the diagram usage. There are many different types of diagram, and here I keep a record of them for my personal usage.

UML Diagrams in Org-Mode

One of the ways to create a UML diagram in Org-Mode is to use PlantUML , a simple language used for writing UML diagrams.

Jun. 16, 2026

AMReX Basic Syntax

AMReX is a public software framework designed for building massively parallel block-structured adaptive mesh refinement applications. Here I keep track of the basic syntax or classes used in AMReX for my personal notes.

Apr. 14, 2026

GDB Tutorial

Table of Contents

GDB , the GNU Project debugger, is a useful debugger for many languages (C, C++, Fortran, etc). Here I keep a set of useful commands for my records.

Using GDB

To use GDB, compile the program with debugging information. For standard C++ program, add -g flag when compiling, i.e. something like

1g++ -g -o myprogram myprogram.cpp

For AMReX related application codes like Castro, compile with DEBUG=TRUE, i.e.

Jan. 17, 2026

Using ox-Hugo

Hugo is a static website generator written with GO, providing easily capability to convert markdown files into a website. For those who use emacs Org mode , one can use ox-hugo to convert Org files into markdown files that will be compatible with Hugo. Hence the workflow is: