Power has been out all day
Fortunately I have a UPS system connected to my computer, and it kept it from any damage. The electrician showed me what happened about twenty minutes ago: A breaker switch outside exploded. He said the lights flickering right before the outage had to do with some arc-ing in the breaker before the explosion.
Oh, and another good tip from the electrician: If one light in the house is flickering, it's probably that light; if multiple lights are flickering, something bad is about to happen, and you should call an electrician.