a rude word for a stupid mistake or idea, or for a moment of forgetting something or being confused:
When I was cooking, I had a brain fart and burned the pan.
They have produced nothing except uncosted brainfarts as “policies”.

had a brain fart
突然脑子短路了;一下子忘了;一时想不起来;犯了个低级错误。