Remote
calculang
@calculang@fosstodon.org
mastodon 4.7.3A language for calculations 🧮✍👩💻
44 Followers
229 Following
19 Posts
Joined April 19, 2023
calculang.dev:
CalcWithDec:
Replying to
@jguerra@vis.social And you can activate followup cube calcs on release or hovers
I don't think I'll have space to look for some months, but I love the generality of Navio and might get back to it one day if its open!
Open post
@jguerra@vis.social Made a super simple change to navio to make the brushing more reactive. It's snappy!
Here's a clip, can try @ @declann@observablehq.com
1
1
0
0
Open post
I added notes to ActuarialPlayground.com that include little tweaks to model mortgage protection - by composing with an old (2022) calculang model I made for a loan calculator
1
0
1
0
Open post
Replying to
0
0
0
0
Open post
Replying to
To stress test, I stress assumptions in terms of themselves: by scaling or addition to their "original" value or calculation.
Composition means you do not need to butcher models for these common modelling exercises.
To refer back to original calculations you need to be careful about naming conflicts: so use import X as X_orig for instance, then you can define X in terms of X_orig
A new feature in calculang lets modellers specify a default suffix applying to All overlapping imports
🧱 2/3
0
1
0
0
Open post
Replying to
Video intro and exploring the Pricing calculation: https://www.youtube.com/watch?v=S-cX7CmH0eA
0
0
0
0
Open post
Replying to
@jguerra@vis.social
Apologies for the delay
As you suspected it is indeed jankier, I tried only 50k records
So no quick fix, but I think mosaic coordinator+indexes, defaulting to duckdb-wasm backend would make this very scalable
0
1
0
0
Open post
Replying to
@jguerra@vis.social Just reread your previous comment about Mosaic.
There are only a few hundred pixels but 50k records, so M4 in indexes or that histogram cubing is what I'm getting at
0
1
0
0
Open post
Replying to
So I got to make this commit to the calculang model on ActuarialPlayground.com
I didn't mind the formality of some explicitness here. In tech terms I mainly want meaningful/intentional, practical multi-purpose models.
But rapidly prototyping new insurance product features and other calculations inside the Playground, aligning this line got tiring.
Goodbye, line. Hello fast expressiveness
^ How a little flirt with reactivity (a lot actually) changed a language.
Redundant brackets next?!
🧱
0
1
0
0
Open post
Replying to
- My early "You 👉 be the finance minister" model now well overdue an update:
https://calculang.dev/examples-viewer?id=tax-revenues-impact
0
0
0
0
Open post
@observablehq@vis.social Looks like cdn.observableusercontent.com is down affecting notebooks, unable to check the pretty pie charts
0
0
0
0
Open post
We have Pure randomness (again): https://calculang.dev/utilities/random.cul.js
How well will it be?
0
0
0
0
Open post
Replying to
@sharlatan@mastodon.social I was not prepared for this poll to generate such a legendary suggestion
0
0
0
0
Open post
Replying to
@jguerra@vis.social
Yes there are many many dom marks for many records. An option would be great!
I wonder if M4 tricks point to a way to make it scaleable by reducing the number of dom marks that respond. Could implement in Mosaic with duckdb backend (just like vgplot line marks already implement M4).
https://observablehq.com/@uwdata/m4-scalable-time-series-visualization
0
2
0
0
Open post
Replying to
@jguerra@vis.social Ah ok, I was thinking about binning to the pixel size but prob spurious.
Thanks for the tips, it's fast for me but will learn more from the code if I run into issues!
0
1
0
0