Ramblings Of a Madman

Yeah, like i would know a good description…

Posts for Tag: observations

Thoughts on writing

Sometimes i wonder why anyone enjoys writing at all.

As if my mind was not confusing enough, with all the absurd and senseless thoughts that run through my head all day long. Why the hell would i want to write any of that on paper? For later to recall, as the famous Portuguese ad went? I know i will "later" laugh while reading all of it but that can't be the only purpose? To organize chaos? To try to motivate myself to write, so i don't lose the skill? To not allow my calligraphy to completely die on me? To try to keep some grammatical capacity i might still possess?

It is definitely not to burn time! Between work, computer games, playing guitar or drums, practice martial arts, and so many other possible occupations, i can think of better choices to spend it.

Then why? Is there a goal? Just good for the soul? :)

Browser and visitor statistics

Was just now looking at google analytics for my blog and got some surprises, especially when it comes to the browser people use to access it. Seems that Chrome is leading and Internet Explorer is dead. Long live Internet Explorer :D

[caption id="attachment_1427" align="alignnone" width="300" caption="Browser usage"][/caption]

Also, very interesting is the fact that i'm Portuguese and Portugal is not on the top visitors' countries list. Special thanks to my followers in India, you know who you are :)

[caption id="attachment_1426" align="alignnone" width="300" caption="Language"][/caption]

UPDATE: As requested by a friend of mine, here are some more statistics: Top sources and keywords.

[caption id="attachment_1431" align="alignnone" width="300" caption="Top sources chart"][/caption]

[caption id="attachment_1430" align="alignnone" width="300" caption="Top sources list"][/caption]

[caption id="attachment_1429" align="alignnone" width="300" caption="Top keywords"][/caption]

Peace out ;)

Venting, or how humans no longer respect each other

Is it me or people are respecting each other less and less every day? You see it all the time: someone trying to get in line in front of you - at the supermarket, people yelling at their kids in the middle of the street (and the kids yelling back at their parents), you name it. I'm not even trying to take me out of it; how many times have i felt compelled - while driving my car - to accelerate a bit more not to let another driver get into a roundabout in front of me, or something like that? But i digress into specifics. Heck, this post was started because i was trying to sleep and my neighbors' kids are having a party at midnight on a Wednesday, when people usually work the next day. And even though my Buddhist part tries its best to compensate it's always hard.

I often wonder what will happen to us, people, if we continue down this path of disrespectfulness towards each other. What kind of future can we expect, when we treat each other with such poor manners? Shouldn't we think about these things more often and try to improve ourselves?

Random notes on India

Some random notes i scribbled down in my little paper notepad, on my trip from Bangalore to Goa, this weekend:

Saw 10 people inside a car that could normally only hold 5; Took me 2 hours to drive 17Km inside Bangalore; Saw a movie theater that was only showing Indian movies; Products usually have a date of manufacture, as opposed to expiry date; You don't see many foreigners on the streets (i was pretty much the only one everywhere i went); There are drinking water trucks distributing on the streets; From times to times there are cows roaming between the cars, especially on smaller roads; Indians are very humble and seem not to get pissed off easily (if you see the traffic here, you'll understand why stress cannot possibly affect them); Highways are a place of gathering; There are people walking, you can go in reverse, get into the opposite lanes; People get into and out of buses while it's still moving, usually taking the times when it's turning or slowing down for other cars to pass; Our bus - at some point during the night - had to reverse in the highway, because the driver overshot the place where we were supposed to stop for a break; At some point there was this really thick fog (you could not see 5 meters in front of the bus), but the driver still kept going at the same (insane) speed :) The second stop was in some remote place that had nothing but a road and a farm. Peaceful; Food at the hotel in Goa (Marigold - Panaji) is around 3 Euro per meal; Some dishes are even cheaper (around 1.5 Euro); One single bed room there was around 2000 Rupees for 1 night (40 euro); On the way there, more hardware stores could be seen than places with food; In Goa is also rare to find foreigners on the streets; From Panaji to Calangute (beaches) is about 30 minutes by scooter; Aguada fort is great :) Cricket is the national sport; You can find a lot of people watching the games on TV shops' stands; Domino's pizza in Goa: found a pizza that is not spicy; Correction, after pouring the so-called Oregano condiments, it is a bit spicy. Turns out the "Oregano" also contained white and black pepper; A lot of the tourism is internal. Which makes sense, considering the size of the country; 60 cl of Cola = 30 rupees = 60 euro cents; 1 cent = 1 cl :) It's very funny that there is a guard at the church door, keeping people from entering the "house of the lord" after the service has started.

Will operating systems become user interface agnostic?

After reading a post in PCPro.co.uk, about the dual core ARM phone that can run both Android and Ubuntu at the same time, i can't help being excited about the possibilities that the near future holds for us, mobile-wise.

I'm pretty sure that - at some point in time - we will not need laptops or desktop computers anymore; we can just go around with our tablets and/or phones and - when we need more screen space to work - just plug it into an external setup (screen, mouse, keyboard) and hack away.

Which brings me to think that the next versions of mobile operating systems will become more and more full fledged operating systems as we traditionally think of them on the desktop. Sure, right now they are being tailored to suit touch screen interfaces (tablets, phones), but i think we might get to a point where they will have to become user interface agnostic, to allow this type of hybrid behavior.

Installing Ruby on Rails on OSX (snow leopard)

Just some notes i might update while going through the procedure.

To start with, gem might complain that bundler requires a higher version. Something like this might happen, when you run "sudo gem install rails": ERROR:  Error installing bundler: bundler requires RubyGems version >= 1.3.6 ERROR:  Error installing bundler:        bundler requires RubyGems version >= 1.3.6 If you run into that, you need to ask gem to update itself: sudo gem update --system Then rails' installation should work. Actually i get errors installing the documentation for some gems. Should look into that...

Adventures at the Indian embassy (or how Portuguese services suck)

Where should i start? Ah, yes, the motivation: In about a month i am supposed to go to India in a business trip and - as such - i will require a visa.

I went to the embassy on Wednesday morning only to find out that visa applications are not handled on Wednesdays. Just my luck! It was clearly my fault, since i did not properly check the opening times on their - extremely hard to find - website. Did i mention you spend one hour in traffic just to get there? Suffice to say i was pissed, though mostly at myself. I did try to call them, but the automated response only directed people to their website. Why they bother having a phone is beyond me.

The next day i went back again (1 more hour in traffic) and finally got a ticket. The system works like this: You wait in the streets until a security guard calls you. Then he checks to see if your papers are all in order, and finally gives you a numbered ticket and sends you into the actual waiting/service room where you... wait some more. I arrived at the gate at around 11 am. I got ticket number 35. The embassy opens at 9.30 and they only had served around 19 tickets. I did my math and promptly went back home, at the risk of spending the entire day waiting. Again - probably my fault - but one should take some time to see the number of people that uses our services and get the appropriate amount of workers to be able to deal with them in a timely fashion. Two workers for 50 people, when the average time per person is 20 minutes, will not work.

Third day: Decided that i should be one of the first people to get there and get a ticket. Left home around 8 am. Arrived at the embassy at 9:15. Got ticket number 4. Not bad. Funny fact about lines in portugal: they don't exist. I arrived at the embassy gate and there were around 10 people there already (the embassy opens at 9.30, though they only started actually working at 10). I asked politely "is there a line?" and was greeted with the response "not really, you know how it is with us portuguese, we just remember who came first". This is exactly the kind of crap that pisses me off: lack of order and organization. But then again, looking at my living room right now, i shouldn't really complain :)

So, i got my number and went ahead into the waiting room. Now, the website states that - for business visas - one is required the following:

- Invitation letter from the Indian partner,

OR

- Invitation letter from the Portuguese company explaining the details of the visit.

Note the emphasized "OR".

After waiting for roughly 30 minutes, the lady tells me that i'm missing a letter from my company (i only had the one from the Indian company). I tried to explain that the website said i only needed that one but there was nothing that could be done. She told me how long it would take, explained that it had to be analyzed by two different entities and told me how much it would cost. Since - up until then - i saw everyone paying in cash i decided it would be a good idea to ask if they accepted cards. No cards. Really? What century is this? And you could put out a sign explaining that so that i would know about it - oh call me crazy - before i waited in line or - i don't know - you could put it IN YOUR WEBSITE?

So here's my summary of improvements, if anyone closely related to the Indian embassy in Portugal reads this and cares enough to help people not waste their time and money getting a freaking visa:

Update your website! Seriously, read that again: Update your website. It's the 21st century and pretty much everyone uses the web to know information about this kind of things; Put up a sign that you do not take cards as a method of payment. I do understand why you make the entrance process so explicitly phased, but people need to know what to count on when they get in there. I don't want to stand in line for 1 hour (a very typical case, trust me) only to find out i cannot pay with my card. Also, see point number 1! Get more people working there. Clearly the waiting times should tell you that you are understaffed.

There, ended up being constructive. I feel much better now :)

UPDATE: As a good friend of mine very well pointed out, i should help other people find their website :)

Everything is new all the time

It's funny how the greatest revelations come to us in thee strangest places. I'm having dinner in a shopping mall and all of a sudden, while thinking about why humans get bored, it strikes me that we are the ones who make everything boring. It's our brains, all the time! Consider this: how many times have you closely looked at something as trivial as a chair? Look again at that same chair. And again, and again. How many screws does it have? How is the place where you sit your butt? Is it curvy, flat? What's the color off the chair? How much does out weigh? Do you catch my point? You can walk the same path a thousand times and you will always, and I mean always, be able to see something new. The problem is that our brains trick us not to. And this is probably valid for social relationships. There is always something new to talk about. You just need to train your brain to think outside the box :)

Software does not evolve; software degenerates

Today at lunch i felt taken by this concept once again. A long time ago it came to me that software, au contraire of living beings, does not evolve; the best description for it, in my not-so-humble opinion, is of a big tower of LEGOs building blocks: You start stacking them up and, when a certain amount of time passes, you end up with something that is no longer very stable at the base. It degenerates and - in time - you have to kill it.

Every good developer knows this simple fact: requirements change. They do, there is no point in denying it. And continuing to build on top of a base that was thought for one thing and now needs to do another one is just plain crazy, inevitably. The problem here is that, i believe, non-technical people still think that software is a living thing that keeps evolving and that, no matter what you come up with next, there will always be a way to make it do "just that one more thing that we need".

So my question is: What is the best way to convince non-technical people that software needs to be killed or heavily re-factored from times to times in order for things to be maintainable and faster to build upon? I can't help thinking about "Bruce Almighty"s quote when i ask myself the same question: "(BRUCE) So how do you make people love you without affecting free will? (GOD) Welcome to my world, son. If you come up with an answer to that one you let me know!".

3 years in Holland

It has been exactly 3 years and 4 months since i set foot on the Netherlands and - as i get ready to leave this place - i can't help it but thinking about all the things i found, done, and learned while being here. This is my attempt at summarizing it, in no particular order. I apologize for the length but - come on, it's 3 years - there's no way i can write less to convey the same :)

Ever since i started following diggnation - back in 2007, i believe - i wanted to do a video podcast. To start with, i've always thought of myself as a camera-shy kind of guy so this was the perfect opportunity to both talk about technology and become more "videogenic" in the process. That was the motivation for two guys and a beer, a weekly show on life, technology, and everything, co-hosted with my dear friend Luis Soares.

My personal blog went through 3 different iterations, one of them completely written by hand using my newly found passion for dynamic languages and the web companions Python/Django. The latest iteration is a Wordpress installation because i don't feel like reinventing the wheel in those kinds of things anymore. And besides, there are plugins for virtually anything :)

Speaking of Python/Django, since i fell in love with skydiving, i figured it would only make sense to make a social platform for skydivers using those tools. And so jumperr.com was born: an online jump log book, where skydivers can keep track of their jumps and progress in the sport. I also implemented another little thing, this time to keep track of my texts and poems. It's naively named Text.me.

In the meantime, i did something that i wanted to do for ages: i open sourced my Java 2D game engine. It is currently hosted on google code and - although i haven't touched it in a while - is pretty stable and usable. Feel free to get the code and mess with it.

During these 3 years i had the privilege of getting to know a lot of interesting people, one of them having become my partner in attempts at starting my own company. Unfortunately both our attempts at YCombinator and Seedcamp ended up failing but we did learn a lot in the process of creating our prototypes.

It was also during this time that my passion for arts started to grow. I wrote a lot of poems and lyrics, started painting (even painted a pumpkin for a competition at TomTom which won the first prize), and also bought a lot of books on an endless variety of subjects - ranging from personal improvement, to psychology, going through a bit of fiction. Regardless, it seems the universe did not like my attempts at becoming more versatile, since the storage room i rented burned down - essentially taking with it all those creations and possessions.

No time in Holland is complete without experimenting with some more alternative medicines so, since they are essentially free for consumption, i did try Cannabis and magic mushrooms in various occasions (actually mushrooms only once). I have to say, in my humble small experience on the subject, that the case against light drugs is very overrated. Like everything in life, when consumed in moderation, there is no harm (and actually sometimes there are benefits).

Having been here for 3 years, i also had my fair share of house hunting and some contact with the housing agencies that work here. Most of them were pretty normal. One was not... at all! I still imagine the possibility of being awaken up in the middle of the night for someone to hide a body in my backyard - just because i rented a house from "the family".

I also got a cat. My adorable little tiger - Mangas - now lives with my mother in Portugal in the company of her cat (basically because i no longer wanted to have him go through the stress of airplane traveling). He is a cross-breed between an eastern female and a Dutch male. Despite being half-Dutch, he is still a normal cat :)

2009 was the year when i learned how to skydive and - though i did that in Portugal during spring vacations - i did have the opportunity to jump in a couple of Dutch Dropzones (what we call airfields where you can skydive). One of them has a particularly beautiful view from above (Texel island), too bad i jumped there only once because it's almost 6 hours round trip from Amsterdam. The other one - chosen for being closer - is located near Apeldoorn and is especially great because there is the chance of landing on top of cows if you miss your spot. I also had the opportunity to visit a wind tunnel (in Roosendaal) and work on my skydiving skills even with bad weather. By the way, if you never tried that (even if you are not a skydiver) you should definitely go, as it's a lot of fun for the whole family ;)

Speaking of sports, it was also during my life in Holland that i learned to snowboard. Besides using a couple of their indoor skiing facilities, i also had the chance to join some friends in the ski resort Les Trois Vallees, in France, one of the biggest ski areas in the world. It was great fun and - though i fell on my ass a lot - i got the hang of it in a couple of days and enjoyed most of the week going downhill like a mad man :D

In the meantime i found in tea the perfect replacement for coffee. I generally have a problem with coffee: it makes my stomach turn, especially if i drink it when it's empty. That's where tea came along. Green tea and some varieties of black tea now guide my body's attempt at illumination :)

Also learned how to rollerblade. Even though my rollerblades burned down in the Citybox fire, i did have almost 3 years of fun with them; between the crashes in the pavement and the initial constant fear of cracking my skull, i can say that it was an incredible experience. Especially when you can do it in a place so beautiful as Den Haag's Scheveningen, near the beach.

One thing i never fully realized, probably because it's not common in Portuguese companies, was that there is actually a need for software manual testing. Meaning, real people actually testing the crappy software you just wrote. Typically, in the Portuguese companies i worked for, testing was just - you know - software tests, unit tests, integrations tests, but software nonetheless. It was a pleasant surprise arriving to TomTom and discovering this whole new world of organized software development and testing.

Another thing that happens when you travel to another place (and actually live) there is that you meet *a lot* of new people. You meet people in all aspects of your life and, no matter how rich it already is, it only gets richer. From the insane TomTom parties every last Friday of the month, to having music jams with friends, enjoying soft drugs and getting completely drunk, or starting entrepreneurship attempts, i have learned immensely from the people i interacted with during these years and made a lot of awesome friends. I'm not going to name them, but you know who you are, guys :)

One thing that positively surprised me was the fact that the streets in Amsterdam are actually pretty safe. I mean, one would expect that - with all those drugs and tourists and prostitution going around - the city would be a pit of chaos, destruction, and crime. Let me tell you this: it's the complete opposite. In three years in this country, there was only one attempt at robbing me and those people were clearly tourists out of their minds in the middle of the red light district. I dare you to walk at 3-4am in Chelas, Amadora - in Portugal - and try to get out with all your clothes on. You can - and most people - do that all the time in any place in the centre of Amsterdam.

Speaking of red light district, i had the pleasure (not in that sense, you twisted minds) of living there for half a year. If you can find an isolated spot like i did, it's something that i advise since it's near pretty much everything in the city. If you can only find something in streets that have a lot of movement in the night (scout for it before getting a place there) then i would not advise it; there are a lot of tourists screaming in the streets, especially Fridays and Saturdays.

One of the things i noticed when i first arrived in Holland was that the public services work really well. If i try to go to the tax offices in Portugal i can expect to realistically have to wait for at least 30 minutes / 1 hour until it's my turn. In the Netherlands the maximum i waited in line was 10 minutes, because i was there 5 minutes earlier than the opening time. In complete contrast, the private services typically suck. I'm sorry, that's just the way i perceived it and of course it doesn't happen everywhere but - in general - that's how things are. I'll give you an example: a good friend of mine once, while we were at a very well known bar (Club 11), was waiting for 2 employees to ask him what he wanted for 5 minutes - while they were talking about their lives among themselves. When my friend asked them if he could get some service (he wasn't rude, i was there and saw that) one of them turned to him and said: "i will get to you when i finish talking to my friend". Now, i don't know how it is in the rest of the world, but at least in Portugal the customer *always* comes first, especially if 2 employees are discussing their *private* lives. This is one example that highlights general behavior, but there are very good exceptions.

But let us get back to the good things; i love the multicultural environment! To learn bits of other languages, especially how to curse in Polish, Greek, and Shona? is priceless. You also learn a lot about how other people react to certain situations in a completely different way than the one you are accustomed to. That will definitely surprise you, in a good way i hope :)

And now that i mentioned behavior, let me tell you a couple of Dutch traits that i picked up as soon as i stepped foot on this country: They love elevators. They are so eager to get into them that they will be waiting in front of the door to get in. The only problem is that, hey, there are people trying to get out :). But fear not, the same also happens in other types of doors. Tram doors, for instance. There is also that cool, unpredictable trait which is the ability to stop and start talking in spots that are clearly places where a lot of people has to go through. Say you have a small alley where a lot of people walk in. Chances are you cannot get out without asking for someone to move out of the way. It's all very funny actually, unless you just had a really bad day :)

Oh yeah, speaking of Dutch, i am sorry girls but - generally speaking - you are all very very male. The voice just does not match the looks, and the language doesn't help either. You see this beautiful blonde angel coming towards you and you think to yourself "wow". Then she starts to speak and there goes the awe factor down the drain. Like all rules, however, there are exceptions. I'm just not going to mention any :P

Did i tell you about the Queensday? Man, i never saw a bigger party in my life. Amsterdam is literally packed with people on the streets. Traffic is closed the entire day and you basically do one of two things: If you have a family (and kids) you will be on the streets selling old stuff that you no longer use. It is allowed during that day to claim a bit of space on the street and show off your goods (so to speak). If you don't have any kids, chances are you will be drinking and partying all day. Until you drop on the floor or get in a fight on the streets. One of those.

As far as city architecture goes, Amsterdam and Utrecht are an orientation nightmare. All the buildings look alike! It's extremely easy to get lost trying to get from one point to the other. I know i did. In more than one occasion, i might add :) Den Haag and Rotterdam are a different reality. The latter was heavily bombed during WW2 which means that pretty much all buildings are new constructions. I believe there was only a couple of buildings still standing in the end. By the way, Rotterdam has a pretty cool tower where you can get in a rotating room (that moves up and down) that allows you to have a panoramic view of the entire city. I believe it's called the EuroMast.

Back to the bad news: when i moved out of my previous apartment, i had to put all my furniture in a self storage facility in the north of Amsterdam (did i mention the Dutch will take the laminated floor of their apartments with them, when they move out?). Back in November i received a phone call saying that the entire storage facility had burned to the ground. How's that for news? In a way it was actually a good thing, since now i would not have to sell my furniture and floor anymore. Unfortunately, like i mentioned previously, i also lost a lot of books, my paintings, and all my poems and lyrics in the process :(

But back to the Dutch culture and all it's interesting details. There are tons, and i mean tons, of bicycles in Amsterdam. They have parking spaces just for bikes. Looking at one of these locations when i first arrived was just mind blowing, to say the least. And let me tell you something: they have the greatest variety of bikes that i have ever seen. You have foldable bikes, bikes with a big wooden cart in front (by big i mean most of the bike is the cart), bikes with multiple seats and mini seats for the kids, bikes with closed seats covered with plastic covers (also for the kids), etc. Basically every way you can imagine a bike to be, chances are the Dutch have them.

There is another thing i love about their culture, though: their caring for animals. I don't know if it has something to do with their apparent egocentrism towards people, but they do love animals. You find a lot of parks with animals in the cities (at least Den Haag is filled with them). And not just any animals: deers, cows, sheep, rabbits and more types that you don't typically find in city parks. The most we have in Lisbon, Portugal are ducks and swans. Oh, and pigeons. I once lived in Scheveningen, Den haag, and there was this awesome park with ponies. How great is it to be able to rollerblade close to those beautiful things? Priceless!

Shopping centers: absolutely no contrast with the parks, because the Dutch don't like shopping centers. Either that or city halls do not allow them to be built. How many shopping centers can you find inside the A10 ring of Amsterdam? 2? How many do you find in Lisbon? A bunch. The good news is that, for groceries, you have *a lot* of smaller supermarkets (Albert Heijn being the most common - and most expensive also) spread all across the city. It's very hard to find a place to live that does not have a supermarket within walking distance. I loved that.

And now my favorite part: The weather absolutely sucks! Getting to work on my bike every day agains't wind *and* rain is something that i don't want to do ever again. There is only so much water a person can handle on his face. Mix that with the fact that the summer is made of about 2 weeks of actual good weather and you have a recipe for fast approaching insanity. At least for southern people. At least for me.

To conclude this extremely big post, for which i am again sorry, i want to announce that last Friday i was given the awesome opportunity of continuing to work for TomTom from a remote location. I will be able to get the best of two worlds: the good weather (and food) of Portugal, and the great work philosophy of Holland. I will still be coming back for a couple of days every month (meetings, meetings :)), but the bigger part of my time will be spent elsewhere :)

Thank you to everyone i met in Holland, i learned a lot from all of you.

See you around ;)