A comment there claims that was a "setup"--that nobody was really
doing that with live wires.
I think it may have been copied from a real item (involving a floating dish detergent bottle with a duplex receptacle cut into it) from a few years ago in EC&M
's "What's Wrong Here?" feature on code violations. I couldn't see a way to quickly find that older picture, but you can see the feature here
. Not all violations are as, uh, good as the pool contraptions.