hackeryarn

Type safe Django app, Part 2

In Part 1 of this series, we looked at how to setup a python project with types, setup our project, and used some basic types. In this part we will start working with the database, implement custom database methods, and look at how to use returns to improve the safety of those methods.

· 5 minutes

Type safe Django app, Part 1

Django is a great framework for web development. Unfortunately, due to the nature of Python and web development in general, it often leads to hard to track down bugs and tangled code. We will take a look at one way to reign this in.

· 6 minutes

Django with Hy

Hy introduces a List that gives you all the power of macros and the elegant Lisp syntax while enabling the full power of Python.

· 3 minutes

Embrace your constraints

Engineers want to measure the quality and effectiveness of their work. They turn to code coverage, burn down charts, and yearly goals, with the best intention.

· 8 minutes

CLI commands in Emacs

A few months ago, Gabriel Gonzalez wrote an excellent article on creating useful tools with Haskell. He used an example of a small CLI tool that aligns the equals signs of a multi-line text input. The article wrapped up by integrating this tool into vim.

· 6 minutes

Hierarchies in Hakyll

Creating hierarchy in a blog is a useful technique. It allows you to have different sections by type of content. It lets users navigate by their interests quickly. It makes your blog organized.

· 4 minutes