In a deep, heavy saucepan or Dutch oven, heat the oil over high heat. Add curry leaves, jalapeño, shallots and turmeric and sautee for a few minutes. Add the beef, salt and spices, and stir to coat beef well. When meat is browned on all sides, stir in coconut milk, reduce heat to medium and cook for about 10 minutes.
While beef is cooking, pour hot water over tamarind pulp, breaking it up with a spoon. Let it dissolve for a few minutes then push through a strainer, discarding pulp and combining liquid with stock. Add this to beef mixture and bring to a boil. Lower heat and simmer gently until meat is tender, about an hour. Taste for seasoning and serve with rice or mashed potatoes.