Monday, February 14, 2022

What is a free float in a share market?

Let's say a company has 70% as promotor shares, this makes 30% shares are considered free float shares.

Higher the number of free float shares, higher is the volatility and volume available for free trade.

Source and further reads:

 https://economictimes.indiatimes.com/markets/stocks/news/free-float-market-capitalisation-determines-index-weightage/articleshow/58178327.cms


Saturday, December 11, 2021

Covishield Vacchination Side Effects - Day1 to Day3 what happens

 Hi Everyone,

I am documenting this for information purpose only. This is exactly what happened to me.

Day1: Vaccine Day
I had my bf around 9 am. I took the vaccine around 11:30 am.
I was absolutely fine till 8 pm. 

9 pm - I started to suddenly yawn, along with tiredness.
Within an hour by 10 pm I had very high fever.

I took a fever tablet - paracetamol (DOLO 650mg) and went to sleep by11:30pm.
I woke up once experiencing chills and heavy shivering (as though someone was shaking my body). 

Day2: 1 day after Vaccine - Fine by 6 pm

I woke up at 8 am with body pains and a headache.
My back when I couldn't sit for more than 5 mins.
I quickly had a boiled egg and banana & went back to sleep.
I forgot to take my fever tablet.

Lunch: I had a quick lunch with 4 spoons of rice,
took another fever tablet paracetamol(DOLO 650mg),
and went back to sleep. 


By 6 pm when I woke up I was convinced &happy that I was better, I knew i was 80% ok.
I was able to driver a car, walk, sit and perform my routine tasks normally.

Day3: 2nd morning after Vaccine

I slept well that night, with no symptoms.
I am 82% fine with a little heavy head(not headache) and fatigue.
I should be fine in the next 3 days.

Smile! This is the new normal ...

Saturday, November 20, 2021

Python - for loop with inflation as an example for 10 years

#for loop 11/20
#print numbers from 1 to 10
#i=0
#for i in range(1):
# print(i)

# Find inflation based for an amount assuming a percentage of 8%
noOfYears=10
print('Enter inflation percentage')
inflationPercentage=float(input())
print ('Inflation Percentage is :'+str(inflationPercentage))
print('Enter amount ')
amount=float(input())
totalAmount=float(amount)
i=0
for i in range(noOfYears):
totalAmount=totalAmount+(float(totalAmount)*(inflationPercentage/100))
xTimes=int(totalAmount / amount)
#print(xTimes)
#print(totalAmount)

if xTimes==2:
print('Amount is 2x')
elif xTimes==3:
print('Amount is 3x ')
elif xTimes== 4:
print('Amount is 4x')
else:
print('Amount hasn\'t doubled yet')

print(str(totalAmount)+' after '+str(i)+' year')
print('Total inflated amount after '+str(noOfYears)+' \n for amount : '+str(amount)+' is : '+str(totalAmount))

---

Output

Enter inflation percentage

Enter inflation percentage

8

Inflation Percentage is :8.0

Enter amount

20000

Amount is 2x

43178.49994545574 after 9 year

Total inflated amount after 10

for amount : 20000.0 is : 43178.49994545574

Friday, November 19, 2021

Python WHILE CONTINUE and BREAK Example

# CONTINUE to allow user to withdraw and display balance until value 0 is used to exit(BREAK)

 balance=10000;
while True:
    print('****Continue example *****')
    print('Enter amount to withdraw :')
    val=input()
    if(int(val)<0):
        continue
    elif(int(val)==0):
        print('Exiting program')
        break
    else:
        balance=balance-int(val)
        print('balance is now :'+str(balance))

print('****End of balance****')

Python IF ELSE WHILE BREAK

Breaks out of the loop

 while True:
    print('***** BEGIN ******')
    print('Program to find if the person is a Minor, Teenager or Adult.')
    print('Enter a value :')
    age=int(input())
    
    if(age>0 and age<13):
        print('Participant is a Child')
    elif(age>13 and age <18):
        print('Participant is a Teenager')
    elif(age>18):
        print('Participant is an Adult')
    elif(age==0):
        break;

print('*** EXIT END OF PROGRAM *****')

Python Flow statements IF ELSE ELIF

 print('***** BEGIN ******')
    print('Program to find if the person is a Minor, Teenger or Adult.')
    print('Enter a value :')
    age=int(input())
    
    if(age>0 and age<13):
        print('Participant is a Child')
    elif(age>13 and age <18):
        print('Participant is a Teenager')
    elif(age>18):
        print('Participant is an Adult')
    elif(age==0):
        break;

Tuesday, November 16, 2021

Unix shell variables parameters and loops

 The following site is a good link for someone who is aware of programming but wants a quick insight into the shell constructs of programming

https://www.baeldung.com/linux/use-command-line-arguments-in-bash-script



Wednesday, November 10, 2021

Clear the command entered in a Terminal on Mac Ctrl+U and Ctrl+C

 example:

 xyz-mac:~user: mac abc/vbs/vjbad/jkbsjkn/skdnasldn/sdjkkjbasdb

Lets say you want to clear this on a Mac terminal.

Use : Ctrl + U or Ctrl + C

 Note: Use Ctrl key not Command key

 Source: https://superuser.com/questions/192490/clear-command-from-terminal-in-os-x

 Additional Keys:

Ctrl+K clears the screen 


https://osxdaily.com/2006/12/19/command-line-keyboard-shortcuts-for-mac-os-x/


Read REST data using XML input to PLSQL

declare
l_value varchar2(4000);
begin

for x in (select *
from xmltable(
   '/Entities/Entity/Fields/Field'
   passing xmltype(get_rest_details('http:///....us.xyz.com/q...../...//....'))
   COLUMNS
   name varchar2(4000) path '@Name',
   value varchar2(4000) path 'Value'
)
)
loop
htp.p(x.name||chr(9)||chr(9)||'=>'||x.value);
end loop;
exception when others then
htp.p(sqlerrm);

end;

 

-- get_rest_details is a procedure that performs authentication and call REST service
Source: https://docs.oracle.com/cd/E37097_01/doc.42/e35127/GUID-4AC0229D-85E2-439A-9485-531B7B8B6274.htm#AEAPI1955

Example:

l_clob := apex_web_service.make_rest_request(
        p_url => 'http://us.music.yahooapis.com/ video/v1/list/published/popular',
        p_http_method => 'GET',
        p_parm_name => apex_util.string_to_table('appid:format'),
        p_parm_value => apex_util.string_to_table('xyz:xml'));

What is ESG in S&P BSE ESG 100?

 ESG stands for Economic, Social and Governance.

Companies that follow good ethical practices and are in the good books of the Regulators and Government

Thursday, November 4, 2021

What are Hurricane, typhoon, cyclones? same storm, just different names.

 Good Read : 

http://thevane.gawker.com/what-is-the-difference-between-a-cyclone-typhoon-and-1617803648

a hurricane/typhoon/cyclone generally has winds stronger than 74 MPH (~124 Km/hr)

India - Cyclone, Japan -Typhoon, USA - Hurricane

How to clean your stainless steel water bottle or coffee maker using Vinegar or Bleach


Use half bottle vinegar with half bottle water i.e., vinegar to water 1:1 ratio. Rinse it.

Avoid using bleach. If you have used bleach. Use half teaspoon for 1liter water. Rinse it twice.

(2 teaspoons per gallon (3.78 liters)=> 1 teaspoon for 1.8 liters) =>~1 litre.

 

Notes:

White vinegar has 5 percent acidity; while cleaning vinegar, on the other hand, has 6 percent. 
20 percent stronger than white vinegar.

Cleaning vinegar can be used undiluted or mixed with water, depending on the job.
For tough stains on fabric furniture or clothes, use cleaning vinegar alone on a sponge or rag to wipe away the spot. 

 It is not recommended to use cleaning vinegar—or white vinegar, for that matter—on natural stone, waxed wood, cast iron or aluminum.

 Useful reads https://health.tas.gov.au/healthykids/blog/how_to_clean_water_bottles

Are Raisins good or bad for you? (kishmish)

.

What are raisins?
Raisins are minimally processed, with no added ingredients or preservatives. 

How are raisins made?
Dried in the sun or in a food dehydrator
They are high in sugar and calories, so they should only be eaten in moderation.

Caution:
To prevent natural discolouration, dried fruits are sometimes treated with sulphur dioxide.
This compound can lead to discomfort, headaches and nausea when digested.


Do Raisins Go Bad - Shelf life period ? how long do raisins survive?
About 3-5 months in the pantry if opened
 6 months in the pantry if unopened.
 9-12 months in the fridge (both opened and unopened)


How much portion of Dry Fruits raisins per day?
A portion of dried fruit is around 30g.
This is about 1 heaped tablespoon of raisins, currants or sultanas,
1 tablespoon of mixed fruit,
2 figs, 3 prunes or 1 handful of dried banana chips.

Tip:
Soak 8-10 raisins overnight in a glass of water and then eat them in the morning.


Side affects of raisins
Too much dietary fiber can be bad for your stomach
Too many antioxidants can cause damage to your body
May cause Hypotension.

Can raisins make you sick?

It increases soluble fiber. Too much fiber may cause gastrointestinal upset, such as cramps, gas, and bloatingSome people may even develop diarrhea

Additional Information

The soaking allows all the vitamins and minerals of raisins to be released in the water while restricting sugar content. The process multiplies the benefits of black raisin for your body, hair growth, and skin.

How long to soak raisins?

Cover the raisins with room temperature liquid and soak for 30 minutes. After that time has passed, they're ready to use!


Calf to Cow - Lifespan of a Cow

A cow is a calf or hiefer till the age of 2 yrs after which, between the age of 2 to 10 years, it can give birth to approximately 2 to 4 or upto 10 calves.
For each Calf, there would be a pregnancy period of ~283 days or 9 months followed by 10 months for it to provide milk.
During the 10 monts of pregnancy, it can produce ~10-25 litres per day.
Once the Cow reaches 10 years, it would loose its ability to get pregnant or produce a calf.

FAQs for the summary presented above:

Q)Is Cow female? What is male?
Cow is female. An adult male is known as bull.
Most cows will give birth to a single calf at a time, either a heifer (female) or bull (male) calf.
A heifer is a female that has not had any offspring.

Q) What is the Lifespan of a Cow?
18-22 years?


Q) Can a Cow give milk when it is not pregnant?
No

Q) What age does a Cow reach Puberty occur?
~2 yrs - 12-14 months

Q) What are the ways a Cow is impregnanated?
Bull or IVF

Q) How long is a Cow Pregnant?
~1 year ~9 months

Q) How long can a Cow become Pregnant again?
After calving, it takes 60 to 90 days for cows to resume cycles


Q) How long does a cow provide milk?
10 months followed by rest period of about 2 months before next calf is born.
10 months + 2 months

Production levels peak 40 to 60 days
Production declines steadily afterwards until milking is stopped at about 10 months

Additional Information:
Dairy cows must give birth to one calf per year in order to continue producing milk.
Typically they are artificially inseminated within three months of giving birth.

Q) How many liters of milk does a cow give?
Varies:
10-15 litres per day. Good yield stands at ~25 litres per day.

Q) How many calves can a Cow produce in a lifetime (18-22 yrs)?
most cows have 2-4 calves in a lifetime. This can go upto 8 to 10

Q) How long and much milk does a Calf need per day?

A calf needs 10% of the body weight per day. Thus, a 30kg calf should be fed at least 3L of whole milk per day. A new born calf should be given 2 litres of colostrum within the first 2 hours of birth.
 

Milk can be stopped after 2 months is what they say. However, after 10 months milk can/should be stopped (weaned off ).
6 months of age, cows will begin eating forages and grains

After how many years can Cows stop giving birth to babies?
~10 years

 

Disclaimer:

All the information provided above is only for educational purpose of understanding and the facts of each statistic may vary from region to region and across country to country.

Source: Various sources on the internet

P.S: This is in draft stage with Proofreading pending.

Saturday, October 2, 2021

do you want to replace the existing Normal.dotm? - How to fix this on mac?

 Go to this Path:

/Users/amoni/Library/Group Containers/UBF8T346G9.Office/User Content/Templates

Delete the Norma.dotm file. If word asks you to save it again do so and this error should disappear.
Free yourself from Normal.dotm pop-up once and for all


Credit : https://discussions.apple.com/thread/4906402

Monday, August 30, 2021

Happy Janmastami - Excellent information on Shri Krishna

 Excellent information about Bhagwan Shri Krishna

1) Krishna was born 5252 years  ago
2) Date of Birth : 18 th July,3228 B.C
3) Month : Shravan
4) Day :  Ashtami
5) Nakshatra : Rohini
6) Day : Wednesday
7) Time : 00:00 A.M.
 Shri Krishna lived 125 years, 08 months & 07 days.
9) Date of Death : 18th February 3102BC.
10) When Krishna was 89 years old ; the mega war (Kurukshetra war) took place.
11) He died 36 years after the Kurukshetra war.
12) Kurukshetra War was started on Mrigashira Shukla Ekadashi, BC 3139. i.e "8th December 3139BC" and ended on "25th December, 3139BC".  
12) There was a Solar eclipse between "3p.m to 5p.m on 21st December, 3139BC" ; cause of Jayadrath's death.
13) Bhishma died on 2nd February,(First Ekadasi of the Uttarayana), in 3138 B.C.

14) Krishna  is worshipped as:
(a)Krishna Kanhaiyya : Mathura
(b) Jagannath:- In Odisha
(c) Vithoba:- In Maharashtra
(d) Srinath:  In Rajasthan
(e) Dwarakadheesh: In Gujarat
(f) Ranchhod: In Gujarat
(g) Krishna : Udupi in Karnataka
h) Guruvayurappan in Kerala

15) Bilological Father: Vasudeva
16) Biological Mother: Devaki
17) Adopted Father:- Nanda
18) Adopted Mother: Yashoda
19 Elder Brother: Balaram
20) Sister: Subhadra
21) Birth Place: Mathura
22) Wives: Rukmini, Satyabhama, Jambavati, Kalindi, Mitravinda, Nagnajiti, Bhadra, Lakshmana
23) Krishna is reported to have Killed only 4 people in his life time.
(i) Chanoora ; the Wrestler
(ii) Kansa ; his maternal uncle
(iii) & (iv) Shishupaala and Dantavakra ; his cousins.
24) Life was not fair to him at all. His mother was from Ugra clan, and Father from Yadava clan, inter-racial marriage.
25) He was born dark skinned. He was not named at all throughout his life. The whole village of Gokul started calling him the black one ; Kanha. He was ridiculed and teased for being black, short and adopted too. His childhood was wrought with life threatening situations.
26) 'Drought' and "threat of wild wolves" made them shift from 'Gokul' to 'Vrindavan' at the age 9.
27) He stayed in Vrindavan till 10 years and 8 months. He killed his own uncle at the age of  10 years and 8 months at Mathura.He then released  his biological mother and father.
28) He never returned to Vrindavan ever again.
29) He had to migrate to Dwaraka from Mathura due to threat of a Sindhu King ;  Kala Yaavana.
30) He defeated 'Jarasandha' with the help of 'Vainatheya' Tribes on Gomantaka hill (now Goa).
31) He rebuilt Dwaraka.
32) He then left to Sandipani's Ashram in Ujjain to start his schooling at age 16~18.
33) He had to fight the pirates from Afrika and rescue his teachers son ;  Punardatta;  who was kidnapped near Prabhasa ; a sea port in Gujarat.
34) After his education, he came to know about his cousins fate of Vanvas. He came to their rescue in ''Wax house'' and later his cousins got married to Draupadi. His role was immense in this saga.
35) Then, he helped his cousins  establish Indraprastha and their Kingdom.

36) He saved Draupadi from embarrassment.

37) He stood by his cousins during their exile.
38) He stood by them and made them win the Kurushetra war.

39) He saw his cherished city, Dwaraka washed away.
40) He was killed by a hunter (Jara by name) in nearby forest.
41) He never did any miracles. His life was not a successful one. There was not a single moment when he was at peace throughout his life. At every turn, he had challenges and even more bigger challenges.
42) He faced everything and everyone with a sense of responsibility and yet remained unattached.

43)  He is the only person, who knew the past and future ; yet he lived at that present moment always.

44) He and his life is truly an example for every human being.๐ŸŒท๐Ÿ™๐Ÿป

Jai  Shri Krishna๐Ÿ™

Tuesday, August 24, 2021

Reflect - People transform into beasts of aggression

 Be Simple, Honest and Genuine not all the time but definitely from time to time.

Knowingly or unknowingly, people transform into beasts of aggression.

An Overuse of continuous polished vocabulary is perceived as Hypocrisy, not diplomacy.

It's a Sorry state of mind, They  don't mind becoming lonely and unapproachable. the effect of which trickles down to people around them.

Thursday, July 22, 2021

SQL - Display the records created using trunc(sysdate)

Display the records that are created today

select count(*) from TASKS where trunc(created_date)=trunc(sysdate)

We need to use trunc as date is stored as date and time.

Trunc strips off the time and returns only date.

Sunday, July 18, 2021

A soulful thank you to a special person in my life

I write this for someone who has done some much in life for me

You provide me more than what l deserve, everything you do has so much of love in it. I tend to believe, even God seems to answer my wishes and prayers most of it through you..  

I pray that I can care and love you as u wish how u want life to be. 

God bless