Show HN: I made a website to find best bus seat to avoid the sun while traveling
201–210 of 221 posts
Re: Show HN: I made a website to find best bus seat to avoid the sun while traveling
#202When I read the title, I was expecting the site to give you an optimal "seat" (13A), but I suppose for this would need to know the exact bus make and model.
Re: Show HN: I made a website to find best bus seat to avoid the sun while traveling
#203Parameters: - Toronto to Montreal at 3:21PM EST.
Re: Show HN: I made a website to find best bus seat to avoid the sun while traveling
#204Twenty-three years ago, during my daily trips to the university campus, I had the exact same idea. However, I became distracted by calculating the position of the sun and delved into astronomical algorithms, which led me to never complete it. Kudos to you, that's really impressive!
The hard part was obtaining information such as solar azimuth, altitude, declination, hour angle, etc without using external APIs. Spent around 5 days implementing backend.
I've previously used the formulas on this site to calculate the altitude/azimuth of the Sun and all the planets from a given lat/long/time on Earth.
Re: Show HN: I made a website to find best bus seat to avoid the sun while traveling
#205Re: Show HN: I made a website to find best bus seat to avoid the sun while traveling
#206I recently took a bus over the Andes and was congratulating myself on choosing a seat on the shady side. Then I realized that in the southern hemisphere the sun is in the north and I had outsmarted myself.
> Then I realized that in the southern hemisphere the sun is in the north That's not exactly true. South of the tropic of capricorn, the sun is in the north at noon. Between the equator and the tropic of capricorn the sun could be slightly towards the north or south or directly overhead at noon depending on the season. As for sunrise and sunset the sun could be just about anywhere if you go south enough and the seaso…
Re: Show HN: I made a website to find best bus seat to avoid the sun while traveling
#207Earlier quoted context omitted.
> P.S. Using this has made it clear to me how bad most sunrise/sunset calculators actually are. That may just be a function of how you define "sunrise" and "sunset". It is never as simple as "when the sun hits the horizon", but something about some number of arc minutes from something something.
Dependent on the refractive index, which depends on air density and temperature and humidity too; and we have to integrate over the region between the horizon and the upper atmosphere (diagonally, of course)…
Re: Show HN: I made a website to find best bus seat to avoid the sun while traveling
#208Re: Show HN: I made a website to find best bus seat to avoid the sun while traveling
#209Twenty-three years ago, during my daily trips to the university campus, I had the exact same idea. However, I became distracted by calculating the position of the sun and delved into astronomical algorithms, which led me to never complete it. Kudos to you, that's really impressive!
The hard part was obtaining information such as solar azimuth, altitude, declination, hour angle, etc without using external APIs. Spent around 5 days implementing backend.