News for hackers. Stuff that matters.

oogway8020

Re:Bayesian Data Analysis, Third edition [pdf] on Monday September 29, 2025 @08:45AM (#45413043)
Here is one path to learn Bayesian starting from basics, assuming modern R path with tidyverse (recommended):

First learn some basic probability theory: Peter K. Dunn (2024). The theory of distributions. https://bookdown.org/pkaldunn/DistTheory

Then frequentist statistics: Chester Ismay, Albert Y. Kim, and Arturo Valdivia - https://moderndive.com/v2/ Mine Çetinkaya-Rundel and Johanna Hardin - https://openintrostat.github.io/ims/

Finally Bayesian: Johnson, Ott, Dogucu - https://www.bayesrulesbook.com/ This is a great book, it will teach you everything from very basics to advanced hierachical bayesian modeling and all that by using reproducible code and stan/rstanarm

Once you master this, next level may be using brms and Solomon Kurz has done full Regression and Other Stories Book using tidyerse/brms. His knowledge of tidyverse and brms is impressive and demonstrated in his code. https://github.com/ASKurz/Working-through-Regression-and-oth...

Re:Ask HN: What Are You Learning? on Monday April 01, 2024 @02:02PM (#39897079)
Are you aware of python first libraries like build123d and cadquery? build123d has an improved API over cadquery, excellent docs and no dependency on conda. Best tool for modern parametric python CAD.
Re:Ask HN: What Are You Learning? on Monday April 01, 2024 @01:55PM (#39896982)
I find bayesrulesbook.com to be the best book on bayesian statistics, it's free online html version. Excellent examples, using stan.
There is a large number of html format books on bookdown.org, mostly related to Data Science and R, lots of Bayesian too. There are some more theoretical math books there, one of which I found to be very well written: Theory of Distributions by Peter K. Dunn
I just started reading Book of Proof by Richard Hammack and I agree it's an amazing book
Tidyverse is awesome, RStudio too
Re:Today I released my first book about Ruby on Tuesday May 18, 2021 @08:49AM (#27193873)
I am a big fan of roda and especially sequel. Both libraries are masterfully developed and maintained by Jeremy Evans. While roda is very nice and offers some features like routing tree, I could live without it, padrino and rails are good too. Value of roda is in amazing stability of the library and great documentation and support from Jeremy. But for me it's the sequel that is irreplaceable. Sequel offers flexibility and code efficiency I haven't seen in any other DB query library. You'll have to pry sequel from my cold dead hands.

I am currently working on a small project that has to use some python libraries because they are just not available in ruby (CAD application). While I can use flask for routing, it's the DB query lib that makes me split it in two, roda+sequel for all front/back end, and passing json only to second part (python flask) that will generate required objects.

Good luck with your book.

As a Software Developer, after working with CEO/CFO/Accountants on Managerial (Cost) Accounting Projects, I started appreciating it as one of the most important areas in the business. Started casually studying it so I can easier understand it in software requirements. If Costing Analysis and especially Overhead are important in your business, classic textbooks by Horngren and/or Garrison are great and also there is an excellent series on Managerial Accounting by prof. Mark Meldrum on youtube
Re:Show HN: Ruby One-Liners Cookbook on Thursday October 01, 2020 @10:39AM (#24651322)
Ruby brings me joy of programming. Like this morning, doing a report for year, month and getting the last day of the month is absolute genius: Date.new(year, month, -1) # wow
Where I see potential for using tools as cadquery is with product type configurators which are often part of ERP software aka CPQ (Configure-Price-Quote). Cadquery generated model would be part of the Configure. Of course this wouldn't work for complex product, but there are companies out there that may need a configurator for relatively simple product
It comes from the customers. They know what they want.
Here is one: shafts for power transmission equipment, in our case belt conveyors for bulk material handling. Shafts for pulleys come in all shapes and sizes, ideal use case for code generated models and Cadquery.

I'm very excited that such project exists, API is super nice, you can hook it up with a web server and anything else in python ecosystem. Then our sales people who are tech knowledgeable, but are not engineers can do this for customers without going to engineering. This saves time and shortens the sales cycle

Re:Autodesk Fusion 360 becomes almost useless for hobbyists on Thursday September 17, 2020 @10:45AM (#24505235)
Cadquery is a very nice python only API, based on the OpenCascade, much better API then FreeCAD. So someone looking to make parametric models via code, I think it's the best option out there.
Re:Story of Odoo: Open-Sourced Competitor to Oracle, SAP on Monday December 23, 2019 @10:46PM (#21869670)
My whole programming career has been around custom and standard ERP and internal business apps. I am in mfg too, just not a large enterprise. Low bureacracy, easy to get things done, joy when you see your software improves your coworkers work daily. I also had an an idea of making a new ERP, something that will have a strong both financials and manufacturing and not much else, so a bit narrow focus, but it would cut a lot of baggage that first and second tier ERP carry. Closest I can think of it is Dynamics GP as a modern web app. I never worked with GP, only looked thir user guides and youtube videos, but without actual app as a reference it is hard to make any progress.
Re:Gitlab ‘rethinking’ third-party telemetry on Thursday October 24, 2019 @11:54AM (#21345871)
My bigger problem is that gitlab wouldn't allow me to register user account with yandex email, saying 'email is not from an allowed domain'
Not only it is a high quality codebase, support from Jeremy is a top notch, there are no outstanding issues, everything gets fixed promptly. It's been a great joy using both sequel and roda all these years
Re:To ORM or Not to ORM on Wednesday May 08, 2019 @09:54AM (#19858802)
I have been lucky to be able to pick what I want to use, so I pick non-rails stack (Sinatra/Padrino and now Roda + Sequel). No other tool works as half as Sequel. You're gonna have to pry Sequel from my cold dead fingers.
Re:It’s Hard to Learn French in Middle Age on Tuesday April 30, 2019 @08:48AM (#19787411)
I started learning french at 50 to be an example to my teenage son, encouraging him to learn a second language rather than playing fortnite. It is harder when you are not in french speaking area/country. Everything around us is english. I listen ici.radio-canada during commute and after 6 month in, I can understand 60-70%. But if I would be in Quebec listening french all day, I think learning would be much faster even at middle age.
Re:Svelte 3: Rethinking Reactivity on Monday April 22, 2019 @04:26PM (#19722614)
I admire Rich Harris' work as well. 4 years ago I was picking my first SPA framework. Narrowed it down to Ractive and Vue. Picked ractive, it had a beautiful documentation and tutorial. Still have an app in production based on ractive. But author abandoned it. Then vue 2 took off. I didn't have a choice but switch. Recently I started playing with Svelte/Sapper again. I like it a bit better than vue for some reason and was looking to use it in the next project of mine. So svelte 3 comes at right time for me.

The author is a brilliant developer, but he should narrow his focus on Sapper/Svelte now, beside which he has many other projects (rollup, etc...)