From now on Western computers do not exists for me:
I bought iPad 32 Gb from them 24 February for my wife’s birthday and within 4 days iPad became 100 pounds cheaper. Apple main store (online or retail)
provides refund of these 100 pounds for anyone who bought iPad two weeks prior to announcement of iPad 2, but it’s up to resellers to make decision about such purchase and Western Computers decided do not provide same level of customer care as apple main store.
So, any reason to buy from Apple reseller in the future, especially from Western Computers, when you can buy iPads and Macs from Tescos, Curries even cheaper?
Tags:
apple,
apple resellers,
ipad,
ipad 2,
swindon,
western computers
Recently I was asked the number of technical questions which I nearly failed to answer, not because I don’t now the answer, but because I believe such questions require more information about the context. There is a common assumption about the default mind frame with ms windows and C/C+. The assumption doesn’t work for me hence I came out as a non-technical person (I think people who know me a bit will consider it as a joke, since most of the conversations I came out as a mix of geek and scientist).
No tags for this post.
I am trying to speedup rather crappy php, website build on top of cakephp and decided to follow this tutorial, I was seriously annoyed that I can’t get rig of /app/webroot prefix in css/js links. I didn’t want to hack them directly because I am using automatic css/js compression.
It wasn’t until I found this solution from the ticket closed in January I managed to fix it.
Quite surprised that in order to dispatch cakephp app I need to patch the core and there are hundred of unanswered questions/issues about deployment of cakephp without mod_rewrite.
PS. Good start – this is my first day of holiday gone.
Tags:
cakephp,
mod_rewrite,
nginx,
php
I just pushed xtreemfs cookbook to my git repo
This cookbook automates xtreemfs quick start for ubuntu 10.04.
I am using it with vagrant:
config.vm.define : xtreemfs do |xtreemfs_config|
xtreemfs_config.vm.box="base"
xtreemfs_config.vm.provisioner=:chef_solo
xtreemfs_config.vm.forward_port("ssh", 22, 2227,:auto => true)
xtreemfs_config.vm.forward_port("web", 30638, 8080)
xtreemfs_config.vm.network("192.168.100.16")
xtreemfs_config.chef.node_name="xtreemfs"
xtreemfs_config.chef.log_level = :debug
xtreemfs_config.chef.cookbooks_path = ["cookbooks","other_cookbooks"]
xtreemfs_config.chef.run_list.clear
xtreemfs_config.chef.add_recipe("apt")
# xtreemfs_config.chef.add_recipe("tomcat")
xtreemfs_config.chef.add_recipe("xtreemfs::server")
xtreemfs_config.chef.add_recipe("xtreemfs::client")
end
Tags:
chef,
deployment,
sysadmin,
xtreemfs
I found an interesting way of adding apt repository in hadoop cookbook:
execute "apt-get update" do
action :nothing
end
template "/etc/apt/sources.list.d/cloudera.list" do
owner "root"
mode "0644"
source "cloudera.list.erb"
notifies :run, resources("execute[apt-get update]"), :immediately
end
execute "curl -s http://archive.cloudera.com/debian/archive.key | apt-key add -" do
not_if "apt-key export 'Cloudera Apt Repository'"
end
Tags:
chef,
hadoop,
ruby
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.
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:
mac os x,
matplotlib,
python
Not too obvious since doc here 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.
BROKER_VHOST = "0" # Maps to database number.
#this line will screw up things for ghettoq backend
#CELERY_DEFAULT_EXCHANGE = "tasks"
CELERY_IMPORTS = ("tasks", )
Follow this link for more details
Tags:
python,
redis,
tasks
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->uc_mcontext->__ss.__srr0;
#endif
CFLAGS='-mmacosx-version-min=10.5 -arch ppc -sysroot=/Developer/SDKs/MacOSX10.5.sdk' make
See ticket for more details
No tags for this post.
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:
Tags:
chef,
cloud computing,
deployment,
linux,
vagrant