Better HN
topnewbestaskshowjobs
Log inSign up

farrellm23

20 karma · joined Nov 12, 2012 (14y ago) · 7 submissions

[ my public key: https://keybase.io/farrellm; my proof: https://keybase.io/farrellm/sigs/nUUZ6miYAYeMFER0j34ZHMuAM_cLuAuY1R6po_uZbQQ ]
Submissions

comment 2mo ago · link · parent

I doubt you need a full script or skill for that. I would try something like this straight in Claude Code (and will as soon as my 5 hour quota resets :-): Review this page: https://will-keleher.com/posts/small-programming-tricks-matt... Then, review my shell init scripts (both bash and fish) and shell history. Make recommendations based on the tips and tricks from the page.

comment 2mo ago · link · parent

You are comparing company valuations to annualized revenue (as approximated by some fraction of total knowledge worker compensation). Valuations are (roughly) based on the sum of all discounted future cash flows, not just the current year’s revenue.

comment 5mo ago · link · parent

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.

comment 1y ago · link · parent

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.

comment 1y ago · link · parent

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.

comment 3y ago · link · parent

A couple more examples of urgent but not important:

- Buying a pumpkin for Halloween: the stores are going to sell out of pumpkins and Halloween is going to pass, so it is urgent to buy a pumpkin while there are still pumpkins.

- Commenting on a controversy on social media: very quickly, the attention will move on to the next thing and you will lose the opportunity to comment on this thing.

comment 10y ago · link · parent

Shameless self promotion, but you might be interested in scad-clj [0]: a DSL to write OpenSCAD with Clojure. You can get a decent interactive environment combining an editor with an OpenSCAD window set to only show the render [1].

[0] https://github.com/farrellm/scad-clj

[1] https://adereth.github.io/blog/2014/04/09/3d-printing-with-c...