Mentioning pizza, beer, ping-pong, or swearing in a job ad are all will-not-apply conditions for me.
Pizza, beer and ping-pong in the job description suggests it's a social requirement to be involved in those things: it's almost literally being described as part of the job.
It indicates that there is likely a poor attitude towards work-life balance and employee health and is probably a marker for hidden prejudices disguised as "culture fit". Frankly, I value those rewards highly negatively.
As a philosophical exercise: consider replacing pizza with sushi, beer with wine, and ping-pong with Zumba. Still a sensible ad for a tech job? Why/why not?
Swearing at a bug and swearing at a potential employee are contextually different. I have no problem working in an environment where swearing at a bug is acceptable; swearing at an employee or colleague should be no more acceptable than swearing at a valued client (for clarity: not acceptable under normal circumstances).
The appropriateness of swearing is highly contextual - putting it in a job ad likely shows that you don't know where sensible boundaries are.