Clivern

A Software Engineer and Occasional Writer.

Load testing with k6

25 September 2024

A while ago, I came across this a nice load testing tool called k6. It's an open-source project developed by Grafana Labs that lets developers easily test the performance of their APIs, websites, and microservices.

Read More

Understanding Distributed Tracing

24 September 2024

Distributed Tracing is a technique to keep track of requests as they flow from the frontend layers through a complex distributed backend systems, Mainly those built in a microservices architecture.

Read More

Text Chunking Techniques With Langchain Part 1

13 September 2024

In this article we explain different ways to split a long document into smaller chunks that can fit into your model's context window. LangChain has a number of built-in transformers that make it easy to split, combine, filter, and otherwise manipulate documents.

Read More

Building My Own RAG With OpenAI, Qdrant and LangChain

18 August 2024

RAG stands for Retrieval Augmented Generation. It enhances the large language models (LLMs) by integrating them with external data sources. This allows LLMs to generate more accurate and relevant responses by providing it with information from databases or knowledge bases, rather than relying on their pre-trained data.

Read More

Early Returns in Elixir

07 June 2024

Early returns is often employed to exit a function as soon as an exceptional or negative condition is met. It won't take much time when learning elixir to figure out that early returns are missing!

Read More

Finally Moved Clivern from WordPress to Jekyll

06 June 2024

Today I just finished migrating my personal website from WordPress to Jekyll after running it for over 10 years (since 2010). It was a long journey - first hosted on GoDaddy's shared hosting with PHP 5.3, then upgraded to PHP 5.6. I moved it to DigitalOcean to get on PHP 7, and about 3 years ago, shifted it to Google Cloud. Today, I updated the DNS to GitHub Pages and took down the Google Cloud Server.

Read More

Supervised Learning With scikit-learn

01 December 2023

Supervised learning with scikit-learn is a popular approach for building predictive models based on labeled data. It involves splitting the data into training and testing sets, fitting a model on the training data, making predictions on the test data, and evaluating the model's performance.

Read More