Skip to content

Instantly share code, notes, and snippets.

View dmtroyer's full-sized avatar

David Troyer dmtroyer

  • University of Wisconsin-Madison
  • Madison, WI, USA
View GitHub Profile
@yossorion
yossorion / what-i-wish-id-known-about-equity-before-joining-a-unicorn.md
Last active April 15, 2025 22:49
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

require "capybara"
html = DATA.read
app = proc { |env| [200, { "Content-Type" => "text/html" }, [html] ] }
sess = Capybara::Session.new(:selenium, app)
sess.visit("/")
__END__
SyntaxError: (RegexpError) incompatible character encoding: /[\s\u0085\u00a0\u1680\u180e\u2000-\u200a\u2028\u2029\u202f\u205f\u3000]+/
/Users/kme/.rvm/gems/jruby-1.7.0@cr_orderflow/gems/capybara-2.0.1/lib/capybara/helpers.rb:17:in `normalize_whitespace'
/Users/kme/.rvm/gems/jruby-1.7.0@cr_orderflow/gems/capybara-2.0.1/lib/capybara/selenium/node.rb:4:in `text'
/Users/kme/.rvm/gems/jruby-1.7.0@cr_orderflow/gems/capybara-2.0.1/lib/capybara/node/element.rb:48:in `text'
/Users/kme/.rvm/gems/jruby-1.7.0@cr_orderflow/gems/capybara-2.0.1/lib/capybara/node/base.rb:77:in `synchronize'
/Users/kme/.rvm/gems/jruby-1.7.0@cr_orderflow/gems/capybara-2.0.1/lib/capybara/node/element.rb:48:in `text'
/Users/kme/.rvm/gems/jruby-1.7.0@cr_orderflow/gems/capybara-2.0.1/lib/capybara/node/document.rb:21:in `text'
/Users/kme/.rvm/gems/jruby-1.7.0@cr_orderflow/gems/capybara-2.0.1/lib/capybara/node/matchers.rb:204:in `has_text?'
/Users/kme/.rvm/gems/jruby-1.7.0@cr_orderflow/gems/capybara-2.0.1/lib/capybara/node/base.rb:77:in `synchronize