HackerTrans
TopNewTrendsCommentsPastAskShowJobs

farrellm23

no profile record

comments

farrellm23
·bulan lalu·discuss
This makes no sense: the whole point is to raise capital. The valuation is never just the current value of the assets; it’s based on the expected future cash flows. A good example is in biotech, some researcher developed a treatment and wants to develop a product. They have valuable IP but zero money. So they IPO to raise capital to bring the treatment to market. The investors expect that in the future, they will get dividends or a buyout.
farrellm23
·tahun lalu·discuss
Usually you want `foldl'` (with ' at the end), the strict version of `foldl`. It prevents the creation of intermediate thunks, so effectively a tail recursive iteration over the list in constant space.

`foldr` I almost never use, but it would be for: the return value is a lazy list and I will only need to evaluate a prefix.
farrellm23
·tahun lalu·discuss
Adding to this, stock prices should be plotted on a log scale since it is log returns that are roughly normal, and then 0 really makes no sense.