Archive | January, 2013

First Code Kata

28 Jan
734743_401155376635520_616232747_n
Last friday we had our first Code Kata in the office. The theme was about how to create a Tick Tack Toe using any language or approach.

New poll: Would you rather…

28 Jan

Firstly let’s show the results of the current poll, which is:

  • A miserable genius 17.86%  (5 votes)
  • A happy fool 82.14%  (23 votes)

As you can see, eight times more of you would prefer to be a happy fool as opposed to a miserable genius. I think it is because it is better to be happy, independant fool than to be miserable in many ways.

I would prefer to be a happy fool than a miserable genius.

I would prefer to be a happy fool than a miserable genius.

This poll was created because Daniel Zombie once said that he would prefer to be a happy fool than a miserable genius.

So, let’s stop “filling sausages” and introduce the new poll:

Continue reading

Tips4Hackers: The Zen of Python

25 Jan

Python is a beautifully designed language, famous for being very elegant and succint. It also has this funny, laid-back attitude behind its community, something that comes straight from its creator and “Benevolent Dictator for Life”, Guido van Rossum, who decided to name the language after the famous British surreal comedy group Monty Python.

One funny easter egg hidden in the language is found when you type import this in the Python console:

Image

The “Zen of Python” was created in 2004 by long-time Python collaborator and guru Tim Peters, who tried to summarize Guido’s philosophy during the 10+ years they had been working together. I think these aphorisms are useful not only for Python programmers, but for any programmer, so I suggest everyone to read and apply them whenever possible:

  • Beautiful is better than ugly.
  • Explicit is better than implicit.
  • Simple is better than complex.
  • Complex is better than complicated.
  • Flat is better than nested.
  • Sparse is better than dense.
  • Readability counts.
  • Special cases aren’t special enough to break the rules.
  • Although practicality beats purity.
  • Errors should never pass silently.
  • Unless explicitly silenced.
  • In the face of ambiguity, refuse the temptation to guess.
  • There should be one– and preferably only one –obvious way to do it.
  • Although that way may not be obvious at first unless you’re Dutch. [1]
  • Now is better than never.
  • Although never is often better than *right* now.
  • If the implementation is hard to explain, it’s a bad idea.
  • If the implementation is easy to explain, it may be a good idea.
  • Namespaces are one honking great idea — let’s do more of those!

[1] Guido is Dutch

P.S.: In a couple of weeks, Rodrigo and Max will present a seminar on Python and Flask..stay tuned 🙂

Brazilian office video

18 Jan

 

Learn Brazilian

16 Jan

Naipe

  • Quality, class, kind, group of people.

Pessoas desse naipe são indispensáveis para o país que queremos ser.
People of this kind are essential for the country we want to be..

TIPS & NOTES
NAIPENaipe is also the word used for the four suits of playing cards that together make a pack or deck of cards. In Portuguese these are:

Copas – hearts

Paus – clubs

Ouros – diamonds

Espadas – spades

Oi! Tudo bem?

15 Jan

Capture1

image001

The international testing team, based in Sheffield, started their Portuguese language classes this week. Despite the fact they have little or no recent experience of foreign language learning, they appear to be enjoying their classes with Tribalingua.

In an exclusive interview Chris Hemmings, 26, said “oi… tudo bem… its fantastico!… tchau!”

Lessons take place online, conveniently, whilst they are sat at their desks in sunny Yorkshire and with their teacher in Brazil.

Monthly update… Magic Island

15 Jan

Magic Island

Magic Island

Continue reading