Heat a large sauté pan over medium-high heat and add the olive oil. When the oil is hot, add the pancetta and sauté until crispy and nice and brown. Add the garlic and cook, stirring, for 30 seconds to a minute, until fragrant. Stir in the shrimp, chile flakes, and salt and pepper, and continue to cook until the shrimp are pink and cooked through, about 5 minutes. Add the tomatoes and simmer slowly for 5 minutes.
Bring a large pot of salted water or a pasta pot filled with water to a boil and add the pasta. Cook until slightly al dente. (Dried pasta takes about 10 minutes while fresh pasta cooks in seconds.)
When the pasta is cooked, drain well, add to the pan with the shrimp, toss well, and garnish with the grated Parmesan cheese and chopped basil. Serve immediately.