TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Show HN: My project : Load and display multiple wind-speed forecasts on one page

2 pointsby derefnullover 11 years ago

1 comment

derefnullover 11 years ago
In the spirit of &quot;shipping it&quot;, I wanted to share this quick project that I made for myself and my friends: <a href="http://derefnull.org/wx" rel="nofollow">http:&#x2F;&#x2F;derefnull.org&#x2F;wx</a><p>As an avid skydiver, I regularly check wind forecasts for multiple drop zones to determine which location is most suitable for the day of jumping. I was tired of manually entering each location each time I checked the weather forecast, so I created this app to simplify the process.<p>This web app will render multiple wind-speed forecasts on a single page for comparison. Once locations are entered in, the user can return to the page and refresh the forecast with a single click.<p>The app is nearly all client side, which is a new paradigm for me. The only server side component is a proxy script I made to get around a browser-side issue (<a href="http://en.wikipedia.org/wiki/Cross-origin_resource_sharing" rel="nofollow">http:&#x2F;&#x2F;en.wikipedia.org&#x2F;wiki&#x2F;Cross-origin_resource_sharing</a>)<p>The locations are validated with the Google Geocode API, stored in a client-side cookie (jquery.cookie), and rendered with Raphael JS. Weather forecasts are provided by weather.gov. Additional UI goodies use twitter bootstrap and some custom scripting as glue.<p>Note: this was written a modern browser (tested with apple safari, and google chrome, IE 10)<p>Next iteration : client side app-building is fun, but I think I can improve response time by moving much of the weather.gov queries server-side. This will also allow me to add a slick &quot;share these locations&quot; feature to the app.
评论 #6323461 未加载