I finally got round to experimenting with a photo banner for the site. This is a standard feature in most themes and cropped a picture and uploaded it via the Appearance -> Header dialogue panel. It looks like this,…. Continue reading “zbench and photo headers”
I wrote two blog articles on the 2014 Budget, one pretty snippy about the patronising nature of the bingo and beer tax changes and the Tory boasting and one on the impact on annuity providers in the UK. Here are some of the sources I came across either before or after writing them.
I also made a note of some sources on annuity price theory.
While researching my articles on the UK 2014 budget, I wanted to write a quick note on Annuity prices, yields and interest rates, I came across nothing easy to find, but did come across these,
There is a companion wiki article on the UK 2014 Budget.
A loan involves a bank giving someone a wedge of cash in exchange for an agreed periodic payment.
An annuity involves a bank giving someone an agreed periodic payment in exchange for a wedge of cash.
They are the same thing! So we should be able to price them the same way.
This has changed since my days at Pyramid. There has been quite a lot of thinking and engineering about dealing with daemon logs. The places to look are via the syslogd, newsyslog project, you can see a the newsyslog man pages and using the keyword “rotate log”. The idea is that logs are rotated, although the names are not and that old logs are deleted. So the newest is called mypackage or mypackage.0 and the older logs increment the counter. Logs are generally kept in /var/log or /var/log/package_name and not in the package or product install tree. What a nob? There is a command ‘logrotate’; it can be installed using macports. It needs a a configuration file. Continue reading “Log Rotate and *NIX”
It’s UNIX, how hard can it be? I want to run some Macports uodate scripts regularly. To me the obvious programming language is bash, but I got excited and decided I want to notify that the script had run, and run OK.
There are two schemes, Growl and OSX Notification system. These both have language bindings.
So most roads lead to Applescript, and here is the Apple developer resource, and here is the man osascript page which allows applescript calls from the command line, and hence from within a script. I have bookmarked the applescript manual.
The shell call osascript takes a program file argument.
WordPress has a virtual robots.txt file; best not to muck around with the filesystem. There are a bunch of plugins to allow you to edit the robots.txt. Continue reading “WordPress and robots.txt”