Few television shows have so accurately captured the Bay Area's tech zeitgeist as HBO's "Silicon Valley." The comedy follows a humble startup from hacker hostel roots to billion dollar valuation, and the story comes to an end Sunday with the series finale.

We sat down with stars Thomas Middleditch (Richard Hendricks), Zach Woods (Jared Dunn), Martin Starr (Bertram Gilfoyle) and Amanda Crew (Monica Hall) to chat about some of their characters most iconic traits, from Richard's vomiting habits to Gilfoyle's stoic consistency.

RELATED: We quizzed the stars of HBO’s 'Silicon Valley' about the actual Silicon Valley

---

SFGATE: Thomas, you do a lot of vomiting on the show …



Thomas Middleditch: Correct.



SFGATE: I presume you can’t do that on demand.



Middleditch: You presume wrong.



SFGATE: How does it work on the show?



Middleditch: Well, when it’s time to go, I look at myself in the mirror. And say to myself, you can do this, you’ve got it, go for it. Then they hand me a little cup of fruit chunks and pudding and stuff, then I put it in my mouth. And I just throw it out of my mouth. I fill it up, and I let her rip.

SFGATE: Most of the characters in the show have evolved a lot over the years …



Martin Starr: Mine didn’t.



SFGATE: What’s it like playing that rock of a character?



Starr: Clearly, he was perfect to begin with. So there was nowhere to go from there. Every year is a good vintage for Gilfoyle.

SFGATE: Amanda, you’re usually the straight one in the group when the rest of the guys are making jokes. How do you keep from breaking?



Amanda Crew: You just pinch your thigh; cause some pain in your body. I’ll always spit laugh at some point. It’s hard when the room’s hot. If I break, I can’t stop laughing. As soon as they tell you, 'Come on, you got to get going,' that’s when you can’t stop. So you pinch yourself until you bleed. You’ll see some blood on Monica’s thigh.

SFGATE: Zach, how early in the show was it decided that your character f--ks?



Zach Woods: I think that the audience was not gonna buy that he doesn’t f--k, based on casting. His body is so strange, how could he not?



Middleditch: How does this four-limbed spider not f--k?



Woods: It was undermining the credibility of the show. Russ Hanneman says it for the first time. And I was delighted, because I do feel that in real life, a guy like Jared would have romantic success. He has a sort of quiet confidence. And is a good listener. Unlike certain people! [Note: Here Woods looks at SFGATE with disappointment]



Middleditch: I do listen!



Woods: No, not you. Him. [Woods points at SFGATE, then turns to Middleditch]. You weren’t listening!

-----

RELATED: See all the start-up Easter eggs in HBO's new 'Silicon Valley' intro

Dan Gentile is a digital editor at SFGATE. Email: Dan.Gentile@sfgate.com | Twitter: @Dannosphere