Preparation
Prepare the ingredients as indicated. Make tamarind juice by starting with 1 Tbs. of compressed tamarind in 1/3 cup of warm water. Work the tamarind with your fingers to dissolve the soft fruit; gather up remaining undissolved pulp, squeeze to extract juice and discard. Add more tamarind or water as necessary to make 1/4 cup of concentrate.
Divide the ingredients into two batches and make each batch as follows. Using a large clay mortar with a wooden pestle, pound the garlic and chillies to a paste. Add the dried shrimp and long beans and pound to bruise. Follow with the green papaya and carrot. Stir well with a spoon and pound to bruise the vegetables so that they absorb the heat and flavor of the chillies and garlic.
Add the tamarind and lime juice, fish sauce and palm sugar. Stir and pound a bit more to blend the vegetables with the flavorings and seasonings. Taste and adjust flavors to the desired hot-sour-sweet-and-salty combination. Then add the tomato pieces, stir and bruise lightly to blend in with the rest of the salad. Transfer to a serving plate and sprinkle with peanuts. Serves 6-8.