Flask Part 1: SQLAlchemy Models to JSON

This is the first of three posts about building JSON APIs with Flask. Part 2 and part 3 arrive tomorrow and the day after. I've seen a lot of questions on StackOverflow about how to turn SQLAlchemy mo…

Read more

Xcode 8 Will Disable All Your Plugins

TLDR: Apple will disable all your Alcatraz plugins in Xcode 8. Read this GitHub issue for more info and give Apple feedback to let them know we need a fully functioning replacement before disabling th…

Read more

How To Scale SSL with HAProxy and Nginx

SSL is CPU Intensive. If you haven't already enabled SSL session caching, do that NOW. But what if you have many unique requests and your load balancer is maxing out it's CPU? That was the case with W…

Read more

Keeping Your Pip Requirements Fresh

Update 2020: The new way to manage your Python dependencies is Pipenv. It’s like Yarn for Python with updating, locking, and combined with pyenv even manages your project’s Python version. For an exam…

Read more

4 Ways to Visualize Your Programming Data

WakaTime is like fitbit for programmers, and we are always looking for new ways to visualize our data. Our dashboard is great for seeing project, file, and branch level visualizations over various tim…

Read more

Pirates use Flask, the Navy uses Django

Update: Tony Narlock created an amazingly comprehensive comparison of Django vs Flask. If you're testing out a new idea or getting a product going, you have to choose a web stack to build it on. For P…

Read more

How To Write a NetBeans Plugin

Want to add a feature or automate something in your NetBeans IDE? Follow along as we write your first plugin for NetBeans. Let's go beyond the simple Toolbar Example and create a plugin which can auto…

Read more

Using a CD Player to Measure Your Focus

The other day I was reading this blog post about productivity for programmers written by a former id software employee named Hook. While working at id software, Hook interacted with the legendary John…

Read more

Why I Built WakaTime

Every week, residents of the Hacker House gather around a backyard fire-pit while chatting about startups. It was a mind meld of professional programmers, designers, and entrepreneurs. On May 3rd 2013…

Read more