For the simple potato filling: Place potatoes in medium saucepan and add milk and salt; milk should just barely cover the potatoes. Bring to a simmer and cook, stirring occasionally, until potatoes are cooked through, about 15 minutes. Remove from heat and add butter and a few grinds of black pepper. Mash until very smooth, adjust seasonings to taste, and set aside to cool until needed. You can hurry this along in the fridge.
For the luxurious potato filling: Place potatoes in medium saucepan and add as much milk as you need to cover the potatoes. Bring to a simmer and cook, stirring occasionally, until potatoes are cooked through, about 15 minutes. Strain off milk, saving 2 tablespoons, discarding the rest. Place cooked potatoes and reserved milk back in pot, add salt and butter, and use a potato masher to gently bring the ingredients together. Transfer potato mixture to a sieve and use a spoon or bowl scraper to push it through. Once potatoes are passed, let mixture cool to room temperature. Use a spatula to gently fold in egg until just combined. Add semolina and mix until uniform, trying not to overwork the mixture. Add dill, if using. Place in refrigerator until fully cooled before using.
Make the dumpling dough: Combine flour and salt in a large bowl with a fork. Add half the water and the egg and use the fork to mix them into the dough. Drizzle in all but last 1 tablespoon of remaining water, mixing as you pour until dough forms shaggy clumps. Use your hands to bring the dough together inside the bowl, using the last tablespoon of water if needed. Knead it several times in the bowl before transferring it to your counter. Knead dough for 10 to 12 minutes (set a timer; don’t skimp!) until it forms a smooth, elastic dough. Return to empty bowl and cover bowl tightly with plastic wrap. Let rest at room temperature for 1 hour, which relaxes the dough and makes it easy to roll thin.
You can also make the dough in a stand mixer, using the dough hook to knead for 5 to 7 minutes.
Form vareniki, both methods: Grab a spray bottle of water (or a dish of water and a pastry brush, although just your finger is sufficient for hand-formed dumplings), a rolling pin, and liberally dust a rimmed baking sheet with flour. Remove one-quarter of dough (for hand-formed dumplings) or one-sixth of dough (for pelmenitsa dumplings) from bowl, keeping the rest wrapped until needed. On a very well-floured counter (Bonnie explains that the dough will only absorb as much flour as it needs and no more, so you cannot use too much) and roll it out on a lightly floured countertop until it’s thin enough that you can see light through it if you hold it up; you should be able to roll it to the thinness of pasta dough.
Form vareniki by hand: Cut out rounds of dough with a 2-inch round cutter or a drinking glass. Using two spoons, a small scoop, or a pastry bag, fill each round of dough with a blob of filling — about 1 teaspoon. Dab, brush, or mist the edges of the dough with water, then fold the round into a half-circle, pressing the edges to seal. Take the edges and pull them towards each other, pinching the corners to seal in a tortellini shape. As you shape a few dumplings, you’ll get a sense of how much filling you can stuff into each dumpling and still stretch the dough around it to seal. Transfer the shaped dumplings to your prepared baking sheet. Gather the scraps together back into the ball. Repeat with the remaining dough and filling, rerolling the scraps after they’ve rested enough that you can roll them out again. (If they resist rolling, wait 5 minutes, try again, repeating this until the scraps roll as thinly as the first round did.) I like to slide my tray of vareniki into the freezer while working on the next batch; they’re easier to move around once semi-frozen. At this point, you can cook them right away — semi-frozen or fresh — or freeze them for future use. (Freeze the rest of the way on the baking sheet so they don’t stick, then transfer to sealed bag).
Form vareniki with a pelmenitsa: Drape the rolled-out dough over your pelmenitsa, so that it reaches over the ends of the mold. Press or pat the dough lightly so that an imprint of the mold below is made on the dough; this is so you know where to center the filling. With two spoons, or a pastry bag fitted with a wide tip, scoop or pipe a little blob of filling into each of the 37 divots. You’ll need just a heaping teaspoon or so in order to still be able to seal things (don’t get carried away with the amount of filling!). When you have piped filling into all the slots, roll out a second piece of dough until it’s slightly larger than your mold. Lightly spray some water over the top of your filled vareniki, or lightly brush the exposed dough with water if you don’t have a spray bottle, and then gently place the second round of dough over the top. Firmly roll over the top with your trolling pin, several times as needed, to seal the vareniki and cut the dough between them. Remove the outer trimmings that are not part of the dumplings themselves. (Depending on how thin I’ve gotten the dough, I can reuse these to make a 4th pelemenista of dumplings, hence the range in yield. Let the dough rest until it rolls easily again.) Turn the pelmenitsa upside-down over the prepared baking sheet and nudge the filled dumplings out. Don’t worry if they don’t separate right away. Slide the tray into the freezer while you repeat with the remaining dough and filling. (Once they are firm, you can easily break them apart.) You can cook them right away — semi-frozen or fresh — or freeze them for future use. (Freeze the rest of the way on the baking sheet so they don’t stick, then transfer to sealed bag).
Cook your vareniki: Bring a large pot of salted water to a boil. Add the dumplings, about 20 per person (or 12 to 15 if they’re larger). Adjust the heat as needed to maintain a healthy-but-not-too-vigorous boil. Add the dumplings and give it a few good stirs, making sure none stick to the bottom of the pot. Cook until the dumplings rise to the surface, and then 1 minute more (this will take 4 to 5 minutes). If you’re not sure if they’re done, you can always remove one and cut it in half — it should be hot in the center.
Finish and serve: While the dumplings cook, prepare a mixing bowl to dress your dumplings. Everyone likes their vareniki a little differently but I’ve been forever converted to Bonnie’s method. For each serving, you want to place a good pat (about 2 teaspoons to 1 tablespoons) of butter and 1 to 2 teaspoons of plain vinegar in the bottom of your bowl. Add salt and pepper, if you wish. When the vareniki are done, use a large slotted spoon (this is my favorite) to transfer the dumplings, shaking off the extra water, right into the bowl. Toss! The butter will melt and come together with the vinegar from the heat of the dumplings. Keep stirring, whirling everything together until the vareniki look glossy and lightly sauced and you are astounded by your newfound cheffy skills. Transfer to individual bowls and let everyone add the finishes they wish.
Do ahead: The simple potato filling is good in fridge for 4 to 5 days, the luxurious one for 2 days.