2025/01/11

2025-01-11 00:03:52 +0100merijn(~merijn@128-137-045-062.dynamic.caiway.nl) (Ping timeout: 252 seconds)
2025-01-11 00:05:36 +0100ChaiTRex(~ChaiTRex@user/chaitrex) (Ping timeout: 264 seconds)
2025-01-11 00:06:14 +0100saulosilva(~saulosilv@181.216.220.21) saulosilva
2025-01-11 00:06:30 +0100alecs(~alecs@61.pool85-58-154.dynamic.orange.es) alecs
2025-01-11 00:07:12 +0100 <euouae> c_wraith: answer to what?
2025-01-11 00:08:00 +0100 <c_wraith> how to enumerate rationals efficiently
2025-01-11 00:08:14 +0100ChaiTRex(~ChaiTRex@user/chaitrex) ChaiTRex
2025-01-11 00:11:25 +0100 <euouae> c_wraith: well a straightforward way is a simple generator formula that I extracted from that paper
2025-01-11 00:11:44 +0100 <euouae> I'm not going for 100% efficiency in terms of flops and all that -- just an O(1) memory/time generating formula
2025-01-11 00:13:02 +0100 <euouae> c_wraith: <https://termbin.com/barw> here's my Haskell code of that paper. `rats7` is the fast implementation and it only relies on `inverse` and `next`.
2025-01-11 00:14:55 +0100merijn(~merijn@128-137-045-062.dynamic.caiway.nl) merijn
2025-01-11 00:16:51 +0100 <euouae> not "fast". I should say "cheap" like O(1) memory/time
2025-01-11 00:18:24 +0100 <c_wraith> ... to be clear, that's not O(1), because Rational isn't constant-space or constant-time
2025-01-11 00:19:01 +0100 <c_wraith> But arbitrary-precision prevents those in general. It's not an issue with Rational.
2025-01-11 00:19:38 +0100merijn(~merijn@128-137-045-062.dynamic.caiway.nl) (Ping timeout: 265 seconds)
2025-01-11 00:20:23 +0100 <euouae> yes
2025-01-11 00:20:56 +0100avdb13(~avdb13@2001-14ba-a0a9-f200--18c.rev.dnainternet.fi)
2025-01-11 00:21:25 +0100tromp(~textual@92-110-219-57.cable.dynamic.v4.ziggo.nl) (Quit: My iMac has gone to sleep. ZZZzzz…)
2025-01-11 00:22:32 +0100alecs(~alecs@61.pool85-58-154.dynamic.orange.es) (Ping timeout: 265 seconds)
2025-01-11 00:30:18 +0100merijn(~merijn@128-137-045-062.dynamic.caiway.nl) merijn
2025-01-11 00:32:48 +0100saulosilva(~saulosilv@181.216.220.21) (Quit: Client closed)
2025-01-11 00:34:41 +0100merijn(~merijn@128-137-045-062.dynamic.caiway.nl) (Ping timeout: 248 seconds)
2025-01-11 00:37:59 +0100TheCoffeMaker(~TheCoffeM@user/thecoffemaker) (Remote host closed the connection)
2025-01-11 00:38:57 +0100TheCoffeMaker(~TheCoffeM@user/thecoffemaker) TheCoffeMaker
2025-01-11 00:42:40 +0100euouae(~euouae@user/euouae) (Ping timeout: 252 seconds)
2025-01-11 00:45:40 +0100merijn(~merijn@128-137-045-062.dynamic.caiway.nl) merijn
2025-01-11 00:46:27 +0100mreh(~matthew@host86-146-25-121.range86-146.btcentralplus.com) (Ping timeout: 276 seconds)
2025-01-11 00:52:59 +0100merijn(~merijn@128-137-045-062.dynamic.caiway.nl) (Ping timeout: 265 seconds)
2025-01-11 00:54:41 +0100SlackCoder(~SlackCode@64-94-63-8.ip.weststar.net.ky) SlackCoder
2025-01-11 00:59:10 +0100ahisho(~ahisoooo@88.90.222.87.dynamic.jazztel.es) (Quit: Leaving)
2025-01-11 01:10:45 +0100weary-traveler(~user@user/user363627) user363627
2025-01-11 01:12:02 +0100merijn(~merijn@128-137-045-062.dynamic.caiway.nl) merijn
2025-01-11 01:16:13 +0100saulosilva(~saulosilv@181.216.220.21) saulosilva
2025-01-11 01:16:16 +0100wootehfoot(~wootehfoo@user/wootehfoot) (Read error: Connection reset by peer)
2025-01-11 01:16:49 +0100merijn(~merijn@128-137-045-062.dynamic.caiway.nl) (Ping timeout: 260 seconds)
2025-01-11 01:23:16 +0100L29Ah(~L29Ah@wikipedia/L29Ah) (Read error: Connection timed out)
2025-01-11 01:23:49 +0100sprotte24(~sprotte24@p200300d16f053e002de39e6a7dd83ed5.dip0.t-ipconnect.de) (Quit: Leaving)
2025-01-11 01:24:42 +0100JuanDaugherty(~juan@user/JuanDaugherty) (Quit: JuanDaugherty)
2025-01-11 01:27:25 +0100merijn(~merijn@128-137-045-062.dynamic.caiway.nl) merijn
2025-01-11 01:31:52 +0100merijn(~merijn@128-137-045-062.dynamic.caiway.nl) (Ping timeout: 252 seconds)
2025-01-11 01:42:07 +0100supercode(~supercode@user/supercode) (Quit: Client closed)
2025-01-11 01:42:48 +0100merijn(~merijn@128-137-045-062.dynamic.caiway.nl) merijn
2025-01-11 01:43:52 +0100 <EvanR> "flops" to measure the efficiency of rational numbers
2025-01-11 01:44:17 +0100 <EvanR> xD
2025-01-11 01:44:54 +0100 <EvanR> one of these programming languages comes with rational number backed by ints instead of arbitrary precision
2025-01-11 01:45:07 +0100 <EvanR> I guess this works about as well as "int" for representing integers