03.26.07

Fortune Of The Day

Posted in Fortune at 10:04 pm by pmatos

The question of whether computers can think is just like the question of whether submarines can swim.
– Edsger W. Dijkstra

It was the first time I heard this! It’s nice because it’s a very good metaphor which doesn’t solve the problem at all. If you use the metaphor, it all comes down to what do you mean by swim.

03.17.07

Good thing about London…

Posted in Life at 12:41 pm by pmatos

Last February, 14th, I and my girlfriend decided to spend the day in London. So here we go for some shopping and sightseeing… Wonderful thing is… when we started to get hungry we thought : “Ah, wouldn’t it be nice to have someone pointing us where’s the nearest MacDonalds”…

p2140134.jpg

Suddently our wishes came true! :-)

03.15.07

Time Mgm

Posted in Life at 12:26 pm by pmatos

Lately I’ve been seeing a major number of links to time management questions and issues and this is in fact a fascinating subject mainly because we are all subject to the same conditions: willing to do more work and fun stuff and restricted to 24 hours a day to do that.

In fact, one of the reasons, IMO, for bright/popular/successful people to be this way is not because they are extremely intelligent [= high IQ] (are they members of mensa?) but because they are able to use their time wisely.

I am surely in a constant struggle with time, always trying to find how many minutes can I spare by doing things in a different way and I currently see my time efficiency improving because of the decision I make on what I do with the time I have. Because, you see… it’s not usual for things to be fair among everyone but in this nature is terribly fair. No matter who you are, you get exactly 24 hours a day… what you do with them… is exactly another matter.

Now, I hopefully will be able to give some insight on how I prepare my day and which decisions are heavily influence my daily time efficiency. The first most important thing is to have a priority list: What’s most important after all? Is it going out with friends and having fun? Working? Out-of-work development? Being with your parents/girlfriend/family? Watching TV? Playing video games? This list may not be explicit but you have to be aware of the top ten. In computing terms what you’re really doing is attaching nice levels to things in your life.

After this there are obviously stuff you really need to do, like working [even if you don't like it], so even if that has a very high nice level (low priority), you’re bound to do it anyway so you may just had it to your schedule, things like visiting your mother weekly, doing your laundry weekly, registering and analyzing bank account every two weeks, money spent/earned every month, etc. After this scheduling what you do is an art… not a science.

So, here’s a bit of my experience and my day. Due to my special conditions (away in the UK from my family and girlfriend) I can spend a lot of time doing things other things like open source development for my own amusement and use. But I also have to work. On the other hand, I’m learning to play the guitar  and I like reading but if I did nothing more I would get unhealthy and probably fat, so I need the gym. Well, there’s nothing more to it so… that’s it. On a regular week day:

  1. I wake up at 8.00 (in this hour I just get dressed, take breakfast and prepare lunch);
  2. I’m at work by 9.00;
  3. I work straight through lunch and mid-afternoon meal (I have some cookies and coffee here at all times) and I leave by 19.00 to make the 10 hour work day;
  4. I get home with 5 hours to do whatever I need (bound to be at bed by 00.00), usually I start by player the guitar and studying music theory, then I just choose one open source software project to work on and work on it for 3 hours or so and spend the rest of the time chatting with my girlfriend;
  5. At 00.00 I’m bound to go to bed and reading up until 01.00 or something. Sleeping 7 hours will make me prepared enough for the next day;

Weekend is pretty different, I don’t work on my PhD and buy a DVD to watch or something and I work on my open source software besides doing the nasty stuff like laundry, looking at myself in the mirror, taking care of things at home, shopping, etc.

Mostly, one of the things really improving my time efficiency is not going home for lunch like I did (taking me 1h.30m  a day, which amounted to  4h.30m a week [a lot!]), instead I prepare a sandwich (with whatever inside) every morning (taking me 10m) and eat it while reading a paper or just drafting something. Not leaving your computer and standing by your office at all times is also good. Initially I left for chatting with other (and having coffee) and that took me about 30 m every day (amounting to 2h.30m hours a week). Then you get home… forget work [unless you have a deadline] and work on your projects. I pick one for the day [usually I have 4/5 running on parallel and another 5 on stack]. I do all my hobbie-reading in bed. This is because that’s the only thing you can do in bed and it feels good. So I leave for bed at 00.00 and I just read through an hour or until I feel sleepy. If I read before going to bed probably I would end up trashing time which could be instead used for programming and I even if I spent 00.00-01.00 reading outside bed, I would feel it was a waste of time because I could be programming as well and instead of focusing on reading I would be focusing on what I could be doing instead. Major waste of time!  Leaving my house to go to the city center should be done for shopping only and I minimize it to once a week and I usually take 2h. This is quite and improvement since initially I took 3h but since I got aware of bus timetables, I was able to improve my time efficiency [have the buses on-time helps a lot]. I play the guitar about an hour almost each day, there are two days that I just go to the gym. This is also important because unless you go to the gym to look like superman you don’t need anything more than 2 hours a week of intensive training. I used to go 3 times a week but it was just too much and a waste of time. I just don’t want to get fatty, that’s all! This is really working great because I see my PhD going forward as well as my own projects, nothing else is in the way. This makes me feel great and strengthens me for the next day.

But as you see, this is quite the schedule which fits my life and my priority list. You surely have other life and priority list so you need to find time for your things. As long as you’re aware of what you want you can’t keep saying “Ah, I don’t have time for this or I don’t have time for that… You choose what to do with the time you’re given.” If you chose to go out with friends [major waste of time] then, hell, that was your choice. If you chose to see a DVD instead of working, again, your choice. The important thing is to be aware to where your time is going. Is your time going to useless things your don’t want? Can you improve your time by arranging the order of how you do things? Can you avoid going with your colleagues to a useless coffee meeting? Can you be as efficient as you are now by sleeping one hour less?

As I said, this is an art, not a science, but it is surely a subject you should take some time to look at closely. Have fun!

… and don’t waste your time reading useless posts :-)

03.14.07

Fortune of The Day

Posted in Fortune at 10:31 am by pmatos

Sometimes people signatures have such wonderful quotes…

To laugh often and love much; to win the respect of intelligent persons and the affection of children; to earn the approbation of honest critics; to appreciate beauty; to give of one’s self; to leave the world a bit better, whether by a healthy child, a garden patch or a redeemed social condition; to have played and laughed with enthusiasm and sung with exultation; to know even one life has breathed easier because you have lived–that is to have succeeded.
–Ralph Waldo Emerson

Intel and the Web met to ate a Pie

Posted in Computers, Life at 1:03 am by pmatos

Well, I could just have named the post “3 things for today…” but this one is definitely more stupid…

  • On Intel, it opened registration for a series of webinars on Parallel Computing; Some seem really nice!
  • On the Web, Sir Tim Berners Lee, well known for inventing the web, and as a Chair of the University of Southampton @ ECS, will have tomorrow its awaited inaugural lecture. The news is: I have a ticket! and you can also have one… to see it online! :-) If you see me on the audience, say Hi!
  • Well… regarding Pie… I have nothing to say… But I have something to say about images.jpg HAVE A HAPPY Pi DAY! :-)

03.12.07

Bargain: Sherlock Holmes – The Complete Collection

Posted in Amazon.co.uk Bargain at 2:09 pm by pmatos

For Sherlock fans… :)

sherlock-bargain.png

Bargain: House (Hugh Laurie)

Posted in Amazon.co.uk Bargain at 2:05 pm by pmatos

For those who could not get the previous one

house-bargain.png

The High Lord (by: Trudi Canavan)

Posted in Books at 1:44 pm by pmatos

The High Lord: The Black Magician Trilogy Book Three by Trudi Canavan

Personal Comments:

I’ve just finished this book during this night. Well, I must say that since friday I read non-stop 350 of the 650 pages of this book. I just couldn’t stop. Not only I knew I was finishing the trilogy but I also was completely stuck to the action and adventure surrounding the main characters of this book. Definitely, I can say that book 3, this one is the best one of the trilogy. Not only due to the amount of magic action surrounding the whole story but also because there was no boring stories or endless rescues like there was on the previous books (although as I already mentioned, the other books are great).

The end, however, is nothing like I imagined it to be. Everything pointed out to a specific ending until about chapter 38 (of 39). In chapter 38 everythings changes and you feel a little bit depressed, but surely enough the epilogue comes to the rescue. I’ve already been thinking who should be the actors for the main parts of a movie trilogy made from the books. :-) I would have Scarlett Johansson (she would have to paint her hair) as Sonea, Tom Cruise as Akarin, and Richard Gere as Rothen and Matt Damon as Dorrien for the main parts… heheh Wouldn’t that be nice!

I got really thrilled when I heard Trudi is preparing a prequel and a sequel to the trilogy which should be out by the end of 2008. Isn’t that great?!? Well, I recommend you all reading this trilogy. It’s really awesome. I won’t be forgetting the main characters so soon… they really became part of my life in the last couple of months. Thank you Trudi.

03.08.07

Scheme Education @ Portugal

Posted in Education, Programming, Scheme at 1:27 pm by pmatos

This post was triggered by the following comment to a recent post:

I’m a student at Faculdade de Engenharia da Universidade do Porto, and this first semester, year 1, we’ve studied the Scheme language. My personal opinion is that it is a bit useless and it lacks power. It cannot be compared with python,C,C++,Java.. It is nice for those learning the logic of programing, but, for real development, I think it is really a weak language!
But, anyway, this is just my opinion, try it out :D .

This is a comment from a 1st year, 1st semester student from a highly regarded university in Portugal, where has been common to teach the fundamentals of programming using the Scheme programming language. Having to teach it a couple of times I’ve had many students and I’ve known many teachers. It all comes down to what someone (I shall not name him, since I was not able to find his exact quote on my mail archives) told me once:

The problem with Scheme education is not about bad students. It’s about bad teachers.

I cannot agree more. Most of the student end with this tendency to say that Scheme is a practically useless, weak and nothing more than a pedagogical programming language. This is definitely sad! And this is the tendency that I tried to fight while teaching students because above all, we are not trying to teach students the Scheme Programming Language (or PLT-Scheme , which is what we use), we try to teach programming concepts and use scheme as a tool. We use about 1% of PLT-Scheme to teach these concepts (in fact, we don’t need PLT-Scheme at all… it’s all too powerful, an R5RS compliant interpreter would be enough). I have to stick with the curriculum, no matter what I think about it.

Even though some students might, or not, go through the subject successfully, the problem is that even those that go through it successfully easily lose any kind of interest in the Scheme Programming Language not only because they don’t know much of what the language is able to offer but also because their subject project doesn’t allow them to expand their knowledge about the language and even the teachers tell them Scheme is useless. And teachers tell them Scheme is useless because they incorrectly think it is useless.

In Portugal, as in many other countries, there are lectures (what in Portugal we call “Theoretical classes”) and labs (the so called “Practica/Laboratory classes”) and even though we have very good teachers in lectures, when students need to choose upon going to lectures or labs 95% will prefer to attend labs and miss the lectures. Missing the lectures means missing what good teachers can teach us and instead be in a lab with (many times) a moron dictating how to solve exam exercises and inventing bullshit regarding everything else. In the University of Southampton you have to attend short courses to be able to work as a demonstrator in a lab or even to teach small groups of people and then you’ll only be able to teach things you are used to work with!

Many Scheme teachers (in Portugal and more specifically @ Instituto Superior Tecnico) are people that just like their students left the subject of Programming Fundamentals teaching that Scheme sucks and that’s what they’re teaching their students. It’s impossible to teach something you don’t like, I know that, I had already to teach  something I didn’t like and something I was not really at ease with it. When this happens, things go wrong!

Scheme teaching should motivate students to understand not only the programming concepts but also the language itself  (in this case PLT-Scheme, since R5RS is just too restrictive to be considered a real language, instead it is just a framework to build a greater language). Even though schedules are tight, PLT-Scheme knowledge could come from its use in worksheets to be done at home introducing language aspects like modules, web programming, system programming, GUI programming, shell scripting, etc all possible within PLT-Scheme). Students love this! What students despise is having to find a way to implement a function generating an iterative process given a function which implements a recursive process. But this is important! But if they have to learn this, teachers might as well find a way to sweet student fingertips by making them play with stuff that’s appealing. Otherwise they see PHP for web programming, C for systems programming, C++ or Java or anything for object, GUI, etc… and still think that Scheme is useful for teaching how to implement a function computing the factorial and which generates an iterative process. What they don’t know is that Scheme is also useful to work with other problems… real problems…

In the end it all comes to down to who’s teaching students… if they think Scheme is useless… students will think Scheme is useless… and worst, will later teach their students of Scheme uselessness. I, on the other hand, had a the best teacher one could have at that subject.

Minority is up, stable, and runnning!

Posted in Uncategorized at 1:03 pm by pmatos

After a few days of downtime (due to old server issues), a server change (from sat@inesc-id to wordpress.com) and some upgrades (from wordpress 2.0.x to 2.1.x) everything seems to be up and running with the same style and flawlessly! Sorry to those readers who tried to access the blog and have not found it.

The previous URL for the blog will stay valid since I created a redirection to the new address but now the feed is not the same. The new feed is : http://minorityblog.wordpress.com/feed/

Have fun… some notes… the rest of the Way to Enlightenment series is not forgotten and the other 30 or so posts on the stack are on their way…

Next page