Categories
development php

Late to the performance party

Everyone else probably already knows this, but $project is/was doing two queries on the MySQL database every time the end user typed in something to search on to get the data between a set range (SELECT x,y….. LIMIT n, OFFSET m or whatever) and another to get the total count of records (SELECT count(field) ….). […]

Categories
Uncategorized

August 2010

I would start with saying that not a huge amount happened in August… but then having thought about it, I’d be lying. My right ankle is still in a state of disrepair – after hurting my achilles tendon … so no running, and I’m feeling fat / unfit as a result. I have got my […]

Categories
Uncategorized

Twitter Weekly Updates for 2010-09-05

Time to praise @Rowangoodwin for not waking up till 8am. What a clever considerate toddler. Shame I dozed on and off after 6 :-/ #

Categories
Uncategorized

Twitter Weekly Updates for 2010-08-29

Hammer and chisel = superior fridge de-icing 🙂 # Well the new office's dsl connection seems to be 80% working. Just no dhcp response. :-/ # Looks fun 🙂 What's your role @schwukette ? (@schwukette)http://yfrog.com/n1x5ejj # Wish the Chav family here could resist smoking in the playground. Grr. #arrowvalley # I have swingers shoulder. # […]

Categories
Uncategorized

Twitter Weekly Updates for 2010-08-22

Tonight I will be dreaming "single, double, king. £3". How can you keep shouting that continually for hours on end you horrible man? # Come on. DVDs are £1… Roll up.. Roll up. # A very fat woman just bought maternity trousers from. So glad I'm not her. #studley #carboot # My poor toe. http://yfrog.com/7dsy0zj […]

Categories
Uncategorized

Twitter Weekly Updates for 2010-08-15

Sorcerers apprentice 7/10. Better than inception. # pah, sorcerers apprentice.. i know what i meant. # Internet: last airbender or the magicians apprentice? # Today I did a total of 85 pushups thanks to the Hundred Pushups iPhone app. (Week 3, Day 1, Level 3) #100Pushups # http://www.bbc.co.uk/news/magazine-10965608 rise of the MAMILS (Middle Aged Men […]

Categories
Uncategorized

Asterisk – setting the caller id through an ldap lookup

Having just upgraded to asterisk 1.6, I was faced with the problem of callerid lookup no longer working. We’d previously used the external LDAPGet module to lookup against our internal LDAP directory – but the module doesn’t compile in 1.6, so here’s a quick and dirty workaround which requires you have ldap-utils installed on your […]

Categories
Uncategorized

Twitter Weekly Updates for 2010-08-08

Woke to the sound of lions roaring at 4am… (well I think it's the lions; not like the MGM lion) # Campfire's burning .. Campfire's burning…. Draw nearer. http://yfrog.com/eqc4fj # We're going to be camping at the safari park. ROAR! ROAR! # Today I did a total of 111 situps thanks to the 200 Situps […]

Categories
Uncategorized

Twitter Weekly Updates for 2010-08-01

Sea life centre – £10ish… Seeing your son run into a mirror twice in a hall of mirrors – priceless. #evildad # Apple Grammar fail (their != they're) http://store.apple.com/uk/product/H0462ZM/A?fnode=MTY1NDA0Ng&mco=MTM3NTE4NzA # Birmingham sealife centre for me today it seems. # RT @madeupstats 16% of the residents of Newark are unaware that their hometown is an anagram […]

Categories
Uncategorized

Grr…

Why would someone write Python and mix tabs and spaces. Do you really want to have random arbitrary bugs … grr…. :%s/^I/    //g Grr. grr. grr. stupid programmer. Grr.. That’s my final moan. honest.