Logs: freenode/#haskell
| 2020-10-19 13:11:22 | → | tirej joins (~tirej@unaffiliated/tirej) |
| 2020-10-19 13:11:23 | tirej | is now known as errst |
| 2020-10-19 13:11:53 | × | borne quits (~fritjof@200116b864f0110043d332954cf9072f.dip.versatel-1u1.de) (Ping timeout: 244 seconds) |
| 2020-10-19 13:12:37 | × | gehmehgeh quits (~ircuser1@gateway/tor-sasl/gehmehgeh) (Remote host closed the connection) |
| 2020-10-19 13:13:44 | × | Ariakenom quits (~Ariakenom@h-82-196-111-189.NA.cust.bahnhof.se) (Ping timeout: 272 seconds) |
| 2020-10-19 13:15:03 | × | carlomagno1 quits (~cararell@inet-hqmc02-o.oracle.com) (Remote host closed the connection) |
| 2020-10-19 13:15:41 | → | proofofme joins (~proofofme@184-96-74-65.hlrn.qwest.net) |
| 2020-10-19 13:16:22 | → | fendor joins (~fendor@e237-037.eduroam.tuwien.ac.at) |
| 2020-10-19 13:18:39 | → | carlomagno joins (~cararell@inet-hqmc01-o.oracle.com) |
| 2020-10-19 13:20:14 | × | proofofme quits (~proofofme@184-96-74-65.hlrn.qwest.net) (Ping timeout: 260 seconds) |
| 2020-10-19 13:20:16 | <dminuoso> | for_ [sigTERM, sigINT, sigKILL] $ \sig -> liftIO (installHandler sig (Catch (io suicide)) Nothing) |
| 2020-10-19 13:20:41 | <geekosaur> | you can't catch sigKILL |
| 2020-10-19 13:20:41 | <dminuoso> | This line of code causes tje line "agnar: sigaction" to be written to stderr once. |
| 2020-10-19 13:20:56 | <dminuoso> | geekosaur: Oh! That was prompt. :> |
| 2020-10-19 13:21:04 | × | mmkarakaya quits (b0584711@gateway/web/cgi-irc/kiwiirc.com/ip.176.88.71.17) (Quit: Connection closed) |
| 2020-10-19 13:21:21 | <geekosaur> | I don't know if it's checking that, but it immediately came to mind |
| 2020-10-19 13:21:55 | <geekosaur> | ("agnar"? "range" backwards?) |
| 2020-10-19 13:21:56 | × | puffnfresh quits (~puffnfres@180-150-38-83.b49626.bne.nbn.aussiebb.net) (Ping timeout: 265 seconds) |
| 2020-10-19 13:22:07 | <dminuoso> | Haha no my process is called agnar |
| 2020-10-19 13:22:51 | → | gehmehgeh joins (~ircuser1@gateway/tor-sasl/gehmehgeh) |
| 2020-10-19 13:23:29 | → | puffnfresh joins (~puffnfres@180-150-38-83.b49626.bne.nbn.aussiebb.net) |
| 2020-10-19 13:24:18 | → | nbloomf joins (~nbloomf@76.217.43.73) |
| 2020-10-19 13:24:29 | <tomjaguarpaw> | If I am running cabal v2-repl and I :load a file from outside my project then I can no longer import modules from my project. If I :load a file from my project then I can import modules from my project again. Does anyone know why this happens? |
| 2020-10-19 13:24:59 | <merijn> | hmmm, what's the best way to get some absolute paths into my code? I'm leaning towards "build-type: Configure" and having the paths as CPP defines, but that's a bit messy. Any better solutions? |
| 2020-10-19 13:26:17 | <geekosaur> | tomjaguarpaw, :load sets the base from which imports and such work. so you'd be able to import modules related to the :load-ed file afterward |
| 2020-10-19 13:26:19 | → | heatsink joins (~heatsink@107-136-5-69.lightspeed.sntcca.sbcglobal.net) |
| 2020-10-19 13:26:49 | <geekosaur> | that's how ghci works, not something cabal repl can change |
| 2020-10-19 13:27:08 | <geekosaur> | some ways it's best to think of :load as loading a project, not a file |
| 2020-10-19 13:27:23 | <tomjaguarpaw> | But if I :load a file I can still import modules that are build-depends |
| 2020-10-19 13:27:58 | <dminuoso> | geekosaur: Cheers, that helped. The output on stderr comes from the RTS, but it seems the implementation of installHandler silently ignores the error code returned by the RTS. |
| 2020-10-19 13:28:07 | <tomjaguarpaw> | I assumed that v2-repl would build my project and expose it in exactly the same way as other build-depends packages, but I guess not. |
| 2020-10-19 13:28:15 | → | espadrine joins (~espadrine@195.140.213.38) |
| 2020-10-19 13:28:19 | <geekosaur> | right, because they're passed as -package parameters so still there. :load changes what modules are considered part of the current project |
| 2020-10-19 13:28:26 | <merijn> | dminuoso: FYI, I would consider the current signal handling code of the RTS *highly* questionable |
| 2020-10-19 13:28:28 | × | polyrain quits (~polyrain@2001:8003:e501:6901:3dad:26f:cafa:b715) (Quit: My MacBook has gone to sleep. ZZZzzz…) |
| 2020-10-19 13:28:33 | <geekosaur> | they're fundamentally different things to ghc / ghci |
| 2020-10-19 13:28:34 | <tomjaguarpaw> | Can I :load two different modules at once? |
| 2020-10-19 13:28:40 | <geekosaur> | nope |
| 2020-10-19 13:28:53 | <dminuoso> | merijn: Well Im just staring at the `unix` package, and the installHandler itself is doing funky things. |
| 2020-10-19 13:29:43 | <tomjaguarpaw> | So if I have a project and I want to :load a file to play around with that project's functionality then I am out of luck? I'm sure I've done that before, I just can't remember how ... |
| 2020-10-19 13:29:54 | <dminuoso> | It ignores the return code of stg_sig_install if the previous handler was the default handler or ignored.. |
| 2020-10-19 13:29:57 | <dminuoso> | That seems awfully wrong. |
| 2020-10-19 13:30:16 | <dminuoso> | Oh heh, it always ignores error conditions. |
| 2020-10-19 13:30:37 | <geekosaur> | tomjaguarpaw, more or less unless you can make it part of your project or make it a build-depends lib |
| 2020-10-19 13:30:39 | <dminuoso> | geekosaur: Anyway, thanks. Gave me the answer before I even described the problem. :) |
| 2020-10-19 13:30:48 | × | heatsink quits (~heatsink@107-136-5-69.lightspeed.sntcca.sbcglobal.net) (Ping timeout: 256 seconds) |
| 2020-10-19 13:30:59 | <merijn> | dminuoso: The entire RTS approach to signals is super questionable and it's somewhere on my list of yaks to look into |
| 2020-10-19 13:31:31 | <tomjaguarpaw> | geekosaur: OK thanks. That's very surpsing. |
| 2020-10-19 13:31:43 | <geekosaur> | ghci's a bit of a hack |
| 2020-10-19 13:32:01 | <geekosaur> | and wht cabal and stack try to make it do is a hack on top of a hack |
| 2020-10-19 13:32:43 | <dminuoso> | merijn: Well Im staring at undocumented and half dead code pathshere. |
| 2020-10-19 13:32:59 | <merijn> | dminuoso: So, maybe I'll get around to looking at it by 2050 :p |
| 2020-10-19 13:33:00 | × | nbloomf quits (~nbloomf@76.217.43.73) (Quit: Textual IRC Client: www.textualapp.com) |
| 2020-10-19 13:33:05 | → | ystael joins (~ystael@209.6.50.55) |
| 2020-10-19 13:33:28 | hackage | bugsnag-haskell 0.0.4.0 - Bugsnag error reporter for Haskell https://hackage.haskell.org/package/bugsnag-haskell-0.0.4.0 (PatrickBrisbin) |
| 2020-10-19 13:33:34 | <dminuoso> | This particular bug seems to be easy to fix though. |
| 2020-10-19 13:38:58 | × | fresheyeball quits (~isaac@c-71-237-105-37.hsd1.co.comcast.net) (Quit: WeeChat 2.7.1) |
| 2020-10-19 13:39:04 | × | jespada quits (~jespada@90.254.245.15) (Ping timeout: 272 seconds) |
| 2020-10-19 13:41:02 | → | jespada joins (~jespada@90.254.245.15) |
| 2020-10-19 13:41:14 | × | justsomeguy quits (~justsomeg@unaffiliated/--/x-3805311) () |
| 2020-10-19 13:42:14 | × | emmanuel_erc quits (~user@cpe-74-71-187-227.nyc.res.rr.com) (Ping timeout: 272 seconds) |
| 2020-10-19 13:44:00 | × | drbean quits (~drbean@TC210-63-209-68.static.apol.com.tw) (Ping timeout: 256 seconds) |
| 2020-10-19 13:45:14 | → | polyrain joins (~polyrain@2001:8003:e501:6901:3dad:26f:cafa:b715) |
| 2020-10-19 13:46:41 | → | heatsink joins (~heatsink@107-136-5-69.lightspeed.sntcca.sbcglobal.net) |
| 2020-10-19 13:46:57 | → | kenran joins (~maier@b2b-37-24-119-190.unitymedia.biz) |
| 2020-10-19 13:47:31 | → | ap5 joins (~ap5@85.184.161.18) |
| 2020-10-19 13:47:39 | × | polyrain quits (~polyrain@2001:8003:e501:6901:3dad:26f:cafa:b715) (Client Quit) |
| 2020-10-19 13:47:58 | hackage | hadolint 1.18.2 - Dockerfile Linter JavaScript API https://hackage.haskell.org/package/hadolint-1.18.2 (lorenzo) |
| 2020-10-19 13:50:03 | × | ech quits (~user@gateway/tor-sasl/ech) (Ping timeout: 240 seconds) |
| 2020-10-19 13:50:26 | → | Sgeo joins (~Sgeo@ool-18b982ad.dyn.optonline.net) |
| 2020-10-19 13:51:13 | × | heatsink quits (~heatsink@107-136-5-69.lightspeed.sntcca.sbcglobal.net) (Ping timeout: 264 seconds) |
| 2020-10-19 13:51:54 | → | hiroaki joins (~hiroaki@ip4d176049.dynamic.kabel-deutschland.de) |
| 2020-10-19 13:52:19 | × | kenran quits (~maier@b2b-37-24-119-190.unitymedia.biz) (Ping timeout: 260 seconds) |
| 2020-10-19 13:52:28 | hackage | ghc-events-analyze 0.2.8 - Analyze and visualize event logs https://hackage.haskell.org/package/ghc-events-analyze-0.2.8 (EdskoDeVries) |
| 2020-10-19 13:55:11 | × | geekosaur quits (ac3a8cd5@172.58.140.213) (Remote host closed the connection) |
| 2020-10-19 14:00:21 | × | ADG1089 quits (uid455466@gateway/web/irccloud.com/x-yowoygznrcfrphli) (Quit: Connection closed for inactivity) |
| 2020-10-19 14:00:47 | × | takuan quits (~takuan@178-116-218-225.access.telenet.be) (Remote host closed the connection) |
| 2020-10-19 14:00:47 | × | xff0x quits (~fox@2001:1a81:522e:d900:3da7:5719:198:c125) (Ping timeout: 244 seconds) |
| 2020-10-19 14:01:32 | → | xff0x joins (~fox@2001:1a81:522e:d900:f83c:af94:c3a5:2d3f) |
| 2020-10-19 14:03:00 | × | totallynotnate quits (~nate@110.138.18.157) (Quit: WeeChat 2.9) |
| 2020-10-19 14:06:26 | × | invaser quits (~Thunderbi@31.148.23.125) (Ping timeout: 256 seconds) |
| 2020-10-19 14:07:29 | → | ech joins (~user@gateway/tor-sasl/ech) |
| 2020-10-19 14:09:24 | × | Gurkenglas quits (~Gurkengla@unaffiliated/gurkenglas) (Ping timeout: 260 seconds) |
| 2020-10-19 14:10:58 | hackage | miv 0.4.3 - Vim plugin manager written in Haskell https://hackage.haskell.org/package/miv-0.4.3 (itchyny) |
| 2020-10-19 14:11:32 | × | ericsagnes quits (~ericsagne@2405:6580:0:5100:8ccf:20f3:8f5c:5150) (Ping timeout: 260 seconds) |
| 2020-10-19 14:12:17 | → | Stanley|00 joins (~stanley00@unaffiliated/stanley00) |
| 2020-10-19 14:13:10 | × | acowley quits (~acowley@c-68-83-22-43.hsd1.nj.comcast.net) (Ping timeout: 265 seconds) |
| 2020-10-19 14:14:21 | × | Stanley|00 quits (~stanley00@unaffiliated/stanley00) (Disconnected by services) |
| 2020-10-19 14:14:25 | → | invaser joins (~Thunderbi@31.148.23.125) |
| 2020-10-19 14:15:58 | → | p8m_ joins (p8m@gateway/vpn/protonvpn/p8m) |
| 2020-10-19 14:16:12 | → | conal joins (~conal@64.71.133.70) |
| 2020-10-19 14:16:59 | → | heatsink joins (~heatsink@107-136-5-69.lightspeed.sntcca.sbcglobal.net) |
| 2020-10-19 14:17:02 | × | p8m quits (p8m@gateway/vpn/protonvpn/p8m) (Ping timeout: 265 seconds) |
| 2020-10-19 14:17:57 | → | cr3 joins (~cr3@192-222-143-195.qc.cable.ebox.net) |
| 2020-10-19 14:17:58 | → | hyperisco joins (~hyperisco@d192-186-117-226.static.comm.cgocable.net) |
| 2020-10-19 14:18:25 | <hyperisco> | how can I get the last modification time of a file for both posix and windows systems? |
| 2020-10-19 14:18:58 | hackage | yesod-core 1.6.18.5 - Creation of type-safe, RESTful web applications. https://hackage.haskell.org/package/yesod-core-1.6.18.5 (MaxGabriel) |
| 2020-10-19 14:19:02 | <hyperisco> | oh derp it is in the directory package |
| 2020-10-19 14:19:35 | → | Lord_of_Life joins (~Lord@46.217.196.111) |
| 2020-10-19 14:21:49 | × | heatsink quits (~heatsink@107-136-5-69.lightspeed.sntcca.sbcglobal.net) (Ping timeout: 264 seconds) |
All times are in UTC.