https://www.hollywoodreporter.com/features/silicon-valley-confronts-a-darker-side-tech-culture-tj-millers-messy-exit-1092493
Good for HBO!
“The original pilot from Judge and his King of the Hill collaborators John Altschuler and Dave Krinsky had hung its narrative on two gold-digging women from Los Angeles who head to Silicon Valley in the hope of snagging the next Steve Jobs. HBO's executives were underwhelmed, if not altogether put off, by what came in. "We wanted women," says one, "but not like that."
As the story goes, Altschuler and Krinsky were unwilling to move forward without the women's storyline, and HBO was unwilling to do so with it. Silicon Valley would die there. Then came word from Judge. He'd understood HBO's concerns and was interested in taking another crack. In the months that followed, Altschuler and Krinsky exited the project, though not without retaining a created-by credit, and Berg, who'd honed his comedic chops on Seinfeld and Curb Your Enthusiasm, was brought in to help Judge reconceive the series. "We reshot half the pilot," recalls HBO's president of programming, Casey Bloys, who was running the comedy division at that point. "And what those guys turned in was a comedy that was genuinely funny and also had something to say."