Live data from Hacker News

Finding the Air Cannon

twobraids.com

11–20 of 47 posts

Re: Finding the Air Cannon

#11

I was thinking that you’d need a pretty accurate clock reference to do this, automatically triggering based on a microphone to log the time. But I guess not. Sound is slow on a distance scale of miles, so timing it to the nearest second is good enough.

A person's auditory reaction time is probably below 1s and that would throw off your calculation by ~340m. Most farms are larger than 340m in any direction so you still end up within the same property area.

Re: Finding the Air Cannon

#12

I was thinking that you’d need a pretty accurate clock reference to do this, automatically triggering based on a microphone to log the time. But I guess not. Sound is slow on a distance scale of miles, so timing it to the nearest second is good enough.

GPS sync allows phones to have accurate time to within microseconds if not hundreds of nanoseconds. Since sound travels ~300 m/s even 100ms only adds about 30 meters error. That's more than accurate enough to pin point a plot of land.

Re: Finding the Air Cannon

#13
post #10

I really dislike Python. This is a clean install of Python straight from the Python developers in a clean container. And it doesn't work. I figured I must need "points" so I pip-installed that. Feels like every time I try to use Python, stupid, incomprehensible errors such as this occur: ``` root@1623eb794014:/# ./tri.py Traceback (most recent call last): File "//./tri.py", line 6, in from points import Point, Block…

That's because the points package [1] (which is a dead project) doesn't have a Point class. The code in the article is probably referring to their own custom module that they never shared. No programming language lets you import code that only exists on somebody else's hard drive.

[1] https://pypi.org/project/points

Re: Finding the Air Cannon

#14
post #10

I really dislike Python. This is a clean install of Python straight from the Python developers in a clean container. And it doesn't work. I figured I must need "points" so I pip-installed that. Feels like every time I try to use Python, stupid, incomprehensible errors such as this occur: ``` root@1623eb794014:/# ./tri.py Traceback (most recent call last): File "//./tri.py", line 6, in from points import Point, Block…

In this case it’s the fault of the author in either not including all the source code, or having undocumented dependencies

Re: Finding the Air Cannon

#15
>>> Farmers with field crops are often beset with Canadian Geese overwintering in the Willamette Valley.

No. I strongly suspect they are dealing with Canada Geese. They are dominant in the photos. Canadian geese would be some random species of geese carrying a Canadian passport. Canada geese are the distinct grey-black species aka cobra chickens.

https://midwesternnewspapers.com/dont-cross-the-dreaded-cana...

Re: Finding the Air Cannon

#17

>>> Farmers with field crops are often beset with Canadian Geese overwintering in the Willamette Valley. No. I strongly suspect they are dealing with Canada Geese. They are dominant in the photos. Canadian geese would be some random species of geese carrying a Canadian passport. Canada geese are the distinct grey-black species aka cobra chickens. https://midwesternnewspapers.com/dont-cross-the-dreaded-cana...

Pedantic snark aside, "cobra chicken" is god damned hilarious.

Re: Finding the Air Cannon

#18
This is a clever approach and it got me wondering a few things.

An hour or so from where I live there have been complaints about an infrequent low rumbling sound for years[0]. I'd wondered -- at the time -- why you couldn't just do something like they do with the gunshot detectors to find the source of the sound[1]. I suspect there must be a technical/physics reason that I am not familiar with. This article re-enforced that thinking for me -- I think I've heard one of these air cannons, before (I have not heard the Windsor Hum), and its characteristics seem more like a gunshot kind of sound than what's described here but ... if you can record the time it starts from three different points (and all you're looking for is "an area roughly the size of a large factory" because it had always been suspected to be one of the plants along the river), wouldn't this approach have been simple/cheap enough to do to figure it out[2]?

[0] https://www.npr.org/2020/08/04/898853311/it-took-a-pandemic-... -- it was solved because a steel plant shut down and the problem went away.

[1] Part of the problem was that a subset of the population could hear it and a subset of that population noticed it enough to be bothered about it so it kind of led to a large number of people dismissing complaints as "people who complain about WiFi signals harming their health"

[2] And if I answer my own question: I suspect it probably was and I suspect the reason it wasn't done is that nobody cared enough to do it, really. :)

Re: Finding the Air Cannon

#19
I really like the usage here. I would love to generalize the app to find people hunting and setting off fireworks at impolite times.

Why did you use pixels on a map image for location, instead of GPS? Phones have GPS these days. You could have a simple app where you push the button when you hear the noise, it reports to a cloud function, and instantly triangulates and throws a point on your favorite map program.

Re: Finding the Air Cannon

#20

>>> Farmers with field crops are often beset with Canadian Geese overwintering in the Willamette Valley. No. I strongly suspect they are dealing with Canada Geese. They are dominant in the photos. Canadian geese would be some random species of geese carrying a Canadian passport. Canada geese are the distinct grey-black species aka cobra chickens. https://midwesternnewspapers.com/dont-cross-the-dreaded-cana...

Not sure why you are being downvoted, this is the best kind of pedanticism.
Post reply on HN