Showing posts with label study. Show all posts
Showing posts with label study. Show all posts

Wednesday, January 21, 2009

Things I've learned from my students

One thing I've learned this year whilst teaching at the University is that, apparently, the probability of having a hard disk failure on your computer is tightly linked to work assignments deadlines.

Let me explain how I reached this conclusion. I teach "Introduction to Programming" and at the end of the semester, the students have to deliver a work assignment. Usually, they have to develop a game in Java and this semester the decision was to implement a simple text-based Minesweeper.

Interestingly, as the deadline was becoming closer, the number of students that come up to me with an excuse to try and get an extension was massively increasing. But the amazing part is the fact that most students used the same excuse: hard disk failure that led to loss of work.

Since all students are honest and could never lie to a professor just to try to get an advantage over their colleagues (let's be naive about it) I can empirically conclude that the following applies:


Needless to say, this didn't change my position and no extensions were given.
It's Murphy's law :-)

Wednesday, November 26, 2008

How to cheat on exams: YouTube to the rescue

Don't mind the ad before the real video:



Source: CNet

Monday, November 17, 2008

0.999... = 1

Did you know that 0.9999... is equal to 1? Don't believe me? See some proofs here.

Wednesday, September 17, 2008

Google: early years

If you have a more scientific interest on the origins of Google, check out the original paper by Sergey Brin and Lawrence Page when they were still PhD students at Stanford University.

Friday, September 12, 2008

In case everything goes wrong, LHC has Gordon Freeman

As you might have heard, CERN has created the Large Hadron Collider, the largest science device ever built with the intention of understanding some of the most fundamentals aspects of the origins of our Universe. The science experiment had its first try on September 10th, but the real thing will be fired up in a month from now.

Criticized for not offering any guaranties as to the safety of this kind of experiment, CERN decided to take immediate action and deployed a well-known fail-safe system: hiring Gordon Freeman.

This is still under a whole lot of secrecy but I was able to retrieve a photo that proves that Gordon Freeman is already on location, supervising the whole thing, just in case the experiment creates a wormhole into another dimension in which huge, ugly, slimy extra-terrestrial beings jump through with the intention of dominating Earth:



UPDATE: as a reader pointed out in a comment to this post, if Gordon Freeman is there, then G-Man is probably there too... And in fact I digged a little deeper in my secret archives and found this image that proves that G-Man is also among the scientists in the LHC:


(It helps to be a Half-life fan to understand this post) :-)

Wednesday, September 03, 2008

Songsterr: Learn how to play guitar online

I know how difficult it can be, sometimes, to find good guitar tabs to learn music from. Luckily, for all guitar fans out there, I found this great website, Songsterr, that, not only has great tabs, but it has a great on-line software that allows you to reproduce the tab by playing the exact notes at full speed or half-speed, allowing you to easily pick up the chords and playing techniques for specific tunes.



Have fun :-)

Thursday, August 28, 2008

I want to believe

No, this post is not about the upcoming X-Files movie. This is only to reveal an important fact about UFO sightings. Ever since Photoshop was released, UFO sightings have suddenly started looking more real and convincing, right? :-)

Image source

Wednesday, August 27, 2008

Interesting Google seaches: 2 Girls 1 Cup

Here's the result of an exhaustive study on Google's search results for "X Girls Y Cup":


If you don't get it, maybe you should have a look at the "2 Girls, 1 Cup" phenomenon.

Image Source: xkcd

Wednesday, May 28, 2008

The first Olympic sprinter without legs

I'd like to think that my previous post on this subject somehow contributed to the recent decision of letting Oscar Pistorius qualify to the Olympics, but I'm not that naive :-)


But it's good to see that not everybody is as unreasonable as the International Association of Athletics Federations. The Court of Arbitration for Sport finally accepted that there is no difference between a double-amputee sprinter that uses a set of prosthetic legs and the Speedo-sponsored swimmers that use the Speedo LZR Racer Suit to get an aerodynamic advantage over their adversaries.

It may be the case that Oscar Pistorius doesn't even qualify to the Olympics, but at least he wasn't discriminated for being handicapped.

Let's see how the story evolves...

Monday, April 28, 2008

Math 2.0

Due to numerous complaints from students around the world, Math has a new version. Check what's new here.

Tuesday, April 15, 2008

Technology to beat World/Olympic records...but only for swimmers

The Speedo LZR Racer Suit is a ultra-lightweight and water-repellent swimming suit that gives shark-like swimming capabilities to athletes. It reduces the drag effect and skin resistance of the swimmer's body, allowing him/her to gain those milliseconds that could make a difference when beating World/Olympic records.


An in fact, this swimsuit really gives athletes that extra boost they need. 36 of the 39 world records that were beaten since last February were achieved by athletes with this swimsuit from Speedo. This clearly states that an athlete with this particular swimsuit has an advantage over other athletes.

Doesn't this sends out the wrong message to the sporting community? At this rate, world records will only be beaten by the athletes that are lucky enough to be sponsored by these companies.

But, even though some controversy exists around this issue, nothing is done to stop swimmers from using the special-purposed suits.


This kind of reminds me of a similar situation that had a completely different outcome. Oscar Pistorius, a double-amputee paralympic runner that is only able to run through the use of a prosthetic device (a set of carbon fibre transtibial artificial limbs), wanted to participate in the able-bodied competitions (for people with no handicaps or disabilities). 

However, his artificial legs generated claims that he had an unfair advantage over able-bodied runners. And because the rules clearly state that an athlete using a device cannot have an "advantage over another athlete not using such a device", he was ruled ineligible for competitions.

I don't think this decision was wrong but some questions remain: why was this particular athlete unable to participate in a competition? Why isn't the same rule applied to swimmers? Shouldn't all enhancing devices be forbidden from sporting competitions? Or at least shouldn't ALL athletes be given the opportunity to use the same equipment so as to really boost the competition level?

Thursday, March 27, 2008

An interesting problem: part 2

So, did you think about an answer for the problem I suggested earlier?



To recap: Imagine you're on a game show and you are asked to choose from one of three doors. In one door, there's a prize (a beautiful car) and on the other two doors, there is a goat on each door. After you choose the door, the game show host will show where one of the goats is from the remaining two doors (remember there are two goats to start with, which means that no matter which door you choose, there will always be at least another goat on the doors that you didn't choose). In addition to showing you where one of the goats is, the game show host gives you the opportunity to swap between the original door that you chose and the remaining door.

So, faced with this decision what would you do? Would you stick with your initial decision? Or would you swap doors? At first, this seems to be an irrelevant choice, right? Well, think again...

By the way, this is called the Monty Hall Problem.

Watch this video of the popular television show Numb3rs to help you with the answer:



If you still need a clearer explanation, check out the following video:



And if you're still not convinced, then use the following programs that I created (in Java) to test this theory:

Monty Hall Problem (No Swapping) - Source
Monty Hall Problem (Swapping) - Source

These programs perform this test 100 million times each, where the first option doesn't swap the initial choice and the second does.

Surprise, surprise, here are the results that I obtained:

  • No Swapping: The program got it right 33% of the time.
  • Swapping: The program got it right 66% of the time.
Usually, the Random generator of a computer is not really a reliable random generator, but even if you try this test yourself (with cards or some other objects) you'll obtain similar results.

So, always remember to swap your choices :-)

An interesting problem: part 1

Imagine you're on a game show and you are asked to choose from one of three doors. In one door, there's a prize (a beautiful car) and on the other two doors, there is a goat on each door.


After you choose the door, the game show host will show where one of the goats is from the remaining two doors (remember there are two goats to start with, which means that no matter which door you choose, there will always be at least another goat on the doors that you didn't choose). In addition to showing you where one of the goats is, the game show host gives you the opportunity to swap between the original door that you chose and the remaining door.


So, faced with this decision what would you do? Would you stick with your initial decision? Or would you swap doors?

Think about it for a while. I will post the solution (UPDATE: check here) and hopefully some interesting results from a simulation soon :-)

Tuesday, November 13, 2007

The end (or the beginning) of the world is close!

The launch of the most complex scientific instrument of all times, which was due this month, is now scheduled to May 2008. The Large Hadron Collider, a 27-km ring tunnel built deep underground between the Swiss and French borders, promises to recreate the conditions right after the Big Bang. By revisiting the beginning of time, scientists hope to unravel some of the deepest secrets of our Universe.

Since on March this year, a pressure test of one of the "inner triplet magnets" (whatever that is) failed, the team decided to extend the experiment to make sure everything goes as planned. And they better make sure that everything will work as planned, because otherwise, we might be looking at a new Big Bang and I'm pretty sure that wouldn't do wonders to France and Switzerland's landscape. Or the Planet's, for that matters.

Nevertheless, the successful ending of this experiment might reveal the answer to the ultimate question: how was the Universe created? While some authors have interesting theories about the beginning of the Universe, we can only wait to see if the most complex experiment of our world will shed some light on the subject.

If you're interested on knowing a bit more about this experiment, check out these videos:

Large Hadron Collider - part 1, part 2 and part 3

Wednesday, October 24, 2007

TED Talks: amazing ideas

I'm a huge fan of the TED Talks and every now and then I check the website to see if new talks were added. If you still don't know what these are, a visit is mandatory.

Here are some of the last talks I've seen, which I think are really interesting:
- BumpTop Desktop
- DNA Misteries
- A Brain Theory
- Mobile phones and us
- Statistics can be fun
- PhotoSynth
- Plug-in Revolution

Wednesday, September 12, 2007

All you have to do is "think"

Last year, I was at an European Conference on technology (IST2006) where I was able to check out some interesting futuristic technologies. One of them was a special-purpose helmet that would enable people to perform some basic controls on a computer by only thinking about them.

Early this year, at another technology conference I attended a presentation about a project in the Enginnering Faculty of the University of Oporto, where quadraplegic people could control a weelchair with special face movements.

Now, it appears that these two technologies were merged, as a motorised wheelchair that moves when the operator thinks of particular words has been demonstrated by a US company. The wheelchair works by intercepting signals sent from their brain to their voice box, even when no sound is actually produced.

Check out a demo video:


Source: New Scientist Tech

Thursday, July 26, 2007

Don't blame the cellphone! It's in your head!

It's another study that states that electro-magnetic waves sent by cellphones and cellphones' signal towers are not responsible for symptoms such as anxiety, nauseas and tiredness.

The study (done by the Environmental Health Perspectives) tested the reaction of people when they "thought the signal was on". Oddly enough, most people said they were feeling the symptoms exactly when no electro-magnetic waves were in fact being emitted in range.

The researchers stated that most of these symptoms are due to psychological causes and to the old saying that "if we believe that something will hurt us, then it certainly will".

The best explanation for these kind of symptoms is still the psychological state that people are when usually associated with stress.

Source: BBC News

Tuesday, July 10, 2007

Turn your old tupperware back into oil

A US company is taking plastics recycling to another level – turning them back into the oil they were made from, and gas. All that is needed, claims Global Resource Corporation (GRC), is a finely tuned microwave and a mix of materials that were made from oil can be reduced back to oil and combustible gas (and a few leftovers).

Key to GRC’s process is a machine that uses 1200 different frequencies within the microwave range, which act on specific hydrocarbon materials. As the material is zapped at the appropriate wavelength, part of the hydrocarbons that make up the plastic and rubber in the material are broken down into diesel oil and combustible gas.

It looks like those old tupperwares at home finally have a purpose :-)

Source: New Scientist

Friday, May 04, 2007

Map My Name: let's count the number of people on the Internet

Let´s help these guys in the University of Aveiro count the number of Users in the Internet? Just go to the website Map My Name, register and then spread the word to 3 friends.

Check the video for details:

Wednesday, February 07, 2007

Play more: it's good for your eyes

The video game addicts can now rejoice, since a team of researchers has found that playing is actually good for your eyes. A study by the University of Rochester showed that people who played action video games for a few hours a day over the course of a month improved their vision by about 20 percent.

The team of researchers tested college students who had played very few, if any, video games in the last year. Test subjects were given an eye test similar to the one used at regular eye clinics and then divided into two groups -- one played shoot-em-up action games for an hour a day while the control group played a less visually complex game.

The vision capacity of the test subjects was tested after the study, with those who played the action game scoring better in the eye test.

These are excellent news for people with eye problems. It's the best prescription a doctor can give a patient: "Here, go play some Halo or Quake"

Source: Reuters Tech News
Image from Agilent.com