CNChirath Nissankainchirath.hashnode.dev·5d ago · 16 min readDocker Under the Hood — Your Container Is Just a ProcessA guide for DevOps engineers, built around commands you can run yourself. The mental model that costs you debugging time Almost everyone learns containers the same way. Someone tells you a container i00
CNChirath Nissankainchirath.hashnode.dev·Aug 16 · 23 min readHexagonal Architecture in Rust — From Zero to Ports and Adapters A guide for Rust novices, built around a real codebase. If you come from Java, C#, or Python, you may have learned "clean architecture" using inheritance: a base class defines a method, and subclasses00
CNChirath Nissankainchirath.hashnode.dev·Apr 11, 2021 · 2 min readA quick introduction to *args and **kwargs in Python!Sometimes you might need to create a function with multiple parameters. Let's say you need to create a function that adds an arbitrary amount of numbers. But beforehand, you don't know the number of parameters. How would you implement it? Here is w...00
CNChirath Nissankainchirath.hashnode.dev·Mar 27, 2021 · 3 min readWhat is the Bag of Words Model in Natural Language Processing?In Natural Language processing, we use the bag of words model as a way to extract features from text corpus for machine learning-related tasks such as text classification. (e.g., spam filtering, text category classification, sentiment analysis, etc.)...00
CNChirath Nissankainchirath.hashnode.dev·Mar 25, 2021 · 2 min readSolving Linear Equations with NumPy!In Linear Algebra, we solve systems of linear equations, and if we want to programmatically solve them, we can use Python’s Numpy library to do so. This article will show you how it’s done. Let’s get started. First you need to install Numpy using Py...00