Friday, August 22, 2008

quantlib

the quantlib project has seemed interesting ever since i first found out about it. looks like many of the most of the lead developers are at banca imi, an italian investment bank. some others are at statpro, which provides data and analysis services. so it looks like at least some of the people involved are real pros in the business. i should take a more in-depth look some time. and there's a python binding! check out luigi's book as a great ref.

Tuesday, August 12, 2008

parallel python

i just read through the examples for parallel python (pp package on gentoo). some day i'll have to try it. it basically makes a queuing service to which you can submit function calls as jobs. so you submit the function calls to run and then block for the result later in the script. very handy and easy parallelism. maybe i can hook it up to an object caching/generating database as an aop aspect. now _that_ would be cool.

apache upgrade

i recently had to update my apache server from 2.0 to 2.2. they made some major changes to the default http.conf file, so in order to get ampache working again i had to add this: Alias /ampache/ "/usr/share/webapps/ampache/3.3.2.1/htdocs/" <Directory "/usr/share/webapps/ampache/3.3.2.1/htdocs/"> Options Indexes AllowOverride None Order allow,deny Allow from all </Directory> previously, i think i only needed the alias. but apparently some security settings were changed because with 2.2 i would get 'client denied by server configuration' in the error log. also, i had to add -D PHP5 to APACHE2_OPTS in /etc/conf.d/apache2 just like before.