Front-end build systems can easily get out of hand - but you can control them with docker
Like many web companies we no longer write HTML, CSS and JS and simply push them to our live servers. We have a front-end build 'system', which manages all of the tasks required to convert our source content to our static output. This includes CSS pre-processing, CSS and JS minification and concatenation, something clever to do with . . .
And why we're dropping Haystack in favour of the native ES library
ElasticSearch is a powerful, easy-to-install, easy-to-use, low config, clustered search engine based on Lucene, and is a popular choice for all sorts of applications.
In the Django world, Haystack seems to be the de-facto way to implement search outside the ORM - and it certainly seems the fastest to implement.
There are a lot of good reasons . . .
How to avoid being caught out by a missing Migration
For managing database schemas, as great and well-loved as South was, Django's new migrations framework is nicer, particularly thanks to better support for multi-developer, multi-branch projects like YJ.
However, the greater attention now paid to a model's changes has a potential gotcha, especially in a multi-dev environment: even . . .
Today we are announcing some . . .
Bitwise logic can be used to store multiple boolean values in a single integer value - which is handy for storing the state of combinations of on/off switches.
Bitwise arithmetic is easy, useful and ubiquitous among programming languages, and yet surprisingly uncommon in the wild, in Python. (It may be due to the lack of enum support, as having the ability to store multiple enum values in a single field is quite common in those that do).
We use bitwise logic for managing deployment options, as it . . .
This analogy is available under a Creative Commons licence - use, amend, share
Hopefully the analogy is so clear and concise it doesn't need elaborating, but I'll do it just in case...
When you have a small team, and you're trying to grow into a big team, you can become susceptible to team indigestion - the new people overwhelm the . . .
You gotta git our workflow, man
Here at YJ HQ we use a lot of freelancers - obvious when you think about it,but it does pose certain challenges. The main issue is that the team is fluid, and that puts a greater emphasis on the team fit than normal - we simply can't afford for someone to spend three months getting used to the way we work.
To that end, the most important . . .