All articles tagged code

Image for Distributed Locking in Django

Distributed Locking in Django

As you start scaling an application out horizontally (adding more servers/instances), you may run into a problem that requires distributed locking. That's a fancy term, but the concept is simple. Sometimes you have to be sure that when a block …
Image for Goodconf: A Python Configuration Library

Goodconf: A Python Configuration Library

I’ve been working quite a bit lately on streamlining Lincoln Loop’s standard deployment systems. One thorn we’ve always had is how to handle application configuration. In the past, we would have our configuration management system write the configuration out to …
Image for Sharing Media Files Without S3

Sharing Media Files Without S3

Nowadays, it's common to deploy multiple application servers, but it poses a very common problem; How are these application servers going to share the media files contributed by the users? Cloud providers like Google, Rackspace or Amazon Web Services solve …
Image for Let's Encrypt DNS Challenge

Let's Encrypt DNS Challenge

Let's Encrypt is a new certificate authority. It is a huge improvement over the manual complex process of acquiring and deploying an HTTPS server. The process is now: Free Automatic (no more login to sites, filling forms, concatenating certificates) This …
Image for Getting Started with Element Queries

Getting Started with Element Queries

Element queries provide styling opportunities specific to an element's dimensions. You could consider them the holy grail of responsive web design, allowing authors to determine an element's look and feel regardless on where it's placed. If given ample space you …
Image for Using Crossing with React-Router

Using Crossing with React-Router

With the version 1.0 release of react-router, the named Route feature was dropped. In earlier versions, you were able to define each Route with a name parameter: <Route path="/account/billing" name="account-billing" /> and link to the RouteHandler via: <Link to="account-billing">Billing</Link> This …