Home liberachat/#haskell: Logs Calendar

Logs: liberachat/#haskell

←Prev  Next→ 1,804,543 events total
2021-08-30 05:22:47 × xff0x quits (~xff0x@2001:1a81:5283:ae00:5927:9529:db6:e6e9) (Ping timeout: 240 seconds)
2021-08-30 05:23:48 xff0x joins (~xff0x@2001:1a81:5283:ae00:dd66:8a36:3ffc:6058)
2021-08-30 05:26:47 × wroathe quits (~wroathe@user/wroathe) (Ping timeout: 240 seconds)
2021-08-30 05:32:37 × shapr quits (~user@pool-100-36-247-68.washdc.fios.verizon.net) (Ping timeout: 250 seconds)
2021-08-30 05:33:59 aegon joins (~mike@174.127.249.180)
2021-08-30 05:34:05 × aegon quits (~mike@174.127.249.180) (Client Quit)
2021-08-30 05:34:19 aegon joins (~mike@174.127.249.180)
2021-08-30 05:38:04 × xff0x quits (~xff0x@2001:1a81:5283:ae00:dd66:8a36:3ffc:6058) (Ping timeout: 252 seconds)
2021-08-30 05:38:59 xff0x joins (~xff0x@2001:1a81:5283:ae00:82de:9d03:d34b:f6a0)
2021-08-30 05:41:57 lavaman joins (~lavaman@98.38.249.169)
2021-08-30 05:43:25 Guest35 joins (~Guest35@223.18.154.68)
2021-08-30 05:44:41 × aegon quits (~mike@174.127.249.180) (Remote host closed the connection)
2021-08-30 05:44:58 michalz joins (~michalz@185.246.204.40)
2021-08-30 05:46:19 × lavaman quits (~lavaman@98.38.249.169) (Ping timeout: 252 seconds)
2021-08-30 05:48:49 × ubert quits (~Thunderbi@178.165.168.136.wireless.dyn.drei.com) (Ping timeout: 248 seconds)
2021-08-30 05:48:52 wroathe joins (~wroathe@c-68-54-25-135.hsd1.mn.comcast.net)
2021-08-30 05:48:52 × wroathe quits (~wroathe@c-68-54-25-135.hsd1.mn.comcast.net) (Changing host)
2021-08-30 05:48:52 wroathe joins (~wroathe@user/wroathe)
2021-08-30 05:50:12 dhouthoo joins (~dhouthoo@178-117-36-167.access.telenet.be)
2021-08-30 05:53:32 × wroathe quits (~wroathe@user/wroathe) (Ping timeout: 244 seconds)
2021-08-30 05:57:32 <sim590> I'm trying to make an instance of this class: http://ix.io/3xoR. Here is my try: http://ix.io/3xoS. It's OK for the part of `dhExchange`, but when writing my implementation of `exponentiate`, I'm getting this error: http://ix.io/3xoU. I'm thinking that there's an issue with how I defined the signature of `exponentiate` (and `dhExchange`) with the constraint of MonadState. How can we explaine the
2021-08-30 05:57:34 <sim590> issue? I'm not understanding quite yet.
2021-08-30 06:07:30 chris joins (~chris@81.96.113.213)
2021-08-30 06:07:33 chris is now known as Guest3947
2021-08-30 06:08:13 × Guest35 quits (~Guest35@223.18.154.68) (Ping timeout: 256 seconds)
2021-08-30 06:15:25 × MQ-17J quits (~MQ-17J@d14-69-206-129.try.wideopenwest.com) (Ping timeout: 252 seconds)
2021-08-30 06:16:46 lortabac joins (~lortabac@151.53.201.45)
2021-08-30 06:17:39 arjun joins (~Srain@user/arjun)
2021-08-30 06:19:04 teddyc joins (theodorc@cassarossa.samfundet.no)
2021-08-30 06:19:27 MQ-17J joins (~MQ-17J@8.6.144.209)
2021-08-30 06:20:53 × arjun quits (~Srain@user/arjun) (Remote host closed the connection)
2021-08-30 06:30:58 Guest35 joins (~Guest35@223.18.154.68)
2021-08-30 06:30:59 × Guest35 quits (~Guest35@223.18.154.68) (Client Quit)
2021-08-30 06:34:54 × Sgeo quits (~Sgeo@user/sgeo) (Read error: Connection reset by peer)
2021-08-30 06:35:19 merijn joins (~merijn@83-160-49-249.ip.xs4all.nl)
2021-08-30 06:41:25 <tomsmeding> maerwald: when in doubt, bundle more sources :p
2021-08-30 06:44:04 lavaman joins (~lavaman@98.38.249.169)
2021-08-30 06:50:25 <maerwald[m]> tomsmeding: the alternative is trying to figure out how to statically link mingw libs
2021-08-30 06:52:48 aman joins (~aman@user/aman)
2021-08-30 06:54:11 <tomsmeding> maerwald[m]: doesn't sound like fun
2021-08-30 06:56:19 amahl joins (~amahl@dsl-jklbng12-54fbca-64.dhcp.inet.fi)
2021-08-30 06:57:02 acidjnk_new joins (~acidjnk@p200300d0c72b952094eaf2f81a5b0fde.dip0.t-ipconnect.de)
2021-08-30 06:58:17 × lavaman quits (~lavaman@98.38.249.169) (Remote host closed the connection)
2021-08-30 07:00:34 × xff0x quits (~xff0x@2001:1a81:5283:ae00:82de:9d03:d34b:f6a0) (Ping timeout: 252 seconds)
2021-08-30 07:01:30 xff0x joins (~xff0x@2001:1a81:5283:ae00:3380:f428:346c:f5a)
2021-08-30 07:02:08 × tzh quits (~tzh@c-24-21-73-154.hsd1.or.comcast.net) (Quit: zzz)
2021-08-30 07:03:09 <int-e> sim590: you may have better luck with a more complete question (including class definition, type for `use` and possibly `generator`; ideally a minimal source file with the necessary imports, declarations (`undefined` as implementation is fine)... it's much easier to figure out type errors interactively than by staring at a static type error. That said, one thing that stands out is this type...
2021-08-30 07:03:15 <int-e> ...signature from the error message: exponentiate :: forall z (m :: * -> *). MonadState (DHMaterial z) m => MyDHComputableInteger -> m MyDHComputableInteger ...so it's supposed to work for any `DHMaterial z`, but the code you have only works for `DHMaterial MyDHComputableInteger`...
2021-08-30 07:04:21 jumper149 joins (~jumper149@80.240.31.34)
2021-08-30 07:05:13 hannessteffenhag joins (~hannesste@ip4d14ffee.dynamic.kabel-deutschland.de)
2021-08-30 07:06:54 takuan joins (~takuan@178-116-218-225.access.telenet.be)
2021-08-30 07:08:09 <tomsmeding> siers: cool that you understand my gdiff example code now :) I think that "being originally written in Agda" doesn't necessarily produce the GADT weirdness of gdiff; it's the other way round: they wanted to make a completely type-safe implementation, and this is the way that works out in Haskell
2021-08-30 07:08:36 d0ku joins (~d0ku@178.43.56.75.ipv4.supernova.orange.pl)
2021-08-30 07:09:22 × merijn quits (~merijn@83-160-49-249.ip.xs4all.nl) (Ping timeout: 252 seconds)
2021-08-30 07:12:33 <siers> tomsmeding, right, but my thinking was that if you want to write it in agda, you're probably going to make sure it's type-safe :)
2021-08-30 07:13:17 × cjb quits (~cjb@user/cjb) (Quit: rcirc on GNU Emacs 28.0.50)
2021-08-30 07:14:18 azeem joins (~azeem@176.200.56.216)
2021-08-30 07:15:41 gehmehgeh joins (~user@user/gehmehgeh)
2021-08-30 07:16:22 <tomsmeding> siers: again, knowing the research group that this came out of, I think it was the other way round: they wanted type-safety, and they knew agda, and that worked well together :p
2021-08-30 07:16:31 <tomsmeding> but true
2021-08-30 07:16:55 <siers> fair enough, you probably know better. I was just speculating
2021-08-30 07:21:46 kuribas joins (~user@ptr-25vy0i98x8tu9s1v8mf.18120a2.ip6.access.telenet.be)
2021-08-30 07:23:08 Pickchea joins (~private@user/pickchea)
2021-08-30 07:24:31 × Guest3947 quits (~chris@81.96.113.213) (Remote host closed the connection)
2021-08-30 07:28:47 lavaman joins (~lavaman@98.38.249.169)
2021-08-30 07:29:24 chris joins (~chris@81.96.113.213)
2021-08-30 07:29:28 chris is now known as Guest3638
2021-08-30 07:30:20 fendor joins (~fendor@178.165.182.151.wireless.dyn.drei.com)
2021-08-30 07:33:01 × lavaman quits (~lavaman@98.38.249.169) (Ping timeout: 252 seconds)
2021-08-30 07:33:46 × Guest3638 quits (~chris@81.96.113.213) (Ping timeout: 244 seconds)
2021-08-30 07:36:17 × pavonia quits (~user@user/siracusa) (Quit: Bye!)
2021-08-30 07:40:43 × azeem quits (~azeem@176.200.56.216) (Ping timeout: 252 seconds)
2021-08-30 07:41:15 azeem joins (~azeem@176.200.56.216)
2021-08-30 07:41:17 kenran joins (~kenran@b2b-37-24-119-190.unitymedia.biz)
2021-08-30 07:42:08 × charukiewicz quits (~quassel@irouteince04.i.subnet.rcn.com) (Remote host closed the connection)
2021-08-30 07:43:18 charukiewicz joins (~quassel@irouteince04.i.subnet.rcn.com)
2021-08-30 07:44:34 merijn joins (~merijn@83-160-49-249.ip.xs4all.nl)
2021-08-30 07:48:52 <kuribas> What do you think about this article? https://cuddly-octo-palm-tree.com/posts/2021-08-29-data-api/
2021-08-30 07:50:02 <kuribas> I think his examples are a bit rubbish (why would I want to check if a line limit is not exceeded?).
2021-08-30 07:50:35 <kuribas> But it's true that data centric programming is pretty easy in clojure, but not in haskell (when you want type-safety).
2021-08-30 07:51:19 × hnOsmium0001 quits (uid453710@id-453710.stonehaven.irccloud.com) (Quit: Connection closed for inactivity)
2021-08-30 07:51:50 <kuribas> On the other hand, if I want to parse command line, configuration file, environment variables, etc... from the same source, I'd probably make my own effect.
2021-08-30 07:53:04 <kuribas> the ability to inspect all data is convenient, but also breaks abstraction barriers, making code more brittle.
2021-08-30 07:55:35 <maerwald[m]> Someone who coded more than half a year in clojure and didn't lose his mind over impossible to find bugs is a mystery to me
2021-08-30 07:57:26 <kuribas> maerwald: if you drink the clojure cool-aid for so long, it means you're alread in it. Clojure developers don't care that much.
2021-08-30 07:57:59 <kuribas> But it's a good point. You get code conciseness, but the price to pay for lack of safety is that you need a lot of tests.
2021-08-30 07:58:01 × sjb0 quits (~stephen@1.145.117.24) (Quit: Leaving.)
2021-08-30 07:58:55 <maerwald[m]> Refactoring clojure code is basically a gamble with the life of your company
2021-08-30 07:58:57 cfricke joins (~cfricke@user/cfricke)
2021-08-30 07:59:34 <maerwald[m]> Structural typing done wrong
2021-08-30 07:59:42 <lortabac> in my experience refactoring simply doesn't happen with dynamically-typed languages
2021-08-30 08:00:07 <lortabac> once the project reaches a certain size it somehow becomes "append-only"
2021-08-30 08:00:15 <maerwald[m]> I mean, haskell doesn't have any
2021-08-30 08:00:28 <lortabac> especially if the original developers are not there anymore
2021-08-30 08:00:38 <kuribas> lortabac: we do refactor, but it's painful.
2021-08-30 08:01:17 <lortabac> kuribas: wait 5 more years and you will stop refactoring :)
2021-08-30 08:01:29 <lortabac> at some point it simply becomes too dangerous
2021-08-30 08:02:38 <maerwald[m]> If you cherish clojure, you're probably coding in a bubble with no team and don't understand the horror effects it creates for everyone around you
2021-08-30 08:03:30 max22- joins (~maxime@2a01cb0883359800e8f3a18d7241b1b5.ipv6.abo.wanadoo.fr)
2021-08-30 08:03:49 <kuribas> maerwald[m]: I asked a new guy about it. His response was, that he doesn't try to understand the code, just run it in the repl and says what it does, which data goes where and how...

All times are in UTC.