In this post I’d like to share my thoughts on coding with AI and how it has affected me. Everyone is talking about this and I don’t have anything new to say, but want to centralize points I’ve heard/read so far and document this point in time. It might be fun to come back to this after a while.
I learned a lot about BPF tools after reading the book BPF Performance Tools by Brendan Gregg. The book focused mostly on performance analysis at a lower level, either through kernel functions or libraries such as libc.
I wanted to leverage BPF at the application layer, in particular in C++. The book covers C++ very briefly in Chapter 12 and Chapter 13 provides an example of analyzing a MySQL database but still, most of the examples assume the implementation being in C.
In this post want to investigate how to inspect C++ applications.
Suppose we’re given a circle of radius $r$ and two points in its perimeter, and we want to compute the length of the arc between these points. This can be computed using elementary functions, for example by determining the angle $\theta$ in radians between these two points with respect to the center and then the arc length is $\theta r$.
For ellipses this is not as trivial. In the 18th century, Giulio Fagnano and Leonhard Euler were the first to use integrals to compute the arc length of an ellipse and these became known as elliptic integrals.
Niels Abel and Carl Jacobi studied the inverse of elliptic integrals and later realized they were doubly periodic, that is they have two fundamental periods, as oppose to trigonometric functions line sine that has a single period. Due to this connection double periodic functions became known as elliptic functions.
In this post I’ll share my notes on the book Kafka: The Definitive Guide. Real-Time Data and Stream Processing at Scale by Gwen Shapira, Todd Palino, Rajini Sivaram and Krit Petty.
This book covers many aspects of the popular open-source Kafka, a distributed queue.
Visit archive to see all posts...