Navigation Menu

Skip to content

Instantly share code, notes, and snippets.

@rust-play
rust-play / playground.rs
Created April 27, 2018 21:58
Code shared from the Rust Playground
pub struct MultiAddrTcpStream {
addrs: Vec<SocketAddr>,
future: Option<IoFuture<TcpStream>>,
timeout: Option<time::Duration>,
last_err: Option<io::Error>,
}
impl MultiAddrTcpStream {
pub fn connect(mut addrs: Vec<SocketAddr>) -> MultiAddrTcpStream {
Self::new(addrs, None)
@yossorion
yossorion / what-i-wish-id-known-about-equity-before-joining-a-unicorn.md
Last active April 7, 2024 22:55
What I Wish I'd Known About Equity Before Joining A Unicorn

What I Wish I'd Known About Equity Before Joining A Unicorn

Disclaimer: This piece is written anonymously. The names of a few particular companies are mentioned, but as common examples only.

This is a short write-up on things that I wish I'd known and considered before joining a private company (aka startup, aka unicorn in some cases). I'm not trying to make the case that you should never join a private company, but the power imbalance between founder and employee is extreme, and that potential candidates would