Lessons from “GenAI for developers” course by Google

I just finished the Google Cloud Skills path called “Generative AI for developers” and I wanted to write down some of the main lessons and impressions I had.

Overall I think the lessons were well-thought out, aimed at an intermediate audience like me, and I learned a lot about the various Google tools (here’s my cert). However there were also some technology snags along the way that detracted from the experience.

Main topics of the course

The topics in the course are the following:

  1. Introduction to Image Generation – with an Intro video + quiz re: how diffusion models are used for image generation
  2. Attention Mechanism – Intro video + quiz re: how attention mechanisms work, and can be used for a variety of tasks from text summarization to translation
  3. Encoder – Decoder Architecture – Intro video, Jupyter Lab (Python code) walkthrough + quiz re: how encoder – decoder works, and can be used in sequence to sequence tasks such as text summarization, Q&A, translation etc
  4. Transformer models and BERT – Intro video, Jupyter Lab walkthrough + quiz re: main components of the Transformer architecture and the self-attention mechanism
  5. Create Image Captioning models – Intro video, Jupyter Lab walkthrough + quiz re: how do use deep learning to create Image captions
  6. Introduction to Generative AI Studio – Intro video + quiz regarding Vertex AI for customizing and prototyping Generative AI models.
  7. Generative AI explorer – A set of labs using Jupyter Notebooks to explore different GenAI models, and try out prompting tools and various parameters (see below)
  8. Explore and Evaluate Models using Model Garden – Using Vertex AI to try out different Foundation Models, tools and parameters (see below)
  9. Prompt Design using Palm – How to design good prompts, setting restrictions and interacting with Palm 2, that has detailed reasoning, language and coding capabilities (see below).

Generative AI explorer – with Vertex AI

The lessons that I liked the most were using different examples to teach how to use the models in different use cases. Everything was run on Google  Vertex AI – which is a unified AI platform, that allows you to:

  • Select from 100+ foundation models in the Model Garden
  • Try out code snippets with JupyterLab in the Workbench
  • Access every model with a simple API call
  • Train and deploy models to Production

Text generation examples

You can test any of the Text generation models by selecting the model in the top right dropdown. You specify the context (prompt) for the model, and provide input/ output examples if you prefer. Giving no examples is called zero-shot prompting, giving a few examples is called few shot prompting, which for most use cases is the better alternative.

Pressing the ‘Get code’ button also top right gives you the code snippets you need to connect to the selected model in your Google Cloud project:

Chat model examples

Under the Language models you can customize & test the foundation models e.g for customer service or support use cases. Some key parameters include:

  • Temperature: A lower temperature of say 0, 0.1 are better when factual, true or false responses are required. A higher temperature say 0.6 to 1 will give more imaginative answers, but will also increase the risk of the model hallucinating.
  • Token limit: Determines the maximum number of text output from one prompt, with one token equal to roughly four characters.
  • Safety Settings: You can define how strict the model responses are regarding potentially harmful content, such as hate speech, sexual content or harassment.

Codey – code generation, chat and completion

You can select between different code engines based on your use case:

  • Codey for Code Generation (6k or 32k token limit). Takes your natural language input and generates the requested code – example below:
  • Codey for Code Chat (6k or 32k token limit) – model chatbot fine tuned for helping with code related questions.
  • Codey for  Code Completion – model fine tuned to suggest code based on the context, code already written. 

Exploring the Model Garden

In the Model Garden you can try out different Foundation models such as:

  • Gemini Pro – e.g. for text summarization, text generation, entity recognition, sentiment analysis and more.
  • Gemini Pro Vision (Multimodal) – e.g. for visual understanding, classification, summarization and processing visual inputs such as photos, video, documents, infographics etc.
  • Claude 2: a leading LLM from Anthropic – similar to Gemini Pro
  • Llama 2: Open Source LLM released by Facebook / Meta that is fine-tunable to your use case/ domain.

There are over 100+ models to date, however the main drawback of note is that the Fine Tunable models (except for LLAMA2 and Falcon) are mostly just related to classification or vision detection/ classification.

Prompt Design

Some of the prompting lessons here:

  • Be concise
  • Be specific and well-defined
  • Ask for one task at a time 
  • Improve response quality by including examples (few shot)
  • Use a Dare prompt  – Determine Appropriate Response (DARE) prompt, which uses the LLM itself to decide whether it should answer a question based on what its mission is. Meaning that you send the regular prompt / context first, followed by the Dare prompt to verify that the output generated matches the mission.

Most of the example Jupyter Notebooks in the course can be found on Github here.

Conclusion

Overall I think the course teaches the material well – I liked the hands on Jupyter Notebooks better than the video + quiz sections as it’s easier to learn with concrete examples.

I’m most impressed by is the completeness of the Google Vertex AI platform, and I feel that I have a good basis to use the platform independently today.

Why provide liquidity?

Have you ever wondered how some crypto sites can offer ludicrous APRs? Here’s a short primer to dive in – and as this is a primer, some concepts/ background are edited for clarity.

Some of the most promising sites/ tech in DeCentralized Finance (DeFi) are DEXs. A DEX (decentralized exchange) facilitates trading round the clock, every day of the year, without requiring a username or password. You retain custody of your crypto on your own cold wallet hardware (say Ledger or Trezor). Once the transaction is recorded on the blockchain the ownership/ settling of the asset is done automatically – there is no T+2 settlement like in TradFI (Traditional Finance).

Let’s use GMX (on Arbitrum / Avalanche) as an example – if you want to swap say your ETH to USDC, you go to the Trade page and execute your trade just like you would on a centralized exchange:

Now, you may ask yourself – all these centralized exchanges (Coinbase, Binance, Nasdaq, NYSE, GS dark pools etc) – how do they make money? Well, they make their money on trading – pairing Bob who wants to buy ETH for $2000 from Alice, and charging a fee (price difference or transaction fee) for the service. 

Imagine that all for example ETH owners, including Bob, could “Pool” their ETH (in a Liquidity Pool), allowing them to earn fees on ETH trades. Essentially the ETH is placed in a ‘vault’ or smart contract that pools your ETH with other DeFi users. Then you as a “Liquidity Provider / LP” earn a good chunk of the fee revenue that accrues to the pool – as a percentage of your ownership in the pool.

Throughout history a centralized/ third party has earned these fees. With DeFi you still custody the assets (you are the only one with the private keys). This is at the core of DeCentralized Finance – getting rid of the intermediaries, and allowing the actual owners of the assets to benefit.

So what kind of rates can earn in these pools? On GMX V2 pools today:

And we’ve heard Ethereum transactions are expensive right? GMX runs on Arbitrum – an ETH Layer 2, and transactions are normally 10c-20c… (and will get cheaper..).

Remember these are new technologies, where some sites/ users have been hacked, you take on smart contract risk, risk of owning the crypto asset etc, but it’s not ‘Fake SBF / Terra Luna’ yield, it is native yield based on fee generation. Always do your due diligence on the sites you use – personally I prefer the larger DeFi sites with a higher TVL (total value locked), higher revenues, clear open-source code on Github for all key functionalities etc…

Finally – this is NOT financial advice, be careful out there 🙂

Taylor Swift – charting a Community-Centered Music Revolution

Introduction

Taylor Swift isn’t just a music icon; she’s also on the front lines of changing how stars and fans connect. She’s created a passionate community, taken on big music companies, all while being aligned ethically with what’s called Web 3 – let’s dive in how…

Building a Fan Family

Taylor’s fans, the “Swifties,” aren’t just cheering from the sidelines; they’re part of the conversation. She talks to them straight through social media, not just to share music news but to get their take on things, too. Swift’s approach to engaging with her community directly, without going through traditional media or platforms that might act as intermediaries, also aligns with the Web 3 principle of decentralization. This creates a tight-knit fan club – whereas Web 3 technologies can provide the tools for online communities to decide how they want to govern themselves, how the community is built etc.

Cutting Out the Middleman

Taylor’s bold move to re-record her old songs is a game-changer. It’s her way of taking back control and getting closer to her fans without the music industry’s big players calling the shots. In 2019, Swift spoke out against the acquisition of her master recordings by Scooter Braun’s Ithaca Holdings as part of its deal with Big Machine Records. She emphasized the importance of artists owning their masters to control their work’s usage and financial benefits. It’s similar to what Web 3 wants to do—cutting out the unnecessary middleman and letting creators sell their art to their most hard-core fans. Imagine owning an NFT, that for example gives access to alternative versions of songs, or allows the owner to receive a share of the song’s royalties.

Music for Everyone

Swift’s ethical alignment with Web 3 is underscored by her advocacy for artist rights and fair compensation. Her public battles against inequitable streaming revenues and ownership rights echo the Web 3 emphasis on fair value distribution and transparency. For example in 2014, she removed her entire catalog from Spotify, protesting against its streaming royalties’ distribution model. In the Web 3 world, smart contracts on blockchain platforms could ensure artists receive their due share without the opacity that sometimes shrouds the financial flows of the music industry, or could allow the platforms themselves to be owned by the artists and fans.

Advocating for Fellow Artists

In 2015, Swift wrote an open letter to Apple Music, criticizing their policy not to pay artists during the service’s free three-month trial period. Apple reversed its policy following Swift’s letter, agreeing to pay artists even during the trial. This action reflected a Web 3-type advocacy for transparent and fair compensation models that benefit all stakeholders.

Avoiding scalpers

With tickets to concerts often costing $1000’s of dollars due to scalpers, blockchain-based systems can enforce identity verification and purchase limits at the point of sale. Smart contracts can be programmed to allow only verified users to purchase tickets and limit the number of tickets each user can buy. This reduces the likelihood that scalpers can buy large quantities of tickets for resale at inflated prices.

Challenges to Think About

The music industry is deeply entrenched in its ways, and a single artist, irrespective of their influence, can face significant hurdles in changing the system. Additionally, the Web 3 space is still in its infancy, and its principles, technologies are yet to be tested at scale, especially in creative industries.

Conclusion

Taylor Swift is not just writing anthems for generations but also rewriting the rulebook on how artists and communities interact in the digital age. She’s showing us a peek into a future where music and the internet can be a place where everyone wins, with artists in charge of their own music and fans getting front-row seats to the show.

Thanks for reading,

Oskar

On Recovery and Lessons – Oct 2023

Hey, thank you for reading today. This post will summarize the aftermath, the lessons that I’m drawing from my 2nd cardiac event that occurred on Wed Sep 20th, 2023.

On Recovery

  • This time around the healing has been centered around healing from the trauma of the events, where my heart was shocked back into life repeatedly on Sep 20th, 2023. 
  • It feels as if the CNS (central nervous system) is still very raw. As an example on Friday we were out at a noisy restaurant – first time since the 2nd incident. Suddenly I felt like a lightning bolt of fear ran from my neck down my spine. It was the reptilian/ CNS part (fight or flight) trying to protect me from further trauma/ injury. 
  • In the week after the event there were nights that I could not fall asleep at all. It felt as if my body was on high alert, for any signs of ‘wrongness, illness’, a constant scanning of threats. It is now early October, and it feels like the highest stress days/ weeks are behind me, but the events still linger in the background.

On lessons

  • The overriding importance of focusing on the present, versus spending so much head-space on thinking about the future, scenarios, wishing etc. Yes there is a time to plan, a time to dream – but most of the time that will just be a waste, something that draws you away from the only thing that really ever exists: the present.
  • The importance of the core relationships for me: My wife, my son, my daughter. My family, close friends, my extended family. I want to build on relationships, make existing ones stronger, and nurture new relationships where they feel right.
  • All the BS falling away about making more money, and becoming a big success in society. Yes we need the money to support our family, but it should not be at the cost of spending time with family, at the cost of your health.

On things that have helped me

  • Writing these blog posts have helped me tell the story – mostly to myself – about how the events happened, to give them perspective, and through that give me distance from the events.
  • Thinking about myself as a survivor, rather than a victim of these events. In the beginning I would think ‘why did this happen to me, I’ve lived healthy’ however with time I’ve been able to become more accepting of where I am in the journey of recovery, of life.
  • Twice daily meditation – 10-15 minutes, morning and evening with the Calm app. Especially the meditations on Loving Kindness and anxiety relief, as well as having a ‘rain sound’ on when trying to fall asleep. I feel concretely the level of anxiety in my body is lower after a meditation session.

We are all works in progress, learning new things as long as we’re alive, and I wish you dear reader a peaceful, calm day wherever you are on your journey.

My ICD saved my life

It was the morning of Wednesday Sep 20th 2023, and we’d gone out for a walk with Jolene at 7.25AM. I had eaten my breakfast (yogurt, chia seeds, flaxseed, blueberries) and taken my morning medicine of metoprolol – a beta blocker, and a baby aspirin. After the heart episode in Finland, these were the medications ascribed to me.

I had regularly felt a pain in the chest/ thyroid – about 5-7 minutes into starting a walk/ exercise, and I had equated it with the beta blocker medicine (metoprolol) kicking in to do its job. I’d take a pause, breathe and after a minute or so the symptoms would go away. We’d walked about 10 minutes or half-way when the symptoms kicked in.

This time the chest pain got worse and worse, until I felt the ICD (intra cardiac defibrillator) kick in. It felt like my whole body was jolted. However the ICD did its job, and my heart rate returned to normal.

The ambulance showed up quickly, and the EMTs were able to confirm my heart was back in sinus rhythm, my EKG was normal. I did feel a little shaky still so we took it slow and drove ourselves to the closest ER/ hospital – at Baycare Countryside.

In the ER

In the ER the staff took us in and did some basic EKG, bloodwork etc. Jolene was with me the whole time, and we held hands as we discussed. Around 9.30AM we started discussing a topic that caused me some distress, and I could feel the familiar chest tightness, and heart racing symptoms start again.

The ICD fired three times, and brought my heart rate back to sinus. I only felt two of the ICD jolts, but each threw my body in the air with the kick. 

At this time the staff put me on an Amiodarone drip, and transferred me to the Intensive Cardiac Unit. The next 24h-48h were very stressful, filled with anxiety as I wondered how my heart would perform, whether I would get shocked again.

Medications

Now armed with the additional information we had about the chest pain, Dr Hazlitt – an electro-physiological cardiologist, together with Dr Bruno (internal medicine) put me on two different medications: 800 mg Amiodarone to keep the heart rate down, and avoid fibrillation, and 4 pills of Imdur (Isosorbide dinitrate), which is used to prevent chest pain (angina) caused by vasospasm. It works by relaxing and widening blood vessels so blood can flow more easily to the heart.

The flowchart of issues as we can best tell today is:

I was released from the hospital on Saturday September 23rd, starting another journey of recovery. Even though my body felt battered, and scarred – I felt like a survivor, some-one that had gone through some traumatic sh*t. I’m hoping this tale can be informative and helpful to others who are going through similar or other difficult circumstances. I will write more about the recovery and lessons in an upcoming post.

Peace & Love.

Oskar

Recovery and lessons August 2023

As I was dis-charged from the hospital, we’d arranged for the kids to fly home by themselves, and we’d stay in Finland with Jolene until I’d have permission to fly. I started to direct my energy towards recovering, both physically and mentally.

I was very happy that we got to see Ville & family, Mom, uncle Lasse & his family. We met most of my Finland friends (Peter + Erika, Björn + Kati, Basse + Virpi and Lasse) for a great, close-knit dinner at restaurant Kuu – before flying off back to Tampa on August 12th, 2023.

Something that I’d not considered before – was the many different types of recovery that needed to happen:

  • Recovering from the electro-physiological (EP) exam included not stretching the groin area in order not to open up the wound in the femoral artery. The EP exam itself was very stressful in that the doctors essentially stress-test your heart to try to replicate the V-fib (ventricular fibrillation) conditions, so my heart rate was between 30BPM to 330BPM, and you feel like you are reliving the traumatic event.
  • Recovering from the surgery to install the ICD – Intra Cardiac Defibrillator, which sits above the left pectoral muscle. The surgery itself was carried out while I was awake, and I was discharged from the hospital the next day. I was instructed not to raise my left arm above 90 degrees and not put strain on it for some weeks.
  • Recovering from the mental, psychological stresses of having been so close to dying. In hind-sight these have been some of the most difficult aspects.
  • Dealing with the uncertainty of not knowing what caused the Ventricular fibrillation to occur.
  • The uncertainty of not knowing how much the entire hospital stay, and all procedures were going to cost.

However as we got back to Tampa, as the weeks progressed, I started feeling better and was able to start slowly exercising again – initially just stretching, but working my way up with lighter weights and less strenuous cardio like walking, and eventually Zone 2 cardio. Unfortunately I was also sometimes feeling pain in the throat (thyroid) and chest pain, however I assumed it was part of the medication (beta-blocker) side effects..

I started talking to a therapist about all the events, the stressful things that were bothering me. The therapist recommended that I write letters to Sam, to Kate, to Jolene about these events, how much they meant to me, and how much I still wanted to do together with them. Especially the letter to Sam felt very meaningful as I genuinely think that he saved my life with his actions. Overall it feels like we’ve become closer as a family, and Jolene as ever is my partner, my rock, my love. I am also so thankful to Ville who really stepped up during this difficult time. I also wrote a letter to my Dad, hoping to get closer to him. I’ve invited Dad over to Florida to see his older son, his grand-children – and I hope he follows-through. 

I returned to work on August 14th, 2023, which in hind-sight probably was too early. Even though my work is fun, intellectually challenging most days – I’ve in particular enjoyed the building aspects – there are stressful days/ events as well.

I’d become a hugger, I no longer wondered if it’s OK to hug, I was hugging friends and family more than ever before. I’d become more emotional, and was crying in random movies or listening to music. I’ve become much more cognizant of the briefness of this human life, and what a fool I was to think I could know how long I would live. Even though heavy emotionally, these factors felt that they were helping me mend psychologically.

Practical advice that I’ve learned the hard way:

  • If you go out to exercise, bring a friend or family member – it just might save your life.
  • If you have things you need to tell some-one – do it today, give them a call – you don’t know if you’ll get another chance.
  • If you feel something is wrong, speak up and tell a doctor, get the symptoms checked out.

As we shall see in the next post, this story continues..

The day I almost died

This is the story of the day I almost died, and how I’m so grateful today to be writing about the event instead.

I’m a 49 year old Dad, IT professional and athlete, living in Tampa Bay, Florida. I’ve generally been healthy all my life, and as written about in my health test, I thought I was doing well.

In July 2023 we came to Helsinki, Finland to spend our vacation, to visit our family and friends. We had Penny & Liam with us, and every-one was excited about visiting Finland/Sweden and in general spend time with family & friends.

On Wednesday July 26th, we spent the day doing sauna, cold water swimming and eating Nepalese food. On Thursday July 27th 2023  – we’d decided with Sam and Liam to go jogging/ workout, so I woke up the boys and we headed out after having a small glass of water to drink.

I felt fine, except some carby bloat from the Nepalese food. Otherwise I was in excellent shape for a 49-year old (or so I thought). We jogged down the slope to Mannerheimintie, I suddenly started feeling unwell and passed out. This has been told to me later:

EVENT

Sam notices me collapse on the ground, panics and then quickly alerts a bystander to call an ambulance. He tells Liam to run to get everyone else. 

I’ve been hit with ventricular fibrillation, which reduces the heart to a quivering mass of jelly, unable to pump blood. VF leads to Sudden Cardiac Death, with a mortality rate of 95% after 15 min without resuscitation. As I’m convulsing on the ground, start foaming from the mouth, Sam and the bystander start to perform CPR/ chest compressions. Minutes tick by like an eternity.

The ambulance arrives, and the Emergency medics rush to the scene. They assess the situation and give an electric shock which resets the electrical circuits in the heart. I’d spent about 10 minutes in V-Fib. I’m rushed to the hospital, in a state of shock and confusion. After a couple of hours my state is better, the confusion is lifting, and I’m able to see my family again. I spend 24h in the Cardiac Intensive Care unit, unable to sleep with the noise and beeping around me. I feel scared and anxious as I’m not sure if I will wake up if I fall asleep.

AFTER

The evening of the event the cardiac surgeon performed an angiogram, and found only mild changes related to coronary artery disease, but nothing that would explain the cardiac event.

An MRI was performed on Monday July 31st – with no indications of root cause. On Wednesday August 2nd, a electro- physiological stress test was performed on my heart – also here the heart performed well. This test though is no walk in the park – as you are given electrical shocks and chemicals to your heart, and it feels as if you are relieving the event all over again.

I was also given a neuro-psychiatric evaluation, and thankfully no loss of function/memory/ability was found.

Finally on Thursday August 3rd, an ICD (Intra Cardiac Defibrillator) was operated into my chest. The ICD monitors the heart rate, and in case the heart goes into fibrillation again, the ICD can give an electric shock to reset the heart. I was shell-shocked, very raw emotionally, but at the same time so grateful to Sam, to my family, to the first responders etc.

There are many lessons, and a journey to recovery from this, that I’ll write about in the next post.

Health test Q3 2023

It was July 2023 and I wanted to perform a comprehensive Health test that I would be trying every quarter. My bodyweight at the time was about #185 (86kg) and I’m a 49 year old male. 

Here’s the outline and the results of the test:

ComponentType Test dayExercisesResult
Upper body, pullStrengthMondayChin-up with Bodyweight + #706 reps
Upper body, pushStrengthMonday Standing Press #125 6 reps
RunCardioTuesday1.1 mile7.35(about 7 min mile)
Lower body, pullStrengthWednesdayDead-lift 2x Bodyweight (#370)2 reps
Upper body, pushStrengthFridayBench press bodyweight (#185)6 reps

Looking back at the test I realize I could have added some more long-form Cardio into the mix as well. There were a few lifts I had expected to lift more in – but that’s the score as it was then 🙂

CGM experiment part 4

OK, short update since it’s about one month since the last post. Some really interesting lessons and concrete hacks that I’m happy to share.

Results TLDR:

In short the glucose readings are getting better – focus on the days marked in yellow:

  • During this period we’ve mostly been at home, so it’s been easy to eat relatively clean and exercise consistently.
  • The 24h average glucose (last column) is trending down nicely.
  • I’ve lost about 6 lbs since starting this journey – without really ‘trying to diet’.

Habits that have worked for me:

  • Doing 16-8 intermittent fasting – eating lunch around 11.30AM and finishing dinner by 7.30PM.
  • Going for a walk after meals. This really helps to level out any glucose spikes that would result from a big/ carby meal.
  • Eating less carbs. I’m not doing keto / no-carb, but I do eat less carbs during meals. Replace with more veggies, protein and healthy fats.
  • Being consistent – it’s pretty rewarding to see how the average glucose slowly comes down from ‘slightly alarming’ levels, very happy about this progress.

Thanks for reading,

Oskar

Core concepts from “Outlive” by Peter Attia M.D.

Doctor Peter Attia is one of the foremost thinkers and communicators re: health, longevity and preventive medicine – you can find his work e.g on his website, podcast, Youtube etc. He published in March 2023 his book – “Outlive – the science and art of longevity”. 

Others have written thorough reviews of the book (e.g. on Amazon) so I won’t try to do that as the extensive material in the book could end up overwhelming. Instead this post focuses on a few key concepts from the book.

Concept #1 – Health-span

Instead of focusing on Lifespan – where the last years of a long life can be plagued by tiredness, sickness and low energy – our Objective should be on increasing Health-span. This means we could live a slightly longer life, but also have the energy and strength to be able to do our favorite activities in our last decade. Whether that is hiking with friends, learning new skills, picking up a grandchild or just living independently, I think that is an admirable goal.

Concept #2 – the Four Horsemen

With the Objective of increasing our Healthspan in mind – what are the main causes of death in modern societies that we need to focus on preventing? Those are what Peter calls the Four Horsemen of chronic disease, which combined account for about 80% of all cause mortality (ACM):

#1 – Cardiovascular disease (CVD):

  • Is the leading cause of death for both men and women, accounting for about 25% of ACM
  • Common types are: Coronary heart disease, stroke and heart failure.
  • Causes and factors include: High blood pressure, High cholesterol, Smoking, Diabetes, Obesity, Physical inactivity, Family history

# 2 – Cancer

  • Is the second leading cause of death for both men and women, accounting for about 22% of ACM
  • Common types are: Lung, Breast, Colorectal, Prostate or Pancreas cancer
  • Causes and factors include: Age, Smoking, Diabetes, Obesity, Physical inactivity, poor diet, Family history/genetics, Environmental toxins

# 3 – Neurodegenerative disease, dementia

  • Is the third leading cause, accounting for about 8% of ACM
  • Common types are: Alzheimer’s, Lewy Body Dementia, Parkinsons
  • Causes and factors include: Age, Head injury, Diabetes, Obesity, excessive alcohol, poor diet, Family history/genetics, Environmental toxins

#4 – Metabolic syndrome and insulin resistance

insulin resistance itself is associated with huge increases in one’s risk of cancer ( up to twelvefold ) , Alzheimer’s disease ( fivefold ), and death from cardiovascular disease ( almost sixfold ) — all of which underscores why addressing, and ideally preventing , metabolic dysfunction is a cornerstone of my approach to longevity”

  • Metabolic syndrome is a group of risk factors that increase your chance of developing CVD (#1), cancer (#2), neurodegenerative disease (#3), diabetes, obesity.
  • Causes and factors include:
  • Abdominal obesity. This means having a waist circumference of more than 35 inches for women and more than 40 inches for men.
  • High blood pressure. Blood pressure of 130/80 mm Hg (millimeters of mercury) or higher is considered high.
  • High blood sugar. Blood sugar levels of 100 to 125 milligrams per deciliter (mg/dL) after fasting overnight are considered prediabetes. Levels of 126 mg/dL or higher on two separate occasions are considered diabetes.
  • High triglycerides. Triglycerides are a type of fat found in the blood. Triglyceride levels of 150 milligrams per deciliter (mg/dL) or higher are considered high.
  • Low high-density lipoprotein (HDL) cholesterol. HDL cholesterol is often called “good” cholesterol because it helps remove bad cholesterol from the blood. HDL levels of 40 mg/dL or lower for men and 50 mg/dL or lower for women are considered low.
  • If you have three or more of these risk factors, you have metabolic syndrome, as do about 40% of Americans.

Concept #3 – the best medicine is exercise

There are many tools covered in the book to live a healthy life, and to prevent the Four Horsemen – e.g reducing stress, sleeping well, eating a healthy diet, and having meaningful relationships. However one tool stands above the others in terms of impact: exercise.

Any exercise is better than none, and ideally you should do both cardio and strength/ weights training.

Cardio training:

A study found that someone below – average VO2 max for their age and sex is at double the risk of all – cause mortality compared to someone in the top quartile ( 75th to 97.6th percentiles ). Thus , poor cardiorespiratory fitness carries a greater relative risk of death than smoking.

Strength training:

Subjects with low muscle strength were at double the risk of death , while those with low muscle mass and / or low muscle strength , plus metabolic syndrome , had a 3 to 3.33 times greater risk of all – cause mortality

Preventing #1 – Cardiovascular disease (CVD)

John Ioannidis , a Stanford scientist found that in randomized clinical trials, exercise – based interventions performed as well as or better than multiple classes of pharmaceutical drugs at reducing mortality from coronary heart disease , prediabetes or diabetes, and stroke.

To note: The book does go into detail also on the importance of reducing LDL-cholesterol (more specifically APO B) – if needed through medication.

Preventing #2 – Cancer

..I suspect that the association between obesity , diabetes , and cancer is primarily driven by inflammation and growth factors such as insulin . Obesity, especially when accompanied by accumulation of visceral fat, helps promote inflammation , as dying fat cells secrete an array of inflammatory cytokines into the circulation.

What I am saying is that we don’t want to be anywhere on that spectrum of insulin resistance to type 2 diabetes , where our cancer risk is clearly elevated . To me , this is the low – hanging fruit of cancer prevention, right up there with quitting smoking . Getting our metabolic health in order is essential to our anticancer strategy.

Preventing #3 – Neurodegenerative disease

The single most powerful item in our preventive tool kit is exercise , which has a two – pronged impact on Alzheimer’s disease risk: it helps maintain glucose homeostasis , and it improves the health of our vasculature.  

The epidemiology linking strength and cardiorespiratory fitness to lower risk for neurodegeneration is so uniform in its direction and magnitude that .. .. I now tell patients that exercise is, full stop and hands down , the best tool we have in the neurodegeneration prevention tool kit .

Conclusions

I don’t want to sound hyperbolic, but IMO this book should be essential reading for every human being. This book should be taught in class-rooms around the world, until every-one understands these concepts thoroughly, because they are so fundamental for our health.