Archive

Archive for the ‘funny’ Category

Changing directions

September 2nd, 2010 1 comment

For some reason, this reminds me a lot of the way some of my research has been going recently….

Categories: funny Tags: , , ,

Goat breath causes aphids to drop to the ground

August 9th, 2010 No comments

ResearchBlogging.org

Some headlines just write themselves…

It has been known for some time that an approaching large herbivore causes aphids to abandon ship …err plant. Makes sense since, after all, there’s not much of a point in staying on the particular bit of shrubbery that will be consumed, lock, stalk and barrel by a ravenous forager. However, it was not exactly clear what in the herbivore causes the aphids to drop. Well, it is not the shaking of the twigs, as rustling the plant did not cause a substantial number of the aphids to drop. Rather, it’s the breath. The researchers had a human, a sheep and goat all breath on an aphid-infested plant, with equal results: the aphids dropped from the plant en-masse. But what in the breath causes aphids to do that? Well, it is not the CO2 nor the air movement itself. Rather, the heat and the humidity of the breathing, as tested by Moshe Gish and his colleagues at the University of Haifa.

This is a great example of adaptation: after all, bush movement may be due to many different factors, including uninterested rodents and carnivores. Also, air movement can be simply caused by wind, including hot or humid air.  But someone breathing directly on you, hot and damp can only mean one thing to an aphid: abandon plant or be goat dinner!


Moshe Gish, Amots Dafni, & Moshe Inbar (2010). Mammalian herbivore breath alerts aphids to flee host plant Current Biology, 20 (15) R628-R629

And the best dinosaur is…

August 6th, 2010 No comments

Not only the funniest, but also the best-informed rant on dinosaurs I have ever heard. OK, I only heard this one, but it cracked me up. NSFW language.

Categories: funny Tags: ,

Science as Middle-Earth

June 26th, 2010 Comments off

From Abstruse Goose. I like it that Biology is in Mirkwood, and that Bioinformatics is on the left bank of Anduin while CS is on the right.

I would have put Botany in Fangorn (because of the Ents), Microbiology in the Sea of Rhûn for beyond it are “wide uncharted lands, nameless plains, and forests unexplored” and machine learning in the Misty Mountains (close enough to Bioinformatics, statistics and Computer Science).

Also, if the social sciences are in Mordor, what does that say about Sauron?

What is the function of a necktie?

June 9th, 2010 Comments off

From a random bulletin board…

image

Categories: funny Tags:

Motivating people: the illustrated version

May 21st, 2010 Comments off

The art of motivating employees. Interesting insights and beautiful illustrations. Also, a good mention of the open source and collaborative content movements.

Dan Pink – Drive

Pixels

April 25th, 2010 Comments off

For old-school geeks who spent the better time of their childhood prefecting their Space Invaders and Donkey Kong skills. A NYC disaster movie meets… well, something. Hat tip to Mickey.

Categories: Art, Film, funny Tags: , , ,

Stupid Pi tricks for Pi Day

March 14th, 2010 Comments off


π approximation script, from Stephen Chappell.

import sys
def pi():
    a, b, c, d, e, f = 1, 0, 1, 1, 3, 3
    while True:
        if a * 4 + b - c < c * e:
            yield e
            a, b, c, d, e, f = a * 10, (b - c * e) * 10, c, d, ((a * 3 + b) * 10) // c - e * 10, f
        else:
            a, b, c, d, e, f = a * d, (a * 2 + b) * f, c * f, d + 1, ((d * 7 + 2) * a + b * f) // (c * f), f + 2

digit = pi()
sys.stdout.write("%d.%d" % (digit.next(), digit.next()))
if len(sys.argv) < 2:
    prec = 5
else:
    prec = int(sys.argv[1]+1)
for i in range(prec):
    sys.stdout.write("%d" % digit.next())
print

To get Pi with a precision of 10 digits:

python pi_approx.py 10

And here is another script using Machin’s formula.


Credit: wikimedia commons


http://www.mathteacherstore.com/


http://threesixty360.wordpress.com/2008/03/12/pi-day-sudoku/


Categories: funny, mathematics Tags: , , ,

Leonardo da Vinci’s Resume

February 5th, 2010 1 comment

Marketing yourself is a process you go through many times. The job hunt comes to mind — but not only. Academia is rife with self-marketing: grant applications, promotion & tenure reports, attracting students to your courses and to your lab,  competing for conference lecture slots, giving a lecture.

But not only academia, and not only in the present day.

Leonardo di ser Piero da Vinci was, among many other things, a civil and military engineer.  Marc Cenedella has this report on Da Vinci’s resume, sent to the Duke of Milan, who apparently was in need of some military hardware.  The resume, such as it is, is truly a great piece of self-marketing. Note how LDV tailors his resume to the Duke’s needs. He does not list his artistic achievements (which were many by the time), but only those achievements and skills that fit his prospective employer’s interests. My observations are in boldface.

“Most Illustrious Lord, Having now sufficiently considered the specimens of all those who proclaim themselves skilled contrivers of instruments of war, and that the invention and operation of the said instruments are nothing different from those in common use: I shall endeavor, without prejudice to any one else, to explain myself to your Excellency, showing your Lordship my secret, and then offering them to your best pleasure and approbation to work with effect at opportune moments on all those things which, in part, shall be briefly noted below.

1. I have a sort of extremely light and strong bridges, adapted to be most easily carried, and with them you may pursue, and at any time flee from the enemy; and others, secure and indestructible by fire and battle, easy and convenient to lift and place. Also methods of burning and destroying those of the enemy. [Before the legendary British WWII Bailey Bridge]

2. I know how, when a place is besieged, to take the water out of the trenches, and make endless variety of bridges, and covered ways and ladders, and other machines pertaining to such expeditions.

3. If, by reason of the height of the banks, or the strength of the place and its position, it is impossible, when besieging a place, to avail oneself of the plan of bombardment, I have methods for destroying every rock or other fortress, even if it were founded on a rock, etc.

4. Again, I have kinds of mortars; most convenient and easy to carry; and with these I can fling small stones almost resembling a storm; and with the smoke of these cause great terror to the enemy, to his great detriment and confusion. [Battlefield smoke].

5. And if the fight should be at sea I have kinds of many machines most efficient for offense and defense; and vessels which will resist the attack of the largest guns and powder and fumes.

6. I have means by secret and tortuous mines and ways, made without noise, to reach a designated spot, even if it were needed to pass under a trench or a river.

7. I will make covered chariots, safe and unattackable, which, entering among the enemy with their artillery, there is no body of men so great but they would break them. And behind these, infantry could follow quite unhurt and without any hindrance. [Yes, LDV invented the tank! Note also the combined infantry / armor tactics].

8. In case of need I will make big guns, mortars, and light ordnance of fine and useful forms, out of the common type. [Not only can I do it, I can do it cheaply, by re-purposing your existing ordinance.]

9. Where the operation of bombardment might fail, I would contrive catapults, mangonels, trabocchi, and other machines of marvelous efficacy and not in common use. And in short, according to the variety of cases, I can contrive various and endless means of offense and defense.

10. In times of peace I believe I can give perfect satisfaction and to the equal of any other in architecture and the composition of buildings public and private; and in guiding water from one place to another. [Dear Duke: you want to hire me even if you are not fighting, or you will want to keep me after your wars are over.]

11. I can carry out sculpture in marble, bronze, or clay, and also I can do in painting whatever may be done, as well as any other, be he who he may. [Another peacetime skill.]

Again, the bronze horse may be taken in hand, which is to be to the immortal glory and eternal honor of the prince your father of happy memory, and of the illustrious house of Sforza. [Catering to the employer's vanity. Gotta know how to do it right...]

And if any of the above-named things seem to anyone to be impossible or not feasible, I am most ready to make the experiment in your park, or in whatever place may please your Excellency – to whom I comment myself with the utmost humility, etc.” [I realize make big claims, but I can back them up. Just get me an interview.]

edw513 at Ycombinator.com has adapted this resume to fit current market needs:

If it worked for Leonardo da Vinci, maybe it could work for me. The next time I’m looking for a job, I’ll try this:“Most Illustrious Proprietor, Having now sufficiently considered the specimens of all those who proclaim themselves skilled developers of applications of business, and that the invention and operation of the said programs are nothing different from those in common use: I shall endeavor, without prejudice to any one else, to explain myself to your Company, showing your Management my secret, and then offering them to your best pleasure and approbation to work with effect at opportune moments on all those things which, in part, shall be briefly noted below.

1. I have a sort of extremely light and strong functions and modules, adapted to be most easily ftp’d, and with them you may pursue, and at any time combine them with others, secure and indestructible by standard mean time to failure of hardware and denial of service, easy and convenient to compile and catalog. Also methods of unzipping and storing the data of the customers.

2. I know how, when a website is besieged, to shard data onto the cloud, and make endless variety of mirrors, and fault tolerant disks and RAIDs, and other machines pertaining to such concerns.

3. If, by reason of the volume of the data, or the structure of the btrees and its indexes, it is impossible, when conducting a search, to avail oneself of sub-second response time, I have methods for benchmarking every process or other function, even if it were interpreted, etc.

4. Again, I have kinds of functions; most convenient and easy to ftp; and with these I can spawn lots of data almost resembling a torrent; and with the download of these cause great terror to the competitor, to his great detriment and confusion.

5. And if the processing should be on the desktop I have apps of many machines most efficient for data entry and reporting; and utilities which will satisfy the needs of the most demanding customers and users and consumers.

6. I have means by secret and tortuous scripts and modules, made without leaving tracks, to generate source code, even if it were needed to run on a client or a server.

7. I will make secure firewalls, safe and unattackable, which, entering among the hackers with their utilities, there is no body of crackers so great but they would break them. And behind these, software could run quite unhurt and without any hindrance.

8. In case of need I will make big properties, methods, and collections and useful forms, out of the common type.

9. Where the operation of compiling might fail, I would contrive scripts, functions, routines, and other parameter driven processes of marvellous efficacy and not in common use. And in short, according to the variety of cases, I can contrive various and endless means of data entry, reporting, and storage.

10. In times of low revenue I believe I can give perfect satisfaction and to the equal of any other in maintenance and the refactoring of code public and private; and in guiding data from one warehouse to another.

11. I can carry out code in Javascript, PHP, or C, and also I can do in network administration whatever may be done, as well as any other, be he who he may.

Again, the intranet app may be taken in hand, which is to be to the immortal glory and eternal honor of all your customers of happy memory, and of the illustrious house of Google.

And if any of the above-named things seem to anyone to be impossible or not feasible, I am most ready to make the experiment in your data center, or in whatever place may please your Businessperson – to whom I comment myself with the utmost humility, etc.”

Categories: funny Tags: ,

All theories proven with one graph

February 2nd, 2010 Comments off

Boys and girls, it can be done. Published in the Journal of Irreproducible Results (Where else?)

Categories: funny Tags:

Newton’s birthday and crop diversity

January 4th, 2010 Comments off

Today is the 366th birthday of Sir Isaac Newton. Formulator of the three laws of motion, the theory of gravity, inventor of the first reflecting telescope, theory of color, calculus (with due credit to Gottfried Leibniz), the generalized binomial theorem, and president of the Royal Society.

Newton in a 1702 portrait by Godfrey Kneller

All which ties in directly to retail, and biodiversity. Huh?

Co-operative Farms (UK) recently bought 1,000  rare and endangered apple varieties, with colorful names like Great Expectations, Fairie Queen, Northern Spy, Forty Shilling, Duck’s Bill and Bloody Ploughman. (I wonder how the last name came to be; actually, maybe I shouldn’t.) This also includes Isaac’s Newton’s Tree: the apple variety cultivated from the descendants of the tree which inspired Newton to formulate the Theory of Gravity. Many of those apples were dessert apples, but some fell out of favor the strains were no longer grown, threatening to disappear.

Co-op Farms are bottling them up as the “Truly Irresistible Tillington 1,000″ pressed apple juice. I think it is great that a retail chain is funding crop diversity and finding a way to make some money in the process. Although with 7,500 cultivars worldwide, apples as are not exactly under an extinction threat. But there is also the matter of food variety, cultural heritage and, of course, preserving the history of physics. Or bottling it up, whichever the case may be.

Also, fruit, including apples, are important in the small-arms industry:

Real programmers use…

January 3rd, 2010 3 comments

A nice take on the vi / emacs wars

vim rules, emacs drools

Also, real programmers browse the web using the vimperator.

WoW is full of bacteria

December 24th, 2009 Comments off

Speaking of sampling bacteria, this ties in well with the previous post about GEBA. And by “well” I mean “in an alternate-universe/ altered-consciousness manner”.

The voices in the song are sampled from this KFC employee training tape. The video won a prize in machinima.com. So if you like World of Warcraft, bacteria, KFC, sampled music, or any combination of the above, you’re gonna love this.

The Tao of Programming

December 2nd, 2009 Comments off

I was recently reminded of this classic by Geoffrey James. Here are a few of my favorites. The whole text is available online.

In the beginning was the Tao. The Tao gave birth to Space and Time. Therefore Space and Time are Yin and Yang of programming.

Programmers that do not comprehend the Tao are always running out of time and space for their programs. Programmers that comprehend the Tao always have enough time and space to accomplish their goals.

How could it be otherwise?

tao

Thus spake the master programmer:

“After three days without programming, life becomes meaningless.”

tao

A novice asked the master: “I have a program that sometime runs and sometimes aborts. I have followed the rules of programming, yet I am totally baffled. What is the reason for this?”

The master replied: “You are confused because you do not understand Tao. Only a fool expects rational behavior from his fellow humans. Why do you expect it from a machine that humans have constructed? Computers simulate determinism; only Tao is perfect.

“The rules of programming are transitory; only Tao is eternal. Therefore you must contemplate Tao before you receive enlightenment.”

“But how will I know when I have received enlightenment?” asked the novice.

“Your program will then run correctly,” replied the master.

tao

A novice asked the Master: “Here is a programmer that never designs, documents or tests his programs. Yet all who know him consider him one of the best programmers in the world. Why is this?”

The Master replies: “That programmer has mastered the Tao. He has gone beyond the need for design; he does not become angry when the system crashes, but accepts the universe without concern. He has gone beyond the need for documentation; he no longer cares if anyone else sees his code. He has gone beyond the need for testing; each of his programs are perfect within themselves, serene and elegant, their purpose self-evident. Truly, he has entered the mystery of Tao.”

529px-Tao_character.svg

Categories: Software, books, funny Tags: ,

How to reject a scientific paper

November 4th, 2009 1 comment

I didn’t write this one, but I wish I did. I found it on Science after Sunclipse. I guess that a CC license can be safely applied to anonymous chain letters.

Today CBSG continues with its pointers for budding scientists with the second part on serving as a peer reviewer for papers and grants.

Okay, you’ve decided that you are going to reject a manuscript. The naive reviewer might think that it is enough to simply state the reasons for the rejection as clearly and succinctly as possible. But this overlooks a major issue: ensuring that the authors do not know that it is you who rejected the manuscript.

Because the peer review process is anonymous, this may seem like no concern, as long as you extirpate all references to your own work to keep your identity secret. Wrong! You have to keep in mind that no matter how crappy the paper is, the authors are going to be pissed that it is rejected, and they are going to immediately begin wracking their brains to identify referees who might have done the dirty on them. Most will form a list of at least 5 or 6 people that they think are likely to have screwed them. Since most papers are reviewed by no more than 2-3 reviewers, this means you have a good chance of being on the list even if you were NOT the reviewer. Thus, particular pains must be taken to direct the authors ire elsewhere. Several different means to accomplish this are described below:

1. Pretend that you are British. (Note — this does not work well if you actually are British).

Just a few decades ago, it was enough to include a liberal sprinkling of “rathers” and “doubtlesses” throughout the review, and convert all colors to colours, analyze to analyse, polymerize to polymerise, etc. However, the increasing intellectual and cultural cross-pollination brought by the internet has rendered such limited measures ineffective. Thus, you need to be au courant with all the most specific idioms available to the average Brit.

For example, you might want to refer to a poorly run gel as being “dodgy”, “gammy” or “a bit pear-shaped”. Especially effective are slang terms derived from cricket. This is because no self-respecting American knows anything about this sport (indeed, outside the British Commonwealth, cricket is universally reviled as the one sport even more boring than baseball). Here are some cricket-based phrases worked into sentences that you might include in a review. Instead of writing “Some of the data presented by the authors are mutually contradictory” write “The authors seem to have gotten themselves into a bit of a sticky wicket”.

Instead of writing “The documentation of morpholino efficacy by monitoring expression of exogenously provided target rather than the endogenous target is not quite fair” write “Using GFP-ponticulin as a read out for the morpholino effects is not quite cricket”. And, instead of writing “I was chagrined to see that the authors ignored the previous studies by the Jones lab”, write “the failure of the authors to cite the seminal studies of Jones and colleagues hit me for six”.

1B. Pretend that you are an American pretending to be British (Note: this does work if you are British, but does not work if you are American.) The strategy here is similar to #1 above, but instead of being a little bit subtle, you go straight over the top. Thus, instead of writing “I seriously doubt that anyone will believe …”: “Blimey! Blokes would have to be right daft if they were to believe …”

2. Pretend that you are Canadian. This is harder because the only major language difference between Americans and Canadians is that the latter tend to mispronounce words with the short O sound such that they rhyme with newt. Needless to say, this sort of thing is not manifest in written reviews.

However, the canny reviewer can draw on the one or two features of Canadian culture that are unique. Interestingly (in light of the cricket discussion above) most of these revolve around Canadian football. For example, you might allude to a paper not being ready for the Grey Cup yet (a reference to the Canadian equivalent of the Super Bowl), describe an experimental situation as being “3rd and long” (an allusion to the fact that there are only three downs in Canadian football) or argue that the authors need to “bring in a couple more coaches” (referring to the fact that Canadian football teams have 4 head coaches). Cite obscure Canadian journals: “J Can. Med. Assoc.” or “Can. J. Cardio.” No one outside of Canada reads these journals.

3. Pretend that you are German. This is even harder, because even if you know some German, you have to write your review in English for most journals. Be extremely precise and technical. You could also try simply putting the verb at the end of your sentences (as in “The experiments in figures 5 and 6 should repeated be”), however this runs the risk of having yourself labeled not as a German, but as an imbecile or an incarnation of Yoda. Alternatively cite organic chemistry articles from the late 19th and early 20th century that have never been translated into English. Cite German aricles during the 30s and 40s when the rest of Academia was trying its best to ignore German science.

3B. Pretend that you are an American pretending to be German; sprinkle the text with flavorful comments such as “Ach mein lieber!” or “Du spinnst!” Or, if a line of reasoning is particularly awful, “Ist gibt ein Blutbat en der Hoelle!” Stick umlauts on random words, and make liberal use of the eszett. Downside: the editor will conclude you have flipped.

4. Pick one of the people from you own list of 5-6 enemies and pretend to be that person. Heavily cite their work. Reference their obscure conference presentations. Arrogantly suggest that person’s methods in favor of the methods used in the paper, especially where they are clearly inapplicable

Categories: Writing, funny Tags: ,