All articles tagged code

Image for Speeding Up NPM Installs

Speeding Up NPM Installs

I've been working on improving our deployment processes as part of the High Performance Django Infrastructure project we're building out. One consistent pain point is our front-end build system, and particularly, npm installs. For a number of reasons, instead of …
Image for Fast Immutable Python Deployments

Fast Immutable Python Deployments

Alternate title: Pip 7 is Awesome, Here's Why A typical Python deployment looks like this: Pave the server, setting up a virtualenv and installing any pre-requisites necessary to build/install the Python requirements (compiler, development headers, etc.). To update to a …
Image for Concurrency in Python vs GO

Concurrency in Python vs GO

At Pycon in Montreal few weeks ago I attended a talk that blew my mind away and got me thinking: Python concurrency from the Ground Up: LIVE! by David Beazley. The video is available on YouTube. The gist of the …
Image for SVG Sprites and Icon Systems Are Super

SVG Sprites and Icon Systems Are Super

I received an email recently asking for assistance with an SVG icon issue. The individual explained that he was working with a lot of icons (about 300, which I would say qualifies as a "system") as images and wondering if …
Image for Introducing Flexbox Fridays

Introducing Flexbox Fridays

Flexbox is everywhere right now. Well, talk of flexbox is everywhere, not so much its implementation just yet. We have been tinkering with it quite a bit these days and thought it might be handy to share these explorations. Each …
Image for Smarter Input Groups with Flexbox

Smarter Input Groups with Flexbox

If you have ever built a form using Bootstrap you have undoubtedly worked with input groups. Input groups are an excellent way to provide contextual help via iconography or associate specific actions with the appropriate field. However, they can be …
Image for Varnish Saint Mode

Varnish Saint Mode

Varnish Saint Mode is a lesser known gem inside varnish that lets you serve stale content from cache, even when your backend servers are unavailable. This article explains how to configure varnish to take advantage of this feature. If you …
Image for Introducing Salmon

Introducing Salmon

Over the years, I’ve used a lot of server monitoring systems. Big enterprisey ones like Zabbix, Zenoss, and Hyperic, smaller ones like munin and monit, stuff in the middle like Graphite, and hosted solutions like New Relic. Throughout the search, …