Simple things about life

Today I realized something pretty simple by stating a few objectives for my life:

1 – I want to do something I really enjoy;

2 – I want to work at my own pace; and

3 – I don’t want to make someone else rich by working my ass off.

To accomplish those, I have to change the way I go through life. For the first one, I have to learn and later pursuit what I think I like, to see if I actually like it. Which gets me to the second part, I must have lots of discipline if I want to work whenever I want, otherwise I won’t get anything done. If I am successful in number 1 and 2, then maybe number 3 comes as a natural consequence.
Of course I can easily see some bumps along the way. I may find something I feel passionate about, but it maybe hard to turn that into something that gives me money. These days I’ve been having such little time for myself, that it is kind of difficult to dedicate myself to some new activity. And sure, it is very difficult to dedicate yourself to something at all, that being the hardest part, at least for me.
So, I take whichever little time I have and dedicate it to something, anything at first, and hopefully, later on, I can do what I like.

The King and the Queen are dead

Human memory has a funny way of working, some of us can read a text and easily memorize it, while others can’t even remember what they had for lunch the day before.

Computers can easily remember what they did using their short term memory, the RAM, or their long term memory, the hard drive, while we humans have to figure out ways to remember useful things, like birthdays, anniversaries, a part of a interesting text or the name of someone you met.

Your brain can also store big pieces of useful information, the problem usually happens when you think some information is useful but your brain insists to believe otherwise. For example, when you are studying for a difficult exam which you must pass (or you might lose the entire year), you are eager to retain every bit of information you come across, and even in moments like that your brain sometimes fools you and when that big difficult question arises for you to answer it you think: “I know I read this somewhere… what was it again?”

Our brain likes to remember things when they are put in a context. If you try to remember bits of sparse pieces of information, it’s most unlikely you will succeed. It seems that when you have a story about something you are trying to remember, even if you make the story up, things go really well. At this point I think most of you reading this post don’t even remember its title, at least that was the original intention. you see, the title didn’t connect to anything, it was a sparse piece of information your brain easily discarded.

It would be a lot easier for you to remember if the title was: “The King and the Queen are dead because the Queen thought the King was cheating on her and killed him, afterwards she killed herself.”

Even though the title would be a lot bigger, you would still remember the idea correctly.

Side Channel Leaks

There is security flaw in computer systems called Side Channel Leaks. Basically it consists in taking an available piece of information and inferring the rest based on a previous knowledge of the system.

To make this notion clearer, imagine a system which is composed by two pieces (client and server) and the internet is connecting those parts (SaaS). Imagine also that someone, let’s call this person Holmes, has access to all the network traffic on the client side. Holmes wants to know the data the client, let’s call this client Porlock, is passing to the server side. As we said, Holmes has access to the network, but it’s almost impossible for him to find out exactly what is going on, for the traffic is all encrypted. And there we have it: The Side Channel Leak.

Suppose Holmes has used the system before and he knows that there is a part of the system which, if used, makes the packets transmitted in the network be really large. Suppose also that this is a part of the system that Porlock is not suppose to have access to. If Holmes see some specific packets being transmitted, then he is able to know that Porlock is doing something wrong. And guess what, the more Holmes knows about the timing between packets, as their size, and how the system works, the more knowledge he has of what exactly Porlock is doing without even trying decrypt those packets. That is Side Channel Leak.

Until here, we’ve been talking about computers systems, but there is something more for us to learn from this hypothetical scenario.

Lets take a look at another hypothetical scenario in the beginning of the book “The Valley of Fear”. In this particular part of the book, Sherlock Holmes receives a letter containing an encrypted message from Porlock. The means to decrypt the message would be sent later to Holmes, but Porlock got scared and decided not to give it to Holmes. And that was enough for Holmes to successfully decrypt the message. How cool is that?!

You see, in this case Holmes knew some specific information about the system, which in this case is both Porlock and the letters. Facts about the system that he knew:

  1. The key to decipher the message was a book. Of two methods commonly used by thieves to send encrypted messages, this could be only this one.
  2. A part of the encrypted message was referring to the page of the book, 534. Such a big book wouldn’t be sent to Holmes so he could decipher the message, therefore it was a book he probably already had. The problem still has several possibilities, but in a limited number.
  3. Another part of the message seems to refer to the column of the book (C2). So this book must have two columns.
  4. As this book is supposed to be the key to decipher several messages, he must have lots of words per page. Now we have even less and less possibilities for this odd book.
  5. He then grabs an Almanac and there we have it. He is able to decipher the message.
  6. To know more about how the story ends this theory won’t work, I’m afraid. You will have to read the book.

You see, humans are also a system, and you can use Side Channel Leaks theory to know much more than what you see. Of course this is nothing new, cops, investigators, managers, artists, mothers, sons use that all the time. At a first glance I was surprised to see that applied to humans as well, but then, I should be surprised to see something like that applied to computers.

Learn German

I have been searching for ways to learn German for a while now, and I think i finally found something good for free. Its the course Deutsch – warum nicht?. Of course you can take German courses with a qualified professor, and the way I see it, that is the best way to learn German. But Hey, this is free!!! And that is good stuff!

Cool Movies – Apr

I saw a couple of good movies and I thought of sharing them here:

El secreto de sus ojos – Intense movie that keeps your attention until the very end, the actors are very good, and it won a Oscar award.

Shutter Island – Some friends didn’t like it, but I read the book and enjoyed the movie. It is hard to understand what is happening until the end.

The Box – Good science fiction movie. It has a serious aura but add to that some bizarre scenes and you start laughing.