- .@rowangoodwin is still asleep. I wish I was. He's heading for 15 hours (with a few minor interruptions to be sick etc). #
- RT @Pewari Todayโs xkcd is *awesome*: http://www.xkcd.com/829/ #
- At approximately 10:30am a tin of Roses was delivered to our office. By 3pm the tin was empty. #
- The car thinks it's -10'c outside. I wish there wasn't on the inside of the windscreen. #canWeHaveSomeRainInstead ? #
- 10 print "hello world" #
- RT @madeupstats We can reveal that 41% of FIFA votes went to the losing countries, and 74% of them to Russia. #
- 3/10 b61 #uksnow (slowly falling and sticking) #
- Why…. Hello mailman. *delete delete* #
- RT @noradsanta 1 more day until the 2010 NORAD Tracks Santa site goes live!! #Santa #
- RT @madeupstats Interestingly, 25% of graduates are involved in demonstrating*.
(*Mostly TVs and steam irons in branches of Currys) #
- And this evening I have an ill toddler who's probably over eaten and about to chuck. It seemed a good idea to persuade him to eat & drink #
- Today I mostly fixed a poorly office pc; replaced hard disk, replaced ubuntu with Debian and so on. Unproductive day. Even played l4d2…. #
- HOME has been mounted 45 times without being checked, check forced. <cue long wait/> #
- RT @madeupstats Tonight, 2,400 tonnes of salt were used in Scotland and the North.
(Chips sell well in this weather) #
- Amazon – I do not appreciate seeing stuff I've bought (at full price) on sale, the day it arrives. This is not fair. #
- Dying hard disk detected. Stupid computer / day. Grrr. #
- Crap morning. Toddler -> drs; Work desktop failing to work (now using mac mini); productivity——- ๐ #
WordPress – selective proxy / firewalling
As mentioned before, I block most webservers I’m responsible for from making port 80 outbound requests. This helps reduce the likelihood of someone exploiting a vulnerability on one of the sites – as Apache wouldn’t be able to download some sort of root kit and so on.
Anyway, the firewall bit is relatively easy…. (This is shamelessly stolen from Bytemark)
……
/sbin/iptables -D OUTPUT -j no_www
/sbin/iptables –flush no_www
/sbin/iptables –delete-chain no_www
/sbin/iptables –new-chain no_www
/sbin/iptables -I OUTPUT -j no_www
/sbin/iptables -A no_www ย -m state –state new –match owner –uid-owner www-data -o lo -j ACCEPT
# ย DNS queries are fine
/sbin/iptables -A no_www ย -m state –state new –match owner –uid-owner www-data –protocol udp –dport 53 ย -j ACCEPT
/sbin/iptables -A no_www ย -m state –state new –match owner –uid-owner www-data –protocol tcp –dport 53 ย -j ACCEPT
# ย TCP/UDP/ICMP are blocked
/sbin/iptables -A no_www -m state –state new –match owner –uid-owner www-data –protocol tcp ย -j REJECT –reject-with icmp-admin-prohibited
/sbin/iptables -A no_www ย -m state –state new –match owner –uid-owner www-data –protocol udp ย -j REJECT –reject-with icmp-admin-prohibited
/sbin/iptables -A no_www –protocol icmp –match owner –uid-owner www-data -j REJECT –reject-with icmp-admin-prohibited
The annoying bit is that when this is done, WordPress’s admin panel becomes a bit useless… this can be cunningly fixed by editing the wp-config.php file and adding in something like :
if($_SERVER[‘REMOTE_ADDR’] == ‘78.105.96.188’) {
define(‘WP_PROXY_HOST’, ‘127.0.0.1’);
define(‘WP_PROXY_PORT’, ‘3128’);
define(‘WP_PROXY_BYPASS_HOSTS’, ‘localhost’);
}
So, if I’m browsing from my office PC, everything should just happily work.
Twitter Weekly Updates for 2010-11-28
- I'm at the great shrine to Christmas – Webbs 'garden' centre. #
- I love waiting in a car queue. It makes my day. #
- Fixed Adium Facebook account – recreated using jabber protocol. Before users weren't appearing online. #
- RT @madeupstats Despite legal threats, the makers of Lynx deodorant won't stop us from informing you that 34% of their customers are virgins #
- B61 2/10 #uksnow (now melt so I can play hockey later) #
- RT @rowangoodwin Good boy daddy! Thanks for the lie in till 850. #
- 0/10 #uksnow b61 (and don't come until tomorrow evening else you'll ruin the hockey match tomorrow) #
- 4/10 (apparently) #uksnow ld8 #
- RT @GeneHunt If the Winter Olympics were held in the UK and it happened to snow for a couple of hours…they'd probably be cancelled. #
- RT @GeneHunt Why do people make snow men instead of snow women? I suppose it takes too long to hollow out the head. #
- Was Palin's gaffe intentional to get attention / in the press? (http://www.bbc.co.uk/news/world-us-canada-11840828) </cynical> #
- B61 0/10 #uksnow just bloody freezing. #
- RT @madeupstats A study has shown: people who have already completed their Xmas shopping are more likely to harm sweet little animals. #
- Hint: avoid Birmingham road in Bromsgrove today. Broken m5 = broken Bromsgrove. #
- Employees seem to be in shock after discovering a SQL join in legacy php code…. #
- RT @madeupstats Last week, a record 3,500 men entered Paris Hilton*.
(*To dispel ambiguity, the hotel is the chain's largest in Europe) #
- Submitted annual return to companies house; issued receipt for a different company (unique id fail) & then their website goes down. Result #
Twitter Weekly Updates for 2010-11-21
- Wondering why a restaurant doesn't have it's opening times on it's website. #fail #
- Hockey: Bromsgrove 4ths v stourport, 5-0 win ๐ #
- This toddler sized hot water bottle is quite good. #
- Not sure why Lord Young resigned; I think he's right (the recession hasn't been that bad… dealing with the debt from it will be) #
- Starting a KDE program results in my X server restarting. Grr. Bad Ubuntu. One more reason to bring in the Mac Mini to work perhaps. #
- To hockey, and beyond. #Bromsgrove #hockey #letsHopeItsOnTonight #
- Time to run up Stourbridge road to The Swan. Then Hockey. You may spot me glowing in the dark. #
- I now have some AstroTurf hockey trainers. Hopefully ill spend less time on the floor now…. #
- RT @madeupstats The latest study by the Learning Skills Council shows a fifth of the population (25%) lack basic arithmetic skills. #
- Tickets bought for the feb php conference in London. #
- Ring ring…."Hello sir… Would you like a water cooler?"… Me:"No thanks we only drink coffee here". #
- FFS. Quickbooks – WHY do I need to have a new serial type number to activate this fricking thing? Do you hate me as much as I hate you? #
- Yesterday I upgraded to Quickbooks 2010; now there's 160mb of updates and it's lost the ability to integrate with mail client (thunderbird) #
- Why do I need to register you quickbooks when you have all my details via a license key? #intuit #crap #quickbooks #annoyingpopup #
- RT @madeupstats Emo's owe their name to their love of 'emotional hardcore' music?
Where does this leave fans of country and western music? # - I was about to moan about the cold and frost. Then I saw the lovely blue sky. Time to cough my lungs up anyway. #
- Goodbye #Gregynog Until next year perhaps. #
Pidgin / MSN – ‘Unable to validate certificate’
Yesterday, I was forced to do some work, at work, when Pidgin failed to connect to MSN. It has a hard day.
I use Ubuntu Maverick on my desktop, and started out using the ‘stock’ Ubuntu version. As this wasn’t working, my first thought was to upgrade to the latest Pidgin release. Before I’ve compiled it from source, but this time I just used a PPA (see here)
But still, it didn’t work.
Time to rummage some more – and I found the following bug report – so I added in my 2p, and waited. Eventually the following solution came up :
- Within Pidgin, go to Tools -> Certificates and delete the one for omega.contacts.msn.com
- Visit https://omega.contacts.msn.com and download the SSL certificate (e.g. if using Firefox, click on the SSL icon in the URL bar and then export it (save to file)).
- From within pidgin’s ‘tools -> certificates’ Certificate Manager click add, and add in the SSL certificate you’ve just saved.
Now it works again.
What is vaguely curious is why Adium (which I use on my Macbook at home) didn’t have a problem – I thought they [Pidgin + Adium] were built off the same code base, and expected it to break, but it didn’t.
Gregynog
Once a year, Aberystwyth’s Computer Science department take their second year students to Gregynog, for the purpose of preparing them for job interviews (mostly for the upcoming industrial year placements many students take between years 2 and 3). I’ve attended this for the last few years as an ‘Industrialist’ and help run mock interviews.
Initially when I first attended Gregynog as an Industrialist, it was because we [Pale Purple] were looking to hire an industrial placement student. For the last two years we haven’t, but it is still a very interesting weekend and I hope I’m able to provide something useful to the students and help them (besides it’s a free weekend away in quite nice settings ๐ )
This year, was a bit different from previous years – namely we had much smaller groups of students (5 as opposed to around 10); and it was spread over two days (rather than one) so we effectively had a lot more time with each student.
Anyway, aside from a nice weekend away in Mid-Wales and a morning run through the countryside chasing pheasants, squirrels and rabbits for me…. ย what else did we learn?
Students are useless at selling themselves
It was quite common for students to not include relevant, useful information on their CVs – for example, one said something like “experience with Debian based distributions”, what we discovered he meant was “I’ve owned a multi-user VPS for the last few years, running Debian. It’s a web server which hosts subversion repositories for projects I’m involved in”…. great, so why didn’t you say you knew about Version Control and Linux Systems administration then? Skills which are highly desirable for a web developer. Others had experience of MySQL, or CISCO qualifications which weren’t mentioned. I’m sure there was far more.
We learnt that some (perhaps 15-20%) had experimented and undertaken extra-curricular study – but finding this out was hard. “So you’re interested in 3d graphics – have you done anything outside lectures on this?” “Err…. err… oh, yeah, I’ve…..”
Online Presence?
Logic would dictate that a student who has a strong interest in web development would have their own blog or some other form of online presence where they could experiment and so on. After all, if you have a passion in a subject area (as so many claimed in their covering letter) you would think they’d have dabbled in CSS (and heard of CSS Zen Garden), Javascript (jQuery) or loads of other stuff. One student mentioned jQuery.
Of the 40 students I interviewed, about 2 had a URL mentioned within their CV. Perhaps 4 used Twitter. (As evidenced by the lack of tweets using the #Gregynog hash tag perhaps?). Those who claimed an interest in photography hadn’t included a relevant flickr URL and so on.
If I advertise for a job, I will narrow down the initial pile of CVs to around 5 – of those, I’ll have tried to research each applicant online (Google, Twitter, Facebook, Uni web pages etc) – if I find anything bad I might change my selection, conversely if I find something good (e.g. a portfolio) I’m likely to favour them. The first interview involves me spending an hour or more with each student where I’ll ask them to undertake a short code test (fizz buzz, recursion and a random PHP code critique) and score each. Hopefully I’ll then get down to 2-3 who I’ll invite back to our office for a much longer interview (1/2 to 1 day). This isn’t possible for each student at Gregynog, but I do repeat the same process to the group as as whole.
Students overrate their abilities
“Advanced PHP” in student-esque means “I’ve done part of a small module on PHP, and I couldn’t write a simple program to add up a list of numbers”.
On the other hand there were students there who had written PHP in a commercial environment, and had relevant experience, yet said hardly anything about it. About 5 had mentioned experience of WordPress, yet we knew that they’d all installed and experimented with WordPress as part of a first year module.
“Comfortable with SQL” actually means “I can’t write a query like ‘select email from users where id = 2′”.
Students don’t follow the news
Of the students I interviewed, 2 or 3 knew about the #TwitterJokeTrial; Few knew about Oracle’s handling of Java, OpenOffice (and many othersย at lwn)ย or people’s worries over MySQL. Hardly any were involved in any form of user group (aside from one or two who had been to Fosdem).
Some didn’t know what they wanted to do
Some students were clearly not interested in either job (Java developer or a web dev). In these circumstances it was fairly obvious this was the case from seeing the CV and covering letter – so I could often only open with a “So, what do you want to do when you graduate?”, unfortunately this was often met with “err… I’m not sure”.
Students don’t seem to understand the recruitment process
It seemed lost on many students, that vacancies can get 10-30 or more applications. And a non-technical person may be screening the CVs before they get through to someone technical. For this reason, the CV needs to include buzz words and common acronyms which are easy to read and spot. It needs to be ordered along the lines of “Name, Statement, Skills, Relevant Experience, Education, Work experience, Referees”, and not contain a long list taking up half a page of all their module marks from the first year or two of University and also their A-levels and GCSEs. At most, I’d expect A-levels and GCSEs to have a line or two each.
Covering letter / CV – TL;DR.
A covering letter needs to be brief – clearly state which job they are applying for, and be easy to read (not more than one side of small print). Make sure your name is clearly on the covering letter and CV. Obvious stuff, you’d think.
Spelling Punctuation and Grammar
I can’t claim to be perfect, but few students had spell checked their CV. The age old suggestion of using beer as a carrot to get their friends to review/read their CV and give them feedback seemed to be well received. I can but hope. (Note, I’m not claiming to be perfect here – but I’m unlikely to write ‘badmington’ or ‘Solarus’ or ‘java’ or ‘i ‘).
Summary
As a general rule, the majority of the CVs were good – but they could have been so much better. We all seemed to be banging on over the weekend how so many of the students were good – yet totally useless at selling themselves.
One student really shone out to me – he was clueful about open source stuff, had contributed to open source projects and attended conferences and was able to critique ‘my’ PHP code – even though PHP wasn’t something he especially knew or was interested in (SQL Injection, non-existant error handling, no form validation, separation of concerns, no documentation, no captcha to stop automated form submission ….). I’ve no doubt he’ll do well in his degree.
That’s enough for now.
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 #