My Site Analysis with Cabin

I had my reasons when I wanted to self-host my technical articles. I just didn’t like the constraints most blogging platforms would put on users before they could actually read my content. One thing I hadn’t figured out was the SEO and the performance of my posts and site. I used to get some paid articles to post on my blogs, and those two factors were a major selling point. ...

November 23, 2025 · 1 min · Chris Achinga

Seeding Data in Django Using Faker

Seeding data in a Django project can be essential for development and testing. Faker, a Python library, provides a convenient way to generate placeholder data realistically. This guide will explore how to seed data using Faker in Django. Here is an example model: First, let’s consider an example model consisting of Skill and Category. from django.db import models import uuid class Skill(models.Model): id = models.UUIDField(primary_key=True, default=uuid.uuid4, editable=False, unique=True) title = models.CharField(max_length=200, unique=True) def __str__(self): return self.title class Category(models.Model): id = models.UUIDField(primary_key=True, default=uuid.uuid4, editable=False, unique=True) title = models.CharField(max_length=200, unique=True) def __str__(self): return self.title Creating a Seeder Command To seed data easily, we’ll create a custom management command. ...

March 27, 2024 · 2 min · Chris Achinga

Reading Data From Files Using Python

Hi There! Welcome to Data 101. In this article, I will take you through reading files using Python as you prepare to analyze them. I will be using Google’s Colaboratory tool as my IDE. You don’t have to install or set up anything on your laptop/computer to use it, simply go to https://research.google.com/colaboratory/ and create a new notebook. Reading CSV Files You’ll need to upload a data file. To do so, click on the folder icon on the far left of the Notebook: ...

October 5, 2021 · 2 min · Chris Achinga