A great problem

As Tank said to Neo during their first conversation, “it’s a very exciting time.”

In this case I’m not talking about the salvation of the human race from their mechanical oppressors, but rather all the books that are coming out in the next couple of months.

The last book in Robert Jordan’s Wheel of Time is due to come out at the beginning of November. I didn’t start reading the series until about half way through the release of the series, so I’ve not been waiting as long as some, but it’s still been a long 12 years since I read The Eye of the World for the first time. Over the course of the last year and a bit I’ve been re-reading the series, interspaced with other books, pacing myself to arrive at the 14th, and final, book for its release.

Another series that I came to quite late is Isobelle Carmody’s Obernewtyn. I was under the impression that there was only one more book to go, but it would appear that The Sending is the penultimate in the series. Given that Carmody has three other series with forthcoming books, I won’t be holding my breath for the final one, it will come when it comes and Elspeth will just have to wait.

Meanwhile Neal Stephenson has a new novel, Reamde, that has just been released and I somehow failed to catch Zero History being released, William Gibson’s latest book, and judging from previous releases the third and final part of his current loosely collected trilogy.

Meanwhile I’m reading La Última Mujer de Australia (The Last Woman in Australia), an odd post-apocolyptic (on the great southern continent only) novel written by a spanish author. Something I couldn’t resist buying when I found it in FNAC.

All in all, I’ve got books to read at least until Christmas.

Posted in Life | Tagged , , | Leave a comment

Summer in Granada

After recovering somewhat from the earlier parts of August, I headed down to Granada to spend a week and a half with Andrea and her family.

Of course, the big highlight was Bruno – Mamen and Jorge’s then two and a half month old son – who seemed to grow while watched him.

Andrea and I took a night visit to the Alhambra, the Moorish citadel built on one of the hills surrounding Granada, which was fantastic. I saw the Alhambra during the day when I was in Granada last easter, but getting to walk through during the night time was really magical. Unfortunately the low light condition didn’t make for a lot of photos, but I did get a few nice ones.

I’ve finally uploaded some photos so you can see what I was up to.

Posted in Life | Tagged , , | Leave a comment

Festa Major de Gràcia 2011

It’s the 22nd and the Festa Major de Gràcia is over for another year. Once again this year I was participating in my street, Carrer Progrés, helping with the decorations, hanging out behind the bar and seeing Igitaia play and even getting interviewed by an english language catalan news service.

The latter was used as the audio for a short clip attached to a story about the Festa Major, it seems like they didn’t go to any of the other streets to talk to people, so it mostly makes reference to our street.

This year we won 5th prize out of the 19 streets competing and also one the prize for best entrance, which made everyone in the street ecstatic.

One of my friends from St. Leonard’s, Beth, was here during almost the entire week of the festival, so I was juggling languages a little bit speaking english to her, catalan to the group from the street and the occasional castillian (spanish) as well. I think Beth enjoyed the festival, although she’ll have to come back another time to see what Gràcia is like during the other 51 weeks of the year.

Posted in Life | Tagged , | Leave a comment

Return to Guirilandia

The last few weeks have been a little hectic (now I’m on holidays from uni), so this is a little late.

A couple of weeks ago Andrea and I took a trip up the coast for a bit of sun and relaxation. We had picked a spot on the Costa Brava (the catalan coast to the north of Barcelona) called Santa Susana.

Unfortunately the weather wasn’t all that great, but we did get a bit of sunshine, mainly on our last day when Andrea even managed to get burned.

What we didn’t realise was exactly how full of foreign tourists the place would be, you could walk down the street hearing five or six different languages being spoken, and none of them were spanish, let alone catalan.

We even had one incident where a waitress didn’t speak spanish at all and we had to switch into english to get our drinks, although I suppose we shouldn’t have been surprised by that point.

Posted in Life | Tagged , , | Leave a comment

Mike Tyson

Just before starting my first year of uni, I went on a “camp” to get to know some other first-years.

There I met a guy who was about to start a degree in Computer Science. I studied Digital systems, especially in first year they were pretty much the same course.

His name is Mike Tyson. Although I think he goes by Michael more now – yet let’s not ruin a good story with technicalities.

A couple of years ago Mike and his girlfriend left Australia to go travelling around Europe in a campervan, during which time Mike has been writing iPhone apps.

In addition to leading an enviable lifestyle, Mike is a fantastic interface designer and the best iOS developer I know, he’s made some fantastic apps.

His latest app, a second version – including a complete rewrite – of Loopy, a live performance app for making loops and such. Perfect if you fancy yourself a beat boxer, or if you’re actually really good at it.

Recently it’s been getting quite a bit of exposure, and even the folks at Apple have taken notice.

So, if you’re at all into music, check out Loopy 2 – you won’t be disappointed, it really is bloody fantastic.

End note: Mike is a skinny white guy with blonde hair. To my knowledge he has no idea how to box.

Posted in iOS Development | Tagged | Leave a comment

Beginning Magma

My PhD research will make use of a software package called Magma, used for computation in number theory, algebra, algebraic geometry, and algebraic combinatorics.

Although I had briefly looked into Magma earlier in the year, I gave it more of a serious start this week. It’s a bit odd for me, since it’s essentially a programming language designed for mathematicians, not computer scientists. There is one thing has caused me serious conceptual problems, Magma’s array-type classes all use 1-indexing.

Allow me to explain (for Bruce’s sake).

Most programming languages have some sort of array structure, whereby you store a list of elements and later refer to them by their index, a sequential number referring to their position within the array.

Almost all programming languages use 0-indexing, which means that the first element in the list is at index 0, the second at index 1, and so on. Now, put this way it seems counterintuitive, in fact for most people it probably is. However there is a good reason for this style.

On older computer systems, every small operation counted for a lot, and simplicity was always one of the most important aspects. When you store an array, you’re just storing all the elements of that array side by side. Let’s says your array of 3 integers (whole numbers) is stored at address 1000, and each integer takes up 4 units of space, so you’ve got one occupying 1000-1003, another occupying 1004-1007, and the third occupying 1008-1011.

Now all you have to do is multiply the size of the array element (our integer at 4 units) by the index (0, 1, or 2 using 0-indexing) and then add the start address. This way, the first element (index 0) starts at (0 x 4) + 1000, which is just 1000, the second element (index 1) starts at (1 x 4) + 1000, which is 1004, and so on.

1-indexing is more intuitive to a non-programmer, the first element is index 1, the second element is index 2, and following on from there, but it doesn’t have the computational simplicity of 0-indexing, and since programmers tend to conform to their computer far more than they expect their computer to conform to them, it’s the norm. (I’m going to write about why this makes most of us terrible at usability another day.)

I’ve been programming for not quite half my life, and so 0-indexing is well and truly ingrained in my computer science mind, and now I come across Magma and its 1-indexing and I’ve been thrown completely.

My first reaction is to use 0-indexing, and so when I wrote my psuedo-code out by hand earlier in the week that’s what I used, changing it turned out to be more complicated than I’d imagined, and I can see this as being an ongoing problem.

Posted in Mathematics | Tagged , | 1 Comment

Maths just like I always imagined

Last Friday I finally got my own space in the Mathematics department at uni. Now rather than being in a shared (as in shared machines) lab I’m in a lab with six other guys who are doing their doctorates or have recently finished.

This means I have my own desk, and possibly most importantly, a space for my fruit bowl.

Today I had a very “just like I imagined moment” when one of the other guys in the lab got up and started writing out formulas and something else (harmonics?) on the blackboard that sits behind me. Having finished he stood there and stared at it for a while.

How much more like the mathematics you image (or see in the movies) do you want it to be?

Posted in Life, Mathematics | Tagged , | Leave a comment

Guardian consumer app of the week

The Water Water Everywhere app is currently the Guardian consumer app of the week, which is absolutely fantastic.

My favourite part is its ease of use rating, as a programmer that makes me very happy.

Posted in iOS Development | Tagged , | 1 Comment

Do you have an iPhone? Do you drink water?

Do you have an iPhone? Do you drink water?

If the answer to these two questions is yes, then you should go and download the Water Water Everywhere app from the App Store.

Water Water Everywhere is an initiative to reduce the amount of bottled water that people buy through the promotion of freely available tap water, be it water fountains or in pubs and cafés.

The Water Water Everywhere app shows you locations where you can get access to free tap water. It also lets you add your own locations, which once vetted will show up for everyone.

I worked with Ben Kay (creator) and Crystal Lee (graphic designer) to write this app, so, do your bit to help reduce the environmental damage and waste caused by bottled water, and download the free app.

Posted in iOS Development | Tagged , , | Leave a comment

¡Bienvenido Bruno!

At around 5:30 in the morning (local time) yesterday, Andrea’s sister Mamen gave birth to a healthy baby boy, named Bruno. He weighed in at a bit over 3 kilos, here are Andrea and I welcoming him (from Barcelona) and congratulating Mamen and Jorge, the happy parents.

(Yes, I’ve dyed my hair)

Posted in Life | Tagged | 2 Comments