cornmeal (about 800 grams) • queso fresco or farmer cheese (about 500 grams) • Grated cheese, optional • heavy cream (200 ml) • neutral oil or unsalted butter (300 ml) • large onions, thinly sliced (about 1 lb / 500 grams) • eggs • milk, as needed (about 600 ml) • Salt to taste (I use 2 teaspoons if the cheese is unsalted)