2025/09/16

Newest at the top

2025-09-16 21:13:58 +0200OftenFaded30(~OftenFade@user/tisktisk) OftenFaded
2025-09-16 21:12:17 +0200karenw_(~karenw@user/karenw) (Ping timeout: 248 seconds)
2025-09-16 21:12:01 +0200dontdieych(~dontdieyc@132.226.169.184) dontdieych
2025-09-16 21:10:41 +0200merijn(~merijn@host-vr.cgnat-g.v4.dfn.nl) (Ping timeout: 244 seconds)
2025-09-16 21:06:16 +0200merijn(~merijn@host-vr.cgnat-g.v4.dfn.nl) merijn
2025-09-16 21:05:24 +0200tomsmedingis unsure slapping an abs on something, where you don't understand why, is going to be a good idea in a dynamical system
2025-09-16 21:04:29 +0200arandombit(~arandombi@user/arandombit) arandombit
2025-09-16 21:04:12 +0200Guest14(~Guest91@2a0a:ef40:50c:3901:79f5:d78f:9aec:1a09) (Quit: Client closed)
2025-09-16 21:04:09 +0200 <Guest14> thanks for the help
2025-09-16 21:04:07 +0200 <Guest14> idk why it gives a negative value.... but now with an abs it seems ok
2025-09-16 21:03:14 +0200arandombit(~arandombi@user/arandombit) (Ping timeout: 256 seconds)
2025-09-16 21:02:38 +0200 <Guest14> "rectification" input is small and negative just before it breaks
2025-09-16 21:02:24 +0200 <Guest14> https://paste.tomsmeding.com/txphlln4
2025-09-16 21:02:24 +0200 <Guest14> the input to a power becomes negative;
2025-09-16 21:01:44 +0200dontdieych2(~dontdieyc@218.144.158.109) (Remote host closed the connection)
2025-09-16 21:01:26 +0200dontdieych2(~dontdieyc@218.144.158.109)
2025-09-16 21:00:42 +0200caconym7478(~caconym@user/caconym) caconym
2025-09-16 21:00:01 +0200caconym747(~caconym@user/caconym) (Quit: bye)
2025-09-16 20:59:42 +0200 <int-e> At least not in this part of the code.
2025-09-16 20:59:31 +0200 <int-e> But there's no mystery where NaN comes from if it's an input to the function.
2025-09-16 20:59:24 +0200 <Guest14> i just want to find where is the NaN from and fix it. brb
2025-09-16 20:59:09 +0200int-eshrugs
2025-09-16 20:59:06 +0200 <int-e> If your goal is to produce 0 when b is NaN, then you're going to have to invert that comparison.
2025-09-16 20:58:59 +0200 <Guest14> tomsmeding: perzactly
2025-09-16 20:58:49 +0200 <Guest14> i was just getting confused because i thought the division is the only place that could produce it and that b is strictly positive by being the lag on a buffer of abs grads
2025-09-16 20:58:47 +0200 <tomsmeding> right, c is NaN, hen a and b become NaN and all is borked
2025-09-16 20:58:21 +0200 <Guest14> yeah, thats got to be it
2025-09-16 20:58:02 +0200arandombit(~arandombi@user/arandombit) arandombit
2025-09-16 20:57:56 +0200 <lambdabot> False
2025-09-16 20:57:54 +0200 <int-e> > let nan = 0/0 in nan <= 0.01
2025-09-16 20:57:54 +0200 <Guest14> ill try and find where the control is and why its producing a NaN
2025-09-16 20:57:43 +0200 <Guest14> if it tries to uses that as an interpolation constant in the lag calculation on the buffer it will return NaN
2025-09-16 20:57:16 +0200 <Guest14> yeah, if c is NaN thats the control, the injected value to use as a lag
2025-09-16 20:57:09 +0200 <int-e> so the inner `control` calls produce NaNs.
2025-09-16 20:57:04 +0200 <tomsmeding> Guest14: insert the isNaN checks now, to find out where the NaN is produced, fix the problem, then remove the isNaN
2025-09-16 20:56:48 +0200 <Guest14> i think the lag value input as a control must be injecting a NaN from somewhere... i didnt realise. there could be a sqrt somewhere. ill put an abs and then hopefully it will be ok
2025-09-16 20:56:42 +0200 <int-e> and IIUC all of c,a,b, and o are NaN in your test
2025-09-16 20:55:38 +0200 <Guest14> what its doing is calculating a volume, thats, the gradient, "lagged" (uses interpolation to fold up a buffer), and the same calc but done with the abs value. the ratio of these, the volume, is like a gradient, except bounded on the unit interval. b is strictly positive
2025-09-16 20:55:22 +0200merijn(~merijn@host-vr.cgnat-g.v4.dfn.nl) (Ping timeout: 248 seconds)
2025-09-16 20:55:05 +0200 <int-e> also taken when b is NaN
2025-09-16 20:54:42 +0200 <Guest14> but its guarded against
2025-09-16 20:54:25 +0200 <geekosaur> just noticed that myself. betting it ends up 0/0 with very small numbers
2025-09-16 20:54:03 +0200 <monochrom> What is / in a/b ?
2025-09-16 20:53:23 +0200 <Guest14> https://paste.tomsmeding.com/5XD7F7oG
2025-09-16 20:52:03 +0200 <Guest14> ill check for a sqrt, but all i have is interpolation
2025-09-16 20:51:46 +0200 <Guest14> i cant see why it would produce NaNs...
2025-09-16 20:51:37 +0200arandombit(~arandombi@user/arandombit) (Ping timeout: 260 seconds)
2025-09-16 20:51:37 +0200 <Guest14> i could guard against the NaNs with isNaN, but this would be costly
2025-09-16 20:51:15 +0200 <monochrom> Wikipedia is not going to be complete on this.
2025-09-16 20:51:11 +0200 <Guest14> int-e: hmm ok