My Google AI Tron Bot

Tim Wintle - March 4th, 2010

Over the past few weeks I’ve been spending my free time taking part in the Google AI competition (organised by the university of waterloo).

While I didn’t end up doing so well (I was disqualified for taking just over the 1 second per move permitted in one of my games), I thought I’d post how I went about the problem. Many of the other contestants used similar algorithms, but for those who haven’t been following here’s the full thinking behind it:

Read the rest of this entry »

Crowds keep your sysadmins awake

Richard Barrell - March 3rd, 2010

We host a number of clients’ websites for them on our own servers. It’s convenient and it saves a lot of deployment headaches, since we know our machines like the backs of our hands.

Yesterday was one of those days.
Server load. Flat until yesterday, when a big spike appears. Another spike appears today.

This chart shows the load average for one of our webservers. It’s – roughly – a measure of how busy the machine is at any given time. As you can see, one of the sites being hosted by that server suddenly started getting hammered around lunchtime yesterday. All very exciting.

If that weren’t excitement enough, the load surfaced a concurrency issue in the site, which had lain dormant until that point. It wasn’t causing data corruption (thankfully – professional ethics would require that I commit seppuku right now if it had), but it was slowing the site down and causing exceptions to get returned in full sight of innocent users.

Cue an immediate dive into the sources to find out what was wrong. By seven o’clock we’d tracked down the issue and designed and tested a viable fix, which both sped the site up and made it possible to spread the load to a second server. Too late for the initial flood, unfortunately, but in plenty of time to help the second wave of visitors which started up this morning.

The final numbers aren’t in yet, but it appears that we’re seeing even more responses today than we did yesterday – and the servers are holding up far more smoothly, with much better response times. It’s stressful when the sky falls in on your head all at once. You feel more alive afterwards, though, for having survived it.

Incidentally, the above graph was generated by Munin, a truly beautiful piece of software. It’s like a heart monitor for servers.

Crash-Talk: David Gilroy from Conscious Solutions on effective selling

Adam Cardew - March 2nd, 2010

A couple of weeks ago, David Gilroy from Conscious Solutions came to give a select few of us at Team Rubber a crash-talk in selling. I won’t give away any of the secrets shared with us in this post, but it focused on the different approaches to sales that his company uses. Detailing to us how his team is built in such a way to take prospects through the sales pipeline and underpinning attitudes enabling them to achieve their targets. Other, less obvious techniques (all above board of course) were equally intriguing, and those who were fortunate enough to be in the crash-talk certainly came away with heads buzzing. Even two weeks after, new ideas inside Team Rubber are still emerging from the talk and I think it’s safe to say that it really helped many of us.

Many thanks to David for taking the time to come and chat to us. Crash-talks are definitely of great use – more of the same please!

Fibre in Paradise

Andy Parkhouse - March 2nd, 2010

Bristol offers what 87% of America’s towns and counties lack: the optic-fibre internet.”

Right story, wrong Bristol.

Interested in helping get fibre for Bristol, UK? Try Connecting Bristol.

Delib’s Dialogue App makes debut at GSA webinar

Ben Witnall - February 26th, 2010

We were excited this week to have the opportunity to introduce Delib’s Dialogue App to a whole bunch of US government staff at a GSA webinar. It was slightly strange talking to an audience that you can’t see or hear but I think it went well. We set up a demo especially for the occasion – check it out at http://www.dialogue-app.com/gsa-demo

You can also take a look through our slideshow if you want:

Hopefully, it got people thinking about how they can use the internet to improve their decision-making/policy processes anyway :)

The Dialogue App is another cool thing built in the open source web framework Plone.

Prefer to spell it Dialog App? We’ve got you covered :)

Nice Space for Rent in Bristol

Andy Parkhouse - February 26th, 2010

There’s some nice space in our building coming up. Easy-in, easy-out.

35 King Street, near the Old Vic.

It’s an awesome building, very close to St. Nick’s Market, the Apple, the Royal Navy Volunteer and other important amenities. Plenty of bike parking!

See a picture!

Give me a shout if interested andy@teamrubber.com


View Larger Map

Game Review- Tony Hawk: Ride

Tim Wintle - February 23rd, 2010

Last week was my birthday, so I’m now the proud owner of the new Tony Hawk game – “Ride”.

I’d seen some really bad reviews on-line, so I wasn’t 100% sure what to expect, but having played it quite a bit now I’ve got to give it great marks – and for anyone considering buying it I thought I’d post my feedback.

Several other reviews have cited difficulty in using the controller (a life-size skateboard), and a steep learning curve; I certainly haven’t found either any greater than a normal console game.

In fact, I can only assume that the poor reviews have come from gamers who have been playing with game controllers for so long that they can’t remember what it’s like to learn to control a game from scratch – Yeah, at first I had to think really carefully about how to perform moves – but I have to stop and think whenever another game says “press triangle” – so I can’t say it has a tougher learning curve than any other game.

Another problem I’ve read about is a couple of physics bugs – here I’ll admit I have had a couple of moments where the camera has got stuck in a weird position somehow (I’m assuming its’ a problem with the normal on a couple of objects), although it’s fixed itself within a few seconds. In many hours of playing I’ve only seen this happen twice though – and I’m not sure I’d want a skateboarding game with absolutely perfect physics – it would be far too depressing :-)

All in all, I think the controller works great – and I feel like I’ve had a thorough workout after a long skate session. I haven’t found any time yet… but I’m hoping I can get the controller wired up to my laptop – Tux Racer could get a lot more fun :-)

With all that said, I’ll leave you with a video :

YouTube Preview Image

How to make Mac Keynote presentations smaller? Top tip – Default to JPEG…

Matt Golding - February 21st, 2010

Is your Keynote programme being a big fat c*ck pain in the neck?

At Team Rubber most of us use Mac’s all day every day. Ever use the Shift + Apple + 4 screenshot function? We all do. Ever noticed how sometimes Keynote presentations suddenly inflate in size to make you think “Have I accidentally embedded the Beatles back catalog?”.

Well this seems to be one of those ridiculous quirks of macs. It seems to be because the screenshots on a mac create PNG files. And when you embed PNG files in Keynote they for some reason become huge. Upwards of 30Mb. Bit rude to e-mail.

So the solution is to make your mac take screenshots as JPEG’s. And its really easy.

1: Go to Application -> Utilities and open Terminal.

2: Copy and paste this line of code (minus the arrows) in and hit enter.

>> defaults write com.apple.screencapture type jpg

3: Restart your computer.

Voila – your computer takes screenshots as JPEGs and Keynote stops being such a pain = <10Mb presentations.

That has to be my geekiest blog post ever. I hope its useful. To balance the internet Karma here is a picture of Keith Richards.

Keith

Keith

iFeatures blogs launch

Matt Golding - February 16th, 2010

The iFeatures blogs (which we’re in the finals of) have launched over at the iFeatures website. Check out our team blog here and all the teams in the iFeatures final here.

Our project is called “The Bristol Job” and is a family heist movie about an 11 year old girl who discovers her parents are too poor to pay for her last school trip so decides to rob a bank with her two best friends.

C08FEEA7 45B7 45AB 802B E6EC7612688A iFeatures blogs launch

Bath openMIC #4 – Mobile Web, HTML5 and CSS3

Robin Greene - February 12th, 2010

openMIC

Yesterday, I attended the Open Mobile Innovation Camp at the innovation centre in Bath. The event was hosted by Chris Book and had talks from Giles Turnball (Freelance Journalist), Bruce Lawson and Patrick Lauke (both from Opera). The focus of the day revolved around the current trends in mobile app development and the tensions between Native, Web and Widget apps.

The day kicked off with tech writer Giles Turnball talking about how technology has turned the press industry upside down. He recounted tales from the 90s of infra-red modems, Palm Pilots and GoType keyboards, and being one of the first journalists to actively embrace remote reporting and email. Although initially laughed at, remote journalism is now standard and Giles encouraged us not to neglect advancing technologies, but to learn about them and look to integrate them into our businesses and working lives.

Next up was Richard Spence who ‘controversially’ spoke about non-iPhone development. He reminded us that only 8% of the mobile market is iPhone whereas 71% is browser based. Richard didn’t slag of the iPhone, on the contrary, he “thanked Apple from the bottom of his heart” and agreed with Stephen Fry’s eloquent observation:

Does anybody seriously believe that Android, Nokia, Samsung, Palm, BlackBerry and a dozen others would since have produced the product line they have without the 100,000 volt taser shot up the jacksie that the iPhone delivered to the entire market?

Richard went on to give a brief history of mobile development platforms and where they are at now. J2ME, Blackberry and Symbian were all covered and commended for their recent improvements in the light of the ‘iPhone effect‘.

The final talk of the morning was from Bruce Lawson from Opera. Bruce was in jovial mood and was quick to evangelise the latest Opera Beta which claims to be the current fastest Javascript engine. Bruce championed the W3C Mobile Web Best Practices and also highlighted some of the UX and accessibility challenges that await. Bruce emphasized the importance of optimization and minimising HTTP requests. He went on to talk about future advancements in HTML5 and CSS3 and the features that the latest Opera already supports. One particular point of interest for me was the use of Media Queries to change CSS layouts dependent on screen size, without JS sniffing. Bruce finally talked about the potential of Widgets, that Opera are involved with in editing the W3C standard.

After a lunch at the local chinese and heated debate on technology, we broke into smaller groups for our barCamp sessions. The philosophy of barCamp is to create open group dialogues about an agreed topic and to work / explore collaboratively. I attended a discussion on HTML / CSS3 with the guys from Opera, and for my second session W3C Standards for Mobile Web. Both sessions were really insightful and was particularly interesting to hear peoples’ comments from the mobile industry on mobile web.

I also picked up a couple of useful tools:

Native Mobile Development Platforms for Web Developers

Appcelerator Titanium

PhoneGap

W3C Mobile Validator

http://validator.w3.org/mobile/

Perhaps most surprising, coming to the event as a pure Web Developer (with past dabblings in mobile), I certainly didn’t feel like an outsider or feel like the technology was flying over my head. In fact, I came away with an increasing awareness that, whether I like it or not, Web Development is not simply going to be solely about the Desktop. As hopes of an archaic browser death is on the horizon, another friend is also lurking. In our discussions on Mobile Web Standards, we were reminded that the largest mobile usage is not in China, the US, or Europe, but in developing countries. If the days of IE6 support is numbered, then the days of mobile WAP support may be coming back from the dead!