Sunday, March 31, 2024

Continuous Glucose Monitoring

If you are diabetic or heard enough about Continuous Glucose Monitoring from the media/friends already, you can skip this post completely. Emoji

Last time I went for a routine medical checkup/blood work, the numbers showed me as just reached pre-diabetic stage. If you are not familiar with this diagnosis, it is nothing too alarming, as millions of people all over the world live in this state for decades. The medical industry's guidance at this stage is to "just watch", meaning no medication or change in lifestyle required. They will keep testing once a year to see if we actually become diabetic, after which medications will be prescribed. To me, this doesn't make sense, since this is the time to dig into the data to see what changes we can make in our diet and exercise routine so that the A1C numbers don't continue to trend up. Though things like reducing weight, exercising more and eating less carbs will all help, since each individual's metabolism is different, getting lot more data about our particular body/food/exercise habits to see what we can easily to tweak to go back to normal state is what makes sense to me. 

To gather a lot of data, bought a Freestyle Libre CGM (Continuous Glucose Monitoring) system, that has a sensor that you attach to your body and a reader, using which you can read your blook glucose level in a second, whenever and as many times as you want. Till two weeks back, getting a CGM in the US usually required a doctor's prescription, whereas in other parts of the world, you can purchase one OTC (Over The Counter). The US FDA changed the rule couple of weeks back allowing OTC sales in US as well. Hopefully it will bring the price down. While there are a lot of models, types, version, the one I bought costs roughly $100 for the reader and $30 for the sensor that works for two weeks (exactly, to the minute). I got a second sensor, in case I mess up while putting on the first one. But it was easy to put on and so I have a spare one now, that someone else can use later. 

You can find a lot of details about CGM online, and in YouTube videos. But here are a few photos/video explaining what I did.

https://photos.app.goo.gl/2q2qfHiXDTfPAoLV7 

The Abbott Labs that sells this particular model wants you to create an account, and upload all the data to their cloud, so that they can analyze and give your results/recommendations. Since the EULA wants you to allow them to own/use the data however they want, forever, I felt uncomfortable and went through the painful process of entering all the data into a spreadsheet and doing the analysis myself. If you don't mind giving away your data, you can download apps available online, and use the provided USB cable to easily transfer the data to get the analysis done online. 

This reader also has the interface to take glucose blood test strips to provide you the reading, though I didn't use it myself. There are newer versions of the device, where using the Bluetooth interface, data can be directly transferred to your phone and then on to the cloud, etc. I intentionally used a low-tech version where the reading stays in the handheld reader, that is about the size of pager, with a very easy to use, single button interface.

The sensor actually measures the glucose levels in the Interstitial Fluid rather than in the blood hemoglobin but is considered pretty accurate, since the reader can use a formula to covert (i.e. estimate) it to blood glucose level. 

I took about 20 to 25 readings each day for the past two weeks and so have about 300 readings. The sensor you attach to your body does gather the glucose data continuously and so even if you don't read it so many times, when you do, it will transfer all the data to your reader. You can see it in the graphs the reader plots & shows you (see photos). But since the reader screen size is small, and since I wasn't transferring the data to the cloud, I am depending more on the 300 manual readings I took and recorded on a spreadsheet with notes on foot/activities. 

Observations made are applicable mainly to me, since that is the reason to go through this process is to get a better understanding of our own specific (i.e. one person) metabolism. Still, I am listing a few salient points I gathered, since these insights may be useful for others to follow or may indicate the value & surprise findings you derive by going through this exercise. I defined my "normal range" as 70 to 120 mg/dL.

- Eating a cup of plain white Raman noodles (without adding any vegetables, proteins, flavors, etc.) causes a glucose spike close to 200. I used this as a baseline to test couple of theories.

- Eating the same plain noodles, preceded by a small salad, flattens the spike, limiting it to about 150. 

- Eating the same plain noodles, followed by 20-25 minutes of moderate exercise (like brisk walking), flattens the spike, limiting it to about 150. 

- White rice eaten with Sambar/rasam/butter milk (typical south Indian lunch/dinner) causes a spike close to 200.

- Preceding the identical meal with a small salad keeps it under 150. 

- Alternately replacing white rice with cooked bulger wheat or brown rice eliminated the spike.

- Eating a small salad or protein, seems to coat/occupy your intestine preventing any subsequent carb/sugar coming in from causing a spike. 

- Eating 1.5 slices of toasted whole wheat bread OR just one cup of south Indian rava uppuma caused a sharp spike. I think white bread would have caused even a bigger spike. 

- I tried all types of food (Mexican, Italian pasta, pizza, black coffee, coffee with milk & sugar, fruit smoothie, pistachio nuts), different type of exercise (walk, jog, weights, stretches/sit-ups) and took readings to see how/what I can optimize to prevent spikes.

There are articles like this one that argues why common public should NOT do CGM, and how spikes after eating different food is quite normal, as long as the glucose level comes down on its own in the following hour. I do understand those points and my levels do come down. Still, being an engineer, I prefer & tend to measure, analyze, debug and fix issues before they become a crisis. I am hoping to use the collected data to modify my diet & exercise routines to see if I can go back to being normal (instead of pre-diabetic) next time I go for a checkup. If I can do that, I'd have gotten my money's worth, and this process will be in line with my goal of living a healthy life as long as I can without resorting to chronic daily medication just to lead a normal life. Will tell you how it goes after 6 months or 1 year. 

If you are already an expert and have pointes for me, drop me a note.  

Book Review: Chip War by Chris Miller

This book titled Chip War - The fight for the world's most critical technology by Chris Miller came out in late 2022 and became a best seller quickly garnering a lot attention. Since I keep yapping about semiconductors all the time, many friends, including my own team members who have read the book kept asking me if I had read it. Since I am slow reader, who still haven't learned to skim through a book perfunctorily, I remained reluctant to pick it up. I thought it may not have a lot of new material for me to learn, as we have been living this history for the past few decades. But the noise about the book was getting deafening, with our own CEO interviewing the author, and various news media outlets incessantly talking about it. So, decided to pick it up from the local library. While I should honestly say there wasn't a ton of new information for the semiconductor industry oldies like myself, I thoroughly enjoyed the read. It felt similar to watching a good movie you liked for the second time! If you are not in the semiconductor industry, I will highly recommend this book as the material is written in an extremely accessible prose covering lucidly not only the old history but the current status and how critical this technology is for the entire world.

Author is not an industry expert but an academic, who teaches international history. Since he has taken the time and put in the effort to grok a lot of material, conducted a ton of firsthand interviews, the story arc has come out very well, bearing his international history background as the overarching signature. Most of the individual chapters are only 4, 5 pages long, while the total book spans a respectable 350 pages. Starting from cold war days, the invention of integrated circuits, book chronicles how this technology originally invented in the US, was taken over by countries like Japan in the 80's forcing companies to reinvent themselves. There are several stories and personalities from Intel since it is a quintessential part of the world's chip industry history. While in the late 80's it looked like US has totally lost the leadership, US companies managed to out invent everyone else, bringing the leadership back to the US for couple of decades. But the subsequent developments, such as the emergence of TSMC that prints chips for most of the world, has reshaped the world and this market. Countries like Russia and China see the importance of being a leader in this domain from both military and civilian national requirements but haven't succeeded in becoming serious players so far, despite a lot of government push, deluge of subsidies and even industrial espionage. While most people in the world think of chips as some commodity similar to potato chips (i.e. fungible, gets produced somewhere and used somewhere, without the locations mattering much), the pandemic that resulted in chip shortage that brought things like automobile production lines to a halt, helped the world realize how smoothly this supply chain has been running in the background.

Though US controls many choke points such as high-end chip design software, currently the manufacturing prowess to produce the most advanced chips sit with TSMC and Samsung. Our company Intel Corp is trying to catch up, working with companies like ASML that manufacture the machines needed to make these cutting-edge chips. Building each generation machines and factories costing literally tens of billions of dollars involving extreme specialization makes this cutthroat competitive world a difficult one to survive. Just take a look at this one short video our company has put out to see how complex the technology is. If you pay attention to the process of generating the UV light that doesn't exist naturally, you will see why the effort we need to go through and the technology that need to work flawlessly to print the next gen microchips is truly mind boggling. If you don't ask. "Are you kidding me? Is this for real?", you weren't paying attention. Emoji

While I am tempted to write a lot more, I am trying to keep this short and will highly encourage those who are not working in the field of semiconductors to reach this book to understand the breadth and importance of this field. Same recommendation for new young engineers in this field as well! 

Time to go back to The Song of the Cell by Siddhartha Mukherjee that I am only halfway through! 

Book Review: Outlive by Peter Attia

This book titled "Outlive - The Science and Art of Longevity" came out just last year (2023) and seems to be making waves. My friend Sanjay Padubidri recommended it and so picked up a copy from our local public library. Since it is a fairly new book, it came on a two week loan, instead of the usual 3 week period. Though at 410 pages, it looked like a big book, it was an easy read and yes, it could have been shorter in length, like this book review. Emoji

Attia is a practicing physician and has written this book with Bill Gifford, though pretty much every line is written in first person singular mode. Classifying and giving names to everything is a common practice in the US these days. In that tradition, he starts off discussing medicine as Version 1.0 (medieval practices like blood letting, etc.), 2.0 (current version that focuses on issues after they show up) and 3.0 (where a lot of treatment is preventative). Then spends a lot of pages talking about the "the four horsemen" of ailments that pain us as we age, viz. metabolic issues like diabetes, heart health issues, cancer and neurological issues like Alzheimer's. Second half of the book dives into measuring everything possible, finetuning our routines (in eating, exercising, sleeping) to prevent or delay these ailments from slowing us down, so that we can "Outlive" them into a happy, healthy old age. 

Books gets into the details of each area (e.g. functions of various genes, enzymes, hormones) and also adds a lot of personal stories about patients he treated, how he was so ignorant and over the decades learned his lessons and so on. While these makes it all very easy to read as there is not a lot of difficult concepts that you need to remember, it also feels like very many pages could have been eliminated, including sections meant for his humble bragging. On the positive side, certainly liked the fact that he is not pushing any one wonder drug or diet or practice that will solve everything but is evangelizing a comprehensive approach of moderation on multiple fronts (diet, sleeping, exercising, taking needed medication). The overall takeaways are presented in an easy to remember fashion and so it is worth a read, though it may not be necessary to buy and keep a copy. Last round of annual check up I had showed me as mildly pre-diabetic. Based on what Sanjay was telling and this book is suggesting, thinking of getting a CGM (Continuous Glucose Monitor) for a month or two to get a lot of data. This should help me tweak whatever I can in diet/exercise to continue my general goal of living a healthy happy life as long as I can, without having to take chronic medication. Will see how it goes. Looks like many such "lifestyle gurus", he is also making an industry out of this with a website where he is posting videos, podcast, book, patient sessions, etc. Though there is nothing wrong with any of that, it reminded me of another writer mildly making fun of an Indian Swamiji pushing spiritualism, who has established an equivalent of a mega church that takes Mastercard and Visa for their services! Emoji

Monday, January 15, 2024

Enathu Naadaga Vaazhkkai

For my non-Tamil speaking friends, this email's subject line might have sounded odd. It is because it is the transliterated title of an old Tamil book. It means something like "My Life in Drama" as in stage plays. It can also be understood as "My Fake Life". Pun is certainly intended by the author. Thought will write a note about this Tamil book, for many interesting reasons. 

I came across this book in an article I was reading on the Tamil magazine website solvanam.com. Since it sounded interesting and is readily available to download as a public domain PDF version, started reading it. This is supposedly an autobiography written by a legend in Tamil stage plays, called T.K.Shanmugam, who lived from 1012 to 1973. You can read a quick excerpt about him at 
It was written/published more than 50 years back and appears to be based extensively on the daily diary he had kept. So, it read more like a series of diary updates rather than a cohesive thesis or a well put together story. Every couple of paragraphs or page had a subsection title, as each one talked about a particular event or activity, without too much of a continuation from one subsection to the next. After a few pages I was getting a little tired with the flow and the prose. But then realized I actually need to step back to understand the overall ideas in the book on my own, rather than depending on what the author is saying page by page. Once this realization set in, I started enjoying the read. 

I was intrigued to note that even after using English as my first language for the past 3+ decades, I could read a book in Tamil much faster than I can one in English. Granted this book is certainly light reading, compared to something like Francis Fukuyama's Political Order and Political Decay. Still, this book is more than 560 pages long and I was able to read it in 2-3 days. You can either say my Tamil is still much better than English or perhaps my English will never improve to be any good till the end of my life. Emoji 

The author TKS had joined a company when he was just 5 years old and had started performing. He has written about his life as a traveling performer and subsequently as a theater company owner, spanning 50 years from pre-independence British colony India days to the post-independence Republic of India years. Similar to traveling circus groups that were popular during the first half of the 20th century in the US, there were these theater groups that were popular in India, particularly in the southern state of Tamil Nadu. Each one of these companies had a long name something like Madurai Saraswati Ghana Vinoda Nadaga Sabah. Many companies had the Madurai prefix, which refers to a famous temple town in Southern India that was historically known for poetry, literature and theater. They felt it gave them an aura of credibility, irrespective of whether they are originally from Madurai or not! 

Each group probably consisted of close to about 100 people, that constituted of actors, musicians, stage designers, organizers, accountants, cooks, managers and so on. Owners who invested money, traveled with the group and managed day-to-day affairs or employed managers and stayed in their home bases. These groups used to put together a play that could be based on one of the Indian mythologies (such as The RamayanamMahabharatham or a subplot from one such mythology), or based on historically popular brave Indian kings & queens or based on contemporary societal issues that were on the forefront in those days. These groups are often called "Boys Company". Many even had that term in their company names. It actually indicated that most of the actors in these companies were 10- to 20-year-old boys. It is amazing to realize that 12, 13-year-old boys memorized hundreds of pages of dialogues and songs and then performed as full-fledged actors on these theater productions, playing both male and female roles. The tutors in the company used to teach them how to sing and act. Newbies will start performing small roles and depending upon their abilities, graduate to bigger roles, finally ending up with the lead roles on multiple plays. They are often required to memorize lines (author refers to "lines" as "paadam" in Tamil, which means "lesson") for both hero and heroine roles as they may be required to switch roles depending upon the play/company/actor availability & requirements! Those who play female roles routinely used to grow long hair to make the makeup part easier to complete. While they did employ few women actresses, since keeping young women in payroll and taking them around had its own complications and safety issues, they preferred men (or actually boys) playing female roles.

Similar to circus companies in the US in those days, these companies used to move from one town to another every few weeks. Once a town is picked, they will find a stage for which they will pay rent, find a big house where most of the company members would stay (this is referred to as company house) and start practicing. Food will be cooked and provided by the company to all the employees on a daily basis. These stage plays will start around 9:30 p.m. and we'll go on till 2:00, 3:00 a.m. in the morning, thus lasting about 5 to 6 hours or even more! It is common for these young actors to even sleep in between and then wake up to return to the stage to finish off performing their roles. Shows will not be held on weekends but more on weekdays. Audience used to finish their work and then head over to these temporary theaters to see these elaborate shows. 

There were a lot of very intriguing and interesting facts that are sprinkled around the book. For example, it was customary to print notices with interesting hook lines, exclaiming why a particular character that is part of the play is laughing or crying and encouraging people to come and see the show to find out the answers. When the company TKS belonged to moved into a small town (circa 1923), they were told that in that town there are no printing presses to print anything and so it is not a practice to distribute notices to advertise the play. The author TKS being a 11-year-old boy, was afraid to ask the elders in the company as to how else would they advertise the play in that town. But he subsequently comes to know that outside the building where the show was being performed, half a mile away, there was a marked location to explode loud firecrackers. Around 7:00 p.m. they would explode 3 firecrackers that would send out loud booms, heard by people in the nearby towns and villages in the next 5-to-10-mile radius. This will serve as an advertisement and notification that a drama company is in town performing plays. Hearing these loud booms, people will walk over or come in small carriages to the location, buy the ticket and watch the play that runs through the night. 

In the early days, there was no electricity. So, they used what are called Petromax lights. Since even these are expensive, they used to have just 4 such lights. One in front of the theater, one in the back where actors were putting on make-up and two on the stage to light the stage up. That's all the lighting they had for the big production! Author talks about difficulties they had walking from company house to the building where the show was taking place in the dark, in unpaved village mud paths, worried about animals or snakes attacking them! Usually, one elder in the company will carry a lantern and lead the walk, while everyone else will just follow that person walking in the dark. Sometimes plays used to be staged in the middle of the ground, with people sitting around (like amphitheater) as well. As the decades passed by, they moved on to more solid stages, electric lighting and lot of stagecraft involving electricity, elaborate pulley systems to show mythological characters flying, floating on clouds and so on. It was also customary to stop the play before the final scene, to allow local patrons/village heads to come and give presents (like gold medals) to the actors and then continuing with the last scene to complete the play. Picture of the book's cover page shows TKS with four different looks. He is in the middle with glasses, performing as the Hindu God Krishna on the left, as a king/warrior and as a female Tamil poetess named Avvaiyaar on the right. Since his performance in this role was so spectacular and the play was such a big success, he was given the title "Avvai" and so was known as "Avvai Shanmugam". 

Since these were the 1920s, 30s and 40s, the growth of this industry is quite closely tied up with Indian freedom fighting movement to get freedom from the British, promoting societal values such as women's education, widow's remarriage and so on. Author write with so much of exuberance about seeing national leaders & freedom fighters such as Gandhi, Nehru, Rajaji, singing in front of them, interacting with many others. Since motion pictures were also showing up to compete in the entertainment realm, these companies, actors, and owners were often involved in producing movies based on their plays. In many years/towns, collections for the shows used to be so bad that they need to frequently move to find greener pastures or switch shows from one to the next within a day to try to make more money. If the movies they produced were successful, they plowed the profits back into these productions. Many of the political parties in Tamil Nadu having understood the power of this mode of mass communication, routinely used this medium to promote their ideas and principles. Many of the show authors subsequently became political leaders, and Chief Ministers of the state. Since one division of the political party considered themselves as rationalists who were atheists, they were often opposed to productions based on Indian mythologies with Hindu Gods. Still the drama companies and the atheist politicians got along, tolerating each other as they were also often staging plays that tried to push the society in the right direction that they both could agree on.

It was amusing to see practically every name the author mentions (as actors, musicians, writers, tutors, supporters, that would run into hundreds) has their caste name listed as the name's suffix. This was very common in those days and was practically a mark of respect, though it sounds so anachronistic today! Another amusing thing I noted about the names were the double initial. In the state of Tamil Nadu in India, there is no concept of family name. Each one is given a name (my name was Sundararajan) that will be preceded by the first letter of the father's given name (in my case Vedantham) as the person's initial (and so my name in school certificates were V. Sundararajan). Occasionally my classmates (or even my Dad) used to have two initials, referring to their hometown, etc. My Dad's official name is A.D.Vedantham, where A refers to the town where he grew up in (Ariyakudi) and D refers to my paternal grandfather (Desigan). In my school days, out of 30, 40 kids in my class, usually a couple will have two letter initials. But practically every person this author refers to (including himself) had two initials! 

There is so much more to write, such as the ease with which TKS and three of his brothers, learned different languages to bring in plays from other languages in India, how they wrote down occasional English dialogs in Tamil, memorized and delivered them precisely earning kudos, so many jokes (someone's hair piece coming off exposing the boy playing girl), dangers (stage props falling down occasionally injuring actors), difficulties (local mafia asking for a cut in collection without which they won't let the production go on), the immensely satisfying literary (Shakespeare like) Tamil poetry and songs they wrote/sang, new drama conferences they conducted and prizes they instituted to nurture the trade and so on. I was also amazed to hear that each show they put together was done only after receiving proper written permission from the author and for each show performed, they provided royalty to the author. This is especially impressive, since Indian movie stories were often copied from Hollywood or other places without any copyright attribution in the 1980's, which is getting corrected now, since anything produced anywhere in the world is visible everywhere else. 

When I was growing up, movies had mostly taken over and so stage productions had dwindled and morphed considerably. I have seen many live historical/mythological/contemporary productions. But they used to be just one show performed with the support of a local cultural association, not a 25 or 50 day runs conducted by the show's own company. In the 80's these shows became mostly contemporary comedies that were cheaper to produce. These are still on since there is no Broadway type shows permanently being staged in India though different Indian states still have smaller production houses staging plays. But I do fondly remember couple of big historical productions of this kind I have seen in the late 1970's that were really impressive with their elaborate costumes, sets and magic tricks performed on the stage (e.g. to show a ghost, they will have smoke going up on the stage, on which they will show slides or projection of a ghost, etc.). 

Write back about equivalent practices/shows/customs you grew up with or have heard of during the last century wherever you live.

Sunday, December 31, 2023

Do you call this a vacation?

When I went to India on a two-week trip last March, ended up in a hospital there forcing my wife and BIL to fly in to get me back! Last July when we had big trip planned to go to Europe, we got into the plane, sat on the taxiway for 7 hours, only for the flight to be cancelled with the whole plan collapsing! Not giving up, we booked an all-inclusive resort vacation for five days between x-mas and new year, for our extended family of nine, thinking third time will be the charm. The reservations got totally messed up, thanks to a friend who was helping us with the booking process. Still managed to find alternate arrangements at the last minute and successfully boarded the plane with just one of us being slightly sick with cough/cold on Dec 25th. That virus turned out to be quite contagious, resulting in 7 out of the nine of us falling sick one after the other during this vacation! I set several new not so good records. 
- Stayed in the room for the maximum time ever, thanks to spiking fever, body ache, cough, cold. 
- With multiple buffets galore surrounding us, ate the least amount of food. 
- Didn't swim in the resort pools even once, 
- Didn't go to the gym or jog around the nice tracks they had around the Hacienda. 
Guess we did our best to subsidize the facility for other patrons!

If you ask was there any upside to all this, it is the amount of undisturbed time I got to start and finish reading the book Who got Einstein's office? Eccentricity and genius at the institute for advanced study by Ed Regis. This is another book our family friend Sriram Tyagarajan loaned me along with The Idea Factory, I was writing about couple of months back. Similar to that book which talks about the Bell Labs as an institute, its culture, personalities and glory days, this fairly old publication that came out 1987, talks about the Institute for Advanced Study, located in Princeton, New Jersey. This is a more difficult one to write as a popular book since the institute and its residents are all dedicated to theoretical work in physics and mathematics, compared to Bell Labs that generated a ton of practical appliances that readers will be easily able to relate to. Still the author has done a splendid job.

As the author documents, The Institute was founded in 1930 with a brother and sister duo providing the funding while a gentleman named Abraham Flexner putting the whole concept together and also serving as is first director for several years. The institute was founded along the lines of Greek philosopher Plato's idea of an academy where you forget the existence of a real world but sit and think about the abstract concepts and principles that govern the entire universe.

Flexner reached out to Einstein, roping him in as the first permanent faculty for the institute. When Flexner asked how much of a salary he would expect, Einstein replied $3,000 per year and wondered if he could live on anything less than that. Of course, this is the 1930s and so $3,000 meant a lot but still it goes well with the principles of an academy where academics come in, not to earn a lot of money but to think about problems that govern the universe. Flexner apparently told him that the institute will actually pay him $10,000 a year, since the idea is to eliminate any real world worries from the faculty thus allowing them to work on their problems of choice undisturbed without any institute or family/personal pressures. I couldn't help relating this exchange to a recent article I read in which an actress claimed that the best move she has made in her career recently is firing her whole team because they did not get her multimillion-dollar deals based on a successful TV series character she had portrayed. It was an emotional and angry interview where she talked about women not getting paid well, and even when media reports that one received 10 million dollars, actually half the money goes to Uncle Sam, and you still need to pay your team from the remaining 5 million and so on. Of course, I totally support everyone getting paid equitably for their work. But you can't help comparing that article with Einstein's ask that sets the tone of the institute.

Over the decades the institute has hosted so many luminaries such as Kurt Gödel, John von Neumann, Dirac, Witten and Oppenheimer who served as its director for 16 years. Since I remain awe struck by the rate of growth in physics during the first half of the twentieth century, and have read several books on that topic, first half of the book that discusses developments in that time period in physics felt like a revision of what I had read in other books before. While I was settling into this notion that the whole book will continue repeating material I had read elsewhere, it pivoted into the story of John von Neumann building the first stored program computer and then into string theory, Astro physics, Mandelbrot sets, cellular automata, and so on very nicely. Though occasionally you come across sentences like, "Schwarz and Scherk realized that if the spin-2 particle predicted by string theory where in fact the graviton, then string theory would have the near miraculous result of requiring that gravitons existed, of necessitating them as an inescapable and ineradicable part of the theory, whereas all other quantum theories could not be made to accept gravitons through any amount of forcing, juggling, or mathematical hocus-pocus", overall the prose is very accessible, if you are interested in this material. 

Reading about Regis' stories about von Neumann reminded me of this notion. Becoming world's best on anything, or even belonging to the top 0.01% of something is incredibly difficult. Think about being the best in playing violin or being the richest, fastest or one with most patents or any other skill/specialty we can think of. You have to be dedicated to doing just that one thing, that consumes all your energy and attention, invariably spoiling other aspects of your life. Even Einstein had marital/family life related difficulties. Since I am not cut out to be the world's best on anything, I generally tell myself and my kids that I'd rather be on the 90th percentile of four, five things that gives me a more balanced Life, covering health, wealth, happiness in career/family, etc. But as the author describes, John von Neumann comes across as an exception that excels in everything. He pioneered the idea of stored instruction architecture for computers, and actually built the first computer of this kind in IAS. It was a revolution (and a beautiful one at that) since computer hardware were usually built/connected to do specific type of computation at that time. One computer doing any kind of computation was unknown, and his effort set the standards for the model that is still in use. He was a gregarious person enjoying the company of others, throwing great parties while also being brilliant not only in physics but also in computer science and minting money easily out of his creations! Homer Simpson being cute-dumb as he always is, in one of The Simpsons episodes when offered a witness relocation program by the FBI, says, "Okay, I would like to be John Elway" (famous American Football player), forcing the FBI officer to explain that is not how the program works. If I can get in the program as Homer envisioned, probably I would like to be John von Neumann. Emoji 

I have read (and still have a copy of) Thomas Kuhn's The Structure of Scientific Revolutions book, that came out in 1962. Decades back when I read it, I didn't find it that brilliant. When I said that to my grad school classmate Amit Nanavati, he was quite disappointed. Amit, being Amit, won't say "Idiot, go read it again". but that was the message. I liked this author's discussion of Kuhn's book and what a paradigm shift it was when it came out. Good nudge for me to go read it again, particularly since the book's main theme is understanding perspectives from the viewer's point of view (instead of from your current status of mind & experience). In its glory years many of the institute's scholars have been awarded the Nobel, path breaking work in the areas of particle physics and string theory has published papers dealing with 26 dimensions, reducing 40-page long math papers published to 4 page long newer, more elegant math papers and so on. The institute served as such an abode of theoretical work, Oppie serving as its director, once chided two young physicists who submitted their paper on Gravitation to a competition and won a $1000 prize, as Oppie thought such material pursuits shouldn't enter the minds [f the institute's scholars! From math to particle physics to Astro physics to computer science to history and humanities, contributions have been impressive to say the least. But visiting their website now, I don't see physics listed or highlighted as a big area of expertise anywhere!

Similar to the idea factory book about the Bell Labs, this one also argues that the institutes glory days are more in the past. Currently the older faculty who are there, come to the Institute for a few hours a day but are not producing a lot, basically resting on their old laurels. Newer younger ones don't find the place as attractive as it used to be anymore. One solution to this issue could be admitting PhD students who are guided by the older faculty, with the Institute starting to award PhD degrees. Though it was in the institute's charter, this institute never ever awarded even one degree till date. Though it was created in the mold of Plato's academy, where there are "no duties, but only opportunities", as Abraham Flexner used to say, keeping human beings motivated to produce the best quality work consistently continuously is quite difficult. People complain about how they are hard pressed for time in regular universities as they are burdened with teaching responsibilities and course material preparation and grading, guiding graduate students, leaving them with very little time for undisturbed research. But if they are put in a place like this institute that gives you the salary, breakfast & lunch every day, dinner twice a week and lets you do whatever you want without asking you to even write a report when your thumb is over, in the long run, people somehow don't find it that invigorating. Visiting the institute's website, we can find their mission listed this way: 

The Institute is pledged to assemble a group of scientists and scholars who with their pupils and assistants may devote themselves to the task of pushing beyond the present limits of human knowledge and to training those who may "carry on" in this sense.
––Mission statement of the Institute for Advanced Study by founding Director Abraham Flexner, Organization Meeting, October 10, 1930

Such ideal versions of institutions being in existence close to a century is certainly admirable. Going back to the subject line of the email, these last 5 days gave me a small taste of how the life in The Institute will be. I had no responsibilities, didn't even have to take the dog for a walk, didn't have to cook, didn't go out of room much since I was sick. It gave me ample time to sit in the room, read this book, think about how string theorists are trying to "compactify" 26 dimensions in to 11 and actually finish it within the last 4 or 5 days while I normally would have taken a month to read such a piece. If I had to go through one round of sickness, perhaps this was the best way to do it since we didn't have to worry about food or washing clothes or feeding the dog or of any other such responsibilities. Since my wife had packed enough medication to take care of all our medicinal needs, we didn't have to rush out to any pharmacy or hospital either. But this may not be the life one would want to live permanently, even if you remove the sickness aspect. When I was a judge in a high school science competition, I remember a psychology professor commenting motivation is so hard. How true indeed! I hope the institute finds newer ways and personalities that will reinvigorate it all over again. If you find such books/institutes interesting, do check out book Complexity by Mitchell Waldrop about Santa Fe Institute as well.

Well, we are back home in Allentown and are all starting to feel a bit better, health wise, though we are not out of the woods yet. it is the end of the year. I recall someone remarking how new year celebration is "an extremely precise countdown to an arbitrary point in time"! Thus, though it may be irrational, I am going to carry a belief that all our travel nightmares will be over with 2023, and in the new year, we will have a fresh start with smooth and pleasant travels ahead!

Wish you a very happy, healthy, prosperous, wonderful 2024!
-sundar.

 

Saturday, December 23, 2023

Book Review: Humble Pi: When Math Goes Wrong in the Real World by Matt Parker

Several months ago, I was browsing the shelves of a bookstore to pick a book to give as present to a friend who is a math professor. When I came across Humble Pi: When Math Goes Wrong in the Real World by Matt Parker, found it interesting enough and so bought a copy and presented it to him, though I hadn't read it before. That title got stuck in my head and so bought an eBook version of it recently and read it on Kindle. It is quite a fun read and can give us a lot of stories to tell in parties!


There are many approaches to writing a non-fiction book. One is to pick a thread that seems to have enough to write about, and then collect material related to that topical thread in different domains and put them together. In this approach there may not be a clear dovetailing build up from one chapter to the next, and so you can even read most chapters out of order, and it will make sense. The underlying thread certainly will remain visible, providing an overarching view. I did that to some extent in my own Thought Experiments book. Matt Parker has done the same and has managed to string together chapters that are quite accessible. 

Book starts off with Leonard Vs. PepsiCo case as a clear example of how even TV commercials put together for big companies meant to be widely seen don't spend the time to check their math. It is an interesting case worth reading about, if you haven't heard of it before. Then he talks about UK lottery, where public had a hard time understanding -8 is lower than -6 and had to stop a particular lottery offering since many were complaining that though they "won" by getting a "bigger" number, they are not getting the prize! Next couple of chapters discuss errors in calendars, Y2K issue introduced into computing when years were coded using two digits, and a bunch of examples related to Microsoft Excel messing things up, when used in certain ways. 

While these initial stories are funny, subsequent ones related to errors in engineering and medicine were actually deadly. There are stories about X-ray machine code that had math errors that allowed high dosage of radiation that actually killed a patient, bridge construction errors that resulted in dozens of workers dying in early 20th century, drug dosage calculation errors that had affected real patients adversely and so on. I had heard of some of the stories, such as the one about 20 Fenchurch street building in London that formed a lens focusing sun's rays heating up the area nearby dangerously. See the solar glare problem section of that Wikipedia page! There is whole section dedicated to blunders committed due to incorrect units usage (as in metric units Vs. British units) related to Hubble telescope, Challenger disaster, aircraft accidents, etc. 

While many of the stories could be scary, overall, the author is trying to maintain a tone of levity. It is also heartening to note that institutions related to the field of engineering usually take these errors seriously and are trying to come up with solutions that will prevent disasters. The approach to addressing these issues is discussed from the Swiss Cheese model. This approach expects some amount of errors to creep in in each layer of implementation (e.g. design, installation, usage). If these errors are seen like holes in a slice of Swiss cheese, ensuring that when the slices are used together the holes do NOT line up can still prevent disasters. Thus, a design error can be blocked by better processes used in installation stage or the usage stage. Parker points out that unlike the field of engineering that tries to develop better methodologies at the system level, field such as medicine, still tries to blame individuals for errors/blunders, prevent them from working again, claiming the issue is resolved, without looking at systemic, holistic solutions. One can only hope this will change as the world matures. 

Book has a few illustrations and tables, that were hard to see on the Kindle edition, which was a big disappointment. At times the authors attempted humor may fall flat. But overall, it is a good fun book, particularly engineering/medicine students should read. Will teach us to be humble. 

Wednesday, November 29, 2023

Book Review: Prediction Machines by Agrawal, Gans & Goldfarb

Last time I was in India, my friend Madhu Parthasarathy gave me this book titled
 Prediction Machines - The Simple Economics of Artificial Intelligence by Ajay Agrawal, Joshua Gans, and Avi Goldfarb. It is a Harvard Business Review Press book and so is a bit too much of a business book than one that explores the topic academically. As a result, book's prose is very simple, making the content highly accessible to anyone interested in this topic irrespective of whether they are inside or outside the field. Since it is only about 200 pages long, it is a thin volume, making it an easy read. 


Material is laid out in five simple parts titled, Prediction, Decision Making, Tools, Strategy, and Society, that were all very easy to follow. The authors appear to be moonlighting as business consultants, and so I can understand how having such a book published will help them with their street cred. They seem to be quite pleased with themselves in figuring out that AI is mostly prediction (rather than pure intelligence). They keep reiterating this point umpteen times, though it is not necessarily their own original discovery. Some ideas resulting from this understanding are indeed good & interesting. For example, the cost of computing going down and the quality of prediction going up considerably, can potentially transform business models. In case of Amazon, they may be able to predict exactly who will need what and when, in addition to their affordability. If this prediction is close to 100%, Amazon can start shipping items to people on their own and setup the logistics needed to collect very rare returns if/when needed. Thus, their business model may flip from shop first & ship next to ship first and collect returns. While this is a nice change in the business model that may make business leaders salivate, describing this insight takes up the first ~40% of the book, that covers Prediction & Decision Making parts. Perhaps the authors know that some/many of their intended readers won't even read this book in full or be so distracted that they won't follow even these simple discussions and so they summarize the key points at the end of each chapter. One key point (page 68) reads, "Humans make poor predictions, overweight salient information and do not account for statistical properties. Many scientific studies document these shortcomings across a wide variety of professions. The phenomenon was illustrated in the feature film Money ball." While that is all correct, is this the level of summary that should be provided? It is either meant for "Future business leaders still in high school" or else, we need to worry about the quality of our business leaders' natural intelligence! 

Throughout the book authors touch upon every conceivable area that is connected to AI. This includes Amazon's Echo, robots used in their warehouses, Australian mining industry, self-driving cars, Google/Microsoft type companies' language translation tools, iPhone, Siri, and so on. There are quotes by Nobel laureates, jokes, 2x2 business charts, couple of graphs. But everything discussed is quite superficial, with none of the discussions spanning even couple of pages in the book. The advice they dispense also seems too simple. For example, one of the key points listed is that "C-suite leadership must not fully delegate AI strategy to their IT department". Chapter 16 opens with what is presented as a brilliant insight provided by one of the authors. Apparently, an early-stage ML company was trying to deliver a disease diagnosis tool to doctors and were struggling to get all the approvals needed to be able to do that, since they are basically doing what doctors are certified to do. The author, who is a business consultant had suggested that they deliver a probability number indicating how likely the patient has the disease and leave the yes/no diagnosis decision to the doctor. While we can agree that it is the right thing to do, is this a brilliant insight worth hyping as the opening paragraph for a chapter titled "When AI Transforms Your Business"? Reminded me of the recent John Oliver's Last Week Tonight episode, where he discussed business consultants. Watch 7:30 to 8:02 of this episode. As John Oliver himself says in that episode, I do have friends who are business consultants that are brilliant and who certainly add value to the business they work with, though that may not be the case always!

The last part titled "Society" is limited to just one chapter of about 10 pages (which is pretty much the topic of my entire 1.5 hour long lecture on Ethics & Emerging Technology). Of course, their answers and conclusions are aligned with my beliefs, which is heartening. For example, AI/ML has a lot of potential for increasing income inequality and so societies need to regulate/manage it well. Better AI performance may mean less privacy, without proper regulation, some companies may end up controlling everything in our lives, from production to distribution of all the goods & services. Hopefully this consistent view evolving on multiple fronts will help their intended readers get educated and aligned on these notions. 

I was reminded of watching two travel documentaries way back in the early 90's when I was planning a visit to the UK. Since touring Wales was on the cards, picked up two VHS tapes about Wales tourism from the local public library. One talked about each attraction for 5 mins, provided a summary and a slide, listing bullets of the places/things one should see/do. Then moved on to the next part of Wales. Perhaps it was quite useful/productive to potential tourists taking notes. But the other video tape presented Wales beautifully like poetry. There were no bullet lists or take away summaries. I enjoyed that version so much that I watched it couple of times before returning the tape to the public library. This book belongs to the first kind. Emoji