Twitter Weekly Updates for 2010-11-14

  • OH: @bryns 'we're not water boarding them yet' … #Gregynog #
  • .@bryns has made a student cry during interviews. Result! #Gregynog @abercompsci #
  • The Sat Nav entrance. Nice. http://twitpic.com/36eix1 #gregynog #
  • Let's try http://www.favoriterun.com/295867 – you know where to send search and rescue if I blow up and fail to return. #annualGregynogRun #
  • http://twitpic.com/368u7s the hard working industrialists. #
  • Cv reviewing. Hard work. http://twitpic.com/368tb8 #
  • Hello Gregynog. #
  • RT @madeupstats On average, a man will walk 70% further than a woman during his lifetime, yet buy only one fifth as many pairs of shoes. #
  • Crap! Robin Hood airport is closed. You've got a week to get your shit together, otherwise I'm blowing the airport sky high!! #IAmSpartacus #
  • Guess it's time to head off to Gregynog for me too… 2 days of interviewing students… hmm… #
  • RT @GeneHunt Tried a new machine at the gym. It made me feel sick after an hour's use – it's got KitKats, Mars bars & crisps in it. #
  • RT @paulmatthews86 http://bit.ly/680Ajy <– I couldn't have described it better myself #
  • Stupid French people – Renault can name new car Zoe as girls' case rejected http://www.bbc.co.uk/news/world-europe-11732595 #
  • Great PR there Amazon – Row over Amazon sales of paedophile advice guide http://www.bbc.co.uk/news/world-us-canada-11731928 #
  • Go away cold. It's time to move on to someone else. #
  • a world of tweets – 'degrades gracefully to flash on older browsers' 🙂 http://t.co/H3wtsYz via @aworldoftweets #
  • ,@rowangoodwin slept till 8:50am. 🙂 #
  • Ah. I love invoicing people. It's a good day. Aside from the burnt smell. #
  • Twitter vs toaster. Twitter won. http://twitpic.com/35lb4d #
  • Baked beans, chilli, garlic etc seem to be a lethal smelling combination. Perhaps I should stay away from work today…. #IHateMyBoss #
  • Coffee flavoured semolina wasn't a total failure. I wonder what else I could add coffee too…. Hot chocolate, cakes, ice cream, milk ….. #
  • Dear Server; When I stay up late to reinstall you, please try to behave. If I had physical access, you would have been kicked. Very hard. #
  • Wow. We might manage to be on time for #phpwm tonight. Dare I say 'early'… Perhaps me not driving is why…? #
  • Stupid body. Was fine while running but enjoyed coughing once I got home. Still. My lungs might be purged now. #
  • RT @GeneHunt I'm just buying a Marathon, Opal fruits, some Jif and Oil of Ulay for the girlfriend..at least some things will never change. #
  • RT @GeneHunt The girlfriend tried my handcuffs on for size…now that's what I call a charm bracelet. #
  • Kcachegrind or valkyrie running on a xdebug output file kills X on maverick 🙁 webgrind doesn't fail at least. Stupid computer. #
  • Hey. Not bad @rowangoodwin. I'll settle for an 8am wake up if you insist. #cleverkid #happydaddy #
  • RT @GeneHunt Funny how attractive women always drive cute little cars.That reminds me, the girlfriend's Panzer needs an MOT. #
  • *cough* *cough*. Think I need to purchase some anti-cold stuff. Wish the rain would go away too. #

Twitter Weekly Updates for 2010-11-14

  • OH: @bryns 'we're not water boarding them yet' … #Gregynog #
  • .@bryns has made a student cry during interviews. Result! #Gregynog @abercompsci #
  • The Sat Nav entrance. Nice. http://twitpic.com/36eix1 #gregynog #
  • Let's try http://www.favoriterun.com/295867 – you know where to send search and rescue if I blow up and fail to return. #annualGregynogRun #
  • http://twitpic.com/368u7s the hard working industrialists. #
  • Cv reviewing. Hard work. http://twitpic.com/368tb8 #
  • Hello Gregynog. #
  • RT @madeupstats On average, a man will walk 70% further than a woman during his lifetime, yet buy only one fifth as many pairs of shoes. #
  • Crap! Robin Hood airport is closed. You've got a week to get your shit together, otherwise I'm blowing the airport sky high!! #IAmSpartacus #
  • Guess it's time to head off to Gregynog for me too… 2 days of interviewing students… hmm… #
  • RT @GeneHunt Tried a new machine at the gym. It made me feel sick after an hour's use – it's got KitKats, Mars bars & crisps in it. #
  • RT @paulmatthews86 http://bit.ly/680Ajy <– I couldn't have described it better myself #
  • Stupid French people – Renault can name new car Zoe as girls' case rejected http://www.bbc.co.uk/news/world-europe-11732595 #
  • Great PR there Amazon – Row over Amazon sales of paedophile advice guide http://www.bbc.co.uk/news/world-us-canada-11731928 #
  • Go away cold. It's time to move on to someone else. #
  • a world of tweets – 'degrades gracefully to flash on older browsers' 🙂 http://t.co/H3wtsYz via @aworldoftweets #
  • ,@rowangoodwin slept till 8:50am. 🙂 #
  • Ah. I love invoicing people. It's a good day. Aside from the burnt smell. #
  • Twitter vs toaster. Twitter won. http://twitpic.com/35lb4d #
  • Baked beans, chilli, garlic etc seem to be a lethal smelling combination. Perhaps I should stay away from work today…. #IHateMyBoss #
  • Coffee flavoured semolina wasn't a total failure. I wonder what else I could add coffee too…. Hot chocolate, cakes, ice cream, milk ….. #
  • Dear Server; When I stay up late to reinstall you, please try to behave. If I had physical access, you would have been kicked. Very hard. #
  • Wow. We might manage to be on time for #phpwm tonight. Dare I say 'early'… Perhaps me not driving is why…? #
  • Stupid body. Was fine while running but enjoyed coughing once I got home. Still. My lungs might be purged now. #
  • RT @GeneHunt I'm just buying a Marathon, Opal fruits, some Jif and Oil of Ulay for the girlfriend..at least some things will never change. #
  • RT @GeneHunt The girlfriend tried my handcuffs on for size…now that's what I call a charm bracelet. #
  • Kcachegrind or valkyrie running on a xdebug output file kills X on maverick 🙁 webgrind doesn't fail at least. Stupid computer. #
  • Hey. Not bad @rowangoodwin. I'll settle for an 8am wake up if you insist. #cleverkid #happydaddy #
  • RT @GeneHunt Funny how attractive women always drive cute little cars.That reminds me, the girlfriend's Panzer needs an MOT. #
  • *cough* *cough*. Think I need to purchase some anti-cold stuff. Wish the rain would go away too. #

Twitter Weekly Updates for 2010-11-14

  • OH: @bryns 'we're not water boarding them yet' … #Gregynog #
  • .@bryns has made a student cry during interviews. Result! #Gregynog @abercompsci #
  • The Sat Nav entrance. Nice. http://twitpic.com/36eix1 #gregynog #
  • Let's try http://www.favoriterun.com/295867 – you know where to send search and rescue if I blow up and fail to return. #annualGregynogRun #
  • http://twitpic.com/368u7s the hard working industrialists. #
  • Cv reviewing. Hard work. http://twitpic.com/368tb8 #
  • Hello Gregynog. #
  • RT @madeupstats On average, a man will walk 70% further than a woman during his lifetime, yet buy only one fifth as many pairs of shoes. #
  • Crap! Robin Hood airport is closed. You've got a week to get your shit together, otherwise I'm blowing the airport sky high!! #IAmSpartacus #
  • Guess it's time to head off to Gregynog for me too… 2 days of interviewing students… hmm… #
  • RT @GeneHunt Tried a new machine at the gym. It made me feel sick after an hour's use – it's got KitKats, Mars bars & crisps in it. #
  • RT @paulmatthews86 http://bit.ly/680Ajy <– I couldn't have described it better myself #
  • Stupid French people – Renault can name new car Zoe as girls' case rejected http://www.bbc.co.uk/news/world-europe-11732595 #
  • Great PR there Amazon – Row over Amazon sales of paedophile advice guide http://www.bbc.co.uk/news/world-us-canada-11731928 #
  • Go away cold. It's time to move on to someone else. #
  • a world of tweets – 'degrades gracefully to flash on older browsers' 🙂 http://t.co/H3wtsYz via @aworldoftweets #
  • ,@rowangoodwin slept till 8:50am. 🙂 #
  • Ah. I love invoicing people. It's a good day. Aside from the burnt smell. #
  • Twitter vs toaster. Twitter won. http://twitpic.com/35lb4d #
  • Baked beans, chilli, garlic etc seem to be a lethal smelling combination. Perhaps I should stay away from work today…. #IHateMyBoss #
  • Coffee flavoured semolina wasn't a total failure. I wonder what else I could add coffee too…. Hot chocolate, cakes, ice cream, milk ….. #
  • Dear Server; When I stay up late to reinstall you, please try to behave. If I had physical access, you would have been kicked. Very hard. #
  • Wow. We might manage to be on time for #phpwm tonight. Dare I say 'early'… Perhaps me not driving is why…? #
  • Stupid body. Was fine while running but enjoyed coughing once I got home. Still. My lungs might be purged now. #
  • RT @GeneHunt I'm just buying a Marathon, Opal fruits, some Jif and Oil of Ulay for the girlfriend..at least some things will never change. #
  • RT @GeneHunt The girlfriend tried my handcuffs on for size…now that's what I call a charm bracelet. #
  • Kcachegrind or valkyrie running on a xdebug output file kills X on maverick 🙁 webgrind doesn't fail at least. Stupid computer. #
  • Hey. Not bad @rowangoodwin. I'll settle for an 8am wake up if you insist. #cleverkid #happydaddy #
  • RT @GeneHunt Funny how attractive women always drive cute little cars.That reminds me, the girlfriend's Panzer needs an MOT. #
  • *cough* *cough*. Think I need to purchase some anti-cold stuff. Wish the rain would go away too. #

Twitter Weekly Updates for 2010-11-07

  • Bromsgrove 4ths lost match. Perhaps 3-1. Well done Ludlow. #hockey #
  • Clearly to balance out the karma (lie in), @rowangoodwin is having many wee-accidents. Two sets of clothes now used :-/ #
  • I have the cleverest son ever. He didn't wake till 830am (on a saturday). Result. #
  • Now @aypok has finally learnt how to cook sausages. #fail #
  • Lloydstsb I am beginning to hate you. This card reader boll–ks is not helpful. #businessbanking #fail #
  • The sausage cooking preparations begin. #FatMinions #SausageWeek #
  • Now wishing I'd not had quite so much to eat for dinner. I might be waddling on the hockey pitch. 🙁 #
  • ProTip: Application feedback/suggestion loops are unlikely to be working if the SQL contains "…. order by rand()" #
  • RT @PalePurpleLtd Apparently we're in sausage week. Co-op has been raided and cooking is underway. #
  • "Daniel trusted god". And that is why he failed.

    Why does @rowangoodwin want all the trains? http://twitpic.com/33iqau #

Twitter Weekly Updates for 2010-11-07

  • Bromsgrove 4ths lost match. Perhaps 3-1. Well done Ludlow. #hockey #
  • Clearly to balance out the karma (lie in), @rowangoodwin is having many wee-accidents. Two sets of clothes now used :-/ #
  • I have the cleverest son ever. He didn't wake till 830am (on a saturday). Result. #
  • Now @aypok has finally learnt how to cook sausages. #fail #
  • Lloydstsb I am beginning to hate you. This card reader boll–ks is not helpful. #businessbanking #fail #
  • The sausage cooking preparations begin. #FatMinions #SausageWeek #
  • Now wishing I'd not had quite so much to eat for dinner. I might be waddling on the hockey pitch. 🙁 #
  • ProTip: Application feedback/suggestion loops are unlikely to be working if the SQL contains "…. order by rand()" #
  • RT @PalePurpleLtd Apparently we're in sausage week. Co-op has been raided and cooking is underway. #
  • "Daniel trusted god". And that is why he failed.

    Why does @rowangoodwin want all the trains? http://twitpic.com/33iqau #

This afternoon on #phpwm

Without trying to repeat too much others may have already, this afternoon on the #PHPWM IRC channel one resident seemed to be having a ‘lolwut’ competition, well – posting links which showed ‘lolwut’s (In english: highlighting security problems in web sites).

Sure, you might think, so what ? There will always be a website somewhere with a security flaw…. Except the websites in ‘todays’ list were from the top 10-15 google results when searching for ‘PHP Development UK’. The sites returned should reflect companies or individuals who are offering (one would assume) professional PHP development, and should therefore be clueful about such issues….

SQL Injection at large
SQL Injection / XSS in a 'professional' website

We came across someone claiming 6 years of professional web development experience – who was vulnerable to an XSS attack (subsequently fixed as I write this post, so there’s little point in me including a screenshot).

Of course, Akrabat then chipped in with a “I hope my work site isn’t vulnerable” type comment – so obviously we had to have a go at breaking it, just to put his mind at rest … and we nearly succeeded – I found an error message in an error page which outputted mostly unescaped input – it seemed to have some filtering in place, but we worked around this by inputting %3D type characters, converting IP addresses to integers and so on – which was an amusing experience.

The rest of us seem to be running WordPress, and as funny as this may sound, I suspect it’s more secure (at least out of the box) due to the fact more people have tried poking and breaking it. Unless your hosting is with 123-reg …. in which case it seems you’re going to be in trouble.

<rant>

If you want to avoid Cross Site Scripting (XSS) holes – make sure you escape or filter what you’re writing out – using either something like htmlentities or strip_tags or htmlpurifier. This must include error messages – if they contain any user supplied data. Every code base we have audited for third parties have contained Cross Site Scripting or SQL Injection vulnerabilities. This sucks. I’ve blogged in the past (although this was probably on my old drupal based website) about how easy this is to fix from an architecture point of view, if you’re writing something bespoke (which the sites in question seemed to be) – follow the MVC design pattern and when assigning data to the ‘view’ make it so that it is escaped by default (e.g. override Smarty::assign()). To avoid SQL Injection’s either use prepared statements everywhere, or use an ORM layer like Propel.

</rant>

(For the record – all sites were informed ….)

One vaguely interesting outcome from the above is that it seems obvious to me that I need to re-do the Pale Purple website – as it’s not really changed in 2-3 years now… which is perhaps not good. This time I think I’ll use WordPress, as it’ll mean I can stop supporting Drupal

Twitter Weekly Updates for 2010-10-03

  • I sweat. A lot. #
  • I think minecraft is overtaking the office. There's already an internal server. *sigh*. #
  • Hello orange shop and xperia 10 mini thing. I'm glad it wont be my phone (horrible keyboard) #
  • It wouldn't be the Post Office if there was no queue. #
  • Once were warriors #oneofmyfavoritemovies #
  • Mystery solved:
    grep -i 'drop database mysql' ~/.mysql_history |wc -l = 1. *sigh* (not my server, I just need to migrate site off) #mysql #

Twitter Weekly Updates for 2010-09-19

  • Welcome @LeaseDeskDotCom to Twitter. They have a very nice looking application (PHP/MySQL etc) *cough* #
  • Php / mysql performance blog post – removing the need for a separate 'count' query when searching. #mysql http://bit.ly/caEXlx #
  • Swinging in the park. #
  • You know you're going to have "fun" reviewing code when you see foo.php foo.20090101.php foo_old.php etc etc. #
  • Logging in to a website with username of "' or 1=1 or '". Result! #sqlinjection #security #

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 mountain bike out of the shed and started to cycle again and found a few interesting routes around Dodford.

No running, means no Nottingham Marathon. They did however send me the running top – so I can at least pretend to people that I did it – “Look! I have the t-shirt to prove it!”. I am hoping to start running again within the next week …

In other news, Bromsgrove Hockey club started to do some stuff again, although my one big toe appears to have been broken in the first game back (hint: keep your feet out of the way). The second time out (last weekend) was on grass, which bought back some memories and was quite enjoyable (if only 30 minutes play in total).

Pale Purple moved office (yes, so don’t ask: “Did you do anything nice on the August bank holiday weekend?” …). The cost of the office is effectively the same, but now we have more room and it’s a far nicer (not dim and dingy).

I’ve also joined the local RoundTable group – although I’ve not coughed up any membership fees yet, so perhaps I’m premature in saying “joined”. The first event involved driving a motor bike around a rough field in the rain (good fun) and the second involved playing Discus Golf. All good stuff, and the guys seem a great bunch.

Rowan’s started to potty train; Anya smiles and makes cute noises. I’ve had a hair cut. Fun times.

Oh, and work’s been busy and somewhat stressful, but that’s all hopefully over with now (as $site_migration is complete).