Vishal Lambe's Blog, page 7

March 5, 2014

February 22, 2014

Drop your Foreign Accent

“Dearest creature in creation, Study English pronunciation.
I will teach you in my verse Sounds like corpse, corps, horse, and worse.
I will keep you, Suzy, busy, Make your head with heat grow dizzy.
Tear in eye, your dress will tear. So shall I! Oh hear my prayer.
Just compare heart, beard, and heard, Dies and diet,
lord and word, Sword and sward, retain and Britain. (Mind the latter, how it’s written.)

Now I surely will not plague you With such words as plaque and ague.
But be careful how you speak: Say break and steak, but bleak and streak;
Cloven, oven, how and low, Script, receipt, show, poem, and toe.
Hear me say, devoid of trickery, Daughter, laughter,
and Terpsichore, Typhoid, measles, topsails, aisles, Exiles, similes, and reviles;
Scholar, vicar, and cigar, Solar, mica, war and far;
One, anemone, Balmoral, Kitchen, lichen, laundry, laurel;
Gertrude, German, wind and mind, Scene, Melpomene, mankind.

Billet does not rhyme with ballet, Bouquet, wallet, mallet, chalet.
Blood and flood are not like food, Nor is mould like should and would.
Viscous, viscount, load and broad, Toward, to forward, to reward.
And your pronunciation’s OK When you correctly say croquet,
Rounded, wounded, grieve and sieve, Friend and fiend, alive and live.
Ivy, privy, famous; clamour And enamour rhyme with hammer.
River, rival, tomb, bomb, comb, Doll and roll and some and home.
Stranger does not rhyme with anger, Neither does devour with clangour.

Souls but foul, haunt but aunt, Font, front, wont, want, grand, and grant, Shoes, goes, does.
Now first say finger, And then singer, ginger, linger, Real, zeal, mauve, gauze, gouge and gauge,
Marriage, foliage, mirage, and age.
Query does not rhyme with very, Nor does fury sound like bury.
Dost, lost, post and doth, cloth, loth. Job, nob, bosom, transom, oath.
Though the differences seem little, We say actual but victual.
Refer does not rhyme with deafer. Foeffer does, and zephyr, heifer.
Mint, pint, senate and sedate; Dull, bull, and George ate late.
Scenic, Arabic, Pacific, Science, conscience, scientific.
Liberty, library, heave and heaven, Rachel, ache, moustache, eleven.

We say hallowed, but allowed, People, leopard, towed, but vowed.
Mark the differences, moreover, Between mover, cover, clover;
Leeches, breeches, wise, precise, Chalice, but police and lice;
Camel, constable, unstable, Principle, disciple, label.
Petal, panel, and canal, Wait, surprise, plait, promise, pal.
Worm and storm, chaise, chaos, chair, Senator, spectator, mayor.
Tour, but our and succour, four. Gas, alas, and Arkansas.
Sea, idea, Korea, area, Psalm, Maria, but malaria.
Youth, south, southern, cleanse and clean.
Doctrine, turpentine, marine.

Compare alien with Italian, Dandelion and battalion.
Sally with ally, yea, ye, Eye, I, ay, aye, whey, and key.
Say aver, but ever, fever, Neither, leisure, skein, deceiver.
Heron, granary, canary. Crevice and device and aerie.
Face, but preface, not efface. Phlegm, phlegmatic, ass, glass, bass.
Large, but target, gin, give, verging, Ought, out, joust and scour, scourging.

Ear, but earn and wear and tear Do not rhyme with here but ere.
Seven is right, but so is even, Hyphen, roughen, nephew Stephen,
Monkey, donkey, Turk and jerk, Ask, grasp, wasp, and cork and work.

Pronunciation (think of Psyche!) Is a paling stout and spikey?
It’s a dark abyss or tunnel: Strewn with stones, stowed, solace, gunwale,
Islington and Isle of Wight, Housewife, verdict and indict.

Finally, which rhymes with enough, Though, through, plough, or dough, or cough?
Hiccough has the sound of cup. My advice is to give up!!!”

― Gerard Nolst Trenité, Drop your Foreign Accent

 •  0 comments  •  flag
Share on Twitter
Published on February 22, 2014 09:38

February 17, 2014

Artists and Audiences

The best thing about being an artist is that for some moments, although very short, you control the mind of the audience. In observing the art, the audience involuntarily lets the artist dwell in his subconscious.

For this very brief moment, the artist can control the way the audience thinks. Leaving a permanent impression on audience's subconscious. Mind control indeed !

This is true with writing, painting, singing, acting, direction or any other art form for that matter.

 •  0 comments  •  flag
Share on Twitter
Published on February 17, 2014 08:37

February 8, 2014

Solitude and Silence

Regular short stints of solitude coupled with silence are necessary.

They take you back to the origin, many a times giving a different prespective for the problems at hand. And sometimes, a different prespective is all you need to get out of the gumption trap.

They helps you ruminate on the past and plan for the future.

The trap of a fast, busy life with a sense of instance gratification holds us down. The want of being always connected, makes us vulnerable, imperfect and exposed.

Take time off for yourself, spend time with yourself. After all, your life, just like everyone else's is yours to live.

 •  0 comments  •  flag
Share on Twitter
Published on February 08, 2014 12:45

February 7, 2014

Gazing Stars

Gazing stars on a dark night is so self-satisfying.

Reminding you that something far-far away lies beyond your reach. Serene, systematic, controlled, yet so leisurely. A luxury mortals can't relish.

And then, suddenly a star falls, sending a chill up your spine. Suddenly, you feel alive!

 •  0 comments  •  flag
Share on Twitter
Published on February 07, 2014 10:13

February 6, 2014

#Sanity

Sometimes it's your stupidity that helps you keep sane.
Period!

 •  0 comments  •  flag
Share on Twitter
Published on February 06, 2014 10:50

February 4, 2014

Satya Nadella's 'humbling' letter to Microsoft employees

Satya Nadella, an Indian by origin took over as the third CEO of Microsoft. He replaces Steve Ballmer who descended the chair from Microsoft's founder Bill Gates.

A proud moment for every Indian indeed!

Here's the memo Nadella sent to employees Tuesday: 4th Feb 2014

"Today is a very humbling day for me. It reminds me of my very first day at Microsoft, 22 years ago. Like you, I had a choice about where to come to work. I came here because I believed Microsoft was the best company in the world. I saw then how clearly we empower people to do magical things with our creations and ultimately make the world a better place. I knew there was no better company to join if I wanted to make a difference. This is the very same inspiration that continues to drive me today.

"It is an incredible honor for me to lead and serve this great company of ours. Steve and Bill have taken it from an idea to one of the greatest and most universally admired companies in the world. I've been fortunate to work closely with both Bill and Steve in my different roles at Microsoft, and as I step in as CEO, I've asked Bill to devote additional time to the company, focused on technology and products. I'm also looking forward to working with John Thompson as our new Chairman of the Board.

"While we have seen great success, we are hungry to do more. Our industry does not respect tradition — it only respects innovation. This is a critical time for the industry and for Microsoft. Make no mistake, we are headed for greater places — as technology evolves and we evolve with and ahead of it. Our job is to ensure that Microsoft thrives in a mobile and cloud-first world.

"As we start a new phase of our journey together, I wanted to share some background on myself and what inspires and motivates me.

"Who am I?

"I am 46. I've been married for 22 years and we have 3 kids. And like anyone else, a lot of what I do and how I think has been shaped by my family and my overall life experiences. Many who know me say I am also defined by my curiosity and thirst for learning. I buy more books than I can finish. I sign up for more online courses than I can complete. I fundamentally believe that if you are not learning new things, you stop doing great and useful things. So family, curiosity and hunger for knowledge all define me.

"Why am I here?

"I am here for the same reason I think most people join Microsoft — to change the world through technology that empowers people to do amazing things. I know it can sound hyperbolic — and yet it's true. We have done it, we're doing it today, and we are the team that will do it again.

"I believe over the next decade computing will become even more ubiquitous and intelligence will become ambient. The coevolution of software and new hardware form factors will intermediate and digitize — many of the things we do and experience in business, life and our world. This will be made possible by an ever-growing network of connected devices, incredible computing capacity from the cloud, insights from big data, and intelligence from machine learning.

"This is a software-powered world.

"It will better connect us to our friends and families and help us see, express, and share our world in ways never before possible. It will enable businesses to engage customers in more meaningful ways.

"I am here because we have unparalleled capability to make an impact.
 Left to Right - Gates, Nadella, Ballmer
"Why are we here?

"In our early history, our mission was about the PC on every desk and home, a goal we have mostly achieved in the developed world. Today we're focused on a broader range of devices. While the deal is not yet complete, we will welcome to our family Nokia devices and services and the new mobile capabilities they bring us.

"As we look forward, we must zero in on what Microsoft can uniquely contribute to the world. The opportunity ahead will require us to reimagine a lot of what we have done in the past for a mobile and cloud-first world, and do new things.

"We are the only ones who can harness the power of software and deliver it through devices and services that truly empower every individual and every organization. We are the only company with history and continued focus in building platforms and ecosystems that create broad opportunity.

"Qi Lu captured it well in a recent meeting when he said that Microsoft uniquely empowers people to "do more." This doesn't mean that we need to do more things, but that the work we do empowers the world to do more of what they care about — get stuff done, have fun, communicate and accomplish great things. This is the core of who we are, and driving this core value in all that we do — be it the cloud or device experiences — is why we are here.

"What do we do next?

"To paraphrase a quote from Oscar Wilde — we need to believe in the impossible and remove the improbable.

"This starts with clarity of purpose and sense of mission that will lead us to imagine the impossible and deliver it. We need to prioritize innovation that is centered on our core value of empowering users and organizations to "do more." We have picked a set of high-value activities as part of our One Microsoft strategy. And with every service and device launch going forward we need to bring more innovation to bear around these scenarios.

"Next, every one of us needs to do our best work, lead and help drive cultural change. We sometimes underestimate what we each can do to make things happen and overestimate what others need to do to
move us forward. We must change this.

"Finally, I truly believe that each of us must find meaning in our work. The best work happens when you know that it's not just work, but something that will improve other people's lives. This is the opportunity that drives each of us at this company.

"Many companies aspire to change the world. But very few have all the elements required: talent, resources, and perseverance. Microsoft has proven that it has all three in abundance. And as the new CEO, I can't ask for a better foundation.

"Let's build on this foundation together.

-"Satya"
 •  0 comments  •  flag
Share on Twitter
Published on February 04, 2014 20:52

February 2, 2014

The Gita Of Programming | A Book By Vishal Lambe

Got published my second book, The Gita Of Programming - Lord Krisha's Teachings on the ethics of Programming.The book is a tongue in cheek style commentary on the mythological dialogue between Lord Krishna and his disciple friend Arjuna, who happens to be a programmer.On the idea behind the book:The Gita of Programmings is inspired from The Tao Of Programming, a book written in 1980's by Geoffrey James. The book is an attempt to blend in mythology and programming. Contents:Setting up the sceneArjuna's preplexityThe Maya of managementThe Transcendental SourceThe Art Of ProgrammingThe manifestations of the SourceSpace, Time And ComplexityDocumentation, Bugs and TestingThe Novice Protegees and The Quality Of CodeThe ConclusionI am sure you would enjoy reading it as much I enjoyed writing it. Would love to hear your reviews.
The book is available on Google Play, Google Books at below links. The Gita of Programming | Author - Vishal Lambe | Book on Google Play The Gita of Programming | Author - Vishal Lambe | Book on Google Books
 •  0 comments  •  flag
Share on Twitter
Published on February 02, 2014 06:49

January 17, 2014

[Unix] Difference between atime, ctime and mtime for a file in Unix

Difference between atime, ctime and mtime for a file in Unix
atime, ctime and mtime are last access time, last change time and last modified time of a file in Unix file system. Let us look at these file attributes in more detail.

atime: Last access time
atime is last access time of a file. It gets updates while doing operations like opening the file, parsing the file, running operations like grep, find, ls, cat, tail, sort or more on the file.

mtime: Last modification time
mtime is the last modification time of the file. It is updated every time the contents of the file are changed.

ctime: Last change time
ctime is last change time of the file. It gets updated when special attributes of the file like owner, permission, name etc are changed. It is also modified when the contents of the file are changed.

Most of the times ctime and mtime will be the same, unless only the file attributes are updated. In that case only the ctime gets updated.

How to view atime, ctime and mtime with stat command:
stat <filename> will give all the details of the file such as size, Inode number, filetype along with details for atime, ctime and mtime.

How to view atime, ctime and mtime with ls command:1. ls -lu will show the atime.
2. ls -ls will show ctime.
3. ls -l will show the mtime
 •  0 comments  •  flag
Share on Twitter
Published on January 17, 2014 04:25

January 14, 2014

[How To] View Compilation Errors For a Oracle Objects

[Oracle] View Compilation Errors For a Oracle Objects
Oracle stored the compilation errors for procedures, functions, packages, triggers, or package bodies in a system table called USER_ERRORS.

To view the compilation error you need to know the object type and object name. Once you know these details the following query can be executed to know the compilation errors.

sql> select * from SYS.USER_ERRORS where NAME =<object_name> and type =<object_type> ;

The following is the table structure of the USER_ERRORS table. Vishal Lambe | Table: USER_ERRORSThe table stores the line number and position of the error along with error description and code.
 •  0 comments  •  flag
Share on Twitter
Published on January 14, 2014 05:25