header image
English football? Health and Safety first!
June 24th, 2010 under Fun, Life, World, rengolin. [ Comments: none ]

Nothing to do with the topic of this blog, you are right, but I couldn’t stop thinking about the reality England faces regarding football.

All these years watching a mediocre football, even in the Premier League, where Cristiano Ronaldo is the top player and where Robinho can’t play football made me wondering what’s terribly wrong with the nation’s love for the sport. Not just passion, but the English people were the ones that invented the sport. Here in Cambridge its very first rules were written and the first match with those rules played in Parker’s Piece in 1848.

With more than 160 years of football history you would imagine that they’d have a bit more skills… Recently I have found a perfectly good reason why this happens.

Another English passion, maybe even more important that football, is lawn. Not cricket, not complaining, not political jokes: lawn. Mediocre football is all right, mediocre grass is a crime. But, grass and football are very much connected, probably the very reason why they loved to play it in the past, but as priorities are laid, lawn apparently comes first. In my recent visit to my son’s new school, with very impressive lawns, bigger than an official football pitch. The “football pitch”? It’s made of asphalt, which is also used as car park some times…

Baffled as I was, when I asked the children about football, they said they were allowed to play, but they had to bring their own balls. So far so good, but then it came reality: there is a recommendation to use foam or rubber balls, to avoid injury. Question is, what does more injury, proper footballs or asphalt?

In Brazil, children as young as 1 year old play football with anything. Coconuts, food cans, socks rolled into a ball, even stones. And they usually play barefoot, on dirt, or even asphalt. Health and Safety is important, but not to the point of removing completely the fun of being a child. If a child doesn’t get dirty, it won’t learn to clean itself, to avoid the situation in the future and, more importantly, to understand the pain of living and how good that feels.

European football? Never heard…


Humble Bundle
May 10th, 2010 under Digital Rights, Fun, Games, Software, Unix/Linux, rengolin. [ Comments: none ]

I’m not the one to normally do reviews or ads, but this is one well worth doing. Humble bundle is an initiative hosted by Wolfire studio, in which five other studios (2D Boy, Bit Blot, Cryptic Sea, Frictional Games and the recently joined Amanita Design) joined their award-winning indie games into a bundle with two charities (EFF and Child’s Play) that you can pay whatever you want, to be shared amongst them.

All games work on Linux and Mac (as well as Windows), are of excellent quality (I loved them) and separately would cost around 80 bucks. The average buy price for the bundle is around $8.50, but some people have paid $1000 already. Funny, though, that now they’re separating the average per platform, and Linux users pay, on average, $14 while Windows users pay $7, with Mac in between. A clear message to professional game studios out there, isn’t it?

About the games, they’re the type that are always fun to play and don’t try to be more than they should. There are no state-of-the-art 3D graphics, blood, bullets and zillions of details, but they’re solid, consistent and plain fun. I already had World of Goo (from 2D Boy) and loved it. All the rest I discovered with the bundle and I have to say that I was not expecting them to be that good. The only bad news is that you have only one more day to buy them, so hurry, get your bundle now while it’s still available.

The games

World of Goo: Maybe the most famous of all, it’s even available for Wii. It’s addictive and family friendly, has many tricks and very clever levels to play. It’s a very simple concept, balls stick to other balls and you have to reach the pipe to save them. But what they’ve done with that simple concept was a powerful and very clever combination of physical properties that give the game an extra challenge. What most impressed me was the way physics was embedded in the game. Things have weight and momentum, sticks break if the momentum is too great, some balls weight less than air and float, while others burn in contact with fire. A masterpiece.

Aquaria: I thought this would be the least interesting of all, but I was wrong. Very wrong. The graphics and music are very nice and the physics of the game is well built, but the way the game builds up is the best. It’s a mix of Ecco with Loom, where you’re a sea creature (mermaid?) and have to sing songs to get powers or to interact with the game. The more you play, the more you discover new things and the more powerful you become. Really clever and a bit more addictive than I was waiting for… ;)

Gish: You are a tar ball (not the Unix tar, though) and have to go through tunnels with dangers to find your tar girl (?). The story is stupid, but the game is fun. You can be slippery or sticky to interact with the maze and some elements that have simple physics, which add some fun. There are also some enemies to make it more difficult. Sometimes it’s a bit annoying, when it depends more on luck (if you get the timing of many things right in a row) than actually logic or skill. The save style is also not the best, I was on the fourth level and asked for a reset (to restart the fourth level again), but it reset the whole thing and sent me to the first level, which I’m not playing again. The music is great, though.

Lugaru HD: A 3D Lara Croft bloody kung-fu bunny style. The background story is more for necessity of having one than actually relevant. The idea is to go on skirmishing, cutting jugulars, sneaking and knocking down characters in the game as you go along. The 3D graphics are not particularly impressive and the camera is not innovative, but the game has some charm for those that like a fight for the sake of fights. Funny.

Penumbra: If you like being scared, this is your game. It’s rated 16+ and you can see very little while playing. But you can hear things growling, your own heart beating and the best part is when you see something that scares the hell out of you and you despair and give away your hide out. The graphics are good, simple but well cared for. The effects (blurs, fades, night vision, fear) are very well done and in sync with the game and story. The interface is pretty simple and impressively easy, making the game much more fun than the traditional FPS I’ve played so far. The best part is, you don’t fight, you hide and run. It remembers me Thief, where fighting is the last thing you want to do, but with the difference is that in Thief, you could, in this one, you’re a puss. If you fight, you’ll most likely die.

Samorost 2: It’s a flash game, that’s all I know. Flash is not particularly stable on any platform and Linux is especially unstable, so I couldn’t make it run in the first attempt. For me, and most gamers I know, a game has to work. This is why it’s so hard to play early open source games, because you’re looking for a few minutes of fun and not actually fiddling with your system. I have spent more time writing this paragraph than trying to play Samorost and I will only try it again if I upgrade my Linux (in hoping the Flash problem will go away by itself). Pity.

Well, that’s it. Go and get your humble bundle that it’s well worth, plus you help some other people in the process. Helping indie studios is very important for me. First, it levels the play-field and help them grow. Second, they tend to be much more platform independent, and decent games for Linux are scarce. Last, they tend to have the best ideas. Most game studios license one or two game engines and create dozens of similar games with that, in hope to get more value for their money. Also, they tend to stick with the current ideas that sell, instead of innovating.

By buying the bundle you are, at the very least, helping to have better games in the future.


The Wikipedia Game
January 26th, 2010 under Fun, Web, rengolin. [ Comments: none ]

There was a time when the gods were bored to death, but because they couldn’t actually die, they started writing down all their knowledge to pass the time. Virtually everything known to them was written on the ancient manuscripts and organized by topic, cross-linked with other topics, in a very simple yet complete language that described everything to the last detail.

Time passed, universes were created and in some of them, creatures developed critical thinking. With that, came science and with science, the logical conclusion that gods didn’t actually have to exist was inevitable. So inevitable that finally, without delay, the gods actually died. For the curious minds, that fact is based on the quantum principle that, if no one sees it, it doesn’t actually exist.

Yet, for the great benevolence of the Universe, the manuscripts were kept and for billions of (Earth) years (relativistically speaking, of course), they were forgotten. But everything that is lost is waiting to be found, and in a very small speck of dust, in a completely irrelevant galaxy on the (multi-dimensional) margins of one of the universes, a yet-to-be intelligent race found a way to the manuscripts. However, their intelligence was not enough to uncover the whole truth. They could only gather hints and pieces of what once was the complete knowledge of everything.

It was much more of a coincidence, really, that so many of those beings would channel the truth through their fingers and type them, guided by the manuscripts themselves, on a remote system that all the other beings would go and search for knowledge. Some would misguide them, of course, and others would fight over the truth, for no one really know how to interpret such manuscripts. Seeing such confusion and regress, the Universe decided to create a game, on which such frivolous beings could channel their good side instead, even if not consciously knowing so.

The Game

The game is very simple and is meant to beings with very limited mental and social capacity.

The younger member starts by clicking on the “Random Article” link on any Wikipedia page, or by choosing a subject from the main page. After that, the following rules must be repeated until the players are tired or bored to death:

  1. The current player must explain (out loud) what the article is about and think of a related subject. The relation can be of any kind.
  2. The other players would then decide if the relation is valid and the player should then go to the related page.
  3. If the relationship is valid and approved, the points are counted on the following manner:
    • 1 point if the article exists, +3 points if the player enhances it.
    • 3 points if the article doesn’t exist, +9 points if the player creates it with a stub.
  4. The player on the right goes next.

Of course, at least one access to Wikipedia is necessary, but many can be used simultaneously. It is considered foul play to tamper with the contents of the pages just to get extra points (remember, the gods won’t be pleased at all!).

In between games, there is a way to get extra points for the next round. If the player proves that he/she enhanced Wikipedia pages quoted from a previous game (change logs suffice), he/she gets +3 points at the start of the next game for every considerable change (10 or more words) in a single page. Multiple changes in the same page counts as one change and the points can only be counted if the change happened between the last game and current, so the same change cannot be considered twice. Creation of new pages related to the subjects mentioned also count as change.

The Winner

The winner of the game is obviously the one that gets most points, but the real winner is the society. Knowledge has no owner, no boundaries, no limits. The more you share, the more society benefits. Knowledge is power, and you can give it for free, as easy as writing an email… to the world.


Logic and a bit of luck
January 17th, 2010 under Fun, Life, Science, rengolin. [ Comments: 3 ]

Most game-changing scientific discoveries had a lot of logic and critical thinking, but also a bit of luck involved. As most scientists, I don’t believe in luck, so the definition of luck here is being the right person in the right place at the right time. As most (good) scientists, I don’t believe, I state, hypothesise, prove, refute, so the definition of belief here is also obvious.

My point is that evolution wouldn’t have been formulated if Darwin hadn’t gone with the Beagle, genetics wouldn’t be so solid if Mendel hadn’t believed the contrary so fiercely, Plank wouldn’t have found the quantum if there wasn’t a major argument about the black-body spectrum and Einstein would have won the Nobel prize for any other thing if he hadn’t been so drawn by God playing dice.

My story today starts in a similar way, but in a much more mundane problem… I lost my keys.

There is nothing I hate more than loosing my keys, especially in the 25th of December when we’re going to hit the road in the 27th. I lost all my keys, car, house, even my USB key. These modern car keys are not easy to replicate, I’d have to buy the whole thing again and loosing your front door key is not the kind of thing you let pass with a simple copy, you have to change the whole set, especially when you’re going away for a week.

Well, after despair came fear. After fear, despair again. We searched the whole house, inside, outside and in between. Nothing. Brute force wasn’t helping, but that hadn’t stopped me to do it once in a while again, just in case. In between the despair brute-force moments, we decided to be logical about the situation and think, rather than search for the answer.

First point, we had a spare of either car and house, so at least we could still travel and come back home. My worries were, in fact, what would we find when we came back home… If I had lot my keys outside or had left them hanging off the front door’s key hole (happened more than once), it’d be just too easy for someone to clean the house while we were away.

So we tracked down every place we went, every thing we did. By logic, I couldn’t have lost them in the city or anywhere I would have gone by car. Nor I could have lost it inside the car, so at least we knew that it’d be either inside the house or around it (including the key hole, unfortunately). I almost cancelled our trip because of the key hole probability, but Renata, very logically, convinced me that everything we did could not have caused me to leave it there. It was very, very unlikely. So we went…

However very unlikely, that still bugged me the whole week and I felt a bit of panic when we got home. But to my comfort, the house was exactly the way we left. That was, in a twisted way, another indication that the key was not left in the key hole. It had to be inside the house. I went back to work, still using the spare keys, but always thinking about it, wondering wherever it was. Sometimes, just in case, I’d imagine that I would look somewhere and see the key there, and be very surprised I haven’t seen it there before. That feeling never came.

This week I thought enough was enough. I had to continue with my life, change the front door keys and buy the very expensive key set from the car’s manufacturers. I put a to-do in my mobile: “call toyota, landlord wrt keys”. It was then that luck stroke with an impeccable logic. I felt like Darwin finding the platypus or Mendel smashing peas.

I looked at our bag of snow jackets, hermetically sealed for the next winter (Cambridge has only one chance of snowing each year, and that was before Christmas), and thought: “If the keys are in there, we’ll only find out next winter.” The simple logic led me to think it’d be much cheaper for me to re-open the impossible-to-close-hermetically-sealed bag now and not find the key than to wait until next winter and have spent thousands of pounds for nothing. The risk assessment was positive, and that led me to the next piece of information that closed the gap: it was snowing before Christmas! It had to be there!

I opened the bag and tapped my jacket, nothing. But the logic was impeccable, I couldn’t be wrong. I wore the jacket and trusted logic above my own despair. Gently sliding my hands inside the pockets, as I always do. The pockets are deep, and I felt nothing at start, but that didn’t stop my trust in logic. Spock would have laughed at me if I did, it’s that serious, a vulcan could actually laugh. It was not out of faith or belief, it was the ultimately trust that scientists lay on logic above all feelings, common sense and general knowledge, that kept me going until I finally felt something…


Phasers anyone?
November 21st, 2009 under Fun, Physics, rengolin. [ Comments: none ]

Star trek seems a long way and yet, a few news had made into the headlines exposing some achievements that might lead us closer to Roddenberry’s universe.

Some research just found anti-matter in an unusual place: lightning! It might be easier to produce a warp core that we originally thought. Given, of course, that sub-space exists and can be reached by an matter/anti-matter reaction.

Another research, from the University of California, has just found a way to create a medical tricorder. That, for me, is the best achievement so far. Not to mention time travels, teleportation, quantum computers and faster-than-light communication already achieved since the series was created.

Finally, the University of Canada just made the first phaser. Though, it’s still only set to stun…

But I have to say that I’m a bit worried. The Temporal Prime Directive might be needed a bit sooner than the 29th century


Hitchhiker’s Guide to the Galaxy has arrived
October 14th, 2009 under Fun, Gadgtes, Hardware, rvincoletto. [ Comments: 1 ]

The Wikimedia Foundation has just launched the first release of the Hitchhiker’s Guide to the Galaxy. I hope the next version they’ll use sub-etha to update the contents automatically. It could also come with a babel fish or a Federation tricorder…


Online gaming experience
August 15th, 2009 under Fun, Games, InfoSec, Media, Politics, rengolin. [ Comments: none ]

Why is it so hard for the game industry to get the online experience? I understand the media industry being utterly ignorant about how to make sense of the internet, but gaming is about pure fun, isn’t it? The new survey done in UK is more than proof of the obvious fact that people will use all resources of the internet to get what they want, whether it’s illegal or not.

After all, who defines what’s legal and what’s not? The UK government already said that it’s OK to invade one’s privacy for the matter of general security, even when everybody knows that any government has no clue on what’s security and what’s not. Not to mention the Orwellian attitudes of certain US companies seem not to raise any eyebrow from the local government or the general public…

That said, games are a different matter. Offline games still need have some kind of protection, but online games should rely on online commerce, and that can only be complete if the user has a full online experience. So, what do I mean by full online experience?

You don’t always have access to your own computer. Sometimes you have just a remote connection, sometimes only your mobile phone or a web browser. Sometimes you have an old laptop with no decent graphic card and those golden times when you have a brand new game machine with four graphic cards. 10 years ago, mobile phones were not as today, but even though my current mobile has a 3D graphic card in it, it’s closer to the lower end when compared to desktops or even laptops.

So, what’s the catch? Imagine a game that you can play exactly the same game irrespective of where you play it.

There are lots of new online games, so called ORPG (online RPG) or the bigger brothers (MMORPG, massively-multi-player ORPG), but all of them rely on a Windows machine with OpenGL2 and DirectX 10 to play it, even though not half of it really need that kind of realism to be fun.

Moreover, when you’re at the toilet and you want to keep playing your battles, you could easily get your mobile and use a stripped down version with little graphic elements but with the same basic principles. When you’re at your parent’s and the only thing you have is dial-up, you can connect via SSH and play the console version. At least to manage your stuff, talk to your friends or plan future battles.

The hard part in all this, I understand, is to manage different players playing with different levels of graphic detail. Scripts on online games are normally prohibited because it eases too much cheating, and that would be the way of battling via a SSH connection… Players with better graphic cards would have the advantage of seeing more of the battlefield than its friends with a mobile phone, or even using a much better mouse/joystick and a much bigger keyboard (short-cuts are *very* important in online gaming).

With the new mobiles and their motion sensor and GPS interfaces, that wouldn’t be a much bigger difference, as you could wave the mobile to have a quicker glance and even use voice-control for some features that is still lacking support in desktop but it’s surprisingly popular in mobile devices. All in all, having at least three platforms: high-end and low-end graphics plus a mobile version, would be a major breakthrough in online gaming. I just wonder why game makers are not even hinting in that direction…

The console version is pushing a bit, I know, I just love the console… ;)


Opt-out
April 22nd, 2009 under Fun, Web, rengolin. [ Comments: none ]

Apparently, users are so dumb that they don’t even know what opt-out means, so Microsoft just wants to be really sure anyway…

Dear Windows Live User,

We are contacting you regarding your communication preference settings for Windows Live and MSN.

Currently, your settings do not allow Microsoft to send you promotional information or survey invitations about Windows Live and MSN. We would like to communicate important product updates to you, so if you would like to change your settings, please visit your account profile here to change your preferences.

Sincerely,
The Windows Live Team

Note: You can also change your Account settings by going to your browser and typing in: http://account.live.com. After logging-in to your account, look for ‘Additional options’ and click ‘Marketing preferences’. Then uncheck the top preference box and click ‘Save’.

Microsoft respects your privacy. To learn more, please read our online Privacy Statement.

Microsoft Corporation

Thanks for the fun, Rodrigo


Unoptimizable by danger
February 24th, 2009 under Fun, Life, rengolin. [ Comments: 2 ]

We’re always trying to optimize everything. Taking as much dirty dishes to the sink each go, brush our teeth while peeing, studying in the bus to school. But there are some things that are practically unoptimizable.

While some cannot be optimized for obvious reasons, like writing an essay while driving a car, others have more subtle reasons for unoptimization

Take, for instance, the time between you open your zipper and the time you start peeing. I’ve counted about three seconds in average (some people have more, others less). I thought that I could optimize that by allowing my bladder to relax around three seconds before the zipper is open. Then I calculated how many seconds I took to do the whole procedure and was hoping to find a point in time in which I could safely start the procedure in background.

Luckily I’m not as stupid as I thought (or used to be), so I have done my homework before actually starting the test itself. The average time of preparation is around 3 seconds, good, but the standard deviation is around 1 second down and up to 5 seconds up! Which means that I could wet my pants pretty bad if anything went wrong with the preparation procedures…

The “number 2″ test is more catastrophic but far easier to control if something goes wrong, so I had more progress on that one. But for the sake of all, I’ll leave that as an exercise to the reader.


Happy 1234567890!!
February 14th, 2009 under Fun, Unix/Linux, rengolin. [ Comments: 1 ]

It has just passed the Unix time 1234567890! (or, if you prefer, 0x499602D2, which is not funny at all).

Friday, February 13, 2009 at exactly 23:31:30 (UTC, which I happen to be), is a nice Friday 13th (already spooky).


$ perl -e 'print scalar localtime(1234567890),"\n";'
Fri Feb 13 23:31:30 2009

I suppose you have a Unix at home, of course. Well, you probably do anyway…

Other fancy Unix dates to come:


$ perl -e 'print scalar localtime(2000000000),"\n";'
Wed May 18 04:33:20 2033
Next billionth second…


$ perl -e 'print scalar localtime(0x7FFFFFFF),"\n";'
Tue Jan 19 03:14:07 2038
As far as it can go, with 32bit signed integers…

And some other that passed already:


$ perl -e 'print scalar localtime(1000000000),"\n";'
Sun Sep 9 02:46:40 2001
The first billionth second:

And finally some before the Unix era:


$ perl -e 'print scalar localtime(0xDEADBEEF),"\n";'
Mon Apr 14 15:27:43 1952
Well, 0xD has the sign bit set, doesn’t it? It’s in the past too…


$ perl -e 'print scalar localtime(0x80000000),"\n";'
Fri Dec 13 20:45:52 1901
As far as it can go in the past…

But don’t worry, 64-bit systems can already (and do already) manage times up to 9223372036854775807 seconds back and forth 1st January, 1970. It’s plus and minus 292 million years. It’ll be good to tag even dinosaurs with Unix-time, as well as the Enterprise next-generation.

The only problem is that the two final catastrophes we can’t get rid of: sun becoming a red giant (thus engulfing all planets, or the Milky Way colliding with Andromeda, will happen in no less than 5 billion years from now, which means that we’ll need to change to 128-bit time-stamp eventually.

Happy unix-time 1234567890!!


« Previous entries