n0nano
6K posts

n0nano
@n0coder
🚀i am atomic🚀 no abstractions, no blackboxes, anything can happen, the specifics don't matter. objects describe themselves. infinite ℵ and no ∅ possibilities



More languages should allow you to use dashes in identifiers, using whitespace to distinguish from subtraction, so `foo-bar` is an identifier but `foo - bar` is subtraction.



Local minima are rare in high dimensions because a strict local minimum has to curve upward in every direction, so all Hessian eigenvalues must be positive. In a D-dimensional toy model where eigenvalue signs are independent, that’s a 2^(-D) event. In GOE-like random matrix models, positive definiteness is even rarer, roughly exp(-cD^2). So as dimension grows, random critical points are much more likely to be saddles than minima. This is one reason high-dimensional optimization is often a saddle-escape problem, not a bad-local-minimum problem. Wrote up some of the math here: grantstenger.com/local-minima


JavaScript decided [] + [] equals "". C decided + adds numbers. one of these is a programming language. JavaScript's type coercion isn't a bug. it's a documented feature with 47 special cases that no human can hold in their head simultaneously. 0 == "0" is true. 0 == [] is true. "0" == [] is false. by the transitive property that makes no sense. by JavaScript's rules it makes perfect sense. C has 6 numeric types and one rule: promotion. that's it. the language has opinions. JavaScript has vibes.








