In a large bowl, whisk together the sugar, oil, eggs and vanilla until thoroughly combined. Whisk in the cocoa, baking powder, baking soda and salt until blended. Alternate adding the flour and the beer in two batches, starting with the flour and ending with the beer. Blend each addition until just barely combined. The batter will be on the looser side.