Live data from Hacker News

Show HN: I made a website to find best bus seat to avoid the sun while traveling

sitinshade.com

191–200 of 221 posts

Re: Show HN: I made a website to find best bus seat to avoid the sun while traveling

#191

In a related vane, has there ever been a map/routing app that included weather forecasts visually on the map? Like, a storm cloud on route ahead that is based on the forecast for that position at the estimated time you'll reach it. I feel like routing apps have completely stagnated basically since the Waze acquisition by Google.

It’s common in boating, for sure!

Re: Show HN: I made a website to find best bus seat to avoid the sun while traveling

#192
post #151

Earlier quoted context omitted.

You need a feature to tell you to sit on the "wrong" side ? There's just two sides !

Well, I don't _need_ it of course :-) Just saying it would be cool.

Cool? Or warmer?

Re: Show HN: I made a website to find best bus seat to avoid the sun while traveling

#193

You should team up with the people who wrote zonopjebakkes/seatsinthesun, which is used for finding bars and cafes that have terraces that are still in the sun, mostly useful in late summer afternoons as the evenings are getting shorter and cooler.

https://jveuxdusoleil.fr/ is another fun one.

Re: Show HN: I made a website to find best bus seat to avoid the sun while traveling

#194
post #130

Twenty-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.

Calculating the solar position is also pretty important when simulating power production of photovoltaics plants. So, the Python library pvlib has nice functions for working with this: https://pvlib-python.readthedocs.io/en/stable/reference/sola...

Re: Show HN: I made a website to find best bus seat to avoid the sun while traveling

#196
post #130

Earlier quoted context omitted.

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.

Way too late now, but to help others this fancy Excel sheet provided by NOAA is awesome! It implements all of these equations in Excel and is pretty easily portable to your programming language of choice. https://gml.noaa.gov/grad/solcalc/calcdetails.html P.S. Using this has made it clear to me how bad most sunrise/sunset calculators actually are.

> 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.

Re: Show HN: I made a website to find best bus seat to avoid the sun while traveling

#197
post #196

Earlier quoted context omitted.

Way too late now, but to help others this fancy Excel sheet provided by NOAA is awesome! It implements all of these equations in Excel and is pretty easily portable to your programming language of choice. https://gml.noaa.gov/grad/solcalc/calcdetails.html P.S. Using this has made it clear to me how bad most sunrise/sunset calculators actually are.

> 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

#198

This is the kind of tool I like. Not sure what kind of edge case I've hit though. Trip from Perth to Exmouth in Western Australia, leaving 1:13pm UTC+1000, ends up suggesting the wrong side. Preferred Seating : Left Side 1250 km / 776.41 miles :14h 40m 33s Sun Exposure Data Left Side: 49.62% Right Side: 7.94% No Sun: 42.44%

Left side sun exposure < 50%, at a guess.

Re: Show HN: I made a website to find best bus seat to avoid the sun while traveling

#199
This is a great idea! I see others have mentioned ferries, however when I put my route in (Bainbridge Island to Seattle, WA) it chose roads not the ferry. Any way to force it to use my ferry route rather than the 3 hour road trip it chose?

Re: Show HN: I made a website to find best bus seat to avoid the sun while traveling

#200
post #53

Earlier quoted context omitted.

Glass blocks 100% of UVB and 25% of UVA. So while you wont burn, light through glass will still cause skin damage.

Thanks - I learned something today. Looks like some bus companies treat their windows to block the UVA as well. Eg https://www.valleymetro.org/blog/2022/07/how-valley-metro-ke...

We need a little UVB everyday to maintain melanin (skin pigment) and skin thickness. If you work inside M-F and then go hard on the weekends outdoors, you will receive disproportionate damage from sunlight.

https://www.ncbi.nlm.nih.gov/pmc/articles/PMC3427189/

https://www.who.int/news-room/questions-and-answers/item/rad...

If you are blocking UVB, you should be blocking UVA as well. The bus folks are doing some good thinking.

Post reply on HN