2024-06-21 00:00:10 +0200 | bgamari_ | (~bgamari@64.223.157.161) |
2024-06-21 00:01:55 +0200 | bgamari | (~bgamari@64.223.238.64) (Ping timeout: 256 seconds) |
2024-06-21 00:13:47 +0200 | acidjnk_new3 | (~acidjnk@p200300d6e714dc085da20c6dea9e24be.dip0.t-ipconnect.de) (Ping timeout: 268 seconds) |
2024-06-21 00:14:08 +0200 | <monochrom> | It will be difficult (impossible?) to tell GHC "these are static data, don't bother traversing them during GC". But GHC GC is generational, it will eventually discover that the data has been live for too long so mark them as "very old generation" and then they are traversed infrequently. |
2024-06-21 00:15:14 +0200 | <monochrom> | Likewise for the opposite, data that comes and goes fleetingly, GHC keeps them cheap. |
2024-06-21 00:16:29 +0200 | <geekosaur> | compact regions, but you need to obey their rules or they won't work |
2024-06-21 00:16:30 +0200 | philopsos1 | (~caecilius@user/philopsos) (Ping timeout: 255 seconds) |
2024-06-21 00:21:36 +0200 | <EvanR> | didn't know about "very old generational" |
2024-06-21 00:21:46 +0200 | <geekosaur> | but if your data is truly static, chuck it into a compact region and GC won't traverse anything pointing into it |
2024-06-21 00:22:45 +0200 | <EvanR> | oh very old generation is just the oldest generation |
2024-06-21 00:22:50 +0200 | <geekosaur> | you can specify a number of generations (default is 1 + nursery) |
2024-06-21 00:23:21 +0200 | <geekosaur> | if you add more, GC of successive generations gets rarer and rarer |
2024-06-21 00:26:46 +0200 | <EvanR> | I'm guessing that can lead to huge memory usage? |
2024-06-21 00:27:22 +0200 | <geekosaur> | not really, you're using the same amount of memory but there's a little more overhead in GC |
2024-06-21 00:27:54 +0200 | <geekosaur> | heap is allocated in blocks, it'll only be huge if you change the default heap block size |
2024-06-21 00:27:55 +0200 | sawilagar | (~sawilagar@user/sawilagar) (Ping timeout: 272 seconds) |
2024-06-21 00:31:48 +0200 | phma | (phma@2001:5b0:2172:eb58:a102:8e01:4f76:63c6) (Read error: Connection reset by peer) |
2024-06-21 00:32:33 +0200 | phma | (~phma@host-67-44-208-58.hnremote.net) |
2024-06-21 00:49:14 +0200 | yin | (~yin@user/zero) |
2024-06-21 00:56:51 +0200 | Unicorn_Princess | (~Unicorn_P@user/Unicorn-Princess/x-3540542) |
2024-06-21 00:59:58 +0200 | destituion | (~destituio@2a02:2121:306:89fe:b849:537f:4eb9:4445) (Ping timeout: 246 seconds) |
2024-06-21 01:00:46 +0200 | Tuplanolla | (~Tuplanoll@91-159-69-59.elisa-laajakaista.fi) (Quit: Leaving.) |
2024-06-21 01:16:12 +0200 | L29Ah | (~L29Ah@wikipedia/L29Ah) |
2024-06-21 01:18:30 +0200 | pavonia | (~user@user/siracusa) |
2024-06-21 01:39:49 +0200 | bontaq | (~user@ool-45779c03.dyn.optonline.net) (Ping timeout: 256 seconds) |
2024-06-21 01:41:00 +0200 | gmg | (~user@user/gehmehgeh) (Quit: Leaving) |
2024-06-21 01:41:04 +0200 | Square | (~Square@user/square) (Quit: Leaving) |
2024-06-21 02:04:43 +0200 | dcoutts__ | (~duncan@oxfd-27-b2-v4wan-164228-cust163.vm42.cable.virginm.net) |
2024-06-21 02:10:53 +0200 | wlhn | (~wenzel@dl46fx8hbfttwvhb-h1ly-3.rev.dnainternet.fi) |
2024-06-21 02:32:05 +0200 | waleee | (~waleee@h-176-10-144-38.NA.cust.bahnhof.se) (Ping timeout: 240 seconds) |
2024-06-21 02:37:59 +0200 | henry40408 | (~henry4040@175.182.111.183) (Quit: Ping timeout (120 seconds)) |
2024-06-21 02:38:27 +0200 | henry40408 | (~henry4040@175.182.111.183) |
2024-06-21 02:47:15 +0200 | henry40408 | (~henry4040@175.182.111.183) (Quit: Ping timeout (120 seconds)) |
2024-06-21 02:47:43 +0200 | henry40408 | (~henry4040@175.182.111.183) |
2024-06-21 03:00:37 +0200 | saus | (~saus@pool-98-114-45-229.phlapa.fios.verizon.net) |
2024-06-21 03:11:55 +0200 | xff0x | (~xff0x@ai068022.d.east.v6connect.net) (Ping timeout: 246 seconds) |
2024-06-21 03:13:58 +0200 | danse-nr3 | (~danse-nr3@151.57.64.108) |
2024-06-21 03:17:42 +0200 | xff0x | (~xff0x@2405:6580:b080:900:2fdd:342b:c728:4b76) |
2024-06-21 03:18:18 +0200 | rvalue | (~rvalue@user/rvalue) (Ping timeout: 255 seconds) |
2024-06-21 03:23:32 +0200 | tabemann | (~tabemann@2600:1700:7990:24e0:2412:852b:477a:286f) |
2024-06-21 03:39:47 +0200 | saus | (~saus@pool-98-114-45-229.phlapa.fios.verizon.net) (Quit: Client closed) |
2024-06-21 03:43:11 +0200 | joeyadams | (~joeyadams@2603:6010:5100:2ed:9777:b507:d595:41c9) |
2024-06-21 03:52:59 +0200 | dcoutts__ | (~duncan@oxfd-27-b2-v4wan-164228-cust163.vm42.cable.virginm.net) (Ping timeout: 256 seconds) |
2024-06-21 04:00:32 +0200 | stiell | (~stiell@gateway/tor-sasl/stiell) (Remote host closed the connection) |
2024-06-21 04:01:14 +0200 | rvalue | (~rvalue@user/rvalue) |
2024-06-21 04:02:30 +0200 | dyniec | (~dyniec@dybiec.info) (Quit: WeeChat 4.2.2) |
2024-06-21 04:02:33 +0200 | stiell | (~stiell@gateway/tor-sasl/stiell) |
2024-06-21 04:07:17 +0200 | yin | (~yin@user/zero) (Ping timeout: 256 seconds) |
2024-06-21 04:08:02 +0200 | iqubic | (~sophia@2601:602:9502:c70:6afe:7af5:5891:b32f) (Remote host closed the connection) |
2024-06-21 04:19:14 +0200 | philopsos1 | (~caecilius@user/philopsos) |
2024-06-21 04:25:27 +0200 | xff0x | (~xff0x@2405:6580:b080:900:2fdd:342b:c728:4b76) (Ping timeout: 264 seconds) |
2024-06-21 04:29:16 +0200 | Unicorn_Princess | (~Unicorn_P@user/Unicorn-Princess/x-3540542) (Remote host closed the connection) |
2024-06-21 04:43:31 +0200 | terrorjack | (~terrorjac@2a01:4f8:c17:87f8::) (Quit: The Lounge - https://thelounge.chat) |
2024-06-21 04:45:03 +0200 | rosco | (~rosco@175.136.155.137) |
2024-06-21 04:46:23 +0200 | terrorjack | (~terrorjac@2a01:4f8:c17:87f8::) |
2024-06-21 04:54:11 +0200 | xdminsy | (~xdminsy@117.147.70.231) (Quit: Konversation terminated!) |
2024-06-21 04:54:41 +0200 | td_ | (~td@i5387090C.versanet.de) (Ping timeout: 268 seconds) |
2024-06-21 04:56:28 +0200 | td_ | (~td@i53870921.versanet.de) |
2024-06-21 05:01:24 +0200 | xdminsy | (~xdminsy@117.147.70.231) |
2024-06-21 05:09:53 +0200 | CrunchyFlakes | (~CrunchyFl@146.52.130.128) (Read error: Connection reset by peer) |
2024-06-21 05:12:10 +0200 | CrunchyFlakes | (~CrunchyFl@ip92348280.dynamic.kabel-deutschland.de) |
2024-06-21 05:16:05 +0200 | philopsos1 | (~caecilius@user/philopsos) (Ping timeout: 272 seconds) |
2024-06-21 05:17:28 +0200 | andrewboltachev | (~andrey@178.141.121.180) (Quit: Leaving.) |
2024-06-21 05:19:34 +0200 | sp1ff | (~user@c-24-21-45-157.hsd1.wa.comcast.net) (Remote host closed the connection) |
2024-06-21 05:21:50 +0200 | xff0x | (~xff0x@125x103x176x34.ap125.ftth.ucom.ne.jp) |
2024-06-21 05:32:39 +0200 | danse-nr3 | (~danse-nr3@151.57.64.108) (Ping timeout: 264 seconds) |
2024-06-21 05:43:03 +0200 | aforemny | (~aforemny@2001:9e8:6cc8:d500:4601:9954:5a57:3fa8) |
2024-06-21 05:43:17 +0200 | aforemny_ | (~aforemny@i59F516D3.versanet.de) (Ping timeout: 240 seconds) |
2024-06-21 05:44:22 +0200 | danse-nr3 | (~danse-nr3@151.57.64.108) |
2024-06-21 05:46:07 +0200 | danse-nr3 | (~danse-nr3@151.57.64.108) (Read error: Connection reset by peer) |
2024-06-21 05:47:11 +0200 | danse-nr3 | (~danse-nr3@151.43.70.19) |
2024-06-21 05:52:14 +0200 | <cheater> | i have a problem |
2024-06-21 05:52:37 +0200 | <cheater> | my local hackage can index private dependencies no problem but it can't actually index what's on my disk |
2024-06-21 05:52:48 +0200 | <cheater> | so my packages that are on the disk |
2024-06-21 05:52:50 +0200 | <cheater> | how do i do that? |
2024-06-21 06:00:15 +0200 | <danse-nr3> | those are also called "local" dependencies |
2024-06-21 06:00:43 +0200 | <danse-nr3> | there is a way through cabal.project i think but i always forget the details |
2024-06-21 06:01:26 +0200 | <danse-nr3> | oh sorry, overlooked that was about hackage |
2024-06-21 06:06:42 +0200 | <cheater> | yup |
2024-06-21 06:13:33 +0200 | philopsos1 | (~caecilius@user/philopsos) |
2024-06-21 06:19:07 +0200 | iza4k5 | (~iza4k5@2806:2f0:5321:fd27:bbca:24ba:4ae6:58b2) |
2024-06-21 06:19:07 +0200 | <cheater> | sorry i'm stupid i meant hoogle |
2024-06-21 06:19:20 +0200 | <cheater> | my local >>hoogle<< does not index my local packages |
2024-06-21 06:19:47 +0200 | kyborg2011 | (~kyborg201@host-176-36-215-61.b024.la.net.ua) (Ping timeout: 264 seconds) |
2024-06-21 06:21:44 +0200 | kyborg2011 | (~kyborg201@host-176-36-215-61.b024.la.net.ua) |
2024-06-21 06:23:54 +0200 | iza4k5 | (~iza4k5@2806:2f0:5321:fd27:bbca:24ba:4ae6:58b2) (Remote host closed the connection) |
2024-06-21 06:24:04 +0200 | iza4k5 | (~iza4k5@2806:2f0:5321:fd27:bbca:24ba:4ae6:58b2) |
2024-06-21 06:27:49 +0200 | <danse-nr3> | oh |
2024-06-21 06:28:23 +0200 | <cheater> | ok so digging more into this it comes from iohk's haskell.nix, and specifically its 'withHoogle' directive |
2024-06-21 06:29:17 +0200 | <danse-nr3> | you are adding layers now. Well i use `hoogle generate` with stack |
2024-06-21 06:29:47 +0200 | <danse-nr3> | and then `hoogle server` with the same --database |
2024-06-21 06:30:07 +0200 | <cheater> | i don't use stack,i t's a cabal project |
2024-06-21 06:30:08 +0200 | <cheater> | however |
2024-06-21 06:30:25 +0200 | <cheater> | i've noticed on github there's kokobd/cabal-hoogle |
2024-06-21 06:30:35 +0200 | <cheater> | that can create a hoogle database for a cabal project. |
2024-06-21 06:30:48 +0200 | <cheater> | ok but |
2024-06-21 06:31:01 +0200 | <cheater> | i don't really understand what a hoogle database is. can multiple programs populate the same database? |
2024-06-21 06:31:12 +0200 | <danse-nr3> | the point is to produce a database with `hoogle generate`, the stack part is just about having hoogle as a binary |
2024-06-21 06:31:23 +0200 | iza4k5 | (~iza4k5@2806:2f0:5321:fd27:bbca:24ba:4ae6:58b2) (Remote host closed the connection) |
2024-06-21 06:31:33 +0200 | iza4k5 | (~iza4k5@2806:2f0:5321:fd27:bbca:24ba:4ae6:58b2) |
2024-06-21 06:31:38 +0200 | dev2 | (~dev@2405:201:c062:801d:7892:988f:5a47:991b) |
2024-06-21 06:31:52 +0200 | <danse-nr3> | i don't think so. Why would you need that? Anyways, the database is how one would expect an index to be structured |
2024-06-21 06:32:10 +0200 | <danse-nr3> | it's a bit funny, at times it seems to get corrupted when i kill the hoogle server |
2024-06-21 06:32:16 +0200 | <danse-nr3> | and i have to regenerate it |
2024-06-21 06:32:46 +0200 | <cheater> | what's the default path for it? it's not in my git checkout... hmm... |
2024-06-21 06:33:11 +0200 | <danse-nr3> | there is --database to use with `hoogle generate` and `hoogle server`, getting into docs area |
2024-06-21 06:33:42 +0200 | <cheater> | yeah i've seen this. but i don't use --database, i just run it directly, and it's already populated, meaning the database is somewhere else |
2024-06-21 06:33:44 +0200 | <danse-nr3> | not sure about the default nor whether one exists |
2024-06-21 06:33:50 +0200 | iza4k5 | (~iza4k5@2806:2f0:5321:fd27:bbca:24ba:4ae6:58b2) (Remote host closed the connection) |
2024-06-21 06:33:53 +0200 | <danse-nr3> | hmm i see |
2024-06-21 06:34:00 +0200 | iza4k5 | (~iza4k5@2806:2f0:5321:fd27:bbca:24ba:4ae6:58b2) |
2024-06-21 06:34:27 +0200 | <cheater> | can hoogle run without a database at all? |
2024-06-21 06:34:30 +0200 | <cheater> | or is that impossible |
2024-06-21 06:35:11 +0200 | iza4k5 | (~iza4k5@2806:2f0:5321:fd27:bbca:24ba:4ae6:58b2) (Remote host closed the connection) |
2024-06-21 06:35:14 +0200 | <danse-nr3> | nah i don't think so |
2024-06-21 06:36:03 +0200 | <danse-nr3> | but hackage can if you can content yourself with that |
2024-06-21 06:36:28 +0200 | <cheater> | no my objective is to get hoogle going |
2024-06-21 06:36:31 +0200 | <danse-nr3> | huh i meant haddock sorry |
2024-06-21 06:37:30 +0200 | <cheater> | nah need that hoogle |
2024-06-21 06:37:36 +0200 | <cheater> | it's so confusing because all of them start with h |
2024-06-21 06:38:35 +0200 | <danse-nr3> | i don't think it's difficult to generate a database, no matter whether one uses stack or cabal, but not sure about the nix file you mentioned |
2024-06-21 06:40:27 +0200 | dev2 | (~dev@2405:201:c062:801d:7892:988f:5a47:991b) (Quit: WeeChat 4.3.2) |
2024-06-21 06:41:01 +0200 | takuan | (~takuan@178-116-218-225.access.telenet.be) |
2024-06-21 06:41:17 +0200 | madhavanmiui | (~madhavanm@2409:40f4:2001:b884:8000::) |
2024-06-21 06:48:32 +0200 | euphores | (~SASL_euph@user/euphores) (Quit: Leaving.) |
2024-06-21 06:53:03 +0200 | michalz | (~michalz@185.246.207.221) |
2024-06-21 06:58:57 +0200 | euphores | (~SASL_euph@user/euphores) |
2024-06-21 07:02:55 +0200 | <cheater> | so there's a bunch of default.hoo files under my nix store |
2024-06-21 07:03:17 +0200 | <cheater> | each one's like /nix/store/(hash)-hoogle-with-packages/share/doc/hoogle/default.hoo |
2024-06-21 07:05:29 +0200 | <cheater> | one of them is the hoogle that `which hoogle` resolves to |
2024-06-21 07:11:16 +0200 | amjoseph | (~amjoseph@static-198-44-128-146.cust.tzulo.com) (Ping timeout: 268 seconds) |
2024-06-21 07:11:59 +0200 | kyborg2011 | (~kyborg201@host-176-36-215-61.b024.la.net.ua) (Ping timeout: 264 seconds) |
2024-06-21 07:13:43 +0200 | <cheater> | aha so there's hoogle combine |
2024-06-21 07:14:12 +0200 | <cheater> | that merges two databases |
2024-06-21 07:14:30 +0200 | <cheater> | that command does NOT show up in hoogle -h |
2024-06-21 07:14:48 +0200 | <cheater> | and also... doesn't seem to be a thing. |
2024-06-21 07:14:51 +0200 | <cheater> | so the wiki is wrong ? |
2024-06-21 07:15:55 +0200 | jcarpenter2 | (~lol@2603:3016:1e01:b960:a570:a53a:e862:a200) (Ping timeout: 260 seconds) |
2024-06-21 07:16:40 +0200 | michalz | (~michalz@185.246.207.221) (Quit: ZNC 1.9.0 - https://znc.in) |
2024-06-21 07:17:06 +0200 | <cheater> | combine was deleted 8 years ago |
2024-06-21 07:17:29 +0200 | jcarpenter2 | (~lol@2603:3016:1e01:b960:5cec:72b5:6b96:2c4d) |
2024-06-21 07:19:27 +0200 | michalz | (~michalz@185.246.207.222) |
2024-06-21 07:19:56 +0200 | rosco | (~rosco@175.136.155.137) (Quit: Lost terminal) |
2024-06-21 07:21:34 +0200 | madhavanmiui | (~madhavanm@2409:40f4:2001:b884:8000::) (Read error: Connection reset by peer) |
2024-06-21 07:21:47 +0200 | madhavanmiui | (~madhavanm@152.58.247.212) |
2024-06-21 07:21:49 +0200 | jcarpenter2 | (~lol@2603:3016:1e01:b960:5cec:72b5:6b96:2c4d) (Ping timeout: 246 seconds) |
2024-06-21 07:23:56 +0200 | wenzel_ | (~wenzel@dl46fx8hbfttwvhb-h1ly-3.rev.dnainternet.fi) |
2024-06-21 07:23:59 +0200 | jcarpenter2 | (~lol@96.78.87.197) |
2024-06-21 07:24:09 +0200 | tromp | (~textual@92-110-219-57.cable.dynamic.v4.ziggo.nl) |
2024-06-21 07:25:09 +0200 | danse-nr3 | (~danse-nr3@151.43.70.19) (Ping timeout: 268 seconds) |
2024-06-21 07:27:00 +0200 | wlhn | (~wenzel@dl46fx8hbfttwvhb-h1ly-3.rev.dnainternet.fi) (Ping timeout: 268 seconds) |
2024-06-21 07:30:07 +0200 | Sgeo | (~Sgeo@user/sgeo) (Read error: Connection reset by peer) |
2024-06-21 07:30:50 +0200 | amjoseph | (~amjoseph@static-198-44-128-146.cust.tzulo.com) |
2024-06-21 07:31:20 +0200 | euphores | (~SASL_euph@user/euphores) (Quit: Leaving.) |
2024-06-21 07:31:49 +0200 | euphores | (~SASL_euph@user/euphores) |
2024-06-21 07:32:17 +0200 | euphores | (~SASL_euph@user/euphores) (Client Quit) |
2024-06-21 07:32:42 +0200 | euphores | (~SASL_euph@user/euphores) |
2024-06-21 07:34:39 +0200 | tromp | (~textual@92-110-219-57.cable.dynamic.v4.ziggo.nl) (Quit: My iMac has gone to sleep. ZZZzzz…) |
2024-06-21 07:39:19 +0200 | danse-nr3 | (~danse-nr3@151.43.70.19) |
2024-06-21 07:42:42 +0200 | acidjnk_new3 | (~acidjnk@p200300d6e714dc0755a3999fc5d750b0.dip0.t-ipconnect.de) |
2024-06-21 07:43:31 +0200 | madhavanmiui | (~madhavanm@152.58.247.212) (Remote host closed the connection) |
2024-06-21 07:43:41 +0200 | madhavanmiui | (~madhavanm@2409:40f4:2001:b884:8000::) |
2024-06-21 07:45:08 +0200 | madhavanmiui | (~madhavanm@2409:40f4:2001:b884:8000::) (Read error: Connection reset by peer) |
2024-06-21 07:45:20 +0200 | madhavanmiui | (~madhavanm@152.58.247.212) |
2024-06-21 07:45:33 +0200 | madhavanmiui | (~madhavanm@152.58.247.212) (Client Quit) |
2024-06-21 07:47:59 +0200 | <cheater> | what if i created a single package that depends on all my local packages but also on all their dependencies, and then ran hoogle generate on that |
2024-06-21 07:55:17 +0200 | philopsos1 | (~caecilius@user/philopsos) (Ping timeout: 240 seconds) |
2024-06-21 08:00:44 +0200 | JamesMowery5 | (~JamesMowe@ip98-167-207-182.ph.ph.cox.net) |
2024-06-21 08:02:35 +0200 | JamesMowery | (~JamesMowe@ip98-167-207-182.ph.ph.cox.net) (Ping timeout: 260 seconds) |
2024-06-21 08:02:35 +0200 | JamesMowery5 | JamesMowery |
2024-06-21 08:04:36 +0200 | tromp | (~textual@92-110-219-57.cable.dynamic.v4.ziggo.nl) |
2024-06-21 08:10:24 +0200 | xdminsy | (~xdminsy@117.147.70.231) (Read error: Connection reset by peer) |
2024-06-21 08:11:36 +0200 | xdminsy | (~xdminsy@117.147.70.231) |