GithubHelp home page GithubHelp logo

craigchamberlain / solarlunardate Goto Github PK

View Code? Open in Web Editor NEW
1.0 1.0 0.0 8.18 MB

Utility to help name Beach Cast sculpture on a Solar/Lunar Calendar

Home Page: https://craigchamberlain.github.io/SolarLunarDate/

PowerShell 6.73% C# 73.20% F# 12.53% HTML 0.66% Batchfile 0.03% Shell 0.77% JavaScript 3.10% SCSS 2.96%
datetime lunar moon sculpture tide

solarlunardate's People

Contributors

craigchamberlain avatar dependabot[bot] avatar

Stargazers

 avatar

Watchers

 avatar

solarlunardate's Issues

Admaralty Api Version

Ref:  CS-215392-D0Y4  Your enquiry has been received and logged under this unique Reference Number, which should be quoted in any further correspondence with us.

Good afternoon Craig,

To obtain historical and future tides you can use our EasyTide service (http://www.ukho.gov.uk/easytide/EasyTide/index.aspx), please note though that while the current day and the next 6 days predictions are free, anything further in to the future or in the past can be accessed by purchasing vTickets - details are on the website.

I hope this helps.

Kind regards

Stephen Cooper 

Move to imutable data structures

Make clients threadsafe so they can be long lived and potentially attached the solarlunardate type so it can add dates and validate inputs.

Fable Date picker

The date picker @ https://craigchamberlain.github.io/SolarLunarDate/tool/ should have year selection.

image

Have asked fulma creator and suggested I fixed up the code and offered some advice

here is partial quote of response.

Hum, you would need to learn Fable interop and also look at how it can be done in pure JavaScript.

Fable interop guide (bit old but should still be a good read): https://medium.com/@zaid.naom/f-interop-with-javascript-in-fable-the-complete-guide-ccc5b896a59f
Fable interop guide #2: https://fable.io/docs/communicate/js-from-fable.html

If you don't want to it in pure F# you can also make the wrapper in JS and then interop with your wrapper

JavaScript wrapper: CopyButton.js
F# binding for it: https://github.com/MangelMaxime/html-to-elmish/blob/master/src/WebApp/App.fs#L87-L95

Have started learning some react but a long way of implementing this feature myself.

Explore handling exceptions.

Had problems today raising date not found exception from a system IO exception. If I was using the remote client it would throw an exception on a 404 request.

Need to isolate a solution. Where can I perform tests for valid, year, month.

Consider Code Contracts to push exception handling into the interface of the clients?

Cyclical dependency in Test Suite.

The test suite uses my client for this API. This client itself tests against the API in the integration stage.

Not enough unit tests exist. It it is to dependent of real data being provided, not mocked and returning desired result.

Automate Test Coverage

I currently have a script which generates and uploads the files. I currently run this locally. Don't think I can do with Travis, Do I start using AppVeyor. It seems .NET support for test coverage is coming to both CodeClimate and Travis.

Happy with running the tests locally in the short term should push to CI process or use a git action?


find . -path "*/TestResults/*" -exec rm "{}" -r \;

find . -path "*.Tests" -exec dotnet test --collect:"XPlat Code Coverage" "{}" -- DataCollectionRunSettings.DataCollectors.DataCollector.Configuration.Format=opencover  \;


COVERAGEFILES=""
for x in $(find . -path */coverage.opencover.xml); do
    COVERAGEFILES+="opencover=$x;"
done
COVERAGEFILES="$(sed -e 's/;$//' <<< $COVERAGEFILES)"

csmacnz.Coveralls \
  --multiple \
  -i $COVERAGEFILES \
  --commitId $(git log --format="%H" -n 1) \
  --commitBranch $(git rev-parse --abbrev-ref HEAD)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.