Vim Autopep8 on Save

Since I couldn’t find this from a cursory search, to make vim run autopep8 on save like most gofmt setups, do the following: Install vim-autopep8 Add the following to your .vimrc: let g:autopep8_disable_show_diff=1 autocmd BufWritePost *.py Autopep8 The first line tells vim not to show the diff window, and the second tells vim to run Autopep8 whenever a Python file is written.

My OMSCS Experience

Last year, my friend Herman convinced me to enroll in Georgia Tech’s online Master’s degree program, also known as OMSCS (Online Master of Science in Computer Science). In this post I’ll go over my experience so far with the program. First, an overview of OMSCS: You are earning a real Master’s degree – there is no requirement to mention the “Online” part. If you graduate from this program you can walk at the real graduation ceremony and get a real diploma.

Algorithms and Data Structures in Go: Strings

I’m generally interested in algorithms and data structures, and looking for a job, so I’m working through some questions in Cracking the Coding Interview (note: affiliate link). The code in the book is mostly Java, but I prefer Go, so I thought it would be fun to do a series of posts on algorithms and data structures in Go, since most content out there is in Python, Java, C++, and so on.