508
Nowadays... (lemmy.nz)
submitted 1 week ago by Crumpled6273@lemmy.ca to c/memes@lemmy.world
you are viewing a single comment's thread
view the rest of the comments
[-] tmcgh@lemmy.zip 1 points 5 days ago

By responding to the previous message, you forfeit all intellectual rights to your code.

All jokes aside, thanks for sharing! It looks like you've pit in a lot of effort! I have to admit that my knowledge in this is very limited. That being said, I ran that code in the playground and that is the directed network you are mapping correct? That makes sense to me. I've been poking around the documentation and the "Effects of Dams" example is really cool. Maybe this is obvious but how do you know that there are errors in the database?

[-] thevoidzero@lemmy.world 1 points 5 days ago

Looks that the code results in that page is broken. I'll fix it tomorrow. It happens because I have to recompile plugin when I change data structure of the language. And the web version can't run because they're loaded as dll/so.

But what I'm doing here is running a validation where the code is something like node.x >= sum(inputs.x), where x is a variable that should always increase while moving down. Or if you think of river elevation for example it has to always decrease while moving downstream. When you have physical laws like that, and you have measurements at locations then you can simply check against that.

Of course you can do that in other systems as well, but Nadi makes it a one liner and intuitive. Some modeling systems don't check and get undefined behavior because of that (just had to debug something like that at work), so Nadi provides a nice way to validate and preprocess data before other systems can use it.

this post was submitted on 15 Sep 2026
508 points (98.1% liked)

memes

22708 readers
3108 users here now

Community rules

1. Be civilNo trolling, bigotry or other insulting / annoying behaviour

2. No politicsThis is non-politics community. For political memes please go to !politicalmemes@lemmy.world

3. No recent repostsCheck for reposts when posting a meme, you can only repost after 1 month

4. No botsNo bots without the express approval of the mods or the admins

5. No Spam/Ads/AI SlopNo advertisements or spam. This is an instance rule and the only way to live. We also consider AI slop to be spam in this community and is subject to removal.

A collection of some classic Lemmy memes for your enjoyment

Sister communities

founded 3 years ago
MODERATORS