Home freenode/#haskell: Logs Calendar

Logs: freenode/#haskell

←Prev  Next→ 502,152 events total
2021-03-27 12:23:48 × olligobber quits (olligobber@gateway/vpn/privateinternetaccess/olligobber) (Remote host closed the connection)
2021-03-27 12:28:27 × ADG1089 quits (~aditya@27.58.165.185) (Remote host closed the connection)
2021-03-27 12:30:35 × royal_screwup21 quits (52254809@gateway/web/cgi-irc/kiwiirc.com/ip.82.37.72.9) (Quit: Connection closed)
2021-03-27 12:30:35 × royal_screwup213 quits (52254809@gateway/web/cgi-irc/kiwiirc.com/ip.82.37.72.9) (Quit: Connection closed)
2021-03-27 12:30:54 royal_screwup213 joins (52254809@gateway/web/cgi-irc/kiwiirc.com/ip.82.37.72.9)
2021-03-27 12:30:54 royal_screwup21 joins (52254809@gateway/web/cgi-irc/kiwiirc.com/ip.82.37.72.9)
2021-03-27 12:35:36 <geekosaur> I'd have questions about how to represent "almost" states, since e.g. -O1 is shorthand for a bunch of different optimization flags
2021-03-27 12:38:43 Kaiepi joins (~Kaiepi@47.54.252.148)
2021-03-27 12:42:59 <cjay> can cabal somehow run a single haskell file that uses a package not included with ghc? so something like "stack --package"?
2021-03-27 12:44:10 × coot quits (~coot@37.30.55.131.nat.umts.dynamic.t-mobile.pl) (Quit: coot)
2021-03-27 12:47:25 <__monty__> It definitely did at some point, https://github.com/haskell/cabal/pull/5483 Can't find docs on it anymore though.
2021-03-27 12:47:59 renzhi joins (~renzhi@modemcable070.17-177-173.mc.videotron.ca)
2021-03-27 12:48:58 × royal_screwup213 quits (52254809@gateway/web/cgi-irc/kiwiirc.com/ip.82.37.72.9) (Quit: Connection closed)
2021-03-27 12:48:58 × royal_screwup21 quits (52254809@gateway/web/cgi-irc/kiwiirc.com/ip.82.37.72.9) (Quit: Connection closed)
2021-03-27 12:49:18 royal_screwup213 joins (52254809@gateway/web/cgi-irc/kiwiirc.com/ip.82.37.72.9)
2021-03-27 12:49:18 royal_screwup21 joins (52254809@gateway/web/cgi-irc/kiwiirc.com/ip.82.37.72.9)
2021-03-27 12:50:17 <cjay> oh thanks, that magic comment seems to work
2021-03-27 12:50:37 × royal_screwup21 quits (52254809@gateway/web/cgi-irc/kiwiirc.com/ip.82.37.72.9) (Client Quit)
2021-03-27 12:50:37 × royal_screwup213 quits (52254809@gateway/web/cgi-irc/kiwiirc.com/ip.82.37.72.9) (Client Quit)
2021-03-27 12:50:56 royal_screwup213 joins (52254809@gateway/web/cgi-irc/kiwiirc.com/ip.82.37.72.9)
2021-03-27 12:50:57 royal_screwup21 joins (52254809@gateway/web/cgi-irc/kiwiirc.com/ip.82.37.72.9)
2021-03-27 12:51:23 <__monty__> \o/
2021-03-27 12:53:00 × Alleria_ quits (~AllahuAkb@2603-7000-3040-0000-eded-286a-fe45-12eb.res6.spectrum.com) (Read error: Connection reset by peer)
2021-03-27 12:53:23 Alleria_ joins (~AllahuAkb@2603-7000-3040-0000-e90c-4968-5b06-a6fe.res6.spectrum.com)
2021-03-27 12:53:33 <cjay> HIE can't seem to deal with it though, so no editor integration
2021-03-27 12:53:57 × Dykam_ quits (Dykam@dykam.nl) (Quit: Dykam_)
2021-03-27 12:54:15 Dykam joins (Dykam@dykam.nl)
2021-03-27 12:54:59 × star_cloud quits (~star_clou@ec2-34-220-44-120.us-west-2.compute.amazonaws.com) (Ping timeout: 265 seconds)
2021-03-27 12:55:18 × royal_screwup21 quits (52254809@gateway/web/cgi-irc/kiwiirc.com/ip.82.37.72.9) (Ping timeout: 240 seconds)
2021-03-27 12:55:26 <__monty__> Path of least resistance is definitely to just have a full cabal project.
2021-03-27 12:55:34 × royal_screwup213 quits (52254809@gateway/web/cgi-irc/kiwiirc.com/ip.82.37.72.9) (Ping timeout: 252 seconds)
2021-03-27 12:55:58 fryguybob joins (~fryguybob@cpe-74-65-31-113.rochester.res.rr.com)
2021-03-27 12:58:11 <cjay> yeah. it's just nice for small example files that can be easily shared.
2021-03-27 12:59:06 star_cloud joins (~star_clou@ec2-34-220-44-120.us-west-2.compute.amazonaws.com)
2021-03-27 12:59:38 <L29Ah> runhaskell(1)?
2021-03-27 12:59:47 <cjay> I just figured out that UnliftIO.Exception.catch behaves differently than Control.Exception.catch, it just ignores async exceptions. pain. that cost me at least half an hour because I assumed it's just a drop-in replacement like the rest of the lib..
2021-03-27 13:00:17 <geekosaur> L29Ah, the question was about exposing additional cabal packages to such a script
2021-03-27 13:01:02 <cjay> yeah, maybe it could be fed some internal package db of cabal, but that would be dirty I think
2021-03-27 13:02:11 <geekosaur> cabal exec does that but it still needs to be told which packages to put into said db
2021-03-27 13:02:39 <geekosaur> (there is no master db that can be exposed, the problems with that kind of db are why cabal and stack exist)
2021-03-27 13:03:20 zebrag joins (~inkbottle@aaubervilliers-654-1-98-245.w86-212.abo.wanadoo.fr)
2021-03-27 13:06:39 raehik joins (~raehik@cpc95906-rdng25-2-0-cust156.15-3.cable.virginm.net)
2021-03-27 13:07:55 <__monty__> cjay: From what I've picked up in this channel it's probably because the other catch doesn't deal with async exceptions properly either. The probably figured better not to than fail in weird and unexpected ways.
2021-03-27 13:07:55 rayyyy joins (~nanoz@gateway/tor-sasl/nanoz)
2021-03-27 13:07:56 coot joins (~coot@37.30.55.131.nat.umts.dynamic.t-mobile.pl)
2021-03-27 13:10:56 × Rudd0 quits (~Rudd0@185.189.115.103) (Ping timeout: 265 seconds)
2021-03-27 13:11:05 <cjay> :/
2021-03-27 13:13:21 × star_cloud quits (~star_clou@ec2-34-220-44-120.us-west-2.compute.amazonaws.com) (Ping timeout: 265 seconds)
2021-03-27 13:13:55 TheScoop joins (~TheScoop@unaffiliated/tryte)
2021-03-27 13:14:06 raichoo joins (~raichoo@dslb-092-073-193-252.092.073.pools.vodafone-ip.de)
2021-03-27 13:14:17 <__monty__> (Best to wait for confirmation of this from someone who actually knows what they're talking about but it's definitely the vibe I've gotten from async exception discussion.)
2021-03-27 13:15:22 <cjay> yeah thanks
2021-03-27 13:18:41 × RusAlex quits (~Chel@unaffiliated/rusalex) (Read error: Connection reset by peer)
2021-03-27 13:18:45 × Mrbuck quits (~Mrbuck@gateway/tor-sasl/mrbuck) (Ping timeout: 240 seconds)
2021-03-27 13:19:21 <cjay> the unliftio docs have me confused.. they make it sound like one should never be using throwTo, but don't explain what one should do instead
2021-03-27 13:19:25 RusAlex joins (~Chel@unaffiliated/rusalex)
2021-03-27 13:19:59 × ericsagnes quits (~ericsagne@2405:6580:0:5100:eee0:b3e1:482f:12f7) (Ping timeout: 245 seconds)
2021-03-27 13:20:27 × son0p quits (~son0p@181.58.39.182) (Quit: Lost terminal)
2021-03-27 13:20:35 <cjay> I need a way for child threads to communicate errors back to the parent thread, I don't think that can be done with Async or something like that
2021-03-27 13:20:35 unyu joins (~pyon@unaffiliated/pyon)
2021-03-27 13:20:59 × raehik quits (~raehik@cpc95906-rdng25-2-0-cust156.15-3.cable.virginm.net) (Ping timeout: 246 seconds)
2021-03-27 13:21:00 <cjay> having the parent thread poll for the status of the chlid thread sucks
2021-03-27 13:21:10 × Kaiepi quits (~Kaiepi@47.54.252.148) (Ping timeout: 260 seconds)
2021-03-27 13:23:28 <maerwald> __monty__: why would that not work
2021-03-27 13:23:48 <maerwald> that's exactly what Text does: https://hackage.haskell.org/package/text-1.2.4.1/docs/src/Data.Text.Internal.Unsafe.Char.html#unsafeWrite
2021-03-27 13:24:57 <__monty__> Because you have to be really careful not to break up codepoints.
2021-03-27 13:25:10 <__monty__> UTF-16 is not a fixed-width encoding.
2021-03-27 13:25:24 gehmehgeh joins (~ircuser1@gateway/tor-sasl/gehmehgeh)
2021-03-27 13:26:13 <maerwald> I can't follow. Unicode codepoint to UTF16 seems like a well defined thing
2021-03-27 13:26:47 <__monty__> Sure, but some codepoints require two Word16s to be represented.
2021-03-27 13:27:02 <geekosaur> did you notice he asked for a list of Word16?
2021-03-27 13:27:20 Kaiepi joins (~Kaiepi@47.54.252.148)
2021-03-27 13:28:01 × berberman quits (~berberman@unaffiliated/berberman) (Ping timeout: 258 seconds)
2021-03-27 13:28:05 <__monty__> Yes, but I was thinking of Char as python does it. Apologies.
2021-03-27 13:28:24 berberman joins (~berberman@unaffiliated/berberman)
2021-03-27 13:30:15 Logio_ is now known as Logio
2021-03-27 13:30:27 × zeromus1 quits (~zeromus@217.146.82.202) (Remote host closed the connection)
2021-03-27 13:31:35 × zaquest quits (~notzaques@5.128.210.178) (Quit: Leaving)
2021-03-27 13:32:00 ericsagnes joins (~ericsagne@2405:6580:0:5100:7ad7:6b13:eb4:f58c)
2021-03-27 13:33:41 × stree quits (~stree@68.36.8.116) (Ping timeout: 240 seconds)
2021-03-27 13:33:54 zaquest joins (~notzaques@5.128.210.178)
2021-03-27 13:35:55 LKoen joins (~LKoen@191.254.88.92.rev.sfr.net)
2021-03-27 13:36:51 jscarmona1 joins (~jscarmona@37.120.211.188)
2021-03-27 13:37:35 Vadrigar_ joins (~Vadrigar@ip5b417208.dynamic.kabel-deutschland.de)
2021-03-27 13:37:40 × aarvar quits (~foewfoiew@2601:602:a080:fa0:e589:d5cd:80fb:258d) (Quit: Leaving.)
2021-03-27 13:41:16 hackage heyting-algebras 0.2.0.1 - Heyting and Boolean algebras https://hackage.haskell.org/package/heyting-algebras-0.2.0.1 (coot)
2021-03-27 13:42:06 × Vadrigar_ quits (~Vadrigar@ip5b417208.dynamic.kabel-deutschland.de) (Ping timeout: 260 seconds)
2021-03-27 13:44:57 Deide joins (~Deide@217.155.19.23)
2021-03-27 13:44:58 alx741 joins (~alx741@186.178.109.231)
2021-03-27 13:46:52 stree joins (~stree@68.36.8.116)
2021-03-27 13:48:19 × geekosaur quits (ac3a5766@172.58.87.102) (Quit: Connection closed)
2021-03-27 13:50:33 × drbean_ quits (~drbean@TC210-63-209-56.static.apol.com.tw) (Quit: ZNC 1.8.2+cygwin2 - https://znc.in)
2021-03-27 13:53:28 Mrbuck joins (~Mrbuck@gateway/tor-sasl/mrbuck)
2021-03-27 13:54:59 son0p joins (~son0p@181.136.122.143)
2021-03-27 13:55:08 Tario joins (~Tario@201.192.165.173)
2021-03-27 13:55:19 × LKoen quits (~LKoen@191.254.88.92.rev.sfr.net) (Remote host closed the connection)
2021-03-27 13:55:31 × liyang quits (~liyang@90.253.54.54) (Ping timeout: 248 seconds)
2021-03-27 13:56:27 × Guest86381 quits (~textual@2603-7000-3040-0000-b985-54e1-77ea-63be.res6.spectrum.com) (Quit: My MacBook has gone to sleep. ZZZzzz…)
2021-03-27 14:00:03 Alleria joins (~textual@2603-7000-3040-0000-b985-54e1-77ea-63be.res6.spectrum.com)
2021-03-27 14:00:27 Alleria is now known as Guest88512

All times are in UTC.