Category Archives: Random Ramblings

Hackference 2016, Part 2 – The Hackathon

<- Part 1: the conference
On Saturday, once everyone had got a good night’s ‘sleep’ (our hotel was just next to a loud club which only got quiet after 3am), we walked over to the Impact Hub.

Before I get started, I’m using the word ‘hack’ in the non-malicious form. Tabloids use the word ‘hacker’ to describe someone with malicious intent who steals data or takes down websites (for example, this article in the Mirror). We use it to describe someone who thinks the best way of learning is by doing. A hackathon is just a group of sleep-deprived developers playing with something new.

The event itself was free – paid for completely by the wonderful sponsors.

Before the hackathon started, not many people knew what they wanted to make (including me). Luckily the sponsors got a chance to inspire us with their products and announce their prizes. There was a variety of companies attending, each with some cracking prizes for the teams making best use of their services.

Continue reading

Hackference 2016, Episode IV: A New Hackference

Last weekend saw me heading to Birmingham to attend Hackference, a 3-day event for all sorts of programmers. There was a conference on Friday at the Electric Cinema, followed by a 24-hour hackathon at the weekend.

I’d never been to Hackference before, so I didn’t know what to expect. It’s a shame it’s probably going to be the last one though.

What follows is my account of the weekend, aided by plenty of tweets. The weekend was so jam-packed with stuff to blog about, so I’m going to split it up in two.

Part 1 – the conference

The Electric Cinema was a really cool venue. There were two screens, so two talks could happen at the same time. This was good because we could choose the talks that interested us most, but bad because most of the time I wanted to see both! Continue reading

Cosmonauts

I went on a spontaneous trip to the Science Museum yesterday to look at the Cosmonauts exhibition. I’ve always been a fan of space: my favourite book as a child was the DK Guide to Space; at the time I wanted to be an astronomer (strangely not an astronaut – I wanted to keep my feet on the ground), but then I realised that that should be more of a hobby than a career, so I went into computing instead.

The interest in space never really faded though. In 2012 while I was working at STFC, I helped out at their stargazing event for families. I operated the ‘Magic Planet’ – a spherical projector which would display the surface of planets and moons in the solar system at the click of a button. It fascinated adults and children alike, and inspired them to make comments like “That’s not Saturn, there aren’t any rings”, “That’s not how Uranus spins” and “Jupiter’s not supposed to be that blue”. I was able to answer most of the questions that were asked, reeling off facts I learned from another childhood book about the solar system.

A few years on from there and I’m now living in London, with the aim of getting cultured whenever possible. Yesterday was no exception.

The Cosmonauts exhibition ran at the Science Museum ran from September 2015 and today was its last day. It was focussed on the Russian side of the space race. I’d always thought that the Americans putting man on the moon in 1969 was the biggest feat, but the Russians had done so much more before that which kind of belittles the whole ‘Man on the Moon’ thing. It wasn’t a huge exhibition, but I somehow managed to stay there for 2 hours.

Here are a few photos with a bunch of interesting facts I learned along the way. Continue reading

Imojify! (bookmarklet edition)

At one point, when making my Imojify JavaScript library, I decided to make a bookmarklet which turns text into emoji whenever possible.

I mean, we all love emoji right? We use it all the time on social media. So I thought why not try and put it in more places on the Web? I thought I’d demo it to the folks at the most recent JSOxford meetup.

Continue reading

yellowbluepink

Last week I went to London with a few of my flatmates from first year. It was Halloween and we wanted to do something a little different. The first thing we did was visit the ‘yellowbluepink‘ installation at the Wellcome Collection, right next to Euston station.

It was a fairly large room filled with dense fog, lit in 3 colours. When we entered, the fog was thick but you could see the floor, ceiling and people from around 5m away.

Continue reading

JSOxford NodeBots Day

“The problem with hardware is that there is no version control” – Marcus Noble

JSOxford’s NodeBots day marks one year since I first used JavaScript (ish). At last year’s event I took an Arduino and used the johnny-five library to control it using Node. It was fun to make, but wasn’t really that impressive.

This time round, JSOxford had a bunch of Espruino Pico boards and plenty of hardware to hack around with, including continuous servos and wheels.

Continue reading

Realtime hacking with JSOxford

Yesterday I went to a hack day run by JSOxford. The theme was ‘realtime’, i.e. using Web technologies to update a site automatically from a data source.

Since I had no experience with realtime technologies before I came, I didn’t want to make anything too ambitious! I just wanted to learn the basics so that I could make something useful in the future.

Continue reading

Breaking News

I interrupt this extended period of non-blogging-ness to bring you news that isn’t interesting to anyone.

I’m not exactly what you would call a health freak. Since moving back to Bath to start my job I’ve been thinking “I should join a badminton club” or “I should join the gym”, but in 4 months that still hasn’t happened. As far as exercise goes, I walk to work every day – half an hour there, half an hour back – and that’s pretty much it.

I hate running. Sometimes I’ll try jogging to the Co-op (it’s literally just at the end of my road) but I always get so out of breath it put me off trying anything more strenuous.

But yesterday, the oddest thing happened. I woke up and thought “I should go for a run”. But it was a bit rainy that morning so I didn’t bother.

Then this morning, the weather was calm and bright, and I saw this tweet.

That tweet actually inspired me to put on my sports kit and (for the first time ever) leave the house with the sole intent of arriving back a few minutes later with an increased heart rate.

I ACTUALLY WENT FOR A RUN

And I did what the tweet said – I went on an incredibly short 1km run, but not quite as short as the one in Run Fatboy Run.

Turns out 1km isn’t very far at all, but I was still breathless at the end. Not quite a half marathon just yet, but maybe one day I’ll enter one!

Code Golf at Bath Ruby User Group

Golf: normally, unless it’s of the ‘Crazy’ or ‘Adventure’ variety (is there a difference?), I will stay well away from it. That’s mainly because my arms don’t swing and it involves quite a lot of standing and waiting around outside. However, yesterday evening I played a game of Code Golf.

The game goes like this – there are 9 problems (or ‘holes’ if you will), and you need to write a method to solve each one. The problems are fairly simple (I was reminded of first year programming), but the aim was to solve the problems in the fewest number of characters possible. This meant if you stood any chance of winning, you would have to squash your code into something compact and unreadable.

Continue reading

Bath Hacked guest blog

I wrote about my hackathon experience on the Bath Hacked website, but I thought I’d copy it over to this blog too.

What did you make?

We created a website that aims to help people decide who to vote for in the next general election. It visualises the results of past elections and gives unbiased information about the candidates standing for the next election.

Which data sources/tools did you use?

Our main data source was the BANES website, which contained all the data for the past election results. We also looked at the websites of the candidates for next year’s election.

What were the challenges?

One of the main challenges was collecting the data. Chris spent many hours trawling through the many pages of the council website to collect the data and put it into a spreadsheet, which was then uploaded to the data store.

What would you do to improve your project further?

Currently we only have past election data for 2011 in the Bath Constituency. We would like to add data for North East Somerset and for other years to help users discover trends.

We were also intrigued with the problem of tactical voting. We’d like to create an opinion poll to collect information on how people would like to vote if they didn’t feel the need to vote tactically. Perhaps this will be able to influence people’s decisions.

Where can we find it?

VoteTub isn’t online right now, but we plan on continuing development of the website. This blog post will be updated and we’ll tweet a lot when we bring it live.

Team