Logs on 2022-05-21 (liberachat/#haskell)
| 00:01:13 | × | pretty_dumm_guy quits (trottel@gateway/vpn/protonvpn/prettydummguy/x-88029655) (Quit: WeeChat 3.5) |
| 00:05:08 | <maerwald[m]> | ERLANG? |
| 00:06:11 | × | machinedgod quits (~machinedg@24.105.81.50) (Remote host closed the connection) |
| 00:07:01 | <hpc> | it's on topic here - it's basically just haskell, but if it was totally different :D |
| 00:07:16 | → | machinedgod joins (~machinedg@24.105.81.50) |
| 00:09:00 | × | flounders quits (~flounders@24.246.138.231) (Ping timeout: 246 seconds) |
| 00:11:09 | → | flounders joins (~flounders@24.246.138.231) |
| 00:14:31 | → | jmdaemon joins (~jmdaemon@user/jmdaemon) |
| 00:15:49 | → | finn_elija joins (~finn_elij@user/finn-elija/x-0085643) |
| 00:15:49 | × | FinnElija quits (~finn_elij@user/finn-elija/x-0085643) (Killed (NickServ (Forcing logout FinnElija -> finn_elija))) |
| 00:15:49 | finn_elija | is now known as FinnElija |
| 00:18:56 | × | Guest|33 quits (~Guest|33@dynamic-186-28-145-94.dynamic.etb.net.co) (Quit: Connection closed) |
| 00:19:24 | → | bilegeek joins (~bilegeek@2600:1008:b055:8390:f7a9:b179:e316:f8e2) |
| 00:19:51 | × | gurkenglas quits (~gurkengla@dslb-084-057-085-111.084.057.pools.vodafone-ip.de) (Ping timeout: 246 seconds) |
| 00:21:10 | × | flounders quits (~flounders@24.246.138.231) (Ping timeout: 240 seconds) |
| 00:23:33 | → | flounders joins (~flounders@24.246.138.231) |
| 00:28:43 | × | flounders quits (~flounders@24.246.138.231) (Ping timeout: 244 seconds) |
| 00:29:08 | × | mvk quits (~mvk@2607:fea8:5ce3:8500::ba9a) (Ping timeout: 272 seconds) |
| 00:30:52 | → | flounders joins (~flounders@24.246.138.231) |
| 00:32:01 | × | vicfred quits (~vicfred@user/vicfred) (Quit: Leaving) |
| 00:32:27 | → | abiss27 joins (~abiss27@user/abiss) |
| 00:33:57 | → | harveypwca joins (~harveypwc@2601:246:c180:a570:3828:d8:e523:3f67) |
| 00:35:15 | × | flounders quits (~flounders@24.246.138.231) (Ping timeout: 246 seconds) |
| 00:36:18 | × | Lord_of_Life quits (~Lord@user/lord-of-life/x-2819915) (Ping timeout: 246 seconds) |
| 00:36:48 | × | stackdroid18 quits (~stackdroi@user/stackdroid) (Quit: hasta la vista... tchau!) |
| 00:37:11 | → | flounders joins (~flounders@24.246.138.231) |
| 00:37:26 | → | Lord_of_Life joins (~Lord@user/lord-of-life/x-2819915) |
| 00:38:14 | → | [_] joins (~itchyjunk@user/itchyjunk/x-7353470) |
| 00:39:18 | × | abiss27 quits (~abiss27@user/abiss) (Quit: hasta la vista... tchau!) |
| 00:41:39 | × | [itchyjunk] quits (~itchyjunk@user/itchyjunk/x-7353470) (Ping timeout: 240 seconds) |
| 00:42:15 | × | flounders quits (~flounders@24.246.138.231) (Ping timeout: 246 seconds) |
| 00:44:30 | → | flounders joins (~flounders@24.246.138.231) |
| 00:48:54 | × | flounders quits (~flounders@24.246.138.231) (Ping timeout: 246 seconds) |
| 00:50:49 | → | flounders joins (~flounders@24.246.138.231) |
| 00:51:50 | × | machinedgod quits (~machinedg@24.105.81.50) (Ping timeout: 240 seconds) |
| 00:55:04 | × | flounders quits (~flounders@24.246.138.231) (Ping timeout: 244 seconds) |
| 00:57:08 | → | flounders joins (~flounders@24.246.138.231) |
| 01:04:35 | × | pfharlock quits (~pfharlock@cpe-74-138-169-108.kya.res.rr.com) (Remote host closed the connection) |
| 01:04:58 | → | pfharlock joins (~pfharlock@cpe-74-138-169-108.kya.res.rr.com) |
| 01:33:21 | × | flounders quits (~flounders@24.246.138.231) (Ping timeout: 246 seconds) |
| 01:35:27 | → | flounders joins (~flounders@24.246.138.231) |
| 01:42:48 | → | Guest|33 joins (~Guest|33@dynamic-186-28-145-94.dynamic.etb.net.co) |
| 01:43:46 | <Guest|33> | hello. i need help with an error |
| 01:46:02 | → | nate1 joins (~nate@98.45.169.16) |
| 01:46:53 | × | Guest|33 quits (~Guest|33@dynamic-186-28-145-94.dynamic.etb.net.co) (Client Quit) |
| 01:47:13 | → | Guest|33 joins (~Guest|33@dynamic-186-28-145-94.dynamic.etb.net.co) |
| 01:47:40 | × | Guest|33 quits (~Guest|33@dynamic-186-28-145-94.dynamic.etb.net.co) (Client Quit) |
| 01:48:07 | × | jinsun__ quits (~jinsun@user/jinsun) (Ping timeout: 240 seconds) |
| 01:49:50 | × | harveypwca quits (~harveypwc@2601:246:c180:a570:3828:d8:e523:3f67) (Ping timeout: 244 seconds) |
| 01:51:14 | → | azimut joins (~azimut@gateway/tor-sasl/azimut) |
| 01:51:17 | × | nate1 quits (~nate@98.45.169.16) (Ping timeout: 260 seconds) |
| 01:52:18 | → | andrey__ joins (~andrey@p200300dbcf35b9009a0ab587690af4b8.dip0.t-ipconnect.de) |
| 01:54:59 | → | harveypwca joins (~harveypwc@2601:246:c180:a570:3828:d8:e523:3f67) |
| 01:55:00 | × | andrey_ quits (~andrey@p200300dbcf288a00dec76475e9c1494e.dip0.t-ipconnect.de) (Ping timeout: 260 seconds) |
| 01:56:04 | × | azimut quits (~azimut@gateway/tor-sasl/azimut) (Ping timeout: 240 seconds) |
| 01:57:09 | → | dons joins (~dons@user/dons) |
| 01:57:25 | → | azimut joins (~azimut@gateway/tor-sasl/azimut) |
| 01:58:40 | <dons> | anyone seen this? Configuring library for ghc-source-gen-0.4.3.0.. |
| 01:58:40 | <dons> | Error: cabal: Duplicate modules in library: GHC.Driver.Monad, |
| 01:58:40 | <dons> | GHC.Driver.Session, GHC.Hs.Type, GHC.Plugins, GHC.Tc.Types.Evidence, |
| 01:58:40 | <dons> | GHC.Types.Basic, GHC.Utils.Outputable |
| 01:58:53 | <dons> | trying to cabal install proto-lens-protoc |
| 01:59:05 | × | notzmv quits (~zmv@user/notzmv) (Ping timeout: 260 seconds) |
| 01:59:17 | × | bilegeek quits (~bilegeek@2600:1008:b055:8390:f7a9:b179:e316:f8e2) (Remote host closed the connection) |
| 01:59:37 | → | bilegeek joins (~bilegeek@2600:1008:b055:8390:f7a9:b179:e316:f8e2) |
| 01:59:58 | <sclv> | the dup module check became overenthusiastic in one version of cabal |
| 02:00:03 | × | szkl quits (uid110435@id-110435.uxbridge.irccloud.com) (Quit: Connection closed for inactivity) |
| 02:00:07 | <dons> | ah |
| 02:00:21 | <sclv> | it picks em up even when they are guarded by different flags |
| 02:00:23 | <dons> | yeah its guarded under an if impl() other-modules stanza, so i think the package spec is ok |
| 02:00:29 | <dons> | that'll be it |
| 02:00:49 | <dons> | i'll bump my cabal, running off of an older trunk |
| 02:00:50 | <sclv> | should be fixed in the next release, idk best practice in the meantime |
| 02:01:05 | <sclv> | oh right that’ll do it! |
| 02:01:07 | <dons> | 'sok, i'm using dev version of cabal , but its a bit old. will report back shortly |
| 02:01:33 | <sclv> | iirc it was my regression (and fix) so fingers crossed |
| 02:03:34 | × | jpds quits (~jpds@gateway/tor-sasl/jpds) (Ping timeout: 240 seconds) |
| 02:06:15 | → | jpds joins (~jpds@gateway/tor-sasl/jpds) |
| 02:19:28 | → | z0k joins (~z0k@39.40.112.46) |
| 02:24:22 | <dons> | yep yep work~. |
| 02:24:52 | <dons> | works on cabal trunk |
| 02:34:27 | × | waleee quits (~waleee@2001:9b0:213:7200:cc36:a556:b1e8:b340) (Ping timeout: 260 seconds) |
| 02:38:35 | <sclv> | w00t |
| 02:39:52 | × | Feuermagier quits (~Feuermagi@user/feuermagier) (Remote host closed the connection) |
| 02:47:52 | × | flounders quits (~flounders@24.246.138.231) (Ping timeout: 260 seconds) |
| 02:49:52 | → | flounders joins (~flounders@24.246.138.231) |
| 02:59:17 | × | FinnElija quits (~finn_elij@user/finn-elija/x-0085643) (Killed (NickServ (Forcing logout FinnElija -> finn_elija))) |
| 02:59:17 | → | finn_elija joins (~finn_elij@user/finn-elija/x-0085643) |
| 02:59:17 | finn_elija | is now known as FinnElija |
| 03:21:56 | × | TonyStone quits (~TonyStone@2603-7080-8607-c36a-a497-4a3c-43e9-e57b.res6.spectrum.com) (Remote host closed the connection) |
| 03:23:45 | → | TonyStone joins (~TonyStone@cpe-74-76-51-197.nycap.res.rr.com) |
| 03:26:26 | → | hololeap joins (~hololeap@user/hololeap) |
| 03:27:03 | × | TonyStone quits (~TonyStone@cpe-74-76-51-197.nycap.res.rr.com) (Client Quit) |
| 03:32:42 | × | abhixec quits (~abhixec@c-67-169-139-16.hsd1.ca.comcast.net) (Ping timeout: 246 seconds) |
| 03:32:48 | → | kimjetwav joins (~user@2607:fea8:2362:b400:1204:50a1:ea87:8687) |
| 03:33:09 | × | zebrag quits (~chris@user/zebrag) (Quit: Konversation terminated!) |
| 03:34:35 | × | pfharlock quits (~pfharlock@cpe-74-138-169-108.kya.res.rr.com) (Remote host closed the connection) |
| 03:35:37 | → | pfharlock joins (~pfharlock@cpe-74-138-169-108.kya.res.rr.com) |
| 03:49:54 | × | harveypwca quits (~harveypwc@2601:246:c180:a570:3828:d8:e523:3f67) (Quit: Leaving) |
| 03:53:01 | → | bitdex joins (~bitdex@gateway/tor-sasl/bitdex) |
| 03:53:54 | → | Infinite joins (~Infinite@49.39.123.175) |
| 04:00:02 | × | flounders quits (~flounders@24.246.138.231) (Ping timeout: 244 seconds) |
| 04:01:20 | × | zaquest quits (~notzaques@5.130.79.72) (Remote host closed the connection) |
| 04:02:21 | → | flounders joins (~flounders@24.246.138.231) |
| 04:04:20 | × | z0k quits (~z0k@39.40.112.46) (Quit: WeeChat 3.5) |
| 04:09:35 | → | notzmv joins (~zmv@user/notzmv) |
| 04:19:35 | × | pfharlock quits (~pfharlock@cpe-74-138-169-108.kya.res.rr.com) (Remote host closed the connection) |
| 04:19:58 | → | pfharlock joins (~pfharlock@cpe-74-138-169-108.kya.res.rr.com) |
| 04:20:05 | → | MsSmithey joins (~MsSmithey@S01069050ca4e3573.cg.shawcable.net) |
| 04:22:00 | × | HotblackDesiato quits (~HotblackD@gateway/tor-sasl/hotblackdesiato) (Remote host closed the connection) |
| 04:22:20 | → | HotblackDesiato joins (~HotblackD@gateway/tor-sasl/hotblackdesiato) |
| 04:22:41 | → | Guest54 joins (~Guest54@modemcable048.16-160-184.mc.videotron.ca) |
| 04:24:05 | × | pfharlock quits (~pfharlock@cpe-74-138-169-108.kya.res.rr.com) (Remote host closed the connection) |
| 04:24:28 | → | pfharlock joins (~pfharlock@cpe-74-138-169-108.kya.res.rr.com) |
| 04:30:54 | → | odnes joins (~odnes@5-203-193-92.pat.nym.cosmote.net) |
| 04:32:47 | × | Sgeo quits (~Sgeo@user/sgeo) (Read error: Connection reset by peer) |
| 04:33:49 | hololeap | is now known as fartfart |
| 04:35:58 | → | Sgeo joins (~Sgeo@user/sgeo) |
| 04:45:32 | <dons> | here's another one i don't understand. Warning: haskell-scip.cabal:0:0: Unsupported cabal-version. See |
| 04:45:35 | <dons> | https://github.com/haskell/cabal/issues/4899. |
| 04:45:38 | <dons> | setup: Failed parsing "./haskell-scip.cabal". |
| 04:45:40 | <dons> | dons@linode1:~/repos/haskell-scip$ cabal --version |
| 04:45:43 | <dons> | cabal-install version 3.6.2.0 |
| 04:45:44 | <dons> | literally, just cabal-version: 3.6 |
| 04:45:59 | <dons> | is it telling me that something i'm using isn't valid cabal 3.6 syntax? |
| 04:46:25 | <dons> | "Warning: haskell-scip.cabal:0:0: Unsupported cabal-version 3.6. See" |
| 04:47:09 | → | gpncarl joins (~gpncarl@120.244.220.69) |
| 04:48:45 | → | yauhsien joins (~yauhsien@61-231-45-20.dynamic-ip.hinet.net) |
| 04:51:48 | <sclv> | is this with the released cabal-install 3.6.2.0 or with something from the repo? |
| 04:53:52 | × | yauhsien quits (~yauhsien@61-231-45-20.dynamic-ip.hinet.net) (Ping timeout: 272 seconds) |
| 04:55:11 | <dons> | both, https://github.com/donsbot/if-proto-scip-hs/blob/main/if-proto-scip-hs.cabal is the .cabal |
| 04:55:27 | <dons> | cabal --version |
| 04:55:28 | <dons> | cabal-install version 3.6.2.0 |
| 04:55:28 | <dons> | compiled using version 3.6.3.0 of the Cabal library |
| 04:55:40 | <dons> | its got various autogen and custom stanzas, i wonder if that's confusing something? |
| 04:56:45 | → | takuan joins (~takuan@178-116-218-225.access.telenet.be) |
| 04:58:53 | <sclv> | hrm works with me on released cabal-install! |
| 04:59:12 | <dons> | huh! |
| 05:00:04 | <sclv> | gonna try head but i suspect same. could be a whitespace thing -- the version parser isn't the standard parser, because it has to parse the version specially before it decides "which" standard parser to use for the rest |
| 05:01:20 | × | Guest54 quits (~Guest54@modemcable048.16-160-184.mc.videotron.ca) (Quit: Client closed) |
| 05:02:11 | <sclv> | yeah works for me on head too |
| 05:02:20 | <dons> | just reinstalling my Cabals then. suspect some weird mix |
| 05:03:35 | × | gpncarl quits (~gpncarl@120.244.220.69) (Ping timeout: 244 seconds) |
| 05:03:46 | fartfart | is now known as hololeap |
| 05:06:34 | × | Infinite quits (~Infinite@49.39.123.175) (Ping timeout: 252 seconds) |
| 05:08:41 | <dons> | ah ha. /home/dons/repos/if-proto-scip-hs/dist-newstyle/build/x86_64-linux/ghc-8.10.7/if-proto-scip-hs-0.1.0.0/setup/setup -V |
| 05:08:44 | <dons> | Cabal library version 3.2.1.0 |
| 05:08:58 | <dons> | the setup is getting compiled with system cabal, not my $HOME/.ghcup cabal |
| 05:09:43 | × | odnes quits (~odnes@5-203-193-92.pat.nym.cosmote.net) (Quit: Leaving) |
| 05:10:06 | <sclv> | oh interesting -- i wonder if that's a bug in cabal |
| 05:10:12 | × | jmdaemon quits (~jmdaemon@user/jmdaemon) (Ping timeout: 260 seconds) |
| 05:10:24 | <dons> | it could warn, i imagine, that the worker and wrapper cabal lib versions are different |
| 05:10:53 | <dons> | i wonder how common this is, these days. e.g this is a base machine with debian stock ghc, but then ghcup all the rest |
| 05:11:14 | <sclv> | i'd think that we should always try to use the same cabal in the programdb that we're running |
| 05:11:38 | <dons> | dons@linode1:~/repos/if-proto-scip-hs$ ghc-pkg list Cabal |
| 05:11:38 | <dons> | /home/dons/.ghcup/ghc/8.10.7/lib/ghc-8.10.7/package.conf.d Cabal-3.2.1.0 |
| 05:11:38 | <dons> | dons@linode1:~/repos/if-proto-scip-hs$ cabal --version |
| 05:11:38 | <dons> | cabal-install version 3.6.2.0 |
| 05:11:56 | <sclv> | oh or, wait is it compiled with system cabal-install, or is it using the Cabal library of that version, since its unconstrained |
| 05:12:07 | <sclv> | i.e. if you constrain the Cabal in the custom setup to a higher version does it work |
| 05:12:15 | <dons> | oh |
| 05:13:08 | × | Vajb quits (~Vajb@hag-jnsbng11-58c3a8-176.dhcp.inet.fi) (Read error: Connection reset by peer) |
| 05:13:40 | → | Vajb joins (~Vajb@hag-jnsbng11-58c3a8-176.dhcp.inet.fi) |
| 05:13:54 | → | tromp joins (~textual@dhcp-077-249-230-040.chello.nl) |
| 05:14:08 | <dons> | no, i thought that would work. but it still wants to link the generated setup against the Cabal-3.2 |
| 05:14:25 | <dons> | setup-depends: base, Cabal >= 3.6, proto-lens-setup |
| 05:14:37 | <dons> | would have thought that would force setup onto -V 3.6 ? |
| 05:14:51 | <dons> | oh it does! |
| 05:15:08 | × | darkling quits (~darkling@savella.carfax.org.uk) (Quit: Summoning his cosmic powers, and glowing slightly from his toes...) |
| 05:15:11 | <dons> | if-proto-scip-hs-0.1.0.0/setup/setup -V |
| 05:15:12 | <dons> | Cabal library version 3.6.3.0 |
| 05:15:15 | <dons> | that looks healthier |
| 05:15:17 | → | darkling joins (~darkling@2001-ba8-1f1-f0e6-0-0-0-2.autov6rev.bitfolk.space) |
| 05:17:13 | <dons> | something screwy though. i gotta clean out all these weird cabal versions :} |
| 05:22:22 | × | [Leary] quits (~Leary]@122-58-228-205-vdsl.sparkbb.co.nz) (Ping timeout: 272 seconds) |
| 05:24:07 | × | tromp quits (~textual@dhcp-077-249-230-040.chello.nl) (Quit: My iMac has gone to sleep. ZZZzzz…) |
| 05:26:16 | → | coot joins (~coot@213.134.190.95) |
| 05:30:02 | × | img quits (~img@user/img) (Quit: ZNC 1.8.2 - https://znc.in) |
| 05:30:19 | → | img joins (~img@user/img) |
| 05:37:42 | → | tromp joins (~textual@dhcp-077-249-230-040.chello.nl) |
| 05:47:45 | → | nate1 joins (~nate@98.45.169.16) |
| 05:50:51 | × | MsSmithey quits (~MsSmithey@S01069050ca4e3573.cg.shawcable.net) (Quit: Client closed) |
| 05:51:30 | × | jao quits (~jao@cpc103048-sgyl39-2-0-cust502.18-2.cable.virginm.net) (Ping timeout: 240 seconds) |
| 05:52:10 | × | nate1 quits (~nate@98.45.169.16) (Ping timeout: 240 seconds) |
| 05:56:58 | × | flounders quits (~flounders@24.246.138.231) (Quit: WeeChat 3.5) |
| 06:08:05 | × | pfharlock quits (~pfharlock@cpe-74-138-169-108.kya.res.rr.com) (Remote host closed the connection) |
| 06:08:28 | → | pfharlock joins (~pfharlock@cpe-74-138-169-108.kya.res.rr.com) |
| 06:09:22 | × | causal quits (~user@50.35.83.177) (Quit: WeeChat 3.5) |
| 06:29:30 | × | lagooned quits (~lagooned@108-208-149-42.lightspeed.hstntx.sbcglobal.net) (Ping timeout: 240 seconds) |
| 06:30:28 | <int-e> | maerwald[m]: I'd need to know which channel that is |
| 06:31:13 | → | lagooned joins (~lagooned@108-208-149-42.lightspeed.hstntx.sbcglobal.net) |
| 06:32:51 | → | alp joins (~alp@user/alp) |
| 06:37:20 | × | alp quits (~alp@user/alp) (Ping timeout: 260 seconds) |
| 06:37:43 | × | bilegeek quits (~bilegeek@2600:1008:b055:8390:f7a9:b179:e316:f8e2) (Remote host closed the connection) |
| 06:38:06 | → | bilegeek joins (~bilegeek@2600:1008:b055:8390:f7a9:b179:e316:f8e2) |
| 06:55:55 | → | acidjnk joins (~acidjnk@p200300d0c7068b59cc97022dafaf9a18.dip0.t-ipconnect.de) |
| 06:56:42 | → | dbrms^ joins (~dbrms@c-24-126-228-147.hsd1.ga.comcast.net) |
| 07:04:52 | × | [_] quits (~itchyjunk@user/itchyjunk/x-7353470) (Read error: Connection reset by peer) |
| 07:07:34 | → | jargon joins (~jargon@174-22-206-112.phnx.qwest.net) |
| 07:10:47 | × | coot quits (~coot@213.134.190.95) (Quit: coot) |
| 07:12:56 | × | tromp quits (~textual@dhcp-077-249-230-040.chello.nl) (Quit: My iMac has gone to sleep. ZZZzzz…) |
| 07:15:51 | × | tzh quits (~tzh@c-24-21-73-154.hsd1.wa.comcast.net) (Quit: zzz) |
| 07:17:17 | × | jrm quits (~jrm@156.34.173.250) (Quit: ciao) |
| 07:17:37 | → | jrm joins (~jrm@156.34.173.250) |
| 07:19:59 | × | dbrms^ quits (~dbrms@c-24-126-228-147.hsd1.ga.comcast.net) (Ping timeout: 244 seconds) |
| 07:22:11 | → | sabry joins (~sabry@197.37.144.70) |
| 07:26:52 | → | dbrms^ joins (~dbrms@c-24-126-228-147.hsd1.ga.comcast.net) |
| 07:27:43 | × | bilegeek quits (~bilegeek@2600:1008:b055:8390:f7a9:b179:e316:f8e2) (Remote host closed the connection) |
| 07:28:12 | → | bilegeek joins (~bilegeek@2600:1008:b055:8390:f7a9:b179:e316:f8e2) |
| 07:30:50 | × | bontaq quits (~user@ool-45779fe5.dyn.optonline.net) (Ping timeout: 240 seconds) |
| 07:37:50 | × | cyphase quits (~cyphase@user/cyphase) (Ping timeout: 240 seconds) |
| 07:48:31 | → | gehmehgeh joins (~user@user/gehmehgeh) |
| 07:49:16 | × | gehmehgeh quits (~user@user/gehmehgeh) (Client Quit) |
| 07:49:52 | → | gehmehgeh joins (~user@user/gehmehgeh) |
| 07:52:21 | → | coot joins (~coot@213.134.190.95) |
| 07:53:15 | × | Sgeo quits (~Sgeo@user/sgeo) (Read error: Connection reset by peer) |
| 07:56:13 | → | kalxd joins (~kalxd@2408:8440:d10:374:16cd:d99a:4522:4a7c) |
| 07:56:39 | × | kalxd quits (~kalxd@2408:8440:d10:374:16cd:d99a:4522:4a7c) (Quit: WeeChat 3.0) |
| 07:57:35 | → | zaquest joins (~notzaques@5.130.79.72) |
| 08:09:59 | → | _ht joins (~quassel@231-169-21-31.ftth.glasoperator.nl) |
| 08:17:14 | × | eggplantade quits (~Eggplanta@2600:1700:bef1:5e10:452f:6cab:9363:cbad) (Remote host closed the connection) |
| 08:18:05 | × | pfharlock quits (~pfharlock@cpe-74-138-169-108.kya.res.rr.com) (Remote host closed the connection) |
| 08:18:30 | → | pfharlock joins (~pfharlock@cpe-74-138-169-108.kya.res.rr.com) |
| 08:24:58 | → | gpncarl joins (~gpncarl@120.244.220.69) |
| 08:26:26 | → | gurkenglas joins (~gurkengla@dslb-084-057-085-111.084.057.pools.vodafone-ip.de) |
| 08:28:05 | → | tromp joins (~textual@dhcp-077-249-230-040.chello.nl) |
| 08:29:10 | × | gpncarl quits (~gpncarl@120.244.220.69) (Ping timeout: 240 seconds) |
| 08:35:32 | × | dbrms^ quits (~dbrms@c-24-126-228-147.hsd1.ga.comcast.net) (Ping timeout: 272 seconds) |
| 08:37:50 | → | dbrms^ joins (~dbrms@c-24-126-228-147.hsd1.ga.comcast.net) |
| 08:37:59 | → | Midjak joins (~Midjak@82.66.147.146) |
| 08:44:53 | × | albet70 quits (~xxx@2400:8902::f03c:92ff:fe60:98d8) (Remote host closed the connection) |
| 08:50:40 | → | epolanski joins (uid312403@id-312403.helmsley.irccloud.com) |
| 08:50:59 | → | albet70 joins (~xxx@2400:8902::f03c:92ff:fe60:98d8) |
| 08:52:05 | × | pfharlock quits (~pfharlock@cpe-74-138-169-108.kya.res.rr.com) (Remote host closed the connection) |
| 08:52:29 | → | pfharlock joins (~pfharlock@cpe-74-138-169-108.kya.res.rr.com) |
| 08:52:53 | × | albet70 quits (~xxx@2400:8902::f03c:92ff:fe60:98d8) (Remote host closed the connection) |
| 08:54:22 | → | [Leary] joins (~Leary]@122-58-228-205-vdsl.sparkbb.co.nz) |
| 08:58:02 | × | bilegeek quits (~bilegeek@2600:1008:b055:8390:f7a9:b179:e316:f8e2) (Quit: Leaving) |
| 08:59:00 | → | albet70 joins (~xxx@2400:8902::f03c:92ff:fe60:98d8) |
| 09:07:41 | → | chomwitt joins (~chomwitt@2a02:587:dc2d:2c00:6d42:b13e:fd55:e1a6) |
| 09:17:32 | × | werneta quits (~werneta@70-142-214-115.lightspeed.irvnca.sbcglobal.net) (Ping timeout: 260 seconds) |
| 09:19:31 | → | yauhsien joins (~yauhsien@61-231-45-20.dynamic-ip.hinet.net) |
| 09:27:27 | × | gurkenglas quits (~gurkengla@dslb-084-057-085-111.084.057.pools.vodafone-ip.de) (Ping timeout: 260 seconds) |
| 09:28:15 | <maerwald[m]> | int-e: #haskell-ghcup:libera.chat |
| 09:28:19 | × | dbrms^ quits (~dbrms@c-24-126-228-147.hsd1.ga.comcast.net) (Ping timeout: 246 seconds) |
| 09:30:39 | × | coot quits (~coot@213.134.190.95) (Quit: coot) |
| 09:33:18 | × | ubert quits (~Thunderbi@p548c8d44.dip0.t-ipconnect.de) (Quit: ubert) |
| 09:35:05 | × | pfharlock quits (~pfharlock@cpe-74-138-169-108.kya.res.rr.com) (Remote host closed the connection) |
| 09:35:33 | → | pfharlock joins (~pfharlock@cpe-74-138-169-108.kya.res.rr.com) |
| 09:49:15 | → | nate1 joins (~nate@98.45.169.16) |
| 09:50:47 | × | chomwitt quits (~chomwitt@2a02:587:dc2d:2c00:6d42:b13e:fd55:e1a6) (Ping timeout: 260 seconds) |
| 09:52:02 | ← | jakalx parts (~jakalx@base.jakalx.net) () |
| 09:53:10 | → | jakalx joins (~jakalx@base.jakalx.net) |
| 09:53:34 | → | dbrms^ joins (~dbrms@c-24-126-228-147.hsd1.ga.comcast.net) |
| 09:53:43 | → | mokee joins (~mokee@37.228.215.63) |
| 09:53:50 | × | nate1 quits (~nate@98.45.169.16) (Ping timeout: 240 seconds) |
| 10:01:09 | <[exa]> | is there something like isSpace that would NOT say that the unicode nonbreakable space is actually space? (https://www.fileformat.info/info/unicode/char/00a0/index.htm says isWhitespace=no, isSpaceChar=yes) |
| 10:01:29 | → | chomwitt joins (~chomwitt@athe730-c-multi-500.home.otenet.gr) |
| 10:02:05 | × | pfharlock quits (~pfharlock@cpe-74-138-169-108.kya.res.rr.com) (Remote host closed the connection) |
| 10:02:34 | → | pfharlock joins (~pfharlock@cpe-74-138-169-108.kya.res.rr.com) |
| 10:03:39 | → | wolfshappen joins (~waff@irc.furworks.de) |
| 10:03:47 | → | __monty__ joins (~toonn@user/toonn) |
| 10:04:33 | <maerwald> | (`elem` "\t\n\r\f\v")? |
| 10:04:57 | <maerwald> | eh, "\t\n\r\f\v " |
| 10:05:19 | <[exa]> | nah, I need to match the unicode spaces but not unicode nonbreaking spaces |
| 10:05:39 | [exa] | converts this to a nice TODO |
| 10:07:53 | <maerwald> | I guess you just remove the `|| uc == 0xa0` from the isSpace definition |
| 10:07:59 | <maerwald> | https://hackage.haskell.org/package/base-4.16.1.0/docs/src/GHC-Unicode.html#isSpace |
| 10:10:50 | × | Vajb quits (~Vajb@hag-jnsbng11-58c3a8-176.dhcp.inet.fi) (Read error: Connection reset by peer) |
| 10:11:35 | → | Vajb joins (~Vajb@hag-jnsbng11-58c3a8-176.dhcp.inet.fi) |
| 10:12:21 | × | sabry quits (~sabry@197.37.144.70) (Quit: Client closed) |
| 10:14:30 | → | mmhat joins (~mmh@p200300f1c7397f7fee086bfffe095315.dip0.t-ipconnect.de) |
| 10:16:39 | × | Flonk quits (~Flonk@vps-zap441517-1.zap-srv.com) (Quit: Ping timeout (120 seconds)) |
| 10:17:13 | → | Flonk joins (~Flonk@vps-zap441517-1.zap-srv.com) |
| 10:20:06 | → | romesrf joins (~romes@185.5.8.134) |
| 10:23:50 | × | dbrms^ quits (~dbrms@c-24-126-228-147.hsd1.ga.comcast.net) (Ping timeout: 272 seconds) |
| 10:26:57 | × | Flonk quits (~Flonk@vps-zap441517-1.zap-srv.com) (Quit: Ping timeout (120 seconds)) |
| 10:27:00 | → | wootehfoot joins (~wootehfoo@user/wootehfoot) |
| 10:27:38 | → | Flonk joins (~Flonk@vps-zap441517-1.zap-srv.com) |
| 10:29:06 | → | jinsun joins (~jinsun@user/jinsun) |
| 10:30:09 | × | Flonk quits (~Flonk@vps-zap441517-1.zap-srv.com) (Client Quit) |
| 10:30:29 | → | Flonk joins (~Flonk@vps-zap441517-1.zap-srv.com) |
| 10:33:35 | × | Flonk quits (~Flonk@vps-zap441517-1.zap-srv.com) (Client Quit) |
| 10:33:53 | → | Flonk joins (~Flonk@vps-zap441517-1.zap-srv.com) |
| 10:36:42 | × | Flonk quits (~Flonk@vps-zap441517-1.zap-srv.com) (Client Quit) |
| 10:36:58 | → | Flonk joins (~Flonk@vps-zap441517-1.zap-srv.com) |
| 10:38:04 | → | dbrms^ joins (~dbrms@c-24-126-228-147.hsd1.ga.comcast.net) |
| 10:39:13 | × | dbrms^ quits (~dbrms@c-24-126-228-147.hsd1.ga.comcast.net) (Remote host closed the connection) |
| 10:46:04 | → | coot joins (~coot@213.134.190.95) |
| 10:47:48 | → | z0k joins (~z0k@39.40.79.153) |
| 10:50:52 | × | romesrf quits (~romes@185.5.8.134) (Quit: WeeChat 3.4.1) |
| 10:51:09 | → | romesrf joins (~romes@185.5.8.134) |
| 10:51:31 | × | romesrf quits (~romes@185.5.8.134) (Client Quit) |
| 10:51:48 | → | romesrf joins (~romes@185.5.8.134) |
| 10:52:21 | × | Flonk quits (~Flonk@vps-zap441517-1.zap-srv.com) (Quit: Ping timeout (120 seconds)) |
| 10:54:02 | → | Flonk joins (~Flonk@vps-zap441517-1.zap-srv.com) |
| 10:54:35 | → | eggplantade joins (~Eggplanta@2600:1700:bef1:5e10:84c:3a94:a15f:5a37) |
| 10:56:46 | ← | coot parts (~coot@213.134.190.95) () |
| 10:57:30 | → | zincy joins (~zincy@host86-160-236-152.range86-160.btcentralplus.com) |
| 10:59:18 | × | eggplantade quits (~Eggplanta@2600:1700:bef1:5e10:84c:3a94:a15f:5a37) (Ping timeout: 272 seconds) |
| 10:59:23 | × | kaskal quits (~kaskal@2001:4bb8:2e0:b5bd:e3c0:d71b:f32:84d8) (Ping timeout: 252 seconds) |
| 10:59:35 | → | coot_ joins (~coot@2a02:a310:e241:1b00:ec1a:e9df:79ac:66ba) |
| 11:00:15 | × | coot_ quits (~coot@2a02:a310:e241:1b00:ec1a:e9df:79ac:66ba) (Remote host closed the connection) |
| 11:00:41 | × | zincy quits (~zincy@host86-160-236-152.range86-160.btcentralplus.com) (Remote host closed the connection) |
| 11:02:40 | → | coot joins (~coot@2a02:a310:e241:1b00:ec1a:e9df:79ac:66ba) |
| 11:04:39 | × | obviyus quits (sid415299@user/obviyus) (Quit: Connection closed for inactivity) |
| 11:09:31 | → | kuribas joins (~user@ptr-17d51eo1fmpcxjg59s4.18120a2.ip6.access.telenet.be) |
| 11:11:51 | × | Vajb quits (~Vajb@hag-jnsbng11-58c3a8-176.dhcp.inet.fi) (Read error: Connection reset by peer) |
| 11:13:21 | → | Vajb joins (~Vajb@hag-jnsbng11-58c3a8-176.dhcp.inet.fi) |
| 11:14:20 | → | Digit joins (~user@user/digit) |
| 11:14:47 | → | obviyus joins (sid415299@user/obviyus) |
| 11:15:51 | <Digit> | hi, quick question, how much hd space will stack take? (asking because have limited space, scared to issue "curl -sSL https://get.haskellstack.org/ | sh") |
| 11:15:54 | × | coot quits (~coot@2a02:a310:e241:1b00:ec1a:e9df:79ac:66ba) (Remote host closed the connection) |
| 11:17:39 | <maerwald> | 5GB or more |
| 11:18:13 | <Digit> | thanks. out of the question for me. |
| 11:18:54 | <maerwald> | what are you trying to do? |
| 11:21:40 | × | tromp quits (~textual@dhcp-077-249-230-040.chello.nl) (Quit: My iMac has gone to sleep. ZZZzzz…) |
| 11:23:12 | <Digit> | i thought about following along DistroTube's build a haskell gtk app in an hour video, on a whim. no big loss to skip it. |
| 11:23:26 | × | Vajb quits (~Vajb@hag-jnsbng11-58c3a8-176.dhcp.inet.fi) (Remote host closed the connection) |
| 11:27:30 | → | Vajb joins (~Vajb@hag-jnsbng11-58c3a8-176.dhcp.inet.fi) |
| 11:27:47 | ← | jakalx parts (~jakalx@base.jakalx.net) (Error from remote client) |
| 11:29:41 | × | sammelweis quits (~quassel@2601:401:8200:2d4c:bd9:d04c:7f69:eb10) (Quit: https://quassel-irc.org - Chat comfortably. Anywhere.) |
| 11:29:56 | → | jakalx joins (~jakalx@base.jakalx.net) |
| 11:29:59 | → | coot joins (~coot@2a02:a310:e241:1b00:ec1a:e9df:79ac:66ba) |
| 11:30:45 | → | sammelweis joins (~quassel@2601:401:8200:2d4c:bd9:d04c:7f69:eb10) |
| 11:32:30 | × | yauhsien quits (~yauhsien@61-231-45-20.dynamic-ip.hinet.net) (Remote host closed the connection) |
| 11:34:06 | → | tromp joins (~textual@dhcp-077-249-230-040.chello.nl) |
| 11:36:46 | × | acidjnk quits (~acidjnk@p200300d0c7068b59cc97022dafaf9a18.dip0.t-ipconnect.de) (Ping timeout: 244 seconds) |
| 11:40:07 | → | zincy joins (~zincy@2a00:23c8:970c:4801:2054:62a8:f46a:a313) |
| 11:42:45 | × | coot quits (~coot@2a02:a310:e241:1b00:ec1a:e9df:79ac:66ba) (Remote host closed the connection) |
| 11:43:33 | → | yauhsien joins (~yauhsien@61-231-45-20.dynamic-ip.hinet.net) |
| 11:44:36 | → | coot joins (~coot@2a02:a310:e241:1b00:ec1a:e9df:79ac:66ba) |
| 11:45:42 | <sm> | I used to figure about 1G per GHC version |
| 11:46:10 | <sm> | maybe it was 1G for GHC and another 1G for libs |
| 11:48:19 | × | yauhsien quits (~yauhsien@61-231-45-20.dynamic-ip.hinet.net) (Ping timeout: 246 seconds) |
| 11:49:43 | × | z0k quits (~z0k@39.40.79.153) (Remote host closed the connection) |
| 11:50:03 | → | z0k joins (~z0k@39.40.79.153) |
| 11:51:33 | <maerwald> | GHC itself is 2GB |
| 11:52:20 | <maerwald> | then you have pantry with another 1GB |
| 11:53:26 | <maerwald> | the reason 9.0.2 with stack is only 1.1GB is because the bindist is broken (missing profiling libs) |
| 11:53:27 | <int-e> | 1GB works if you don't build documentation and profiling libs ;) |
| 11:55:15 | × | coot quits (~coot@2a02:a310:e241:1b00:ec1a:e9df:79ac:66ba) (Remote host closed the connection) |
| 11:55:25 | <int-e> | regardless, ghc has grow noticably |
| 11:56:31 | <int-e> | https://paste.debian.net/1241572/ (this is without docs and profiling libs) |
| 11:57:47 | <int-e> | Hmm, I actually don't know what happened between 8.2 and 8.4 |
| 11:59:32 | walt | is now known as ggVGc |
| 12:00:18 | × | epolanski quits (uid312403@id-312403.helmsley.irccloud.com) (Quit: Connection closed for inactivity) |
| 12:01:45 | → | coot joins (~coot@2a02:a310:e241:1b00:ec1a:e9df:79ac:66ba) |
| 12:01:59 | × | coot quits (~coot@2a02:a310:e241:1b00:ec1a:e9df:79ac:66ba) (Remote host closed the connection) |
| 12:03:12 | → | coot joins (~coot@2a02:a310:e241:1b00:ec1a:e9df:79ac:66ba) |
| 12:03:56 | × | coot quits (~coot@2a02:a310:e241:1b00:ec1a:e9df:79ac:66ba) (Remote host closed the connection) |
| 12:04:38 | × | Flonk quits (~Flonk@vps-zap441517-1.zap-srv.com) (Quit: Ping timeout (120 seconds)) |
| 12:04:42 | <int-e> | Oh, 8.4 and later includes a .o file for each library... in addition to the .so and a .a files. |
| 12:05:47 | → | yauhsien joins (~yauhsien@61-231-45-20.dynamic-ip.hinet.net) |
| 12:06:01 | → | coot joins (~coot@2a02:a310:e241:1b00:ec1a:e9df:79ac:66ba) |
| 12:06:20 | <geekosaur> | that seems like it might be worth noting to the folks in #ghc, since I don't think those .o-s are very useful to end users |
| 12:06:46 | <geekosaur> | and in any case should be extractable from the .a-s |
| 12:07:09 | <int-e> | Yeah... I do wonder how they would ever be used. A statically linked ghci would do that I guess... but who uses that? |
| 12:08:33 | → | frost joins (~frost@user/frost) |
| 12:09:04 | × | bitdex quits (~bitdex@gateway/tor-sasl/bitdex) (Ping timeout: 240 seconds) |
| 12:10:01 | <maerwald> | alpine bindist |
| 12:10:47 | × | coot quits (~coot@2a02:a310:e241:1b00:ec1a:e9df:79ac:66ba) (Ping timeout: 260 seconds) |
| 12:11:11 | <geekosaur> | that's the .a |
| 12:11:20 | <geekosaur> | the individual .o files shouldn't be useful |
| 12:12:03 | → | bitdex joins (~bitdex@gateway/tor-sasl/bitdex) |
| 12:12:32 | <geekosaur> | and unloess something has gone really weird, should duplicate what's in the .a anyway |
| 12:17:11 | <ggVGc> | what do you guys think the chances are of successfully building and using this commit? https://gitlab.haskell.org/ghc/ghc/-/commit/e3f0d880b7b74ed95059a8cddf3edf3e0d2f83c6 |
| 12:17:11 | × | x88x88x quits (~x88x88x@2001:19f0:5:39a8:5400:3ff:feb6:73cb) (Quit: ZNC - https://znc.in) |
| 12:17:31 | <ggVGc> | I've been curious how it would be to work on a project with 90s Haskell |
| 12:17:36 | <ggVGc> | in terms of compilation speed |
| 12:18:07 | × | azimut quits (~azimut@gateway/tor-sasl/azimut) (Remote host closed the connection) |
| 12:18:07 | × | ec quits (~ec@gateway/tor-sasl/ec) (Remote host closed the connection) |
| 12:18:11 | <ggVGc> | Since I mainly use haskell for DSLs generating other code anyway, and basically don't use anything fancy since I'm too dumb |
| 12:18:46 | → | azimut joins (~azimut@gateway/tor-sasl/azimut) |
| 12:19:55 | → | ec joins (~ec@gateway/tor-sasl/ec) |
| 12:20:25 | × | tromp quits (~textual@dhcp-077-249-230-040.chello.nl) (Quit: My iMac has gone to sleep. ZZZzzz…) |
| 12:24:50 | → | [itchyjunk] joins (~itchyjunk@user/itchyjunk/x-7353470) |
| 12:24:57 | <maerwald> | ggVGc: you need an appropriate bootstrap GHC version |
| 12:25:23 | <maerwald> | so it boils down to manage to install an ancient GHC bindist |
| 12:25:50 | <maerwald> | which is not easy... even the oldest docker images might not suffices (e.g. old debian repos can't be fetched anymore) |
| 12:26:18 | <ggVGc> | Yeah, I assume it's a fairly deep rabbit hole |
| 12:26:27 | <ggVGc> | what do you reckon is the older GHC reasonable to chase? |
| 12:26:33 | <ggVGc> | Maybe working backwards is the best way... |
| 12:26:38 | <ggVGc> | until I hit a wall |
| 12:27:19 | → | tromp joins (~textual@dhcp-077-249-230-040.chello.nl) |
| 12:28:01 | <int-e> | geekosaur: ghci will prefer the .o file over the .a file (it'll be a bit faster because there are fewer symbols to resolve) |
| 12:28:56 | <maerwald> | ggVGc: that looks like GHC 2.02, which I can't find bindists for. Usually you need an older GHC version to bootstrap something. The only older one than 2.02 with bindists seems to be https://downloads.haskell.org/~ghc/0.29/ |
| 12:28:59 | <maerwald> | good luck, LOL |
| 12:29:14 | <maerwald> | (that's literally the oldest bindist that exists) |
| 12:31:05 | → | coot joins (~coot@213.134.190.95) |
| 12:31:50 | <ggVGc> | haha, thanks :) Will note this down until after I (hopefully) pass my single-variable analysis course on wednesday |
| 12:31:59 | <ggVGc> | decided to pursue a bachelors in physics at age 32... |
| 12:32:03 | × | sammelweis quits (~quassel@2601:401:8200:2d4c:bd9:d04c:7f69:eb10) (Ping timeout: 244 seconds) |
| 12:32:31 | × | econo quits (uid147250@user/econo) (Quit: Connection closed for inactivity) |
| 12:35:19 | <maerwald> | sounds cool |
| 12:37:17 | → | sammelweis joins (~quassel@2601:401:8200:2d4c:bd9:d04c:7f69:eb10) |
| 12:43:44 | → | x88x88x joins (~x88x88x@2001:19f0:5:39a8:5400:3ff:feb6:73cb) |
| 12:44:26 | <ente> | nice, when's the time if not now |
| 12:47:13 | × | tromp quits (~textual@dhcp-077-249-230-040.chello.nl) (Quit: My iMac has gone to sleep. ZZZzzz…) |
| 12:51:23 | × | mmhat quits (~mmh@p200300f1c7397f7fee086bfffe095315.dip0.t-ipconnect.de) (Quit: WeeChat 3.5) |
| 12:56:42 | × | coot quits (~coot@213.134.190.95) (Quit: coot) |
| 12:57:13 | → | eggplantade joins (~Eggplanta@2600:1700:bef1:5e10:84c:3a94:a15f:5a37) |
| 13:01:30 | × | eggplantade quits (~Eggplanta@2600:1700:bef1:5e10:84c:3a94:a15f:5a37) (Ping timeout: 244 seconds) |
| 13:01:36 | → | mmhat joins (~mmh@p200300f1c7397f7fee086bfffe095315.dip0.t-ipconnect.de) |
| 13:05:27 | × | nckx quits (~nckx@tobias.gr) (Quit: Updating my Guix System <https://guix.gnu.org>) |
| 13:05:38 | → | coot joins (~coot@213.134.190.95) |
| 13:08:36 | × | HotblackDesiato quits (~HotblackD@gateway/tor-sasl/hotblackdesiato) (Remote host closed the connection) |
| 13:08:55 | → | HotblackDesiato joins (~HotblackD@gateway/tor-sasl/hotblackdesiato) |
| 13:12:18 | × | romesrf quits (~romes@185.5.8.134) (Ping timeout: 272 seconds) |
| 13:12:51 | → | nckx joins (~nckx@tobias.gr) |
| 13:12:57 | → | tromp joins (~textual@dhcp-077-249-230-040.chello.nl) |
| 13:20:55 | → | dostoevsky joins (~5c42c5384@user/dostoevsky) |
| 13:22:15 | <ggVGc> | yep, exactly |
| 13:23:13 | <ggVGc> | I've wanted to for about 10 years, and I started both a physics education, a maths one and a CS one at different points during that time, and always ended up dropping out almost instantly because of work pulling me the other way |
| 13:23:32 | <ggVGc> | realised I'll still have this desire in the back of my head for another 10 years if I don't just do it |
| 13:24:54 | × | jargon quits (~jargon@174-22-206-112.phnx.qwest.net) (Remote host closed the connection) |
| 13:28:17 | × | mima quits (~mmh@aftr-62-216-207-208.dynamic.mnet-online.de) (Remote host closed the connection) |
| 13:30:36 | × | dostoevsky quits (~5c42c5384@user/dostoevsky) (Ping timeout: 276 seconds) |
| 13:35:15 | × | coot quits (~coot@213.134.190.95) (Quit: coot) |
| 13:38:25 | → | yosef`` joins (~user@user/yosef/x-3154124) |
| 13:46:38 | → | MajorBiscuit joins (~MajorBisc@86-88-79-148.fixed.kpn.net) |
| 13:49:46 | → | romesrf joins (~romes@185.5.8.134) |
| 13:50:45 | → | nate1 joins (~nate@98.45.169.16) |
| 13:55:57 | × | nate1 quits (~nate@98.45.169.16) (Ping timeout: 276 seconds) |
| 13:56:59 | → | coot joins (~coot@213.134.190.95) |
| 13:57:20 | → | waleee joins (~waleee@2001:9b0:213:7200:cc36:a556:b1e8:b340) |
| 14:04:52 | × | z0k quits (~z0k@39.40.79.153) (Ping timeout: 272 seconds) |
| 14:10:58 | → | jao joins (~jao@cpc103048-sgyl39-2-0-cust502.18-2.cable.virginm.net) |
| 14:15:01 | × | tromp quits (~textual@dhcp-077-249-230-040.chello.nl) (Quit: My iMac has gone to sleep. ZZZzzz…) |
| 14:17:33 | × | shailangsa quits (~shailangs@host109-152-9-235.range109-152.btcentralplus.com) () |
| 14:21:19 | × | romesrf quits (~romes@185.5.8.134) (Ping timeout: 256 seconds) |
| 14:21:35 | × | bitdex quits (~bitdex@gateway/tor-sasl/bitdex) (Quit: = "") |
| 14:24:22 | × | mokee quits (~mokee@37.228.215.63) (Quit: off) |
| 14:24:23 | × | zincy quits (~zincy@2a00:23c8:970c:4801:2054:62a8:f46a:a313) (Remote host closed the connection) |
| 14:24:43 | → | mokee joins (~mokee@37.228.215.63) |
| 14:27:52 | → | Hemmo joins (~IceChat95@2001:999:60c:9812:8cb8:ff0:5438:76b9) |
| 14:29:44 | → | tromp joins (~textual@dhcp-077-249-230-040.chello.nl) |
| 14:29:53 | <Hemmo> | readPhone :: String -> String -> String -> Phone |
| 14:29:53 | <Hemmo> | readPhone pt cc pn = read pt::PhoneType |
| 14:29:58 | <Hemmo> | Oops |
| 14:30:07 | × | MajorBiscuit quits (~MajorBisc@86-88-79-148.fixed.kpn.net) (Quit: WeeChat 3.4) |
| 14:30:08 | <Hemmo> | Well anyway. I'm trying to make a function as so |
| 14:30:30 | <Hemmo> | I'm not sure how I can use the read function for each of them to check whether the parameter given is correct. Any help and pointers appreciated =) |
| 14:31:12 | <Hemmo> | I thought of guards, but not sure how I could use the read function in each of them and return an error if the type isnt right? |
| 14:31:38 | → | MajorBiscuit joins (~MajorBisc@86-88-79-148.fixed.kpn.net) |
| 14:31:52 | <Hemmo> | Like, read pt::PhoneType /= PhoneType, return error. If no error, then move on to checking the next argument? |
| 14:32:02 | × | yauhsien quits (~yauhsien@61-231-45-20.dynamic-ip.hinet.net) (Remote host closed the connection) |
| 14:32:27 | <geekosaur> | read throws an exception on failure, so that'll be a pain. but there's readMaybe in Text.Read |
| 14:32:39 | → | yauhsien joins (~yauhsien@61-231-45-20.dynamic-ip.hinet.net) |
| 14:33:04 | → | machinedgod joins (~machinedg@24.105.81.50) |
| 14:33:05 | → | gurkenglas joins (~gurkengla@dslb-084-057-085-111.084.057.pools.vodafone-ip.de) |
| 14:33:24 | <geekosaur> | in any case you don't specify the type that way |
| 14:33:45 | <geekosaur> | hm, I guess that one will work as written, but it won't combine well |
| 14:34:19 | <geekosaur> | you may find Maybe's Monad instance helpful here |
| 14:36:00 | <Hemmo> | I actually want it to throw an exception though when it fails |
| 14:36:27 | <Hemmo> | The course I'm doing suggests using the read function |
| 14:37:04 | <Hemmo> | Like I thought of using the read to each of the strings and if one fails, it throws a custom exception. Like "Empty phone type" or "Wrong phone type" |
| 14:37:22 | × | yauhsien quits (~yauhsien@61-231-45-20.dynamic-ip.hinet.net) (Ping timeout: 246 seconds) |
| 14:37:23 | <geekosaur> | read doesn't let you specify |
| 14:37:24 | <Hemmo> | Error = exception I guess? |
| 14:37:38 | <geekosaur> | > read "blurfl" |
| 14:37:40 | <lambdabot> | *Exception: Prelude.read: no parse |
| 14:37:55 | <Hemmo> | Hmm I see. |
| 14:39:00 | <Hemmo> | Ohh I may not need it. |
| 14:39:09 | <Hemmo> | I'll think about this a bit more =) |
| 14:45:05 | × | pfharlock quits (~pfharlock@cpe-74-138-169-108.kya.res.rr.com) (Remote host closed the connection) |
| 14:45:33 | → | pfharlock joins (~pfharlock@cpe-74-138-169-108.kya.res.rr.com) |
| 14:50:55 | × | tromp quits (~textual@dhcp-077-249-230-040.chello.nl) (Quit: My iMac has gone to sleep. ZZZzzz…) |
| 14:52:09 | → | spacenautx joins (~spacenaut@user/spacenautx) |
| 14:52:22 | × | MajorBiscuit quits (~MajorBisc@86-88-79-148.fixed.kpn.net) (Ping timeout: 260 seconds) |
| 14:53:11 | × | spacenautx quits (~spacenaut@user/spacenautx) (Client Quit) |
| 14:53:33 | → | spacenautx joins (~spacenaut@user/spacenautx) |
| 14:54:34 | × | mokee quits (~mokee@37.228.215.63) (Quit: off) |
| 14:54:50 | → | mokee joins (~mokee@37.228.215.63) |
| 14:59:09 | × | coot quits (~coot@213.134.190.95) (Quit: coot) |
| 15:00:14 | → | tromp joins (~textual@dhcp-077-249-230-040.chello.nl) |
| 15:03:51 | <hololeap> | I keep using something like this in my projects and I'm thinking about making it into a package, but I wonder if there's something like it out there already: |
| 15:04:28 | <hololeap> | class Parsable t where parser :: (Stream s Identity Char) => Parsec s () (PartialParse t) |
| 15:05:20 | <hololeap> | data PartialParse t = PartialParse String t | CompleteParse t |
| 15:05:43 | <geekosaur> | isn't that mroe or less what attoparsec does? |
| 15:06:43 | <hololeap> | yeah attoparsec does do partial parsing. actually, that isn't the part I'm focusing on. I just keep making a Parsable class, whether or not I implement PartialParse is beside the point |
| 15:07:58 | <hololeap> | I'm pretty sure they even have a class like this in Cabal |
| 15:08:26 | → | kenaryn joins (~aurele@89-88-44-27.abo.bbox.fr) |
| 15:08:59 | → | romesrf joins (~romes@185.5.8.134) |
| 15:10:15 | × | Vajb quits (~Vajb@hag-jnsbng11-58c3a8-176.dhcp.inet.fi) (Read error: Connection reset by peer) |
| 15:10:29 | → | Vajb joins (~Vajb@hag-jnsbng11-58c3a8-176.dhcp.inet.fi) |
| 15:11:05 | × | pfharlock quits (~pfharlock@cpe-74-138-169-108.kya.res.rr.com) (Remote host closed the connection) |
| 15:11:32 | → | pfharlock joins (~pfharlock@cpe-74-138-169-108.kya.res.rr.com) |
| 15:11:36 | × | tromp quits (~textual@dhcp-077-249-230-040.chello.nl) (Quit: My iMac has gone to sleep. ZZZzzz…) |
| 15:11:58 | → | raehik joins (~raehik@cpc95906-rdng25-2-0-cust156.15-3.cable.virginm.net) |
| 15:11:59 | <hololeap> | ToText/FromText ? |
| 15:12:50 | → | cyphase joins (~cyphase@user/cyphase) |
| 15:16:25 | <hololeap> | for instance, parsing "Cabal-3.4.1.0" and getting a CabalPackage and CabalVersion from it, but also being able to convert back to "Cabal-3.4.1.0". there has to be a name for this |
| 15:16:27 | <maerwald[m]> | hololeap: hsve you checked out streamly's parsing API? |
| 15:16:34 | × | romesrf quits (~romes@185.5.8.134) (Quit: WeeChat 3.4.1) |
| 15:16:52 | × | motherfsck quits (~motherfsc@user/motherfsck) (Ping timeout: 260 seconds) |
| 15:17:12 | <hololeap> | no |
| 15:17:53 | → | zebrag joins (~chris@user/zebrag) |
| 15:20:17 | <hololeap> | now I just want to know what to call my pair of classes. ToText/FromText ? Parsable/Renderable ? |
| 15:22:59 | <hpc> | Unserializable? |
| 15:23:04 | <hpc> | :P |
| 15:23:29 | <geekosaur> | there are several reversable parser packages on hackage, you may get some ideas from those |
| 15:23:37 | <geekosaur> | *reversible |
| 15:24:02 | × | raehik quits (~raehik@cpc95906-rdng25-2-0-cust156.15-3.cable.virginm.net) (Ping timeout: 272 seconds) |
| 15:29:05 | → | shailangsa joins (~shailangs@host109-152-9-235.range109-152.btcentralplus.com) |
| 15:29:10 | → | harveypwca joins (~harveypwc@2601:246:c180:a570:3828:d8:e523:3f67) |
| 15:32:20 | <hololeap> | hm, Parsable/Printable seems good |
| 15:34:06 | × | waleee quits (~waleee@2001:9b0:213:7200:cc36:a556:b1e8:b340) (Quit: WeeChat 3.5) |
| 15:35:28 | → | MajorBiscuit joins (~MajorBisc@86-88-79-148.fixed.kpn.net) |
| 15:36:08 | → | zer0bitz joins (~zer0bitz@2001:2003:f444:8f00:75ac:391d:77e5:2293) |
| 15:39:17 | × | nek0 quits (~nek0@nek0.eu) (Quit: The Lounge - https://thelounge.chat) |
| 15:39:44 | → | waleee joins (~waleee@2001:9b0:213:7200:cc36:a556:b1e8:b340) |
| 15:39:47 | × | Vajb quits (~Vajb@hag-jnsbng11-58c3a8-176.dhcp.inet.fi) (Read error: Connection reset by peer) |
| 15:40:00 | → | Vajb joins (~Vajb@hag-jnsbng11-58c3a8-176.dhcp.inet.fi) |
| 15:45:18 | × | frost quits (~frost@user/frost) (Ping timeout: 252 seconds) |
| 15:45:52 | → | kaskal joins (~kaskal@2001:4bb8:2e0:b5bd:e3c0:d71b:f32:84d8) |
| 15:48:39 | × | Hemmo quits (~IceChat95@2001:999:60c:9812:8cb8:ff0:5438:76b9) (Quit: Depression is merely anger without enthusiasm) |
| 15:49:13 | → | zincy joins (~zincy@2a00:23c8:970c:4801:2054:62a8:f46a:a313) |
| 15:50:13 | × | zincy quits (~zincy@2a00:23c8:970c:4801:2054:62a8:f46a:a313) (Remote host closed the connection) |
| 15:51:45 | → | Guest23 joins (~Guest23@109.206.198.75) |
| 15:53:14 | × | Guest23 quits (~Guest23@109.206.198.75) (Client Quit) |
| 15:54:42 | × | MajorBiscuit quits (~MajorBisc@86-88-79-148.fixed.kpn.net) (Ping timeout: 246 seconds) |
| 15:56:44 | → | zincy joins (~zincy@2a00:23c8:970c:4801:2054:62a8:f46a:a313) |
| 15:57:48 | → | MajorBiscuit joins (~MajorBisc@86-88-79-148.fixed.kpn.net) |
| 15:58:18 | × | Vajb quits (~Vajb@hag-jnsbng11-58c3a8-176.dhcp.inet.fi) (Read error: Connection reset by peer) |
| 15:58:30 | → | Vajb joins (~Vajb@hag-jnsbng11-58c3a8-176.dhcp.inet.fi) |
| 15:59:19 | → | eggplantade joins (~Eggplanta@2600:1700:bef1:5e10:84c:3a94:a15f:5a37) |
| 16:00:42 | → | bitdex joins (~bitdex@gateway/tor-sasl/bitdex) |
| 16:03:53 | × | eggplantade quits (~Eggplanta@2600:1700:bef1:5e10:84c:3a94:a15f:5a37) (Ping timeout: 244 seconds) |
| 16:05:04 | × | bitdex quits (~bitdex@gateway/tor-sasl/bitdex) (Ping timeout: 240 seconds) |
| 16:08:42 | × | kuribas quits (~user@ptr-17d51eo1fmpcxjg59s4.18120a2.ip6.access.telenet.be) (Remote host closed the connection) |
| 16:10:32 | → | tromp joins (~textual@dhcp-077-249-230-040.chello.nl) |
| 16:14:50 | × | jlamothe quits (~jlamothe@198.251.61.229) (Ping timeout: 240 seconds) |
| 16:18:12 | → | bitdex joins (~bitdex@gateway/tor-sasl/bitdex) |
| 16:23:28 | → | Everything joins (~Everythin@37.115.210.35) |
| 16:24:06 | × | MajorBiscuit quits (~MajorBisc@86-88-79-148.fixed.kpn.net) (Ping timeout: 246 seconds) |
| 16:29:11 | × | Vajb quits (~Vajb@hag-jnsbng11-58c3a8-176.dhcp.inet.fi) (Read error: Connection reset by peer) |
| 16:29:30 | → | Vajb joins (~Vajb@2001:999:231:409f:b036:bb6b:e334:8a8e) |
| 16:32:23 | → | gensyst joins (gensyst@user/gensyst) |
| 16:32:25 | → | king_gs joins (~Thunderbi@187.201.97.18) |
| 16:32:31 | × | FragByte quits (~christian@user/fragbyte) (Quit: Quit) |
| 16:32:36 | <gensyst> | Library for GTK, gtk vs. gi-gtk? |
| 16:32:41 | <gensyst> | maerwald, ^ |
| 16:33:06 | <gensyst> | There seem to be two GTK "ecosystems". One is the normal one, the other is the gi- one |
| 16:33:10 | <gensyst> | what a PITA lol |
| 16:33:32 | <maerwald> | I didn't do it |
| 16:33:41 | <geekosaur> | I didn't know gtk2hs was even maintained any more |
| 16:33:47 | <gensyst> | I'm particularly interested in Chart library, and there is a Chart-gtk but there is no Chart-gi-gtk, so does that mean I should go with the normal non-gi "ecosystem"? |
| 16:34:06 | → | tzh joins (~tzh@c-24-21-73-154.hsd1.wa.comcast.net) |
| 16:34:12 | <maerwald> | I prefer gtk over gi, but that's not a strong opinion |
| 16:34:28 | → | nek0 joins (~nek0@2a01:4f8:222:2b41::12) |
| 16:34:30 | → | FragByte joins (~christian@user/fragbyte) |
| 16:34:46 | × | tromp quits (~textual@dhcp-077-249-230-040.chello.nl) (Quit: My iMac has gone to sleep. ZZZzzz…) |
| 16:37:22 | × | ezzieyguywuf quits (~Unknown@user/ezzieyguywuf) (Ping timeout: 260 seconds) |
| 16:38:04 | × | bitdex quits (~bitdex@gateway/tor-sasl/bitdex) (Ping timeout: 240 seconds) |
| 16:39:41 | → | MajorBiscuit joins (~MajorBisc@86-88-79-148.fixed.kpn.net) |
| 16:41:56 | × | kenaryn quits (~aurele@89-88-44-27.abo.bbox.fr) (Quit: leaving) |
| 16:42:48 | → | yauhsien joins (~yauhsien@61-231-45-20.dynamic-ip.hinet.net) |
| 16:47:12 | × | yauhsien quits (~yauhsien@61-231-45-20.dynamic-ip.hinet.net) (Ping timeout: 246 seconds) |
| 16:47:33 | → | raehik joins (~raehik@cpc95906-rdng25-2-0-cust156.15-3.cable.virginm.net) |
| 16:51:46 | <pie_> | How hard is it to implement a simple foldl? |
| 16:52:29 | → | kenaryn joins (~aurele@cre71-h03-89-88-44-27.dsl.sta.abo.bbox.fr) |
| 16:52:35 | × | kenaryn quits (~aurele@cre71-h03-89-88-44-27.dsl.sta.abo.bbox.fr) (Client Quit) |
| 16:52:59 | <Franciman> | pie_: it's easy |
| 16:53:20 | <pie_> | foldr was easy enough, I guess Ill stare at it a bit more I guess |
| 16:53:37 | <Franciman> | do you want answer? |
| 16:53:42 | <pie_> | not yet |
| 16:54:00 | <Franciman> | good because i don't know *evil laugh* |
| 16:54:03 | <pie_> | :P |
| 16:54:11 | <Franciman> | no it's not hard, i'm joking, just think a bit about it |
| 16:54:32 | <geekosaur> | you can get it from lambdabot, but seems to me like it should be reasonably obvious from seeing what it does |
| 16:54:41 | <geekosaur> | > foldl f z [a,b,c] |
| 16:54:44 | <lambdabot> | f (f (f z a) b) c |
| 16:54:48 | <pie_> | the problem is : you can build the foldr as you go splitting the cons and applying your function |
| 16:54:51 | → | kenaryn joins (~aurele@cre71-h03-89-88-44-27.dsl.sta.abo.bbox.fr) |
| 16:55:08 | <pie_> | but thats not how foldl works |
| 16:55:27 | <EvanR> | be careful with operationally explaining the foldr and foldl implementations |
| 16:55:34 | <EvanR> | laziness plays tricks on you |
| 16:55:43 | <pie_> | oh im actually doing this in racket :V |
| 16:55:51 | <EvanR> | :facepalm: |
| 16:55:55 | <pie_> | but i guess im thining about it in both languages |
| 16:55:58 | <pie_> | *thinking |
| 16:56:03 | <EvanR> | well then foldl is basically a for loop |
| 16:56:29 | <Franciman> | is it tail recursive? ahah |
| 16:56:35 | <Franciman> | that's a relevant question for scheme |
| 16:56:36 | <Franciman> | i guess |
| 16:56:44 | <Franciman> | and it's also a small hint :( |
| 16:56:46 | <Franciman> | sory |
| 16:57:10 | <Philonous> | Is it strange or undesirable to mix and match csc2hs and c2hs in the same project? |
| 16:57:37 | → | eggplantade joins (~Eggplanta@2600:1700:bef1:5e10:84c:3a94:a15f:5a37) |
| 16:57:47 | <geekosaur> | it doesn't matter |
| 16:58:10 | <geekosaur> | gtk2hs will use its c2hs regardless of what you use for any other foreign imports/exports |
| 16:58:33 | <c_wraith> | it might be a bit awkward in terms of requiring more context switching if you're working on those parts frequently, but it won't cause any problems |
| 16:58:51 | <Philonous> | hsc2hs, I meant |
| 16:58:51 | × | Vajb quits (~Vajb@2001:999:231:409f:b036:bb6b:e334:8a8e) (Read error: Connection reset by peer) |
| 16:58:56 | <geekosaur> | well, ideally you never see the gtk2hsc2hs stuff |
| 16:59:25 | <Philonous> | I generall prefer c2hs, but c2hs has trouble dealing with nested structs and other edge cases that hsc2hs seems to take in strides |
| 16:59:38 | <Philonous> | OTOH c2hs makes function marshalling a breeze |
| 17:00:17 | → | Vajb joins (~Vajb@hag-jnsbng11-58c3a8-176.dhcp.inet.fi) |
| 17:00:32 | <Philonous> | Well, perhaps "breeze" is a bit of an overstatement, but at least it brings the pain down to bearable levels |
| 17:01:13 | <geekosaur> | gtk2hs's version of c2hs generally doesnt have those problems because it's been tuned to how gtk+ does it |
| 17:01:14 | <pie_> | ok I think I got it |
| 17:01:55 | <geekosaur> | which is pretty mechanical because glib is pretty mechanical if somewhat horrifying |
| 17:03:07 | <EvanR> | pie_, foldl = "straightforward accumulating loop" is the case in many languages, and is also why it goes off the rails in haskell, by default |
| 17:03:19 | <geekosaur> | again you never look at those parts, it's generally done by Setup.hs during package configuration and if anything goes wrong it usually means there's something wrong with your gtk+ install (usually a missing devel package) |
| 17:03:59 | × | kimjetwav quits (~user@2607:fea8:2362:b400:1204:50a1:ea87:8687) (Ping timeout: 240 seconds) |
| 17:04:20 | × | harveypwca quits (~harveypwc@2601:246:c180:a570:3828:d8:e523:3f67) (Quit: Leaving) |
| 17:04:58 | × | Vajb quits (~Vajb@hag-jnsbng11-58c3a8-176.dhcp.inet.fi) (Read error: Connection reset by peer) |
| 17:07:24 | × | MajorBiscuit quits (~MajorBisc@86-88-79-148.fixed.kpn.net) (Quit: WeeChat 3.4) |
| 17:07:30 | × | sander quits (~sander@user/sander) (Quit: So long! :)) |
| 17:07:55 | <pie_> | lol no nevermind i accidentally wrote foldr again xD |
| 17:08:18 | <Philonous> | Ah, I'm not dealing with gtk, I just want to bind to an existing C-library, and none of the solutions (hsc2hs, c2hs, inline-c) really seem to do the job by themselves |
| 17:08:37 | → | Vajb joins (~Vajb@hag-jnsbng11-58c3a8-176.dhcp.inet.fi) |
| 17:08:39 | <Philonous> | Hence the mixing and matching |
| 17:10:25 | → | sander joins (~sander@user/sander) |
| 17:10:30 | <gensyst> | maerwald, would love to hear more on your weak opinion |
| 17:10:34 | <gensyst> | on gtk > gi-gtk |
| 17:11:44 | → | tromp joins (~textual@dhcp-077-249-230-040.chello.nl) |
| 17:18:20 | <EvanR> | pie_, btw what is the standard racket thing that does foldl, what's it called |
| 17:18:37 | <pie_> | I have no idea I'm just playing with my roommate's homework |
| 17:19:05 | × | pfharlock quits (~pfharlock@cpe-74-138-169-108.kya.res.rr.com) (Remote host closed the connection) |
| 17:19:22 | → | dcoutts_ joins (~duncan@host86-150-41-206.range86-150.btcentralplus.com) |
| 17:19:34 | → | pfharlock joins (~pfharlock@cpe-74-138-169-108.kya.res.rr.com) |
| 17:21:24 | → | Topsi joins (~Topsi@dyndsl-095-033-022-188.ewe-ip-backbone.de) |
| 17:21:24 | <monochrom> | With foldl f z xs, you can think of z as an accumulator parameter and try to do tail recursion. |
| 17:21:43 | → | coot joins (~coot@213.134.190.95) |
| 17:22:19 | <hololeap> | what are your opinions of UndecidableSuperClasses? it could be "neat" to have Parsable be a superclass of Printable, and vice-versa |
| 17:22:28 | × | dcoutts quits (~duncan@host213-122-143-140.range213-122.btcentralplus.com) (Ping timeout: 272 seconds) |
| 17:22:47 | <hololeap> | seems smelly though |
| 17:24:24 | <hpc> | at that point they might as well be one class |
| 17:24:41 | × | pavonia quits (~user@user/siracusa) (Quit: Bye!) |
| 17:25:31 | × | Vajb quits (~Vajb@hag-jnsbng11-58c3a8-176.dhcp.inet.fi) (Read error: Connection reset by peer) |
| 17:25:33 | <EvanR> | ok it seems to be called... foldl |
| 17:26:41 | <EvanR> | yes isn't that set theory 101, A < B, B < A => A = B |
| 17:27:11 | → | Vajb joins (~Vajb@2001:999:231:409f:b036:bb6b:e334:8a8e) |
| 17:27:50 | <EvanR> | A ⊆ B, B ⊆ A => A = B |
| 17:29:26 | <hpc> | EvanR: now try saying the same thing about mutually imported modules and see what people here say :D |
| 17:29:49 | <EvanR> | to not do it? xD |
| 17:30:33 | <hpc> | if only |
| 17:33:55 | <monochrom> | Oh people do say "so merge into the same module". |
| 17:36:20 | <hololeap> | there's also hs-boot files |
| 17:36:51 | → | dsrt^ joins (~dsrt@c-24-126-228-147.hsd1.ga.comcast.net) |
| 17:37:54 | <hpc> | hs-boot is just a fancy way of saying "third module" |
| 17:38:03 | <c_wraith> | merging them is better than using hs-boot files. but it would be nice if GHC just supported mutually recursive modules |
| 17:39:08 | <hpc> | nah, i like knowing that my modules are actually independent of each other |
| 17:39:18 | <hpc> | imagine allowing mutually recursive package dependencies |
| 17:39:30 | <hololeap> | whoohoo |
| 17:39:51 | <hpc> | nooooooooo, that way lies madness |
| 17:40:21 | <hololeap> | just make a single hackage mono-package mono-module |
| 17:40:37 | <hololeap> | namespaces be damned |
| 17:40:53 | <hpc> | also the proper rebuttal would have been "imagine allowing mutually recursive function definitions" :P |
| 17:41:22 | <geekosaur> | isn't there one in acme-something? |
| 17:41:30 | <raehik> | Question about runtime impact of typeclasses. If I use some concrete typeclass method in a function, there's no dictionary passing/other overhead, right? it just inserts the definition |
| 17:41:31 | × | king_gs quits (~Thunderbi@187.201.97.18) (Read error: Connection reset by peer) |
| 17:41:51 | <c_wraith> | raehik: usually. |
| 17:42:16 | <geekosaur> | most of the time it should be resolved, unless it's a recursively polymorphic usage |
| 17:42:18 | <hololeap> | really, namespacing is the main reason why you would want mutually dependent modules |
| 17:42:23 | <raehik> | c_wraith: fab, I imagine there's weird cases but this is all monomorphic boring |
| 17:42:43 | <raehik> | ty |
| 17:42:44 | <pie_> | these arent the same when defining foldl but they kind of look the same to me: |
| 17:42:44 | <pie_> | (f (foldl f initial tail) head) |
| 17:42:44 | <pie_> | (foldl f (f head initial) tail) |
| 17:43:06 | <pie_> | can anyone help me make sense of this? |
| 17:43:18 | <EvanR> | they look different |
| 17:43:51 | <pie_> | the first one looks like foldl proper, im not sure what the second one is doing |
| 17:44:05 | <c_wraith> | raehik: there are some cases involving multiple modules and typeclass-polymorphic functions that aren't actually part of the class. |
| 17:44:06 | <EvanR> | oh now I don't understand the context |
| 17:44:07 | <pie_> | Im not even 100% sure at this point how I came up with it |
| 17:44:42 | → | king_gs joins (~Thunderbi@187.201.97.18) |
| 17:44:42 | <pie_> | the signature for this foldl is: (foldl2 f initial lst) |
| 17:44:44 | × | tromp quits (~textual@dhcp-077-249-230-040.chello.nl) (Quit: My iMac has gone to sleep. ZZZzzz…) |
| 17:45:12 | <raehik> | c_wraith: OK. This usage is mostly to consolidate definitions for something only used concretely (but I want to switch between X definitions) |
| 17:45:16 | <c_wraith> | raehik: whether those get specialized at compile time depends on whether they're online (or have specialize pragmas matching your type already) |
| 17:45:24 | <c_wraith> | err. *inline |
| 17:45:50 | <monochrom> | This is where infix notation with explicit parenthesizing is actually helpful, therefore Racket syntax is being unhelpful. |
| 17:46:31 | <maerwald> | gensyst: I dunno, I remember the API being vastly different in a couple of places |
| 17:46:57 | <maerwald> | gtk felt better (maybe because it was less of a direct translation?) |
| 17:47:01 | <monochrom> | You can use either an induction proof or expansion by hand to find out whether you're achieving "a + (b + (c + z))" or "((z + a) + b) + c" |
| 17:48:36 | <pie_> | ok |
| 17:49:05 | <monochrom> | This is why I don't teach foldr and foldl in isolation, or require students to invent them. |
| 17:49:36 | <pie_> | oh i see |
| 17:49:54 | <pie_> | since the (f ...) is in the position of initial, i need to expand the instances of initial |
| 17:50:10 | <monochrom> | I teach summing/multiplying a list two ways, and map, and reverse. Then their egregious boilerplate screams at you, and then foldr and foldl are obvious. |
| 17:52:15 | → | nate1 joins (~nate@98.45.169.16) |
| 17:53:17 | <monochrom> | And these days I don't even emphasize foldl or foldr. I emphasize Monoid and Foldable. |
| 17:54:26 | <pie_> | I think there's 4 variants here; one gets you a + (b + (c + d))), the other gets that left-assoc; the other two variants might be the same thing reversed |
| 17:54:57 | <pie_> | d + (...) |
| 17:55:13 | <pie_> | but I dont "see" it yet |
| 17:55:49 | <EvanR> | what type are you folding over, finite list? |
| 17:55:52 | → | christiansen joins (~christian@83-95-137-75-dynamic.dk.customer.tdc.net) |
| 17:55:59 | <pie_> | yeah |
| 17:56:00 | <c_wraith> | those are very difficult to write for lists, because [] is a singly-linked list |
| 17:56:02 | <monochrom> | finite lists in Racket. |
| 17:57:03 | → | MajorBiscuit joins (~MajorBisc@86-88-79-148.fixed.kpn.net) |
| 17:57:18 | × | nate1 quits (~nate@98.45.169.16) (Ping timeout: 272 seconds) |
| 17:57:46 | <pie_> | this is the mess Im currently looking at https://bpa.st/YI2A |
| 17:57:56 | → | stackdroid18 joins (14094@user/stackdroid) |
| 17:58:24 | <pie_> | sorry for the mess of human languages heh, I should fix that |
| 17:58:32 | → | arjun joins (~arjun@user/arjun) |
| 17:58:59 | <monochrom> | (f initial fej) |
| 18:00:00 | <monochrom> | Also the pattern for the empty list is () not (list) |
| 18:00:20 | → | econo joins (uid147250@user/econo) |
| 18:00:31 | <monochrom> | or maybe '() |
| 18:01:12 | <pie_> | yeah I figured theres something more appropriate for nil but I didnt bother checking (re: playing with my roommate's homework) |
| 18:01:13 | × | Vajb quits (~Vajb@2001:999:231:409f:b036:bb6b:e334:8a8e) (Read error: Connection reset by peer) |
| 18:01:33 | <pie_> | '() appears to work |
| 18:01:52 | <monochrom> | If your roommate thought that the empty list was written (list), they should drop the course now. |
| 18:01:53 | → | Vajb joins (~Vajb@hag-jnsbng11-58c3a8-176.dhcp.inet.fi) |
| 18:02:10 | <pie_> | heh |
| 18:02:24 | <EvanR> | damn |
| 18:02:37 | <EvanR> | please tell us this course involves haskell in some form |
| 18:03:05 | <pie_> | I dare fathom the lecturer used (list) |
| 18:03:21 | <pie_> | no Im pretty sure it was mostly java |
| 18:03:31 | <EvanR> | (list) is like... a function call right xD |
| 18:04:23 | <pie_> | probably |
| 18:05:03 | <monochrom> | OK I now see how (list) can work. But it's an XY problem. |
| 18:10:35 | × | pfharlock quits (~pfharlock@cpe-74-138-169-108.kya.res.rr.com) (Remote host closed the connection) |
| 18:10:39 | × | turlando quits (~turlando@user/turlando) (Quit: turlando) |
| 18:11:04 | → | pfharlock joins (~pfharlock@cpe-74-138-169-108.kya.res.rr.com) |
| 18:11:37 | <pie_> | fixed the names https://bpa.st/VXMA |
| 18:12:46 | → | turlando joins (~turlando@93.51.40.51) |
| 18:12:46 | × | turlando quits (~turlando@93.51.40.51) (Changing host) |
| 18:12:46 | → | turlando joins (~turlando@user/turlando) |
| 18:12:53 | <monochrom> | With foldr you don't think in terms of "acc". |
| 18:13:29 | <pie_> | yeah that was a WIP accident |
| 18:13:37 | <monochrom> | Why in foldl you have (f h initial) not (f initial h)? |
| 18:14:05 | × | MajorBiscuit quits (~MajorBisc@86-88-79-148.fixed.kpn.net) (Ping timeout: 244 seconds) |
| 18:14:27 | × | zincy quits (~zincy@2a00:23c8:970c:4801:2054:62a8:f46a:a313) (Remote host closed the connection) |
| 18:14:30 | <pie_> | No good reason, I wasnt sure I had the recursion structure right in the first place. |
| 18:14:40 | <pie_> | so yes that needs to be fixed |
| 18:17:29 | → | tromp joins (~textual@dhcp-077-249-230-040.chello.nl) |
| 18:22:59 | × | raehik quits (~raehik@cpc95906-rdng25-2-0-cust156.15-3.cable.virginm.net) (Ping timeout: 240 seconds) |
| 18:25:52 | <pie_> | oh |
| 18:26:04 | pie_ | squints |
| 18:26:19 | <pie_> | I think part of the reason some of this stuff is working is because im testing with f = cons |
| 18:26:46 | → | pretty_dumm_guy joins (trottel@gateway/vpn/protonvpn/prettydummguy/x-88029655) |
| 18:27:12 | <monochrom> | A test case cannot be more correct than the human's expected answer. |
| 18:28:01 | <monochrom> | foldl cons z [a,b,c] = (cons (cons (cons z a) b) c) is the correct answer. |
| 18:28:17 | <monochrom> | If you see '(a b c z) then it's wrong. |
| 18:29:01 | <monochrom> | (cons (cons (cons z a) b) c) is likely printed as (((z . a) . b) . c) in Racket. |
| 18:29:07 | <pie_> | I dont, I was looking at stuff like ((((((() . 1) . 2) . 3) . 4) . 5) . 6) |
| 18:29:16 | <monochrom> | OK good. |
| 18:29:48 | <monochrom> | That's the correct answer for foldl cons '() '(1 2 3 4 5 6) |
| 18:29:58 | <pie_> | well, Im not sure which variant im running right now |
| 18:29:59 | <pie_> | aha |
| 18:30:32 | <EvanR> | that's causing my haskell brain to explode |
| 18:30:47 | <monochrom> | This is why I don't have a Haskell brain. |
| 18:31:05 | <pie_> | at least your brain can into programming |
| 18:31:20 | <pie_> | my roommate is better than me but he is lazy |
| 18:31:47 | × | coot quits (~coot@213.134.190.95) (Ping timeout: 256 seconds) |
| 18:31:55 | <monochrom> | Your roommate should switch to Haskell. |
| 18:32:26 | <pie_> | If he finishes his exams I intend to nag him about it |
| 18:33:16 | × | king_gs quits (~Thunderbi@187.201.97.18) (Read error: Connection reset by peer) |
| 18:35:31 | → | wroathe joins (~wroathe@206-55-188-8.fttp.usinternet.com) |
| 18:35:31 | × | wroathe quits (~wroathe@206-55-188-8.fttp.usinternet.com) (Changing host) |
| 18:35:31 | → | wroathe joins (~wroathe@user/wroathe) |
| 18:35:44 | → | king_gs joins (~Thunderbi@187.201.97.18) |
| 18:41:07 | <pie_> | OH |
| 18:41:08 | <pie_> | OHű |
| 18:41:11 | <pie_> | the joke |
| 18:41:12 | <pie_> | my head |
| 18:42:00 | <monochrom> | :) |
| 18:44:53 | × | geekosaur quits (~geekosaur@xmonad/geekosaur) (Remote host closed the connection) |
| 18:47:01 | → | geekosaur joins (~geekosaur@xmonad/geekosaur) |
| 18:47:35 | → | ehammarstrom_ joins (~ehammarst@62-20-203-39-no182.tbcn.telia.com) |
| 18:48:00 | <pie_> | sidenote, so what if I dont want foldl with cons to reverse my list? |
| 18:48:25 | × | cheater quits (~Username@user/cheater) (Quit: (BitchX) A gentleman is one who knows how to play the bagpipes, but chooses not to.) |
| 18:48:36 | <pie_> | which is really what I originally wanted to solve |
| 18:48:57 | × | ehammarstrom quits (~ehammarst@62-20-203-39-no182.tbcn.telia.com) (Ping timeout: 248 seconds) |
| 18:49:07 | <monochrom> | ((((((() . 1) . 2) . 3) . 4) . 5) . 6) isn't a reversal. The order is still 1,2,3,4,5,6. |
| 18:49:08 | → | cheater joins (~Username@user/cheater) |
| 18:50:14 | <pie_> | well, its ((((((() . 6) . 5) . 4) . 3) . 2) . 1) |
| 18:50:26 | <pie_> | but youre probably still saying the right thing |
| 18:50:30 | <monochrom> | (f initial head). |
| 18:50:51 | → | werneta joins (~werneta@70-142-214-115.lightspeed.irvnca.sbcglobal.net) |
| 18:52:28 | <pie_> | uh the only one of my four folds that seems to be right-ish doesnt do that. well, hold on. |
| 18:52:29 | → | ehammarstrom joins (~ehammarst@62-20-203-39-no182.tbcn.telia.com) |
| 18:53:08 | <monochrom> | There is only one foldr and only one foldl. The other two are generally ignored. |
| 18:53:21 | <gensyst> | maerwald, thanks for pointing me towards gtk with Haskell. This is so cool. Desktop apps in Haskell! |
| 18:54:12 | <gensyst> | maerwald, and for custom data visualizations GTK really is a no-brainer. You get to create visualizations with what custom controls you want. And for this, why bother learning something extra like Mathematica? Why not just use a standard cross-platform GTK? Skills that also apply in other fields! |
| 18:54:21 | → | zincy joins (~zincy@2a00:23c8:970c:4801:2054:62a8:f46a:a313) |
| 18:54:23 | <maerwald> | gensyst: I dunno... I've switched mostly to terminal these days. I used to be a big gtk fan 10 years ago |
| 18:54:27 | × | ehammarstrom_ quits (~ehammarst@62-20-203-39-no182.tbcn.telia.com) (Ping timeout: 260 seconds) |
| 18:54:50 | <maerwald> | if browser would run (properly) in terminal, there'd be nothing left |
| 18:55:13 | <hpc> | i am still waiting for browsers to run properly in desktop environments |
| 18:55:16 | <arjun> | maerwald, can it run crysis tho |
| 18:55:19 | <EvanR> | no discussion of gtk haskell can be complete without obligatory reference to Manatee and their integrated haskell gtk "environment" |
| 18:55:20 | <gensyst> | lol |
| 18:56:32 | <monochrom> | I wonder if you accept: Run GUI browser through VNC or any remote desktop solution, but the receiving end pumps it through mplayer's asciiart driver. |
| 18:56:48 | <maerwald> | hpc: :D |
| 18:57:15 | <maerwald> | I mean... just an opengl app would do too. GUIs for games are plenty |
| 18:57:23 | <maerwald> | like myGUI |
| 18:57:35 | → | HotblackDesiato_ joins (~HotblackD@gateway/tor-sasl/hotblackdesiato) |
| 18:59:04 | → | c_aprakasa[m] joins (~caprakasa@2001:470:69fc:105::cfd6) |
| 18:59:12 | <hololeap> | anyone know how to make haddock render this (highlighted in red) so that it isn't just one long line, but has breaks like in the definition just above it? https://pasteboard.co/27ajNRCuiwHz.png |
| 19:00:16 | <EvanR> | gui toolkits give you vector graphics, people insist on using opengl to make a gui instead, opengl (still) can't do vector graphics |
| 19:00:47 | <EvanR> | why is this world mad |
| 19:01:16 | <monochrom> | too much lead in the air from burning leaded gasoline |
| 19:01:32 | <EvanR> | veritasium's at it again |
| 19:01:34 | × | HotblackDesiato quits (~HotblackD@gateway/tor-sasl/hotblackdesiato) (Ping timeout: 240 seconds) |
| 19:01:41 | <arjun> | it all went downhill after Harambe tbh |
| 19:01:57 | <hololeap> | I would posit that madness is the default state and we should be grateful for any sanity left |
| 19:02:11 | <EvanR> | that is so dark |
| 19:02:34 | <arjun> | EvanR, Electricty does not flow though wires : D |
| 19:02:49 | EvanR | throws the computer through the wall |
| 19:02:59 | <shapr> | argh |
| 19:03:05 | <arjun> | also, there is a hole at the bottom of Mathematics |
| 19:03:11 | <EvanR> | aaaaaaaaa stop it |
| 19:03:25 | <arjun> | ANALOG COMPUTERS |
| 19:03:43 | <EvanR> | I waited months for that follow up to get AI! |
| 19:04:03 | <arjun> | instead it was a chip company ad |
| 19:04:12 | <hololeap> | basically my attitude haha: https://tvtropes.org/pmwiki/pmwiki.php/Main/TheAntiNihilist |
| 19:05:28 | <maerwald> | EvanR: cairo has OpenGL as backend, no? |
| 19:05:38 | <EvanR> | not really |
| 19:05:48 | <maerwald> | well, yes |
| 19:05:58 | <maerwald> | it says so on the website |
| 19:06:16 | <EvanR> | yeah been reading that "fact" for a while |
| 19:06:38 | <EvanR> | the closest thing I found to that is google's acquired tech "skia" |
| 19:07:51 | <pie_> | monochrom: this is what im looking at right now jdoodle.com/ia/r8g |
| 19:07:59 | <pie_> | * https://www.jdoodle.com/ia/r8g |
| 19:08:28 | <monochrom> | But why is it a 4pt font... |
| 19:10:22 | × | arjun quits (~arjun@user/arjun) (Quit: Leaving) |
| 19:11:25 | × | wroathe quits (~wroathe@user/wroathe) (Ping timeout: 246 seconds) |
| 19:12:01 | <EvanR> | gensyst, you can also use these browser-in-a-can frontends for visuals |
| 19:12:09 | <EvanR> | electron, something or other |
| 19:12:39 | <EvanR> | ghcjs or websocket to a haskell core program |
| 19:12:59 | <hololeap> | why isn't there a brick-like interface for gui-building yet |
| 19:13:39 | <shapr> | I want that too now that you mention it |
| 19:14:31 | <hololeap> | I have done very little with gui stuff, so the answer doesn't come strictly from laziness. |
| 19:14:35 | <hololeap> | *question |
| 19:14:56 | <EvanR> | strictly from laziness? |
| 19:15:14 | <hololeap> | lol |
| 19:15:46 | → | Sgeo joins (~Sgeo@user/sgeo) |
| 19:16:20 | <sm> | brick-like ? aren't most of the existing gui frameworks similar ? |
| 19:16:44 | <sm> | you compose widgets, provide event handlers, and let it run ? |
| 19:17:13 | × | dsrt^ quits (~dsrt@c-24-126-228-147.hsd1.ga.comcast.net) (Ping timeout: 248 seconds) |
| 19:17:28 | <geekosaur> | yeh, I thought brick was modeled around GUIs |
| 19:18:31 | <hololeap> | can you give me another example of this, sm? in my experience looking through the limited GUI frameworks available to haskell-space, it seems to be mostly wrappers around imperative styles |
| 19:18:43 | → | dsrt^ joins (~dsrt@c-24-126-228-147.hsd1.ga.comcast.net) |
| 19:20:26 | → | daveakre[m] joins (~daveakrem@2001:470:69fc:105::1:88b7) |
| 19:20:34 | <hololeap> | also, brick is pretty much one step away from going full FRP in terms of "callbacks" |
| 19:20:43 | → | yauhsien joins (~yauhsien@61-231-39-34.dynamic-ip.hinet.net) |
| 19:21:13 | <geekosaur> | FRP's realy the only other option. frameworks exist but are less common, in part because everyone seems to have their own idea of what FRP is |
| 19:23:11 | <hololeap> | I have seen "qt-declarative" somewhere, and I wonder if it could be used to build a declarative-style gui framework for haskell |
| 19:23:47 | <EvanR> | continuous time denotational programming xD |
| 19:25:04 | × | yauhsien quits (~yauhsien@61-231-39-34.dynamic-ip.hinet.net) (Ping timeout: 246 seconds) |
| 19:25:12 | → | causal joins (~user@50.35.83.177) |
| 19:26:13 | <geekosaur> | I think that was https://hackage.haskell.org/package/hsqml ? which isn't maintained |
| 19:27:24 | <sm> | hololeap: I've never used a haskell GUI framework but don't they all basically require you to declare a scene built up of widgets ? |
| 19:28:25 | <monochrom> | pie_: On my school computer, (foldl cons '() '(1 2 3)) = (((() . 1) . 2) . 3). I don't know wtf jdoodle.com is doing, but adding debugging printfs and/or avoiding the name "foldl" reveals that every time it calls foldl it is not always your foldl. |
| 19:28:26 | <hololeap> | I haven't used any either, just looked at the docs for one or two, and decided it was basically any other language inside of a 'do' block |
| 19:28:34 | <sm> | and then (except for the FRP ones) define imperative event handlers |
| 19:29:37 | × | zincy quits (~zincy@2a00:23c8:970c:4801:2054:62a8:f46a:a313) (Read error: Connection reset by peer) |
| 19:29:39 | <pie_> | monochrom: ugh wow |
| 19:29:53 | <pie_> | well not as if i had any idea how racket scoping really works |
| 19:30:02 | <monochrom> | No no no. |
| 19:30:10 | <monochrom> | jdoodle is wrong. |
| 19:30:18 | <monochrom> | Nothing to do with Racket. |
| 19:30:26 | <monochrom> | Racket on my school computer gives no surprise. |
| 19:30:26 | <pie_> | i renamed foldr to foldr3 and now its doing better |
| 19:30:50 | <pie_> | and foldl to foldl3 |
| 19:30:50 | <monochrom> | Delete jdoodle from your mind. It is broken. |
| 19:31:38 | <monochrom> | Either that, or add to your brain: Both jdoodle and stackoverflow are wrong. |
| 19:32:03 | × | kenaryn quits (~aurele@cre71-h03-89-88-44-27.dsl.sta.abo.bbox.fr) (Quit: leaving) |
| 19:32:08 | <pie_> | is stackoverflow wrong now or just in general? :P |
| 19:32:23 | <geekosaur> | in general |
| 19:32:32 | <pie_> | ok but overall this is much more consistent wow |
| 19:32:32 | <geekosaur> | it's kinda a lousy source of knowledge |
| 19:32:34 | <monochrom> | OK I only have one anecdote from a year ago. |
| 19:32:53 | <pie_> | so now my stuff _does_ show that the "other" approach for each of them is like a reverse, or something |
| 19:32:57 | <monochrom> | err two years, but who's counting |
| 19:33:17 | <pie_> | yeah i was surprised last summer was a year ago |
| 19:33:20 | <pie_> | whoda thunk |
| 19:33:25 | <EvanR> | one does not simply forget something named jdoodle |
| 19:33:34 | <monochrom> | We should be grateful that stackoverflow and jdoodle are broken. |
| 19:33:39 | <hpc> | for a while now, the best way to use stackoverflow has been to find a sufficiently related question to your problem, scroll through the solutions, and mine them for further google keywords |
| 19:33:40 | <geekosaur> | the problem I have with SO is the people who know more are disincentivized from responding because they have to balance responses with moderation work that's usually thankless and often a bit argumentative |
| 19:33:41 | <hololeap> | I tried to make a strange gui framework using reflex and gloss, with recursive datatypes. I nearly broke my brain working on that haha. |
| 19:33:42 | <pie_> | brb last minute pizza run |
| 19:33:57 | <monochrom> | Because how else can we distinguish students who worked from students who googled. |
| 19:33:58 | → | kenaryn joins (~aurele@cre71-h03-89-88-44-27.dsl.sta.abo.bbox.fr) |
| 19:34:10 | <geekosaur> | so you get responsesfrom a few oldtimers who work well with its incentive structure and a bunch of newbies |
| 19:34:11 | <hpc> | code snippets are often subtly wrong, or explanations are lacking in critical details |
| 19:34:14 | <pie_> | hololeap: meanwhile i want to write GUIs and I cant even fold proeprly :P |
| 19:34:34 | <pie_> | hololeap: thats always fun |
| 19:34:47 | <hololeap> | pie_ if you really grok fold you'll be halfway to understanding most things |
| 19:35:01 | <hololeap> | because fold is just another form of composability |
| 19:35:35 | <hololeap> | really, it's the essence of composability |
| 19:37:18 | × | wootehfoot quits (~wootehfoo@user/wootehfoot) (Quit: Leaving) |
| 19:37:29 | × | king_gs quits (~Thunderbi@187.201.97.18) (Read error: Connection reset by peer) |
| 19:37:57 | <hololeap> | just wait... someday you will understand how to fold endomorphisms on Categories :p |
| 19:38:46 | <hololeap> | (the joke is because it's a simple concept but I used big words) |
| 19:38:50 | <darkling> | And after that, it's a small step to folding space from Ix... |
| 19:38:53 | → | king_gs joins (~Thunderbi@187.201.97.18) |
| 19:40:09 | <hololeap> | and someday... time itself... |
| 19:40:12 | → | raehik joins (~raehik@cpc95906-rdng25-2-0-cust156.15-3.cable.virginm.net) |
| 19:40:46 | <hololeap> | maybe life is just a right fold along the spine of the future |
| 19:40:53 | × | machinedgod quits (~machinedg@24.105.81.50) (Ping timeout: 244 seconds) |
| 19:41:09 | <darkling> | It's the lazy evaluation that gets you, though. |
| 19:41:22 | × | gensyst quits (gensyst@user/gensyst) (Quit: Leaving) |
| 19:42:09 | × | benin quits (~benin@183.82.31.141) (Quit: The Lounge - https://thelounge.chat) |
| 19:42:25 | <hololeap> | yeah, I get too lazy and the thunks overwhelm my memory, so I learned to be more eager |
| 19:42:35 | ← | Everything parts (~Everythin@37.115.210.35) () |
| 19:43:18 | → | coot joins (~coot@213.134.190.95) |
| 19:43:26 | <hololeap> | XD |
| 19:44:58 | <EvanR> | integral is a continuous fold |
| 19:48:29 | → | MajorBiscuit joins (~MajorBisc@86-88-79-148.fixed.kpn.net) |
| 19:49:34 | × | hololeap quits (~hololeap@user/hololeap) (Ping timeout: 240 seconds) |
| 19:52:48 | × | raehik quits (~raehik@cpc95906-rdng25-2-0-cust156.15-3.cable.virginm.net) (Ping timeout: 276 seconds) |
| 19:53:24 | → | raehik joins (~raehik@cpc95906-rdng25-2-0-cust156.15-3.cable.virginm.net) |
| 19:54:24 | → | zincy joins (~zincy@2a00:23c8:970c:4801:2054:62a8:f46a:a313) |
| 19:55:06 | → | hololeap joins (~hololeap@user/hololeap) |
| 19:57:49 | <pie_> | xD <darkling> And after that, it's a small step to folding space from Ix... |
| 19:58:48 | <pie_> | the place the bene gesserit dare not look <darkling> It's the lazy evaluation that gets you, though. |
| 19:59:05 | × | pfharlock quits (~pfharlock@cpe-74-138-169-108.kya.res.rr.com) (Remote host closed the connection) |
| 19:59:28 | → | pfharlock joins (~pfharlock@cpe-74-138-169-108.kya.res.rr.com) |
| 19:59:29 | × | MajorBiscuit quits (~MajorBisc@86-88-79-148.fixed.kpn.net) (Ping timeout: 244 seconds) |
| 19:59:54 | <hololeap> | once you understand that composition is a monoid, monads are monoids, and do notation is just syntatctic sugar for composing monads (monoids), you see that any haskell program is just one big fold |
| 20:00:33 | <EvanR> | exactly |
| 20:00:50 | <pie_> | i was just sitting on the toilet and i was like |
| 20:00:57 | <pie_> | fold exchanges structure for computation |
| 20:01:05 | <pie_> | (well, if thats what f does) |
| 20:01:07 | <EvanR> | and commutative monoids are just monoids in a category of monoids, or something |
| 20:01:18 | <pie_> | because i was looking at the wiki page |
| 20:01:22 | <pie_> | well...tbf it basically said that |
| 20:02:36 | <hololeap> | I think the "hardest" thing about category theory is how self-recursive it is |
| 20:02:50 | <hololeap> | everything is everything |
| 20:02:53 | <EvanR> | it's the pile of jargon |
| 20:03:03 | <hololeap> | it gets all holistic |
| 20:03:20 | <hololeap> | holographic even |
| 20:03:22 | <EvanR> | for each theorem there is like 1000 definitions |
| 20:04:02 | <EvanR> | and most showcasing of category theorem is wholely concerned with telling what something is |
| 20:04:08 | <hololeap> | yeah I can't look at ncatlab without having a tiny aneurysm |
| 20:04:08 | <EvanR> | telling you* |
| 20:04:18 | <pie_> | https://wiki.haskell.org/Fold "One can view a right fold as replacing the nil at the end of the list with a specific value, and each cons with a specific other function. " |
| 20:04:31 | <EvanR> | yeah foldr is doing constructor replacement |
| 20:04:37 | <EvanR> | foldl is an accumulating loop |
| 20:05:09 | → | romesrf joins (~romes@185.5.8.134) |
| 20:05:12 | <monochrom> | I am generally weary of wordy descriptions. |
| 20:05:31 | <maerwald> | EvanR: you mean foldr'? |
| 20:05:35 | <maerwald> | err, foldl' |
| 20:05:45 | <EvanR> | the prime just makes it eager |
| 20:05:57 | <monochrom> | An imprecise wording can make you feel good about yourself but it has too many interpretations and you're bound to think of an unintended one. |
| 20:06:04 | <maerwald> | then I have no idea what you mean with "accumulating" |
| 20:06:19 | <maerwald> | if you mean memory, then yeah |
| 20:06:35 | <pie_> | EvanR: ok fine i give up for 5 minutes |
| 20:06:38 | × | zincy quits (~zincy@2a00:23c8:970c:4801:2054:62a8:f46a:a313) (Remote host closed the connection) |
| 20:06:38 | <monochrom> | A precise description is just too damn long, you won't actually read it, you will read maybe 5% of it and then manufacture an imprecise version, now goto the above. |
| 20:06:39 | <EvanR> | language is a game, this is how we lose |
| 20:07:16 | <hololeap> | pie_, really jump over to understanding foldMap, then you will see what we are talking about with all this Monoid stuff |
| 20:07:36 | <pie_> | maybe this week is not the best week for that |
| 20:07:38 | <pie_> | or the next two |
| 20:07:48 | <monochrom> | Whereas a symbolic example can do wonder. foldr (%) z (a : (b : (c : []))) = a % (b % (c % z)). Short and precise and clear. |
| 20:07:58 | <hololeap> | I _never_ define foldr for a Foldable instance, always foldMap. it is _so_ much more intuitive |
| 20:08:09 | → | jgeerds joins (~jgeerds@d53604b0.access.ecotel.net) |
| 20:08:21 | <monochrom> | I now teach map with "for example map f [a, b, c] = [f a, f b, f c]" |
| 20:08:34 | × | _ht quits (~quassel@231-169-21-31.ftth.glasoperator.nl) (Remote host closed the connection) |
| 20:08:47 | <monochrom> | A formula is worth a thousand pictures, therefore a million words. |
| 20:09:50 | <hololeap> | a monoid is something we generally already understand. combine two things. there's a thing that does nothing when you combine it with other things. |
| 20:10:38 | <hololeap> | but people don't like Greek apparently |
| 20:10:40 | <monochrom> | If you know of associative binary operators and identity elements, then you already know monoids. THE END. |
| 20:11:34 | × | mmhat quits (~mmh@p200300f1c7397f7fee086bfffe095315.dip0.t-ipconnect.de) (Ping timeout: 272 seconds) |
| 20:12:19 | <pie_> | ok cool i know monoids |
| 20:12:21 | <pie_> | sort of |
| 20:12:33 | <pie_> | now what |
| 20:12:47 | <monochrom> | Now you can take a look at Foldable? :) |
| 20:12:51 | <EvanR> | now checkout the category theory version of monoids |
| 20:13:10 | × | romesrf quits (~romes@185.5.8.134) (Ping timeout: 240 seconds) |
| 20:13:11 | → | Guest|84 joins (~Guest|84@176.59.43.23) |
| 20:13:17 | <sm> | well, that was not easy, but.. https://haskell-links.org now also works without javascript |
| 20:14:13 | <monochrom> | http://www.cs.utoronto.ca/~trebla/CSCC24-2021-Summer/05-haskell-fold.html is how I teach foldr, foldl, Foldable. |
| 20:15:48 | × | Guest|84 quits (~Guest|84@176.59.43.23) (Client Quit) |
| 20:17:09 | <EvanR> | honestly I just pull up the defining equations on lambdabot and that explains it (if you can read haskell) |
| 20:20:54 | × | gehmehgeh quits (~user@user/gehmehgeh) (Quit: Leaving) |
| 20:24:04 | → | acidjnk joins (~acidjnk@p200300d0c7068b595444385bbfc30d22.dip0.t-ipconnect.de) |
| 20:24:17 | × | christiansen quits (~christian@83-95-137-75-dynamic.dk.customer.tdc.net) (Ping timeout: 244 seconds) |
| 20:24:42 | → | mmhat joins (~mmh@p200300f1c7397f8cee086bfffe095315.dip0.t-ipconnect.de) |
| 20:28:16 | → | king_gs1 joins (~Thunderbi@2806:103e:29:5eb8:48de:d3eb:9d44:3d55) |
| 20:28:19 | × | king_gs quits (~Thunderbi@187.201.97.18) (Read error: Connection reset by peer) |
| 20:28:19 | king_gs1 | is now known as king_gs |
| 20:28:43 | Hash | is now known as stoned |
| 20:39:45 | → | michalz joins (~michalz@185.246.204.105) |
| 20:41:35 | × | pfharlock quits (~pfharlock@cpe-74-138-169-108.kya.res.rr.com) (Remote host closed the connection) |
| 20:41:40 | → | alp joins (~alp@user/alp) |
| 20:41:58 | → | pfharlock joins (~pfharlock@cpe-74-138-169-108.kya.res.rr.com) |
| 20:42:10 | → | pavonia joins (~user@user/siracusa) |
| 20:43:21 | × | tromp quits (~textual@dhcp-077-249-230-040.chello.nl) (Quit: My iMac has gone to sleep. ZZZzzz…) |
| 20:43:34 | <hpc> | sm: nice |
| 20:44:15 | → | machinedgod joins (~machinedg@24.105.81.50) |
| 20:44:25 | <hpc> | sm: my inner jerk wants to point out you can do css queries on the value of a text input and use that for no-js realtime search :D |
| 20:45:58 | <sm> | thanks! :) good to know |
| 20:46:48 | <sm> | that's an interesting no-js alternative for client-side search, but wouldn't work for no-css browsers though |
| 20:47:07 | <sm> | (someone asked to make this work in links) |
| 20:47:22 | <hpc> | makes sense |
| 20:48:46 | <hpc> | yeah, that method is a terrible idea anyway |
| 20:49:09 | sm | files it away for future wizardry |
| 20:49:10 | <hpc> | iirc the way you would have to do it involves a rule for every partial match |
| 20:49:42 | <hpc> | because you can do dom_thing =~ pattern but not string =~ dom_thing |
| 20:49:59 | sm | slides that file into the fire |
| 20:50:52 | <hpc> | maybe if you embedded a turing machine in css first... |
| 20:51:05 | <geekosaur> | ugh |
| 20:51:21 | <geekosaur> | wouldn't be surprised if it's possible but it's probably even uglier |
| 20:51:54 | <geekosaur> | (I mean, there's a turing machine in plain vi somewhere) |
| 20:52:34 | <hpc> | that wouldn't be surprising, regex + iteration usually equals turing machine |
| 20:53:49 | <geekosaur> | notsure it even uses regex |
| 20:54:00 | <geekosaur> | just the ability to execute commands in registers |
| 20:54:26 | <geekosaur> | (@x executes register x) |
| 20:54:53 | → | tromp joins (~textual@dhcp-077-249-230-040.chello.nl) |
| 20:57:44 | → | zincy joins (~zincy@2a00:23c8:970c:4801:2054:62a8:f46a:a313) |
| 20:58:10 | × | zincy quits (~zincy@2a00:23c8:970c:4801:2054:62a8:f46a:a313) (Remote host closed the connection) |
| 20:59:04 | × | hololeap quits (~hololeap@user/hololeap) (Ping timeout: 240 seconds) |
| 21:01:19 | × | takuan quits (~takuan@178-116-218-225.access.telenet.be) (Remote host closed the connection) |
| 21:02:31 | → | hololeap joins (~hololeap@user/hololeap) |
| 21:11:09 | → | romesrf joins (~romes@185.5.8.134) |
| 21:19:57 | → | sebeko__ joins (uid530526@id-530526.helmsley.irccloud.com) |
| 21:22:14 | × | michalz quits (~michalz@185.246.204.105) (Remote host closed the connection) |
| 21:25:10 | × | king_gs quits (~Thunderbi@2806:103e:29:5eb8:48de:d3eb:9d44:3d55) (Ping timeout: 260 seconds) |
| 21:32:39 | → | king_gs joins (~Thunderbi@187.201.97.18) |
| 21:37:30 | × | machinedgod quits (~machinedg@24.105.81.50) (Ping timeout: 240 seconds) |
| 21:40:01 | × | kenaryn quits (~aurele@cre71-h03-89-88-44-27.dsl.sta.abo.bbox.fr) (Quit: leaving) |
| 21:42:11 | × | _________ quits (~nobody@user/noodly) (Ping timeout: 256 seconds) |
| 21:43:25 | × | coot quits (~coot@213.134.190.95) (Quit: coot) |
| 21:44:25 | → | machinedgod joins (~machinedg@24.105.81.50) |
| 21:47:59 | × | dsrt^ quits (~dsrt@c-24-126-228-147.hsd1.ga.comcast.net) (Ping timeout: 244 seconds) |
| 21:48:14 | → | _________ joins (~nobody@user/noodly) |
| 21:50:40 | × | tromp quits (~textual@dhcp-077-249-230-040.chello.nl) (Quit: My iMac has gone to sleep. ZZZzzz…) |
| 21:53:46 | → | nate1 joins (~nate@98.45.169.16) |
| 21:56:34 | × | _________ quits (~nobody@user/noodly) (Quit: Reconnecting) |
| 21:56:35 | × | king_gs quits (~Thunderbi@187.201.97.18) (Read error: Connection reset by peer) |
| 21:56:53 | → | _________ joins (~nobody@user/noodly) |
| 21:57:49 | → | tromp joins (~textual@dhcp-077-249-230-040.chello.nl) |
| 21:58:09 | → | king_gs joins (~Thunderbi@2806:103e:29:5eb8:48de:d3eb:9d44:3d55) |
| 21:58:22 | × | nate1 quits (~nate@98.45.169.16) (Ping timeout: 246 seconds) |
| 21:58:29 | × | zer0bitz quits (~zer0bitz@2001:2003:f444:8f00:75ac:391d:77e5:2293) (Read error: Connection reset by peer) |
| 22:06:35 | × | king_gs quits (~Thunderbi@2806:103e:29:5eb8:48de:d3eb:9d44:3d55) (Ping timeout: 260 seconds) |
| 22:10:09 | × | Vajb quits (~Vajb@hag-jnsbng11-58c3a8-176.dhcp.inet.fi) (Read error: Connection reset by peer) |
| 22:10:51 | → | Vajb joins (~Vajb@hag-jnsbng11-58c3a8-176.dhcp.inet.fi) |
| 22:12:52 | × | tromp quits (~textual@dhcp-077-249-230-040.chello.nl) (Quit: My iMac has gone to sleep. ZZZzzz…) |
| 22:15:35 | × | Tuplanolla quits (~Tuplanoll@91-159-68-39.elisa-laajakaista.fi) (Quit: Leaving.) |
| 22:15:55 | × | acidjnk quits (~acidjnk@p200300d0c7068b595444385bbfc30d22.dip0.t-ipconnect.de) (Ping timeout: 260 seconds) |
| 22:18:05 | → | jlamothe joins (~jlamothe@198.251.60.209) |
| 22:20:43 | → | wroathe joins (~wroathe@206-55-188-8.fttp.usinternet.com) |
| 22:20:43 | × | wroathe quits (~wroathe@206-55-188-8.fttp.usinternet.com) (Changing host) |
| 22:20:43 | → | wroathe joins (~wroathe@user/wroathe) |
| 22:20:48 | → | dsrt^ joins (~dsrt@c-24-126-228-147.hsd1.ga.comcast.net) |
| 22:24:16 | → | hololeap_ joins (~hololeap@user/hololeap) |
| 22:25:34 | × | hololeap quits (~hololeap@user/hololeap) (Ping timeout: 240 seconds) |
| 22:25:37 | × | __monty__ quits (~toonn@user/toonn) (Quit: leaving) |
| 22:31:10 | × | raehik quits (~raehik@cpc95906-rdng25-2-0-cust156.15-3.cable.virginm.net) (Ping timeout: 240 seconds) |
| 22:33:16 | → | raehik joins (~raehik@cpc95906-rdng25-2-0-cust156.15-3.cable.virginm.net) |
| 22:35:54 | hololeap_ | is now known as hololeap |
| 22:40:22 | × | wroathe quits (~wroathe@user/wroathe) (Ping timeout: 246 seconds) |
| 22:43:58 | × | julian quits (~julian@20.83.116.49) (Killed (NickServ (GHOST command used by tos9_!~tos9@python/site-packages/Julian))) |
| 22:53:02 | × | chomwitt quits (~chomwitt@athe730-c-multi-500.home.otenet.gr) (Ping timeout: 260 seconds) |
| 23:00:10 | × | dsrt^ quits (~dsrt@c-24-126-228-147.hsd1.ga.comcast.net) (Ping timeout: 240 seconds) |
| 23:13:05 | × | mmhat quits (~mmh@p200300f1c7397f8cee086bfffe095315.dip0.t-ipconnect.de) (Ping timeout: 260 seconds) |
| 23:20:48 | × | jgeerds quits (~jgeerds@d53604b0.access.ecotel.net) (Ping timeout: 276 seconds) |
| 23:21:18 | × | sebeko__ quits (uid530526@id-530526.helmsley.irccloud.com) (Quit: Connection closed for inactivity) |
| 23:22:58 | → | julian joins (~julian@20.83.116.49) |
| 23:27:46 | × | xacktm quits (xacktm@user/xacktm) (Quit: fBNC - https://bnc4free.com) |
| 23:27:46 | × | andreas303 quits (andreas303@ip227.orange.bnc4free.com) (Quit: fBNC - https://bnc4free.com) |
| 23:27:46 | × | even4void quits (even4void@came.here.for-some.fun) (Quit: fBNC - https://bnc4free.com) |
| 23:30:51 | → | mmhat joins (~mmh@p200300f1c742cc01ee086bfffe095315.dip0.t-ipconnect.de) |
| 23:44:40 | → | mvk joins (~mvk@2607:fea8:5ce3:8500::ba9a) |
| 23:49:51 | → | andreas303 joins (andreas303@ip227.orange.bnc4free.com) |
| 23:52:04 | → | even4void joins (even4void@came.here.for-some.fun) |
| 23:54:52 | × | HotblackDesiato_ quits (~HotblackD@gateway/tor-sasl/hotblackdesiato) (Remote host closed the connection) |
| 23:55:35 | → | HotblackDesiato joins (~HotblackD@gateway/tor-sasl/hotblackdesiato) |
| 23:56:51 | → | xacktm joins (xacktm@user/xacktm) |
| 23:57:55 | metadave | is now known as bookshelfdave |
All times are in UTC on 2022-05-21.