Thursday, April 25, 2024

Customer account in the eyes of Sales Leader

History of association with the customer 
Business units customer have 
Recent leadership changes
Strategic Focus
Leader’s focus
Data and Cloud Infrastructure 
Financial Goals
Collaboration Opportunities 

Sunday, April 14, 2024

Think and Grow -Napoleon Hill's

Napoleon Hill's 13 Laws of Success


1.First Principle: Desire

For anyone to be successful, it is crucial that there exist within them the desire to be great or at least better than their current state. Without this desire, there would be no motivation or cause for action. Simple wanting or a wish will not produce results as it is just wishful thinking. What is needed is a deep burning desire for something that will automatically result in actions that will bring results. For true success, desire is necessary as wishes will only result in frustration. Desire focuses on the presence of something or the addition of something, whereas wanting focuses on the lack of something.

Whenever you focus on the lacking part, you attract more lack into your life subconsciously. When you focus on the desire, you are consumed by the feeling of having that thing in your life to the extent that you are already picturing what it would feel like to have it in your life. It is this desire that catapults you into action that brings results. Desire pushes you out of your comfort zone because when you desire something, you will not sit idly without doing everything possible to attain the object of your desire. This creates the attraction and brings into your life everything you desire.

2.Second Principle: Faith

When a desire stems and attracts emotions that arise from deep within one’s belief, it attracts faith as well. For a desire to come true, you must have faith that it is possible and that it will come true. When you truly have faith in a desire and believe it will come true, it starts manifesting into its physical self. Those who believe they are not worthy of love, even on a subconscious level, often find themselves continuously in the same pattern of relationships that they somehow sabotage even if it may seem that they are the victims in it. This is because of our own deep existing beliefs.

Our beliefs hold so much power that they almost always come true so if you want a desire to become real, believe in it and have faith that it will come true. You have to truly believe that you deserve what you desire and it will be yours soon. It is faith that makes desires come true. If you find it is hard for you to have faith, repeat affirmations which state that the desire will come true. If you keep repeating something, it will start sounding true and soon enough the idea will not sound alien to you.

Monitor your beliefs and when you start identifying a pattern of self-limiting thoughts, pick deliberate affirmations and repeat them in order to counter the limiting beliefs.

3.Third Principle: Auto Suggestion

There is a strong reason why we do not believe in our own wishes and even though we want something, we do not believe we deserve it. This is a state of being brainwashed. We have been brainwashed by the society to believe we are unworthy of what we desire and that wanting something is sinful. Deep within us, these beliefs exist which makes it difficult for us to believe we deserve something.

In order to get rid of these beliefs, you need to meditate. Go somewhere quiet, relax your mind and repeat the beliefs you want to plant within you. Focus on your worthiness and having faith. With time, the seeds you plant during your meditative stage using affirmations will transform into beliefs. Additionally, start writing things you desire on small placards or notes and read them several times a day in order to remember what you want and place them firmly in your subconscious mind.

4.Fourth Principle: Specialised Knowledge

If acquiring knowledge ensured success, professors would be the wealthiest of the lot. However, that is as far from the truth as possible. Just having knowledge doesn’t make one intelligent or even successful. This is proven by the fact that information is available to everyone these days. All the knowledge of the world is just a mere click away and yet few in the world are successful.

This is because it is not acquiring knowledge but using it that makes one successful. The correct use of specialised knowledge can make one successful which is why instead of focusing on gaining knowledge, focus on the knowledge that will make your desires come true and help you achieve success.

5.Fifth Principle: Imagination

Imagination can prove handy if used for the right purpose instead of just using it for one’s entertainment. Creative imagination is the kind that comes in useful when you want to become successful. In other words, synthetic imagination is caused by the effects around us and creative imagination becomes the cause of the effects around us. When you use creative imagination to visualize and picture the fruits of your desires as a reality, they soon take form and in fact become a reality.

6.Sixth Principle: Organised Planning

In order to succeed, you need a concrete plan. This plan should be a way to achieve what you desire. Take your time to draft a plan and then write it down. Once you write it down, the chances of it becoming a reality increase, so always make sure that you write down your plans and then proceed to divide them into workable goals.

7.Seventh Principle: Decision

The type of decision Hill talks about in his book are firm and resolute decisions, instead of the ones that are formed and forgotten about in an instant. People who keep forming and changing their decisions are barely ever able to achieve what they desire. You need to believe strongly in your decisions to the extent that once you have taken a decision, it becomes concrete and must be followed through.

However, this it doesn’t mean a decision cannot be changed. However, a decision that is changed regularly is not much of a decision. Take strong and well thought-out decisions and then see them through to the end.

8.Eighth Principle: Persistence

Many people fail at their first attempt. They might fail on their hundredth attempt but the simple fact is that the 100th failed attempt proves their dedication and this strength of desire will ensure they succeed at some point in the future. Many people give up on the first attempt, claiming that the challenge is too tough for them and as a result these people barely ever succeed. In order to succeed, there should be an unwavering quality to the desire. In other words, you want it and you will do anything and spend as long as it takes to make this desire a reality.

9.Ninth Principle: Power of the Master Mind

One of the most important principles, this principle explains that in order to achieve what you desire, you need to align your thought vibrations with similar vibrations which can be achieved by keeping company of likeminded people. By choosing your company wisely, you will be surrounded by the right kind of motivation that will inspire and challenge you. If, instead, you surround yourself with lazy people who tend to slack off, with time you will fall into the same mindset and forego all desires. By surrounding yourself with people who motivate you to reach higher, you will achieve more.

10.Tenth Principle: Transmutation

This is one of the more controversial points in Hill’s book. He explains that we all have a strong sexual energy within us that we use to charm and attract the people we have an interest in. If we gather this energy and use it through creative imagination, we will be able to sound and seem more charming to people. This charm can help us get what we want by convincing people around us, through whom we may be able to achieve what we desire.

11.Eleventh Principle: The Subconscious Mind

Oftentimes, we truly want something but are limited by our beliefs and not being able to align vibrations in a manner that will help us make the desire a reality. We can control our subconscious mind by controlling and quieting our conscious mind and instilling the beliefs we want to see reflected in our lives. This is best achieved through meditation because we can truly control and tune into our subconscious. In simple words, our subconscious is the real master mind that decides what will and will not manifest in our lives.

12.Twelfth Principle: The Brain

According to research, when our creativity spikes, our subconscious mind reaches a state where it can be programmed comparatively easily which is why we need to be involved in creative tasks that help us get into the right state of the mind. When we repeat affirmations in our conscious mind while allowing ourselves to reach this state of mind through creative visualisations or imaginations, the pictures in our conscious mind are perceived as reality by our subconscious mind.

In simple words, when we visualise something, our subconscious mind cannot differentiate between the scene being a figment of our imagination or actual reality.

13.Final Principle: The Sixth Sense

This is your intuition or gut feeling and it becomes more profound when you start meditating and tuning into your subconscious mind. Your subconscious mind is your connection with the infinite wisdom of the universe. When we tune into our subconscious, which is in turn tuned into the universe, we get answers to our questions that would otherwise have eluded us. These answers may come to us as hunches or gut feelings and this is why they must not be ignored.

Unlocking the door to Theta state of Mind

Understand Theta State of Mind to Program your mind

https://fastercapital.com/content/Theta-state--Unlocking-the-Door-to-the-Theta-State-of-Mind.html

https://www.spiritualsuccessrx.com/silva-mind-control-method.html

https://www.youtube.com/watch?v=811r4Mv2RaI

https://www.youtube.com/watch?v=_XsB3-g0gD0



Desires become reality: Affirmations

I am a powerful soul

I am calm and stable always

I am always happy

I am fearless I am confident

I am perfect in handling family investments

My body and mind are perfect and healthy always

My cholesterol levels and weight are normal

My family is united

Past is past, I release, I forgive and bless them

I have excelled at 

Success is certain for me

Sharvesh and Yoogesh are focused on their studies. Their concentration is the highest

Sharvesh have joined IIT Chennai Computer Science and Engg

God's power and blessings are a protective shield around me


Music to Increase Brain Power, Focus Music, Reduce Anxiety, Binaural and Isochronic Beats

https://www.youtube.com/watch?v=acQS2Fef8tU

Amazon Bedrock - Workshop - PreReq and Execution

  • Workshop -> https://github.com/aws-samples/amazon-bedrock-workshop

Pre-Req

• AWS CLI, check aws --version

○ Create a Demo user from console and create needed in-line policy as per aws workshop

○ (I tried with a demo sys-admi user that I have created)

• Python 3 

• Pip3

• Set alliance in ~/.bashrc using vi editor

alias python=python3

alias pip=pip3

  •  Apply this using . ~/.bashrc    from terminal     

• Check from terminal
                  python -version

pip -version

    

Setup Local Virtual Environment

Make sure to clone the GitHub repo and try to setup the virtual environment in that repo

Create a folder for the workshop and run the following commands to ensure the all the dependent libraries are created within specific folder. This way version mismatch will be prevented incase different programs need different versions

• python -m venv .venv
        [-m stands for module. Its about creating a virtual env and we named it as ".venv". You need not even have . while creating the environment name. Anytime we install python packages, it gets installed in this directory.]

• ls -la

• source .venv/bin/activate
        [Note: You need to run this first time when you create virtual env and also when you restart the system or just you are out of the virtual env]

Install Jupyter Notebooks

Python is an interpreted programming language. Python runs in local server and ML needs higher configuration system to run. You can host Jupyter on the server (say Amazon EC2, run the following commands and expose that URL , access from the local mac or designated PC).

DataScientist will have a GPU servers somewhere remote where Jupyter server will run and we can connect from local.

• pip install jupyterlab 

• pip install ipykernel 

• python -m ipykernel install --user --name=my-python3-kernel 
          (
my-python3-kernel is the kernel name for this installation / confiuguration, which will be seen in your Jupyter Notebooks)

• jupyter kernelspec list


Launch Jupyter

run command jupyter lab from command line

This will launch Jupyter in the browser. If not, looks for the URL in the terminal 

   To access the server, open this file in a browser:

        file:///Users/bsubramani/Library/Jupyter/runtime/jpserver-73482-open.html

    Or copy and paste one of these URLs:

        http://localhost:8888/lab?token=17025f94dd16b386d7748e0e4ef89396fc588546070f0f90

        http://127.0.0.1:8888/lab?token=17025f94dd16b386d7748e0e4ef89396fc588546070f0f90


BedRock

• Request model access (ideally all model because its needed for the complete demo). It would ask for use-case to grant Anthropic Claude models access.

  • Beware of Bedrock pricing - Say if your prompt includes 10 words, the pricing would - 10 * 1.3, which is 13 tokens. Refer https://aws.amazon.com/bedrock/pricing/ for more details.

Details

  • Temperature - English has 50k words and based on the original set of words, model will predict the next word
  • Temp - 0 to 1 -> if the model has to be creative keep it close 1. If you keep it close to 0, it will be giving authentic data close to trained data

Common inference parameter definitions

Randomness and Diversity

Foundation models generally support the following parameters to control randomness and diversity in the response.

Temperature – Large language models use probability to construct the words in a sequence. For any given next word, there is a probability distribution of options for the next word in the sequence. When you set the temperature closer to zero, the model tends to select the higher-probability words. When you set the temperature further away from zero, the model may select a lower-probability word.

In technical terms, the temperature modulates the probability density function for the next tokens, implementing the temperature sampling technique. This parameter can deepen or flatten the density function curve. A lower value results in a steeper curve with more deterministic responses, and a higher value results in a flatter curve with more random responses.

Top K – Temperature defines the probability distribution of potential words, and Top K defines the cut off where the model no longer selects the words. For example, if K=50, the model selects from 50 of the most probable words that could be next in a given sequence. This reduces the probability that an unusual word gets selected next in a sequence. In technical terms, Top K is the number of the highest-probability vocabulary tokens to keep for Top- K-filtering - This limits the distribution of probable tokens, so the model chooses one of the highest- probability tokens.

Top P – Top P defines a cut off based on the sum of probabilities of the potential choices. If you set Top P below 1.0, the model considers the most probable options and ignores less probable ones. Top P is similar to Top K, but instead of capping the number of choices, it caps choices based on the sum of their probabilities. For the example prompt "I hear the hoof beats of ," you may want the model to provide "horses," "zebras" or "unicorns" as the next word. If you set the temperature to its maximum, without capping Top K or Top P, you increase the probability of getting unusual results such as "unicorns." If you set the temperature to 0, you increase the probability of "horses." If you set a high temperature and set Top K or Top P to the maximum, you increase the probability of "horses" or "zebras," and decrease the probability of "unicorns."

Length

The following parameters control the length of the generated response.

Response length – Configures the minimum and maximum number of tokens to use in the generated response.

Length penalty – Length penalty optimizes the model to be more concise in its output by penalizing longer responses. Length penalty differs from response length as the response length is a hard cut off for the minimum or maximum response length.

In technical terms, the length penalty penalizes the model exponentially for lengthy responses. 0.0 means no penalty. Set a value less than 0.0 for the model to generate longer sequences, or set a value greater than 0.0 for the model to produce shorter sequences.

Repetitions

The following parameters help control repetition in the generated response.

Repetition penalty (presence penalty) – Prevents repetitions of the same words (tokens) in responses. 1.0 means no penalty. Greater than 1.0 decreases repetition



Error Handling:




ERROR: 
[7] in # Check if bucket exists, and if not create S3 bucket for knowledge base data source
http://localhost:8888/lab/tree/02_KnowledgeBases_and_RAG/0_create_ingest_documents_test_kb.ipynb

 InvalidLocationConstraint when using us-east-1 as region, hence commented this line and proceeded
",
    "        CreateBucketConfiguration={ 'LocationConstraint': region_name }\n","

http://localhost:8888/lab/tree/02_KnowledgeBases_and_RAG/0_create_ingest_documents_test_kb.ipynb
 Reference: https://github.com/boto/boto3/issues/125



ERROR: 
[11] # create security, network and data access policies within OSS
 in http://localhost:8888/lab/tree/02_KnowledgeBases_and_RAG/0_create_ingest_documents_test_kb.ipynb

ConflictException: An error occurred (ConflictException) when calling the CreateSecurityPolicy operation: Policy with name bedrock-sample-rag-sp-743 and type encryption already exist

Sol: just continued

ERROR: 
[26] 
# Download and prepare dataset


Added the line as !open /Applications/Python\ 3.12/Install\ Certificates.command in the beginning of [26] which applied the certificate but didnt solve the error.

So downloaded these documents to ./data folder and continued [27] to upload to S3 bucket
    https://s2.q4cdn.com/299287126/files/doc_financials/2023/ar/2022-Shareholder-Letter.pdf
    https://s2.q4cdn.com/299287126/files/doc_financials/2022/ar/2021-Shareholder-Letter.pdf
    https://s2.q4cdn.com/299287126/files/doc_financials/2021/ar/Amazon-2020-Shareholder-Letter-and-1997-Shareholder-Letter.pdf
    https://s2.q4cdn.com/299287126/files/doc_financials/2020/ar/2019-Shareholder-Letter.pdf



Autistic Child Story

 I dare you not to cry.  My son Andrew will never get married, have his own children, drive a car, so many things, BUT he is happy & hea...