Ant optimization…

Determined: A Science of Life Without Free Will is a book by Robert Sapolsky where among other things, the author talks about how ants get food!

Actually, the numbers would shock you! Depending on the size of an average and colony, it would take 360,000 ways if there are 10 sites to get food.!

Do you know what happen if there are 15 sites!?
There is at least 80 billion ways of getting the food!

So how do ants get it?

They do and very effectively in fact! When this is used  to solve problems it is called swarm or ant optimisation!

Ant Colony Optimization (ACO) is a nature-inspired metaheuristic algorithm used to solve complex computational problems by finding optimal paths through graphs.

It was introduced by Marco Dorigo in the early 1990s and is a key part of the broader field of swarm intelligence.

The algorithm mimics the foraging behavior of real ant colonies. When searching for food, ants initially wander randomly. Once food is found, they return to their nest while depositing a chemical substance called pheromone on the ground.

Other ants are attracted to these trails. Shorter paths allow ants to return faster, leading to a quicker buildup of pheromones, which in turn attracts more ants.

Over time, the pheromone trails evaporate. This “forgetting” mechanism prevents the colony from getting stuck on a single suboptimal path and encourages the discovery of new, potentially better route!

ACO translates these biological behaviors into a computational framework using “artificial ants”.

This actually has many common applications!

Like the Traveling Salesman Problem (TSP)! one can use Ant Colony Optimization (ACO) to find the shortest route to visit multiple cities and return home!

We can also use it for Network Routing by Optimizing data traffic and identifying the fastest paths in communication networks!

Another area is for Scheduling! You can assign tasks or resources efficiently (e.g., job-shop or hospital scheduling).

The Ant Colony Optimization (ACO) can also be used for vehicle Routing and to determine the best paths for a fleet of delivery vehicles!

See what a colony of ants can do? They can make sure your Amazon prime delivery comes on time!

Ok that may be a bad joke but if you want a good one then check Sreenivasan’s movies!

or watch how an ant finds food!

your choice!

Shubh ratri…



Cellular automata…

Determined: A Science of Life Without Free Will is a book by Robert Sapolsky talks about CA!


Now CA doesn’t mean charted accountant at least this context!

It actually means cellular automata!

This whole concept was way over my head, but still is important to understand how replication occurs in machines!

Cellular automata (CA) were conceived in the 1940s by John von Neumann and Stanislaw Ulam at Los Alamos National Laboratory to model biological self-replication and complex systems.

Originally designed as discrete, 2D, multi-state systems, they evolved into simpler models like Conway’s “Game of Life” (1970) and 1D systems studied by Stephen Wolfram in the 1980s.

John von Neumann, prompted by Ulam, created the first cellular automaton to explore self-replicating machines. His model was a 2D grid with 29 states per cell, capable of universal computation.

In the 1960s; researchers began exploring CA as computational models of physical systems.

In the 1970s, John Horton Conway introduced Game of Life, a 2D, two-state automaton, which became incredibly popular because complex, life-like patterns could emerge from simple rules.

The original purpose was to understand how machines could build copies of themselves.

Simple local rules can lead to complex global patterns and it was seen that certain CA can simulate any computer algorithm!


The basic summary is that using simple rules, the patterns are estimated, but minor changes in the rules can lead to major changes later on!

It is like the butterfly effect, and this is the basis of chaos theory!

Then again, that also is something way over my head!

Though  no amount of theory can explain why humans do certain things!

Like war to the point of destruction! Then again if you have war then you must have Sam Bahadur as your chief and you will be ok!

Praying for peace…

Positive punishment or negative reinforcement??


In the opening scene of the 1984 film Ghostbusters, Bill Murray’s character, Dr. Peter Venkman, famously claims to be studying the effect of “negative reinforcement on ESP ability”!

When you listen to such technical and supposedly scientific terminology in a movie you would get up and notice!

Then again like all movies who get the medical and scientific terminology wrong even this was completely wrong for a scientist but for a layman it was alright!

In fact this scene has been used to actually reitirate the proper terminology even in science themed shows like big bang theory!

The proper terminology which should have been used must be Positive Punishment and Not Negative Reinforcement.

Venkman is shown administering electric shocks to a male student whenever the student guesses a card incorrectly.

In behavioral psychology, adding an unpleasant stimulus (the shock) to decrease a behavior (incorrect guesses) is defined as positive punishment.

While the male student is repeatedly shocked, the female student, Jennifer, is given positive reinforcement in the form of praise and “warm” encouragement—even when she guesses incorrectly! Venkman clearly ignores his own “experiment” to flirt with her.

True negative reinforcement involves the removal of an unpleasant stimulus to increase a desired behavior (e.g., stopping a loud noise when a subject performs a task).


So positive Punishment decreases behavior by adding or removing stimuli, whereas negative reinforcement increases behavior by removing an unpleasant stimulus.

Punishment (e.g., fines, time-outs) penalizes unwanted actions to stop them, while negative reinforcement (e.g., seatbelt alarms, reducing chores) strengthens desirable actions to avoid unpleasantness.

Punishment aims to decrease a behavior. Negative reinforcement aims to increase a behavior.

Punishment thus leads to the cessation of a behavior. Negative reinforcement leads to the repetition of a behavior.

Now using these terminologies one fine day we can also revaluate what one country is doing to another country because a third country is attacking it!

Whether it is positive punishment or negative reinforcement a simply INSANITY!

Then again no terminology can ever justify war!

War though reminds me of the movie border! The first one we watched just one day before a major exam! It was worth it!

Akshay Khanna has matured from that one to the latest blockbuster!

Praying for peace …
Subh ratri….

Jai shree Ram…

ANIMALS continuously exposed to a uniform damaging stimulus at first display the symptoms of the ‘alarm reaction’ and later pass into a resistant phase.

The hypothetical measure of an individual’s capacity to resist stress is adaptation energy according to Maxwell Maltz


In this work, notably Psycho-Cybernetics and Psycho-Cybernetics and Self-Fulfillment, Dr. Maxwell Maltz describes adaptation energy (also referred to as “life force”) as the “propelling fuel” that drives a person toward their goals!

It is like a  Each person is believed to have a finite amount of adaptation energy, which is used to cope with different types of stress.

Energy expended to cope with one type of stress, such as staying up late, results in less being available for other stresses, such as training.

When adaptation energy is low, a person is more likely to suffer from stress-related diseases and conditions known as burnout and rundown!

In short anything which increases your adaptation energy will increase your healing power! 

Maltz compares a human without adaptation energy to a car without gasoline; it is the energy required for the subconscious “Automatic Success Mechanism” to function and move toward a target.

Maltz suggests that this energy is used to cope with stress. He argues that mental attitudes—specifically a positive self-image—can influence how this energy is spent, thereby affecting the aging process and general vitality.

While not explicitly called “adaptation energy” in every context, Maltz’s famous observation that it takes a minimum of 21 days for a new mental image to “jell” is a practical application of this concept. He noted this 21-day window in patients adjusting to physical changes (like surgery or limb loss) and in himself when forming new habits! This adjustment time of 21 days is actually very personal and effective! Will write about that sometime!

Maltz emphasizes that because adaptation energy is finite and can be drained by “crisis thinking” or “stress,” individuals should use techniques like mental relaxation and visualization to gently reprogram the self-image rather than trying to “bully” themselves into change!

In short there is no shortcut for success you have to work slowly steady to build up both your body and mind! Remember that Hanuman ji is not only a very powerful being but also very knowledgeable! Which is maybe why most Indian wrestlers pray to him before they start their wrestling journey!

Wish your mental and physical journey be blessed on this day of Hanuman jayanthi…

Praying for peace…

From tire to star!


If you love cooking, then you will love cooking shows, and if you love cooking shows, then you will love the show, MasterChef!

If you know about MasterChef, then you will know about this Star rating of hotels and restaurants all over the world!

But did you know that this rating was only a side-effect or Side bonus to make you get out of your house and drive your car and finally make sure your tires get worn out more!

So French tire manufacturers André and Édouard Michelin wanted to encourage more driving and boost tire sales!

But  in 1900, there were fewer than 3,000 cars in France. The Michelin brothers needed to boost car ownership and driving to increase tire demand!

So they introduced the Michelin guide!

The original free Guide Michelin offered travel tips, maps, and restaurant listings!
The brothers created the free “little red book” packed with practical info (maps, hotel listings, gas stations, tyre repair tips) to motivate motorists to travel, thus wearing out their tires!

The guide became popular, and they noticed people used it to find restaurants, prompting them to start listing fine-dining spots!

Then in 1926 they introduced a star rating system for fine dining!

In the Beginning the Guide began awarding a single star to fine dining establishments.

Later on in 1931 a hierarchy of zero to three stars was introduced and finally in 1936 came the Standardization which was the criteria for one, two, and three stars. This  remains similar to this day!

One Star: A very good restaurant in its category.
Two Stars: Excellent cooking, worth a detour.
Three Stars: Exceptional cuisine, worth a special journey.

The system grew to rely on anonymous inspectors, cementing the Guide’s status as a prestigious, independent authority in gastronomy, despite its roots in marketing!

And now having a Michelin star rating for your restaurant is a matter of pride and honour and chefs would go to any length to get it!

All this Because two brothers thought that your cars need new tires more frequently!

So have you ever driven your car to a Michelin star rated restaurant?


Frankly, though I love the taste of the roadside Dhaba! Has to be clean though!

Clean also were movies starring Devika Rani Chaudhuri!

Think about one Michelin star restaurant you want to go to!

Good night…

The great war!

You know there was this war which was called a great war!


Now it gets me thinking; can any war be great?

The very fact that there is war implies that there is no peace!

Then again, there are so many war related nuggets and with the ongoing war this may be the best time to know about them!

While commonly called “The Great War” between 1914 and 1939!

The whole world knows this war as World War I!
But it was like that only after the second world war!

World War I was first termed the “First World War” by German philosopher Ernst Haeckel in September 1914. However, the title did not become official or commonly used until the outbreak of World War II in September 1939 necessitated separating the two global conflicts!


So you can realise that you can name a war only after it’s over! Like the hundred years war!


Then again, when you realise so many terms which we use so frequently, nowadays were actually derivatives of wars!


Among the native-born terms that are not self-evident, bazooka was called after a comical stage prop – a kind of homemade trombone – used by a popular comedian named Bob Burns!

Now every soldier, especially an American soldier is called a GI. In fact, there is a popular show and series named after GI!

It’s interesting to know that the terminology also came from war!

GI stands for general issue, the initials stamped on all military property!

No one knows quite when GI was first applied to soldiers, but GI Joe can be dated with certainty.

He first appeared in the 17 June 1942 issue of Yank, the armed forces newspaper, in a cartoon drawn by Dave Berger!


So one possible, good effect of war is that you get new words!

Then again, I’m sure there are better ways to get them!

Let’s have war and villians only in movies!
Like Tiger Prabhakar!

Praying for peace!
Subh ratri…

NINTENDO EFFECT


NINTENDO EFFECT


If you are a gamer or if your children are, then you would know what’s an Nintendo

But do you know what’s an Nintendo effect?

There are two definitions. The first one is very simple and clean while the second one is a wake up call to humanity…

The FIRST “Nintendo Effect” generally refers to the phenomenon where the company’s unique, accessible, and often nostalgic games or hardware revitalize older franchises, drive massive sales, and normalize gaming through high-profile, CC mainstream popularity.

It frequently highlights how Nintendo’s brand and portability turn niche or older games into popular, must-own, “portable” hits!

All okay, you say, but then you have the Nintendo effect of the war! Being in the middle of one, this is the best time to tell about this…

The “Nintendo Effect” in war refers to the sanitization and gamification of military conflict, particularly how precision-guided warfare in the 1990-1991 Gulf War was presented to the public, resembling a video game!

News media, supplied with Pentagon footage, showed nighttime, black-and-white, high-tech weaponry (cruise missiles and laser-guided bombs) hitting targets with extreme precision, creating a “virtue-less” view of combat.

This presentation, often described as a “Nintendo War,” altered public perception by making warfare seem clean, precise, and low-cost in human life, according to analysis of that era.

BUT THIS IS A CATASTROPHY!

This trivializes the conflict!

Modern interpretations of this phenomenon suggest that portraying military actions via gaming-style interfaces or “stylized” media can sanitize the brutality of war!

The “Nintendo Effect” highlights the tension between the reality of war and its representation in media, often reducing complex and devastating human events into simplified, sanitized, or “gamified” narratives!

Basically, a person sitting in a close room, much away from the battle in just in front of the TV screen can just push a button and thousand can be killed! But he or she would not even see or feel the human aspect!

As far as she or he is concerned, he or she, Might as well, be playing a game!

That is in short, the Nintendo effect!

When will we wake up and smell the coffee and realise that war is not a game?

Or sleep away silently as lives are lost and peace gets rare…

Or listen to some nice songs say by Sujatha Menon…

Your choice…
Humanity or insanity…

Mahaveer jayanti 2026…


I have often joked about this!

If the meteorological Department said today that it will rain, I would announce that it will be sunny today for sure!

And when they announce that it’ll be sunny, I would always take the umbrella!

This is actually not a joke. It’s a fact based on chaos theory!

Determined: A Science of Life Without Free Will is a book by Robert Sapolsky talks about the theory when you try to estimate the future weather.

So Chaos theory explains that weather is a highly sensitive, deterministic system, where small uncertainties in initial data grow exponentially, creating a limit to long-term predictability known as the “butterfly effect.”

While weather is predictable for only a few days, ensemble forecasting helps by mapping out possible future states.

Butterfly Effect was coined by Edward Lorenz and this concept highlights that tiny differences in initial atmospheric conditions—like a butterfly flapping its wings—can lead to vastly different weather outcomes, such as a storm forming or not. This also has been debated.

Edward Lorenz discovered this behavior in the 1960s when he noticed that re-entering data into his simulation with slightly fewer decimal places yielded entirely different results, proving that, despite deterministic laws, the atmosphere is inherently unpredictable!

Now the weather is not random, but it is chaotic. Due to the rapid growth of errors, accurate weather forecasting is limited to a few days.

Beyond roughly two to three weeks, precise daily forecasting is currently impossible!

Despite short-term unpredictability, atmospheric behavior follows patterns known as “attractors.” These represent typical seasonal climates or recurring, large-scale circulation patterns.

So instead of relying on a single model run, meteorologists run multiple simulations (an ensemble) with slightly altered initial conditions.

Probabilistic Forecasts of ensemble; If all 50+ members of an ensemble show rain, confidence is high. If they show different outcomes, confidence is low. This provides a “forecast of forecast skill”.

While tomorrow’s temperature can be predicted more or less accurately, predicting the exact temperature for a specific day three weeks away is hindered by the chaotic nature of the atmosphere!

So like I said, before, if the forecast is predicting a sunny weather, take an umbrella!

Then again, have faith on something or someone, and you will be fine!

Like a faith over Bhagwan Mahaveer

Wishing a very happy and blessed Mahaveer Jayanthi

Wait in the lobby…

Did you know that there is this whole profession who now influence a lot of rules and regulations all over the world which was named after a room?!


Don’t worry, I will not beat around the bush for long!

The origin is mentioned in the novel by Bill Bryson; Made in America!

The profession is lobbying!

The term “lobbyist” originated in the early-to-mid 19th century, referring to individuals who frequented the lobbies or hallways of legislative houses to influence lawmakers.


Derived from the Medieval Latin lobium (gallery), it described people waiting in corridors of the British House of Commons or US Capitol, later gaining popularity through tales of President Grant meeting petitioners at the Willard Hotel!


In the 17th Century the term “lobby” was used to describe the public anteroom of the British House of Commons, where citizens could speak to their representatives.

The practice of “lobbying” began in American statehouses in the 1810s. Newspaper accounts from 1817 mention “lobby members” (individuals acting as agents in the lobby) in the New York legislature, and “lobbying” appeared in print by 1820.


The Willard Hotel Myth: A widely circulated story suggests President Ulysses S. Grant coined the term when he met with individuals trying to influence him at the Willard Hotel in Washington, D.C., and referred to them as “those damn lobbyists”. While popular, the term existed before his administration.

Originally, it often referred to people in the physical lobby, but it evolved to describe professional advocates. By the late 19th century, it was also used in the context of women, such as Susan B. Anthony, lobbying for rights in the Capitol’s Marble Room.

Now of course the role of lobbyists has grown from informal influence to a heavily regulated profession, particularly after major legislation passed in 1995.

Today, a lobbyist is often defined by the time they spend (e.g., more than 20% of their time) trying to influence legislation!

Now of course, lobbying has shifted to the social media, and now it is the weapon of influencers.

Just imagine that all this started from a room! Then there is a whole movie which started from a job!

Golmaal!

Which reminds me of Utpal Dutt!

Shubh ratri…

The valence of happiness!

Do you know that both positivity and negativity can come with two forms of energy?

This energy reflects in the way we act!

There is a positive calm, there is a negative calm and in the same way, there is a negative energy and a positive energy!


Don’t worry I understood that it went right over your head!


But according to the novel Behave by Robert P; these are a combination of the effective states of humans!


Like the famous story of the Sage and the King, where the King finds the Sage without care in the world!

While the king was searching for treasures and kingdoms to conquest and finally get happiness, the Sage was already blissfully, happy and content!

It is the same with sadness…

This state of excitement is called arousal and the state of mind is the valence and these are the key elements here!


A High arousal with positive valence includes excited, happy elated! This is the typical way we express our joy! It could be your favourite cricket team of India has won the World Cup or the war finally ended! You would jump or even dance for Joy!

Now a High arousal but with negative valence includes nervous, tense upset! Which means that you’re not only sad, you’re also anxious and having the ‘nerves’ so to speak! Here, also,  you have the energy, but it’s negative!

Then you have the negative valence with low arousal! This is the state when someone has depression, simply sadness or boredom! He or she would be dull and sad without energy!

Finally, you have the ultimate bliss!

Positive valence with lower arousal!
Here you have a mind full of positivity and Bliss and you are so content and happy that you just lie down and relax without a care in the world.

That is the peak form of happiness!

Hope for that for everyone away from War and mayhem…
Think about that while watching some old movie like by Irruppam Veedu Sasidaran!

Praying for peace…

Shubh ratri…