Today, well this week, has basically burnt a hole through my desk. I have been working on a massive data scrape project, with a ridiculously large data set – we’re talking phd student would barely touch it big. In terms of the research you could do through it, well it could make you papers for years, and I mean papers in both senses you street smart academic kids. Word!
The problem is, and this is so often the problem is that the database is too big. Which is fine, if you want to just admire it, like a Tower of Babel skyscraper. But then you say something like I need to get to a floor. So we build stairs into the skyscraper. Great. Floor one is easy. Ahhhh, but you need to get to the roof, ok, so more stairs, but this is a longer process now. So getting to the roof is hard. So we buy a helicopter and we can now fly people to the roof, but only a few at once and when the helicopter is in the air it can’t help, and the helicopter only wants to come down when full because environmentalism.
So we build a lift right, but then people want to go as fast as possible to the top, so they want express lifts or lifts that do big jumps in floors, but then so many lifts are built to allow for people to jump random amounts of floors there is nothing on those floors and no one wants to go to them so we have a huge set of lifts and a helicopter and a worthless skyscraper. Well, an even more worthless skyscraper.
So we figure we don’t need people to come down on lifts as slides have been invented and install a massive helter skelter round the skyscraper but then how do people get on safely and uh oh. But in other news we have some lovely spiral guttering and the building’s roof never suffers from standing water.
So we smash a hole through each floor and everyone who comes gets a jetpack. But then we need to offer jetpack training to all new staff and that’s hard to do as jetpack training is a dying art thanks to government underfunding.
So then what we do is send an algortihm at it and work out which people need to be on which floors most of the time and which don’t so everyone is near the things they need and far away from the things they don’t. But the company grows to quickly with the increased productivity, and needs more floors and the algorithm can’t work it out anymore so gives up and goes to play chess instead.
So there’s no answer left, so we buy all the land in an easterly direction from the skyscraper and knock the skyscraper over and have one massive floor. We sell the jetpacks and the helter skelter.
Or in other words I forgot to index one column in the database and so the queries took forever (it was going to take 10 days to do). With indexing it’ll be done in three hours.
But remember the solution is to knock down skyscrapers as soon as possible. For all problems.