Skip to content

Instantly share code, notes, and snippets.

@minhtriet
minhtriet / Equity.md
Created June 2, 2025 09:58 — forked from isaacsanders/Equity.md
Joel Spolsky on Equity for Startups

This is a post by Joel Spolsky. The original post is linked at the bottom.

This is such a common question here and elsewhere that I will attempt to write the world's most canonical answer to this question. Hopefully in the future when someone on answers.onstartups asks how to split up the ownership of their new company, you can simply point to this answer.

The most important principle: Fairness, and the perception of fairness, is much more valuable than owning a large stake. Almost everything that can go wrong in a startup will go wrong, and one of the biggest things that can go wrong is huge, angry, shouting matches between the founders as to who worked harder, who owns more, whose idea was it anyway, etc. That is why I would always rather split a new company 50-50 with a friend than insist on owning 60% because "it was my idea," or because "I was more experienced" or anything else. Why? Because if I split the company 60-40, the company is going to fail when we argue ourselves to death. And if you ju

@minhtriet
minhtriet / graph_ml.md
Last active December 16, 2020 08:11
Graph ML

Properties of relation

  • Reflexive $x R x$, irreflexive, neither reflecive nor irreflexive (Sometimes reflexive, sometimes not depends on $x$)
  • Symmetricity $a R b \implies b R a$

Graph

Metrics

  • Average length
  • Cluster factor (How well connected are neighbors of $n_i$)
@minhtriet
minhtriet / dl_implementation.md
Created October 14, 2018 09:20
Some collected tips in DL implementation

In general you can expect tf.nn.sparse_softmax_cross_entropy_with_logits to be way better optimized because it processes logits directly instead of just applying xent to a probability distribution. Good news: it's trivial to use in Keras, when you need it.

@minhtriet
minhtriet / .tmux.conf
Last active December 8, 2017 13:50
TMUX and CUDA config
set-option -g prefix C-a
bind-key C-a last-window
set -s escape-time 0