2024/10/23

Newest at the top

2024-10-23 10:26:45 +0200 <haskellbridge> <sm> .cabal: 23.6G - packages for ~15 ghc versions, averaging ~1.5G each, plus 1G for the hackage index
2024-10-23 10:24:48 +0200 <haskellbridge> <sm> .ghcup: 16G. 2G each for the last 7 ghc versions and another 2G for hls
2024-10-23 10:24:28 +0200 <haskellbridge> <sm> .local/bin, mostly a bunch of fat haskell executables: 4.2G
2024-10-23 10:24:07 +0200 <haskellbridge> <sm> .cache/ghcide: 2.8G; .ghc-wasm: 3.8G
2024-10-23 10:23:23 +0200 <haskellbridge> <sm> .rustup: 1.6G; .cargo: 2.9G
2024-10-23 10:23:03 +0200euleritian(~euleritia@176.2.79.59)
2024-10-23 10:22:45 +0200euleritian(~euleritia@176.2.79.59) (Ping timeout: 248 seconds)
2024-10-23 10:22:11 +0200machinedgod(~machinedg@d108-173-18-100.abhsia.telus.net) machinedgod
2024-10-23 10:20:38 +0200machinedgod(~machinedg@d50-99-47-73.abhsia.telus.net) (Ping timeout: 272 seconds)
2024-10-23 10:18:52 +0200 <haskellbridge> <sm> 106G
2024-10-23 10:17:46 +0200 <haskellbridge> <sm> holy sh%* I have 95G in mine... joke's on me 😆
2024-10-23 10:17:14 +0200 <c_wraith> ideally you'd set it to the number of pointers that will be traversed. in practice, if you already knew that you probably wouldn't be using it
2024-10-23 10:16:08 +0200 <c_wraith> so making the initial hash table large enough is a way to minimize the chances of that
2024-10-23 10:16:03 +0200 <dontdieych2> haskellbridge: thanks
2024-10-23 10:15:36 +0200 <c_wraith> runHeapsize will return Nothing if the GC runs during it
2024-10-23 10:14:40 +0200 <famubu> (not that I would understand much anyway..)
2024-10-23 10:14:27 +0200 <famubu> hadn't looked at source
2024-10-23 10:14:11 +0200 <famubu> yeah I too had been wondering what that argument was.
2024-10-23 10:14:00 +0200 <famubu> c_wraith: Thanks. That made it.
2024-10-23 10:12:16 +0200 <c_wraith> it's the initial size of the hash table it uses to prevent looping
2024-10-23 10:12:05 +0200 <haskellbridge> <sm> oh. dontdieych2, https://hackage.haskell.org/package/stack-clean-old or ncdu are good
2024-10-23 10:11:56 +0200 <c_wraith> though beware of its first parameter. It isn't documented, and it probably should have been
2024-10-23 10:11:41 +0200 <c_wraith> err, runHeapsize
2024-10-23 10:11:36 +0200 <c_wraith> use runHeapSize. That's what it's there for.
2024-10-23 10:11:18 +0200 <c_wraith> anyway
2024-10-23 10:11:17 +0200 <c_wraith> oops, shouldn't have used >
2024-10-23 10:11:09 +0200 <lambdabot> Variable not in scope: recursiveSizeNF :: [a0] -> t0
2024-10-23 10:11:09 +0200 <lambdabot> Variable not in scope: runHeapsize :: t1 -> t0 -> terror:
2024-10-23 10:11:09 +0200 <lambdabot> error:
2024-10-23 10:11:07 +0200 <c_wraith> > runHeapsize 30 $ recursiveSizeNF [1..10] -- Just 87
2024-10-23 10:09:47 +0200 <mauke> haskellbridge is just a bridge bot
2024-10-23 10:09:39 +0200 <mauke> the person speaking is actually sm
2024-10-23 10:07:26 +0200 <dontdieych2> haskellbridge: how? " dontdieych2: you could clean up a bit "
2024-10-23 10:07:11 +0200econo_(uid147250@id-147250.tinside.irccloud.com) (Quit: Connection closed for inactivity)
2024-10-23 10:06:45 +0200 <dontdieych2> tomsmeding: thanks, it's working properly
2024-10-23 10:06:34 +0200 <dontdieych2> haskellbridge: how?
2024-10-23 10:06:09 +0200machinedgod(~machinedg@d50-99-47-73.abhsia.telus.net) machinedgod
2024-10-23 10:05:13 +0200kilolympus(~kilolympu@2a04:ee41:4:32b3:29d9:f88f:2e29:df95) (Quit: See you later! :))
2024-10-23 10:02:06 +0200 <c_wraith> well, then, you'd have to use runHeapSize
2024-10-23 10:01:52 +0200srazkvt(~sarah@user/srazkvt) (Quit: Konversation terminated!)
2024-10-23 10:01:50 +0200 <c_wraith> Oh, because it's not recursive.
2024-10-23 10:01:22 +0200 <c_wraith> famubu: why wouldn't you use closureSize?
2024-10-23 10:00:46 +0200 <haskellbridge> <sm> maybe https://hackage.haskell.org/package/weigh ?
2024-10-23 10:00:13 +0200 <famubu> But couldn't figure out how to print a value of `Heapsize Int`
2024-10-23 09:59:59 +0200 <famubu> I had been trying to use https://hackage.haskell.org/package/heapsize-0.3.0.1/docs/HeapSize.html#v:recursiveSize
2024-10-23 09:59:42 +0200 <famubu> needed to store a value in ahsekll?
2024-10-23 09:59:40 +0200kuribas(~user@ip-188-118-57-242.reverse.destiny.be) kuribas
2024-10-23 09:59:37 +0200gioyik(~gioyik@gateway/tor-sasl/gioyik) gioyik
2024-10-23 09:59:32 +0200 <famubu> Is there a way to find the space used
2024-10-23 09:59:14 +0200gioyik(~gioyik@gateway/tor-sasl/gioyik) (Remote host closed the connection)