Archive

Archive for November, 2010

Many/Multi objective optimisation

November 27th, 2010 alex No comments

Last week I went to the lecture on Evolutionary Algorithms and Multi Objective optimisation, which my friend Dr Evan Hughes. It is very interesting course and I wish I had an opportunity to listen to it earlier – the earlier the better. I really like the examples of the problems shown and absolutely amazed by some of the examples. One of the “difficult” objective functions below. Is anyone who would like to try to find maximum?
Read more…

No tags for this post.
Categories: science Tags:

Building matplotlib on Mac OS snow leopard

November 19th, 2010 alex No comments

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’. Notes Read more…

Tags: , ,
Categories: general, science Tags: , ,

Celery configuration for Redis backend

November 13th, 2010 alex No comments

Not too obvious since doc here doesn’t mention it. Working configuration:

  1. CARROT_BACKEND = "ghettoq.taproot.Redis"
  2. CELERY_RESULT_BACKEND = "redis"
  3. REDIS_HOST = "localhost"
  4. REDIS_PORT = 6379
  5. REDIS_DB = 0
  6. REDIS_CONNECT_RETRY = True #this one is deprecated
  7.  
  8. BROKER_HOST = "localhost"  # Maps to redis host.
  9. BROKER_PORT = 6379         # Maps to redis port.
  10. BROKER_VHOST = "0"         # Maps to database number.
  11. #this line will screw up things for ghettoq backend
  12. #CELERY_DEFAULT_EXCHANGE = "tasks"
  13. CELERY_IMPORTS = ("tasks", )

Follow this link for more details

Tags: , ,
Categories: cloud, web Tags: , ,