HNHacker News
TopNewBestAskShowJobs

JHonaker

618 karma · joined November 8, 2014

submissionscomments
JHonaker··on How to win a beer with high-dimensional statistics
After seeing the claim, I knew it would work because of a few intuitive things:

1. Things that are the result of a very large number of small perturbations follow a Gaussian distribution.

1a. Word embeddings are the result of millions/billions/trillions of small perturbations (i.e. gradient descent)

2. As you increase the dimension, d, of a multivariate Gaussian distribution, the actual mass of the data is increasingly concentrated in the thin spherical shell. For MVN distributions with standardized marginal dimensions, this is on the sphere of radius \sqrt{d}.

In fact when I searched "Gaussian curse of dimensionality" I got this at the top result: [1] which shows this phenomena perfectly. Or this one with pretty interactive pictures [2]

[1]: https://www.miryusupov.com/blog/posts/thin-shells/index.html

[2]: https://aseemrb.me/blog/high-dimensional-gaussians-on-a-sphe...

JHonaker··on Major breakthrough made on Navier-Stokes Problem
Any non-paywalled version of this?
JHonaker··on Super Mario Derivations
What a delightfully insane abuse of Nix. I enjoyed reading that immensely.
JHonaker··on DeepSeek Harness developer preview
As far as I can find, Cordis didn't exist before they shared it with this harness. It is very likely that its because I didn't search in Chinese (as I don't know it). Can you explain the evolution of it from the different versions?
JHonaker··on DeepSeek costs OpenCode Go user $1.14/day; dual DGX breaks even in 24 years
You have to enable explicit opt-in to use models hosted in China now. This changed in July +/- 2w. I already used DeepSeek, but it was nice to make that explicit for people that were concerned.
JHonaker··on Waveloop: What Fable left me
I physically cringed at both the quote and the surrounding section. The idea of this project is cool, but the amount of LLM glazing is bizarre.
JHonaker··on Why Janet? (2023)
> capable of breaking SBCL's jaw

What exactly do you mean by this? Speed? Portability? Ease of use?

JHonaker··on A desktop made for one
Even better!
JHonaker··on ggsql: A Grammar of Graphics for SQL
Totally get that. I was mostly just long-windedly complaining that the one problem I have with it seems to be exacerbated by, not fixed, by this. I was also hoping someone would say “oh it’s actually way easier than you think, see (amazing link).”

I really do think it’s a good idea to explore! Sometimes I feel crazy because I’m the only one in my department that prefers to just write SQL to deal with our DBs instead of fiddling with a python/R connector that always has its own quirks.

JHonaker··on ggsql: A Grammar of Graphics for SQL
I applaud the project, and I completely agree that the concepts maps nicely to SQL. The R equivalent of a WITH data prep block followed by the VISUALIZE is pretty much how all my plotting code is structured.

However, I don't see what the benefits of this are (other than having a simple DSL, but that creates the yet another DSL problme) over ggplot2. What do I gain by using this over ggplot2 in R?

The only problem, and the only reason I ever leave ggplot2 for visualizations, is how difficult it is to do anything "non-standard" that hasn't already had a geom created in the ggplot ecosystem. When you want to do something "different" it's way easier to drop into the primitive drawing operations of whatever you're using than it is to try to write the ggplot-friendly adapter.

Even wrapping common "partial specificiations" as a function (which should "just work" imo) is difficult depending on whether you're trying to wrap something that composes with the rest of the spec via `+` or via pipe (`|>`, the operator formerly known as `%>%`)

JHonaker··on Kent Beck: Parkinson's
Most of the memories I have of my grandmother are post-serious Parkinson's progression. She was able to live a very long life, but it seriously affected her. Good luck, hoping for the best for you.

Fuck Parkinson's.

JHonaker··on Bayesian statistics for confused data scientists
I’m not sure what your professional experience is in, but as a counterpoint, I’ve never been in a situation where I hadn’t wished for a system I’m working with to already be in a Bayesian framework. Having said that, I only occasionally am building things from scratch instead of modifying existing systems, so I’m not always lucky enough to be able to work with them.

The pain points around getting a sampler/model pairing working in a reasonable timeframe is definitely a valid complaint. In my experience, inference methods in Bayesian stats are much less forgiving of poorly specified models (or said another way, don’t let you get away with ignoring important structural components of the phenomena of interest). A poorly performing model (in terms of sampler speed/mixing) is often a sign of a problem with the geometry of the parameter space. Frustratingly this can sometimes be a result of conceptually equivalent, but computationally different parameterizations (e.g. centered vs non-centered multi level effects).

The struggles are worth it IMO because it is helpful feedback that helps guide design, and the ease with which I can compute meaningful uncertainty bounds on pretty much any quantity of interest is invaluable.

JHonaker··on Diode – Build, program, and simulate hardware
I shorted it and it crashed the page. I feel like that was appropriate. :D
JHonaker··on Bayesian Data Analysis, Third edition (2013) [pdf]
My go to for teaching statistics is Statistical Rethinking. It’s basically a course in how to actually thing about modeling: what you’re really looking for is analyzing a hypothesis, and a model may be consistent with a number of hypotheses, figuring out what hypotheses any given model implies is the hard/fun part, and this book teaches you that. The only drawback is that it’s not free. (Although there are excellent lectures by the author available for free on YouTube. These are worth watching even if you don’t get the book.)

I also recommend Gelman’s (one of the authors of the linked book) Regression and Other Stories as a more approachable text for this content.

Think Bayes and Bayesian Methods for Hackers are introductory books from a beginner coming from a programming background.

If you want something more from the ML world that heavily emphasizes the benefits of probabilistic (Bayesian) methods, I highly recommend Kevin Murphy’s Probabilistic Machine Learning. I have only read the first edition before he split it into two volumes and expanded it, but I’ve only heard good things about the new volumes too.

JHonaker··on The sisters “paradox” – counter-intuitive probability
Any time you start conditioning on something, i.e. selecting subsets of data to analyze. You can fool yourself quite often if you do something seemingly innocuous like select "everyone with at least one X" and compare expectations to what's true unconditionally (meaning not conditioning on anything, not "in all cases") with conditional computations.
JHonaker··on You Don't Need Monads
This is beautiful whether you interpret it genuinely or as satire.
JHonaker··on Machine Learning: The Native Language of Biology
Agreed wholeheartedly. I have argued with the VP of our department about this paper quite a few times.

I feel like Breiman sets up a strawman that I've never encountered when I work with my colleagues that are trained in the statistics community. That doesn't mean it didn't exist 25 years ago when he wrote it. I concede that we are sometimes willing to make simplifying assumptions in order to state something particular, but it's almost like we've been culturally conditioned to steep everything we say with every caveat possible.

Whereas I am constantly having to point out the poor feedback we've had about some of the XGBoost models despite the fact that they're clearly the most "predictive" when evaluated naively.

JHonaker··on Consider Knitting
> I'm so slow it takes too much time for me to not think that it's a waste of time because I could have done something more meaningful instead.

That's the funny thing about the idea of meaningful things. It is solely determined by what you think is meaningful. Personally, just sitting and making something is an extremely meaningful activity to me.

JHonaker··on What will happen if you do an entire woodworking project using a VR headset? [video]
Sometimes even eye to brain to hand latency is too long...
JHonaker··on Show HN: I made a tool that generates your Chinese name based on your name
Very neat, but audio doesn't work on desktop either. (Linux, Firefox) I had an old-school generated voice say "Chinese letter Chinese letter Chinese letter." It was definitely amusing, but I don't think that's what you were going for.
JHonaker··on Ross Ulbricht granted a full pardon
Wow. I thought you were being glib, but the average comment length is noticeably higher in the linked discussion. While length isn’t necessarily a valid proxy for meaningful conversation, this was definitely an eye-opening contrast to the current thread.
JHonaker··on Zuckerberg approved training Llama on LibGen [pdf]
Yes but your library still legally obtained those copies in the first place.
JHonaker··on Defining Statistical Models in Jax?
Ah, I did not realize that the `realNVP` was a link! Thanks.
JHonaker··on Defining Statistical Models in Jax?
Thanks! I've read the first one before. I'll take a look at the other two!
JHonaker··on Defining Statistical Models in Jax?
I'm very excited by the work being put in to make Bayesian inference more manageable. It's in a spot that feels very similar to deep learning circa mid-2010s when Caffe, Torch, and hand-written gradients were the options. We can do it, but doing anything more complicated than common model structures like hierarchical Gaussian linear models requires dropping out of the nice places and into the guts.

I've had a lot of success with Numpyro (a JAX library), and used quite a lot of tools that are simpler interfaces to Stan. I've also had to write quite a few model-specific things from scratch by hand (more for sequential Monte Carlo than MCMC). I'm very excited for a world where PPLs become scalable and easier to use /customize.

> I think there is a good chance that normalizing flow-based variational inference will displace MCMC as the go-to method for Bayesian posterior inference as soon as everyone gets access to good GPUs.

Wow. This is incredibly surprising. I'm only tangentially aware of normalizing flows, but apparently I need to look at the intersection of them and Bayesian statistics now! Any sources from anyone would be most appreciated!

JHonaker··on Damas-Hindley-Milner inference two ways
There's no reason you still can't!
JHonaker··on Sorry, GenAI is NOT going to 10x computer programming
I've been looking for such a walkthrough for months. I can't find anyone actually showing them working and building something. There are plenty of, "look at this code this thing spit out that successfully builds," but I've not been able to find anything I would consider truly showing someone building something novel.

If anyone has a YT video or a detailed article, please show me!

JHonaker··on TiddlyWiki5 – A self-contained JavaScript wiki for the browser
I am not the author of the book!

As far as the wiki: It's not hosted. It's just on my local machine. You basically just drop the minified JS library in a tiddler and then create a custom widget type and a ViewTemplate to automatically display the widget when the content-type is the correct one.

I used http://whatfettle.com/2008/05/TiddlyProcessing/ as the basis (although it's old) and the main docs on creating a custom widget (https://tiddlywiki.com/dev/#Javascript%20Widget%20Tutorial)

JHonaker··on TiddlyWiki5 – A self-contained JavaScript wiki for the browser
I love TiddlyWiki. I've been developing a highly non-linear document for some conceptual documentation with it at work.

If you want to see what you can really do with TW, or want to learn how, check out Grok TiddlyWiki (https://groktiddlywiki.com/read/)

I built a personal chess knowledge base with it too. I added a content-type that let me just paste in a plain-text representation of the game and it would display the game with an interactive board.

JHonaker··on Quote-unquote "macros"
Ah, I see. I read the article, but not the links. I even searched for eigenvalue/eigenvector to see if I was crazy.

The first linked article is very good. I always enjoy Ian’s work.

Page 1 of 8Next →