Place the onion, ginger, galangal, garlic, lemongrass, turmeric, and chilies in a food processor. Blend to form a smooth purée.
Heat a wok and add oil. Stir the paste into it over high heat until the paste turns darker and highly aromatic.
Add the cardamom pods (crushed gently with the back of a spoon before frying) and the cinnamon stick (broken in half), and cook for another minute then add the meat.
Fry the meat in the paste, stirring constantly, until well-browned.
Pour the coconut milk and the tamarind purée over, and bring to a gentle shimmer. Add the kafir lime leaves and zest.
Season with salt, stir well then reduce to a simmer.
Cook between 60 to 90 minutes, stirring frequently. The meat should be tender and the sauce reduced and thick.
Meanwhile, toast the desiccated coconut in a dry pan. Keep an eye on it as it will burn quickly. It should be in a lovely deep brown when ready. Then process in the blender to powder (or in a mortar and pestle). When the rendang is ready, stir into the mixture making sure that they are well-combined.