Development, Uncategorized, Web Development

TWIL 34th week


  • Names Active Record and BBOM. The (anti)pattern of putting persistence logic in a model is called Active record. Infact, it’s turning the project I’m working on into a BBOM
  • Fortran can be faster than C. But also, you can get the same speed in C if you know what you’re doing
  • Macaronesia is the correct spelling for Macronesia.

Compile Boostrap from sources in Ubuntu 14.04

Unfortunately, Ubuntu software repos are not up to date with Nodejs.

You shall use Chris Lea’s Repo

sudo apt-get install python-software-properties
sudo apt-add-repository ppa:chris-lea/node.js
sudo apt-get update

Then, install nodejs:

sudo apt-get install nodejs

Then it’s time for grunt to be installed (that’s  just plain Bootstrap’s tutorial from now on):

sudo npm install -g grunt-cli

Get into your bootstrap directory and run

npm install
npm update

You’re good to go, just run

grunt watch

Also, if you want sourcemaps, see this SO answer.