Recently changed documents

Suggested Basic reading for CSS

More documents like this are at:  CSS

29-Dec-07

W3C tutorial

Tableless layout HOWTO

http://www.w3.org/2002/03/csslayout-howto

Why tables for layout is stupid:

problems defined, solutions offered

http://www.hotdesign.com/seybold/

CSS techniques:

Look Ma, No Tables.

http://glish.com/css/

Tables My Ass

http://www.htmldog.com/ptg/archives/000049.php

Tables Vs. CSS - A Fight to the Death

http://www.sitepoint.com/article/tables-vs-css?ct=1

You also miss a good session with a HTML validator.

W3C Quality Assurance tutorial

My Web site is standard! And yours?

http://www.w3.org/QA/2002/04/Web-Quality

Problem with fixed width table with an image in it

More documents like this are at:  CSS

29-Dec-07

I have struggling with this for 2 days. I searched far and wide in google and msdn etc. No luck. Hope one of you may have seen this. I am seeing this in ie6 and ie7

What I want

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

1. A table with a single cell that is say 100px wide, laid out from left to right.

2. I want to put an image in it and set its width to 100px as well

What I expect

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

I see the image that is shrunk in width to 100px wide.

Instead I see

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

1. I do see the image shrunk to 100px

2. But I see the width of the "td" increased to 500px which is the size of the actual image

three-column-mp-ver2.html

More documents like this are at:  CSS

28-Dec-07

It is quite tedious and frustrating to get a decent page layout for a site in CSS. I wanted something that has three columns that uses all the space available with out fixed sizes as much as possible.

As it turned out almost after a week I may have something that works as I intended. Here is an example.

You can see the html here. You can use viewsource to see the html

You can see the CSS used for it here. You can use viewsource to see the html

three-column-mp-ver2.css

More documents like this are at:  CSS

28-Dec-07

Contains the css for

three-column-mp-ver2.css

three-column-mp-ver1.html

More documents like this are at:  CSS

28-Dec-07

It is quite tedious and frustrating to get a decent page layout for a site in CSS. I wanted something that has three columns that uses all the space available with out fixed sizes as much as possible.

As it turned out almost after a week I may have something that works as I intended. Here is an example.

You can see the html here. You can use viewsource to see the html

You can see the CSS used for it here. You can use viewsource to see the html

three-column-mp-ver1.css

More documents like this are at:  CSS

28-Dec-07

Contains the css for

three-column-mp-ver1.css

CSS example table formating

More documents like this are at:  CSS

27-Dec-07

Example of formating a table.

A sample master page

More documents like this are at:  CSS

27-Dec-07

Use this url

click here

Styling text through CSS

More documents like this are at:  CSS

22-Dec-07

http://www.htmlcenter.com/tutorials/tutorials.cfm/62/CSS/

P { text-transform: uppercase }
P { letter-spacing: 0.1cm }
H1 { word-spacing: 1em }
P { text-shadow: black }
A:link, A:visited, A:active 
{ text-decoration: none|underline|overline|line-through|blink }
P { text-indent: 3em }
P { alignment: center|left|right|justify }

Inequality

More documents like this are at:  Shells: My Writes

20-Nov-07

Where there are none
there may not be any.
Where there is, however, one
There may be many.
private int getNumberOfParameters(String ps)
   {
   		int count=0;
   		StringCharacterIterator sci = new StringCharacterIterator(ps);
   		for(char c=sci.first();c != CharacterIterator.DONE; sci.next())
   		{
   			if (c == '?')
   			{
   				count++;
   			}
   		}
   		return count;
   }//eof-function

International dialing codes

More documents like this are at:  Jacksonville Restaurants

5-Nov-07

for example to call India from US you will do

01191...and the number

where 91 is the country code for India

For England

01144...and the number

where 44 is the country code for England

In both cases the "011" is the internal dial out code from US. Each country will have a different prefix. For more details see the following link

http://www.kropla.com/dialcode.htm

This will be an exercise in synonyms. The more you can dream of the better you are to answer these.

Skeletal

Bony
Frame
Thin
Outline
Wire
Old

Pal

Friend
Bud
Chum
Mate
Love
Pair
Couple
Company
Fellowship
Synonym

Now figure out the rhymes for both

Skeletal Rhymes

Bone (stone, moan, phone, hone, cone, alone, tone, zone)
Frame (lame,maime,name,same,tame)
Thin (bin,chin,fin,gin,kin,pin,sin,tin,win,zin)
Outline
Wire (dire,fire,hire,sire)
Old (bold,cold,fold,gold,hold,mold,sold,told)

Look in the rhymes for a word that means a friend. we come up with kin for thin. That makes one possible pair THIN KIN

Let's do the opposite with Pal

Pal Rhymes

Bud (dud, jud, mud, sud)
Chum (bum, rum, gum, yum, sum, mum, tum, yum)
Mate (bate, date, fate, gate, hate, late, rate, sate, tate, wait) 
Love (glove, dove, move, rove, dove)
Pair (fair, hair, lair)
The following are too many syllables to do
Friend
Couple 
Company
Fellowship
Synonym

Late means dead and could mean skeletal. Perhaps "dud" means dead meaning skeletal. That would give us two possible rhymes: Dud Bud or Late Mate

Overall Reapings

THIN KIN
DUD BUD
LATE MATE

A Trickle And A Torrent

More documents like this are at:  Shells: My Writes

1-Nov-07

Growth

Pralayagnini Karatalamuna,
Sikharagrini Konaveluna,
Mundu Mundu.
Sari netiki,
Tadabadu chiru padumula uravallu.

Burden

Mukkupachharani mrudu kumarulu.
Palincharuga
Tallulai, Thandrulai.
Pempu vahimparuga
Mantrulai, Rajulai.

Credits

Borrowed a line from a film "Lavakusa" and borrowed a phrase from the greatest pair "Tirupathi Venkata Kavulu".

A Trickle and a Torrent

A step today ventured
Another step tommorrow commited
A journey of thousand miles:
Though difficult to imagine,
By derivation is conclusive.

Futile is not by any means a trickle,
But a good place to start a torrent.

Raise your hand,
Pump the air,
Take a cheer,
Count your wins.
Small or big they are all wins.

What I miss

More documents like this are at:  Shells: My Writes

13-Oct-07

Burdens of the world not on their shoulders
Themselves wrapped in modesty 
Their hearts content in their bosom
Neighbors, friends, and family
Gathered that night like on nights often

Hand woven cotton around their head
Finely tempered tobacco to be hand rolled by their side
In the first quadrant of the night
They sat on benches 
in reflection of the calamity outside

Tiles from local kilns, 
Crescent in shape, 
Robust reddish brown in composure,
adorned the roof above. 
15 foot in depth and 60 foot wide,
A fair expanse sliced bamboo.
At that hour of the night,
to cots, of wood and hibiscus threads, in line,
The roof had been home.

A thin blanket spread, a cotton pillow, a sheet to cover,
Children laid there listening to the dance outside
and to the hum of rain on the roof, continuous.
Never a sound more soothing was heard.

Down the eaves of faithful tiles, 
rushed waters in a silver curtain,
Descended the 7 feet clearing
with a noise only falling water can make,
A rustle, a din,
incessant, hurried, many toned,
parting comfort from calamity,
parting safety from chaotic churn.

Single but not lonely
A kerosene lamp of concave glass
A protected flame in its womb 
hung on the wall.
In lamp light, in the shimmering silver,
There come to be on that night, like nights often,
Ruminating men and resting mothers.
A child's heart took wing
in a cocoon of security.
All the world seemed approachable.

In skies above a war was on its way.
Arjuna, Archer of the skies was on his chariot of fearsome wraiths.
As the wheels rumbled and ascended
Lynch pins fell, scorching heavens in stripes of fire.
From under the blankets pronouncements came: "Arjuna" "Arjuna"

Like a flock of birds, in a cackle,
Streaks of water currents rushed out the front yard
and out gushed from the compound wall

To the observant ear
near by yet faint
there drifted the sounds of cow bells
from the rhythmic sway of nodding heads
of young calfes, of mother cows,
of work horses the prized bulls, 
all a family of gentle giants
satisfied in their element
Hay dry, Corn stacks juicy,
in handsome ways gathered, broken and consumed

Among nights such a night was special
Empty and nill a night usually is.
Like a true friend came rain, unannounced,
Morning would be sad when there would still be rain no longer, 
when living beings would stir again in unrest
when attended burdens would take their seats on bent shoulders.
However on that special rainy night
Guiltless rest was what seemed imposed in measure ample.

Men talked, not of their work, not of their worries
Women talked, not of them, not of their worries
They both wondered of things simple.
Of life they discovered for a night, on that rainy night.
Like the tiled roof above, like the ground just outside, 
The living come to feel what it is to be alive.  

Cattle fed, in rain,
Drinking water carried from wells, in rain,
Muddy feet, wet hair, damp clothes,
Children bathed in steamy hot water, in rain,
All tidy in the end,
When all prevailed in the midst of difficulty
"Thanks for the wrestle" the mind said to an otherwise calamity. 

Company of surety,
Hum of rain on the roof,
Silver curtains of rain,
Cackle of the running waters,
Cow bells just beyond the courtyard,
Rumblings in the belly of the sky,
Moments when neighborhood when washed walls lit in white,
Difficulties, the challenges, the calamities,
These I miss

Autumn

More documents like this are at:  Shells: My Writes

12-Oct-07

Kyoto, Japan

Probability is the exact science of chance

More documents like this are at:  Shells: My Writes

12-Oct-07

Probability is a branch of mathematics that is the exact or precise science of inexact and imprecise.

How does a paranoid spell Fault Tolerant?

More documents like this are at:  Shells: My Writes

10-Oct-07

FFAAUULLTT  TTOOLLEERRAANNTT  FFAAUULLTT  TTOOLLEERRAANNTT

iiff yyoouu wweerree ttoo pprriinntt tthhiiss pprriinntt ttwwiiccee..iiff yyoouu wweerree ttoo pprriinntt tthhiiss pprriinntt ttwwiiccee..

Should I shuffle?

There are 10 cards. 9 of them have goats and 1 of them have a car. I spread them on a table. I pick one and set it aside with out looking. Now there are two piles of them on the table. The one I picked in one pile and the rest of nine in another pile. Let's call the piles Pile_1 and Pile_9.

My hope is I picked the one with the car. I wonder now if I want to keep the card or do I want to pick again from the pile of 9 Pile_9 and return the one that I had picked earlier to the pile. Or do I want to stick with my original choice. Which one will be to my advantage? Should I change or stick with the original choice?

Intuitively

why would I change? what is my incentive? Because originally I picked 1 out of 10. If I were to change my mind, as the reason goes, then I will pick 1 out of 9 which seems better than 1 out of 10. Nevertheless there is a suspicion that the card may not be there in this pile Pile_9. How can I mathematically conclude that this picking from the pile of 9 again by setting one aside is same as 1/10?

  1. I pick 1. I set it aside.
  2. My probability at this point that the car is in the pile of 9 is 9/10.
  3. Assuming that the car is in the pile of 9, If I pick from pile of 9, then my probability that I pick the car is 1/9.
  4. So the dependent probability of me picking a car from the pile of 9 is

9/10 times 1/9 = 1/10

Lets try putting 2 cards aside, making two pools of 2 and 8.

The probability of picking a car from the 2 pile is:


2/10 times 1/2 = 1/10

The probability of picking a car from the 8 pile is:


8/10 times 1/8 = 1/10

What if I break them into more than 2 piles?


Pile_x, Pile_y, Pile_z so that x + y + z = 10

Pile_x chances

1. Probability that it is in pile_x


x/10

2. Probability that I pick my car from pile_x


1/x

2. The dependent probability that I got my car if I were to chose pile_x


x/10 times 1/x resulting in 1/10

The argument will apply to pile_y and pile_z as well. So it doesn't really matter in how many piles I break my cards, and it doesn't matter which pile I chose to pick my chances are the same.

Mathematically Speaking

Doesn't matter how I split the cards, as long I don't know what is in those piles, the probability of picking a car from any pile still stays at 1 out of 10. So it doesn't matter how many times you shuffle, your probability is not going to change.

You must read this book: Diary of a wimpy kid

More documents like this are at:  Humanities Current

9-Oct-07

website for the book

If the few pages I have read is any indication, I haven't read a book this funny in ages.

Even my 4th grade daughter finsihed the book in a single sitting. If you can make a 4th grader read a book with out prodding and threats it is a severe compliment to the author.

How to deal with (a lingering) stomach ache

More documents like this are at:  Health

8-Oct-07

It could be stress. Divert the child towards stress relievers. tv, games, play. use the bathroom.

Eat carb filled food if hungry. No spicy foods or acid sodas.

Don't drink shakes if you are milk intolerant

Drink liquids

you may have gas

Take peptobismal, tums, or alka-selzer

ginger tea or ginger ale

Cosmic Connection

More documents like this are at:  Shells: My Writes

5-Oct-07

English Spanish Telugu/Sanskrit Celestial
Sunday Domingo Adi.Vaarum Sun
Monday Lunes Soma.Vaarum Moon
Tuesday Martes Mangala.Vaarum Mars
Wednesday miercoles Budha.Vaarum Mercury
Thursday jueves Guru.Vaarum Jupiter
Friday Viernes Shukra.Vaarum Venus
Saturday Sabado Seni.Vaarum Saturn

Proud of of the "Big One"

More documents like this are at:  Humanities Current

5-Oct-07

Narayan is 4 years. Will be 5 in November. Here is not an entirely uncommon conversation.

"Dad, I am done!!!"
"Yes, Narayan, Don't scream. I will be right there."
"Did you see?"
"What do you want me to see?"
"I did a lot of 'em. The big one sanked. I ate a lot of food"

Show me a T-Rex Dad

More documents like this are at:  Humanities Current

30-Sep-07

See the rest at feenixx.com

2007 MacArthur Fellows

More documents like this are at:  Humanities Current

28-Sep-07

List and references to 2007 MacArthur Fellows

what I miss: draft

More documents like this are at:  Shells: My Writes

19-Sep-07

what I miss: draft

True antidote to sleep

More documents like this are at:  Humanities Current

11-Sep-07

More effective than cofee is to truly engage the mind in an activity that the mind truly likes and searches for answers actively.

The opposite of this is a boring activity that the mind is not interested in for some reason.

Tirupathi Venkatakavulu: A very tall pedigree

More documents like this are at:  Telugu Related

18-Aug-07


Chelliyo Chellako tamaku chesina eggulu saichirandarun
tolli gathinche nedu nanu dootaga bampiri sandhi seya mee
pillalu papalun prajalu pempu vahimpaga sandhi chesedavo
elli (velli) ranambe goorchedavo yerpada jeppumu Kauraveswara

Making something out of sweet peas and cubed paneer

More documents like this are at:  Recipes

16-Aug-07

Ingredients

A pack or Paneer, about 20 small 1/2 inch cubes
2 Onions
A can of sweet peas
1 can of small tomato sauce
little bit of canola oil to fry the onions
2 cups of boiling water

Optional Ingredients

1 long (3 inch) dried Indian pepper
turmeric
red powdered pepper
Jeera (cumin seeds)
black dried mustard seeds
Chana dal (a spoon ful)
Parsley

Lightly Fry the onions

Place 3 to 4 table spoons of oil in a cooking vessel

Put one long dried pepper in the oil (optional)

Put two spoonfuls of channa dal in the oil (optional)

Heat the oil until channa dal browns (about 2 minutes)

Put jeera and mustard seeds (A spoonful each - optional)

Give it a couple of seconds for jeera and mustard seeds to instantly get fried Put Onions

Fry until onions turn brown, about 3 to 4 minutes

The rest

Once the onions are brown, Pour the tomato juice

sprinkle half a spoon of turmeric

Drain the sweet peas and pour them into the pot

Mix them

Pour a cup and a half of hot water

Cook on low hear for about 15 minutes

Add salt and red pepper for taste

stir and cook on low again for another 10 to 15 minutes

Add some cut parsley if available (optional)

Serving

Traditionally such a dish is eaten with a variety of Indian Breads (Naan, Roti, Chapathi)

Goes well with long grained rice.

Who is Victor Borge?

More documents like this are at:  Humanities Current

16-Jul-07

Who is Victor Borge? I saw him on PBS. Introducing phonics for punctuation is brilliant.