To Sufi by Allama Iqbal

I translated this poem in my freshman year for my English class.

    This is a world of miracles for you.

    But for me, this is the world of randomness.

    The world of fantasies is poor,

    But poorer is the world of births and deaths.

    It is no wonder that your gaze will change it all,

    The world of possibilities is calling you.

Bulla ki jaana main kaun

Lyrics with Translations

Bulla ki jaana main kaun Bulla ki jaana main kaun

Na main moman vich maseetan Na main vich kufar dian reetan Na main pakan vich paleetan Na main andar bed kitaban Na main rehnda phaang sharaban Na main rehnda mast kharaban Na main shadi na ghamnaki Na main vich paleetan pakeen Na main aaabi na main khaki Na main aatish na main paun

Bulla ki jaana main kaun

Na main arabi na lahori Na main hindi shehar Nagaori Na hindu na turk pashauri Na main bhet mazhab de paya Na main aadam hawwa jaya Na koi apna naam dharaya Avval aakhar aap nu jana Na koi dooja hor pacchana Mai ton na koi hor syana Bulle shah kharha hai kaun

Bulla ki jaana main kaun Bulla ki jaana main kaun

Na main moosa na pharoah Na main aatish na main paun Na main rahnda vich Nadaun Bulle shah kharha hai kaun Bulla ki jaana main kaun Bulla ki jaana main kaun

English

Bulleh! to me, I am not known

Not a believer inside the mosque, am I Nor a pagan disciple of false rites Not the pure amongst the impure Neither Moses, nor the Pharoh

Bulleh! to me, I am not known

Not in the holy Vedas, am I Nor in opium, neither in wine Not in the drunkard`s craze Niether awake, nor in a sleeping daze

Bulleh! to me, I am not known

In happiness nor in sorrow, am I Neither clean, nor a filthy mire Not from water, nor from earth Neither fire, nor from air, is my birth Bulleh! to me, I am not known

Not an Arab, nor Lahori Neither Hindi, nor Nagauri Hindu, Turk (Muslim), nor Peshawari Nor do I live in Nadaun

Bulleh! to me, I am not known

Secrets of religion, I have not known From Adam and Eve, I am not born I am not the name I assume Not in stillness, nor on the move

Bulleh! to me, I am not known

I am the first, I am the last None other, have I ever known I am the wisest of them all Bulleh! do I stand alone?

Bulleh! to me, I am not known

Source for lyrics: https://www.flashlyrics.com/lyrics/rabbi-shergill/bulla-ki-jana-70


New Career Direction

Today Ayden said, “Jack (his friend) wants to be firetruck driver and I will be ambulance driver. Jack will put out fires. I will take people to hospital. It will be so much fun.”


A Poem by Mir Dard

It was a school or temple, or was it Makkah or a church.<br />We were all guests, only you were the host.<br />Oh! How sad it is. I found just before death.<br />It was only a dream, what I saw. It was only a fairy tale, what I heard.<br />How sad it is that autumn is in the garden.<br />There was some grass, which was my friend.<br />This place is getting chaotic with all these people coming and going.<br />My heart used to be the place for your peace.<br />It is useless to remember them, try to be happy.<br />Dard, it is not important if they remember me or not.

Mir Dard was a sufi poet from India. I translated this poem for college project.


Father & Son

Lyrics

It's not time to make a change
Just relax, take it easy
You're still young, that's your fault
There's so much you have to know
Find a girl, settle down
If you want you can marry
Look at me, I am old, but I'm happy

I was once like you are now
And I know that it's not easy
To be calm when you've found
Something going on
But take your time, think a lot
Think of everything you've got
For you will still be here tomorrow
But your dreams may not

How can I try to explain?
When I do he turns away again
It's always been the same, same old story
From the moment I could talk
I was ordered to listen
Now there's a way
And I know that I have to go away
I know I have to go

It's not time to make a change
Just relax, take it slowly
You're still young, that's your fault
There's so much you have to go through
Find a girl, settle down
If you want you can marry
Look at me, I am old, but I'm happy

All the times that I've cried
Keeping all the things I knew inside
It's hard, but it's harder to ignore it
If they were right I'd agree
But it's them they know, not me
Now there's a way
And I know that I have to go away
I know I have to go

Genius Annotations


Journey to the Microcosmos

Journey to the Microcosmos is a YouTube channel all about looking at microscopic organisms through microscope. Videos are beautifully produced and narrator explains what you are looking at in a calm soothing voice. These videos are educational and interesting. Highly recommended.


Growing Up by Macklemore

Lyrics

They say boys don't cry
But your dad has shed a lot of tears
They say I should be a strong man
But baby, I'm still filled with fear
Sometimes I don't know who I am
Sometimes I question why I'm here
I just wanna be a good dad
Will I be, I have no idea
They say girls shouldn't be tough
And moms should raise their kids at home
But baby, I know that that isn't true
'Cause your momma's the toughest person I know
I wanna raise you to be like her
And watch you show the world how to do it on your own
I'm still tryna figure out who I am
I don't wanna mess this up or do this wrong
I'm gonna be there for your first breath
I don't know if I'll be there for your first step
I can promise you that I'll try to work less
But the tour's routed, and I got this album
Put in so many hours, and I just want the outcome
To be something that I can look back and I can be proud of
Don't wanna be a dad that's living in FaceTime
But I've got a world to sing to and you at the same time
I won't spoil you, you can trust that
For your sweet sixteen, you get a bus pass
Had your heart broken, been there, done that
I love you and I can't give you enough of that
Get back to community that raised you up
Read Langston Hughes, I suggest A Raisin in the Sun
Listen to Sam Cooke, a change gon' come
You put the work in, don't worry about the praise, my love
Don't try to change the world, find something that you love
And do it every day
Do that for the rest of your life
And eventually, the world will change

I'll be patient, one more month
You'll wrap your fingers round my thumb
Times are changing, I know, but who am I if
I'm the person you become
If I'm still growing up, up, up, up
I'm still growing up, up, up, up
I'm still growing up

I recommend that you read The Alchemist
Listen to your teachers, but cheat in calculus
Tell the truth, regardless of the consequence
And every day, give your momma a compliment
Take your girl to the prom
But don't get too drunk hanging out the limo
Slow dance with your woman in your arms
Sneak her in after but boy, you better tiptoe
Don't wake your mom up, do yoga, learn 'bout karma
Find God, but leave the dogma
The quickest way to happiness learning to be selfless
Ask more questions, talk about yourself less
Study David Bowie, James Baldwin and 2Pac
Watch the sun set with best friends from a rooftop
Wear a helmet, don't be stupid, jaywalk, but look before you do it
If it snows, go outside, build a jump, get some help
Get a sled, thrash the hill with your friends, 'til it melts
Go to festivals, camp, fall in love and dance
You're only young once, my loved one, this is your chance
Take risks, 'cause life moves so fast
You're only young once, my loved one, this is your chanceI'll be patient, one more month
You'll wrap your fingers round my thumb
Times are changing, I know, but who am I
If I'm the person you become
If I'm still growing up, up, up, up
I'm still growing up, up, up, up

I'll be patient, one more month
You'll wrap your fingers round my thumb
Times are changing, I know, but who am I
If I'm the person you become
If I'm still growing up, still growing up, still growing up
If I'm still growing up, still growing up, still growing up

If I'm still growing up
I'm still growing up, ooh
I'm still growing up
I'm still growing up

When do have kids

In my opinion, the best time to have kids is in your twenties, if one wants kids and is able to support them financially. This seems counterintuitive to conventional wisdom. But I say this as father who had his kids in late 40s.

The main reason is that in my late 30s, my stamina and fitness level have deteriorated way faster than I imagined. Fitness was not my top priority before but it took really backseat after my first child. And then 2020 was not very helpful. Now with two kids, I am in constant state of tiredness.

The main reasons to have kids later in life is that one is financially stable and is more mature, hence, a better parent. It makes sense to wait until you are financially secure and able to provide a good life for your kids.

But maturity comes with responsibilities. And kids are a huge responsibility. Not only that you learn leadership skills as a parent. You are a leader of your pack. I usually had hard time saying no but after saying no to my toddler 100s of times a day, now I feel comfortable saying no to other people too.

Also before my kids, I wanted to progress in my career mostly for my personal interests in programming and then money. This meant a lot of time I was seeking individual contributor roles with interesting challenges but had no desire to pursue management roles. Now I have to think of my kids future, so I am trying to figure out best way to balance my personal interests and career progression. It is harder to switch from individual contributor to leadership role in your forties. If I had kids earlier in life, I probably would have tried leadership roles and learnt if it was for me or not.

Having said that don’t worry, everyone is different. Maybe some people are a lot healthier and they won’t get tired easily with kids. Or maybe some parenting styles are less strenuous. Or maybe kids will motivate you to start living healthier and you will have more energy.


Hello world!

Welcome back. Starting over with blogging. I am usually focused on transferring my old post to new blogging platform before I start writing but this time, I will focus on new writings and bring old posts once in a while.

This blog has changed its focus many times, these days my number 1 priority is to be a good father and that will be focus of this blog.


Circle of Life

Lyrics

Nants ingonyama bagithi baba
Sithi uhm ingonyama
Nants ingonyama bagithi baba
Sithi uhhmm ingonyama
Ingonyama
Siyo Nqoba
Ingonyama
Ingonyama nengw' enamabala
Ingonyama nengw' enamabala
Ingonyama nengw' enamabala
Ingonyama nengw' enamabala
Ingonyama nengw' enamabala
Ingonyama nengw' enamabala (se-to-kwa!)
Ingonyama nengw' enamabala (asana)
Ingonyama nengw' enamabala (se-to-kwa!)
Ingonyama nengw' enamabala (se-to-kwa!)
From the day we arrive on the planet
And, blinking, step into the sun
There's more to see than can ever be seen
More to do than can ever be done
There's far too much to take in here
More to find than can ever be found
But the sun rolling high
Through the sapphire sky
Keeps great and small on the endless round
It's the circle of life
And it moves us all
Through despair and hope
Through faith and love
'Til we find our place
On the path unwinding
In the circle
The circle of life
Ingonyama nengw' enamabala
Ingonyama nengw' enamabala
Ingonyama nengw' enamabala (se-to-kwa!)
Ingonyama nengw' enamabala (se-to-kwa!)
Ingonyama nengw' enamabala (se-to-kwa!)
Ingonyama nengw' enamabala (se-to-kwa!)
Ingonyama nengw' enamabala (se-to-kwa!)
Ingonyama nengw' enamabala (se-to-kwa!)
Ingonyama nengw' enamabala (se-to-kwa!)
Ingonyama nengw' enamabala (se-to-kwa!)
Ingonyama nengw' enamabala (se-to-kwa!)
Ingonyama nengw' enamabala (se-to-kwa!)
Ingonyama nengw' enamabala (se-to-kwa!)
Ingonyama nengw' enamabala (se-to-kwa!)
Ingonyama nengw' enamabala (se-to-kwa!)
Ingonyama nengw' enamabala (se-to-kwa!)
It's the circle of life
And it moves us all
Through despair and hope
Through faith and love
'Til we find our place
On the path unwinding
In the circle
The circle of life

Source: LyricFind

Songwriters: Elton John / Tim Rice


What do you want to be when you grow up

Yesterday, after I picked up Ayden from his daycare, he said, he didn’t know what he wants to be. I guess they asked him this question in his class. I told him he has plenty of time to figure it out. There is no rush.

Then later at night he said, “Baba, I know what I want to be. I want to be a Tow Truck Driver.” He said it would be so much fun to tow cars.

Yesterday, after I picked up Ayden from his daycare, he said, he didn’t know what he wants to be. I guess they asked him this question in his class. I told him he has plenty of time to figure it out. There is no rush.

Then later at night he said, “Baba, I know what I want to be. I want to be a Tow Truck Driver.” He said it would be so much fun to tow cars.


LeetCode 92. Reverse Linked List II

I copied solution for Reverse Linked List II from this Udemy course. It was a little hard to understand all these pointers in second loop, I had to use pen and paper to draw each step to finally understand how each pointer works.

/**
 * Definition for singly-linked list.
 * function ListNode(val, next) {
 *     this.val = (val===undefined ? 0 : val)
 *     this.next = (next===undefined ? null : next)
 * }
 */
/**
 * @param {ListNode} head
 * @param {number} left
 * @param {number} right
 * @return {ListNode}
 */
var reverseBetween = function(head, left, right) {
    let currPos = 1;
    let currNode = head;
    let startNode = head;
    let endNode = null;
    
    while(currPos < left) {
        startNode = currNode;
        currNode = currNode.next;
        currPos++;
    }
    
    let newList = null;
    let tail = currNode;
    
    while (currPos <= right) {
        const next = currNode.next;
        currNode.next = newList;
        newList = currNode;
        currNode = next;
        currPos++;
    }
    
    startNode.next = newList;
    tail.next = currNode;
    
    if (left > 1) {
        return head;    
    }
    
    return newList;
    
    
};

LeetCode 206. Reverse Linked List

Here is a quick solution to Reverse Linked List problem.

/**
 * Definition for singly-linked list.
 * function ListNode(val, next) {
 *     this.val = (val===undefined ? 0 : val)
 *     this.next = (next===undefined ? null : next)
 * }
 */
/**
 * @param {ListNode} head
 * @return {ListNode}
 */
var reverseList = function(head) {
    let curr = head;
    let prev = null;

    while (curr) {
        let next = curr.next;
        curr.next = prev;
        prev = curr;
        curr = next;
    }

    return prev;
};

LeetCode 560. Subarray Sum Equals K

Brute Force Solution to Subarray Sum Equals K problem from LeetCode:

/**
 * @param {number[]} nums
 * @param {number} k
 * @return {number}
 */
var subarraySum = function(nums, k) {
    let ans = 0;

    for (let i=0; i<nums.length; i++) {
        let currSum = nums[i];
        if (currSum === k) ans++;
        for (let j=i+1; j<nums.length; j++) {
            currSum += nums[j];
            if (currSum === k) ans++;

        }
    }

    return ans;
};

Optimized solution after cheating a bit:

/**
 * @param {number[]} nums
 * @param {number} k
 * @return {number}
 */
var subarraySum = function(nums, k) {
    let ans = 0;
    const m = new Map();
    let sum=0;
    m.set(sum, 1);

    for (let i=0; i<nums.length; i++) {
        sum += nums[i];

        if (m.has(sum-k)) {
            ans += m.get(sum-k);
        }

        if (!m.has(sum)) {
            m.set(sum, 1);
        } else {
            m.set(sum, m.get(sum) + 1);
        }

    }

    return ans;
};

Runtime: 96 ms, faster than 94.76% of JavaScript online submissions for Subarray Sum Equals K.

Memory Usage: 46.6 MB, less than 81.14% of JavaScript online submissions for Subarray Sum Equals K.