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

Launching pgcli

I’ve been developing pgcli for a few months now. It is now finally live http://pgcli.com. It all started when Jonathan Slenders sent me a link to his side-project called python-prompt-toolkit. I started playing around with it to write some toy programs. Then I wrote a tutorial for how to get started with prompt_toolkit https://github.com/jonathanslenders/python-prompt-toolkit/tree/master/examples/tutorial. Finally I started writing something more substantial to scratch my own itch. I was dealing with Postgres databases a lot at that time....

January 6, 2015 · 1 min

Python Profiling - Part 1

I gave a talk on profiling python code at the 2012 Utah Open Source Conference. Here are the slides and the accompanying code. There are three parts to this profiling talk: Standard Lib Tools - cProfile, Pstats Third Party Tools - line_profiler, mem_profiler Commercial Tools - New Relic This is Part 1 of that talk. It covers: cProfile module - usage Pstats module - usage RunSnakeRun - GUI viewer Why Profiling:...

May 15, 2012 · 4 min