Logs: freenode/#haskell
| 2021-03-06 22:27:34 | <ADG1089__> | koz_: did you miss my msg? |
| 2021-03-06 22:27:40 | <koz_> | ADG1089__: Which? |
| 2021-03-06 22:27:47 | <ADG1089__> | you said no problem |
| 2021-03-06 22:28:12 | <koz_> | ADG1089__: Could you please be more specific? |
| 2021-03-06 22:28:19 | <koz_> | I don't understand the subtext here. |
| 2021-03-06 22:29:12 | <ADG1089__> | I said "thanks!" you said "No problem" but later you said I didn't thank you nicely |
| 2021-03-06 22:30:16 | <koz_> | I didn't say that. |
| 2021-03-06 22:30:19 | <koz_> | When did I say that? |
| 2021-03-06 22:30:32 | <koz_> | I was responding to 'I was lol-ing to...'. |
| 2021-03-06 22:30:40 | <koz_> | My statement was in no way claiming you didn't thank me nicely. |
| 2021-03-06 22:30:55 | <koz_> | I was instead describing my motivations for stating the thing you quoted in 'I was lol-ing to...'. |
| 2021-03-06 22:31:01 | × | royal_screwup21 quits (52254809@gateway/web/cgi-irc/kiwiirc.com/ip.82.37.72.9) (Ping timeout: 276 seconds) |
| 2021-03-06 22:31:02 | <koz_> | Sorry if I was unclear. |
| 2021-03-06 22:31:12 | × | geowiesnot_bis quits (~user@87-89-181-157.abo.bbox.fr) (Ping timeout: 256 seconds) |
| 2021-03-06 22:31:18 | × | frozenErebus quits (~frozenEre@94.128.82.20) (Ping timeout: 245 seconds) |
| 2021-03-06 22:31:42 | × | heatsink quits (~heatsink@2600:1700:bef1:5e10:9814:d93f:56c2:c87) (Remote host closed the connection) |
| 2021-03-06 22:31:45 | <koz_> | I thought the chronology would disambiguate what I was referring to, but clearly not. |
| 2021-03-06 22:32:00 | <ADG1089__> | ok you were stating the motivation behind your statement to monochrom |
| 2021-03-06 22:32:05 | <ADG1089__> | haha |
| 2021-03-06 22:32:06 | <koz_> | Yep, that's right. |
| 2021-03-06 22:32:22 | <koz_> | I certainly didn't mean that you hadn't thanked me properly - you're all good. |
| 2021-03-06 22:33:00 | <ADG1089__> | would reusing cabal file generated by hpack be a bad idea? |
| 2021-03-06 22:33:11 | <koz_> | Yes, because Hpack generates actual trash. |
| 2021-03-06 22:33:21 | <koz_> | Just write a Cabal file by hand. It's not difficult. |
| 2021-03-06 22:33:48 | → | frankdmartinez joins (~frankdmar@217.138.198.212) |
| 2021-03-06 22:34:27 | <MarcelineVQ> | not so easy being nice is it |
| 2021-03-06 22:34:38 | <koz_> | MarcelineVQ: I think that attitude is unhelpful. |
| 2021-03-06 22:34:50 | <koz_> | People can't be magically expected to know every missing stair in the ecosystem. |
| 2021-03-06 22:35:38 | <sclv> | note that `cabal init --interactive` automates like 90% of writing a cabal file |
| 2021-03-06 22:35:53 | <ADG1089__> | actually I'm generating hpack file using a script which is generating cabal (since I have ~206 executables ) |
| 2021-03-06 22:35:56 | <MarcelineVQ> | koz_: I meant the confusion over being nice |
| 2021-03-06 22:36:04 | <ADG1089__> | sometimes i think using a makefile might've been better |
| 2021-03-06 22:36:13 | → | ericsagnes joins (~ericsagne@2405:6580:0:5100:3d97:f475:94df:3731) |
| 2021-03-06 22:36:24 | <slack1256> | 206 executables defined on the same .cabal file? |
| 2021-03-06 22:36:28 | <koz_> | MarcelineVQ: Also don't think it's helpful. It's not the other person's fault they got confused. I should have been clearer. |
| 2021-03-06 22:36:29 | <ADG1089__> | it has wildcard pattern match to build all source files inside a directory |
| 2021-03-06 22:36:40 | <ADG1089__> | slack1256: it's project euler |
| 2021-03-06 22:37:06 | → | wroathe joins (~wroathe@c-68-54-25-135.hsd1.mn.comcast.net) |
| 2021-03-06 22:37:13 | → | bigbosskor joins (~Android@182.232.52.52) |
| 2021-03-06 22:37:33 | × | myShoggoth quits (~myShoggot@75.164.81.55) (Ping timeout: 245 seconds) |
| 2021-03-06 22:37:59 | <slack1256> | Wow, I only did them until 50 or so. |
| 2021-03-06 22:39:56 | × | Jd007 quits (~Jd007@162.156.11.151) (Quit: Jd007) |
| 2021-03-06 22:41:38 | <ADG1089__> | I have a library and multiple executables, should I separate the library and executable in 2 cabal files. Maybe that is causing installation of all executables when i want to install only one of them |
| 2021-03-06 22:42:04 | × | wroathe quits (~wroathe@c-68-54-25-135.hsd1.mn.comcast.net) (Ping timeout: 260 seconds) |
| 2021-03-06 22:42:10 | <ADG1089__> | it currently looks like this: https://paste.tomsmeding.com/4G2lxJPb |
| 2021-03-06 22:42:26 | <ADG1089__> | tbh, I haven't worked much with .cabal files so it seems fine to me |
| 2021-03-06 22:42:26 | <koz_> | ADG1089__: Raise your Cabal minimum version. |
| 2021-03-06 22:42:29 | <koz_> | That is hilariously old. |
| 2021-03-06 22:42:33 | <koz_> | 3.0 is what I'd advise., |
| 2021-03-06 22:42:42 | <koz_> | Also, what version of Cabal are you on? |
| 2021-03-06 22:42:48 | <koz_> | I know someone did some executable caching stuff. |
| 2021-03-06 22:42:49 | <slack1256> | cabal 1.12, I feel old. |
| 2021-03-06 22:42:55 | <ADG1089__> | 3.4.0.0 |
| 2021-03-06 22:43:02 | <koz_> | Welcome to 'why hpack is garbage flavoured garbage'. |
| 2021-03-06 22:43:08 | → | ech joins (~user@gateway/tor-sasl/ech) |
| 2021-03-06 22:43:15 | <koz_> | ADG1089__: Yeah, set your Cabal file to version: 3.0. |
| 2021-03-06 22:43:20 | <sclv> | no don't use two cabal files |
| 2021-03-06 22:43:46 | <sclv> | so you're saying if you say `cabal install exe:problem1` it is installing them all? |
| 2021-03-06 22:44:03 | <sclv> | as in creating symlinks for all of them? |
| 2021-03-06 22:44:15 | <sclv> | i confess to a certain confusion -- why are you installing them at all? |
| 2021-03-06 22:44:26 | → | frozenErebus joins (~frozenEre@94.128.82.20) |
| 2021-03-06 22:44:49 | <monochrom> | Do you even have to use cabal and/or stack? |
| 2021-03-06 22:44:49 | <ADG1089__> | I was doing `stack build :Problem10` then doing `stack exec Problem10` |
| 2021-03-06 22:45:24 | <ADG1089__> | monochrom: no, I don't think so |
| 2021-03-06 22:45:24 | <sclv> | you can do `cabal run exe:problemx` |
| 2021-03-06 22:46:12 | × | DataComputist quits (~lumeng@50.43.26.251) (Quit: Leaving...) |
| 2021-03-06 22:46:24 | <monochrom> | PE sounds like the kind of toy problems you can just use GHC directly because you don't need libraries that don't come with GHC. |
| 2021-03-06 22:47:18 | <monochrom> | cabal and stack are a liability, not an asset, in such cases. |
| 2021-03-06 22:48:09 | <ADG1089__> | yeah, could do, but I think a few libraries do help like vector, heap, random, split |
| 2021-03-06 22:48:30 | <ADG1089__> | actually `make -j16 all` was faster when I was using a makefile |
| 2021-03-06 22:48:31 | slack1256 | laughs in ghcWithPackages . |
| 2021-03-06 22:49:20 | → | DataComputist joins (~lumeng@50.43.26.251) |
| 2021-03-06 22:49:45 | × | frozenErebus quits (~frozenEre@94.128.82.20) (Ping timeout: 264 seconds) |
| 2021-03-06 22:50:00 | texasmynsted_ | is now known as texasmynsted |
| 2021-03-06 22:52:09 | → | merijn joins (~merijn@83-160-49-249.ip.xs4all.nl) |
| 2021-03-06 22:53:22 | × | kritzefitz quits (~kritzefit@212.86.56.80) (Remote host closed the connection) |
| 2021-03-06 22:54:17 | <ADG1089__> | slack1256: how to do that? |
| 2021-03-06 22:54:27 | <ADG1089__> | i need nix? |
| 2021-03-06 22:54:33 | <jumper149> | ADG1089__: Yeah |
| 2021-03-06 22:54:50 | <jumper149> | But that is totally out of scope for a toy project, when you are just starting with Haskell |
| 2021-03-06 22:54:54 | <jumper149> | absolutely not necessary |
| 2021-03-06 22:55:08 | <jumper149> | nix is super cool though, worth a look even outside of haskell |
| 2021-03-06 22:55:41 | <slack1256> | Yeah, it |
| 2021-03-06 22:55:50 | <slack1256> | it's complicated* |
| 2021-03-06 22:56:38 | → | cole-h joins (~cole-h@c-73-48-197-220.hsd1.ca.comcast.net) |
| 2021-03-06 22:56:42 | × | Waifod quits (~Waifod@91.106.123.186) (Ping timeout: 256 seconds) |
| 2021-03-06 22:58:09 | × | merijn quits (~merijn@83-160-49-249.ip.xs4all.nl) (Ping timeout: 264 seconds) |
| 2021-03-06 22:58:18 | → | Waifod joins (Waifod@gateway/vpn/protonvpn/waifod) |
| 2021-03-06 23:00:05 | → | minoru_shiraeesh joins (~shiraeesh@109.166.57.19) |
| 2021-03-06 23:00:09 | × | ADG1089__ quits (~aditya@171.79.107.148) (Remote host closed the connection) |
| 2021-03-06 23:01:12 | × | fendor_ quits (~fendor@77.119.129.125.wireless.dyn.drei.com) (Remote host closed the connection) |
| 2021-03-06 23:01:52 | → | ADG1089_ joins (~adg1089@171.76.153.167) |
| 2021-03-06 23:02:29 | × | dbmikus quits (~dbmikus@cpe-76-167-86-219.natsow.res.rr.com) (Ping timeout: 260 seconds) |
| 2021-03-06 23:02:29 | × | ADG1089_ quits (~adg1089@171.76.153.167) (Read error: Connection reset by peer) |
| 2021-03-06 23:02:30 | × | bigbosskor quits (~Android@182.232.52.52) (Read error: Connection reset by peer) |
| 2021-03-06 23:02:30 | × | __minoru__shirae quits (~shiraeesh@109.166.56.93) (Ping timeout: 265 seconds) |
| 2021-03-06 23:02:42 | → | ADG1089_ joins (~adg1089@171.79.107.148) |
| 2021-03-06 23:03:16 | → | average joins (uid473595@gateway/web/irccloud.com/x-mxuhxqmtecrtlnul) |
| 2021-03-06 23:04:02 | → | bigbosskor joins (~Android@182.232.52.52) |
| 2021-03-06 23:04:24 | × | dunj3 quits (~dunj3@2001:16b8:30df:bf00:1021:5127:4488:fa37) (Remote host closed the connection) |
All times are in UTC.