When a temporary San Francisco prosecutor wrote on his personal blog about a misdemeanor case he was handling last December, he probably didn’t think the judge would read it.

But Superior Court Judge Curtis Karnow heard about it. And he didn’t like what he read.