I've been furiously porting my Ramaze CRUD helper from DataMapper to ActiveRecord and I've been quite surprised to find that it's only taken a couple of hours. I should hastily point out for non-programmer types, that CRUD stands for Create Read Update Delete – the four basic operations you can perform on a data entity.
The dome of the Stephansdom cathedral in Vienna is a cracking example of baroque excellence. Here is the view straight up. Right in the very centre of the ceiling of the lantern is a dove.
I nipped down to the local nature reserve today and it really felt like Spring had sprung. After the recent spell of miserable, cold weather, today was balmy and glorious with the smells of growing plants on the gentle breeze.
This is quite a special lager – brewed with champagne yeast it has a very fine, light bubble and it does indeed taste like a beery champagne. Imagine a very fine champagne with the sweetness replaced with dry pils bitterness. Certainly the lingering feel in the mouth is more champagne than beer.
I've noticed that a lot of the standard Python methods on lists and dictionaries don't return anything at all – they simply modify self and return nothing.
I ran into an interesting performance issue with my Google App Engine application, which I'm currently developing feverishly. It seems that if you use indexed array style access to an unfetched Query object, performance is atrocious. I'm fairly sure that it's doing a fetch for each access. It will also hit the 'DB' if you call count() on the Query object. Far superior is to explicitly fetch() from the Query to get a list, then use that. It's all fairly obvious really, but it took me a while to realise what was going on, perhaps because you can innocuously use the Query object as an iterator without this problem, which lulls you into a false sense of security.
A funny thing appears to be happening in the mortgage market, and it's of precisely no help to me, seeing as I just want to buy a house to live in. First some facts to set the scene.
- Bank of England base rate here in the UK is down at 1%.
- But you can't get a new mortgage with a rate any better than 5% if you only have a 15% deposit. That's the same rate you could get just 2 years ago, when the BoE base rate was 5.25% as far as I recall.
- 15% is a not unreasonable deposit by standards of recent years, and it's certainly a huge chunk of cash given the astronomical price of a three bed semi these days.
- If you have a 40% deposit, you can get a new mortgage with a 2.29% rate.
- The price of houses is by the way still about double what it was just ten short years ago.
The net result of this is that people with vast stacks of money just sitting around in savings accounts are realising that they're not getting any interest on their stash and might be better off investing in bricks and mortar. Seeing as they have these giant piles of cash they can pay a 40% deposit no problem and take advantage of the seriously cheap mortgage deals available only to the already mega-rich. I'm told by local estate agents that young folk are now streaming into their offices with their parents in tow (they supply the briefcase full of gold bars) to get their investment property sorted as a nice little earner.
We stumbled across Vienna's prime schnitzel place, Figlmuller's and ordered the house speciality for lunch. It more than covered the plate and was only about 3mm thick. It tasted like those breaded turkey burgers I used to eat when I was young, which was a little disconcerting. It was basically nice, but became a bit of a chore.