As I near the half-century mark, patterns and links seem to jump at me from everywhere. A snippet here, a para there, some serious-faced actor mouthing deep philosophical dialogue, you know, all of a sudden, there pops a surreal link to something else that I read or heard a while ago. It feels quite strange sometimes, like lots of déjà vu, like there are only limited original ideas, and then millions of shades are out of them.
This weekend, I was going through ‘Treading on Python Series: Intermediate Python Programming by Matt Harrison and found this code for a normal imperative filter:
>>> nums = [0, 1, 3, 4, -2] >>> pos = [] >>> for num in nums: >>> if num > 0: >>> pos.append(num) >>> print pos [3,4]
Now, python has beautiful list comprehension that looks like this:
>>> pos = [num for num in nums if num > 0}
Gives the same output; quite artistic, right?
Funny was the pop in the head linking to this unbelievable shloka in Samskrit, which uses only one consonant य (ya) and आ (ā).
यायायायायायायायायायायायायायायाया ||
Proper prose order is:
यायाया आय आयाय अयाय अयाय अयाय अयाय, अयाया यायाय अयायाय आयाया, या या या या या या या या !!!!
The meaning is ‘The sandals which adorn the Lord, which help in the attainment of all that is good and auspicious, which give knowledge, which cause the desire (of having the Lord as one’s own), which remove all the that is hostile, which have attained the Lord, which is used for going and coming from one place to another, by which all places of the world can be reached, these sandals are for Lord Vishnu’.
Now, can you beat that!!?? Samskrit seems to be a perfect finished language that can pack difficult concepts like astronomy and logic in highly compact verses, no less admiringly like the new-age Python list comprehensions. Language is a tool, but it takes human comprehension to come up with these extremely intelligent constructs.
Oh, by the way, I don’t think it is only us homo-sapiens who excel at this. Yuval Noah Harari came up with this in his book ‘Homo Deus’:
‘Both whales and humans process emotions in a part of the brain called the limbic system, yet the whale limbic system contains an entire additional part which is missing from the human structure. May be that part enables whales to experience extremely deep and complex emotions alien to us? Whales might also have astounding musical experience which even Bach and Mozart couldn’t grasp. Whales can hear one another from hundreds of kilometres away, and each whale has a repertoire of characteristic ‘songs’ that may last for hours and follow a very intricate pattern.’
So, if not language and comprehension, what makes us more successful than whales? It's unnerving to think of us as biological ‘algorithms’, that consciousness can’t be established as a separate existence from ‘algorithm’, and even more scary that we have successfully decoupled intelligence from consciousness. Think of AI.
Now you know what I mean the world is lighting up with meanings and interconnections? I have been blessed to be born in this era to my parents and to be able to connect with all of you who touched my life, however briefly. 🙂
I hope you all have had a good weekend. Stay safe and stay home!!!!!

No comments:
Post a Comment