Big O is a generalization of a mathematical function representing the count of operations of an algorithm. Itโs not speed itself, but instead, a model of theoretical efficiency.
#SoftwareDevelopment
If you develop HTTP or RPC APIs, this book is essential. It covers everything you need to know about API design and is written by Geewax, a contributor to Googleโs API Improvement Proposals documents (AIPs).
#SoftwareEngineering
C++ has a safe for-loop when you need the index and each element: the range-for loop.
In C++ 20, you get an optional initialization statement. This allows you to iterate over the elements safely, but also use an index variable whose scope is bound to the loop as well.
I enjoy developing Java but the fact that Number does implement arithmetic operations is kind of ridiculous. Generic algorithms for arithmetic computations across the numeric types is probably one of the most common use cases of generics. Seems like a missed opportunity to me.
If you have software deployed in production and you don't have observability signals, you're already blowin' it. Real talk.
#SoftwareDevelopment#SoftwareEngineering
Reading about RAG today. The TL;DR? Sometimes, retraining is too expensive; instead, index embeddings in a vector database and use it in the query path for enriching query results.
AI is wild. Good solutions require an adjustment of how you think about the problem space.