## Building matplotlib on Mac OS snow leopard

I spent a lot of time trying to figure out how to build matplotlib on Snow Leopard without using macports - I prefer to use homebrew instead and ended up with incompatible binaries, until I found ['This'](http://blog.hyperjeff.net/?p=160 "this post"). Notes

Edit make.osx

MACOSX_DEPLOYMENT_TARGET=10 ...

## Celery configuration for Redis backend

Not too obvious since doc [here]("http://ask.github.com/celery/tutorials/otherqueues.html") doesn't mention it.

Working configuration:

CARROT_BACKEND = "ghettoq.taproot.Redis"
CELERY_RESULT_BACKEND = "redis"
REDIS_HOST = "localhost"
REDIS_PORT = 6379
REDIS_DB = 0
REDIS_CONNECT_RETRY = True #this one is deprecated
BROKER_HOST = "localhost"  # Maps to redis host.
BROKER_PORT = 6379         # Maps to redis port ...

## Compliting redis 2.0.3 on mac os leopard with ppc

Just notes to myself:

redis.c line 10897

#if defined(__FreeBSD__)    return (void*) uc->uc_mcontext.mc_eip;#elif defined(__dietlibc__)    return (void*) uc->uc_mcontext.eip;#elif defined(__APPLE__) && !defined(MAC_OS_X_VERSION_10_6)  #if __x86_64__    return (void*) uc->uc_mcontext->__ss.__rip; #elif defined (__i386__)      return (void*) uc->uc_mcontext->__ss.__eip;  #else    return (void*) uc- ...

## Wordpress deployment on the live server using chef (and vagrant)

When I decided to move from movable type to wordpress, I wasn't quite happy with default wordpress cookbook. I also had an offer to have a cheap dedicated server instead of VPS, so I decided to test two things simultaneously:

* Preparation of new live server using fabric

* Deployment of ...

## Upgrading to Movable Type 5 using chef and vagrant

As a long time perl developer, I have admired Movable Type (mt). So recently I decided to upgrade to MT5. In the end I decided to move from movable type to wordpress, but this is my notes:

First I took chef's cookbook from wordpress and modified it so it ...

## Projects

My main job involves working on projects related to wireless and wired communications, geolocation and data fusion.

My spare times projects:

* Pingfire firefox extension "This is repository for pingfire extension, official homepage http://www.pingfire.us" -

Some code available on Bitbucket and github.com, when I will tie it up ...

## Deployment of the chef server with vagrant

Some time ago I started playing with excellent tool vagrant. In this post I will show how to setup chef server using vagrant.

Preliminaries

I assume that you know what is vagrant [vagrant](http://www.vagrantup.com "Vagrant") and chef [opscode](http://www.opscode.com/chef/ "Chef")

Issues

One of ...

## My Blog moved to Wordpress

As a long time perl developer it is quite sad to admit that perl based Movable Type is worse than PHP based wordpress.

## Movable type replacement: wordpress, jekill or Golbarg?

I am a bit fed up with MT, I looked at MT5 and as usual was seriously annoyed by MT backup behavior: I attempted to recover backup from mt 4 into clean mt 5 and hit usual wall with schema mismatch error. I believe recovery should work, no matter what ...

## Test of latex plugin, Pareto front definition

Definition: We say that a vector of decision variables $\hat x^{*} \in F$ is Pareto optimal if there does not exist another $\hat x \in F$ such that $f(\hat x) \le f(\hat x^{*})$ for all $i = 1, \hdots k$ and \$ f_{j}(\hat x)< f_{j}(\hat x ...

## Pareto front and Pareto optimal points as a measure of the algorithms performance

In computer science it is common to measure algorithms performance by using O notation. Every book on algorithms development will start from this topic and although it is still good rule of thumb, the practical value of O-notation now becoming obsolete.

For example Mathworks dropped Flops since version 6, the ...

## Particle filter and Rao Blackwellised particle filter

View image Any improvements? Detection errors -----------------------------

PF      = 0 RBPF    = 0

## Execution time  (seconds)

PF      = 6.4465 RBPF    = 11.6923

## Pingfire 1.0.4 compatible with firefox 3.6

Updated version of pingfire extension. This is my fork with bit.ly support Screenshot View image pingfire.xpi

## Updated pingfire extension

Pingfire firefox extension compatible with 3.6.2 firefox. Usual disclaimer: I do it for my own use so no guarantee it will work for you. pingfire.xpi Report issues on bitbucket

## Using forloop counter in django pagination

In order to use forloop.counter with pagination use:

{% for object in object_list %}

{% endfor %}

## Building nginx on ubuntu karmic

Building nginx on ubuntu

sudo aptitude -R install build-essential libpcre3 libpcre3-dev libpcrecpp0 libssl-dev zlib1g-dev

./configure --prefix=/etc/nginx \--sbin-path=/usr/sbin/nginx \--conf-path=/etc/nginx/nginx.conf \--error-log-path=/var/log/nginx/error.log \--pid-path=/var/run/nginx.pid \--lock-path=/var/lock/nginx.lock \--user=www-data \--group=www-data \--http-log-path=/var/log ...

## Another magazine with my face

Does publication of my face in the magazine (large pdf), can be counted as academic? I am on page 23.

## My PhD completed - Hurray

Two of the brightest fellows, Dr Evan Hughes  and Dr David Salmond (DSTL), who were my  examiners, recommended the award of the PhD.

## Cloud computing security, common questions and my answers

I have a several friends, who have a great product ideas, based on complex scientific algorithms. Each time when I suggest using cloud computing for developing product we go through a round of questions. I will put them down here, so I can reference it.

If you want to make ...