Newest at the top
2024-07-19 19:42:21 +0200 | <bwe> | what's the go-to way there? |
2024-07-19 19:42:14 +0200 | <bwe> | monochrom: I wonder whether I'd actually switch to fractional repr |
2024-07-19 19:39:54 +0200 | euphores | (~SASL_euph@user/euphores) (Quit: Leaving.) |
2024-07-19 19:34:10 +0200 | Miroboru | (~myrvoll@178-164-114.82.3p.ntebredband.no) |
2024-07-19 19:34:09 +0200 | <bwe> | fixed it, runs now |
2024-07-19 19:34:04 +0200 | <bwe> | I've found the location where I divide by 0 |
2024-07-19 19:33:48 +0200 | <bwe> | nice experience with https://stackoverflow.com/questions/6724434/how-to-debug-haskell-code to debug |
2024-07-19 19:23:14 +0200 | tromp | (~textual@92-110-219-57.cable.dynamic.v4.ziggo.nl) |
2024-07-19 19:20:14 +0200 | danza | (~francesco@151.37.225.56) (Read error: Connection reset by peer) |
2024-07-19 19:19:45 +0200 | danza_ | (~francesco@151.57.244.219) |
2024-07-19 19:15:03 +0200 | chele | (~chele@user/chele) (Remote host closed the connection) |
2024-07-19 19:08:16 +0200 | CalimeroTeknik | (~calimero@user/calimeroteknik) |
2024-07-19 19:08:16 +0200 | CalimeroTeknik | (~calimero@ctkarch.org) (Changing host) |
2024-07-19 19:06:27 +0200 | thefoxcry | (~thefoxcry@195.135.246.201) (Quit: Leaving) |
2024-07-19 19:05:28 +0200 | <bwe> | interestingly, I can trace it back to : y1 / y2 where y1 and y2 are both 25, so the result is 1 |
2024-07-19 19:05:15 +0200 | tzh | (~tzh@c-76-115-131-146.hsd1.or.comcast.net) |
2024-07-19 19:04:25 +0200 | <monochrom> | It is not like catching exceptions in pure code is any nicer. |
2024-07-19 19:03:59 +0200 | <monochrom> | But you can always roll your own divMaybe and check that first. |
2024-07-19 19:03:27 +0200 | <monochrom> | undefined |
2024-07-19 19:03:09 +0200 | <bwe> | how does it behave on division by zero? |
2024-07-19 19:01:39 +0200 | <monochrom> | Rational has no rounding errors. |
2024-07-19 19:01:20 +0200 | <bwe> | now, this throws me into the debugging experience. |
2024-07-19 19:01:00 +0200 | <bwe> | monochrom: well, I moved away from Double to avoid rounding errors… |
2024-07-19 19:00:45 +0200 | Square2 | (~Square@user/square) (Ping timeout: 252 seconds) |
2024-07-19 19:00:09 +0200 | tromp | (~textual@92-110-219-57.cable.dynamic.v4.ziggo.nl) (Quit: My iMac has gone to sleep. ZZZzzz…) |
2024-07-19 18:59:05 +0200 | <monochrom> | Double is much less disruptive when it comes to division by zero, if that's what you want. |
2024-07-19 18:56:03 +0200 | danza | (~francesco@151.37.225.56) |
2024-07-19 18:54:53 +0200 | cyphase | (~cyphase@user/cyphase) (Ping timeout: 252 seconds) |
2024-07-19 18:47:27 +0200 | ft | (~ft@p3e9bc4e7.dip0.t-ipconnect.de) |
2024-07-19 18:40:58 +0200 | MadeleineSydney | (~Thunderbi@c-71-229-185-228.hsd1.co.comcast.net) (Quit: MadeleineSydney) |
2024-07-19 18:39:23 +0200 | oo_miguel | (~Thunderbi@78.10.207.46) |
2024-07-19 18:39:04 +0200 | oo_miguel | (~Thunderbi@78.10.207.46) (Remote host closed the connection) |
2024-07-19 18:36:56 +0200 | TonyStone | (~TonyStone@user/TonyStone) (Ping timeout: 252 seconds) |
2024-07-19 18:36:21 +0200 | cpressey | (~weechat@176.254.71.203) (Ping timeout: 276 seconds) |
2024-07-19 18:34:57 +0200 | danse-nr3 | (~danse-nr3@user/danse-nr3) (Remote host closed the connection) |
2024-07-19 18:33:25 +0200 | <bwe> | so I need to catch those |
2024-07-19 18:33:15 +0200 | <bwe> | monochrom: the error messages of Decimal are more helpful: Exception: Ratio has zero denominator |
2024-07-19 18:33:00 +0200 | danse-nr3 | (~danse-nr3@user/danse-nr3) |
2024-07-19 18:32:35 +0200 | danse-nr3 | (~danse-nr3@user/danse-nr3) (Remote host closed the connection) |
2024-07-19 18:32:12 +0200 | danse-nr3 | (~danse-nr3@user/danse-nr3) |
2024-07-19 18:30:56 +0200 | euphores | (~SASL_euph@user/euphores) |
2024-07-19 18:29:45 +0200 | <monochrom> | I suppose things on PATH were actually less error-prone back then. |
2024-07-19 18:28:11 +0200 | euleritian | (~euleritia@ip4d16fc38.dynamic.kabel-deutschland.de) |
2024-07-19 18:27:58 +0200 | <bwe> | monochrom: I do some calculations (multiplication and division) with the Scientific type. |
2024-07-19 18:27:54 +0200 | euleritian | (~euleritia@dynamic-176-004-239-040.176.4.pool.telefonica.de) (Read error: Connection reset by peer) |
2024-07-19 18:27:07 +0200 | <geekosaur> | re execvp: hysterical raisins |
2024-07-19 18:24:39 +0200 | euphores | (~SASL_euph@user/euphores) (Ping timeout: 276 seconds) |
2024-07-19 18:22:51 +0200 | euleritian | (~euleritia@dynamic-176-004-239-040.176.4.pool.telefonica.de) |
2024-07-19 18:22:42 +0200 | euleritian | (~euleritia@ip4d16fc38.dynamic.kabel-deutschland.de) (Ping timeout: 276 seconds) |
2024-07-19 18:18:18 +0200 | cyphase | (~cyphase@user/cyphase) |