- Pema Chodron in "fail fail again fail better"
Anything that interests me finds place here. Software dominates my interests and hence a good part of this blog as well.
Thursday, December 29, 2016
Fundamentally, I am good
- Pema Chodron in "fail fail again fail better"
Saturday, December 17, 2016
Failure and it's hurt is something that happens to us from outside?
- Pema Chodron in "fail fail again fail better"
Tuesday, August 25, 2015
Daily Focus Blocks
Now, when someone tries to schedule something during these times, you can defer to your existing, clearly marked obligation: "Sorry, I'm already booked from nine to twelve that day." Similarly, if someone complains that you were slow to respond to an e-mail, or didn't pick up the phone, you have a socially acceptable excuse "I was booked all morning and am just seeing this now." People are used to the idea that they cannot demand your attention during times when you already have a scheduled appointment...
Blocking off time for uninterrupted focus, however, is only half the battle. The other half is resisting distractions. This means no e-mail, no Internet and no phone...If you've been immersed in distraction for years, you need to train yourself before you can work for long periods without it. A few tips can help you in this effort:
Start with small blocks of focused time and then gradually work yourself up to longer durations...begin with an hour at a time, then add fifteen minutes to each session every two weeks. The key, however, is to never allow distraction. If you give in and quickly check Facebook, cancel the whole block and try again later. Your mind can never come to believe that even a little bit of distraction is okay during these blocks.
Tackle a clearly identified and isolated task...
Consider using a different location for these blocks. Move to a different room, or a library, or even a quiet place outside to perform your focused work. When possible, do your work with pen and paper to avoid even the possibility of online distraction."
- "Manage Your Day-to-Day: Build Your Routine, Find Your Focus, and Sharpen Your Creative Mind (The 99U Book Series)" by Jocelyn K. Glei and 99U
Wednesday, November 26, 2014
To lean toward the very edge of what wants to be born through us
-- mindful discipline by Shauna Shapiro & Chris White
Saturday, September 06, 2014
Life's in-between moments
- 10% Happier by Dan Harris
Friday, September 05, 2014
Every moment ... an opportunity for a do-over
- 10% Happier by Dan Harris
Thursday, September 04, 2014
Meditation Instructions
2. Feel the sensations of your breath as it goes in and out. Pick a spot: nostrils, chest, or gut. Focus your attention there and really try to feel the breath. If it helps to direct your attention, you can use a soft mental note, like "in" and "out".
3. This one, according to all of the books I read, was the biggie. Whenever your attention wanders, just forgive yourself and gently come back to the breath. You don't need to clear the mind of all thinking; that's pretty much impossible. (True, when you are focused on the feeling of the breath, the chatter will momentarily cease, but this won't last too long.) The whole game is to catch your mind wondering and then come back to the breath, over and over again."
- 10% Happier by Dan Harris
Wednesday, September 03, 2014
Painful practice for a pleasurable race
"I want to make your practice painful," he would say, "so that the race will be a pleasure." It was his way of reminding us that life is full of occasional hardships. We should get used to it.
Self-discipline was an issue in every part of life, in little things as well as big. One minute, self-discipline might mean pushing to break a personal record on the track. In another moment, it might be a matter of seemingly insignificant details."
- A Resilient Life by Gordon Macdonald
Convince ourselves that we had far more stamina than we believed we had
- A Resilient Life by Gordon Macdonald
The route to true happiness is by understanding impermanence
- 10% Happier by Dan Harris
Tuesday, September 02, 2014
Impermanence
- 10% Happier by Dan Harris
Monday, September 01, 2014
Monkey Mind
Lurch headlong from one pleasurable experience to the next without ever achieving satisfaction
- 10% Happier by Dan Harris
Wednesday, August 20, 2014
Understand that the present moment is what it is and then do what you need to do
"And then do what you need to do,"..."Make the present moment your friend rather than your enemy. Because many people live habitually as if the present moment were an obstacle that they need to overcome in order to get to the next moment. And imagine living your whole life like that, where always this moment is never quite right, not good enough because you need to get to the next one. That is continuous stress." Eckhart Tolle
- 10% Happier by Dan Harris
Tuesday, August 19, 2014
Gusts of wind
"It's fine. It's like a sudden gust of wind. I don't personalize a gust of wind, and so it's simply what is." (Eckhart Tolle)
- 10% Happier by Dan Harris
Monday, August 18, 2014
whatever was coming next would definitely be better
- 10% Happier by Dan Harris
Saturday, May 10, 2014
The great curse
- 10% Happier by Dan Harris
We expend most of our energy competing with our own colleagues
- 10% Happier By Dan Harris
When you're covering a news story there's a tendency to feel bulletproof
- 10% Happier by Dan Harris
Hypervigilance prolongs life but makes it less enjoyable
- 10% Happier By Dan Harris
Wednesday, April 16, 2014
To which "self" should we be true to?
- Michael A. Singer in "The Untethered Soul: The Journey Beyond Yourself"
Tuesday, January 21, 2014
Faith is taking the first step when you don't see the whole staircase
- Martin Luther King Jr.
Sunday, October 06, 2013
A safe haven to hone skills
Practice more deeply, to stop, struggle, make errors, and learn from them
- The Talent Code by Daniel Coyle
Greatness by spending vast amounts of time and energy being immature
- The Talent Code by Daniel Coyle
Deep practice X 10,000 hours = world-class skill
...
Deep practice X 10,000 hours = world-class skill"
- The Talent Code by Daniel Coyle
Saturday, October 05, 2013
"Buying Time"
- Psychology Today
A Good Apology
- Psychology Today
Persuasion
"Never debate the undebatable," he says. "Instead, focus on goals." Control the mood with volume, tone, stories. Watch for persuadable moments, And most important, be agreeable -- express similarities and shared values; show people that you have their best interest, as well as your own, at heart.
And never discount the power of bringing up someone's peer group, says Robert Cialdini, Arizona State University psychologist turned consultant, who wrote the book on persuasion (Influence: The Psychology of Persuasion). He points to an energy company that placed monthly hangers on doors to let people know where they stood on energy use compared to their neighbors - and reduced usage by 3.5 percent. "It's not peer pressure as much as 'social evidence," says Heinrichs. Evolutionarily, it's proven smart to do what those around us in similar situations have done."
- Psychology Today
The correct praise
"Being praised for effort or other aspects of performance directly under your control leads to resilience, while being praised for being smart or for other innate abilities can lead to feelings of helplessness or self-doubt when a setback occurs." says psychologist Heidi Grant Halvorson, associate director of the Motivation Science Center at Columbia University... When praised for persistence, those who think the path ahead will be difficult invest more effort.
... To the brain, receiving a compliment is as much as social reward as being given money."
- Psychology Today
Healthier decisions
William Miller, emeritus professor of psychology and psychiatry at the University of New Mexico and his Colleague Stephen Rollnick found it is essential to engage a person's intrinsic motivation to change. Conversational techniques include asking open-ended questions("How do you feel about your health right now?" "What kinds of activities do you like that don't involve eating/drinking?" "What small change would you like to make?"), providing affirmations ("It seems that you would like to work on your self-control."), using reflective listening and making summary statements.
A key component of motivational enhancement is to help a person recognize the difference between the way she wants her life to be and the way it is now: "How does drinking every night interfere with other things you would like to do?" The question allows the person to come up with her own solutions as well as her own motivations.
It's helpful to focus on things that are important to your loved one with-out laying on guilt ("What will the children think?"). Goals should be small, specific, and realistic, and always the person's own idea: "So what do you want to tackle first?" Self-control can be practiced, and habits can be formed and unformed. The path starts within..."
- Psychology Today
Framing Criticism
For instance, while cooking, instead of saying, "That's not the way to saute, that will dry out the potatoes," offer helpful tips, such as: "If you start out with a hot skillet, it will be easier to tell when the potatoes are done; that's it, keep stirring until the onions are translucent, add a little more butter, keep stirring...perfect!"
For parents, the same approach applies to homework and chores. Choose encouraging statements over a stern grilling, Heitler advises, and say what you would prefer your child to do rather than what she has not done or has done incorrectly.("I'd love to see your playroom cleaned by this weekend so you and your friends can have fun downstairs," instead of "This place is a mess! What have you been doing? You haven't picked up one thing. No one is coming over this weekend until this room is spotless.")
Criticism is the single most significant factor in a child's perception of the parental relationship. It's important to criticize without demeaning or humiliating.
If you feel disappointed with a child's performance at school or in any other domain, it's best to channel the feeling into a fact-finding discussion. Ask your child to evaluate his own performance and what he got out of the experience. If he is dissatisfied with the outcome of his own actions, ask what he might do differently the next time, and what he feels he needs in order to do as well as he wants.
... We are social creatures, and the way we say things has real power. To show care when choosing how to phrase something is a way to honor, and safe-guard, any relationship."
- Psychology Today
Tuesday, September 17, 2013
Myelin
"1. Every human movement, thought, or feeling is a precisely timed electrical signal traveling through a chain of neurons - a circuit of nerve fibers
2. Myelin is the insulation that wraps these nerve fibers and increase signal strength, speed and accuracy.
3. The more we fire a particular circuit, the more myelin optimizes that circuit, and the stronger, faster, and more fluent our movements and thoughts become.
... Everything neurons do they do pretty quickly. It happens with the flick of a switch, ... But flicking switches is not how we learn a lot of things. Getting good... Takes a lot of time, and that's what myelin is good at.
What do good athletes do when they train?... They send precise impulses along wires that give the signal to myelinate that wire. They end up, after all the training, with a super-duper wire--lots of bandwidth, a high-speed T-3 line. That's what makes them different from the rest of us.
Q: why is targeted, mistake-focused practice so effective?
A: because the best way to build a good circuit is to fire it, attend to mistakes, then fire it again, over and over. Struggle is not an option: it's a biological requirement.
Q: why are passion and persistence key ingredients of talent?
A: because wrapping myelin around a big circuit requires immense energy and time. If you don't love it, you'll never work hard enough to be great.
Q: What's the best way to get to Carnegie Hall?
A: Go straight down Myelin Street."
- The Talent Code by Daniel Coyle
Thursday, August 29, 2013
Practising deeper
Column A: ocean/breeze leaf/tree ...
Column B: bread/b_tter music/l_rics ...
Now He asks the reader to recollect as many words as possible from both lists. I had recollected more words from column B. This is why (in author's words): "When you encountered the words with blank spaces, some-thing both imperceptible and profound happened. You stopped, You stumbled ever so briefly, then figured it out. You experienced a microsecond of struggle, and that microsecond made all the difference. You didn't practice harder when you looked at column B. You practiced deeper... Deep practise is ... experiences where you're forced to slow down, make errors, and correct them...One real encounter, even for a few seconds, is far more useful than several hundred observations... It's all about finding the sweet spot... There's an optimal gap between what you know and what you're trying to do. When you find the sweet spot, learning takes off." This is why pilots learn better in flight simulators. The pilots "could dive, stall, and recover, spending hours inhabiting the sweet spot at the edge of his capabilities in ways he could never risk in an actual plane."
- "The Talent Code' by Daniel Coyle
Operating at the edge of ability
"The people inside the talent hotbeds are engaged in an activity that seems, on the face of it, strange and surprising. They are seeking out the slippery hills... They are purposely operating at the edge of their ability, so they can screw up. And somehow screwing up is making them better. "
- "The Talent Code" by Daniel Coyle
Moments of slow, fitful struggle
"When I started visiting talent hotbeds, I expected to be dazzled... those expectations were met and exceeded - about half the time... During the other half I witnessed something very different: moments of slow, fitful struggle,... They slammed to a halt; they stopped, looked, and thought carefully before taking each step. Making progress became a matter of small failures, a rhythmic pattern of botches, as well as something else: a shared facial expression. Their taut, intense squint..."
- "The talent code" by Daniel Coyle
Saturday, July 20, 2013
Discipline
"Discipline, in essence, is consistency of action - consistency with values, consistency with long-term goals, consistency with performance standards, consistency of method, consistency over time. .. True discipline requires the independence of mind to reject pressures to confirm in ways incompatible with values, performance standards, and long term aspirations, having the inner will to do whatever it takes to create a great outcome, no matter how difficult."
Great By Choice
- Jim Collins
Wednesday, July 17, 2013
Interpreting word through one's own opinion
- Mike Cohn
Tuesday, July 02, 2013
Our personhood is carved by the flow of our habits.
"The flow of water carves rock, a little bit at a time. And our personhood is carved, too, by the flow of our habits."
- Jonathan Safron
Thursday, May 02, 2013
How can I gravitate towards something I would like and what people will accept?
-- A.R. Rahman (source)
When you just do things for the sake of doing your work, it shows
-- A.R. Rahman (source)
Friday, March 29, 2013
Instead of engaging the world in an anxious mental state, plunge head first into the experience of life
- The Conscious Parent, Shefali Tsabary, PhD
If we are super-successful, we expect our children to be super-successful
- The Conscious Parent, Shefali Tsabary, PhD
Monday, March 11, 2013
Best in the world have best attitudes and best behaviour patterns and a good, hard, ruthless culture
"I wanted three points from each of them technically, mentally and team as to how we were going to get back over the next couple of games, how we were going to get ourselves back into the series...We pride ourselves on attitude. We have given the players a huge amount of latitude to get culture and attitude right,...We believe that those behaviours with what we want to do with this team, how we want to take this team to be the best in the world, teams that are the best in the world have best attitudes and best behaviour patterns and a good, hard, ruthless culture. "
Arthur said to become world-beaters, the Aussies will have to fall in line when it comes to discipline.
- Mickey Arthur(Australian cricket team couch)
Sunday, February 24, 2013
End of superiority, inferiority, and equality is end to suffering
- The Buddha (Source)
Saturday, February 16, 2013
Natural scenery in a camera
- Zen And The Art of Motorcycle Maintenance by Robert M. Pirsig
On how a beautiful natural scenery cannot be completely captured in a camera.
Sunday, February 10, 2013
Maintaining Personality
- Zen And The Art of Motorcycle Maintenance by Robert M. Pirsig
Saturday, February 09, 2013
If somene's ungrateful
- Zen And The Art of Motorcycle Maintenance by Robert M. Pirsig
Monday, December 31, 2012
Difference between @Autowire and @Resource
2. @Resource can inject by name only(to inject into a field named "xyz" look for a bean named "xyz"). @Autowire can inject by name, type(to inject into a field/parameter of type "Abc", look for a unique bean of type "Abc") and many more.
3. @Resource can inject into a field only. @Autowire can inject into field, constructor and method parameters.
3. @Resource can inject List, Map and other Collection types. @Autowire cannot.
Sources: [1] [2]
Monday, December 24, 2012
Wave and water
" To represent the two dimensions of reality, we use the images of the wave and water. Looking at the dimension of the wave, the historical dimension, we see that the wave seems to have a beginning and an end. The wave can be high or low compared with other waves. The wave might be more or less beautiful than other waves. The wave might be there or not there; it might be there now but later not there. All these notions are there when we first touch the historical dimension: birth and death, being and nonbeing, high and low, coming and going, and so on. But we know that when we touch the wave more deeply, we touch water. The water is the other dimension of the wave. It represents the ultimate dimension.
...
If the wave is capable of touching the water within herself, if the wave can live the life of water at the same time, then she will not be afraid of all these notions: beginning and ending, birth and death, being or non-being; non-fear will bring her solidity and joy. Her true nature is the nature of no-birth and no-death, no beginning and no end. That is the nature of water."
- Thich Nhat Hanh
I have arrived, I am home
"I have arrived, I am home
In the here, in the now
I am solid, I am free
In the ultimate I dwell.
...
You can recite the poem above as you breathe in and out. You can practice this poem when you drive to your office. You may not have arrived at your office, but even while driving you have already arrived at your true home, the present moment. When you arrive at your office, this is also your true home. In your office, you are also in the here and now. Just practicing the first line of the poem, “I have arrived, I am home,” can make you very happy."
- Thich Nhat Hanh
We cannot enjoy life if we worry
"We cannot enjoy life if we spend our time and energy worrying about what happened yesterday and what will happen tomorrow. If we’re afraid all the time, we miss out on the wonderful fact that we’re alive and can be happy right now. "
- Thich Nhat Hanh
Thursday, December 20, 2012
Our real home is peace.
Homes in the world have to fall in line with the way of the world. Some of us forget. We get a big home and enjoy living in it, but we forget our real home. Where is our real home? It’s in the sense of peace. Our real home is peace."
- Ajahn Chah Subhaddo
Tuesday, November 06, 2012
Gifts of time and love
Gifts of time and love are surely the basic ingredients of a truly merry Christmas.
- Peg Bracken
Saturday, November 03, 2012
Motives Leading to a Poor Conversations
2. "Seeking revenge. Sometimes, as our anger increases, we move from wanting to win the point to wanting to harm the other person... (response is) Everyone immediately clams up and looks at the floor."
3. "Hoping to remain safe... Rather than add to the pool of meaning, and possibly make waves along the way, we go to silence. We're so uncomfortable with the immediate conflict that we accept the certainty of bad results to avoid the possibility of uncomfortable conversation. We choose... peace over conflict.(the objective of the conversation is not met)"
- "Crucial Conversations - Tools for talking when stakes are high"
Maintaining Composure Under Fire
"What do I really want?... it's not to make the other person squirm or to preen in front of a crowd. I want " your actual objective of having the conversation (such as cut cost).
"When we ask ourselves what we really want,... the problem solving part of our brain recognizes that we are now dealing with intricate social issues and not physical threats."
"Once you've asked yourself what you want, add one more equally telling question:
How would I behave if I really wanted these results?"
- "Crucial Conversations - Tools for talking when stakes are high"
Work on Me First
- "Crucial Conversations - Tools for talking when stakes are high"
Difficulty with Crucial Conversations
- "Crucial Conversations - Tools for talking when stakes are high"
When Talking Turns Tough
- "Crucial Conversations - Tools for talking when stakes are high"
Pattern of Behavior in Conversations
- "Crucial Conversations - Tools for talking when stakes are high"
Effects of Communication Failure
-- C. Northcote Parkinson"
- "Crucial Conversations - Tools for talking when stakes are high"
Monday, October 22, 2012
Appealing for not being famous
- Robert M. Pirsig in "Zen and the art of motorcycle maintenance"
Friday, June 29, 2012
Work to become, Not to Acquire
- Elbert Hubbard
Thursday, June 28, 2012
"Real peace of mind must come through inner mental strength."
- Dalai Lama
Monday, June 04, 2012
When the could of danger hovers, then its shadow dims the mind
- Toru Dutt
Thursday, May 31, 2012
Nice duplicate file detection program for windows
Tuesday, May 29, 2012
Words and meaning
- Martin J Fowler in "Patterns of Enterprise Application Architecture"
Saturday, May 19, 2012
Instead of "what do you do", try asking "where do you invest your energy"
Friday, April 27, 2012
The master - Destiny or Man?
"Look! the clay dries into iron, but the potter moulds the clay:-
Destiny to-day is master - Man was master yesterday."
- Toru Dutt
Wednesday, April 25, 2012
Tuesday, April 24, 2012
In the attitude of silence...
- Mahatma Gandhi through A Flourishing Life
Thursday, April 05, 2012
Bad reactions and faults
But if you react un-reasonably in response to their fault, your bad response is completely your fault. They did not control you to give out that un-reasonably response.
Wednesday, April 04, 2012
I have never found anger to make a situation better
- Prof. Randy Pausch
I can't control the card that I am dealt just how I play the hands
- Prof. Randy Pausch
Its not about how you achieve your dreams its about how you lead your life
- Prof. Randy Pausch
Brick walls let us show our dedication
- Prof. Randy Pausch
Wednesday, March 21, 2012
Null values in Postgresql date comparison
test=# begin;
BEGIN
test=# create temp table test(test_date date) on commit drop;
CREATE TABLE
test=# insert into test(test_date) values (null);
INSERT 0 1
test=# insert into test(test_date) values (current_date - interval '1 day');
INSERT 0 1
test=# insert into test(test_date) values (null);
INSERT 0 1
Saturday, February 11, 2012
It’s not hard to decide what you want your life to be about. What’s hard, she said, is...
- “Bittersweet” by Shauna Niequist through Julie911
Maintaining character in every moment
My understanding:
Not all horses are skilled at being swift
Not all dogs are skilled at sniffing
Since I am naturally dull, shall I, for that reason, not take pains?
NO. One should continue to take pains.
I may not be the best body builder in the world, yet, I will not neglect my body.
I may not be the best rich man in the world, yet, I will not neglect my property
In short we do not neglect looking after anything because we despair(loose hope or complete absence of hope) of reaching the highest degree.
- A Selection From The Discourses of Epictetus With The Encheiridion
Thursday, February 02, 2012
Strong, Weak, Soft and Phantom references in Java
Saturday, December 03, 2011
To be upset over what you don't have is to waste what you do have.
- Ken Keyes Jr.
The minute you settle for less than you deserve
- Maureen dowd
Wednesday, November 30, 2011
Better to take many small steps
- Louis Sachar through Julie911
Saturday, October 08, 2011
3 ways to initialize and destroy Spring beans
1. Using init-method and destroy-method attributes
2. Implementing InitializingBean and DisposableBean interfaces
3. Using @PostConstruct and @PreDestroy Annotations (available only in Spring >=2.5)
1. Using init-method and destroy-method attributes
Certain bean methods can designated as initializing and destroying methods using the init-method and destroy-method attributes. Like so:
<bean
id="studentService"
2. Implementing InitializingBean and DisposableBean interfaces
The bean can implement these methods InitializingBean.afterPropertiesSet() and DisposableBean.destroy(). Like so:
3. Using @PostConstruct and @PreDestroy Annotations
Note that both of these are JSR-250 annotations (here is a nice introduction to JSR-250 support introduced in spring 2.5).
@PostConstruct
public void subscribe()
{
// subscribe logic goes here
}
@PreDestroy
public void unsubscribe()
{
// unsubscribe logic goes here
}
Wednesday, September 28, 2011
If the work is worthwhile, then whether we can complete it or not, it's worth making the attempt
- Dalai Lama
Actions driven solely by anger are of no use at all
Wednesday, September 21, 2011
Every blessing ignored becomes a curse.
Monday, September 19, 2011
One hand
No matter how many detours and adjustments it made, the caravan moved towards the oasis.
Tuesday, September 13, 2011
Don’t ask yourself what the world needs, ask yourself what makes you come alive
Friday, September 02, 2011
Nice article on Spring 2.5 features
Saturday, August 20, 2011
I am a parent and do not have the luxury of principles.
...
Son (who is enlisting in the army): Father, I thought you were a man of principles.
Father: When you have a family of your own perhaps you will understand.
Son: When I have a family of my own I won't hide behind them.
- "The Patriot"
Wednesday, August 10, 2011
when each day is the same as the next
recognize the good things that happen in their lives every day that the
sun rises."
"The Alchemist" by Paulo Coelho
Thursday, August 04, 2011
Money for good books
Monday, July 18, 2011
There isn’t a way things should be. There’s just what happens, and what we do.
- “A Hat Full of Sky ” by Terry Pratchett through Julie911
I don’t know the key to success, but the key to failure is trying to please everyone.
- Bill Cosby through Julie911
Friday, July 08, 2011
This is your life. Learn to enjoy what you’ve got.
- Mr. Destiny through Julie911
If we cannot love ourselves, we cannot fully open to our ability to love others or our potential to create.
- John Lennon through Juliee911