Hopeless Homeless

I may have mentioned that we’re buying a house, or houses … if that doesn’t sound familiar you should probably catch up and then come back to this page. So, to recap, the house isn’t falling down.

What I didn’t mention, because I didn’t know when I wrote that post, was that the final valuation of the house was subject to a satisfactory damp survey. The surveyor wasn’t happy to set a market value without a better idea of how damp-proof the cellar of the house was.

This is quite a long post, if you’re not feeling patient then just skip to the last paragraph at this point.

So, we commissioned a damp survey, some very accredited people that the estate agents had dealt with before. Its a house with a cellar containing a kitchen and a bathroom with little ventilation and no central heating, we knew it was damp but we thought some drying-out and better management of the space would help. The survey report recommended that the cellar be completely gutted, false walls and floors fitted, and sumps and pumps to deal with the moisture. At a cost of around 20,000 GBP. If pounds sterling isn’t your local currency then go and convert the numbers. It’s a year’s salary. It also excludes the cost of removing all wall and floor tiles and extending all electrical and plumbing features (so they reach past the new walls) and then refitting the large kitchen and the shower room.

So the damp survey went to the valuation surveyor and the valuation got smaller by the aforementioned 20k. The valuation went to the bank and our mortgage got smaller by the same amount … and so did our offer on the house.

Our revised offer has been refused. The vendor has put the house back on the market and asked for a copy of the damp survey. I feel like everyone else in the world can do do this right, get their foot on the ladder, be normal, and we can’t!! Anyway it looks like our stuff stays in boxes for a while longer …

One Pair of Fingerless Mitts

Just finished – and just in time as we’ve had snow here the last few days – my latest project! I knitted “fetching” from knitty.com, here they are:

(and yes, one little finger is always a bit crooked. The other one matched it until it got hit by a high-speed netball a few years ago)

I’m so proud of these little gloves, they were knitted on four needles – and with cables too!! The tension is a bit tight on the bottom of the first one that I did, I hadn’t knitted on four needles before and it was really slippery wool and I was struggling. Its Debbie Bliss Cashhmerino Aran and well worth the expense, only needed one ball so I’ve one left to make something else … suggestions please!

I should mention that my knitting had the right side on the inside of the tube when I knitted on the four needles. Apparently its supposed to come out on the outside so you can see what’s happening before you finish the item and can turn it the right way out but I couldn’t work that out without poking my eyes out with some of the needles at the same time :) Thanks to my knitting group friends for telling me to knit whatever way worked and especially thanks to mum for picking up and knitting the thumbs for me :)

Naturally Curly Hair

I had to post this, I’ve just lost an hour of my life on this website for people with curly hair naurallycurly.com. I’ve got hopelessly curly hair and lots of it so I can see me being a regular visitor to this site. As always, good to know I’m not alone!

The internet is great for that, whatever you are doing someone else is doing it to. What’s your favourite community site?

Open Office Custom Colours

Yesterday I was working on a document in Open Office and wanted to colour the background of some cells to match a diagram I had created1.

The choice of colours wasn’t great and there wasn’t a “more colours” button. After a few minutes of growling I went to Tools -> Options … and clicked on the colours menu item. Lo, and behold.

Not only can you add colours but you can completely alter the available colours for the grid. I can imagine this being a really useful tool for adding presets to assist with corporate branding or other situations where continuity is important and you don’t want to pick a non-corporate shade of green at any point when creating a document!

That’s my nice-software-touch of the week, what’s yours?

1 Dia is my diagramming program. Its interface is great, but its unlike anything else so expect to have to work at using it to start with.

Tiny Vim on Ubuntu

A new installation of Ubuntu exists at work and I’ve discovered that by default, it doesn’t come with real vim. The clue is in the error message:


E319: Sorry, the command is not available in this version: syntax enable

E538: No mouse support: mouse=a

To get things back to normal I needed to install vim and then alias it correctly. Using


which vim

I discovered that /usr/bin/vim was being used – this symlinks to /etc/alternatives/vim and that in turn links back to /usr/bin/vim.tiny. So I installed vim:


sudo apt-get install vim

and then changed the symlink in /etc/alternatives to point to /usr/bin/vim.basic instead – much better :)

Handknitters Handbook

A while ago my not-mother-in-law bought me this book and its been great so I had to sing its praises here.

Its not glossy or colourful, in fact the illustrations are two-colour, but its really useful. I’ve recently come back to knitting from crochet and I live some distance from either my mum or the book-donor so it can be hard to get a helping hand when I need one. This book is a knitting textbook and a great reference when a pattern calls for something fiddly to happen!

Watch this space for my latest (rather complicated) knitting attempt :)

PHP register_globals is ON

I started writing PHP when I was at University, in 2001 or thereabouts. Having checked the dates it looks like I did technically write PHP before PHP 4.3 was released and register_globals went out of fashion. I don’t recall it though and obviously its been a while!

Today I was trying to debug a script which uses register_globals on, virtually for the first time. Its a new working environment for me and a situation where support is still being provided for some legacy systems. Trying to track where values are coming from, or might be coming from, was quite mind-bending. Its like having voices inside my head while I’m trying to concentrate on something!

There’s more where that came from so if anyone has any suggestions for debugging a language where the variables seem to come from nowhere, or can remember how to work with PHP with register_globals turned on, I’d be grateful :)

Happy International Womens Day

I know I’ve been a bit quiet this week, new job is keeping me occupied … which its supposed to! I had to pop up and wish you all a Happy International Women’s Day, today 8th March.

Yorkshire Wool Shops

There was a recent post to the Leeds Knitterati mailing list (the local knitting group) asking about local wool and equipment suppliers. I replied mentioning The Wool Shop and another member sent this which I had to share as its so good!

There’s also quite a good shop at the top of Eastgate (by all the bus stops), and one at the top edge of the Market hall (opposite corner to the Corn Exchange.) Samuel Taylor’s have minimal stuff (also now own the other haberdashery stall at the top of the market) but their warehouse has damn all – just more and more paper crafts stuff. There’s a nice little shop called Cath’s Sewing Box in Austhorpe Rd, Crossgates but her range can be a bit limited.

Anyone else still mourning the demise of Worth Knitting?

There’s Texere at Barkerend Rd in Bradford, who will ship, but it’s easier to pick up. Not sure if Ramsdens (Wendy etc) and Rowan allow colecion/ have a mill shop. Might be worth investigating.

Anthea

So thanks to Anthea, for te suggestions and for allowing me to repost what she wrote. There were a few replies to this which mentioned Coldspring Mill too.

UK PHP Conference: The Roundup

As promised, here’s a more in-depth update on our trip to the PHP London Conference last week. I’m sure there are others who will write more fluently and accurately about the talks, but here’s what I brought home from it.

Cal Evans: My First Mashup

Cal is a personal hero of mine, as I said earlier, so I was really looking forward to his talk. He did a simple mashup of two APIs which tracked a UPS package to its destination on a Google Map. He used APIs from both companies and had a working demo to show.

Although he showed JSON and XML data formats, he mostly seemed to be using XML and had some good things to say about the SimpleXML functions now in PHP 5. For making the API calls he used script.aculo.us.

From the talk I came away with a clear picture of how a mashup goes together and a sense of confidence that when a project comes along for me that needs it I’ll just dive right in. I saw the whole API idea in action when writing PlayTAG for the PHP Throwdown. Cal also pointed us at http://www.programmableweb.com/ which looks like a good resource.

Simon Laws: Web Services

Simon was talking about a project he and his colleagues have been working on to create consumable services, which followed on nicely from Cal’s talk. The project is a PECL module and their page is at www.osoa.org, its good to see business contributing so nicely to the community.

The idea of the project is that you can write some class-based functionality and then expose that to be called as a service by some external script. It was interesting and the talk was well-prepared with demonstrations and code snippets all at different points along the development that Simon walked us through. My personal favourte moment was him typing “phuk” rather than “phpuk” into a sample input … perhaps that just my twisted sense of humour. One thing that really impressed me was that they had spent a lot of consideration about making different formats available and providing various bindings for accessing the services. Some of that information about what’s available for what type of service is held in phpDocumentor-style comments at the moment but it could easily be generated as a static companion file or something further along the line.

Best of all was getting to catch up with Simon and his colleague Caroline (a PHP Women friend of mine) at the event after the conference and ask them a bit more about their job. They were both interesting and friendly people.

Kevlin Henney: Objects of Desire

Kevlin was very brave to come and speak as he’s not a PHP-er himself most of the time (or so he claimed). He was talking about the PHP implementation of Object Oriented Programming in comparison with other languages including Java and C++. His talk was based around a series of questions and he was a very entertaining speaker.

His perspective of coming from a wider background than just the single language was very interesting and I did feel that it gave a much more balanced perspective on the topic. The talk was based on answering a series of questions and this worked very well. In particular he was talking about unintended properties of objects and illustrated this by showing that his bottle of cough mixture had the property “throwable”, as it was quite small and aerodynamic … I did warn you he was entertaining :)

Rasmus Lerdorf: Fast and Rich Web Applications with PHP 5

Rasmus Lerdorf is the godfather of PHP and a nice guy. I’ve heard him on podcasts, own some of his many books, and have even corresponded on forums with him but not seen him in the flesh before so this was interesting. He was talking about PHP5 and then went on to answer quite a few questions which was very interesting. At the beginning there was a problem with the wireless in the venue and he raised a smile around the room by putting up a slide which showed photographs of:

  • a ship in the Mediterranean
  • a field in India
  • a mountain in Cambodia

And then explained that these are all places where he has given talks and wireless internet access had been arranged … we were in Central London!!

Rasmus talked about the movement to PHP5 and adopter rates and barriers. He recommended using the Filter functionality in PHP for all input variables and gave some good examples. His other recommendations included making use of the static keyword where appropriate to prevent unexpected usage or extension of methods, and also use of the -l switch for checking PHP4 code prior to deployment for PHP5.

Conclusion

For an even costing £50 and organised by volunteers it was an excellent day! There was coffee available at every turn and lunch was provided, they certainly knew how to take care of geeks. Attending the pre- and post-event socials definitely led us to get more out of the whole experience and meet some very interesting people. It was well worth the effort and I’d certainly recommend this to anyone interested in PHP for next year.