Friday, August 28, 2009

Medicare

Medicare is health insurance for people age 65. Should have legally entered and lived in u.s. for 5 years. There are 2 parts to it,

Part A - in patient services. This is free as it is paid for through medicare taxes when one worked.

Part B - out patient and other medical expenses - need to pay a premium ($96.40 in 2008)

media multitasking v. task multitasking

http://www.npr.org/templates/story/story.php?storyId=112334449&ft=1&f=5

Our abilities, frailties and virtues

“Ninety percent of the world’s woe comes from people not knowing themselves, their abilities, their frailties, and even their real virtues. Most of us go almost all the way through life as complete strangers to ourselves.“
— Sydney J. Harris through julie911

Thursday, August 27, 2009

Nice trick with xargs

ls | xargs  -t -I{} echo {} {}.new

 

-t echo the command that is going to get executed before executing

-I{} Insert a new line where{} appears

 

e.g.

 

$ ls

first.txt  second.txt

 

$ ls | xargs  -t -I{} echo {} {}.new

echo first.txt first.txt.new

first.txt first.txt.new

echo second.txt second.txt.new

second.txt second.txt.new

Building a massive system is like building a simple API - Eric

In response to Steve indicating that Eric is pretty good at building big systems from the scratch

Good schooling info

One more school to the list - Chinmaya Vidyalaya

Top grade schools in chennai

From here : http://www.indusladies.com/forums/schools/4665-age-criteria-admission-lkg-chennai.html

 

PSBB, DAV, chettinad vidhyasharm, State Bank of India Officers Association (SBOA) school, Vidya mandir, PS senior

Schooling for kids in Chennai

Nice thoughts from http://goodschoolsofchennai.blogspot.com/

 

1. Identifying the right skill and potential in the kid 

2. Identify what interests the child. 
3. Get your aspirations in line with what the Kids interest is.
4. Understand what needs to be provided to the kid to thrive on his interest.
5. Providing the right environment at home, school and the places that we visit regularly to inspire them to pursue their interest.
6. Providing the tools for them to nurture their talent. 
7. Giving the quality time and feedback for them to improve. 
8. Providing the freedom for them to express their point of views.

Wednesday, August 26, 2009

God is behind me - My father

When we came across a pretty helpful Delta airways staff while checking in the baggage at Salt lake city Airport on their (my parents) way to India.

Monday, August 24, 2009

Breathe

If you feel stressed out and overwhelmed, breathe. It will calm you and release the tensions.

If you are worried about something coming up, or caught up in something that already happened, breathe. It will bring you back to the present.

If you are discouraged and have forgotten your purpose in life, breathe. It will remind you about how precious life is, and that each breath in this life is a gift you need to appreciate. Make the most of this gift.

If you have too many tasks to do, or are scattered during your workday, breathe. It will help bring you into focus, to concentrate on the most important task you need to be focusing on right now.

If you are spending time with someone you love, breathe. It will allow you to be present with that person, rather than thinking about work or other things you need to do.

If you are exercising, breathe. It will help you enjoy the exercise, and therefore stick with it for longer.

If you are moving too fast, breathe. It will remind you to slow down, and enjoy life more.

So breathe. And enjoy each moment of this life. They’re too fleeting and few to waste.

By Leo Babauta through Julie911

Wednesday, August 19, 2009

Hope, Confidence and Optimism - Julie911

Hope: A feeling of expectation and desire for a certain thing to happen.

Confidence: A feeling of self-assurance arising from one’s appreciation of one’s own abilities or qualities.

Optimism: Hopefulness and confidence about the future or the successful outcome of something.

 

Tuesday, August 18, 2009

a alternative loop-up table

In the above case, we had a special column for Key. Instead we could also have a code for the course like this:

 

Student Table

 

 

Id

Name

Course

1

Abc

Comp

2

Xyz

Art

 

Course table

 

Id

Name

Comp

Computers

Art

Arts

 

This way the code is more readable. The downside is its pretty difficult to change the i.d. If in the future its required to change the id of “computers” course from “comp” to “it”, then that is not a easy deal.

Lookup tables

Student Table

 

 

Id

Name

Course

1

Abc

100

2

Xyz

101

 

Course table

 

Id

Name

100

Computers

101

Arts

 

In the above case the Course table is a lookup table. You look up with the course id and get the course name

Friday, August 14, 2009

Unit tests are faster

Write unit tests and your functionality gets done faster and most reliable.

Thursday, August 13, 2009

Clear history of firefox before seeing changes made to css files

Firefox caches css files. So if you change a css file, it may still be using the old css file and your changes will not be seen. So clear the cache to see the changes take effect.

Wednesday, August 12, 2009

Oracle putting its acquired companies to work

It uses JD Edward’s EnterpriseOne as a single point of management for its applications, BEA system’s web logic (integrated with Oracle’s home grown variant) as OFM (Oracle Fusion Middleware) along with its all famous DBMS to offer a full stack of software (added with OFA [Oracle Fusion Application] which are pre-packed applications that leverage on OFM and the DBMS.

Tuesday, August 11, 2009

Sleep well. A full night of sleep will help put you in a better mood. It will also give you energy to enjoy your activities.
Take a day off. If you have something planned for tomorrow that you are not looking forward to, try to cancel or postpone it. When avoiding your regular is impossible, plan ahead for a weekend or a day off by making your “tomorrow” a few days later than the next day.
Do something that you love. Spend some time with a favored activity, even if it is something that you have not done for a while.
Invite a friend or loved one to visit you. Have lunch with them, or watch a movie you both enjoy. Having a friend or loved one around can lift your spirits and make you feel good.
Eat healthy foods. Eating right will make your body feel better. That’s not to say that you can’t have your favourite foods, but make sure to incorporate fruits and veggies into your diet.
Think positively. Wake up and realize what an awesome day it is and how awesome you are!
Listen to a fast upbeat song, such as Jump or Tarzan Boy. It will put you in a good mood.
Seize the moment. Time is fleeting and there is nothing worse than a missed opportunity. Go for it!
Do something everyday that scares you! It helps you grow as a person, and makes you feel great afterwards! But don’t do something dangerous.

Saturday, August 08, 2009

Nice lines by ryan adams

These very moments as they pass
It’s like you’re just dreaming of busting someone else
Hands they hold a candle to the pages
These days they go so fast
These days are ours

Follow the lights that line the streets
connecting telephones
Follow the lights from house to house
And they will lead you home
They will lead you home
Cause there was never anywhere to go
There was never anywhere to go
But home

If every second year is true
Our love is strong enough to guide the way we walk through
Hands inside of hands
Hearts inside of hearts
Like eyes closed
Side by side and through

Follow the lights that line the streets
connecting telephones
Follow the lights from house to house
And they will lead you home
They will lead you home
Cause there was never anywhere to go
There was never anywhere to go
But home

If everything we are is true
Our memories are attics in those houses on the hill
Our love is there above us holding everything so still
And we are always here
Yes we are always here

So follow the lights that line the streets
connecting telephones
Follow the lights from house to house
And they will lead you home
They will lead you home
Cause there was never anywhere to go
There was never anywhere to go
There was never anywhere to go
But home, home

I just know I don't want to be mad anymore. I am just tired of being mad. - October road

Smart, funny and beautiful inside and out - October road

Friday, August 07, 2009

Listen to the sound of your breath, then relax it

  1. Listen to your life with your eyes closed
  2. Listen to your words before you speak them
  3. Listen to what you want - more of - in life
  4. Listen to the sound of your breath, then relax it
  5. Listen to your intuition. It’s always trying to grab your attention
  6. Listen to what your body needs, right now. Put your thumbs in your ears, cover your eyes with your fingers and then listen
  7. Listen thankfully to the sounds of nature
  8. Listen for the wisdom in your problems
  9. Listen more, talk less
  10. Listen to your thoughts in slow motion. Are they bringing you closer to your dreams or taking you further away?
  11. Listen to your life without the sound of technology and machines (no phone, TV, ipod etc)
  12. Listen to silence
  13. Listen to your favourite music
  14. Listen, really listen to your children, family and friends
  15. Listen to how many sounds are actually happening around you right now
  16. Listen to the calming sounds of the ocean by cupping your hands over your ears and turning your awareness inwards
  17. Listen to the sound of your favourite food cooking
  18. Listen to your heart - What is it saying?
  19. Listen to the sound of your feet when walking
  20. Listen to the appreciation of your body after eating something healthy

- thehealthylivinglounge.com

Wednesday, August 05, 2009

Conciousness during the persuit of a big goal

Aiming high is good. Big goals are good. But when it comes to pursuit, small goals (that match your skill and challenge) must occupy your consciousness. Small goals have smaller sacrifices (like spending your time studying instead of watch your favorite TV show). Smaller sacrifices are within one’s skill/ability. Successful small sacrifices, gives one the confidence that the goal is achievable.

It is within one’s ability to be mindful of one’s smaller goal and be focused on putting effort towards the goal by seeing small efforts giving small results. These small results put together will one day look like the big goal that one set out to achieve.

Heaven and hell here in earth

Heaven and hell is not something that one experiences after death. It is something that is undergone or experienced here in earth. God doesn’t sit in heaven and decide if you are going to heaven or hell after you die. He sites in your conscience and delivers heaven or hell based on virtues and non-virtues that occupy your consciousness.

 

Virtues like honesty, love, forgiveness allow you to experience heaven manifesting as peace in each moment on earth. Non-virtues like cheating, egotism, anger take you into hell experienced as a heavy feeling or guilt.

 

-me

oodles - lots of

Oodles of joy – lots of joy

ISO Sensitivity in digital cameras

ISO Sensitivity controls the amount of light that gets captured for photos taken. This is the same as the exposure rate in analog/film based cameras. In analog cameras the amount of light captured in the film is controlled by the duration of time the shutter is open for one click (exposure rate). In digital cameras, this is controlled by setting the ISO Sensitivity level of the cells that capture the incoming light upon click.

During bright light conditions, a lower ISO sensitivity is preferred and a higher sensitivity in dark conditions.

Tuesday, August 04, 2009

Finding the version of current svn working directory

Svnversion .

One brut way to find the cause of a regression change

Lets say we have N number of committed changes. A new defect surfaces. One brut way to find the cause of the defect is to revert the code to the point where the most dubious code change and see if the defect still arises. If it does, the most dubious code change or one of its successive commits are the culprits. If not, the most dubious code change is not the culprit.