craigchamberlain / solarlunardate Goto Github PK
View Code? Open in Web Editor NEWUtility to help name Beach Cast sculpture on a Solar/Lunar Calendar
Home Page: https://craigchamberlain.github.io/SolarLunarDate/
Utility to help name Beach Cast sculpture on a Solar/Lunar Calendar
Home Page: https://craigchamberlain.github.io/SolarLunarDate/
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
Make clients threadsafe so they can be long lived and potentially attached the solarlunardate type so it can add dates and validate inputs.
Some help here:
https://www.hanselman.com/blog/automatic-unit-testing-in-net-core-plus-code-coverage-in-visual-studio-code
https://www.hanselman.com/blog/net-core-code-coverage-as-a-global-tool-with-coverlet
Consider writing update on blog.
Can be done directly in code, can be a bit verbose and needs recompiling for every change.
Had some problems with this tool but it seems to have been developed recently
https://github.com/red-gate/XmlDoc2CmdletDoc
Have take a quick look at code climate and coverlet/coveralls
Cover Alls links
https://coveralls.io/
https://github.com/csmacnz/coveralls.net
https://github.com/csMACnz/coveralls.net/wiki
https://medium.com/@tonerdo/setting-up-coveralls-with-coverlet-for-a-net-core-project-2c8ec6c5dc58
The date picker @ https://craigchamberlain.github.io/SolarLunarDate/tool/ should have year selection.
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.
In F# there is the result and option type. In C# there is https://github.com/csMACnz/Beefeater
JsonTextReader() Should improve memory utilisation.
https://www.newtonsoft.com/json/help/html/Performance.htm#MemoryUsage
Look at how power shell gallery and nuget handle this.
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?
See RemoteJson.cs in standard project.
https://aspnetmonsters.com/2016/08/2016-08-27-httpclientwrong/
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.
Want to alter the public api for major version,
For now mark in compiler:
https://stackoverflow.com/questions/1759352/how-to-mark-a-method-as-obsolete-or-deprecated
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)
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.