Live data from Hacker News

My Mathematical Regression

blog.dahl.dev

81–90 of 159 posts

Re: My Mathematical Regression

#81
post #48

Earlier quoted context omitted.

2n choose n is just: you must move East 20 times and South 20 times. Hence any solution looks like a permutation of 20 Es and 20 Ss. Now, only look at the indices for the Es. There are 20 of them. Out of 40. 40 indices, pick 20. Those are East moves, the rest are South moves.

This interpretation also generalizes nicely to 3d. You have 60 moves, 20 of which will be up (60 choose 20), then 20 are east (40 choose 20), then 20 are south (20 choose 20).

That's a nice way to put it.

FWIW the generalization of binomial coefficient which allows you to express an n-dimensional solution is called a multinomial coefficient [0]. So in a 3d 20x20x20 box we would have (60 multichoose 20, 20, 20) paths.

Also, the wiki article doesn't mention this but the growth rate of (n multichoose k1, k2, ..., km) as we increase n but fix the ratios p1 = k1 / n, ..., pm = km / n is precisely the Shannon entropy of the categorical distribution with probabilities p1, ..., pm . The wiki article for entropy [1] states the result for the binomial coefficient, which can be written as (n choose k) = (n multichoose k, (n - k)) .

Actually a lot of basic information-theoretic results about entropy and related quantities (e.g. the properties of the Boltzmann distribution/softmax function) can be derived from similar discrete counting problems after taking a large-n limit. I don't have links at the ready but I might edit this comment if I remember places which explain this stuff.

[0] https://en.wikipedia.org/wiki/Multinomial_theorem#Number_of_...

[1] https://en.wikipedia.org/wiki/Entropy_(information_theory)#A...

Re: My Mathematical Regression

#82

Earlier quoted context omitted.

> If his monetary value to the company was as said why would any other metric like complexity even remotely matter Here is why: I turned off a feature flag in our feature flagging service which saved company 10% infra cost, do you think I can be promoted to Staff+ and lead 50 engineers? Promotions and/or recognitions in corporate environments works differently. I don't agree with it, but this is how it works: If what…

Same with executives and upper management. One cannot be a director/VP of 3 people. They need an empire…

One can be a VP of 0 people.

Look into what the title means at banks!

Re: My Mathematical Regression

#83
I can definitely relate. My brain also wants to take the path of least effort now, even for simple things like adding two numbers which I could do very quickly in my head in my college days.

And with AI the path of least (initial) effort seems to be to just ask the model to solve it. It might get it wrong and then I'll prompt it again and again. But each individual prompt is fairly low effort on my part. Whereas coming up with the right solution myself might've taken less time but the initial effort is a lot more.

Last year I used to romanticize about building at least 1 thing each month completely by hand without any LLM coding help. The last such project I worked on was 6 months ago so sadly it's not going so well.

Re: My Mathematical Regression

#85
post #7

I think one of the saddest thing is that the kind of person who would recognize, "we can solve this seemingly complicated problem by just applying this formula", would often have trouble even getting recognized in many corporate environments. I managed a guy like that. He was capable of very complex thinking, but he wasn't in love with complexity, he was in love with simplicity. His solutions tended to be of the form…

>> He eventually got bored. He retired and joined a seminary.

Wow, got bored and joined a seminary - Do you know how does he feel there? A genuine question - Did he expect to get excited and challenged in a seminary?

Re: My Mathematical Regression

#87
post #10
post #7

I think one of the saddest thing is that the kind of person who would recognize, "we can solve this seemingly complicated problem by just applying this formula", would often have trouble even getting recognized in many corporate environments. I managed a guy like that. He was capable of very complex thinking, but he wasn't in love with complexity, he was in love with simplicity. His solutions tended to be of the form…

I imagine this is where the reputation of a good manager comes in and the ability to say to their boss "hey, we should keep this guy... just trust me on this."

Good managers are fairly rare, even though every manager probably thinks they are a good manager.

Re: My Mathematical Regression

#88
I could be wrong but I feel this solution is not proved to be correct, but could be nevertheless the answer.

On the other side, my Math ability definitely goes down to Calculus and I definitely forgot most about geometry.

Re: My Mathematical Regression

#90
post #85
post #7

I think one of the saddest thing is that the kind of person who would recognize, "we can solve this seemingly complicated problem by just applying this formula", would often have trouble even getting recognized in many corporate environments. I managed a guy like that. He was capable of very complex thinking, but he wasn't in love with complexity, he was in love with simplicity. His solutions tended to be of the form…

>> He eventually got bored. He retired and joined a seminary. Wow, got bored and joined a seminary - Do you know how does he feel there? A genuine question - Did he expect to get excited and challenged in a seminary?

If a smart guy joins a seminary then joining a seminary is probably smart.
Post reply on HN