-
InfluxDB
Power Real-Time Data Analytics at Scale. Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.
Introducing Cashe: a Money library written in Ada 2022!
The purpose of Cashe is to give Money its own high-precision datatype taking advantage of Ada's fixed type decimal system[1]. This allows storing money, associated with a currency, at a defined precision with the choice of utilizing fuzzy or exact equality (see readme for more details).
It supports ISO Currencies[2] as well as Custom-defined currencies[3], and even a working Currency Exchange[4].
You can install it using Alire, which is Ada's package manager with a simple `alr with cashe`
There's quite a bit of examples in the readme, but I also gave full code examples for almost all of the functions in the API Documentation[5].
[1] https://github.com/AJ-Ianozi/Cashe/blob/main/src/cashe.ads
[2] https://github.com/ada-iso/ada_iso
[3] https://aj-ianozi.github.io/Cashe/cashe-currency_handling_ad...
[4] https://aj-ianozi.github.io/Cashe/cashe-exchange_ads.html#ro...
[5] https://aj-ianozi.github.io/Cashe/toc_index.html
I actually created this library with a budgeting app in mind! In my case, compliant with Ledger rather than Beancount.
It's easier than ever to get into Ada these days. There's a bunch of tutorials on Adacore's website [1] with a playground/sandbox that you can mess with. With Alire[2] (which is to Ada what Cargo is to Rust), you can get the toolchain and any packages with a simple command. If you're on linux or mac, you can also use GetAda[3] that will automatically install Alire for you.
[1] https://learn.adacore.com/
Related posts
-
A Collection of ISO standards as PHP Enums
-
NixOS-generators – Collection of VM and Container disk image builders for NixOS
-
Windows 11 Image Officially
-
Warn if (Windows ISO) media will no longer be bootable after Q1 2024 (Rufus)
-
How to Install Windows 11 On A Device That Does Not Meet Windows 11 Requirements