04 March 2012

How can you tell if a person is a programmer?

Programmers (and computer "nerds" in general) are strange beings. Their natural state is stuck in front of their computer, hammering their computer furiously, and writing stuff even a polyglot couldn't understand. But even when they're not programming, their behavior and way of living are so typical of their kind that could be recognized from miles away. Am I right or what?

What follows is a list of little expressions that give away the programmer's profession. The expressions were taken from the site Stack Overflow, which is a Q&A site for programmers (obviously). The expressions that follow are some of the most voted ones.

Having said that, you can tell if a certain person is a programmer if they:

  • Use parentesis inside parentesis in their normal writing (at least that's what I do (sometimes)).
  • Start counting from zero instead of one and consider 256 a round number.
  • When asked a simple question like Would you like a cup of tea?, they make a small pause before answering, like if they were saving their previous thoughts on disk before processing the question.
  • (Alternative) When asked a simple question like Do you prefer A or B they answer Yes.
  • Are more interested in buying and choosing a keyboard than in cars, shoes, etc.
  • Interpret the questions as precisely as possible, like for instance:

          Wife: Do you want to take the trash outside?
          Programmer: No. (I could go, but I don't really want to...)

          Passer-by: Do you have the time, please?
          Programmer: Yes I do.

          Wife: Bring me a loaf of bread, and if there are eggs, bring 6.
          Programmer: OK.
          Wife (after the buying): Why did you bring 6 loafs of bread?
          Programmer: Because there were eggs.

  • Laugh at stupid jokes like "There are 10 kinds of people: those who understand binary and those who don't".
  • If asked what languages do they know, they list a whole bunch of them but never say "English" or "German".
  • After a long conversation they try to remember where did the conversation started and what steps did they take to get to the current point.
  • Have a tendency to end their sentences with a semi-colon;
  • If asked to solve a problem, they list all possible and imaginable ways to solve it.
  • Male programmer: when he sees an attractive woman with a last generation cell phone in her hand, he looks at the phone first.
  • Say their favorite color is #0000FF.
  • If asked which kind of computer do they use, they cannot answer with just one word (well, unless it's a Mac).
And finally:
  • It should be noted that no ethically-trained programmer would ever consent to write a "DestroyBaghad" procedure. Their basic professional ethics would instead require them to write a "DestroyCity" procedure, to which "Baghdad" could be given as parameter.

01 February 2012

Powerful you have become, the dark side I sense in you

You might not get it from the title, but this is still about the german language. It is still the strangest thing I've been experiencing here, and thus the most fascinating. Like we say in Portugal, to speak German you just have to put a hot potato in your mouth. Yeah, you can do that and sound like a German, but German people won't be able to understand you. Duh...

So why am I quoting Jedi Master Yoda? Because, even though the legends tell he was born in an unknown but distant home planet, I truly believe that Master Yoda was german. Yes, this is the planet, this is the country where Yoda learned to speak. Because if there's people that can turn an entire sentence upside down (or right side left, in this case), it's the Germans. They switch everything: the subject and the verb, the subject and the object, the object with its pronoun... They even switch units and tens when telling numbers, but then they tell hundreds and thousands in the correct order (I mean... just... why???).

If you still don't know what I'm saying, I'll make a little exercise: I'll try to tell you one of my stories here in English, but with the word order of German sentences. OK, here it is:

So, when I my apartment contract got, told they me that I in my town's Burgeramt register had to. I warned was that probably no one English spoke in there, so asked I one of my German-speaking colleagues, to with me on the next Saturday go. However, when he found out was the place only in the morning open on Saturdays, convinced he me to to a week day postpone it, saying that on Saturday mornings he sleep had to.

Saturday morning came up, and I found myself suddenly on number three and twenty of Schulgasse, the Burgeramt's place. I figured I could my luck try and went in. When I my favorite German words told to the person at the front desk, Sprechen Sie Englisch, replied she Nein, and I was a bit disappointed. But then looked at she my papers and asked Anmelden? And I knew that meant "registration", so replied I Ja. She pointed at some stairs and said some incomprehensible things. I didn't bother asking what she meant, just left her and went towards the stairs.

When I the stairs climbed up, found I nothing. No offices, no desks, no people. At that point gave I up, I wasn't be able going to get my registration on that day, I'd later back come with someone else.

In the next Saturday came I later back with another colleague of mine. He was German so knew I I would make it this time. He talked to the lady at the front desk, said she some stuff again, and we left her.

We were towards the stairs heading again when my colleague suddenly stopped and sat on a sofa that on the way was. He was the only one who what to do knew, so sat I on the sofa as well. But I wasn't getting it at first, weren't we supposed to somewhere else go? And that's when it me hit: the lady wanted me to sit and wait, that's why she at the sofa - not the stairs! - pointed the first time.

(versão portuguesa)

31 January 2012

Tschau and the cosmological constant

For those who don't know yet, I embarked on a new journey. And I must really like winter, because after I extended the past one going to Brasil just when winter was starting there, this time I decided to pass winter in an even colder climate. The climate of the alleged "owners" of Europe, the Germans.

The city of Frankfurt is actually very pleasant, but the german language is at the moment the main obstacle for me, who came here without understanding one word of the language. Not that I can't make people understand me, because almost everyone speaks English (and don't mind doing it, unlike what I heard in some urban myths), but because I always have this habit of wanting to pass by as a native person. As such, I keep every little German word I catch in order to use in the next chance. The problem is that after I say Ein Milchkaffee bitte they answer me with a bunch of stuff that I can't understand, and I end up having to ask them to speak English. Anyway, just me being stubborn.

But what has this to do with the cosmological constant? Well, first I have to explain what that is. No wanting to go into much detail, but going in some, because I don't want my readers to die stupid, the cosmological constant was an artifact created by Einstein for his general theory of relativity, which he needed to make it consistent with a static universe. However, after Edwin Hubble (the one that named the telescope) discovered that the universe was permanently expanding, Einstein realized he didn't need the constant after all, and even said that that was the biggest mistake of his career. In spite of all this, years later other scientists brought the cosmological constant back, because it turns out they actually needed it to explain why the universe expands even more faster that was predicted. Enough science for now, the important thing to retain is the definition of a cosmological constant as something that was created as to be right, then discovered to be wrong, then discovered to be right after all.

All of this to explain what happened in my first days in town: after I meet my new coworkers and start getting used to an anglophonic work environment (which I did without problems), at the end of day one of them left, he said Goodbye to everyone, and I throw him a Tschau!, portuguese style. Even after being speaking English all day, it just came out like that.

I suddenly realized that I had said something that no one understood there, and immediately tried to explain myself, taking advantage of the presence of an italian colleague to say the the portuguese Tschau was equivalent to the italian Ciao, although we only used it when saying goodbye. They understood, and I was pleased for having corrected my mistake.

Imagine my surprise when, in the next day, I hear two German people saying goodbye each other with a Tschau.

And then I see my coworkers doing the same thing! After I asked around to see what was going on, I learned that, in addition to the more formal Auf Wiedersehen and the more popular Tschüß, the Germans also use Tschau as a form of goodbye. So the portuguese Tschau that I had said earlier was also correct as a german word! And that's why Tschau is my cosmological constant.

Bonus: although I quickly learned terms like Danke, Bitte and the latest Kaputt (for instance, "my card doesn't work" - meine Karte ist kaputt), at first I was a bit traumatized for not knowing how to say "I'm sorry" in German. Just being able to pronounce Entschuldigen Sie took me more than a week. Until one day a german lady stumbles at me in the tram and says Pardon, french style, which turns out it's a word the Germans also use. Oh well...

(versão portuguesa)

18 January 2012

We are the microwaves who say "ding"


Normally I enjoy very much the advances in technology, but I must say that sometimes technology hinders more than it helps. In the digital era, people just want to stick the digital in everything they can. They must think it's more modern, more avant-garde. They don't realize, however, that it also is less practical.

One of the examples is the replacement of knobs with press buttons. In my microwave oven, which is an old-school one, I have two rotating knobs, one to set the power and another to set the timer. The knob just rotates backwards as time runs out, giving me an idea of the time it has left. Simple.

In today's microwaves, the two knobs were replaced by about sixteen press buttons and an electronic display. Here's an exercise, get one of those microwaves and put it to work, doesn't matter how much time. Come on, make it work! Ah, so you must figure out first which is the On button, from among the sixteen buttons that the microwave has. It should be the button with a ball and a vertical line... oh, no, it turns out it's the one with an inverted triangle. Oh, and now it says it doesn't work because you forgot to put in the time. Simple? I don't think so. Some of these microwaves even have a button to open the door! Really?!!! A simple handle in the above-mentioned door wasn't enough?

But the example I really want to talk about is the sound that microwaves do. The classic microwave oven has a little bell that goes "ding" (or "plim" in portuguese - it's funny how even the onomatopoeias have to be translated) when time runs out. And that's how it should be: "tchaaaaaaaaaaaaannnnnnnnggg... ding!"

But the new microwave oves of the digital era ended that old-fashion think that was the bell and replaced it with, oh what a great idea! a digital buzzer. Results: "tchaaaaaaaaaaaaannnnnnnnggg... beep beep beep!". Beep beep beep?!! What the hell is this?

No offense to homossexuals, but "beep beep beep" seems a little gay... And it doesn't make any sense. A microwave that prides itself must say "ding", it's the "ding" that defines its identity. The stories people tell of terrible and even gruesome events always end with a "ding". "Beep beep beep" is just what almost any electronic devices does nowadays, why can't we distinguish the microwave at least for that?

But the fabulous engineers of the digital microwave went even further and added an uninterrupted "beep beep beep", which DOESN'T SHUT UP until someone goes there to open the door. And that is truly irritating. What were they thinking? Is it that urgent to have to open the microwave door, when it already stopped? Is it really that serious that someone forgets the food is already heated? As I see it they should beep insistently in the event of malfunction, or food overheating, not when the process has finished and everything is OK now!

A microwave that ceases doing "ding" to start doing "beep beep beep" is like when The Knights Who Say "Ni" suddenly stop saying "Ni" and start saying "Ekke Ekke Ekke Ptang Zoo Boing"! It's not the same thing, is it?

10 October 2011

You didn't say hello?


What are we supposed to do when we see someone we know in the street or at the mall, but the person in question doesn't notice us? Should we say hello? Should we not say hello? It's a lot easier when you just bump into each other, or even see each other from apart, but at the same time. In those cases you naturally say hello, give hugs and kisses, catch up on your past lives. But when you see a person that doesn't see you back, you hesitate. Do you go there and make yourself noticeable? Do you try to sneak out without being seen? As far as I see it, there are four ways to address this problem, and I'm going to talk about them next.

1. The Stare
The Stare works well when you are sitting somewhere, or otherwise not moving. It doesn't work well when you're moving, unless you're moving in the same direction as the person in question. Furthermore, you have to be at least in their field of sight. The method is simple: you stare at them until they notice you. It can take a while for them to do that, and in the meantime you see them looking in every possible way, every freaking angle except the one pointing at you. And there are some times when they don't notice you even if they're looking directly at you. But, when (and if) that eventually happens, you can finally say hi from apart, or do The Walk Over. The Stare can be a bit difficult if you're not concentrated in it: if you stare just once in a while, then you are likely to get The Double Stare, when each of you, in turn, try to draw the other's attention, but look away in the exact same moment that the other notices you.

2. The Call
The Call is the most dangerous of the four, one that can hopelessly embarrass you if you don't use it right. It's best used when in close range and when The Stare can't work or isn't working. In The Call you call the person by their name or some other way. I strongly suggest that you call the person by their name, because using terms like "Pssssst" or "Hey you!" will make everyone turn around and look at you except the person you're calling. And, if the person is too far away from you, or there's too much noise, you may end up calling them again and again, with no success other than alerting everyone around you; in those cases, it's better to try The Walk Over or The Sneak Out.

3. The Walk Over
The Walk Over is to be used when everything else fails. It's 100% efective, but it can be a bit cumbersome because you have to walk next to the person and draw their attention either by touching them or by doing The Call. You can't always walk to a person to say hi, maybe you can't leave your things unattended, or your group of friends. I recently saw a friend of mine in an escalator, I was going down and he was going up; to do a Walk Over in that place would be mayhem! If you can walk to the person, great! You will certainly, definitely make them notice you. But first you have to ask yourself, is this person worthy of a Walk Over?

4. The Sneak Out
Yes, you can make that choice. You can choose to walk away. But The Sneak Out isn't just about walking away. Now that you decided you're not going to make yourself noticed, you're gonna have to make sure that the person doesn't notice you. Even more important, you have to make sure they don't notice that you noticed them! Because if they do, they will also notice you were trying to avoid them. That's why it's a Sneak Out and not a walk out. If you make it out safely, The Sneak Out automatically provides you with a brief guilty conscience and the inability to tell people who you saw, because if the person in question hears that you saw them, they're gonna ask why didn't you say hello. But don't worry, you will do just fine.

You can use either one of these four types depending on the situation, but I believe a person can be defined by the type they use more often. So, what kind of person are you?

(versão portuguesa)