Logs on 2021-06-27 (liberachat/#haskell)
| 00:00:43 | × | jlombera quits (~jlombera@187.177.181.166) (Quit: WeeChat 3.2) |
| 00:04:34 | → | jlombera joins (~jlombera@187.177.181.166) |
| 00:06:38 | → | derelict joins (~derelict@user/derelict) |
| 00:15:32 | × | aplainzetakind quits (~johndoe@captainludd.powered.by.lunarbnc.net) (Quit: Free ZNC ~ Powered by LunarBNC: https://LunarBNC.net) |
| 00:21:43 | → | aplainzetakind joins (~johndoe@captainludd.powered.by.lunarbnc.net) |
| 00:22:13 | × | aplainzetakind quits (~johndoe@captainludd.powered.by.lunarbnc.net) (Client Quit) |
| 00:23:21 | × | dunj3 quits (~dunj3@2001:16b8:300e:4200:61ea:91d:5230:afc8) (Remote host closed the connection) |
| 00:23:30 | → | aplainzetakind joins (~johndoe@captainludd.powered.by.lunarbnc.net) |
| 00:24:40 | × | aplainzetakind quits (~johndoe@captainludd.powered.by.lunarbnc.net) (Client Quit) |
| 00:25:15 | → | aplainzetakind joins (~johndoe@captainludd.powered.by.lunarbnc.net) |
| 00:26:30 | × | jlombera quits (~jlombera@187.177.181.166) (Quit: WeeChat 3.2) |
| 00:26:45 | → | jlombera joins (~jlombera@187.177.181.166) |
| 00:27:01 | × | aplainzetakind quits (~johndoe@captainludd.powered.by.lunarbnc.net) (Client Quit) |
| 00:29:49 | → | fizbin joins (~fizbin@c-73-33-197-160.hsd1.nj.comcast.net) |
| 00:34:14 | × | fizbin quits (~fizbin@c-73-33-197-160.hsd1.nj.comcast.net) (Ping timeout: 252 seconds) |
| 00:35:24 | × | laguneucl quits (~Pitsikoko@2a02:587:dc0b:0:d8f7:cdfe:4658:bec4) (Ping timeout: 244 seconds) |
| 00:41:28 | → | betelgeuse joins (~john2gb@94-225-47-8.access.telenet.be) |
| 00:41:52 | × | chisui quits (~chisui@200116b864537a005c14c63c4df5fc2e.dip.versatel-1u1.de) (Ping timeout: 246 seconds) |
| 00:41:57 | × | betelgeuse quits (~john2gb@94-225-47-8.access.telenet.be) (Read error: Connection reset by peer) |
| 00:43:35 | × | Feuermagier quits (~Feuermagi@user/feuermagier) (Ping timeout: 250 seconds) |
| 00:44:20 | → | betelgeuse joins (~john2gb@94-225-47-8.access.telenet.be) |
| 00:49:45 | × | betelgeuse quits (~john2gb@94-225-47-8.access.telenet.be) (Read error: Connection reset by peer) |
| 00:50:04 | <qrpnxz> | importing category is really annoying because of (.) in the prelude, why isn't category in the prelude |
| 00:50:26 | × | jlombera quits (~jlombera@187.177.181.166) (Quit: WeeChat 3.2) |
| 00:50:33 | <qrpnxz> | well ig you can just use <<< nvm |
| 00:51:21 | → | betelgeuse joins (~john2gb@94-225-47-8.access.telenet.be) |
| 00:51:27 | → | pavonia joins (~user@user/siracusa) |
| 00:53:40 | × | betelgeuse quits (~john2gb@94-225-47-8.access.telenet.be) (Client Quit) |
| 00:54:37 | → | falafel joins (~falafel@pool-96-255-70-50.washdc.fios.verizon.net) |
| 00:58:20 | → | myShoggoth joins (~myShoggot@75.164.29.44) |
| 01:00:50 | → | MorrowM joins (~MorrowM_@147.161.12.168) |
| 01:04:36 | × | Morrow quits (~MorrowM_@147.161.12.168) (Ping timeout: 272 seconds) |
| 01:07:20 | × | MorrowM quits (~MorrowM_@147.161.12.168) (Read error: Connection reset by peer) |
| 01:07:37 | × | yauhsien quits (~yauhsien@61-231-57-141.dynamic-ip.hinet.net) (Remote host closed the connection) |
| 01:07:52 | → | Morrow joins (~MorrowM_@147.161.12.168) |
| 01:07:55 | → | neurocyte578 joins (~neurocyte@94.46.64.65) |
| 01:07:55 | × | neurocyte578 quits (~neurocyte@94.46.64.65) (Changing host) |
| 01:07:55 | → | neurocyte578 joins (~neurocyte@user/neurocyte) |
| 01:09:05 | → | aplainzetakind joins (~johndoe@captainludd.powered.by.lunarbnc.net) |
| 01:10:32 | × | neurocyte57 quits (~neurocyte@user/neurocyte) (Ping timeout: 265 seconds) |
| 01:10:32 | neurocyte578 | is now known as neurocyte57 |
| 01:19:11 | <qrpnxz> | dang, id also clashes |
| 01:19:13 | <qrpnxz> | terrible |
| 01:19:25 | × | acarrico quits (~acarrico@dhcp-68-142-39-249.greenmountainaccess.net) (Ping timeout: 272 seconds) |
| 01:19:43 | × | Deide quits (~Deide@user/deide) (Quit: Seeee yaaaa) |
| 01:23:01 | × | xff0x quits (~xff0x@2001:1a81:5302:7b00:a26f:1df0:afaa:6dfd) (Ping timeout: 250 seconds) |
| 01:23:45 | <yushyin> | qrpnxz: you can hide some imports from prelude e.g. import Prelude hiding (id, (.)) |
| 01:24:30 | <qrpnxz> | idk how to do that in ghci. Regardless i think cat in prelude would be better no? |
| 01:24:57 | → | xff0x joins (~xff0x@2001:1a81:533e:6d00:fca2:116b:2879:8d6d) |
| 01:26:28 | <janus> | % set -XNoImplicitPrelude |
| 01:26:28 | <yahb> | janus: ; <interactive>:109:6: error:; * Data constructor not in scope: XNoImplicitPrelude :: ASetter s t a b -> b -> s -> t; * Perhaps you meant `ImplicitPrelude' (imported from Language.Haskell.TH) |
| 01:26:59 | <janus> | % :set -XNoImplicitPrelude |
| 01:26:59 | <yahb> | janus: |
| 01:27:31 | <janus> | qrpnxz: yahb is ghci, so if it works here... |
| 01:28:00 | × | Morrow quits (~MorrowM_@147.161.12.168) (Read error: Connection reset by peer) |
| 01:28:29 | → | sheepduck joins (~sheepduck@cpe98524a8cef7c-cm98524a8cef7a.cpe.net.cable.rogers.com) |
| 01:28:54 | × | jespada quits (~jespada@90.254.247.46) (Ping timeout: 265 seconds) |
| 01:29:16 | <qrpnxz> | unfortunately i also have the problem that i keep having to import the universe every time i want to play around, so if i do that I'll have to import even more stuff probably, but maybe it'll be around the same |
| 01:29:36 | → | jespada joins (~jespada@90.254.247.46) |
| 01:30:18 | <qrpnxz> | and it still clashes with Data.Function, so i have to especially import that as well |
| 01:31:57 | <qrpnxz> | I can't even do the hiding syntax with :m + 😩️ |
| 01:32:07 | <yushyin> | you can create a cabal project with a single source file, where you import/hide all you want and start a repl with that source file |
| 01:32:09 | → | merijn joins (~merijn@83-160-49-249.ip.xs4all.nl) |
| 01:32:13 | <qrpnxz> | was just about to say lol |
| 01:32:17 | <qrpnxz> | gonna have to do that |
| 01:32:35 | × | sheepduck quits (~sheepduck@cpe98524a8cef7c-cm98524a8cef7a.cpe.net.cable.rogers.com) (Client Quit) |
| 01:32:52 | <nshepperd> | i have a big pile of imports in ~/.ghci |
| 01:32:55 | <geekosaur> | you can also use import syntax in ghci |
| 01:33:13 | <geekosaur> | :m predates that |
| 01:34:44 | <qrpnxz> | is .ghci just a file that gets loaded every time |
| 01:34:52 | → | sheepduck joins (~sheepduck@user/sheepduck) |
| 01:34:53 | <geekosaur> | yes |
| 01:35:21 | <geekosaur> | https://downloads.haskell.org/ghc/latest/docs/html/users_guide/ghci.html#the-ghci-and-haskeline-files |
| 01:35:21 | <qrpnxz> | cool i'll put it there then thx |
| 01:38:46 | × | myShoggoth quits (~myShoggot@75.164.29.44) (Ping timeout: 252 seconds) |
| 01:39:02 | → | n283 joins (~jaredm@c-98-219-195-163.hsd1.pa.comcast.net) |
| 01:39:11 | × | sheepduck quits (~sheepduck@user/sheepduck) (Client Quit) |
| 01:40:50 | → | pretty_dumm_guy joins (trottel@gateway/vpn/protonvpn/prettydummguy/x-88029655) |
| 01:43:22 | → | warnz joins (~warnz@104-55-100-55.lightspeed.lsvlky.sbcglobal.net) |
| 01:43:59 | × | xkuru quits (~xkuru@user/xkuru) (Read error: Connection reset by peer) |
| 01:45:54 | → | stevenxl joins (~stevenlei@174.128.182.86) |
| 01:50:43 | × | berberman quits (~berberman@user/berberman) (Ping timeout: 246 seconds) |
| 01:50:50 | × | waleee quits (~waleee@2001:9b0:216:8200:d457:9189:7843:1dbd) (Ping timeout: 272 seconds) |
| 01:51:05 | × | stevenxl quits (~stevenlei@174.128.182.86) (Ping timeout: 272 seconds) |
| 01:51:48 | → | berberman joins (~berberman@user/berberman) |
| 01:52:04 | × | _________ quits (~nobody@user//x-7881368) (Ping timeout: 252 seconds) |
| 01:57:55 | <qrpnxz> | #haskellmoment https://termbin.com/obf5 |
| 01:58:18 | → | pfurla joins (~pfurla@ool-182ed2e2.dyn.optonline.net) |
| 02:00:42 | → | bilegeek joins (~bilegeek@2600:1008:b015:3e96:6f34:1a42:6ac5:3b86) |
| 02:00:43 | × | pfurla_ quits (~pfurla@216.131.83.76) (Ping timeout: 250 seconds) |
| 02:05:32 | → | mpt joins (~tom@2a02:908:1862:49e0::6) |
| 02:06:14 | × | warnz quits (~warnz@104-55-100-55.lightspeed.lsvlky.sbcglobal.net) (Remote host closed the connection) |
| 02:06:16 | × | merijn quits (~merijn@83-160-49-249.ip.xs4all.nl) (Ping timeout: 252 seconds) |
| 02:06:27 | <qrpnxz> | looks like ghci can even pull some data structures, but not data.vector |
| 02:16:45 | × | mpt quits (~tom@2a02:908:1862:49e0::6) (Ping timeout: 250 seconds) |
| 02:20:24 | → | _________ joins (~nobody@user//x-7881368) |
| 02:24:47 | → | stevenxl joins (~stevenlei@174.128.182.184) |
| 02:25:01 | × | hrnz quits (~ulli@irc.plumbing) (Quit: das ist mir zu bld hier; bb) |
| 02:25:23 | → | hrnz joins (~ulli@irc.plumbing) |
| 02:27:05 | <jophish> | <qrpnxz "#haskellmoment https://termbin.c"> hahahaha |
| 02:27:19 | <qrpnxz> | 😁️ |
| 02:29:22 | × | stevenxl quits (~stevenlei@174.128.182.184) (Ping timeout: 252 seconds) |
| 02:30:45 | × | hegstal quits (~hegstal@2a02:c7f:7604:8a00:1f42:2755:1fbb:af5c) (Remote host closed the connection) |
| 02:31:08 | × | cheater quits (~Username@user/cheater) (Ping timeout: 244 seconds) |
| 02:31:38 | → | cheater joins (~Username@user/cheater) |
| 02:31:56 | × | pretty_dumm_guy quits (trottel@gateway/vpn/protonvpn/prettydummguy/x-88029655) (Quit: WeeChat 3.3-dev) |
| 02:32:36 | → | finn_elija joins (~finn_elij@user/finn-elija/x-0085643) |
| 02:32:36 | × | FinnElija quits (~finn_elij@user/finn-elija/x-0085643) (Killed (cadmium.libera.chat (Nickname regained by services))) |
| 02:32:36 | finn_elija | is now known as FinnElija |
| 02:35:42 | × | HarveyPwca quits (~HarveyPwc@2601:246:c180:a570:29df:3b00:ad0e:3a06) (Quit: Leaving) |
| 02:36:08 | → | myShoggoth joins (~myShoggot@75.164.29.44) |
| 02:38:59 | × | falafel quits (~falafel@pool-96-255-70-50.washdc.fios.verizon.net) (Ping timeout: 265 seconds) |
| 02:39:34 | <shachaf> | Matrix replies in IRC are the worst. I really wish they'd disable it or people stopped doing it. |
| 02:41:09 | <qrpnxz> | can you give an example |
| 02:41:28 | × | _________ quits (~nobody@user//x-7881368) (Ping timeout: 244 seconds) |
| 02:42:06 | <shachaf> | The above. |
| 02:42:59 | <qrpnxz> | ah, seemed fine to me but alright |
| 02:43:30 | → | ph88 joins (~ph88@2a02:8109:9e00:7e5c:7c55:3c65:74e1:3dc5) |
| 02:43:34 | <geekosaur> | I've seen worse (how editing messages shows up, for example. May be element.io instead of matrix in general) |
| 02:49:51 | → | vicfred_ joins (~vicfred@89.46.114.138) |
| 02:50:46 | × | td_ quits (~td@muedsl-82-207-238-164.citykom.de) (Ping timeout: 244 seconds) |
| 02:51:42 | → | _________ joins (~nobody@user//x-7881368) |
| 02:52:38 | → | justsomeguy joins (~justsomeg@user/justsomeguy) |
| 02:52:39 | × | vicfred quits (~vicfred@user/vicfred) (Ping timeout: 268 seconds) |
| 02:52:41 | → | td_ joins (~td@94.134.91.75) |
| 02:57:12 | → | Morrow joins (~MorrowM_@147.161.14.179) |
| 02:57:29 | → | Guest79 joins (~Guest79@202.83.104.81) |
| 02:57:34 | × | geekosaur quits (~geekosaur@xmonad/geekosaur) (Remote host closed the connection) |
| 02:57:37 | <hrnz> | I recommend using https://paste.xinu.at/eiUvJX/ with weechat |
| 02:57:44 | → | geekosaur joins (~geekosaur@xmonad/geekosaur) |
| 02:58:05 | → | dunkeln joins (~dunkeln@188.71.193.140) |
| 02:59:06 | <jophish> | <shachaf "Matrix replies in IRC are the wo"> I guess there's no idiomatic way of replying to specific messages in plain IRC |
| 02:59:12 | <jophish> | (doing it once more so I can see what it's like) |
| 02:59:26 | <jophish> | oh, that's not too bad... |
| 03:01:13 | × | MQ-17J quits (~MQ-17J@d14-69-206-129.try.wideopenwest.com) (Ping timeout: 265 seconds) |
| 03:01:33 | <shachaf> | It looks like you're attributing what you're saying to me. |
| 03:02:57 | → | MQ-17J joins (~MQ-17J@d14-69-206-129.try.wideopenwest.com) |
| 03:02:58 | <sm> | it could be refined a bit |
| 03:03:16 | <sm> | but at least they keep it to one line now |
| 03:06:00 | <jophish> | well, it's got a closing `>` |
| 03:06:03 | <sm> | maybe it looks different in shachaf's irc client |
| 03:06:49 | × | Guest79 quits (~Guest79@202.83.104.81) (Quit: Client closed) |
| 03:08:45 | × | derelict quits (~derelict@user/derelict) (Ping timeout: 250 seconds) |
| 03:08:59 | <nshepperd> | it's IRC convention for quotes to be rendered as "<bob> what bob said" (because that's how many clients render chat logs) |
| 03:09:16 | <nshepperd> | using triangle brackets as a form of address is completely backward |
| 03:09:47 | <nshepperd> | given that |
| 03:11:31 | → | gregberns_ joins (sid315709@id-315709.brockwell.irccloud.com) |
| 03:14:01 | → | MorrowM joins (~MorrowM_@147.161.9.139) |
| 03:15:43 | × | dunkeln quits (~dunkeln@188.71.193.140) (Ping timeout: 265 seconds) |
| 03:15:56 | × | Morrow quits (~MorrowM_@147.161.14.179) (Ping timeout: 252 seconds) |
| 03:17:13 | × | ph88 quits (~ph88@2a02:8109:9e00:7e5c:7c55:3c65:74e1:3dc5) (Ping timeout: 272 seconds) |
| 03:23:31 | → | dyeplexer joins (~dyeplexer@user/dyeplexer) |
| 03:33:17 | × | pfurla quits (~pfurla@ool-182ed2e2.dyn.optonline.net) (Quit: Textual IRC Client: www.textualapp.com) |
| 03:33:41 | <qrpnxz> | TIL that haskell doesn't optimized by default RIP |
| 03:33:55 | <qrpnxz> | i've been missing out man |
| 03:34:42 | × | eggplantade quits (~Eggplanta@2600:1700:bef1:5e10:c4e3:f231:bc2a:37da) (Remote host closed the connection) |
| 03:36:19 | <qrpnxz> | ah fuck, it's a beast |
| 03:36:58 | → | teaSlurper joins (~chris@81.96.113.213) |
| 03:37:16 | → | pfurla joins (~pfurla@ool-182ed2e2.dyn.optonline.net) |
| 03:40:31 | → | Lord_of_Life_ joins (~Lord@user/lord-of-life/x-2819915) |
| 03:40:51 | × | Lord_of_Life quits (~Lord@user/lord-of-life/x-2819915) (Ping timeout: 265 seconds) |
| 03:41:45 | Lord_of_Life_ | is now known as Lord_of_Life |
| 03:45:48 | → | ph88 joins (~ph88@2a02:8109:9e00:7e5c:7c55:3c65:74e1:3dc5) |
| 03:46:10 | × | MQ-17J quits (~MQ-17J@d14-69-206-129.try.wideopenwest.com) (Ping timeout: 265 seconds) |
| 03:48:00 | → | spicyrice joins (~ubuntu@2600:1f11:52a:4400:ccbc:2b96:cabe:414b) |
| 03:51:13 | × | teaSlurper quits (~chris@81.96.113.213) (Ping timeout: 244 seconds) |
| 03:54:09 | × | bontaq quits (~user@ool-18e47f8d.dyn.optonline.net) (Remote host closed the connection) |
| 04:02:40 | × | hendursaga quits (~weechat@user/hendursaga) (Remote host closed the connection) |
| 04:02:45 | → | merijn joins (~merijn@83-160-49-249.ip.xs4all.nl) |
| 04:03:06 | → | hendursaga joins (~weechat@user/hendursaga) |
| 04:05:31 | → | sleym joins (~sleym@209.58.128.51) |
| 04:06:56 | → | eggplantade joins (~Eggplanta@2600:1700:bef1:5e10:7930:a54c:f178:5c1a) |
| 04:08:17 | → | takuan joins (~takuan@178-116-218-225.access.telenet.be) |
| 04:09:47 | × | ph88 quits (~ph88@2a02:8109:9e00:7e5c:7c55:3c65:74e1:3dc5) (Ping timeout: 272 seconds) |
| 04:10:20 | × | jao quits (~jao@cpc103048-sgyl39-2-0-cust502.18-2.cable.virginm.net) (Ping timeout: 265 seconds) |
| 04:11:57 | × | vicfred_ quits (~vicfred@89.46.114.138) (Quit: Leaving) |
| 04:13:37 | → | wei2912 joins (~wei2912@112.199.250.21) |
| 04:15:08 | × | slowButPresent quits (~slowButPr@user/slowbutpresent) (Quit: leaving) |
| 04:24:15 | × | TranquilEcho quits (~grom@user/tranquilecho) (Quit: WeeChat 2.8) |
| 04:24:29 | → | MQ-17J joins (~MQ-17J@d14-69-206-129.try.wideopenwest.com) |
| 04:25:41 | → | stevenxl joins (~stevenlei@174.128.182.184) |
| 04:29:48 | × | img quits (~img@user/img) (Quit: ZNC 1.8.2 - https://znc.in) |
| 04:30:13 | × | stevenxl quits (~stevenlei@174.128.182.184) (Ping timeout: 250 seconds) |
| 04:31:37 | → | fizbin joins (~fizbin@c-73-33-197-160.hsd1.nj.comcast.net) |
| 04:32:05 | → | img joins (~img@user/img) |
| 04:36:15 | × | fizbin quits (~fizbin@c-73-33-197-160.hsd1.nj.comcast.net) (Ping timeout: 268 seconds) |
| 04:37:24 | × | merijn quits (~merijn@83-160-49-249.ip.xs4all.nl) (Ping timeout: 272 seconds) |
| 04:49:13 | → | falafel joins (~falafel@pool-96-255-70-50.washdc.fios.verizon.net) |
| 04:51:27 | × | raehik quits (~raehik@cpc95906-rdng25-2-0-cust156.15-3.cable.virginm.net) (Ping timeout: 250 seconds) |
| 04:55:22 | × | MorrowM quits (~MorrowM_@147.161.9.139) (Ping timeout: 268 seconds) |
| 04:57:40 | × | Reyu[M] quits (~reyureyuz@matrix.reyuzenfold.com) (Remote host closed the connection) |
| 04:58:22 | → | Reyu[M] joins (~reyureyuz@matrix.reyuzenfold.com) |
| 05:00:13 | → | fef joins (~thedawn@user/thedawn) |
| 05:01:43 | → | MorrowM joins (~MorrowM_@147.161.9.139) |
| 05:03:01 | × | machinedgod quits (~machinedg@24.105.81.50) (Ping timeout: 265 seconds) |
| 05:04:13 | → | dunkeln joins (~dunkeln@188.71.193.140) |
| 05:05:42 | × | falafel quits (~falafel@pool-96-255-70-50.washdc.fios.verizon.net) (Ping timeout: 258 seconds) |
| 05:06:29 | × | justsomeguy quits (~justsomeg@user/justsomeguy) (Quit: WeeChat 3.0.1) |
| 05:23:47 | × | nerdypepper quits (~nerdypepp@152.67.162.71) (Quit: bye) |
| 05:27:04 | → | gabiruh_ joins (~gabiruh@vps19177.publiccloud.com.br) |
| 05:27:10 | × | gabiruh quits (~gabiruh@vps19177.publiccloud.com.br) (Ping timeout: 258 seconds) |
| 05:30:37 | → | Erutuon joins (~Erutuon@user/erutuon) |
| 05:35:03 | → | nerdypepper joins (~nerdypepp@user/nerdypepper) |
| 05:39:30 | → | rk04 joins (~rk04@user/rajk) |
| 05:42:38 | → | ubuntu joins (~ubuntu@ec2-54-201-230-197.us-west-2.compute.amazonaws.com) |
| 05:42:38 | ubuntu | is now known as eco |
| 05:42:53 | × | alx741 quits (~alx741@181.196.69.41) (Ping timeout: 272 seconds) |
| 05:43:03 | × | AgentM quits (~agentm@pool-162-83-130-212.nycmny.fios.verizon.net) (Quit: Leaving.) |
| 05:45:13 | → | yauhsien joins (~yauhsien@61-231-57-141.dynamic-ip.hinet.net) |
| 05:46:05 | → | tromp joins (~textual@dhcp-077-249-230-040.chello.nl) |
| 05:46:11 | <eco> | Are there ways to make ghc use less memory when compiling? Even just compiling lens on a 2GB VPS results in a linux kernel hang. |
| 05:47:39 | × | Kaiepi quits (~Kaiepi@nwcsnbsc03w-47-54-173-93.dhcp-dynamic.fibreop.nb.bellaliant.net) (Remote host closed the connection) |
| 05:47:40 | <c_wraith> | usually the major memory use is linking |
| 05:47:58 | → | Kaiepi joins (~Kaiepi@nwcsnbsc03w-47-54-173-93.dhcp-dynamic.fibreop.nb.bellaliant.net) |
| 05:54:01 | ← | fef parts (~thedawn@user/thedawn) (Leaving) |
| 05:55:04 | × | rk04 quits (~rk04@user/rajk) (Ping timeout: 252 seconds) |
| 05:59:05 | → | gehmehgeh joins (~user@user/gehmehgeh) |
| 06:02:50 | → | matsurago joins (~matsurago@nttkyo1534237.tkyo.nt.ngn.ppp.infoweb.ne.jp) |
| 06:04:48 | × | dunkeln quits (~dunkeln@188.71.193.140) (Ping timeout: 272 seconds) |
| 06:07:07 | × | sleym quits (~sleym@209.58.128.51) (Quit: sleym) |
| 06:09:17 | <dsal> | eco: You're going to have a hard time without RAM. For that type of scenario, I tend to use cachix on nixos. |
| 06:13:10 | → | sleym joins (~sleym@209.58.128.51) |
| 06:15:11 | × | tromp quits (~textual@dhcp-077-249-230-040.chello.nl) (Quit: My iMac has gone to sleep. ZZZzzz…) |
| 06:15:58 | → | dunkeln joins (~dunkeln@188.71.193.140) |
| 06:16:43 | → | Gurkenglas joins (~Gurkengla@dslb-002-203-144-156.002.203.pools.vodafone-ip.de) |
| 06:17:43 | × | sleym quits (~sleym@209.58.128.51) (Ping timeout: 272 seconds) |
| 06:25:35 | → | alx741 joins (~alx741@181.196.69.41) |
| 06:29:52 | → | tromp joins (~textual@dhcp-077-249-230-040.chello.nl) |
| 06:33:22 | → | merijn joins (~merijn@83-160-49-249.ip.xs4all.nl) |
| 06:33:40 | → | aman joins (~aman@user/aman) |
| 06:41:38 | → | falafel joins (~falafel@pool-96-255-70-50.washdc.fios.verizon.net) |
| 06:43:27 | × | dunkeln quits (~dunkeln@188.71.193.140) (Ping timeout: 258 seconds) |
| 06:44:15 | → | dunkeln joins (~dunkeln@188.71.193.140) |
| 06:44:28 | × | aman quits (~aman@user/aman) (Quit: aman) |
| 06:55:20 | × | dunkeln quits (~dunkeln@188.71.193.140) (Ping timeout: 258 seconds) |
| 06:58:24 | × | falafel quits (~falafel@pool-96-255-70-50.washdc.fios.verizon.net) (Ping timeout: 258 seconds) |
| 06:59:25 | → | Topsi joins (~Tobias@dyndsl-037-138-064-045.ewe-ip-backbone.de) |
| 07:06:47 | → | Morrow_ joins (~MorrowM_@147.161.9.139) |
| 07:07:57 | × | merijn quits (~merijn@83-160-49-249.ip.xs4all.nl) (Ping timeout: 268 seconds) |
| 07:11:06 | × | MorrowM quits (~MorrowM_@147.161.9.139) (Ping timeout: 265 seconds) |
| 07:13:16 | → | dunkeln joins (~dunkeln@188.71.193.140) |
| 07:15:11 | × | bitmapper quits (uid464869@id-464869.tooting.irccloud.com) (Quit: Connection closed for inactivity) |
| 07:17:38 | × | wroathe quits (~wroathe@c-68-54-25-135.hsd1.mn.comcast.net) (Ping timeout: 272 seconds) |
| 07:21:15 | × | n283 quits (~jaredm@c-98-219-195-163.hsd1.pa.comcast.net) (Ping timeout: 265 seconds) |
| 07:23:50 | → | acidjnk joins (~acidjnk@p200300d0c72b9515dd29d5fa98a40466.dip0.t-ipconnect.de) |
| 07:26:31 | × | jneira_ quits (~jneira_@131.red-79-155-1.dynamicip.rima-tde.net) (Quit: Ping timeout (120 seconds)) |
| 07:32:00 | × | Erutuon quits (~Erutuon@user/erutuon) (Ping timeout: 268 seconds) |
| 07:32:04 | <qrpnxz> | I'm trying to do a parallel fold, but i'm getting some spooky unfusing where somehow where one computation finished before another even though they are both supposed to be happening in the same pass, and the result of both should happen at the same time. I suppose somehow the ghc could figure out that they are parallel, separate the computation, then actually like put them in separate coroutines and then s |
| 07:32:05 | <qrpnxz> | omehow one finished first. But that sounds way too fancy. I got no other explanation though 😄️ |
| 07:32:50 | × | dunkeln quits (~dunkeln@188.71.193.140) (Ping timeout: 272 seconds) |
| 07:33:21 | <sm[m]> | eco: -j1 to build one thing at a time. --ghc-options='+RTS -M1G -RTS' to encourage ghc to use that much heap |
| 07:34:09 | → | wroathe joins (~wroathe@c-68-54-25-135.hsd1.mn.comcast.net) |
| 07:34:47 | → | dunkeln joins (~dunkeln@188.71.193.140) |
| 07:35:25 | → | a6a45081-2b83 joins (~aditya@122.163.205.132) |
| 07:35:43 | <a6a45081-2b83> | what is the technical name for operators such as (5+) or (*2)? |
| 07:37:25 | <c_wraith> | "sections" is probably what you're looking for |
| 07:38:09 | × | shutdown_-h_now quits (~arjan@82-75-187-100.cable.dynamic.v4.ziggo.nl) (Ping timeout: 272 seconds) |
| 07:38:39 | × | wroathe quits (~wroathe@c-68-54-25-135.hsd1.mn.comcast.net) (Ping timeout: 265 seconds) |
| 07:40:31 | <a6a45081-2b83> | c_wraith: thanks! |
| 07:40:42 | × | a6a45081-2b83 quits (~aditya@122.163.205.132) (Quit: Konversation terminated!) |
| 07:42:38 | × | tinwood quits (~tinwood@canonical/tinwood) (Remote host closed the connection) |
| 07:44:49 | × | bilegeek quits (~bilegeek@2600:1008:b015:3e96:6f34:1a42:6ac5:3b86) (Quit: Leaving) |
| 07:45:11 | → | shutdown_-h_now joins (~arjan@82-75-187-100.cable.dynamic.v4.ziggo.nl) |
| 07:45:40 | → | tinwood joins (~tinwood@general.default.akavanagh.uk0.bigv.io) |
| 07:45:40 | × | tinwood quits (~tinwood@general.default.akavanagh.uk0.bigv.io) (Changing host) |
| 07:45:40 | → | tinwood joins (~tinwood@canonical/tinwood) |
| 07:45:42 | → | delYsid joins (~user@84-115-55-45.cable.dynamic.surfer.at) |
| 07:46:26 | → | fendor joins (~fendor@178.115.128.40.wireless.dyn.drei.com) |
| 07:47:11 | <tomsmeding> | eco: no, add swap :p |
| 07:47:13 | <delYsid> | How does haskell treat pattern matches of constant types passed to a function. I.e., say I have data Foo = Foo | Bar and a function f Foo = 1; f Bar = 2 Is calling "f Foo" somewhere equivalent to a function fFoo = 1, or does the matching happen at runtime? |
| 07:47:34 | <tomsmeding> | there are some things you can try but in my experience, 2GB is just not enough |
| 07:47:46 | <tomsmeding> | (for the heaviest packages like lens/aeson/vector) |
| 07:48:09 | <c_wraith> | delYsid: when compiled with optimizations, that should be inlined/simplified at compile time |
| 07:48:23 | <c_wraith> | delYsid: but to make sure, examine the core ghc generates |
| 07:51:11 | × | gehmehgeh quits (~user@user/gehmehgeh) (Quit: Leaving) |
| 07:54:36 | × | myShoggoth quits (~myShoggot@75.164.29.44) (Ping timeout: 252 seconds) |
| 08:00:07 | × | eggplantade quits (~Eggplanta@2600:1700:bef1:5e10:7930:a54c:f178:5c1a) (Remote host closed the connection) |
| 08:00:27 | → | merijn joins (~merijn@83-160-49-249.ip.xs4all.nl) |
| 08:03:49 | → | Tuplanolla joins (~Tuplanoll@91-159-68-239.elisa-laajakaista.fi) |
| 08:04:17 | × | tzh quits (~tzh@c-24-21-73-154.hsd1.wa.comcast.net) (Quit: zzz) |
| 08:06:09 | → | hendursa1 joins (~weechat@user/hendursaga) |
| 08:09:12 | × | hendursaga quits (~weechat@user/hendursaga) (Ping timeout: 244 seconds) |
| 08:14:32 | → | tako joins (~user@net-2-34-77-146.cust.vodafonedsl.it) |
| 08:17:39 | ← | tako parts (~user@net-2-34-77-146.cust.vodafonedsl.it) () |
| 08:17:52 | × | geekosaur quits (~geekosaur@xmonad/geekosaur) (Killed (NickServ (GHOST command used by allbery_b))) |
| 08:17:54 | → | allbery_b joins (~geekosaur@xmonad/geekosaur) |
| 08:18:21 | → | mikoto-chan joins (~mikoto-ch@ip-213-49-189-31.dsl.scarlet.be) |
| 08:21:40 | × | dunkeln quits (~dunkeln@188.71.193.140) (Ping timeout: 265 seconds) |
| 08:23:22 | → | dunkeln joins (~dunkeln@188.71.193.140) |
| 08:23:47 | → | Feuermagier joins (~Feuermagi@user/feuermagier) |
| 08:33:13 | ← | jakalx parts (~jakalx@base.jakalx.net) () |
| 08:33:29 | → | fizbin joins (~fizbin@c-73-33-197-160.hsd1.nj.comcast.net) |
| 08:34:23 | → | laguneucl joins (~Pitsikoko@2a02:587:dc0b:0:d8f7:cdfe:4658:bec4) |
| 08:34:37 | → | jakalx joins (~jakalx@base.jakalx.net) |
| 08:37:52 | × | fizbin quits (~fizbin@c-73-33-197-160.hsd1.nj.comcast.net) (Ping timeout: 252 seconds) |
| 08:38:13 | × | shachaf quits (~shachaf@user/shachaf) (Quit: Reconnecting) |
| 08:38:20 | → | shachaf_ joins (~shachaf@li227-219.members.linode.com) |
| 08:38:42 | × | shachaf_ quits (~shachaf@li227-219.members.linode.com) (Changing host) |
| 08:38:42 | → | shachaf_ joins (~shachaf@user/shachaf) |
| 08:39:09 | shachaf_ | is now known as shachaf |
| 08:40:59 | → | dhil joins (~dhil@195.213.192.47) |
| 08:42:35 | → | zeenk joins (~zeenk@2a02:2f04:a106:9600:82fb:aed9:ca9:38d3) |
| 08:48:53 | × | fryguybob quits (~fryguybob@cpe-74-65-31-113.rochester.res.rr.com) (*.net *.split) |
| 08:48:53 | × | shane quits (~shane@ana.rch.ist) (*.net *.split) |
| 08:48:53 | × | Vq quits (~vq@90-227-195-41-no77.tbcn.telia.com) (*.net *.split) |
| 08:48:53 | × | tlax_ quits (tlax@kapsi.fi) (*.net *.split) |
| 08:48:53 | × | mmaruseacph2 quits (~mihai@198.199.100.72) (*.net *.split) |
| 08:48:53 | × | Hecate quits (~mariposa@user/hecate) (*.net *.split) |
| 08:48:53 | × | dmwit quits (~dmwit@pool-96-255-233-247.washdc.fios.verizon.net) (*.net *.split) |
| 08:48:53 | × | Chobbes quits (~Chobbes@user/chobbes) (*.net *.split) |
| 08:48:53 | × | kaol quits (~kaol@178.62.241.234) (*.net *.split) |
| 08:48:53 | × | Clint quits (~Clint@user/clint) (*.net *.split) |
| 08:48:53 | × | Eoco quits (~ian@x-160-94-179-157.acm.umn.edu) (*.net *.split) |
| 08:49:00 | → | shane joins (~shane@ana.rch.ist) |
| 08:49:00 | → | Hecate_ joins (~mariposa@163.172.211.189) |
| 08:49:00 | → | tlax joins (tlax@kapsi.fi) |
| 08:49:01 | → | Clint joins (~Clint@user/clint) |
| 08:49:03 | → | kaol_ joins (~kaol@178.62.241.234) |
| 08:49:04 | → | dmwit joins (~dmwit@pool-96-255-233-247.washdc.fios.verizon.net) |
| 08:49:05 | → | Vq joins (~vq@90-227-195-41-no77.tbcn.telia.com) |
| 08:49:07 | → | fryguybob joins (~fryguybob@cpe-74-65-31-113.rochester.res.rr.com) |
| 08:49:07 | → | mmaruseacph2 joins (~mihai@198.199.100.72) |
| 08:49:31 | → | Eoco joins (~ian@x-160-94-179-157.acm.umn.edu) |
| 08:49:42 | → | Chobbes joins (~Chobbes@user/chobbes) |
| 08:51:45 | → | ph88 joins (~ph88@2a02:8109:9e00:7e5c:7c55:3c65:74e1:3dc5) |
| 08:52:19 | Hecate_ | is now known as Hecate |
| 08:52:21 | × | Hecate quits (~mariposa@163.172.211.189) (Changing host) |
| 08:52:21 | → | Hecate joins (~mariposa@user/hecate) |
| 08:55:00 | × | hnOsmium0001 quits (uid453710@id-453710.stonehaven.irccloud.com) (Quit: Connection closed for inactivity) |
| 08:57:43 | → | jneira_ joins (~jneira_@131.red-79-155-1.dynamicip.rima-tde.net) |
| 09:00:31 | → | eggplantade joins (~Eggplanta@2600:1700:bef1:5e10:7930:a54c:f178:5c1a) |
| 09:02:05 | → | bwe_ joins (~bwe@2a01:4f8:1c1c:4878::2) |
| 09:02:06 | → | opqdonut_ joins (opqdonut@pseudo.fixme.fi) |
| 09:02:06 | → | absence_ joins (torgeihe@hildring.pvv.ntnu.no) |
| 09:02:08 | × | mniip quits (mniip@libera/staff/mniip) (*.net *.split) |
| 09:02:09 | × | dolio quits (~dolio@130.44.130.54) (*.net *.split) |
| 09:02:09 | × | blades quits (~blades@204.48.29.163) (*.net *.split) |
| 09:02:09 | × | opqdonut quits (opqdonut@pseudo.fixme.fi) (*.net *.split) |
| 09:02:09 | × | edwardk quits (sid47016@haskell/developer/edwardk) (*.net *.split) |
| 09:02:09 | × | keltono quits (~kelton@x-160-94-179-178.acm.umn.edu) (*.net *.split) |
| 09:02:09 | × | mstruebing quits (~maex@2001:41d0:8:93c7::1) (*.net *.split) |
| 09:02:09 | × | bwe quits (~bwe@2a01:4f8:1c1c:4878::2) (*.net *.split) |
| 09:02:09 | × | joeyh quits (~joeyh@kitenet.net) (*.net *.split) |
| 09:02:09 | × | absence quits (torgeihe@hildring.pvv.ntnu.no) (*.net *.split) |
| 09:02:09 | × | tnks quits (sid412124@id-412124.brockwell.irccloud.com) (*.net *.split) |
| 09:02:10 | → | joeyh_ joins (joeyh@kitenet.net) |
| 09:02:11 | → | tnks_ joins (sid412124@id-412124.brockwell.irccloud.com) |
| 09:02:11 | → | edwardk_ joins (sid47016@haskell/developer/edwardk) |
| 09:02:13 | → | mniip_ joins (mniip@libera/staff/mniip) |
| 09:02:14 | → | codolio joins (~dolio@130.44.130.54) |
| 09:02:14 | → | maex joins (~maex@2001:41d0:8:93c7::1) |
| 09:02:15 | → | keltono joins (~kelton@x-160-94-179-178.acm.umn.edu) |
| 09:02:20 | → | blades joins (~blades@204.48.29.163) |
| 09:04:30 | × | merijn quits (~merijn@83-160-49-249.ip.xs4all.nl) (Ping timeout: 268 seconds) |
| 09:04:33 | × | int-e quits (~noone@int-e.eu) (Quit: leaving) |
| 09:05:18 | × | eggplantade quits (~Eggplanta@2600:1700:bef1:5e10:7930:a54c:f178:5c1a) (Ping timeout: 272 seconds) |
| 09:06:50 | → | Morrow joins (~MorrowM_@147.161.9.139) |
| 09:06:56 | × | Morrow_ quits (~MorrowM_@147.161.9.139) (Read error: Connection reset by peer) |
| 09:07:18 | → | _ht joins (~quassel@82-169-194-8.biz.kpn.net) |
| 09:09:31 | → | int-e joins (~noone@int-e.eu) |
| 09:09:41 | × | phma quits (phma@2001:5b0:210d:d028:4f8f:d565:65bb:29c2) (Read error: Connection reset by peer) |
| 09:10:37 | → | phma joins (phma@2001:5b0:210b:cb38:f3d6:7570:d8d:dd96) |
| 09:12:06 | × | takuan quits (~takuan@178-116-218-225.access.telenet.be) (Remote host closed the connection) |
| 09:14:18 | → | mc47 joins (~mc47@xmonad/TheMC47) |
| 09:14:57 | × | zeenk quits (~zeenk@2a02:2f04:a106:9600:82fb:aed9:ca9:38d3) (Read error: Connection reset by peer) |
| 09:17:51 | × | xff0x quits (~xff0x@2001:1a81:533e:6d00:fca2:116b:2879:8d6d) (Remote host closed the connection) |
| 09:18:08 | → | xff0x joins (~xff0x@2001:1a81:533e:6d00:b6fe:ee81:87af:f03c) |
| 09:21:12 | → | mastarija joins (~mastarija@31.217.22.187) |
| 09:23:20 | × | dunkeln quits (~dunkeln@188.71.193.140) (Ping timeout: 252 seconds) |
| 09:24:01 | × | ukari quits (~ukari@user/ukari) (Ping timeout: 250 seconds) |
| 09:26:06 | → | ukari joins (~ukari@user/ukari) |
| 09:31:02 | × | Sgeo quits (~Sgeo@user/sgeo) (Read error: Connection reset by peer) |
| 09:37:34 | <qrpnxz> | ok i managed to do the parallel fold really nicely with arrows cool! |
| 09:38:52 | → | gehmehgeh joins (~user@user/gehmehgeh) |
| 09:43:52 | × | mc47 quits (~mc47@xmonad/TheMC47) (Ping timeout: 252 seconds) |
| 09:44:26 | → | yoctocell joins (~user@h87-96-130-155.cust.a3fiber.se) |
| 09:48:15 | → | Meh joins (~Meh@202.14.120.46) |
| 09:48:38 | Meh | is now known as Guest5091 |
| 09:50:53 | × | acidjnk quits (~acidjnk@p200300d0c72b9515dd29d5fa98a40466.dip0.t-ipconnect.de) (Ping timeout: 250 seconds) |
| 09:51:20 | mniip_ | is now known as mniip |
| 09:53:32 | × | allbery_b quits (~geekosaur@xmonad/geekosaur) (Remote host closed the connection) |
| 09:53:44 | → | zeenk joins (~zeenk@2a02:2f04:a106:9600:82fb:aed9:ca9:38d3) |
| 09:53:52 | → | geekosaur joins (~geekosaur@xmonad/geekosaur) |
| 09:53:52 | × | img quits (~img@user/img) (Quit: ZNC 1.8.2 - https://znc.in) |
| 09:55:25 | → | img joins (~img@user/img) |
| 09:55:51 | × | img quits (~img@user/img) (Client Quit) |
| 09:55:55 | → | acidjnk joins (~acidjnk@p200300d0c72b9515dd29d5fa98a40466.dip0.t-ipconnect.de) |
| 09:58:39 | → | img joins (~img@user/img) |
| 09:59:18 | → | Ariakenom joins (~Ariakenom@c83-255-154-140.bredband.tele2.se) |
| 10:00:10 | × | img quits (~img@user/img) (Client Quit) |
| 10:01:53 | → | eggplantade joins (~Eggplanta@2600:1700:bef1:5e10:7930:a54c:f178:5c1a) |
| 10:03:01 | → | img joins (~img@user/img) |
| 10:03:46 | × | xsperry quits (~as@user/xsperry) (Remote host closed the connection) |
| 10:04:33 | <zzz> | what does safe mean in 'instance [safe] Monad (State s)' ? |
| 10:05:03 | → | madep joins (~madep@ptr-823eojuutabnmmm63sa.18120a2.ip6.access.telenet.be) |
| 10:06:59 | × | eggplantade quits (~Eggplanta@2600:1700:bef1:5e10:7930:a54c:f178:5c1a) (Ping timeout: 272 seconds) |
| 10:07:01 | × | Guest5091 quits (~Meh@202.14.120.46) (Quit: Connection closed) |
| 10:12:23 | × | madep quits (~madep@ptr-823eojuutabnmmm63sa.18120a2.ip6.access.telenet.be) (Quit: Client closed) |
| 10:15:19 | <int-e> | Apparently it means that the instance was defined in a Safe module, which affects resolving overlapping instances in Safe mode: https://gitlab.haskell.org/ghc/ghc/-/blob/master/compiler/GHC/Core/InstEnv.hs#L917-926 |
| 10:18:20 | × | Morrow quits (~MorrowM_@147.161.9.139) (Ping timeout: 252 seconds) |
| 10:20:53 | ← | jakalx parts (~jakalx@base.jakalx.net) (Error from remote client) |
| 10:21:11 | → | oxide joins (~lambda@user/oxide) |
| 10:30:24 | × | mastarija quits (~mastarija@31.217.22.187) (Ping timeout: 272 seconds) |
| 10:31:51 | → | mastarija joins (~mastarija@31.217.22.187) |
| 10:34:04 | <juri_> | so, i've come to the conclusion that stan is very good for forcing you to handle error conditions with error. |
| 10:34:15 | → | xsperry joins (~as@user/xsperry) |
| 10:35:44 | → | jakalx joins (~jakalx@base.jakalx.net) |
| 10:35:58 | → | dunkeln joins (~dunkeln@188.71.193.140) |
| 10:39:53 | <zzz> | int-e: thans |
| 10:41:21 | × | dunkeln quits (~dunkeln@188.71.193.140) (Ping timeout: 265 seconds) |
| 10:41:24 | <zzz> | so should i be using Control.Monad.State instead of State? |
| 10:42:53 | <zzz> | really confusing to have a safe tag for "code that is untrusted by the ghc user" |
| 10:45:07 | × | tromp quits (~textual@dhcp-077-249-230-040.chello.nl) (Quit: My iMac has gone to sleep. ZZZzzz…) |
| 10:45:09 | → | waleee joins (~waleee@2001:9b0:216:8200:d457:9189:7843:1dbd) |
| 10:53:01 | × | Ariakenom quits (~Ariakenom@c83-255-154-140.bredband.tele2.se) (Remote host closed the connection) |
| 10:53:20 | → | Ariakenom joins (~Ariakenom@c83-255-154-140.bredband.tele2.se) |
| 10:54:59 | → | hegstal joins (~hegstal@2a02:c7f:7604:8a00:c6b4:633:2502:e963) |
| 10:59:41 | → | Meh joins (~Meh@202.14.120.46) |
| 11:00:05 | Meh | is now known as Guest3668 |
| 11:00:14 | → | merijn joins (~merijn@83-160-49-249.ip.xs4all.nl) |
| 11:00:24 | × | Guest3668 quits (~Meh@202.14.120.46) (Client Quit) |
| 11:07:27 | × | hendursa1 quits (~weechat@user/hendursaga) (Ping timeout: 244 seconds) |
| 11:09:21 | <int-e> | zzz: Well, the safety is ensured by the compiler. It's a matter of perspective. (One of my favorite definitions from security is "a trusted system is a system that can break security") |
| 11:10:09 | → | hendursa1 joins (~weechat@user/hendursaga) |
| 11:12:44 | × | Topsi quits (~Tobias@dyndsl-037-138-064-045.ewe-ip-backbone.de) (Read error: Connection reset by peer) |
| 11:13:14 | → | pretty_dumm_guy joins (trottel@gateway/vpn/protonvpn/prettydummguy/x-88029655) |
| 11:14:06 | × | mastarija quits (~mastarija@31.217.22.187) (Ping timeout: 272 seconds) |
| 11:14:11 | <qrpnxz> | what does it mean that there's a tilde before a tuple in parameter lists? e.g. swap ~(x, y) = (y, x) |
| 11:17:02 | × | img quits (~img@user/img) (Quit: ZNC 1.8.2 - https://znc.in) |
| 11:18:35 | → | img joins (~img@user/img) |
| 11:18:56 | <Rembane> | qrpnxz: It's a lazy pattern match, with all it entails. :) |
| 11:19:18 | <qrpnxz> | hmm, ok. i guess that term is easier to google |
| 11:19:32 | × | jneira_ quits (~jneira_@131.red-79-155-1.dynamicip.rima-tde.net) (Ping timeout: 265 seconds) |
| 11:19:40 | <Rembane> | qrpnxz: There's a Haskell wiki page about it: https://wiki.haskell.org/Lazy_pattern_match |
| 11:20:46 | <qrpnxz> | mm, nice |
| 11:23:01 | × | matsurago quits (~matsurago@nttkyo1534237.tkyo.nt.ngn.ppp.infoweb.ne.jp) (Quit: Leaving) |
| 11:28:36 | → | dunkeln joins (~dunkeln@188.71.193.140) |
| 11:33:23 | → | mastarija joins (~mastarija@31.217.22.187) |
| 11:34:58 | × | merijn quits (~merijn@83-160-49-249.ip.xs4all.nl) (Ping timeout: 268 seconds) |
| 11:46:23 | → | derelict joins (~derelict@user/derelict) |
| 11:48:35 | × | Ariakenom quits (~Ariakenom@c83-255-154-140.bredband.tele2.se) (Remote host closed the connection) |
| 11:48:50 | → | Ariakenom joins (~Ariakenom@c83-255-154-140.bredband.tele2.se) |
| 11:53:08 | × | ph88 quits (~ph88@2a02:8109:9e00:7e5c:7c55:3c65:74e1:3dc5) (Ping timeout: 272 seconds) |
| 11:55:52 | → | tremon joins (~tremon@217-63-61-89.cable.dynamic.v4.ziggo.nl) |
| 12:03:34 | → | eggplantade joins (~Eggplanta@2600:1700:bef1:5e10:7930:a54c:f178:5c1a) |
| 12:06:03 | × | notzmv quits (~zmv@user/notzmv) (Ping timeout: 272 seconds) |
| 12:08:35 | × | eggplantade quits (~Eggplanta@2600:1700:bef1:5e10:7930:a54c:f178:5c1a) (Ping timeout: 272 seconds) |
| 12:11:01 | <zzz> | qrpnxz: "irrefutable patterns" |
| 12:13:33 | × | Ariakenom quits (~Ariakenom@c83-255-154-140.bredband.tele2.se) (Ping timeout: 268 seconds) |
| 12:17:31 | × | Nahra quits (~user@static.161.95.99.88.clients.your-server.de) (Remote host closed the connection) |
| 12:18:27 | → | sedeki joins (~textual@user/sedeki) |
| 12:19:50 | × | cross quits (~cross@spitfire.i.gajendra.net) (Quit: leaving) |
| 12:20:28 | → | Ariakenom joins (~Ariakenom@c83-255-154-140.bredband.tele2.se) |
| 12:22:22 | × | sedeki quits (~textual@user/sedeki) (Client Quit) |
| 12:23:25 | × | waleee quits (~waleee@2001:9b0:216:8200:d457:9189:7843:1dbd) (Ping timeout: 250 seconds) |
| 12:23:32 | → | cross joins (~cross@spitfire.i.gajendra.net) |
| 12:25:23 | × | mastarija quits (~mastarija@31.217.22.187) (Quit: Leaving) |
| 12:25:53 | → | mastarija joins (~mastarija@31.217.22.187) |
| 12:25:58 | ← | jakalx parts (~jakalx@base.jakalx.net) (Error from remote client) |
| 12:27:21 | × | mastarija quits (~mastarija@31.217.22.187) (Client Quit) |
| 12:28:55 | → | Morrow joins (~MorrowM_@147.161.9.139) |
| 12:31:04 | × | Ariakenom quits (~Ariakenom@c83-255-154-140.bredband.tele2.se) (Ping timeout: 265 seconds) |
| 12:34:56 | × | dunkeln quits (~dunkeln@188.71.193.140) (Ping timeout: 265 seconds) |
| 12:35:12 | → | jakalx joins (~jakalx@base.jakalx.net) |
| 12:35:13 | → | fizbin joins (~fizbin@c-73-33-197-160.hsd1.nj.comcast.net) |
| 12:36:08 | × | cross quits (~cross@spitfire.i.gajendra.net) (Quit: leaving) |
| 12:37:15 | → | cross joins (~cross@spitfire.i.gajendra.net) |
| 12:37:39 | → | dunkeln joins (~dunkeln@188.71.193.140) |
| 12:38:38 | × | cross quits (~cross@spitfire.i.gajendra.net) (Client Quit) |
| 12:38:57 | → | amahl joins (~amahl@dsl-jklbng12-54fbca-64.dhcp.inet.fi) |
| 12:39:38 | → | cross joins (~cross@spitfire.i.gajendra.net) |
| 12:40:14 | × | fizbin quits (~fizbin@c-73-33-197-160.hsd1.nj.comcast.net) (Ping timeout: 272 seconds) |
| 12:54:29 | → | ph88 joins (~ph88@2a02:8109:9e00:7e5c:7c55:3c65:74e1:3dc5) |
| 12:54:49 | × | acidjnk quits (~acidjnk@p200300d0c72b9515dd29d5fa98a40466.dip0.t-ipconnect.de) (Ping timeout: 272 seconds) |
| 12:56:57 | → | mastarija joins (~mastarija@31.217.22.187) |
| 12:57:14 | → | Ariakenom joins (~Ariakenom@c83-255-154-140.bredband.tele2.se) |
| 13:01:07 | → | Nahra joins (~user@static.161.95.99.88.clients.your-server.de) |
| 13:01:32 | × | ph88^ quits (~ph88@2a02:8109:9e00:7e5c:413d:a4c8:b301:6764) (Ping timeout: 272 seconds) |
| 13:01:59 | → | Guest33 joins (~textual@c-107-4-204-12.hsd1.mn.comcast.net) |
| 13:07:19 | → | hexfive joins (~eric@50.35.83.177) |
| 13:12:28 | × | hexfive quits (~eric@50.35.83.177) (Quit: WeeChat 3.0) |
| 13:15:15 | → | neo joins (~neo3@cpe-292712.ip.primehome.com) |
| 13:17:20 | × | Morrow quits (~MorrowM_@147.161.9.139) (Ping timeout: 268 seconds) |
| 13:19:09 | → | jao joins (~jao@cpc103048-sgyl39-2-0-cust502.18-2.cable.virginm.net) |
| 13:19:33 | × | laguneucl quits (~Pitsikoko@2a02:587:dc0b:0:d8f7:cdfe:4658:bec4) (Ping timeout: 244 seconds) |
| 13:30:53 | → | merijn joins (~merijn@83-160-49-249.ip.xs4all.nl) |
| 13:30:57 | → | machinedgod joins (~machinedg@24.105.81.50) |
| 13:32:54 | × | PotatoGim_ quits (sid99505@id-99505.tooting.irccloud.com) () |
| 13:33:21 | → | Deide joins (~Deide@user/deide) |
| 13:33:29 | → | PotatoGim joins (sid99505@id-99505.tooting.irccloud.com) |
| 13:34:35 | × | neo quits (~neo3@cpe-292712.ip.primehome.com) (Quit: Leaving) |
| 13:36:07 | → | neo joins (~neo3@cpe-292712.ip.primehome.com) |
| 13:44:31 | × | chronon quits (~chronon@user/chronon) (Quit: leaving) |
| 13:44:55 | → | chronon joins (~chronon@user/chronon) |
| 13:47:15 | → | acidjnk joins (~acidjnk@p200300d0c72b95464c5b890fdc644af0.dip0.t-ipconnect.de) |
| 13:48:11 | → | awth13` joins (~user@185.209.196.143) |
| 13:48:25 | × | awth13` quits (~user@185.209.196.143) (Remote host closed the connection) |
| 13:48:35 | × | awth13 quits (~user@user/awth13) (Read error: Connection reset by peer) |
| 13:48:47 | → | awth13` joins (~user@185.209.196.143) |
| 13:49:29 | → | slowButPresent joins (~slowButPr@user/slowbutpresent) |
| 13:49:57 | awth13` | is now known as awth13 |
| 13:50:02 | × | awth13 quits (~user@185.209.196.143) (Client Quit) |
| 13:50:23 | → | awth13 joins (~user@user/awth13) |
| 13:50:29 | → | stevenxl joins (~stevenlei@174.128.182.100) |
| 13:51:36 | × | jao quits (~jao@cpc103048-sgyl39-2-0-cust502.18-2.cable.virginm.net) (Ping timeout: 268 seconds) |
| 13:57:26 | → | ph88^ joins (~ph88@2a02:8109:9e00:7e5c:6024:1b36:f949:e91) |
| 14:03:51 | → | notzmv joins (~zmv@user/notzmv) |
| 14:04:56 | → | eggplantade joins (~Eggplanta@2600:1700:bef1:5e10:7930:a54c:f178:5c1a) |
| 14:05:10 | × | merijn quits (~merijn@83-160-49-249.ip.xs4all.nl) (Ping timeout: 268 seconds) |
| 14:09:09 | × | eggplantade quits (~Eggplanta@2600:1700:bef1:5e10:7930:a54c:f178:5c1a) (Ping timeout: 250 seconds) |
| 14:09:29 | × | dunkeln quits (~dunkeln@188.71.193.140) (Ping timeout: 268 seconds) |
| 14:09:44 | → | dunkeln joins (~dunkeln@188.71.193.140) |
| 14:14:59 | × | fendor quits (~fendor@178.115.128.40.wireless.dyn.drei.com) (Ping timeout: 265 seconds) |
| 14:15:21 | → | norias joins (~jaredm@c-98-219-195-163.hsd1.pa.comcast.net) |
| 14:17:13 | kaol_ | is now known as kaol |
| 14:24:41 | → | teaSlurper joins (~chris@81.96.113.213) |
| 14:26:39 | → | chris_ joins (~chris@81.96.113.213) |
| 14:26:39 | × | teaSlurper quits (~chris@81.96.113.213) (Read error: Connection reset by peer) |
| 14:26:39 | × | awth13 quits (~user@user/awth13) (Read error: Connection reset by peer) |
| 14:34:17 | → | Morrow joins (~MorrowM_@147.161.9.139) |
| 14:36:25 | × | wei2912 quits (~wei2912@112.199.250.21) (Quit: Lost terminal) |
| 14:37:13 | → | fizbin joins (~fizbin@c-73-33-197-160.hsd1.nj.comcast.net) |
| 14:38:15 | → | raehik joins (~raehik@cpc95906-rdng25-2-0-cust156.15-3.cable.virginm.net) |
| 14:42:10 | × | fizbin quits (~fizbin@c-73-33-197-160.hsd1.nj.comcast.net) (Ping timeout: 268 seconds) |
| 14:42:12 | × | HotblackDesiato quits (~HotblackD@gateway/tor-sasl/hotblackdesiato) (Quit: ZNC 1.6.6+deb1ubuntu0.2 - http://znc.in) |
| 14:42:40 | → | HotblackDesiato joins (~HotblackD@gateway/tor-sasl/hotblackdesiato) |
| 14:44:21 | × | HotblackDesiato quits (~HotblackD@gateway/tor-sasl/hotblackdesiato) (Remote host closed the connection) |
| 14:44:46 | → | HotblackDesiato joins (~HotblackD@gateway/tor-sasl/hotblackdesiato) |
| 14:44:50 | × | HotblackDesiato quits (~HotblackD@gateway/tor-sasl/hotblackdesiato) (Remote host closed the connection) |
| 14:52:22 | → | warnz joins (~warnz@104-55-100-55.lightspeed.lsvlky.sbcglobal.net) |
| 14:53:14 | × | stevenxl quits (~stevenlei@174.128.182.100) (Ping timeout: 272 seconds) |
| 14:53:52 | × | Ariakenom quits (~Ariakenom@c83-255-154-140.bredband.tele2.se) (Ping timeout: 272 seconds) |
| 14:54:17 | → | HotblackDesiato joins (~HotblackD@gateway/tor-sasl/hotblackdesiato) |
| 14:55:08 | → | AgentM joins (~agentm@pool-162-83-130-212.nycmny.fios.verizon.net) |
| 14:57:03 | × | lavaman quits (~lavaman@98.38.249.169) (Remote host closed the connection) |
| 14:58:50 | × | notzmv quits (~zmv@user/notzmv) (Ping timeout: 252 seconds) |
| 14:59:12 | × | mikoto-chan quits (~mikoto-ch@ip-213-49-189-31.dsl.scarlet.be) (Ping timeout: 252 seconds) |
| 15:00:18 | → | nate1 joins (~nate@108-233-125-227.lightspeed.sntcca.sbcglobal.net) |
| 15:02:05 | × | warnz quits (~warnz@104-55-100-55.lightspeed.lsvlky.sbcglobal.net) (Remote host closed the connection) |
| 15:02:24 | → | tzh joins (~tzh@c-24-21-73-154.hsd1.or.comcast.net) |
| 15:05:16 | × | nate1 quits (~nate@108-233-125-227.lightspeed.sntcca.sbcglobal.net) (Ping timeout: 272 seconds) |
| 15:06:02 | → | warnz joins (~warnz@2600:1700:77c0:5610:eca1:bc9d:4345:931f) |
| 15:06:27 | → | mikoto-chan joins (~mikoto-ch@ip-213-49-189-31.dsl.scarlet.be) |
| 15:07:11 | × | machinedgod quits (~machinedg@24.105.81.50) (Ping timeout: 265 seconds) |
| 15:11:27 | → | fizbin joins (~fizbin@c-73-33-197-160.hsd1.nj.comcast.net) |
| 15:12:55 | × | smitop quits (~smitop@user/smitop) (Quit: Ping timeout (120 seconds)) |
| 15:13:30 | × | mastarija quits (~mastarija@31.217.22.187) (Ping timeout: 252 seconds) |
| 15:13:34 | → | smitop joins (~smitop@user/smitop) |
| 15:16:02 | × | fizbin quits (~fizbin@c-73-33-197-160.hsd1.nj.comcast.net) (Ping timeout: 272 seconds) |
| 15:16:13 | → | fef joins (~thedawn@user/thedawn) |
| 15:17:49 | → | MorrowM joins (~MorrowM_@147.161.9.239) |
| 15:18:19 | × | MorrowM quits (~MorrowM_@147.161.9.239) (Read error: Connection reset by peer) |
| 15:18:35 | → | MorrowM joins (~MorrowM_@147.161.9.239) |
| 15:19:47 | × | Morrow quits (~MorrowM_@147.161.9.139) (Ping timeout: 268 seconds) |
| 15:21:46 | × | mikoto-chan quits (~mikoto-ch@ip-213-49-189-31.dsl.scarlet.be) (Read error: No route to host) |
| 15:22:42 | → | mikoto-chan joins (~mikoto-ch@ip-213-49-189-31.dsl.scarlet.be) |
| 15:27:25 | × | GIANTWORLDKEEPER quits (~pjetcetal@2.95.227.207) (Quit: EXIT) |
| 15:27:35 | → | lavaman joins (~lavaman@98.38.249.169) |
| 15:28:15 | <heath> | slack |
| 15:28:19 | <heath> | womp :) |
| 15:32:19 | × | lavaman quits (~lavaman@98.38.249.169) (Ping timeout: 265 seconds) |
| 15:36:02 | → | Ariakenom joins (~Ariakenom@c83-255-154-140.bredband.tele2.se) |
| 15:36:10 | → | jumper149 joins (~jumper149@80.240.31.34) |
| 15:37:36 | × | Nahra quits (~user@static.161.95.99.88.clients.your-server.de) (Remote host closed the connection) |
| 15:39:30 | → | v01d4lph4 joins (~v01d4lph4@user/v01d4lph4) |
| 15:41:22 | × | dunkeln quits (~dunkeln@188.71.193.140) (Ping timeout: 268 seconds) |
| 15:41:36 | → | mastarija joins (~mastarija@31.217.22.187) |
| 15:45:04 | × | MorrowM quits (~MorrowM_@147.161.9.239) (Ping timeout: 268 seconds) |
| 15:45:46 | → | Chooch joins (~Cakeface@216.162.110.89) |
| 15:48:28 | × | warnz quits (~warnz@2600:1700:77c0:5610:eca1:bc9d:4345:931f) (Remote host closed the connection) |
| 15:49:22 | → | warnz joins (~warnz@2600:1700:77c0:5610:eca1:bc9d:4345:931f) |
| 15:53:25 | × | acidjnk quits (~acidjnk@p200300d0c72b95464c5b890fdc644af0.dip0.t-ipconnect.de) (Ping timeout: 272 seconds) |
| 15:53:35 | × | warnz quits (~warnz@2600:1700:77c0:5610:eca1:bc9d:4345:931f) (Ping timeout: 250 seconds) |
| 15:55:58 | × | pretty_dumm_guy quits (trottel@gateway/vpn/protonvpn/prettydummguy/x-88029655) (Quit: WeeChat 3.3-dev) |
| 16:00:36 | → | merijn joins (~merijn@83-160-49-249.ip.xs4all.nl) |
| 16:01:00 | → | lavaman joins (~lavaman@98.38.249.169) |
| 16:03:02 | → | mc47 joins (~mc47@xmonad/TheMC47) |
| 16:03:25 | → | sekun joins (~sekun@180.190.208.125) |
| 16:03:38 | × | mc47 quits (~mc47@xmonad/TheMC47) (Client Quit) |
| 16:03:41 | <sekun> | Anyone know if this is any good? https://academy.mondaymorninghaskell.com/p/practical-haskell |
| 16:03:52 | <sekun> | There are no reviews for that. Hard to really gauge if the $297 is worth it |
| 16:06:02 | × | lavaman quits (~lavaman@98.38.249.169) (Ping timeout: 268 seconds) |
| 16:06:34 | → | eggplantade joins (~Eggplanta@2600:1700:bef1:5e10:7930:a54c:f178:5c1a) |
| 16:07:39 | <[exa]> | sekun: I've heard mixed opinions on that here |
| 16:07:55 | × | mikoto-chan quits (~mikoto-ch@ip-213-49-189-31.dsl.scarlet.be) (Read error: No route to host) |
| 16:08:40 | <[exa]> | imo you can get more practical haskell just by idling here :D |
| 16:08:40 | × | shredder quits (~user@user/shredder) (Quit: quitting) |
| 16:08:52 | → | dunkeln joins (~dunkeln@188.71.193.140) |
| 16:08:59 | → | shredder joins (~user@user/shredder) |
| 16:09:29 | <[exa]> | OTOH if you need to jump to industry and start spewing servant apps with elm frontends ASAP, $300 ain't that much, right? |
| 16:10:57 | <[exa]> | (kinda wondering about the added value above the standard tutorials of the libraries referenced there) |
| 16:11:09 | × | eggplantade quits (~Eggplanta@2600:1700:bef1:5e10:7930:a54c:f178:5c1a) (Ping timeout: 272 seconds) |
| 16:11:39 | <sekun> | hmmm yeah i think that's a good point |
| 16:12:12 | <sekun> | i do try to idle here hahah sometimes i forget to open hexchat |
| 16:12:33 | <[exa]> | sekun: anything specific you need to learn btw? |
| 16:12:56 | ← | Chooch parts (~Cakeface@216.162.110.89) (Leaving) |
| 16:13:45 | <sekun> | it's pretty much elm + servant, or elm + scotty if none exist. just wanna try out making somewhat useful to experiment |
| 16:14:35 | <sekun> | i noticed materials about building (and finishing) a simple app (db, front-end, back-end) don't exist |
| 16:15:02 | <sekun> | at least, not easily accessible without shelling out money for books and whatnot |
| 16:16:35 | → | acarrico joins (~acarrico@dhcp-68-142-39-249.greenmountainaccess.net) |
| 16:17:06 | → | fendor joins (~fendor@178.165.168.249.wireless.dyn.drei.com) |
| 16:17:20 | <[exa]> | well, everyone kinda assumes that hs programmers have already tried that in other languages and don't need guidance on what should do what |
| 16:17:33 | <sekun> | ah that makes a lot of sense |
| 16:17:42 | <[exa]> | which is bad for tutorials right. :D |
| 16:18:21 | <[exa]> | so technically it boils down to design of the "glue parts", ie. API and SQL queries |
| 16:18:26 | <[exa]> | (and well, schema) |
| 16:18:46 | → | Nahra joins (~user@static.161.95.99.88.clients.your-server.de) |
| 16:18:53 | × | Guest33 quits (~textual@c-107-4-204-12.hsd1.mn.comcast.net) (Quit: My MacBook has gone to sleep. ZZZzzz…) |
| 16:19:04 | <[exa]> | once you get these, just following scotty + selda + elm tutorial should be pretty easy |
| 16:20:27 | → | jao joins (~jao@cpc103048-sgyl39-2-0-cust502.18-2.cable.virginm.net) |
| 16:21:18 | × | MQ-17J quits (~MQ-17J@d14-69-206-129.try.wideopenwest.com) (Remote host closed the connection) |
| 16:21:32 | → | MQ-17J joins (~MQ-17J@8.21.10.15) |
| 16:22:46 | <sekun> | i was wondering why they named it selda, if it had any reference to legend of zelda. turns out yeah |
| 16:22:55 | <sekun> | cool looks like a thin sql wrapper |
| 16:23:10 | <sekun> | i'll check it out |
| 16:23:22 | → | TranquilEcho joins (~grom@user/tranquilecho) |
| 16:23:28 | <sekun> | i'll probably abstain from purchasing that for now and see if i can fumble my way to something functional |
| 16:23:46 | → | warnz joins (~warnz@2600:1700:77c0:5610:eca1:bc9d:4345:931f) |
| 16:24:38 | <sekun> | i usually see you online every time i hop on here hahah |
| 16:26:02 | × | mastarija quits (~mastarija@31.217.22.187) (Ping timeout: 268 seconds) |
| 16:32:09 | × | warnz quits (~warnz@2600:1700:77c0:5610:eca1:bc9d:4345:931f) (Ping timeout: 250 seconds) |
| 16:34:11 | × | dunkeln quits (~dunkeln@188.71.193.140) (Ping timeout: 265 seconds) |
| 16:34:32 | × | fef quits (~thedawn@user/thedawn) (Quit: Leaving) |
| 16:34:58 | → | bitmapper joins (uid464869@id-464869.tooting.irccloud.com) |
| 16:35:01 | × | merijn quits (~merijn@83-160-49-249.ip.xs4all.nl) (Ping timeout: 268 seconds) |
| 16:35:09 | → | dunkeln joins (~dunkeln@188.71.193.140) |
| 16:35:12 | × | sekun quits (~sekun@180.190.208.125) (Ping timeout: 272 seconds) |
| 16:36:43 | → | chomwitt joins (~Pitsikoko@athedsl-16082.home.otenet.gr) |
| 16:43:01 | → | hnOsmium0001 joins (uid453710@id-453710.stonehaven.irccloud.com) |
| 16:43:28 | → | brandonh joins (~brandonh@151.46.93.174) |
| 16:45:21 | → | ikex1 joins (ash@user/ikex) |
| 16:45:53 | <c_wraith> | oh yeah. I wanted to try out rel8. But... I don't actually have a database. Makes it awkward. |
| 16:46:45 | × | ikex quits (ash@user/ikex) (Ping timeout: 265 seconds) |
| 16:46:45 | ikex1 | is now known as ikex |
| 16:46:50 | → | warnz joins (~warnz@2600:1700:77c0:5610:eca1:bc9d:4345:931f) |
| 16:47:18 | <sm[m]> | @sekun:libera.chat: have you read the yesod book ? |
| 16:47:18 | <lambdabot> | Unknown command, try @list |
| 16:47:21 | → | MorrowM joins (~MorrowM_@bzq-110-168-31-106.red.bezeqint.net) |
| 16:49:11 | × | amahl quits (~amahl@dsl-jklbng12-54fbca-64.dhcp.inet.fi) (Remote host closed the connection) |
| 16:49:32 | <sm[m]> | also IHP probably has a nice tutorial; also there have been random posts describing full real world web apps which are a bit hard to find of course |
| 16:50:26 | → | amahl joins (~amahl@dsl-jklbng12-54fbca-64.dhcp.inet.fi) |
| 16:51:26 | × | warnz quits (~warnz@2600:1700:77c0:5610:eca1:bc9d:4345:931f) (Ping timeout: 272 seconds) |
| 16:51:43 | × | brandonh quits (~brandonh@151.46.93.174) (Quit: brandonh) |
| 16:55:10 | × | amahl quits (~amahl@dsl-jklbng12-54fbca-64.dhcp.inet.fi) (Remote host closed the connection) |
| 16:55:47 | → | amahl joins (~amahl@dsl-jklbng12-54fbca-64.dhcp.inet.fi) |
| 16:57:57 | → | eggplantade joins (~Eggplanta@2600:1700:bef1:5e10:7930:a54c:f178:5c1a) |
| 16:59:38 | <dminuoso> | c_wraith: Nobody is going to convince me that their "fancy pants SQL abstraction is better than SQL" |
| 16:59:54 | → | notzmv joins (~zmv@user/notzmv) |
| 17:01:00 | <c_wraith> | I don't "better than SQL". I want convenient for common cases and easy enough to switch to SQL outside of them. |
| 17:01:41 | <dminuoso> | The overhead of learning "a completely custom and strange abstraction" usually beats using SQL that you already know. |
| 17:01:55 | <c_wraith> | the big thing I want library support for, especially in Haskell, is marshalling query parameters and unmarshalling results. |
| 17:02:00 | <dminuoso> | I find that with these database layers you end up studying these DSLs to know how to make them spit out the SQL query you already have in your mind |
| 17:02:16 | <dminuoso> | Well, all the -simple libraries give you that. |
| 17:02:25 | <c_wraith> | very painfully |
| 17:02:43 | <c_wraith> | I want something join-aware |
| 17:02:45 | × | amahl quits (~amahl@dsl-jklbng12-54fbca-64.dhcp.inet.fi) (Remote host closed the connection) |
| 17:02:59 | <dminuoso> | The main selling point of rel8 and friends is that it propagates the schema types throughout the type system, right through queries. |
| 17:03:08 | <Rembane> | dminuoso: Does it work? |
| 17:03:24 | <dminuoso> | Im sure it does, there's a few haskell libraries that do |
| 17:03:40 | <dminuoso> | But the price is that you have to use an exotic eDSL |
| 17:03:51 | <dminuoso> | Maybe this is the place where TH would be ideal |
| 17:04:06 | <Rembane> | That's potentially painful. I'll have to take a look at rel8 some day. |
| 17:04:11 | → | amahl joins (~amahl@dsl-jklbng12-54fbca-64.dhcp.inet.fi) |
| 17:04:28 | → | lavaman joins (~lavaman@98.38.249.169) |
| 17:04:46 | → | tromp joins (~textual@dhcp-077-249-230-040.chello.nl) |
| 17:05:00 | <boxscape> | could one make/does there exist a library where you write a native SQL query in a quasiquote and it typechecks that? |
| 17:05:08 | <boxscape> | or is there something I'm not thinking of preventing that from existing? |
| 17:05:11 | <c_wraith> | thats the thing about rel8. it's not an exotic DSL. it's a normal Haskell DSL |
| 17:05:25 | <dminuoso> | boxscape: That's sort of what I was proposing. You'd need at least TH power for that. |
| 17:05:25 | <boxscape> | (I haven't really used quasiquotes) |
| 17:05:30 | <boxscape> | ah, okay |
| 17:05:55 | <c_wraith> | quasiquotes are essentially String -> Q Exp |
| 17:05:58 | <dminuoso> | boxscape: QQ gives you simple `String -> AST` functions. |
| 17:06:03 | <dminuoso> | That GHC knows to splice |
| 17:06:06 | <dminuoso> | They cant do anything else |
| 17:06:18 | <boxscape> | right, okay |
| 17:06:19 | <c_wraith> | or Q [Decl], in that context. |
| 17:06:47 | <c_wraith> | well, they can run arbitrary IO code at compile time. |
| 17:06:52 | <dminuoso> | QQ can? |
| 17:07:01 | <c_wraith> | the Q monad can |
| 17:07:50 | <dminuoso> | Though, I guess, perhaps parametrized QQs could be used.. |
| 17:07:55 | <c_wraith> | so they can validate your query against the database, if they're set up that way. |
| 17:08:12 | → | mpt joins (~tom@2001:41b8:83c:fa01:9f51:88b4:dd95:965a) |
| 17:08:21 | <dminuoso> | Maybe this is actually something worth exploring |
| 17:08:22 | <c_wraith> | that has a lot of problems that basically match the benefits, unfortunately |
| 17:09:00 | → | mikoto-chan joins (~mikoto-ch@ip-213-49-189-31.dsl.scarlet.be) |
| 17:09:28 | <c_wraith> | (do you want compiling to need a running database? how do you handle migrations? etc) |
| 17:10:29 | × | amahl quits (~amahl@dsl-jklbng12-54fbca-64.dhcp.inet.fi) (Remote host closed the connection) |
| 17:11:08 | → | amahl joins (~amahl@dsl-jklbng12-54fbca-64.dhcp.inet.fi) |
| 17:11:40 | → | charukiewicz_ joins (~quassel@irouteince04.i.subnet.rcn.com) |
| 17:12:20 | × | charukiewicz quits (~quassel@irouteince04.i.subnet.rcn.com) (Ping timeout: 272 seconds) |
| 17:12:38 | × | neo quits (~neo3@cpe-292712.ip.primehome.com) (Quit: Leaving) |
| 17:13:00 | → | neo joins (~neo3@cpe-292712.ip.primehome.com) |
| 17:14:26 | → | wallymathieu joins (~wallymath@81-234-151-21-no94.tbcn.telia.com) |
| 17:18:11 | × | xff0x quits (~xff0x@2001:1a81:533e:6d00:b6fe:ee81:87af:f03c) (Ping timeout: 268 seconds) |
| 17:18:34 | → | xff0x joins (~xff0x@2001:1a81:533e:6d00:c133:b997:3ccf:96a0) |
| 17:19:49 | → | brandonh joins (~brandonh@151.82.33.7) |
| 17:21:16 | × | ph88 quits (~ph88@2a02:8109:9e00:7e5c:7c55:3c65:74e1:3dc5) (Ping timeout: 268 seconds) |
| 17:23:38 | → | LukeHoersten joins (~LukeHoers@user/lukehoersten) |
| 17:24:37 | × | mpt quits (~tom@2001:41b8:83c:fa01:9f51:88b4:dd95:965a) (Ping timeout: 272 seconds) |
| 17:27:28 | × | lavaman quits (~lavaman@98.38.249.169) (Remote host closed the connection) |
| 17:28:24 | <dminuoso> | c_wraith: It might not need a running database. |
| 17:28:35 | <dminuoso> | Generally it would be enough to just have schema specifications |
| 17:28:45 | <dminuoso> | And some startup glue code that ensures the codified schema and the database match |
| 17:32:34 | <Gurkenglas> | Is there a variant of Monad m where (>>=) is m s t a -> (a -> m t o b) -> m s o b? Does it have its own do notation? |
| 17:34:05 | <shachaf> | Yes, this is called "indexed monad". |
| 17:34:40 | <shachaf> | GHC lets you overload do notation already, so I think it works with indexed monads if you define it. |
| 17:34:55 | <zzz> | what's the elegant way of doing something like multiple inserts on a Map? |
| 17:36:32 | <Gurkenglas> | oh yes right i saw this once! neat. (i was reading a book on category theory and it said an adjunction induces a monad and i went "huh, State s is induced that way and (s,) adjoint (s->) but can i find a way to call that adjunction natural in s and can i transport this to the state monad?") |
| 17:37:23 | <Gurkenglas> | and yeah https://kseo.github.io/posts/2017-01-12-indexed-monads.html gives it do notation |
| 17:38:43 | <zzz> | jkj |
| 17:39:36 | <Gurkenglas> | zzz, more context. what is the meaning of the map entries |
| 17:41:39 | <zzz> | i just want to avoid doing: m' = Map.insert ... m ; m'' = Map.insert ... m' ; etc... |
| 17:42:53 | <shachaf> | You can have a list of insertions. |
| 17:43:32 | <neo> | foldl' on a list should be what you are looking for. |
| 17:43:53 | → | merijn joins (~merijn@83-160-49-249.ip.xs4all.nl) |
| 17:44:56 | → | Guest33 joins (~textual@c-107-4-204-12.hsd1.mn.comcast.net) |
| 17:45:03 | × | Guest33 quits (~textual@c-107-4-204-12.hsd1.mn.comcast.net) (Client Quit) |
| 17:48:51 | → | Sgeo joins (~Sgeo@user/sgeo) |
| 17:49:04 | → | mpt joins (~tom@2a00:20:8017:8a04:ba09:ca8e:505f:8d30) |
| 17:50:34 | <infinisil> | zzz: fromList + union |
| 17:50:54 | → | warnz joins (~warnz@2600:1700:77c0:5610:eca1:bc9d:4345:931f) |
| 17:51:00 | <Gurkenglas> | zzz, if you have precisely two uses of Map.insert in your code and they're consecutive, you can do Map.insert k v . Map.insert k' v' |
| 17:52:12 | <Gurkenglas> | if you touch this map all the time and you're actually doing imperative programming, consider the state monad |
| 17:52:25 | × | tromp quits (~textual@dhcp-077-249-230-040.chello.nl) (Quit: My iMac has gone to sleep. ZZZzzz…) |
| 17:52:51 | → | safinaskar joins (~safinaska@109.252.90.89) |
| 17:53:14 | <Gurkenglas> | if additionally you have multiple things you're touching all the time and nested data structures, consider additionally using lens |
| 17:54:34 | × | dunkeln quits (~dunkeln@188.71.193.140) (Ping timeout: 268 seconds) |
| 17:55:21 | × | warnz quits (~warnz@2600:1700:77c0:5610:eca1:bc9d:4345:931f) (Ping timeout: 250 seconds) |
| 17:55:21 | <zzz> | thank you all |
| 17:55:26 | × | v01d4lph4 quits (~v01d4lph4@user/v01d4lph4) (Remote host closed the connection) |
| 17:55:49 | × | MQ-17J quits (~MQ-17J@8.21.10.15) (Ping timeout: 258 seconds) |
| 17:56:00 | → | v01d4lph4 joins (~v01d4lph4@user/v01d4lph4) |
| 17:57:32 | × | notzmv quits (~zmv@user/notzmv) (Ping timeout: 272 seconds) |
| 17:58:01 | → | lavaman joins (~lavaman@98.38.249.169) |
| 17:58:34 | <dminuoso> | Profpatsch: By the way, in hindsight the talk was probably a waste of time. When someone like Rich Hickey holds a talk on Clojure/Conj arguing why Clojure is great and everybody else is wrong, he doesn't even need convincing arguments, his audience already is convinced regardless of what you say. |
| 17:58:42 | → | MQ-17J joins (~MQ-17J@d14-69-206-129.try.wideopenwest.com) |
| 18:00:44 | × | v01d4lph4 quits (~v01d4lph4@user/v01d4lph4) (Ping timeout: 268 seconds) |
| 18:02:38 | × | lavaman quits (~lavaman@98.38.249.169) (Ping timeout: 265 seconds) |
| 18:03:01 | → | machinedgod joins (~machinedg@24.105.81.50) |
| 18:07:25 | × | brandonh quits (~brandonh@151.82.33.7) (Quit: brandonh) |
| 18:07:29 | → | wroathe joins (~wroathe@c-68-54-25-135.hsd1.mn.comcast.net) |
| 18:10:20 | → | dunkeln joins (~dunkeln@188.71.193.140) |
| 18:11:07 | → | Corder_000 joins (~Coder_000@177.10.203.30) |
| 18:12:45 | → | egoist joins (~egoist@186.235.82.105) |
| 18:13:41 | × | MQ-17J quits (~MQ-17J@d14-69-206-129.try.wideopenwest.com) (Ping timeout: 268 seconds) |
| 18:13:58 | → | MQ-17J joins (~MQ-17J@d14-69-206-129.try.wideopenwest.com) |
| 18:14:27 | → | __monty__ joins (~toonn@user/toonn) |
| 18:15:00 | <qrpnxz> | `app = arr $ uncurry id` LOL |
| 18:15:26 | <dminuoso> | % :t arr (uncurry id) |
| 18:15:26 | <yahb> | dminuoso: forall {a :: * -> * -> *} {b} {c}. Arrow a => a (b -> c, b) c |
| 18:15:55 | → | Guest33 joins (~textual@c-107-4-204-12.hsd1.mn.comcast.net) |
| 18:18:37 | × | dunkeln quits (~dunkeln@188.71.193.140) (Ping timeout: 268 seconds) |
| 18:18:37 | × | merijn quits (~merijn@83-160-49-249.ip.xs4all.nl) (Ping timeout: 268 seconds) |
| 18:19:56 | × | amahl quits (~amahl@dsl-jklbng12-54fbca-64.dhcp.inet.fi) (Remote host closed the connection) |
| 18:21:09 | → | takuan joins (~takuan@178-116-218-225.access.telenet.be) |
| 18:22:27 | → | amahl joins (~amahl@dsl-jklbng12-54fbca-64.dhcp.inet.fi) |
| 18:23:11 | ← | safinaskar parts (~safinaska@109.252.90.89) () |
| 18:23:27 | × | mpt quits (~tom@2a00:20:8017:8a04:ba09:ca8e:505f:8d30) (Read error: Connection reset by peer) |
| 18:24:13 | × | fendor quits (~fendor@178.165.168.249.wireless.dyn.drei.com) (Read error: Connection reset by peer) |
| 18:25:01 | × | LukeHoersten quits (~LukeHoers@user/lukehoersten) (Quit: My MacBook has gone to sleep. ZZZzzz…) |
| 18:25:21 | × | Corder_000 quits (~Coder_000@177.10.203.30) (Quit: WeeChat 3.0.1) |
| 18:25:36 | → | fendor joins (~fendor@178.165.168.249.wireless.dyn.drei.com) |
| 18:28:15 | → | wroathe_ joins (~wroathe@c-68-54-25-135.hsd1.mn.comcast.net) |
| 18:28:29 | × | wroathe quits (~wroathe@c-68-54-25-135.hsd1.mn.comcast.net) (Ping timeout: 268 seconds) |
| 18:28:48 | <maerwald> | dminuoso: clojure is a |
| 18:28:57 | <maerwald> | troll language |
| 18:29:43 | × | Ariakenom quits (~Ariakenom@c83-255-154-140.bredband.tele2.se) (Ping timeout: 268 seconds) |
| 18:29:52 | <maerwald> | "Oh, you passed a different type, lemme do something entirely different, like make your fronted page blank" |
| 18:30:19 | × | MQ-17J quits (~MQ-17J@d14-69-206-129.try.wideopenwest.com) (Ping timeout: 258 seconds) |
| 18:30:24 | × | chronon quits (~chronon@user/chronon) (Quit: leaving) |
| 18:30:37 | → | MQ-17J joins (~MQ-17J@8.21.10.15) |
| 18:31:53 | <dminuoso> | I dont really want to bash languages. |
| 18:32:01 | → | dunkeln joins (~dunkeln@188.71.193.140) |
| 18:32:05 | <maerwald> | I'm not a friend of type classes, because they can already introduce similar confusion, but generally, a typeclass has a common theme |
| 18:32:24 | → | Ariakenom joins (~Ariakenom@c83-255-154-140.bredband.tele2.se) |
| 18:32:30 | <maerwald> | Once your function can process arbitrary types, everything goes |
| 18:33:28 | <maerwald> | It's inherent in the language: you can't fix clojure |
| 18:35:28 | <maerwald> | I'm not bashing, I'm providing arguments ;) |
| 18:37:09 | × | bitdex quits (~bitdex@gateway/tor-sasl/bitdex) (Quit: = "") |
| 18:38:17 | × | dyeplexer quits (~dyeplexer@user/dyeplexer) (Remote host closed the connection) |
| 18:38:17 | <dminuoso> | fatal: reference is not a tree: 783db292d12d28786612b8eeec7bb920246b72ce |
| 18:38:28 | <dminuoso> | Mmm, cabal has some really rough ux edges at times.. |
| 18:38:42 | → | tromp joins (~textual@dhcp-077-249-230-040.chello.nl) |
| 18:38:49 | <dminuoso> | Of course I know exactly what the problem is, what I did and what I need to do to fix it.. |
| 18:39:01 | <dminuoso> | But if that's the entirety of the error message... *sigh* |
| 18:39:11 | × | dwt_ quits (~dwt_@c-98-200-58-177.hsd1.tx.comcast.net) (Ping timeout: 252 seconds) |
| 18:39:22 | <Clint> | i almost never use a tree as a reference |
| 18:39:23 | → | waleee joins (~waleee@2001:9b0:216:8200:d457:9189:7843:1dbd) |
| 18:41:14 | × | Ariakenom quits (~Ariakenom@c83-255-154-140.bredband.tele2.se) (Ping timeout: 272 seconds) |
| 18:41:43 | → | Ariakenom joins (~Ariakenom@c83-255-154-140.bredband.tele2.se) |
| 18:42:16 | × | MQ-17J quits (~MQ-17J@8.21.10.15) (Ping timeout: 265 seconds) |
| 18:42:40 | <hpc> | what's a tree in the context of cabal? |
| 18:42:55 | <davean> | hpc: he's clearly refering to a git repo in a cabal.project |
| 18:43:33 | <davean> | I'm not clear on what error message you'd prefer dminuoso |
| 18:44:06 | <hpc> | ah, i am not used to those commit hashes being called trees |
| 18:44:37 | <dminuoso> | Error while fetching vendored package `foo` via git: fatal: reference is not a tree: 783db292d12d28786612b8eeec7bb920246b72ce |
| 18:44:38 | <davean> | Its NOT a commit hash |
| 18:44:42 | <dminuoso> | davean: Something like that? |
| 18:44:44 | <davean> | hpc: thats a difference |
| 18:44:50 | <dminuoso> | The point is, there's absolutely no context what went wrong where. |
| 18:44:51 | → | safinaskar joins (~safinaska@109.252.90.89) |
| 18:45:02 | <dminuoso> | Some random git error means nothing to a cabal user |
| 18:45:04 | <davean> | hpc: git has commits, trees, and treeishs |
| 18:45:08 | <davean> | (also files, etc) |
| 18:45:12 | <safinaskar> | why this doesn't compile? https://godbolt.org/z/hqK4jWz5E |
| 18:46:06 | <dminuoso> | safinaskar: This is due to a restriction in the haskell report |
| 18:46:44 | <davean> | hpc: you usually put a commit, sure, but what it needs is the tree |
| 18:47:00 | <dminuoso> | It's not mentioned very explicitly, but the Haskell report says that lambda (and thus also <- bound) variables must be monomorphic. |
| 18:47:12 | → | MQ-17J joins (~MQ-17J@d14-69-206-129.try.wideopenwest.com) |
| 18:47:22 | <dminuoso> | It doesn't exactly state why, Im guessing there's type inference reasons? |
| 18:48:44 | → | zebrag joins (~chris@user/zebrag) |
| 18:49:00 | × | MQ-17J quits (~MQ-17J@d14-69-206-129.try.wideopenwest.com) (Remote host closed the connection) |
| 18:50:21 | <dminuoso> | Does this require ImpredicativeTypes? |
| 18:50:23 | → | MQ-17J joins (~MQ-17J@d14-69-206-129.try.wideopenwest.com) |
| 18:50:52 | <dminuoso> | [[forall a. a]] does seem like an impredicative type |
| 18:51:30 | <boxscape> | this works https://paste.tomsmeding.com/HH5iNOKf |
| 18:51:53 | <boxscape> | (ignore the -XPartialTypeSignatures) |
| 18:52:45 | <boxscape> | interestingly giving the type to the argument instead of to the entire lambda expression does not |
| 18:53:02 | <safinaskar> | my code fails even if i enable ImpredicativeTypes (tested with 9.2.0.20210422 [latest available in ghcup]) |
| 18:53:44 | × | tromp quits (~textual@dhcp-077-249-230-040.chello.nl) (Quit: My iMac has gone to sleep. ZZZzzz…) |
| 18:54:01 | <boxscape> | your code wouldn't work even if ImpredicativeTypes could fix this because of https://gitlab.haskell.org/ghc/ghc/-/issues/20020 |
| 18:54:34 | → | talismanick joins (~user@2601:644:8502:d700::f19d) |
| 18:55:57 | → | notzmv joins (~zmv@user/notzmv) |
| 19:02:06 | <safinaskar> | so? what to do? i want to have polymorphic binding in do. i. e. something like this: do { f :: (forall a. a -> Int) <- .....; ..... f 2 .....; ..... f "o" ..... } |
| 19:02:12 | <safinaskar> | is this possible? |
| 19:02:59 | <qrpnxz> | safinaskar, i think you can do it with let but not with <- |
| 19:04:34 | wroathe_ | is now known as wroathe |
| 19:06:30 | <boxscape> | (Oh, right, my example worked because I forgot the parentheses around (forall a . [[a]])...) |
| 19:06:32 | → | LukeHoersten joins (~LukeHoers@user/lukehoersten) |
| 19:07:50 | × | jess quits (~jess@libera/staff/jess) () |
| 19:07:53 | → | tungki joins (~Guest54@subs31-116-206-15-16.three.co.id) |
| 19:09:30 | → | Meh joins (~Meh@202.14.120.46) |
| 19:09:55 | Meh | is now known as Guest1495 |
| 19:12:08 | <safinaskar> | ok, thanks |
| 19:12:59 | × | Axman6 quits (~Axman6@user/axman6) (Ping timeout: 256 seconds) |
| 19:13:06 | → | fizbin joins (~fizbin@c-73-33-197-160.hsd1.nj.comcast.net) |
| 19:13:28 | <boxscape> | safinaskar: something like this works https://paste.tomsmeding.com/DpnTBwVd |
| 19:13:58 | <dminuoso> | boxscape: you should even be able to pattern match on the do-bind, no? |
| 19:14:18 | <dminuoso> | Or does this run into the same bug you reported? |
| 19:14:27 | <dminuoso> | I know we talked about this a few days ago, but I cant recall the details |
| 19:14:35 | <boxscape> | dminuoso: no, you're right |
| 19:14:46 | <boxscape> | it works |
| 19:15:05 | <dminuoso> | Then you dont even need impredicative types anymore |
| 19:15:15 | → | sleym joins (~sleym@23.81.181.4) |
| 19:16:30 | <qrpnxz> | what is an impredicative type |
| 19:17:02 | <boxscape> | qrpnxz: if you have a type constructor like Maybe and you have a type with forall as an argument to it, e.g. `Maybe (forall a . a -> a)` |
| 19:17:02 | <Profpatsch> | dminuoso: true |
| 19:17:03 | <dminuoso> | qrpnxz: Take [forall a. a] for instance |
| 19:17:15 | <Profpatsch> | dminuoso: though I think not all points are invalid |
| 19:17:27 | <dminuoso> | qrpnxz: In impredicative types, this type is allowed and it is quantified over all types, including itself. |
| 19:17:33 | <Profpatsch> | I mean Hickey is probably on a local maximum |
| 19:17:34 | → | unyu joins (~pyon@user/pyon) |
| 19:17:39 | <Profpatsch> | one that is pretty good |
| 19:17:40 | <qrpnxz> | ah |
| 19:17:49 | × | fizbin quits (~fizbin@c-73-33-197-160.hsd1.nj.comcast.net) (Ping timeout: 268 seconds) |
| 19:17:56 | <safinaskar> | boxscape: thanks. i tried to make Id type with kind (* -> * ): https://godbolt.org/z/YhcjvP41x . and now code doesn't compile |
| 19:18:05 | × | Guest1495 quits (~Meh@202.14.120.46) (Quit: Connection closed) |
| 19:18:07 | × | xff0x quits (~xff0x@2001:1a81:533e:6d00:c133:b997:3ccf:96a0) (Ping timeout: 250 seconds) |
| 19:18:11 | → | kayprish joins (~kayprish@46.240.143.86) |
| 19:18:16 | <safinaskar> | boxscape: so, this means i need to create special newtype for this particular binding?! |
| 19:18:25 | <safinaskar> | boxscape: this is very ugly |
| 19:18:45 | <dminuoso> | Profpatsch: Im not saying his points are invalid, just that the way he losely reasons mostly to accomodate an audience that claps and cheers at everything he says. :) |
| 19:18:56 | <dminuoso> | is not a way that I care for |
| 19:18:59 | → | xff0x joins (~xff0x@2001:1a81:533e:6d00:cffe:3614:284d:42ae) |
| 19:20:06 | <dminuoso> | Rich convincing Clojure fans at Clojure Conj that the clojure way is the true way.. well. He summarized a series of SPJ talks in one and a half sentences, and just dismissed it as "he's totally wrong, we all know dynamic is better than static. QED." |
| 19:20:21 | <boxscape> | safinaskar: hm I'm playing around with it but haven't found a better way yet that works |
| 19:20:22 | <dminuoso> | (I paraphrased a bit) |
| 19:21:03 | <Profpatsch> | yeah |
| 19:21:23 | <boxscape> | safinaskar: never mind I have found a way, hold on |
| 19:23:08 | <boxscape> | safinaskar: this _should_ work, but doesn't: https://paste.tomsmeding.com/tOKilQ57 That's because of the GHC issue I posted above. However, translating it into non-do notation _does_ work: https://paste.tomsmeding.com/BZFWmxK9 |
| 19:23:36 | <boxscape> | safinaskar: the important thing being the type application @(forall a . a -> a), to let Id know that its argument is supposed to be polymorphic |
| 19:24:12 | <dminuoso> | Profpatsch: The original topic is an interesting subject, I pondered quite a bit about it. At the end there's different audiences. In my experience, with the systems I work with, being absolutely strict with input is worth more than any hypothetical "forward compatibility" |
| 19:24:21 | <dminuoso> | Especially when both the client and server are under your control |
| 19:24:46 | <boxscape> | safinaskar: here's a shorter version that still works: https://paste.tomsmeding.com/OxAE9zhh |
| 19:24:47 | <dminuoso> | Then be as strict as you can, since an unparsed field is likely an error on the sending side. |
| 19:27:01 | <Profpatsch> | dminuoso: I think he conflates “not caring about whether something is there” with “providing defaults when something is not there” |
| 19:27:03 | → | a6a45081-2b83 joins (~aditya@122.163.205.132) |
| 19:27:45 | <dminuoso> | Judging from the contents its rather "why do I care what other things you send me. I just care about the values i look at" |
| 19:27:47 | <dminuoso> | *context |
| 19:28:01 | <dminuoso> | The true pinnacle of dynamic programming where all you fling around is lists and maps |
| 19:28:30 | <Rembane> | And poo! |
| 19:28:51 | <dminuoso> | To some extend I can understand his love of maps, since they are so nicely compositional. You can just plug values out, merge them together in new fancy ways |
| 19:29:10 | <dminuoso> | The desire for this even in static type sytems can be found in row types research |
| 19:29:47 | → | lavaman joins (~lavaman@98.38.249.169) |
| 19:30:47 | <boxscape> | that's the "structural vs nominal" divide rather than the "static vs dynamic" divide, isn't it? |
| 19:30:53 | <dminuoso> | Right |
| 19:30:57 | <dminuoso> | well yes and no |
| 19:31:03 | × | sagax quits (~sagax@213.138.71.146) (Remote host closed the connection) |
| 19:31:03 | <boxscape> | (not that you can't have both structural and nominal typing together) |
| 19:31:15 | <dminuoso> | dynamic type systems are inherently nominal |
| 19:31:48 | <Rembane> | Are there no structural dynamic typing systems? |
| 19:31:55 | <Rembane> | *type |
| 19:32:19 | → | ph88_ joins (~ph88@ip5f5af6fd.dynamic.kabel-deutschland.de) |
| 19:32:21 | → | tromp joins (~textual@dhcp-077-249-230-040.chello.nl) |
| 19:32:36 | <safinaskar> | boxscape: ok, thanks |
| 19:33:56 | <boxscape> | I suppose checking whether the entire structure matches dynamically probably isn't worth the runtime cost compared to just checking whether the relevant structure matches, which gets you to duck typing |
| 19:34:28 | × | lavaman quits (~lavaman@98.38.249.169) (Ping timeout: 268 seconds) |
| 19:34:52 | <Rembane> | Both sounds structurally typed to me, it's checked at runtime rather than compile time though. |
| 19:35:53 | boxscape | shrugs |
| 19:36:01 | <boxscape> | wikpedia distinguishes between structural and duck |
| 19:36:19 | × | ph88^ quits (~ph88@2a02:8109:9e00:7e5c:6024:1b36:f949:e91) (Ping timeout: 268 seconds) |
| 19:36:24 | <boxscape> | though I'm not sure why dynamic typing would be inherently nominal as dminuoso when duck typing exists... |
| 19:36:29 | <boxscape> | s//said |
| 19:37:49 | × | superbil quits (~superbil@1-34-176-171.HINET-IP.hinet.net) (Ping timeout: 268 seconds) |
| 19:45:40 | → | eight joins (~eight@user/eight) |
| 19:47:25 | × | tungki quits (~Guest54@subs31-116-206-15-16.three.co.id) (Ping timeout: 246 seconds) |
| 19:47:31 | × | LukeHoersten quits (~LukeHoers@user/lukehoersten) (Quit: My MacBook has gone to sleep. ZZZzzz…) |
| 19:48:21 | <boxscape> | Does it go back to the "dynamic type systems aren't actually type systems" thing? |
| 19:49:16 | × | ph88_ quits (~ph88@ip5f5af6fd.dynamic.kabel-deutschland.de) (Ping timeout: 268 seconds) |
| 19:52:30 | → | warnz joins (~warnz@2600:1700:77c0:5610:eca1:bc9d:4345:931f) |
| 19:52:43 | → | fendor_ joins (~fendor@178.165.168.249.wireless.dyn.drei.com) |
| 19:53:03 | fendor | is now known as fendor__ |
| 19:53:07 | fendor_ | is now known as fendor |
| 19:53:10 | fendor__ | is now known as fendor_ |
| 19:54:19 | <safinaskar> | arguing about type systems? here another argument: in typescript (as well as i know) you can get empty list from function returning list of ints and pass it to function accepting list of strings |
| 19:55:23 | <safinaskar> | i. e. you can do something like this haskell code: module X where { f :: [Int]; f = []; g :: [String] -> (); g _ = (); main = return $ g f; } |
| 19:55:28 | <safinaskar> | in haskell this is impossible |
| 19:56:21 | <monochrom> | I can do this in Haskell if you allow me to s/Int/int/ >:) |
| 19:56:37 | <mjrosenb> | lol. |
| 19:57:15 | × | warnz quits (~warnz@2600:1700:77c0:5610:eca1:bc9d:4345:931f) (Ping timeout: 272 seconds) |
| 19:57:22 | ← | safinaskar parts (~safinaska@109.252.90.89) () |
| 19:57:33 | × | a6a45081-2b83 quits (~aditya@122.163.205.132) (Remote host closed the connection) |
| 19:58:49 | × | MorrowM quits (~MorrowM_@bzq-110-168-31-106.red.bezeqint.net) (Read error: Connection reset by peer) |
| 19:58:52 | <dminuoso> | boxscape: The context is that Rich proposes using maps for many things. This comes from reasoning that "often you need some subset of values of some type", another time you need another subset of values.. |
| 19:59:06 | <dminuoso> | Then you might want to compose some subset of this type and then some subset of that type |
| 19:59:13 | → | MorrowM joins (~MorrowM_@bzq-110-168-31-106.red.bezeqint.net) |
| 20:00:24 | × | xsperry quits (~as@user/xsperry) (Ping timeout: 272 seconds) |
| 20:00:42 | <dminuoso> | boxscape: and sorry, I made an incorrect statement here in: "dynamic type systems are inherently nominal" |
| 20:00:43 | <boxscape> | I see |
| 20:00:51 | <dminuoso> | My kid was crying in the background, and I got distracted. |
| 20:00:53 | <boxscape> | okay |
| 20:00:58 | <boxscape> | haha no worries |
| 20:01:31 | <boxscape> | (I hope they're okay) |
| 20:02:06 | <dminuoso> | Sure, its just teething |
| 20:02:46 | <boxscape> | okay, good |
| 20:03:25 | → | merijn joins (~merijn@83-160-49-249.ip.xs4all.nl) |
| 20:04:34 | → | superbil joins (~superbil@1-34-176-171.HINET-IP.hinet.net) |
| 20:04:37 | × | mikoto-chan quits (~mikoto-ch@ip-213-49-189-31.dsl.scarlet.be) (Ping timeout: 258 seconds) |
| 20:09:16 | × | merijn quits (~merijn@83-160-49-249.ip.xs4all.nl) (Ping timeout: 272 seconds) |
| 20:10:17 | <boxscape> | @tell safinaskar: Re: polymorphic bindings in do notation, you don't actually need the Id newtype we had, this works: https://paste.tomsmeding.com/4m8w6cuk |
| 20:10:17 | <lambdabot> | Consider it noted. |
| 20:10:59 | <boxscape> | wait, did I tell lambdabot to tell this to "safinaskar:" with a colon? |
| 20:11:11 | <dminuoso> | boxscape: mmm, I wonder, couldnt you just mix do-notation with lambda style? |
| 20:11:21 | <dminuoso> | might look odd, but it shouldnt be a problem |
| 20:11:57 | <boxscape> | I suppose so, yeah |
| 20:11:58 | <boxscape> | you mean to get around the bug? |
| 20:13:11 | <dminuoso> | https://gist.github.com/dminuoso/ab50177469e73aee70b7dbf1e52603d9 |
| 20:13:11 | <boxscape> | @tell safinaskar Re: polymorphic bindings in do notation, you don't actually need the Id newtype we had, this works: https://paste.tomsmeding.com/4m8w6cuk |
| 20:13:11 | <lambdabot> | Consider it noted. |
| 20:13:12 | <dminuoso> | Yeah |
| 20:13:16 | <dminuoso> | boxscape: ^- this works |
| 20:13:40 | <dminuoso> | Oh my, this I have to keep in my bag of tricks. |
| 20:13:42 | <boxscape> | yeah, that's not too bad |
| 20:13:48 | × | fendor quits (~fendor@178.165.168.249.wireless.dyn.drei.com) (Ping timeout: 252 seconds) |
| 20:13:48 | <boxscape> | actually surprised that's not an indentation error |
| 20:13:56 | <dminuoso> | why should it? |
| 20:14:01 | <dminuoso> | do-expressions are just expressions. |
| 20:14:23 | <dminuoso> | and regarding indention, I have no clue how indention rules even work in haskell |
| 20:14:38 | <boxscape> | I would have expected ghc to read s <- getLine as part of the previous do-notation but I guess not |
| 20:14:43 | <boxscape> | (well, it is part of it) |
| 20:14:44 | <dminuoso> | I only write haskell for a living, dont ask me what GHC even considers as valid input |
| 20:14:50 | <boxscape> | hehe |
| 20:15:06 | <geekosaur> | looks like NondecreasingIndentation at work to me |
| 20:15:12 | <boxscape> | ah |
| 20:16:33 | <dminuoso> | if null args then return [] else do |
| 20:16:51 | <dminuoso> | Interesting! Early-return, I had not seen this trick before. |
| 20:17:05 | <dminuoso> | I've had two or three cases where I wanted this |
| 20:17:30 | <dminuoso> | geekosaur: Thanks! |
| 20:24:06 | × | _ht quits (~quassel@82-169-194-8.biz.kpn.net) (Remote host closed the connection) |
| 20:28:44 | → | acidjnk joins (~acidjnk@p200300d0c72b954690af9c130fd8a450.dip0.t-ipconnect.de) |
| 20:29:03 | → | fendor joins (~fendor@178.165.168.249.wireless.dyn.drei.com) |
| 20:29:21 | × | dunkeln quits (~dunkeln@188.71.193.140) (Ping timeout: 268 seconds) |
| 20:34:21 | → | glider joins (~glider@user/glider) |
| 20:40:10 | → | justsomeguy joins (~justsomeg@user/justsomeguy) |
| 20:40:29 | → | falafel joins (~falafel@pool-96-255-70-50.washdc.fios.verizon.net) |
| 20:42:05 | × | tromp quits (~textual@dhcp-077-249-230-040.chello.nl) (Quit: My iMac has gone to sleep. ZZZzzz…) |
| 20:43:18 | × | Guest33 quits (~textual@c-107-4-204-12.hsd1.mn.comcast.net) (Quit: My MacBook has gone to sleep. ZZZzzz…) |
| 20:44:40 | → | haykam joins (~haykam@static.100.2.21.65.clients.your-server.de) |
| 20:45:55 | → | bilegeek joins (~bilegeek@2600:1008:b015:3e96:6f34:1a42:6ac5:3b86) |
| 20:46:28 | × | fendor_ quits (~fendor@178.165.168.249.wireless.dyn.drei.com) (Remote host closed the connection) |
| 20:47:35 | → | fendor_ joins (~fendor@178.165.168.249.wireless.dyn.drei.com) |
| 20:50:21 | × | yoctocell quits (~user@h87-96-130-155.cust.a3fiber.se) (Ping timeout: 265 seconds) |
| 20:51:30 | → | elf_fortrez joins (~elf_fortr@adsl-72-50-6-22.prtc.net) |
| 20:56:31 | × | sleym quits (~sleym@23.81.181.4) (Quit: sleym) |
| 20:58:50 | × | nckx quits (~nckx@tobias.gr) (Quit: Updating my Guix System <https://guix.gnu.org>) |
| 21:02:53 | × | dhil quits (~dhil@195.213.192.47) (Ping timeout: 258 seconds) |
| 21:03:24 | × | fendor quits (~fendor@178.165.168.249.wireless.dyn.drei.com) (Ping timeout: 265 seconds) |
| 21:04:18 | → | nckx joins (~nckx@tobias.gr) |
| 21:12:45 | × | haykam quits (~haykam@static.100.2.21.65.clients.your-server.de) (Remote host closed the connection) |
| 21:14:59 | × | MQ-17J quits (~MQ-17J@d14-69-206-129.try.wideopenwest.com) (Ping timeout: 268 seconds) |
| 21:15:09 | → | Deide1 joins (~Deide@wire.desu.ga) |
| 21:16:24 | × | Deide quits (~Deide@user/deide) (Ping timeout: 272 seconds) |
| 21:18:30 | → | MQ-17J joins (~MQ-17J@8.21.10.15) |
| 21:18:33 | → | bitdex joins (~bitdex@gateway/tor-sasl/bitdex) |
| 21:19:09 | → | haykam1 joins (~haykam@static.100.2.21.65.clients.your-server.de) |
| 21:20:35 | × | takuan quits (~takuan@178-116-218-225.access.telenet.be) (Remote host closed the connection) |
| 21:22:22 | × | chomwitt quits (~Pitsikoko@athedsl-16082.home.otenet.gr) (Ping timeout: 252 seconds) |
| 21:24:38 | → | chomwitt joins (~Pitsikoko@2a02:587:dc0b:0:d8f7:cdfe:4658:bec4) |
| 21:29:32 | × | __monty__ quits (~toonn@user/toonn) (Quit: leaving) |
| 21:30:37 | → | dunkeln joins (~dunkeln@94.129.65.28) |
| 21:30:42 | × | elf_fortrez quits (~elf_fortr@adsl-72-50-6-22.prtc.net) (Quit: Client closed) |
| 21:35:57 | × | dunkeln quits (~dunkeln@94.129.65.28) (Ping timeout: 268 seconds) |
| 21:36:45 | → | tromp joins (~textual@dhcp-077-249-230-040.chello.nl) |
| 21:38:55 | × | MQ-17J quits (~MQ-17J@8.21.10.15) (Ping timeout: 258 seconds) |
| 21:39:11 | → | jneira_ joins (~jneira_@131.red-79-155-1.dynamicip.rima-tde.net) |
| 21:41:30 | × | chomwitt quits (~Pitsikoko@2a02:587:dc0b:0:d8f7:cdfe:4658:bec4) (Ping timeout: 268 seconds) |
| 21:46:49 | × | fendor_ quits (~fendor@178.165.168.249.wireless.dyn.drei.com) (Read error: Connection reset by peer) |
| 21:47:35 | → | MQ-17J joins (~MQ-17J@d14-69-206-129.try.wideopenwest.com) |
| 21:50:15 | <elvishjerricco> | When a haskell process is killed by SIGTERM, what is its exit status? (Assuming the haskell code makes no effort to handle exceptions/signals/etc.) |
| 21:51:20 | <geekosaur> | signals are reported separately from exit statuses |
| 21:51:29 | <geekosaur> | so it'll show signal 15 |
| 21:53:46 | × | notzmv quits (~zmv@user/notzmv) (Ping timeout: 272 seconds) |
| 21:53:48 | <elvishjerricco> | geekosaur: Right, but I'm interested in the exit status. I was playing with some systemd stuff and decided to use a dummy haskell program (loop on threadDelay) to test some stuff. When I asked systemd to stop the service, it got reported as failed due to exit status |
| 21:54:00 | <elvishjerricco> | I was just wondering if that's because SIGTERM caused the program to exit non-zero |
| 21:54:14 | → | warnz joins (~warnz@2600:1700:77c0:5610:eca1:bc9d:4345:931f) |
| 21:54:15 | <elvishjerricco> | or if some other part of my system jankery is messed up |
| 21:54:20 | <elvishjerricco> | systemd* |
| 21:54:47 | × | tromp quits (~textual@dhcp-077-249-230-040.chello.nl) (Quit: My iMac has gone to sleep. ZZZzzz…) |
| 21:58:27 | × | warnz quits (~warnz@2600:1700:77c0:5610:eca1:bc9d:4345:931f) (Ping timeout: 250 seconds) |
| 22:04:13 | × | Gurkenglas quits (~Gurkengla@dslb-002-203-144-156.002.203.pools.vodafone-ip.de) (Ping timeout: 258 seconds) |
| 22:04:18 | → | merijn joins (~merijn@83-160-49-249.ip.xs4all.nl) |
| 22:05:56 | <geekosaur> | as expected I get "terminated" from my shell for kill -15 on a Haskell program |
| 22:06:13 | <geekosaur> | possibly systemd expects a program to clean up and exit 0 on SIGTERM |
| 22:07:08 | <elvishjerricco> | Yea, I just tested and the exit code is 1 |
| 22:12:09 | → | favonia joins (~favonia@user/favonia) |
| 22:12:46 | × | merijn quits (~merijn@83-160-49-249.ip.xs4all.nl) (Ping timeout: 272 seconds) |
| 22:18:48 | × | wallymathieu quits (~wallymath@81-234-151-21-no94.tbcn.telia.com) (Quit: My MacBook has gone to sleep. ZZZzzz…) |
| 22:21:02 | × | falafel quits (~falafel@pool-96-255-70-50.washdc.fios.verizon.net) (Ping timeout: 252 seconds) |
| 22:21:40 | → | Guest4422 joins (~dunkeln@94.129.65.28) |
| 22:22:02 | → | LukeHoersten joins (~LukeHoers@user/lukehoersten) |
| 22:26:59 | × | jumper149 quits (~jumper149@80.240.31.34) (Quit: WeeChat 3.1) |
| 22:27:20 | × | Guest4422 quits (~dunkeln@94.129.65.28) (Ping timeout: 272 seconds) |
| 22:27:39 | <dminuoso> | How do I get the current day in the current locale? I want the equivalent of `date` in Haskell |
| 22:31:35 | × | zeenk quits (~zeenk@2a02:2f04:a106:9600:82fb:aed9:ca9:38d3) (Quit: Konversation terminated!) |
| 22:32:25 | <Clint> | dminuoso: localDay . zonedTimeToLocalTime <$> getZonedTime ? |
| 22:32:40 | → | Erutuon joins (~Erutuon@user/erutuon) |
| 22:33:03 | <dminuoso> | Clint: Ah. I kept looking for some `getLocalTime :: IO LocalTime` |
| 22:33:05 | <dminuoso> | Thanks |
| 22:33:25 | <sm[m]> | it would be nice to add such shortcuts to the lib |
| 22:34:27 | sm[m] | calls it getCurrentDay :: IO Day |
| 22:36:50 | × | neo quits (~neo3@cpe-292712.ip.primehome.com) (Ping timeout: 272 seconds) |
| 22:36:50 | sm[m] | < https://libera.ems.host/_matrix/media/r0/download/libera.chat/e8cd537d01d6a8b81fcee942598eb0610fa32539/message.txt > |
| 22:38:15 | × | Ariakenom quits (~Ariakenom@c83-255-154-140.bredband.tele2.se) (Quit: Leaving) |
| 22:38:51 | → | dunkeln joins (~dunkeln@94.129.65.28) |
| 22:39:11 | × | favonia quits (~favonia@user/favonia) (Ping timeout: 250 seconds) |
| 22:40:38 | × | finsternis quits (~X@23.226.237.192) (Ping timeout: 258 seconds) |
| 22:44:26 | × | dunkeln quits (~dunkeln@94.129.65.28) (Ping timeout: 272 seconds) |
| 22:45:31 | → | favonia joins (~favonia@user/favonia) |
| 22:49:52 | → | finsternis joins (~X@23.226.237.192) |
| 22:50:30 | × | amahl quits (~amahl@dsl-jklbng12-54fbca-64.dhcp.inet.fi) (Remote host closed the connection) |
| 22:51:16 | → | tromp joins (~textual@dhcp-077-249-230-040.chello.nl) |
| 23:01:17 | × | geekosaur quits (~geekosaur@xmonad/geekosaur) (Killed (NickServ (GHOST command used by allbery_b))) |
| 23:01:17 | → | allbery_b joins (~geekosaur@xmonad/geekosaur) |
| 23:01:30 | allbery_b | is now known as geekosaur |
| 23:02:50 | → | sleym joins (~sleym@23.81.181.4) |
| 23:04:35 | codolio | is now known as dolio |
| 23:05:11 | → | trent2 joins (~trent@2001:8003:340d:d00:b2de:b98:7a93:b0ea) |
| 23:07:14 | × | tromp quits (~textual@dhcp-077-249-230-040.chello.nl) (Quit: My iMac has gone to sleep. ZZZzzz…) |
| 23:11:34 | × | Scotty_Trees quits (~Scotty_Tr@162-234-179-169.lightspeed.brhmal.sbcglobal.net) (Quit: Leaving) |
| 23:11:38 | × | LukeHoersten quits (~LukeHoers@user/lukehoersten) (Quit: My MacBook has gone to sleep. ZZZzzz…) |
| 23:12:06 | → | LukeHoersten joins (~LukeHoers@user/lukehoersten) |
| 23:14:56 | → | fizbin joins (~fizbin@c-73-33-197-160.hsd1.nj.comcast.net) |
| 23:16:03 | → | Scotty_Trees joins (~Scotty_Tr@162-234-179-169.lightspeed.brhmal.sbcglobal.net) |
| 23:16:57 | × | tremon quits (~tremon@217-63-61-89.cable.dynamic.v4.ziggo.nl) (Quit: getting boxed in) |
| 23:19:33 | × | fizbin quits (~fizbin@c-73-33-197-160.hsd1.nj.comcast.net) (Ping timeout: 268 seconds) |
| 23:21:19 | × | zaquest quits (~notzaques@5.128.210.178) (Remote host closed the connection) |
| 23:22:59 | × | trent2 quits (~trent@2001:8003:340d:d00:b2de:b98:7a93:b0ea) (Quit: WeeChat 3.1) |
| 23:24:20 | × | machinedgod quits (~machinedg@24.105.81.50) (Ping timeout: 272 seconds) |
| 23:27:46 | → | ph88 joins (~ph88@2a02:8109:9e00:7e5c:c945:8dbe:9ded:42d1) |
| 23:29:19 | → | zaquest joins (~notzaques@5.128.210.178) |
| 23:29:46 | × | sleym quits (~sleym@23.81.181.4) (Quit: sleym) |
| 23:30:15 | × | gehmehgeh quits (~user@user/gehmehgeh) (Quit: Leaving) |
| 23:31:56 | × | acarrico quits (~acarrico@dhcp-68-142-39-249.greenmountainaccess.net) (Ping timeout: 272 seconds) |
| 23:32:17 | × | jao quits (~jao@cpc103048-sgyl39-2-0-cust502.18-2.cable.virginm.net) (Remote host closed the connection) |
| 23:32:57 | → | falafel joins (~falafel@pool-96-255-70-50.washdc.fios.verizon.net) |
| 23:32:58 | × | favonia quits (~favonia@user/favonia) (Ping timeout: 272 seconds) |
| 23:37:38 | × | falafel quits (~falafel@pool-96-255-70-50.washdc.fios.verizon.net) (Ping timeout: 272 seconds) |
| 23:38:30 | → | jao joins (~jao@cpc103048-sgyl39-2-0-cust502.18-2.cable.virginm.net) |
| 23:45:10 | × | forell quits (~forell@user/forell) (Ping timeout: 268 seconds) |
| 23:45:34 | → | lavaman joins (~lavaman@98.38.249.169) |
| 23:48:09 | × | Tuplanolla quits (~Tuplanoll@91-159-68-239.elisa-laajakaista.fi) (Quit: Leaving.) |
| 23:48:15 | → | forell joins (~forell@user/forell) |
| 23:48:52 | × | pottsy quits (~pottsy@2400:4050:b560:3700:e3f5:a20f:de4f:ab8e) (Quit: Leaving) |
| 23:50:09 | × | LukeHoersten quits (~LukeHoers@user/lukehoersten) (Read error: Connection timed out) |
| 23:54:05 | → | LukeHoersten joins (~LukeHoers@user/lukehoersten) |
| 23:54:29 | → | myShoggoth joins (~myShoggot@75.164.51.64) |
| 23:55:46 | → | warnz joins (~warnz@2600:1700:77c0:5610:eca1:bc9d:4345:931f) |
| 23:59:57 | → | nate1 joins (~nate@108-233-125-227.lightspeed.sntcca.sbcglobal.net) |
All times are in UTC on 2021-06-27.