2 ms·
I built a quick/wip payroll validator [0] that can read state (i.e. payroll details) from the URL. The purpose in this case was to generate a QR code, the idea
by dndn1 4y ago
I built a quick/wip payroll validator [0] that can read state (i.e. payroll details) from the URL.
The purpose in this case was to generate a QR code, the idea is this can be included in physical payslips. Then the numbers behind the calculations (tax deductions) can be validated, broken down, and understood.
I'm developing more tools to these ends, via my overarching project calculang, a language for calculations [1].
I also have a loan/repayment validator [2] but haven't added this QR code feature yet.
Bank letters e.g. "Interest rates are rising and now we want 100e more per month, every month" could use a QR code to an independent validator or to see the workings behind the 100 calculation.
Not using this in the real world now and there are security considerations to keep in mind, but reading state from a URL facilitates the usecase: QR codes that link physical numbers to their calculation and model.
Implementation of payroll calculator is an Observable notebook and thankfully it neatly supports all my strict requirements as demo of this.
[0] https://observablehq.com/@declann/payroll-playground-ireland-wip https://observablehq.com/@declann/payroll-playground-ireland...
+Feature tweet: https://twitter.com/calculang/status/1608183731533107206 https://twitter.com/calculang/status/1608183731533107206
[1] https://github.com/calculang/calculang https://github.com/calculang/calculang
[2] https://observablehq.com/@declann/loan-validator-dev https://observablehq.com/@declann/loan-validator-dev