2025/11/18

Newest at the top

2025-11-18 15:39:59 +0100 <dutchie> Morj: there was no colon on the second one
2025-11-18 15:39:58 +0100 <tomsmeding> Morj test
2025-11-18 15:39:55 +0100pr1sm(~pr1sm@24.91.163.31)
2025-11-18 15:32:07 +0100 <haskellbridge> <Morj> What are you all doing wrong?
2025-11-18 15:31:50 +0100 <haskellbridge> <Morj> Wait what, this one tagged me
2025-11-18 15:31:40 +0100 <morj> Morj hm
2025-11-18 15:31:35 +0100 <haskellbridge> <Morj> morj: Hm
2025-11-18 15:31:24 +0100 <morj> The tagging of my bridged account still doesn't work, but what if I write out @morj:morj.men ?
2025-11-18 15:30:58 +0100morj(~morj@user/morj) morj
2025-11-18 15:29:05 +0100 <haskellbridge> <Morj> Thanks, that's exactly what I wanted
2025-11-18 15:27:17 +0100 <Leary> Morj: `GHC.Num.integerLog2`
2025-11-18 15:24:46 +0100rekahsoft(~rekahsoft@70.51.99.245) rekahsoft
2025-11-18 15:20:25 +0100srazkvt(~sarah@user/srazkvt) srazkvt
2025-11-18 15:18:26 +0100 <lucabtz> sure sure, i just meant its related to log2, didnt know about the specific haskell functions
2025-11-18 15:16:39 +0100Zemy_(~Zemy@72.178.108.235) (Ping timeout: 244 seconds)
2025-11-18 15:14:19 +0100CiaoSen(~Jura@2a02:8071:64e1:da0:5a47:caff:fe78:33db) (Ping timeout: 260 seconds)
2025-11-18 15:13:55 +0100 <haskellbridge> <Morj> I don't care about efficiency in ghci, more about usefulness
2025-11-18 15:13:52 +0100Zemy(~Zemy@2600:100c:b0ae:c0b:84d9:a0ff:fe3d:6f11)
2025-11-18 15:13:41 +0100 <haskellbridge> <Morj> It's not only not good for efficiency, but logBase 2 (2^1024) == NaN
2025-11-18 15:12:00 +0100vanishingideal(~vanishing@user/vanishingideal) (Ping timeout: 245 seconds)
2025-11-18 15:11:56 +0100weary-traveler(~user@user/user363627) (Remote host closed the connection)
2025-11-18 15:10:09 +0100trickard_trickard
2025-11-18 15:08:46 +0100Lycurgus(~juan@user/Lycurgus) (bye room!)
2025-11-18 15:08:28 +0100 <lucabtz> that's why i said maybe not good for efficiency
2025-11-18 15:07:37 +0100 <lucabtz> Morj by log2 i didnt mean anything specific about haskell, just the natural logarithm in base 2, but you are right it is for floating
2025-11-18 15:02:25 +0100srazkvt(~sarah@user/srazkvt) (Ping timeout: 264 seconds)
2025-11-18 15:01:38 +0100trickard_(~trickard@cpe-62-98-47-163.wireline.com.au)
2025-11-18 15:01:15 +0100trickard_(~trickard@cpe-62-98-47-163.wireline.com.au) (Ping timeout: 244 seconds)
2025-11-18 15:00:25 +0100 <haskellbridge> <Morj> It's off by one but that's fine
2025-11-18 14:59:55 +0100 <haskellbridge> <Morj> That's fine, I already wrote "lb a = flip Data.Function.fix (abs a, 0) $ \go (x, r) -> if x == 0 then r else go (Data.Bits.shiftR x 1, r + 1)"
2025-11-18 14:59:52 +0100bitdex_(~bitdex@gateway/tor-sasl/bitdex) (Quit: = "")
2025-11-18 14:59:27 +0100 <haskellbridge> <Morj> There's logBase, but that's for Floating. I don't see a log2 function
2025-11-18 14:55:23 +0100 <lucabtz> maybe not efficient though
2025-11-18 14:54:56 +0100 <lucabtz> with some flooring or ceiling
2025-11-18 14:54:47 +0100 <lucabtz> isnt it just log2
2025-11-18 14:54:30 +0100 <haskellbridge> <Morj> I would google myself but stackoverflow is down with cloudflare
2025-11-18 14:54:15 +0100 <haskellbridge> <Morj> Is there no function in base to get the bit length of a positive Integer?
2025-11-18 14:51:02 +0100spew(~spew@user/spew) spew
2025-11-18 14:44:47 +0100Lycurgus(~juan@user/Lycurgus) Lycurgus
2025-11-18 14:35:56 +0100fp(~Thunderbi@2001:708:150:10::7e06) fp
2025-11-18 14:30:15 +0100fp(~Thunderbi@2001:708:20:1406::10c5) (Ping timeout: 252 seconds)
2025-11-18 14:26:54 +0100Square2(~Square4@user/square) Square
2025-11-18 14:26:40 +0100Googulator(~Googulato@2a01-036d-0106-0231-4475-80b4-5cdc-43d6.pool6.digikabel.hu) (Quit: Client closed)
2025-11-18 14:25:56 +0100Nachtgespenst(~user@user/siracusa) (Quit: Bye!)
2025-11-18 14:16:50 +0100trickard_(~trickard@cpe-62-98-47-163.wireline.com.au)
2025-11-18 14:09:39 +0100trickard_(~trickard@cpe-62-98-47-163.wireline.com.au) (Read error: Connection reset by peer)
2025-11-18 14:05:57 +0100trickard_(~trickard@cpe-62-98-47-163.wireline.com.au)
2025-11-18 14:05:43 +0100trickard(~trickard@cpe-62-98-47-163.wireline.com.au) (Read error: Connection reset by peer)
2025-11-18 13:54:15 +0100 <kaol> If this is about a linux distribution going with the package provided by them is one option.
2025-11-18 13:54:01 +0100 <tomsmeding> omidmash: solves only half of your problem, but the ghcup install script responds to the BOOTSTRAP_HASKELL_NONINTERACTIVE environment variable