HN user

dimitrov

409 karma
Posts10
Comments14
View on HN

To add another data point: 4,000 IU (two Kirkland capsules) daily keeps my Vitamin D levels at the high end of the reference range. I also take six Kirkland fish oil capsules which happens to hit the 1,500 mg DHA+EPA target suggested in the article.

Honestly, Costco supplements are hard to beat since they're both USP certified and are usually the cheapest.

and bounded thread pools with bounded queues, FIFO policies, and silent drops are also bad.

Care to elaborate please? Seems like the author is recommending unbounded thread pools with bounded queues for blocking IO. Isn't that pretty similar?

Unreal, I recall seeing this a while back but I forgot to bookmark it and couldn't find it again. I really think that the actor model and functional pipelines are the correct way to do concurrency in most software these days. The actor model can be used to encapsulate mutable state when needed and functional pipelines otherwise.

I really think that Mathematica and Matlab failed to capitalize on the rise of AI and ML in the last decade. Seems like Python is the only go-to language these fields.

C++ State Machines 7 years ago

The proposed state table is hardly more scalable. It's obviously not infinitely scalable but In my proposed way, you only have to specify the cases where a state transition actually occurs.

C++ State Machines 7 years ago

Well another OO way would be to add a state member to the Heroine class and create a state class for every possible state (X,Y,Z). Each state can then be responsible for interpreting the input and transitioning to the next appropriate state (if any)