kuniga.me > NP-Incompleteness

NP-Incompleteness

Folly Coroutines: Lifetimes

01 Nov 2025
Folly Logo

In the post Folly coroutines [1] we briefly mentioned that coroutine lifetime is one of the more counter-intuitive aspects of it. It’s confusing because it the imperative-looking syntax hides some of the asynchronous semantics behind the scenes. However, the lifetime of variables are still subject to those asynchronous semantics.

Thus, in this post I’d like to delve a bit into Folly coroutines lifetimes to get a better understanding and way to work around it.

Continue reading...

The Riemann Zeta Function

25 Oct 2025

Bernhard Riemann was a German mathematician. He initially planned to study theology at the University of Göttingen, but switched to mathematics on advice of Carl Friedrich Gauss.

Among Riemann’s contributions is a rigorous formulation of the integral operator, known as the Riemann integral. In complex analysis, he’s also known for the Riemann surfaces and in number theory, for the Riemann zeta function and the Riemann hypothesis with connections to the distribution of prime numbers.

In this post we’ll study the Riemann zeta function and briefly mention the Riemann hypothesis.

Continue reading...

Review: Systems Performance

10 Oct 2025
Book cover.

In this post I’ll share my notes on the book Systems Performance by Brendan Gregg.

In summary, this book covers major components of an operating system such as CPU, memory, disk and network and for each of them provides methodologies and tools for analyzing performance.

Continue reading...

Customization Point Objects in C++

10 Sep 2025
C++ Logo

In this post I’d like to share my notes on customization point objects (or CPOs) in C++. This is a mechanism that allows users of libraries to provide overloads for their custom types.

Continue reading...

Hadamard Factorization Theorem

30 Aug 2025

Jacques Salomon Hadamard was a French mathematician. Among his contributions, Hadamard proved the prime number theorem and has his name on the Hadamard product (element-wise product of matrices) and the Hadamard matrices. Even though he didn’t work in quantum mechanics, Hadamard gates are also named after him because its matricial representation is a Hadamard matrix.

Being of Jewish descent, in 1941 Hadamard left France for the United States during the antisemitic Vichy government. He returned in 1945 after the end of World War II.

In this post I’d like to explore the Hadamard Factorization Theorem.

Continue reading...

Visit archive to see all posts...

Sub-pages