Migrating out of PostHaven

My blog was hosted on PostHaven for about 12 years now. It’s a pretty good platform and has served me well. But I wanted to move my blog to a MarkDown powered static site. Unfortunately, posthaven doesn’t provide an export option, probably because it not in their financial interest. Oh well, I’ll scrape my own blog and extract the posts. My first attempt was to use the requests and BeautifulSoup to fetch the urls from the archives page....

May 19, 2023 · 2 min

Examples are Awesome

There are two things I look for whenever I check out an Opensource project or library that I want to use. Screenshots (A picture is worth a thousand words). Examples (Don’t tell me what to do, show me how to do it). Having a fully working example (or many examples) helps me shape my thought process. Here are a few projects that are excellent examples of this....

October 6, 2019 · 2 min

Maintainer Stories

Github produced a video series called “Maintainer Stories”. One of the videos is about my experiences as a maintainer of pgcli. 

February 7, 2017 · 1 min

FuzzyFinder - in 10 lines of Python

Introduction: FuzzyFinder is a popular feature available in decent editors to open files. The idea is to start typing partial strings from the full path and the list of suggestions will be narrowed down to match the desired file. Examples: Vim (Ctrl-P) Sublime Text (Cmd-P) This is an extremely useful feature and it’s quite easy to implement. Problem Statement: We have a collection of strings (filenames). We’re trying to filter down that collection based on user input....

June 22, 2015 · 8 min

Pycast - Python screencasts

Pycast - Weekly screencasts on Python and DataScience by Matt Harrison. Matt is bootstrapping pycast through kickstarter. I’m excited about it because I’ve attended Matt’s tutorials and came away feeling leveled up on my Python chops. Nearly 5 years ago I was getting started in Python and learning on my own by writing small scripts to automate silly stuff. I wasn’t writing anything adventurous and I was looking for a way to improve my skills....

June 3, 2015 · 2 min