HackerTrans
TopNewTrendsCommentsPastAskShowJobs

zevets

no profile record

comments

zevets
·지난달·discuss
https://www.cancer.org/content/dam/cancer-org/research/cance...

Page 2 has the figure. Getting people to not smoke has been the most effective treatment in our lifetime.

Public health is a really big deal, and RFK et al are a disaster for the nation.
zevets
·8개월 전·discuss
I think this is a major mistake for Zig's target adoption market - low level programmers trying to use a better C.

Julia is phenomenally great for solo/small projects, but as soon as you have complex dependencies that _you_ can't update - all the overloading makes it an absolute nightmare to debug.
zevets
·10개월 전·discuss
For better or worse, Fortran is still a popular language to write clever PDE schemes in, as it maximizes "time to first, fast-enough-running code".

But for anything with a userbase of more than ~15 people, C/C++ are widely preferred.
zevets
·10개월 전·discuss
Julia's choice to encourage people naming their variables greek letters is bad though. There's a whole group of students who struggle with the symbols, but understand the concepts (a residual). Julia, when used to its full capabilities, gains an enormous amount of its power from a huge amount of clever abstractions. But in the 1st-course-in-numerical-methods class context, this can be more offputting than the "why np?" stuff this article mentions.

For teaching linear algebra, MATLAB is unironically the best choice - as the language was originally designed for that exact purpose. The problem is that outside of a numerical methods class, MATLAB is a profound step backwards.
zevets
·10개월 전·discuss
Alternatively, any implementation of operator+ should have a notional identity element, an inverse element and be commutative.
zevets
·10개월 전·discuss
I can do it, and I do similar such things in C++ - but the biggest benefit of "safe defaults" is the standardization of such behaviors, and the resultant expectations/ecosystem.
zevets
·10개월 전·discuss
Please do this.

But first: we need to take step-zero and introduce a type "r64": a "f64" that is not nan/inf.

Rust has its uint-thats-not-zero - why not the same for floating point numbers??
zevets
·12개월 전·discuss
It's slightly less cynical than that - it takes about eight years to design a space mission and rocket, but doing the detailed design is expensive as hell, so in order to meet a budget, they then change the mission, so they can go back to the vastly more affordable task of talking about doing work, vs doing work