Saturday, March 06, 2010

Wait a minute. Does this make me a geek?

It all started with this a virus walks into a bar video. Monu started to send a staggering variety of mathematical concepts into a bar, as befits an academic. We then came up with a half decent one about a Turing Machine in a bar. Which i then proudly passed around. And it all ended when someone sent ME into a bar and i got kicked out because i was too little. Dont ask.

Anyway. Coming to the point, ever since the Turning Machine revelation, i've had this itch to send the folks sitting at various levels of the Chomsky Hierarchy into a bar.


Note: Though there is one representative from every level, i've sent either the machine or the language or both into the bar depending on whichever was easy. Anyone wants to fill in the blanks, feel free.

A Finite State Automaton walks into a bar. "Do we server Finite State Automatons", the new kid behind the counter asks his senior. "Of course", says the senior, "he's regular".

A Regular Expression walks into a bar. "What can i get for you sir", asks the new kid. The Regular Expression yanks something off the army uniform of the guy next to him and throws it across the bar. It goes and lands next to the drink of a guy sitting there. "He'll have what that guy is having", the senior translates, "and keep them coming".


A Pushdown Automaton walks into a bar. "We dont server PDAs", says the bartender. "Why not", whispers the new kid, "i hear they can go on forever". "Yes, but they are terrible at holding their drink", the senior says. "The see something new, and out pops the old".

A Context Sensitive Grammar walks into a bar. "Do we server him", asks the new kid. "Only if he came in with Tony and Williams", says the senior, "we dont want to be dropping him home now, do we".


And now for the one that started it all.
A Turing Machine walks into a bar. "We dont server Turing Machines", says the bartender. The Turing Machine shakes his head sadly and moves to another state.

Modesty compelled me to shut up, but modesty was bested by honesty. Someday, i'm telling you, these bar stories will be used to teach Theory of Computation to a generation of computer science students. A subject surprisingly easy to botch up. I should know, i've been through it twice - the wrong way and then the right way. The machines, the rules, they are all so pretty by themselves, its almost as if they are made for missing the woods for the trees.

6 comments:

Sumit Sorde said...

One never gets over his/her true love eh? ;) Shall i remind u of the honors SB heaped on u once? :)

vinaya said...

Kaushik: Thanks!
So thaaats what all those long days err... okay hours of toil was about!
Come on now, make your education pay. Come up with something about NFAs and DFAs. Or ooh, make P and NP walk into a bar!

Sumit: Damn friends with unnecessarily good memory!

Anonymous said...

Yes it so does!

Anonymous said...

[url=http://seghan.ru/go.php?sid=35][img]http://s002.radikal.ru/i200/1001/f0/0ddd2280d906.jpg[/img][/url]












[url=http://usuarios.multimania.es/rbvrwug/]clove cigarettes where to buy [/url]
buy cigarettes using paypal electronic cigarettes where to buy buy cigarettes in florida
[url=http://membres.multimania.fr/soutyen/]buy exploding cigarettes [/url]
best buy cigarette 2652 where can i buy cigarettes buy cigarettes forum
[url=http://membres.multimania.fr/thorwcl/]buy russian cigarettes online [/url]
buy herbal cigarettes in where to buy cigarettes in nys online buy cigarettes wholesale uk
[url=http://membres.multimania.fr/ysleehf/]alternative cigaretts buy [/url]
where to buy wave cigaretts to buy cheap cigarettes in order cigarettes online cheap
[url=http://membres.multimania.fr/enemgne/]buy all natural cigarettes online [/url]
buy cheap 100s menthol cigarettes buy imported cigarettes order cigarettes marlboro newport
[url=http://membres.multimania.fr/dnnuctg/]buying cigarettes online michigan [/url]
buying clove cigarette buy merit cigarettes buy cheap dunhill menthol cigarettes
[url=http://utenti.multimania.it/peexcal/]guide to buying cigarettes online [/url]
buy american sprit cigarettes buy epique cigarettes buy richmond cigarettes

Jana said...

Oh Maaa! Who says you are not a geek ? :) That was simply superb! Lagta hai SB ke computational complexity classes aur SKA ke compiler concepts dimaag mein ghar banaye hain :) Aapke book ke liye ek badhiya title - "Turing meets Vinaya (in a hospital) - A true story" Imagine ? ;)

vinaya said...

anon: I'm glad you agree, even though i'm not sure about what :P

Jana: *I* say i'm not a geek!
Kuch dmag mein ghar ne banaya, bahut sincerely homework karna pada iske liye!

Awesome title!! Ab first page bhi bata hi do :P

 
Locations of visitors to this page