Alejandro Escamilla macbook

How to print triangle shape asterisk using for loop?

This is my first exercises on computer programming 2. To triangle shape asterisk or echo out triangle asterisk in a for loop sequence.

----*
---***
--*****
-*******
*********

Analyzing the output?

It could be 5 line break and so on
The number sequence of the asterisk is x = x+2

Here is the code for the number sequence.

$s=""; // initial variable
$b=9; // base number of the triangle
// execute loop if true
for($i=1;$i< =$b;$i+=2){
// make a line break
$s.=$i."
";
}
echo $s;

The output number sequences we get from the for loop

1
3
5
7
9

We already got the number of asterisk on each row.
Now we can print the asterisk accordingly.

$s=""; // initial variable
$b=9; // base number of the triangle
// execute loop if true
for($i=1;$i< =$b;$i+=2){
// store the string value of $s while the asterisk count is true
for($j=0;$j<$i;$j++){
$s .="*";
}
// make a line break
$s.=$i."
";
}
echo $s;

The output of triangle asterisk using for loop.

*
***
*****
*******
*********

We add dash to indent the asterisk to center for the final code.

$s=""; // initial variable
$b=9; // base number of the triangle
// execute loop if true
for($i=1;$i< =$b;$i+=2){
// store and add dash on the string value of $s while it is true
// or $k is less than $b-$i
for ($k=0;$k<($b-$i); $k+=2){
$s .="-";
}
// store the string value of $s while the asterisk count is true
// or $j less than $i
for($j=0;$j<$i;$j++){
$s .="*";
}
// make a line break
$s.=$i."
";
}
echo $s;

The output of triangle asterisk using for loop with indention.

----*
---***
--*****
-*******
*********
BDJ Box Beauty Bootcamp

Beauty Fair at the BDJ Box Beauty Boot camp!

A week before! I thought I was registering for a giveaway contest but it was a pre-registration for the (Beauty Fair) BDJ Box Beauty Bootcamp. So I feel like a winner when a congratulations notice arrived on my inbox. I was hesitant to go since the invitations are for bellas, but my interest to get the freebies is very much alive. I was thinking of passing the gift to someone I know who love beauty products, but I feel like I want to use it now for personal grooming. I love the discount and other free items on the Bootcamp. I wish that I could stay longer but I had a scheduled movie to watch.

Thanks for the awesome selfies with new faces! I wish to know them all and make not strangers.

LadyAnne - Ladys Motherhood Journey
Pria Amor
Angel Alberto
Angel

My observation for the Beauty Fair crowd?

I don’t know if I am the only male registered participant because I have not found any men registered participant before I went out of the Bootcamp.

PS: Independence Day: Resurgence 2016 Movie

Reaching out friends and new friends is much exciting than having a new friend in social media. It is really awesome.

Sometimes we come into a person's life not to make them love us but to let them feel that they're so much worth loving for.

What makes me happy becomes my reality.

What makes me happy becomes my reality.

Sometimes we come into a person's life not to make them love us but to let them feel that they're so much worth loving for.

Sometimes we come into a person's life not to make them love us but to let them feel that they're so much worth loving for.

Sometimes we come into a person's life not to make them love us but to let them feel that they're so much worth loving for.

I had let go! That was the solution I did over and over again. It didn’t work out on me until I decided to love you more. Now I am free and I can overcome my emotions with love.

I had let go of pain and suffering but it is always coming back. Memories can still hurt and leave you hopeless. I decided to love you more and accept the pain until I understand and tolerate. I put the weight of my suffering to my shoulder until it became part of my life. I love you more and I did manage to hold on. Now I can endure pain and reject suffering.

I had let go of the dream we planned but it did not fade. I can have a new mindset and see things differently to make some changes. Dreaming without you are still a dream in the absent of you. It doesn’t make sense because the story and visions are made with the shadows of you. I will love you more and my dream goes on even without you. Now I can live whichever dream ever accomplished.

I had let go of your promises but it makes me feel guilty and weak. I believe in every word you said until it became the opposite. You’ve always been my inspiration and motivation. I will love you more because my commitment is not like a broken promise. Now I can stay in love whatever it takes without guilt.

I had let go of the past but I cannot forget. Our history was made but I can’t put an end to it. I will love you more so that I don’t need to forget even if I have to move on. Now I can share our story that love is a choice.

I had let go of our friendship since you start to ignore me like the wind that you can't see. You’ve always been the best companion where ever we go. Together I almost forget the rest of the world and stay happy with you. I will love you more so that one day if you need a friend, I’ll be just like the wind that you can feel and breath.

I had let go of everything about you but then I love you more. I guest letting go is just an illusion and loving you more is a magic. I don’t know which is the reality between magic and illusions? What makes me happy becomes my reality.

Baguio City Lions Head Kennon Road

Baguio Tour 2016 – Going Where The Wind Blows

I had a very good experience during our travel tour at Baguio city. I had never planned it but I am glad to joined with my brother with his family. I am an extra person going where the wind blows.

Going there was easy without traffic along the way and our first photo together at the Lions Head. They said that you had never been to Baguio if you don’t have a photo of the Lions Head. I been there few times and taking photo is not necessary because it dark on early morning or late afternoon. And this time is perfect for taking photo shoot.

Baguio City Lions Head Kennon Road

We had a good lunch at Don Henrico’s SM Baguio for our next stop. I enjoy the mozzarella stick and chicken.

Don Henrico's SM Baguio

We stayed at Pines View Hotel for three days and two nights. The place is very good to stay. The free breakfast meal is very good too. I can say that I am comfortable with Pines View Hotel.

Our first city-walk is going to Burnham Park. The main attraction of the park is the boat ride at the lake.

We walked along session road. I’ve always been walking at Session Road from my entire past visit.

We joined the crowd of the market looking for some scarp and other souvenirs and passed by Rizal Park while going to Cafe by the Ruins for our dinner.

cafe by the ruins Baguio City Top Restaurant

Cafe by the Ruins is one of the top ten restaurants to check in Baguio. The ambiance is nice at night with romantic candlelight.

Back at the Pines View Hotel, I love the night it was as cold as my heart, but I was happy.

We rent a van service going to Baguio tourist spots. It is very useful because they already know how to get there and very time efficient.

  • Church Bell
  • Strawberry Farm
  • Tam-Awan Village
  • 300+ stair steps of Our Lady of Lourdes
  • The Ketchup Community: Green Pepper
  • Mines View
  • Good Shepherded
  • The Mansion
  • Baguio Botanic Garden
  • Passing by Camp John Hay
  • View Deck of Cannon Road

Another one of the top ten restaurant in Baguio is Good Taste, and it about 3 minutes walk for Pines View Hotel. We had a good dinner after our day tour has done. Good Taste is well know for its cheaper value and bigger servings.

Another cold night for me, and my heart said that you really need someone to be with to make you warm. I replied: It doesn’t matter if your feel is warm or cold, what important is you can be happy. The cold night begins and I was happy doing my job until I fall asleep.

Last day of Baguio tour!

We will stop by at the Dinosaur Island along the way going to Manila.

We had lunchtime at the NLEX Caltex gas station and another fun animal feeding at mini Zoo.

We had a very good experience during our Baguio Tour. Thanks so much for having me with you kuya Mon and Family.

happy mothers day cover photo

I am blessed to have a happy heart

My first cry was amazing and I believed that I brought joy and happiness to the world especially to my Nanay. I am not conscious and aware (as a new born) but I know now that my happiness was a pure blessing. I am so blessed.

Blessed: I think I had enough

I wanted to discover how happy I was back then; how did I share my happiness with my mom and to others who cares to me so much. Can you imagine the day when you were in your mother’s arms and close to her heart? She protects you from any harm and gave you so much time and attention. I can say it was unconditional love, so pure and so kind. I don’t know how much love I need but I think I had enough.

Sometimes I got pity. I was emotionally hurt and feeling down. I wanted something that I couldn’t have. How much longer should I endure this pain while making myself happy? I asked myself how much longer do I have to cry; is it until tomorrow’s light? I wasn’t afraid to lose this happiness taken away by someone I let go. I cried again and it was amazing. I believe that I still have my heart that can be happy from within. I really missed my mother’s hugs and her caring instinct from where I felt happiness from within. I missed my mom so much.

For anyone who asked me about their tears, fears and burdens, I had shared my thoughts and advice to my other blogs too.[Paano Maka Move On] I am wishing for you to find your happiness from within and remember that you are also blessed with a happy heart.

Happy Mother’s Day Nanay! Thank you for being my inspirations and helping me to have this kind of happy heart. It’s all about the love that you had with us.

grace baque

Love and Desire of the Broken Heart

What kind of words you want to hear?
My heart to speak into your ears.
How did it hurt you even more?
When someone leaves out of your door.

Your confuse mind and heart so cold
You want this burden to be told
My love for you will be remain
uncertain love to be sustain

If only I can steal your pain
would I can also feel the same?
When someone precious let you go
had never seen your heart of gold

Life’s goes on, times are moving on
Love and desire of heart unknown.
You need a light, you need a home
is where happiness you can own

I am happy to be with you

Love and Desire of the Broken Heart Poem in the Making

I was stalking to my friend and find the post “Bakit ang Sakit.” I had that feeling too and I wish I can do something about it. I open up chat conversation with her made this poem. My intention was to help and ease her worries, but it didn’t turn good after all.

Here is my opinion: She only sees what she had lose and never open her eyes to see the aid and replacement. She is on the stage of holding on and I want to see how long it will last when she let go.

The poem was made for her

Live With The King Huawei Nexus 6P

Live with the King Huawei Nexus 6P

I want to share what I want in my mobile smart phone like what Huawei Nexus 6P is all about.

When it comes to mobile smart phone, I am very comfortable with octa-core combined with good 3GB RAM and 32 or 64 ROM. This makes the phone perform at its best.

Live with the King Huawei

Camera and video entertain me so much that is why I want to "Live with the King" this kind of phone to be with me all the time. It is nice to share the good photo and video taken by 12.3MP rear camera (1.55µm) and 8MP front camera (1.4µm) on your social media accounts.  This makes me more social and cool.

Smart phone is also my personal secretary and I am glad to have a phone who has good apps in your hand like calendar, browser, email, and maps. This makes Android App is very helpful tools on the go.

When it comes to sounds. I like it very noisy and sharp speaker for my alarm, I also like it more on music and phone call. I think it sounds good on Dual specified front speaker .

When you are always on the go, it’s nice to have fast charging phone like this phone which has its USB type C Charging port. It has 3450 mAh battery anyway that is enough with my whole day usage.

I think the size is good enough for me. It found it good to my lifestyle and work. Design and style are good too.

What I really want most is its LTE Connectivity. Everybody loves good internet connections.



Visit the link to know more about Huawei Nexus 6P this will give you a glance of Live with the King

Lorgil Maquiling

When You Become My Candle Light

I’ve been long walking at the dark
Then your light shines into my heart
I started to fall in love
with a graceful path in my eyes

I’m happy to follow your ways
Never get lost in your trace
But all was just an illusion?
I want to see in my vision

I can hug your warm lovely light
I stare and let it through my heart
But that was when were young before
I wish I could love so much more

You are still the light that I knew
The one I kept but I let go
The light within will always be
Making night romantically

So sad to feel distant apart
Hope you can remember my heart
I want to touch flame of the night
Burning desire to keep your light.

The meaning of when you become my candle light

It was a heartbreaking moment when I invited someone to be with me and I knew that the answer was already no. The poem was created having this kind of feelings. I was in the dark but I did not mean I am not happy, dark was a symbol of my close heart and I mean to see the light as opening for the relationship. I became a follower of you  by tracing steps and every activity. I almost had seen the visions of me and you at the wedding, but it was just an illusion and false hope. I remember how it was before and now things had changed. Change? You are still the girl I knew, but I don’t know about you now. What I can see is that you become the better person and I can’t be with you now. All I can do is to watch and get some updates about you. I did not mean to stalk over you, what I am doing is keeping my desire to love you even if we are apart.

PS: I don’t want to post this poem on my blog but rather I wanted it to be published elsewhere. I did post in anyway and explain how it was made. I was first published by TransitMagazine

PS: The Model Lorgil Maquiling has nothing to do with the poem! But I the candle light and the bokeh.

Trial Commitment and Love

What Did The Kite Taught Me About Relationship?

I want to share what did the kite taught me about the relationship. When I was a child during elementary days, I love to create my own kite. The only feeling I knew about flying kite was fun and I never knew that one day I could relate and understand more about the relationship. There is a quote about a kite that said “the kite fly against the wind” and that is very well known to us. It means that you get success in every problem that you face and solved.

Let us substitute the kite with some of the ingredients of the good relationship. The kite body stands for relationship status, the string is the commitment and the wind is love that must not stop in order to keep on flying. And both of us are holding on the string.

This is my story and I only want to share this because you might find the valuable lesson. I hope that you can also use my experience for uplifting taught.

Trust and Faith

I wouldn’t try to make my own do it yourself kite if I knew that it wouldn’t fly. Even it is my first time, I had a faith that once I followed all the instructions It will be efficient and all my effort to build that kite will become successful.

The trust and faith in kite making are just like how I enter the relationship. I believed good things happen and if I just follow my heart and then success will be waiting. I have to trust and have faith that my good intention and vision is coming. Success comes after trials and your faith must not be shaken to reach your goal. You must have the ability to wait with the right attitude. I am waiting for the windy day to come.

The worst case is if time isn’t in favor of you then you might wait for too long. It is not about being happy, it is about having faith. You can find happiness from within anyway.

Trials

I step on many trials from the making and flying kite. I need to find the best materials to assemble. To launch the kite, a body must be balance and the wind must be enough. I had to run when the wind was weak just to maintain its position, but how long I’ll be running? When the kite was about to crush down then I had to extend the rope to recover up. Sometimes I needed assistance to push up the kite up. If you don’t know how to fly a kite from the start then you will never know what kind of relationship you are having. Learn to avoid mistake!

Trials and courtship are alike. You must understand first how to fly or how to make a good relationship with your partner. If the wind is love, then don’t fly kite during the storm because won’t make it if the body is weak. If the love is weak then you have to put more effort and care. The love must be enough and not too much because your partner might not accommodate that kind of love. It sounds unfair but it happens to me. Adjustment is very important to recover up and build up. You must always have a vision of success to fly and make it trough trials.

Maintaining the kite above or making the relationship stable

Steady relationship means enough wind, balance body and strong string. In other words enough love, balance relationship and strong commitment that you are holding on.

The relationship goes down without love. You know what is the hard part? Your commitments are still there; it is like the string of the kite that you keep holding on. I will not fly without the wind or without love; I dare not to make a relationship without love.

Letting go of the relationship is also letting go of the string. Commitment is something that you agreed upon from the first start. Commitment should grow while the relationship is going higher. When love is pure your commitment can do whatever it takes to make it. The love in the air will be nothing if the string of commitment is cut. Your relationship will be falling out of nowhere and without a string attached it will be hard to be found and recover back. Just move on when you can’t find a way to go back.

When you are already contented

Satisfy and happy. At the end of the day before the wind change and before I get tired of holding on the string. I felt that I had enough. We all know that there is always time to rest and give thanks. To returning back from where we came and rest. To return to our creator is kind of rest. I had flown a kite and watched them in love, faith and hope. I had experienced the relationship with love, faith, and hope but it isn’t perfect. But I am proud, satisfy and contented for accepting God’s will.

What did happen to my past relationship? And what is next to come? Everything starts with trials, you have to learn a lot from the start and accept whatever it is. I don’t want to build a relationship without a good foundation. The commitment will grow along the way. Commitment is the reason why people stay and stick with you even the love is weak or fading.  Yes, commitment is more than a promise. Commitment is more than responsibility. Commitment is the home of unconditional love. When I say I love you, I mean it for a friend, my family, and my future wife. I don’t have any purpose without love and I will live to share my purpose in life.

What did you learn?

You learn that relationship must be balance.
You learn that if love is weak then you have to support and nurture it.
You learn that commitment is how you can do whatever it takes or let go.
You learn that trials are there to make you a better person and handle relationship.
You learn that nothing is permanent, so you better getting ready to accept and adjust for changes.