Hacker Newsnew | past | comments | ask | show | jobs | submit | farrellm23's commentslogin

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.

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.

That's what the 30x instead of 20x multiple is, for a "growth" tech company.

There's no strong evidence that openAI or anthropic will have non-linear revenue growth, so I'm not sure what point you're trying to make. Unless you think they'll fire all their engineers and replace them with agents or something crazy?


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.


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.


The naming conventions are nicely sadistic.


This is what happens when you let Mathematicians name things on chalkboards. They don't want to run out of chalk and they get tired of spelling whole words very easily so they use short names and silly symbols. The name foldl' is "just" "fold left prime". Remember ' means "prime" from calculus class and thinking that was silly even then? Accidentally infected Haskell at a young age.


> This is what happens when you let Mathematicians name things on chalkboards.

Doubly so with APL!


Yeah it's definitely unusual to allow ' to be part of the name of a variable, especially considering that it is, like C, the quote for character types.


In Haskell's case that is indirectly Lisp's fault. Lisp heard of Algol (C's design-by-committee "grandparent" on the family tree) identifier restrictions and thought they were silly. (I think Lisp is also often classified as Haskell's great-grandparent on the family tree? Lisp -> Scheme -> ML -> Haskell, I think?) As with most of that FP family the boundary between "operator" and "identifier" is real thin to nonexistent.

Aside: I've got half a feeling you could implement an APL-like directly in Haskell as a DSL using Unicode-named functions. I've seen Unicode Haskell files that look like APL (and GHC supports a surprising amount of that almost out of the box, as I recall).


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.


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.


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...


Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: