Kelvin Wangonya

Kelvin Wangonya @wangonya

About: 👨🏾‍💻

Location:
Kenya
Joined:
Mar 22, 2018

Kelvin Wangonya
articles - 93 total

Be careful with join type typos

I noticed a typo in one of my sql queries today, but the funny thing is the query still worked fine....

Learn More 2 0Nov 7 '24

Spotify Cleaner

I've had my Spotify account for a long time, and over that time, my musical tastes have evolved. As a...

Learn More 4 0Sep 25 '24

On embracing asynchronous communication

I've been trying to improve my workflows this year. One thing I've known for a while, but never...

Learn More 0 0Apr 1 '24

Pydantic validators don't raise validation errors immediately

This one really had me confused. I was facing an error with Pydantic validators which I thought I had...

Learn More 0 0Mar 6 '24

Taking notes

I need to get in the habit of taking notes while I work. Especially when I'm debugging. I've noticed...

Learn More 3 2Jun 24 '23

Handling missing dict keys

Trying to access a non-existent key using this notation raises a KeyError: dict[key]. An easy...

Learn More 6 0Feb 10 '22

You can use your database as a simple calculator

Saw this in the MySQL docs. I'm assuming this only works for relational databases. I don't know if...

Learn More 6 0Oct 23 '21

Getting the running Go version

This would mostly be useful for debugging. package main import ( "log" "runtime" ) func...

Learn More 7 0Jul 24 '21

Writing DRYer tests using Pytest parametrize

Tests tend to not always be so DRY, which isn't necessarily a bad thing. This SO answer sums it up n...

Learn More 16 1Apr 8 '21

Hackathon submission

What I built An auto repair shop management system. Category Submission: Built...

Learn More 14 4Jan 9 '21

Progress: Search

Search A simple implementation of Django's full text search. Next steps V...

Learn More 3 0Dec 29 '20

Progress: Improved dashboard (with real data) and "no data" placeholders

Dashboard The dashboard now pulls data from the database based on the selected time period...

Learn More 2 0Dec 27 '20

Progress: Improved UI, update and delete for models, and some data on the dashboard

Improved UI I switched out UI-Kit for MD-Bootstrap. I think it looks much better....

Learn More 15 3Dec 24 '20

Progress: Creating and viewing jobs, contacts and vehicles

So far for the CRUD functionality, I'm able to create and view jobs, contacts, and vehicles....

Learn More 6 0Dec 20 '20

Progress: Authentication & laying out the UI

Here's what I've been able to accomplish so far: Registration & Login This is the onl...

Learn More 5 0Dec 18 '20

My idea for the Hackathon

For this Hackathon I'm thinking of creating something for the "Built for Business" category....

Learn More 15 2Dec 13 '20

What happens when you run PSQL slash commands?

Running \? within a psql database gives a whole list of commands that come in handy when performing v...

Learn More 8 1Dec 10 '20

Working with celery signals

If you're new to celery, start here. Sometimes when using celery, you may want to get notified when...

Learn More 29 1Nov 4 '20

Shallow & deep copying in python

What happens when a variable is assigned to another variable in python? For example: >>> x...

Learn More 29 2Jun 21 '20

Progress: rethinking the implementation

Initially, I wanted to have python (somehow) directly manipulate the DOM based on the state of docume...

Learn More 39 2May 15 '20

A Python binding for the web monetization Javascript API

For this hackathon, I'm thinking of building a python binding for the web monetization API. Here's wh...

Learn More 48 4May 9 '20

Project Submission: cchat

What I built A terminal based chat application using twilio's programmable chat api. I als...

Learn More 20 1Apr 30 '20

Progress: being notified when you're @mentioned

A post by Kinyanjui Wangonya

Learn More 20 3Apr 26 '20

Progress: sending sms

Teammate not responding on chat? Send them a quick sms. Command format: /sms NUMBER MESSAGE_BODY...

Learn More 14 0Apr 25 '20

Progress: creating/deleting channels, switching active channel and chat history

My laptop died on me last week so things have been a bit slow. I have made a bit of progress since my...

Learn More 11 0Apr 20 '20

Progress: sending messages and being notified when people join the channel

As I noted last time, I was having a bit of a problem with sending messages: Apparently, messages s...

Learn More 11 1Apr 12 '20

Progress: interface, authentication and receiving messages

Interface At first I wanted to build a simple no-interface client - just a prompt to send...

Learn More 27 2Apr 10 '20

Connect with teammates without leaving your terminal

For the Twilio hackathon, I'm thinking of building a terminal chat application with python using Twil...

Learn More 43 6Apr 5 '20

When to use python's enumerate() instead of range() in loops

The range() function is often useful when iterating over a set of integers: for n in range(50): ...

Learn More 19 1Jan 26 '20

Documenting python code using docstrings

Until recently, I thought python docstrings were just an alternative way to write comments in the...

Learn More 17 2Nov 12 '19