Skip to content

Repository files navigation

Shear-Web

In hang gliding, a shear web connects the upper and lower sail skins preventing unwanted billow and shear.

Shear-Web is a multiple page application that needs to be run with:

$ make run
...
urweb shearWeb -protocol http
./shearWeb.exe
...
Listening on port 8080....

The other NoseCone applications and the full Flare Timing application are static sites.

On the server, using Ur/Web's C FFI, JSON files are fetched with libcurl and parsed with json.fromJson1. This involves parsing quantities, strings with units, such as;

{
  "free": "5.000 km",
  "time": "1.500000 h",
  "launch": 0.96,
  "distance": "50.0 km",
  "goal": 0.1
}

Note

Another approach would be to use a database with the data imported into the database ahead of time.

For the 2012 Hang Gliding Pre-Words Championships held in Forbes, NSW, Australia, we get what we need from these files:

Footnotes

  1. We had been using C-FFI for JSON parsing too using kgabis/parson.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

Packages

Used by

Contributors

Languages