TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Statistical Rethinking and Nix

31 pointsby HaoZekealmost 5 years ago

3 comments

xitriumalmost 5 years ago
&gt; Unfortunately, the rethinking package which is a major component of the book itself depends on the V8 engine for some reason.<p>This is my fault, in a sense. In order to get the new Stan compiler (written in OCaml) distributed via CRAN (which requires everything to be built from source on its antiquated build servers), we decided to use js_of_ocaml to translate the OCaml compiler into javascript. See this thread for more details: <a href="https:&#x2F;&#x2F;discourse.mc-stan.org&#x2F;t&#x2F;a-javascript-stanc3&#x2F;11044" rel="nofollow">https:&#x2F;&#x2F;discourse.mc-stan.org&#x2F;t&#x2F;a-javascript-stanc3&#x2F;11044</a><p>When I posted that, I didn&#x27;t really think we would end up using it.
评论 #23472171 未加载
SkyMarshalalmost 5 years ago
FYI, this is Part 2 of a series. Author mentions several times you need to read Part 1 to understand his objectives and rationales in Part 2. Having skimmed Part 2 before Part 1, I concur.<p>Part 1: <a href="https:&#x2F;&#x2F;rgoswami.me&#x2F;posts&#x2F;nix-r-devtools&#x2F;" rel="nofollow">https:&#x2F;&#x2F;rgoswami.me&#x2F;posts&#x2F;nix-r-devtools&#x2F;</a>
random3almost 5 years ago
This looks like a lot of work for something that could probably easily get done with a simple docker container. It&#x27;s probably a great exercise and example for Nix, but otherwise, looks like a &quot;nix hammer&quot; thing. Statistical Rethinking is a great book though :)
评论 #23463187 未加载