Open eyed blindness

photo-1431540015161-0bf868a2d407

A none questioned stat

A week of 168 hours

45 hours @ office

63 hours of sleep

14 hours of commuting

15  hours social time

7 hours of  physiological activities

Add upto 85% time

Looked inward and asked

“To whom and why I sold my time”

Dedicated to my best enemy in the dictionary – “Conformity”

photo-1469474968028-56623f02e42e

Make a miracle from few

Make a miracle from few

In my childhood I thought we need a lot of things to create a miracle

Later I realized with my little knowledge

It’s not about the number of things on hand

But its all about how deeeeep we understand each of the things on our hand

Today I found a best example to show it from Maestro Ilaiyaraaja

 

-Dedicated to Maestro Ilaiyaraaja _/\_

just 3 notes song  Sa Re Ga (C D E)

Suprised!!!, Yes I’m not out of it since the time I watched it.

the beginning

photo-1470010762743-1fa2363f65ca

The day has come where I’m losing hope in People
People change, not pointing its their mistake
Bundled emotions drives people’s mind
Everyone is helpless until they become sharp enough
Enough being closer with such
I believe I can travel solo
Not to seek pleasure
But to seek the truth

I believe my intellect is strong
I didn’t nurture it believing people around me might be true
Now I realized they are not true

Ready to take my dimension path
To objectify the longing of my intellect

Recreational place of GOD – inking the experience in Northern most Thailand

 

Video Credits: Venky  {Venky_Insta}

Travelogue:

I knew Leisure just as a word before this trip

As usual the tour started with the plan from buddy Venky

We four form the team

Flew from princess Bangkok and reached Chiang Rai

IMG_20160729_195204[1].jpg
Don Muang airport – Bangkok

IMG_20160729_224208_AO_HDR[1].jpg
Chiang Rai – Clock Tower
Stay at classic 50 year old hotel

A two star facility with five star hospitality

IMG_20160730_100027[1].jpg

Night in the town roaming and slept peacefully

Woke up in the morning with chaos, chaos?

Planning an unplanned trip is chaos

Head North East or North West?

Rent a Car or Bike?

Check out room now or later?

Even coffee or tea?

Finally headed north east in bike after a coffee leaving  the bags in the room

IMG_20160730_121948.jpg

Reached Golden triangle,

Nothing special there through eyes of nature

But very special through eyes of mind

Standing on the thread which separates Thailand, Myanmar and Laos

If I see a snail moving on the ground I see Thailand

If I see a bird flying away from nose I see Laos

If I see a cat running to my left I see Burma

Throttled again towards the east

On the way saw ruins of old civilization built from red bricks

Surrounded by lush green bushes

IMG_20160730_162657.jpg

Stopped at a Cafe and they served much appealing treat

IMG_20160730_132732[1].jpgIMG_20160730_125937.jpg

IMG_20160730_132837.jpg
IMG_20160731_090110.jpg

Stomach become happy but eyes still in wanting

Took long drive to Pu Chi Fa(Hill points towards sky)

Wonderful landscape all the way

Any photo clicked can be framed

Finally reached there in the evening

Stay in the Wooden Home; slept early to get up for sunrise

It was raining in the early morning

Nature wearing the blanket made of silky mist

Keeping her beauty a secret

Climbed up the hill with little disappointment

Reached the peak

Waited for Nature to wake up

And finally she woke up and took us away with her beauty

IMG_20160731_071808.jpg

Clouds beneath us all around

Felt like living in Lord Indra’s guest house

She rejuvenated all our senses, became a mystic person for a while

IMG_0380.JPG

Felt the best happiness in mind since the last kiss from my nephew

Time and Responsibility forced us to leave

Shared moments with little rose buds

Climbed down the steep and to add flavor the malfunctioning break

Managed to stop with friction from shoes

Headed back to Chiang rai

Entered the White temple – Wat Rong Khun

Majestic like a Superman temple in Krypton planet

IMG_20160731_160130.jpg

This slideshow requires JavaScript.

Felt time is so generous with us

Poped into a large beautiful park

Mind felt like a big claypot filled with cold rain water

A complete trip heart recited

Got a taxi to airport

Flew high back to our city

And airasia landed playing trademark –Same old love– song

 

 

 

10 x 10 Matrix using SQL

Hey Friends,

Try this small technique to display your own pattern using a SQL query output.

img01
(Scroll to the bottom of this post for other interesting patterns)

Below are the skeleton steps to achieve.

1. First we need 10×10 matrix.

2. Join two tables, one table with 10 columns and another table with 10 rows.
2a. Say Table with 10 rows as V(Vertical)
select * from (select 1 "1" from dual connect by level <= 10) v;
2b. Say Table with 10 columns as H(Horizontal). This can be easily created
using pivot.
select * from (select level "1" from dual connect by level <= 10)
pivot(sum("1") for "1" in (1,2,3,4,5,6,7,8,9,10)) h;

3.Cartesian join these tables
3a. select * from (select 1 "1" from dual connect by level <= 10) v,
(select level "1" from dual connect by level <= 10) pivot(sum("1")
for "1" in (1,2,3,4,5,6,7,8,9,10)) h;

3b. Now you get a beautiful grid as output as below
img02

4. Now our aim is to ON/OFF these each cell to get desired output
4a. Note that there are 100 cells, so create a display control with 100 bits
and cartesian join with above sql as shown below
select * from (select 1 "1" from dual connect by level <= 10) v,
(select level "1" from dual connect by level <= 10) pivot(sum("1") for
"1" in (1,2,3,4,5,6,7,8,9,10)) h,(select
'1111011110100001001011110100100001010110111101111000000001110001000000000100000000010000000001111000' "DispControl" from dual) Disp;

5. Now comes the part to real switch ON/OFF the cells based on display control
bits
5a. Use decode function to achieve this,
DECODE(SUBSTR(“DispControl”,((rownum-1)*10)+B.”1″,1),1,’|+|’,0,’ ‘) “A”
The above switch on cell with pattern |+| if the corresponding displaycontrol bit is set to
one else blank

6. Here is the final sql
SELECT DECODE(SUBSTR("DispControl",((rownum-1)*10)+h."1",1),1,'|+|',0,' ') "1",
DECODE(SUBSTR("DispControl",((rownum -1)*10)+h."2",1),1,'|+|',0,' ') "2",
DECODE(SUBSTR("DispControl",((rownum -1)*10)+h."3",1),1,'|+|',0,' ') "3",
DECODE(SUBSTR("DispControl",((rownum -1)*10)+h."4",1),1,'|+|',0,' ') "4",
DECODE(SUBSTR("DispControl",((rownum -1)*10)+h."5",1),1,'|+|',0,' ') "5",
DECODE(SUBSTR("DispControl",((rownum -1)*10)+h."6",1),1,'|+|',0,' ') "6",
DECODE(SUBSTR("DispControl",((rownum -1)*10)+h."7",1),1,'|+|',0,' ') "7",
DECODE(SUBSTR("DispControl",((rownum -1)*10)+h."8",1),1,'|+|',0,' ') "8",
DECODE(SUBSTR("DispControl",((rownum -1)*10)+h."9",1),1,'|+|',0,' ') "9",
DECODE(SUBSTR("DispControl",((rownum -1)*10)+h."10",1),1,'|+|',0,' ') "10"
FROM
(SELECT 1 "1" FROM dual CONNECT BY level <= 10
) v,
(SELECT level "1" FROM dual CONNECT BY level <= 10
) pivot(SUM("1") FOR "1" IN (1,2,3,4,5,6,7,8,9,10)) h,
(SELECT '1111011110100001001011110100100001010110111101111000000001110001000000000100000000010000000001111000' "DispControl"
FROM dual
) Disp;

Additional Notes:

Replace DispControl bit with following to get new patterns
Pattern 1: UN
'1000100000100010000010001000001000100000111110000000000100010000011001000001010100000100110000010001'

img03.PNG

Pattern 2: Love
'0010000100010100101010001100011000000001100000000110000000010100000010001000010000010010000000110000'

capture

Note: This SQL works well in SQL Developer running on Oracle 11g database

Use http://www.tutorialspoint.com/oracle_terminal_online.php ; this is an online free oracle 11g terminal to test these sql. If you face any difficulty please share it through the comments.