Logs: freenode/#haskell
| 2021-04-28 21:27:02 | × | nek0 quits (~nek0@mail.nek0.eu) (Remote host closed the connection) |
| 2021-04-28 21:30:24 | → | nek0 joins (~nek0@mail.nek0.eu) |
| 2021-04-28 21:30:42 | → | ddellacosta joins (ddellacost@gateway/vpn/mullvad/ddellacosta) |
| 2021-04-28 21:31:33 | × | nek0 quits (~nek0@mail.nek0.eu) (Client Quit) |
| 2021-04-28 21:31:55 | × | ddellaco_ quits (~ddellacos@ool-44c73afa.dyn.optonline.net) (Remote host closed the connection) |
| 2021-04-28 21:32:14 | → | royal_screwup21 joins (52254809@gateway/web/cgi-irc/kiwiirc.com/ip.82.37.72.9) |
| 2021-04-28 21:33:39 | × | Pickchea quits (~private@unaffiliated/pickchea) (Quit: Leaving) |
| 2021-04-28 21:33:49 | → | nek0 joins (~nek0@mail.nek0.eu) |
| 2021-04-28 21:34:15 | × | solidus-river quits (~mike@174.127.249.180) (Remote host closed the connection) |
| 2021-04-28 21:34:38 | → | ddellaco_ joins (~ddellacos@ool-44c73afa.dyn.optonline.net) |
| 2021-04-28 21:37:08 | → | mounty joins (~mounty@236.216.214.218.sta.wbroadband.net.au) |
| 2021-04-28 21:38:33 | × | Guest16145 quits (~textual@zrcout.mskcc.org) (Ping timeout: 252 seconds) |
| 2021-04-28 21:38:52 | × | danvet quits (~Daniel@2a02:168:57f4:0:efd0:b9e5:5ae6:c2fa) (Ping timeout: 276 seconds) |
| 2021-04-28 21:39:06 | → | gienah_ joins (~mwright@119-18-0-183.771200.syd.nbn.aussiebb.net) |
| 2021-04-28 21:39:21 | → | Guest6509 joins (~laudiacay@45.162.228.190) |
| 2021-04-28 21:41:58 | × | gienah quits (~mwright@gentoo/developer/gienah) (Ping timeout: 240 seconds) |
| 2021-04-28 21:42:09 | × | ukari quits (~ukari@unaffiliated/ukari) (Remote host closed the connection) |
| 2021-04-28 21:43:07 | → | ukari joins (~ukari@unaffiliated/ukari) |
| 2021-04-28 21:45:51 | → | gienah joins (~mwright@gentoo/developer/gienah) |
| 2021-04-28 21:45:54 | × | ddellaco_ quits (~ddellacos@ool-44c73afa.dyn.optonline.net) (Remote host closed the connection) |
| 2021-04-28 21:49:06 | × | gienah_ quits (~mwright@119-18-0-183.771200.syd.nbn.aussiebb.net) (Ping timeout: 265 seconds) |
| 2021-04-28 21:49:53 | × | geekosaur quits (930099da@rrcs-147-0-153-218.central.biz.rr.com) (Quit: Connection closed) |
| 2021-04-28 21:51:37 | → | geekosaur joins (930099da@rrcs-147-0-153-218.central.biz.rr.com) |
| 2021-04-28 21:54:21 | <__minoru__shirae> | tributarian: what do you mean by "I am trying to understand the Haskell database ecosystem." ? are you trying to find out if people implement databases in haskell, or simply use databases with haskell drivers? |
| 2021-04-28 21:56:02 | <__minoru__shirae> | the case you described looks like a matter of interfacing with a database using a driver |
| 2021-04-28 21:56:06 | <tributarian> | __minoru__shirae: I am trying to understand how to use databases with Haskell drivers. |
| 2021-04-28 22:00:20 | <__minoru__shirae> | not sure what "handling the split" means in this context |
| 2021-04-28 22:00:32 | × | deviantfero quits (~deviantfe@190.150.27.58) (Quit: WeeChat 3.1) |
| 2021-04-28 22:01:16 | × | elfets quits (~elfets@ip-37-201-23-96.hsi13.unitymediagroup.de) (Ping timeout: 260 seconds) |
| 2021-04-28 22:01:25 | → | ddellaco_ joins (~ddellacos@ool-44c73afa.dyn.optonline.net) |
| 2021-04-28 22:01:38 | <tributarian> | __minoru__shirae: In this case I mean sending some queries to the primary DB node and others to the replica (such as read intensive or long running queries). |
| 2021-04-28 22:02:30 | <tributarian> | __minoru__shirae: Some of the ORMs I have used in other languages handle sending queries to the replica automatically. |
| 2021-04-28 22:02:52 | <__minoru__shirae> | what ORMs do that? |
| 2021-04-28 22:06:01 | × | ddellaco_ quits (~ddellacos@ool-44c73afa.dyn.optonline.net) (Ping timeout: 265 seconds) |
| 2021-04-28 22:08:18 | <tributarian> | __minoru__shirae: Two examples that come to mind are Django (Python) and MikroORM (Typescript). |
| 2021-04-28 22:09:00 | <sclv> | well haskell doesn't even really have orms |
| 2021-04-28 22:09:10 | <sclv> | orms don't fit well into a language that doesn't have objects |
| 2021-04-28 22:09:40 | <tributarian> | sclv: That is what I am gathering from what I have read. I just wanted to make sure I was understanding correctly. |
| 2021-04-28 22:09:51 | <sclv> | so yes, you would tend to manage connections explicitly afaik and i don't know of anything that handles that particular pattern for you |
| 2021-04-28 22:10:35 | <sclv> | fancy haskell db libs tend towards more construction of well typed queries, not mapping db rows precisely and bidirectionally to "objects" |
| 2021-04-28 22:10:43 | → | Alleria joins (~textual@2603-7000-3040-0000-057f-238e-9cc1-6931.res6.spectrum.com) |
| 2021-04-28 22:11:08 | Alleria | is now known as Guest21568 |
| 2021-04-28 22:11:12 | × | nicholasbulka quits (~nicholasb@2601:900:4301:da0:b0db:882b:fd7b:c02e) (Remote host closed the connection) |
| 2021-04-28 22:11:24 | <tributarian> | sclv: Understood. I was getting thrown off by references to beam as being an ORM. |
| 2021-04-28 22:11:43 | <sclv> | ormish things are paradigmatically about mutable state, and extending mutable state in an app to being outside an app too. just not a haskelly way of thinking about things |
| 2021-04-28 22:11:49 | <sclv> | ok, sure. idk much about beam tbqh |
| 2021-04-28 22:11:55 | → | nicholasbulka joins (~nicholasb@2601:900:4301:da0:f09e:8831:6f30:999f) |
| 2021-04-28 22:12:21 | → | Rudd0 joins (~Rudd0@185.189.115.103) |
| 2021-04-28 22:12:31 | <tributarian> | Thanks for the help. |
| 2021-04-28 22:12:53 | × | gehmehgeh quits (~ircuser1@gateway/tor-sasl/gehmehgeh) (Quit: Leaving) |
| 2021-04-28 22:13:40 | <tributarian> | I definitely have a ways to go in terms of thinking of things in a Haskelly way. |
| 2021-04-28 22:14:39 | × | __monty__ quits (~toonn@unaffiliated/toonn) (Quit: leaving) |
| 2021-04-28 22:15:12 | <__minoru__shirae> | I think the issue boils down to a question about whether the db url is global in the app or not |
| 2021-04-28 22:15:14 | × | dpl quits (~dpl@77-121-78-163.chn.volia.net) (Read error: Connection reset by peer) |
| 2021-04-28 22:15:46 | <__minoru__shirae> | if the db url is not global, you can manually create several connections and decide which query goes to what url |
| 2021-04-28 22:16:11 | <__minoru__shirae> | just stating the obvious here |
| 2021-04-28 22:16:17 | × | nicholasbulka quits (~nicholasb@2601:900:4301:da0:f09e:8831:6f30:999f) (Ping timeout: 250 seconds) |
| 2021-04-28 22:17:18 | <__minoru__shirae> | to clarify: I mean whether the library allows having several db urls at the same time or not |
| 2021-04-28 22:18:40 | <tributarian> | __minoru__shirae: Right, in this case, the library just takes a connection as an argument. You would just need to determine prior to calling it which connection you wanted to pass. |
| 2021-04-28 22:18:59 | × | LKoen_ quits (~LKoen@22.249.88.92.rev.sfr.net) (Quit: “It’s only logical. First you learn to talk, then you learn to think. Too bad it’s not the other way round.”) |
| 2021-04-28 22:24:46 | → | fendor_ joins (~fendor@77.119.129.46.wireless.dyn.drei.com) |
| 2021-04-28 22:25:40 | × | Guest78265 quits (~alexander@2a02:587:dc0a:2700:39fb:67a3:1f47:16d) (Ping timeout: 276 seconds) |
| 2021-04-28 22:27:31 | × | fendor quits (~fendor@178.165.130.176.wireless.dyn.drei.com) (Ping timeout: 252 seconds) |
| 2021-04-28 22:28:15 | × | Gurkenglas quits (~Gurkengla@unaffiliated/gurkenglas) (Ping timeout: 265 seconds) |
| 2021-04-28 22:32:51 | × | RusAlex quits (~Chel@unaffiliated/rusalex) (Ping timeout: 248 seconds) |
| 2021-04-28 22:34:44 | × | Tuplanolla quits (~Tuplanoll@91-159-68-239.elisa-laajakaista.fi) (Quit: Leaving.) |
| 2021-04-28 22:36:13 | × | justanotheruser quits (~justanoth@unaffiliated/justanotheruser) (Ping timeout: 250 seconds) |
| 2021-04-28 22:37:00 | → | erisco joins (~erisco@d24-57-249-233.home.cgocable.net) |
| 2021-04-28 22:38:13 | × | stree quits (~stree@68.36.8.116) (Ping timeout: 268 seconds) |
| 2021-04-28 22:39:33 | <srid> | New static site generator in the block https://ema.srid.ca/ |
| 2021-04-28 22:39:48 | → | RusAlex joins (~Chel@unaffiliated/rusalex) |
| 2021-04-28 22:40:43 | × | Synthetica quits (uid199651@gateway/web/irccloud.com/x-cfmrpzrshmxdqile) (Quit: Connection closed for inactivity) |
| 2021-04-28 22:41:26 | × | usr25 quits (~usr25@unaffiliated/usr25) (Ping timeout: 240 seconds) |
| 2021-04-28 22:41:55 | × | acidjnk_new2 quits (~acidjnk@p200300d0c72b9548280dd1e5a205767a.dip0.t-ipconnect.de) (Ping timeout: 276 seconds) |
| 2021-04-28 22:44:17 | → | nicholasbulka joins (~nicholasb@2601:900:4301:da0:f09e:8831:6f30:999f) |
| 2021-04-28 22:45:00 | → | epicte7us joins (~epictetus@ip72-194-54-201.sb.sd.cox.net) |
| 2021-04-28 22:45:30 | → | merijn joins (~merijn@83-160-49-249.ip.xs4all.nl) |
| 2021-04-28 22:48:25 | × | ep1ctetus quits (~epictetus@ip72-194-54-201.sb.sd.cox.net) (Ping timeout: 252 seconds) |
| 2021-04-28 22:49:04 | × | Qwerky quits (~qwerky@37.165.107.63) (Remote host closed the connection) |
| 2021-04-28 22:49:04 | × | nicholasbulka quits (~nicholasb@2601:900:4301:da0:f09e:8831:6f30:999f) (Ping timeout: 276 seconds) |
| 2021-04-28 22:49:56 | × | chimera quits (~chimera@168-182-134-95.pool.ukrtel.net) (Quit: Konversation terminated!) |
| 2021-04-28 22:50:53 | → | stree joins (~stree@68.36.8.116) |
| 2021-04-28 22:51:01 | → | gnumonic joins (~gnumonic@c-73-170-91-210.hsd1.ca.comcast.net) |
| 2021-04-28 22:53:11 | × | erisco quits (~erisco@d24-57-249-233.home.cgocable.net) (Ping timeout: 240 seconds) |
| 2021-04-28 22:53:24 | <gnumonic> | Hello Haskell IRC. Quick question: If I have a record type with a bang, e.g. data SomeRec = SomeRec {myRec :: ![SomeList]}, does the bang force the list to whnf or does it just require that the list exist? |
| 2021-04-28 22:53:55 | × | jgt_ quits (~jgt@88.225.221.135) (Ping timeout: 252 seconds) |
| 2021-04-28 22:56:28 | × | ddellacosta quits (ddellacost@gateway/vpn/mullvad/ddellacosta) (Remote host closed the connection) |
| 2021-04-28 22:56:56 | → | ddellacosta joins (ddellacost@gateway/vpn/mullvad/ddellacosta) |
| 2021-04-28 22:58:45 | × | letmein quits (~letmein@2601:1c1:4200:938f:f8bf:6a67:4eed:b2c1) (Ping timeout: 250 seconds) |
| 2021-04-28 23:00:29 | → | ddellaco_ joins (~ddellacos@ool-44c73afa.dyn.optonline.net) |
| 2021-04-28 23:01:11 | × | ddellacosta quits (ddellacost@gateway/vpn/mullvad/ddellacosta) (Ping timeout: 240 seconds) |
| 2021-04-28 23:04:32 | × | ddellaco_ quits (~ddellacos@ool-44c73afa.dyn.optonline.net) (Ping timeout: 240 seconds) |
| 2021-04-28 23:04:34 | × | shutdown_-h_now quits (~arjan@2001:1c06:2d0b:2312:6cde:4ab2:7d84:5b06) (Ping timeout: 245 seconds) |
| 2021-04-28 23:06:24 | <geekosaur> | only to exist; it doesn't force the list's spine, only the first constructor |
| 2021-04-28 23:08:28 | → | ddellacosta joins (~ddellacos@ool-44c73afa.dyn.optonline.net) |
| 2021-04-28 23:08:29 | → | Qwerky joins (~qwerky@37.165.107.63) |
| 2021-04-28 23:08:35 | × | ddellacosta quits (~ddellacos@ool-44c73afa.dyn.optonline.net) (Remote host closed the connection) |
| 2021-04-28 23:09:11 | → | ddellaco_ joins (~ddellacos@ool-44c73afa.dyn.optonline.net) |
| 2021-04-28 23:12:27 | → | ddellac__ joins (ddellacost@gateway/vpn/mullvad/ddellacosta) |
| 2021-04-28 23:13:41 | × | Qwerky quits (~qwerky@37.165.107.63) (Ping timeout: 265 seconds) |
All times are in UTC.