How to use interfaces in Go


Before I started programming Go, I was doing most of my work with Python. As a Python programmer, I found that learning to use interfaces in Go was extremely difficult. That is, the basics were easy, and I knew how to use the interfaces in the standard library, but it took some practice before I…

Via jordan orelli

Fixie - Dynamically generated filler content


Ryhan Hassan has created a neat little JavaScript library that adds filler content to your HTML mockups. Using it is very simple, just add the fixie.js library to your HTML before the closing </body> tag, and Fixie looks for anything with a class of fixie.

<h1 class="fixie"></h1>
<p class="fixie"></p>

It’s smart enough to fill an <h1> tag with a phrase, a <p> tag with a paragraph, an <img> tag with an image, and so on. If you want to add fixie it to a container, it can handle that too!

By default, all images will be pulled from, but changing that is very simple:


View the sample (refresh the page a few times to see the content generated dynamically) or browse the source at GitHub.

Via The Changelog

3 Key Software Principles You Must Understand

3 Key Software Principles You Must Understand

If you’re in software development, new techniques, languages and concepts pop up all of the time. We all feel those nagging doubts every now and then: “can I keep up with the changes and stay competitive?” Take a moment, and sum a line from my favorite movie, Casablanca: “The fundamental things apply, as time goes by.”

(Source: airows)

Multiple Django and Flask Sites with Nginx and uWSGI Emperor


When you start uWSGI in Emperor mode, you give it a directory to watch that contains all of your uWSGI config files. If a new file is added, the emperor process reads it and spins up loyal worker processes to handle requests. If a config file is touched or modified, the emperor will gracefully restart the associated worker processes. And if a config file is removed, the emperor will kill the relevant workers.

Bootstrap-powered viewer makes RFCs easier on the eyes


In what may be the most useful application of the Twitter UI framework, Mislav Marohnić offers RFC, a website that reformats The Internet Engineering Task Force (IETF) documents into something a bit more reader friendly:


I know which I’d rather read. The source is on GitHub and the live site is running on Heroku.

Via The Changelog

OCaml for the Masses


A gentle introduction to OCaml.

Via { inercia }

To Tumblr, Love Metalab