Live data from Hacker News

Show HN: A basketball hoop to maximize shots that go in [video]

youtube.com

161–170 of 172 posts

Re: Show HN: A basketball hoop to maximize shots that go in [video]

#161
So I am guessing that the reason why this doesn't look like a sattelite dish is because 1) the focal point is not in the centre and 2) the ball doesn't rebound in straight lines.

Oh shoot, he does actually explain this exactly. He also mentions 3) speed of the ball. And then, 4) for lines that hit at the same point but with different trajectories and speeds, he takes the "average basketball shot".

The only other thing I am wondering about is what would happen if the ball were flat.

Re: Show HN: A basketball hoop to maximize shots that go in [video]

#162
post #136

Earlier quoted context omitted.

One of my favorite software solutions that I came up with was “human learning” powered. A few years ago I was working as the engineering manager at a small company. I had 8 other people who I was in charge of and we had moved to a new office in the middle of this. Our team took up two rooms in the office and I had to figure out who would be sitting where. I had some preconceived notions of who would be productive tog…

Is this how sports schedules, NFL, NBA, etc are made?

This is a pretty cool video about a couple that made the MLB schedule for years https://youtu.be/yT0CMOGKKhU

Re: Show HN: A basketball hoop to maximize shots that go in [video]

#163

Earlier quoted context omitted.

There are obvious ways that the physics engine might be able to capture more effects than a simple analytic solution of parabolic trajectories. But if it only lets you run the simulation forward to get a trajectory from initial conditions, then you now have a numeric optimization problem as the body of the inner loop of another optimization problem. If the physics engine can't efficiently solve the inverse problem he…

> you now have a numeric optimization problem as the body of the inner loop of another optimization problem Isn't solving the physics problem a straightforward ODE integration?

It's a straightforward integration to get from initial conditions of the ball throw and backboard angle to the post-bounce trajectory. Physics engines like Bullet will get you that solution very quickly. But determining which backboard angle puts the ball in the center of the hoop is not as straightforward if your physics engine is only designed to do numeric integration of the equations of motion to move a simulation forward in time. You have to run the simulation a few hundred times with different backboard angles to determine which setup puts the ball where you want it.

And that process needs to be done for all possible incoming ball trajectories that would hit that point of the backboard in order to figure out what backboard angle will maximize the number of shots that go in.

Re: Show HN: A basketball hoop to maximize shots that go in [video]

#165

I wonder if Greg Egan reads HN or whether he learnt about this in some other way, but this was his analysis of the same problem from five hours ago: https://twitter.com/gregeganSF/status/1251390966356795392

He credits the video as his inspiration in his 2/2 tweet.

Ok, I can't read. My excuse is it was late and I was going to bed :)

Re: Show HN: A basketball hoop to maximize shots that go in [video]

#166
post #78
post #69

Really impressed with the use of Monte Carlo method. A while back I ran into some resistance trying to advocate simpler statistical methods to solve a problem domain similar to this, while the team in question repeatedly wanted to reach for a machine learning solution. I'd love to know if I was wrong here. In my mind, when an algorithmic or heuristic path to a solution is available, we should attempt it first before…

A common trap in tech is to reach for the fanciest tool instead of the simplest. The best engineering often comes from mastery of the simple tools, and the most beautiful engineering is the one that makes you say 'that's so obvious, why didn't anyone ever come up with that before?'

test

Re: Show HN: A basketball hoop to maximize shots that go in [video]

#168
post #159
post #124

Earlier quoted context omitted.

Similar methods exists for all kinds of engineering problems, like architecture (form follows function), roofs, bridges, city planning, or just the economy. The optimal form is always an optimization problem. Just define the constraints. Maybe the most famous example is Gaudi calculating the form of the roofs of the Sagrada Familia, and then Frei Otto for the Munich Olympics. City planning is easier as their is no gr…

Speaking of Disney and architecture and parabolic shapes, apparently when the Disney concert hall was first built, the curved shapes of the building acted as parabolic reflectors which focused on nearby apartment buildings. They had to sand the panels to reduce the reflectivity because they were heating the apartments to as much as 140°F.

Good example. You need roughen it also for better sound quality on the inside. For Disney I had develop lot of linear algebra optimizations for smoothing which went over my head mostly, so I used symbolic solvers.

We don't have much sound optimization CAD programs, so we worked with light as replacement for sound, and looked at the reflections with raytracers. For the big, expensive concert halls and opera houses.

Re: Show HN: A basketball hoop to maximize shots that go in [video]

#169

I love this! I was expecting something more like Mark Rober's movign dartboard [0], which is super cool, but this is even more interesting, because of the way you used software to come up with a general solution in advance. Kudos!

Mark Rober is an interesting character. It feels like he pitches himself as a crazy inventor guy but it seems like he’s more akin to the head of a design laboratory that employs many other talented people. It’s not like he doesn’t acknowledge the other crazy-inventor people he commissions though, and I certainly don’t mean to paint him as a fraud. When he says things like, 1m45s into a video on a steerable bowling ba…

I don't admire him precisely because his videos are not about him. His videos are always about someone else and that's why he isn't worth admiring.

Re: Show HN: A basketball hoop to maximize shots that go in [video]

#170
post #18
post #16

Any physics experts know what the actual optimal shape is? I imagine it would be a pretty gnarly problem to work out.

Well, IIRC, theatrical lights use parabolic reflectors to focus a non-point source into a point on a lens, so that might be a good place to start.

[deleted]
Post reply on HN