Showing posts with label fun. Show all posts
Showing posts with label fun. Show all posts

2013-12-19

Positive negation, negative affirmation, or else?

It is easy to notice that our cognitive abilities have much less problem processing a positive than a negative assertion. That is, it is just plain easier to understand that something is right, than saying something is not wrong, specially in long discourses like a mathematical demonstration, a lecture, thesis or paper.

I think this is the reasoning behind most lists on how to fail at something: instead of saying "don't these otherwise you you fail", one says that "do these in order to fail", often in a satirical mood. Interesting examples include a book called How to Fail: The Self-Hurt Guide, and this quick guide to fail in biology fields.

Scientific fields don't fall short of this trend, though. For example, an article was published last year entitled How Not to be a Bioinformatician. Rob Hyndman, in his blog (which I recently discovered looking for some LaTeX examples), has the post How to fail a PhD.

To contradict this trend, he also compiled the straightforward guide called How to avoid annoying a referee (which anybody in the scientific business should read and follow), expanding from this post in stats.stackexchange.com (which, in turn, follows the mindset described so far).

Of course one does not necessarily need to write guidelines in a jocular manner. One such (must-read) example is 1990's article from Gopen and Swan called The Science of Scientific Writing, in which they convey that most of the effort in communicating a result lies on the writer, and should not be deferred to the reader.

I find myself amused by the positive "how to fail" guides, though. They can make the point they want to address, while using a lighter tone. Maybe these are better ways of planting the seed of understanding something important, without taking the change of being perceived as boring.

2009-05-31

Enter Wolfram|Alpha: 2 - hands on

This post is a follow up from the introduction on the interface website of Wolfram Alpha.

Let's look at some fun examples on how to use the new Answer Engine.

Query: where is god?

Now would you be surprised if a computer system knew the answer? I was, because it did. It helpfully offers to give coordinates and satellite image to God. (hint: far from the middle-east)

Answer: Hungary.


Can it predict major astronomical events?

Q: next solar eclipse in rio de janeiro
A: 11:53 am BRT | Sunday, February 26, 2017 (7.748 years from now)

Noted, but I will probably forget by then. Also, this is not a total eclipse. The next total eclipse observable from Rio will be on 2:41 pm BRT | Saturday, August 12, 2045 (36.22 years from now)

Similarly, we can get a log of such astronomical events.

Q: last solar eclipse in rio de janeiro
A: 9:31 am BRT | Tuesday, September 11, 2007 (1.721 years ago)

I missed it, unfortunately. I know, I suck.

How about my daily lunch's nutritional facts?

Q: rice + black beans + chicken breast + carrot + beet + lettuce + tomato
A: full nutrition table

Nice. It gives all the amounts for not only of calories (who cares about that anyway? ), but also all the vitamins, proteins and fibers. Looks like my lunch of choice is not that bad.

How about a Math example? A friend of mine recently asked my help calculating the roots of a polynomial with degree large enough so that Maple was barfing for her. Maybe there is a way to tweak maple in order to calculate this symbolically. Maybe this is big enough so as it only can be done numerically. I'm no expert either in CAS nor algebra, but 20 doesn't look like an excessive degree, especially for such a simple polynomial, but obviously I must be wrong.

Q: z^23=1

Cool. It not only gives the roots in a nice I-did-it-with-pencil-and-paper-not-matlab way, but also plots them in the C plane. It was also fast.


I bet with the proper query syntax, my friend could solve the proper system to get the roots that interest her Finite Fields problem. (hint: separate polynomials with comma).

Does it keep up to date?

Q: swine flu
A: (as of 26/05/2009)



Usability bonus: it noted from my IP address that I'm in Brazil, and provided the summary for my country. I can attest that it still showed the total of 9 cases during the whole day in which the amount was updated to 11 in the local media, so it means it doesn't get epidemiological data in real time from, say, CDC, which would be cool. However, it probably also means that data must be manually curated, which is good for accuracy purposes.

To end this not-a-tutorial list of examples, what about the most profound question one can ask to any system?

Q: life the universe and everything

WA knows the correct answer. It couldn't get any better. I won't spoil the answer, you'll have to see it for yourself.

Do you know other fun queries? Post in the comments.

Update: corrected images.

2009-05-12

\pi = 3.0. Exactly.

Nothing to say about this. How can people even take anything for granted, surrendering their own indivituality? Free will, anyone?