Logs: liberachat/#haskell
| 2021-08-21 19:50:18 | → | Sgeo joins (~Sgeo@user/sgeo) |
| 2021-08-21 19:57:08 | <tomsmeding> | maerwald: https://paste.tomsmeding.com/zfQgpGdD direct dependencies of the ghcup library and the ghcup main executable, prefixed with the number of direct dependencies those have |
| 2021-08-21 19:57:39 | <tomsmeding> | but perhaps a more useful measure is "how many deps do I save if I remove dependency X" |
| 2021-08-21 19:57:45 | <maerwald> | yeah |
| 2021-08-21 19:58:43 | <maerwald> | but then you have to know "how many deps do I save if I remove dependency X and Y" |
| 2021-08-21 19:59:32 | <maerwald> | well, aeson and yaml probably can't be removed |
| 2021-08-21 19:59:47 | <maerwald> | surprised there's no light aeson package |
| 2021-08-21 20:00:05 | <maerwald> | monad-logger pulls in all this conduit nonsense |
| 2021-08-21 20:02:48 | <maerwald> | meh, and zip as well |
| 2021-08-21 20:05:06 | × | juhp quits (~juhp@128.106.188.220) (Ping timeout: 250 seconds) |
| 2021-08-21 20:05:34 | → | neo joins (~neo3@cpe-292712.ip.primehome.com) |
| 2021-08-21 20:06:24 | × | burnsidesLlama quits (~burnsides@dhcp168-023.wadham.ox.ac.uk) (Remote host closed the connection) |
| 2021-08-21 20:08:18 | → | juhp joins (~juhp@128.106.188.220) |
| 2021-08-21 20:09:42 | × | mjs2600 quits (~mjs2600@c-24-91-3-49.hsd1.vt.comcast.net) (Quit: ZNC 1.8.2 - https://znc.in) |
| 2021-08-21 20:11:04 | → | mjs2600 joins (~mjs2600@c-24-91-3-49.hsd1.vt.comcast.net) |
| 2021-08-21 20:11:27 | <maerwald> | is there a light alternative to monad-logger? |
| 2021-08-21 20:11:43 | × | mc47 quits (~mc47@xmonad/TheMC47) (Remote host closed the connection) |
| 2021-08-21 20:12:11 | × | skykanin quits (~skykanin@115.81-166-221.customer.lyse.net) (Quit: WeeChat 3.2) |
| 2021-08-21 20:12:52 | <monochrom> | Yesterday someone asked "Any recommendation on logging frameworks? co-log and katip appear to be two common ones, but I'm not sure as to why one or the other is better." |
| 2021-08-21 20:13:10 | <maerwald> | I'm interested in smalles dep footprint |
| 2021-08-21 20:13:13 | <monochrom> | No one answered. But perhaps you could also consider those two mentioned. |
| 2021-08-21 20:13:29 | → | o1lo01ol1o joins (~o1lo01ol1@5.181.115.89.rev.vodafone.pt) |
| 2021-08-21 20:13:48 | <hpc> | syslog, if you don't care about windows? |
| 2021-08-21 20:13:55 | <maerwald> | I do |
| 2021-08-21 20:13:57 | × | mastarija quits (~mastarija@78-3-210-70.adsl.net.t-com.hr) (Quit: Leaving) |
| 2021-08-21 20:14:56 | <maerwald> | https://hackage.haskell.org/package/hslogger |
| 2021-08-21 20:15:22 | <maerwald> | most of hvrs stuff is unmaintained though... |
| 2021-08-21 20:16:48 | → | merijn joins (~merijn@83-160-49-249.ip.xs4all.nl) |
| 2021-08-21 20:17:44 | × | _ht quits (~quassel@82-169-194-8.biz.kpn.net) (Remote host closed the connection) |
| 2021-08-21 20:17:49 | × | o1lo01ol1o quits (~o1lo01ol1@5.181.115.89.rev.vodafone.pt) (Ping timeout: 252 seconds) |
| 2021-08-21 20:20:10 | × | superbil quits (~superbil@1-34-176-171.HINET-IP.hinet.net) (Ping timeout: 240 seconds) |
| 2021-08-21 20:20:45 | × | xlei quits (znc@pool-68-129-84-118.nycmny.fios.verizon.net) (Read error: Connection reset by peer) |
| 2021-08-21 20:23:09 | → | jtomas_ joins (~jtomas@233.red-83-34-2.dynamicip.rima-tde.net) |
| 2021-08-21 20:23:45 | → | burnsidesLlama joins (~burnsides@dhcp168-023.wadham.ox.ac.uk) |
| 2021-08-21 20:25:46 | × | jtomas quits (~jtomas@233.red-83-34-2.dynamicip.rima-tde.net) (Ping timeout: 268 seconds) |
| 2021-08-21 20:28:08 | <hololeap> | I'm getting a GHC crash: http://sprunge.us/ui6BdB here is the repo I'm working on: https://github.com/hololeap/gemport |
| 2021-08-21 20:28:51 | × | burnsidesLlama quits (~burnsides@dhcp168-023.wadham.ox.ac.uk) (Ping timeout: 268 seconds) |
| 2021-08-21 20:30:05 | → | eggplantade joins (~Eggplanta@108-201-191-115.lightspeed.sntcca.sbcglobal.net) |
| 2021-08-21 20:30:52 | <geekosaur> | is /tmp by any chance mounted noexec? |
| 2021-08-21 20:30:58 | <hololeap> | yeah |
| 2021-08-21 20:31:42 | <hololeap> | does TemplateHaskell execute something in /tmp? |
| 2021-08-21 20:31:42 | <geekosaur> | you'll need to set TMPDIR to point somewhere that allows executables, then |
| 2021-08-21 20:32:11 | <geekosaur> | yes, well, it maps executable pages from on-the-fly built shared objects in /tmp |
| 2021-08-21 20:32:25 | <geekosaur> | which is the same thing under the hood |
| 2021-08-21 20:32:41 | <hololeap> | is TMPDIR an environment variable? |
| 2021-08-21 20:33:00 | <geekosaur> | yes |
| 2021-08-21 20:33:33 | × | shapr quits (~user@pool-108-28-144-11.washdc.fios.verizon.net) (Ping timeout: 258 seconds) |
| 2021-08-21 20:33:42 | → | burnsidesLlama joins (~burnsides@dhcp168-023.wadham.ox.ac.uk) |
| 2021-08-21 20:33:46 | × | lavaman quits (~lavaman@98.38.249.169) (Ping timeout: 252 seconds) |
| 2021-08-21 20:33:57 | × | burnsidesLlama quits (~burnsides@dhcp168-023.wadham.ox.ac.uk) (Remote host closed the connection) |
| 2021-08-21 20:34:18 | <maerwald> | POSIX sanctioned |
| 2021-08-21 20:34:25 | <hololeap> | ok, thanks for the quick response geekosaur |
| 2021-08-21 20:34:30 | → | burnsidesLlama joins (~burnsides@client-8-91.eduroam.oxuni.org.uk) |
| 2021-08-21 20:34:36 | <maerwald> | https://pubs.opengroup.org/onlinepubs/9699919799/basedefs/V1_chap08.html |
| 2021-08-21 20:34:44 | → | xlei joins (znc@pool-68-129-84-118.nycmny.fios.verizon.net) |
| 2021-08-21 20:36:26 | <maerwald> | also, how do haskellers test their code on big endian? |
| 2021-08-21 20:39:16 | × | jtomas_ quits (~jtomas@233.red-83-34-2.dynamicip.rima-tde.net) (Ping timeout: 252 seconds) |
| 2021-08-21 20:39:20 | × | burnsidesLlama quits (~burnsides@client-8-91.eduroam.oxuni.org.uk) (Ping timeout: 268 seconds) |
| 2021-08-21 20:39:57 | <tomsmeding> | do haskellers test their code? |
| 2021-08-21 20:40:37 | <maerwald> | if the input strings are filenames, you BETTER :D |
| 2021-08-21 20:41:12 | <monochrom> | tmpfs being noexec by default also tripped me when I set up a docker container to mark student assignments :) |
| 2021-08-21 20:41:20 | → | acidjnk_new joins (~acidjnk@p200300d0c72b954921d359bc9986b356.dip0.t-ipconnect.de) |
| 2021-08-21 20:41:25 | <tomsmeding> | maerwald: if you're willing to drop one arbitrary dependency from both ghcup:exe and ghcup:lib, the one that removes most packages from the full dependency graph is monad-logger at 12 packages less |
| 2021-08-21 20:41:38 | <tomsmeding> | if you're willing to drop two, take monad-logger and zip, at 25 packages less |
| 2021-08-21 20:41:42 | <maerwald> | yep |
| 2021-08-21 20:42:34 | <tomsmeding> | but probably dropping zip is not really an option :p |
| 2021-08-21 20:42:59 | <maerwald> | it is |
| 2021-08-21 20:43:07 | <maerwald> | https://hackage.haskell.org/package/LibZip-1.0.1 |
| 2021-08-21 20:43:18 | <tomsmeding> | oooh |
| 2021-08-21 20:43:20 | <maerwald> | but I will have to create a bundled C version of https://hackage.haskell.org/package/bindings-libzip |
| 2021-08-21 20:43:24 | <tomsmeding> | look at that dep list |
| 2021-08-21 20:43:29 | → | takuan joins (~takuan@178-116-218-225.access.telenet.be) |
| 2021-08-21 20:43:57 | <maerwald> | https://hackage.haskell.org/package/hslogger also looks feasible, but less ergonomic |
| 2021-08-21 20:44:19 | <tomsmeding> | oh if you're willing to drop three packages, monad-logger, zip and string-interpolate give 36 less transitive deps :) |
| 2021-08-21 20:44:21 | <maerwald> | it uses a global MVar, which is kinda gross |
| 2021-08-21 20:44:26 | <tomsmeding> | (that took ~2min to compute) |
| 2021-08-21 20:44:36 | <maerwald> | https://hackage.haskell.org/package/hslogger-1.3.1.0/docs/src/System.Log.Logger.html#logTree |
| 2021-08-21 20:44:39 | <janus> | hslogger is abandoned, good to migrate away from it |
| 2021-08-21 20:44:43 | <maerwald> | to what |
| 2021-08-21 20:44:57 | <janus> | i don't know :( |
| 2021-08-21 20:45:10 | <tomsmeding> | just... you know, away :) |
| 2021-08-21 20:45:17 | <maerwald> | tomsmeding: oh, but string-interpolate I use heavily |
| 2021-08-21 20:45:23 | <tomsmeding> | yeah |
| 2021-08-21 20:45:44 | tomsmeding | wrote some gross haskell code to compute this |
| 2021-08-21 20:46:08 | <monochrom> | NP-hard problems call for gross code that takes 2 minutes to run :) |
| 2021-08-21 20:46:25 | <maerwald> | tomsmeding: I think haskell-src-meta might be a bad apple here |
| 2021-08-21 20:48:49 | → | superbil joins (~superbil@1-34-176-171.hinet-ip.hinet.net) |
| 2021-08-21 20:50:20 | <maerwald> | https://hackage.haskell.org/package/fast-logger |
| 2021-08-21 20:51:13 | × | merijn quits (~merijn@83-160-49-249.ip.xs4all.nl) (Ping timeout: 248 seconds) |
| 2021-08-21 20:51:37 | <tomsmeding> | maerwald: yeah, 7 of the 11 deps that dropping string-interpolate gives you (if you're already dropping monad-logger and zip) come from haskell-src-meta; the other 3 are from text-conversions |
| 2021-08-21 20:52:05 | <sm> | haskell-src-meta is on my bad apple list |
| 2021-08-21 20:52:15 | × | neo quits (~neo3@cpe-292712.ip.primehome.com) (Remote host closed the connection) |
| 2021-08-21 20:52:29 | <sm> | and so are most of the string interpolating libs, I forget why |
| 2021-08-21 20:52:35 | <maerwald> | tomsmeding: I opened https://gitlab.haskell.org/haskell/ghcup-hs/-/issues/212 |
| 2021-08-21 20:53:52 | <tomsmeding> | yay |
| 2021-08-21 20:54:43 | tomsmeding | is going to bed |
| 2021-08-21 20:54:56 | <maerwald> | I can't find a single quasi quoter without haskell-src-meta |
| 2021-08-21 20:55:13 | × | superbil quits (~superbil@1-34-176-171.hinet-ip.hinet.net) (Ping timeout: 252 seconds) |
| 2021-08-21 20:56:56 | <sm> | ...maybe that was why |
| 2021-08-21 20:59:14 | <tomsmeding> | maerwald: if I'm not mistaken, the only use of haskell-src-meta in string-interpolate is here: https://gitlab.com/williamyaoh/string-interpolate/-/blob/master/src/lib/Data/String/Interpolate.hs#L278 |
All times are in UTC.