Vedic Maths : Nikhilam Navatashcaramam Dashatah
Vedic Maths : Nikhilam Navatashcaramam Dashatah
All from 9 and the last from 10
निखिलं नवतः चरमं दशतः
Any number can be expressed as : N = x + k, Where x is 10 ^ n and k is remainder if you divide N with 10 ^ n. Here N, n, k are integer. k can be negative also.
Here are the examples:
|
N |
x |
k |
n |
N = (x = 10
^ n) + k |
|
9 |
10 |
-1 |
1 |
10 ^ 1 - 1 |
|
7 |
10 |
-3 |
1 |
10 ^ 1 – 3 |
|
6 |
10 |
-4 |
1 |
10 ^ 1 – 4 |
|
8 |
10 |
-2 |
1 |
10 ^ 1 – 2 |
|
5 |
10 |
-5 |
1 |
10 ^ 1 – 5 |
|
89 |
100 |
-11 |
2 |
10 ^ 2 – 11 |
|
95 |
100 |
-5 |
2 |
10 ^ 2 – 5 |
|
88 |
100 |
-12 |
2 |
10 ^ 2 – 12 |
|
91 |
100 |
-9 |
2 |
10 ^ 2 – 9 |
|
99 |
100 |
-1 |
2 |
10 ^ 2 – 1 |
|
97 |
100 |
-3 |
2 |
10 ^ 2 -3 |
|
888 |
1000 |
-112 |
3 |
10 ^ 3 – 112 |
|
998 |
1000 |
-2 |
3 |
10 ^ 3 – 2 |
|
991 |
1000 |
-9 |
3 |
10 ^ 3 – 9 |
|
997 |
1000 |
-3 |
3 |
10 ^ 3 – 3 |
|
9999 |
10000 |
-1 |
4 |
10 ^ 4 – 1 |
|
99979 |
100000 |
-21 |
5 |
10 ^ 5 – 21 |
|
99999 |
100000 |
-1 |
5 |
10 ^ 5 – 1 |
|
9999999998 |
10000000000 |
-2 |
10 |
10 ^ 10 – 2 |
|
16 |
10 |
+6 |
1 |
10 ^ 1 + 6 |
|
11 |
10 |
+1 |
1 |
10 ^ 1 + 1 |
|
12 |
10 |
+2 |
1 |
10 ^ 1 + 2 |
|
13 |
10 |
+3 |
1 |
10 ^ 1 + 3 |
|
15 |
10 |
+5 |
1 |
10 ^ 1 + 5 |
|
16 |
10 |
+6 |
1 |
10 ^ 1 + 6 |
|
17 |
10 |
+7 |
1 |
10 ^ 1 + 7 |
|
18 |
10 |
+8 |
1 |
10 ^ 1 + 8 |
|
108 |
100 |
+8 |
2 |
10 ^ 2 + 8 |
|
111 |
100 |
+11 |
2 |
10 ^ 2 + 11 |
|
109 |
100 |
+9 |
2 |
10 ^ 2 + 9 |
|
1005 |
1000 |
+5 |
3 |
10 ^ 3 + 5 |
|
1009 |
1000 |
+9 |
3 |
10 ^ 3 + 9 |
|
1016 |
1000 |
+16 |
3 |
10 ^ 3 + 16 |
|
1006 |
1000 |
+6 |
3 |
10 ^ 3 + 6 |
|
1026 |
1000 |
+26 |
3 |
10 ^ 3 + 26 |
|
10006 |
10000 |
+6 |
4 |
10 ^ 4 + 6 |
Now let's have two number A and B where k is a and b respectively
Friday Night with DevOps
I attended "Friday Night with DevOps" on Friday evening at MappleLabs Solution Pvt Ltd, Bangalore. All details are here: https://www.meetup.com/bangalore-devops-community-powered-by-snappyflow/events/292655378/
Here are few key takeaway points
- We can use service mesh for monolith application also.
- To reduce size of Docker image
- Use "Docker ignore"
- Choose right base OS
- Use Microcontainers
- https://blog.iron.io/microcontainers-tiny-portable-containers/
- https://github.com/iron-io/dockers
- https://github.com/iron-io/dockerworker
- Goole distroless image https://github.com/GoogleContainerTools/distroless
- Multi Stage build is key.
- Use Squash command
- https://stackoverflow.com/questions/41764336/how-does-the-new-docker-squash-work
- https://github.com/jwilder/docker-squash
- https://blog.geralexgr.com/docker/create-single-image-layers-with-docker-squash
- https://sleeplessbeastie.eu/2021/09/17/how-to-squash-docker-image/
- https://mresetar.github.io/2020-03-20-squashing-docker-images-for-smaller-size/
- Use Docker History command https://docs.docker.com/engine/reference/commandline/history/
- Layers and order of layers
- Karpenter can autoscale K8s cluster https://karpenter.sh/
- Kubecost https://www.kubecost.com/
- Istio can be used for blue-green testing, with two cluster. One cluster with Blue deployment and another with green cluster.
- https://velero.io/ Velero is for K8s backup and restore.
Poem by Mohit pilot of Spicejet
पायलट मोहित की कविता...
अब से डेढ़ घंटे में होगा गंतव्य पर प्रस्थान,
तो जरा देकर खुद को आराम और न करें धूम्रपान,
वर्ना दंडनीय हो सकता है अंजाम...
अगर ऊंचाई की बात करें तो होगा छत्तीस हजार फीट का मुकाम,
क्योंकि अगर और ऊपर गए तो शायद दिख सकते हैं भगवान
800 किलोमीटर प्रति घंटे की गति से उड़ेगा यह विमान,
सर्दी बहुत होगी बाहर और शून्य से पैंतालीस डिग्री सेंटीग्रेड होगा तापमान...
अगर मौसम खराब हो तो कुछ देर करें विश्राम,
और कोई भी आवश्यकता हो तो बेझिझक करें विमानकर्मियों को परेशान,
थोड़ा लिमिट में ही करें, वर्ना बन सकती हैं शैतान...
सभी विमानकर्मियों से गुजारिश है, कृपया बनाए रखिएगा मुस्कान
आप सभी का स्वास्थ्य बनाए रखने के लिए उपलब्ध है जलपान...
आप सहयात्रियों से वार्तालाप करें, शायद रास्ता कटे आसान,
मैं आपसे विदा लूंगा और बातें होंगीं आखिरी चरण के दौरान
तब तक आनंद लीजिएगा, जमीन से ऊपर खूबसूरत होगा आसमान...एंजॉय द फ्लाई।





