In a food processor, puree the shallots, garlic, ginger, turmeric, nuts, shrimp paste, lemongrass, coriander, chile, tomato paste, and tamarind juice and puree until smooth.
Prepare a hot skillet coated with the oil. Add the pureed mixture and cook until fragrant, about 5 minutes. Reduce the heat to low, add the kaffir lime leaves, stock, and coconut milk and simmer until the mixture becomes a sauce consistency, about 10 minutes. Remove the kaffir lime leaves and season with the salt and pepper. Just before serving, mix in the blanched vegetables with the sauce and heat thoroughly. Season with salt and pepper and check for flavor.
In a large pasta bowl, fill with the rice and top with vegetable curry. Garnish with fried shallots.
In a wok on high heat, coated lightly with oil, stir-fry the shallots and garlic until lightly brown, about 2 minutes. Add the ginger, lemongrass, sambal, soy, and eggs and quickly mix. Add the rice, chiles, and cilantro. Season with salt and pepper, if necessary and check for flavor.
Toss the shallots with the flour and fry in a 350 fryer until crispy. Remove from the fryer and drain on paper towels. Season with the salt.