Logs: freenode/#haskell
| 2021-04-27 20:56:31 | <aa111> | I got an idea, thank you for pointing me in right perspective |
| 2021-04-27 20:58:49 | × | kiweun quits (~kiweun@2607:fea8:2a62:9600:51c0:6989:ff0b:33af) (Ping timeout: 276 seconds) |
| 2021-04-27 20:59:12 | × | Lowl3v3l quits (~Lowl3v3l@dslb-002-207-103-026.002.207.pools.vodafone-ip.de) (Remote host closed the connection) |
| 2021-04-27 21:02:22 | × | michalz quits (~user@185.246.204.107) (Remote host closed the connection) |
| 2021-04-27 21:05:39 | × | hyperisco quits (~hyperisco@d192-186-117-226.static.comm.cgocable.net) (Ping timeout: 252 seconds) |
| 2021-04-27 21:06:11 | × | kav quits (~kari@dsl-hkibng42-56733f-225.dhcp.inet.fi) (Ping timeout: 240 seconds) |
| 2021-04-27 21:07:15 | × | aa111 quits (3e1d4484@62.29.68.132) (Quit: Connection closed) |
| 2021-04-27 21:07:53 | → | jpds joins (~jpds@gateway/tor-sasl/jpds) |
| 2021-04-27 21:08:13 | → | justsomeguy joins (~justsomeg@unaffiliated/--/x-3805311) |
| 2021-04-27 21:08:50 | × | fendor quits (~fendor@178.115.131.177.wireless.dyn.drei.com) (Read error: Connection reset by peer) |
| 2021-04-27 21:13:13 | → | fendor joins (~fendor@178.115.131.177.wireless.dyn.drei.com) |
| 2021-04-27 21:17:29 | × | knupfer quits (~Thunderbi@200116b82b9c4f00f9c2991c9c527ef0.dip.versatel-1u1.de) (Ping timeout: 245 seconds) |
| 2021-04-27 21:21:22 | → | tempate joins (~tempate@7.pool85-60-109.dynamic.orange.es) |
| 2021-04-27 21:21:23 | × | tempate quits (~tempate@7.pool85-60-109.dynamic.orange.es) (Changing host) |
| 2021-04-27 21:21:23 | → | tempate joins (~tempate@unaffiliated/tempate) |
| 2021-04-27 21:22:00 | × | 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-27 21:22:50 | <cheater> | any clues on libffi? |
| 2021-04-27 21:23:27 | × | bor0 quits (~boro@unaffiliated/boro/x-000000001) (Quit: Leaving) |
| 2021-04-27 21:23:30 | → | acidjnk_new2 joins (~acidjnk@p200300d0c72b9524d9e45372e00f3038.dip0.t-ipconnect.de) |
| 2021-04-27 21:24:48 | × | ram19890 quits (~ram@49.205.84.253) (Remote host closed the connection) |
| 2021-04-27 21:24:55 | × | SquidDev quits (~SquidDev@autoclave.squiddev.cc) (Ping timeout: 268 seconds) |
| 2021-04-27 21:25:06 | → | SquidDev joins (~SquidDev@autoclave.squiddev.cc) |
| 2021-04-27 21:25:14 | → | ram19890 joins (~ram@49.205.84.253) |
| 2021-04-27 21:26:13 | × | Qwerky quits (~qwerky@37.173.171.170) (Remote host closed the connection) |
| 2021-04-27 21:27:46 | × | jgt quits (~jgt@78.162.43.217) (Ping timeout: 260 seconds) |
| 2021-04-27 21:31:14 | → | mounty joins (~mounty@236.216.214.218.sta.wbroadband.net.au) |
| 2021-04-27 21:33:02 | → | kav joins (~kari@dsl-hkibng42-56733f-225.dhcp.inet.fi) |
| 2021-04-27 21:33:04 | → | mikoto-chan joins (~anass@213.177.155.250) |
| 2021-04-27 21:35:53 | × | DavidEichmann quits (~david@147.136.46.217.dyn.plus.net) (Remote host closed the connection) |
| 2021-04-27 21:37:53 | × | Guest8109 quits (~textual@mskresolve-a.mskcc.org) (Quit: My MacBook has gone to sleep. ZZZzzz…) |
| 2021-04-27 21:42:54 | × | ystael quits (~ystael@209.6.50.55) (Read error: Connection reset by peer) |
| 2021-04-27 21:43:18 | → | ystael joins (~ystael@209.6.50.55) |
| 2021-04-27 21:44:10 | → | notzmv joins (~zmv@unaffiliated/zmv) |
| 2021-04-27 21:45:08 | <cheater> | hmm my system's ghc comes with libffi.so.7 so i just symlinked it into path and i guess that works |
| 2021-04-27 21:45:21 | <cheater> | LD_PATH or whatever |
| 2021-04-27 21:45:31 | × | danvet quits (~Daniel@2a02:168:57f4:0:efd0:b9e5:5ae6:c2fa) (Ping timeout: 260 seconds) |
| 2021-04-27 21:45:44 | <cheater> | tomsmeding: could you check gitter when you're around :) |
| 2021-04-27 21:47:30 | × | mikoto-chan quits (~anass@213.177.155.250) (Quit: mikoto-chan) |
| 2021-04-27 21:47:47 | → | mikoto-chan joins (~anass@213.177.155.250) |
| 2021-04-27 21:48:55 | × | fendor quits (~fendor@178.115.131.177.wireless.dyn.drei.com) (Remote host closed the connection) |
| 2021-04-27 21:49:32 | × | mikoto-chan quits (~anass@213.177.155.250) (Client Quit) |
| 2021-04-27 21:50:58 | × | pbgc quits (~pbgc@a89-152-234-147.cpe.netcabo.pt) (Quit: Computer has gone to sleep.) |
| 2021-04-27 21:52:43 | <lechner> | Hi, I am a noobie who bit off too much. I would like to rewrite a Node.js website in Purescript but have some serious type confusion. any hinters would be appreciated. line 78 from the error is line 115 in the paste https://dpaste.org/T9bg |
| 2021-04-27 21:53:32 | × | zebrag quits (~inkbottle@aaubervilliers-654-1-79-166.w86-212.abo.wanadoo.fr) (Quit: Konversation terminated!) |
| 2021-04-27 21:54:19 | <lechner> | send returns HandlerM but the database query just before it messes everything up |
| 2021-04-27 21:54:37 | × | slack1256 quits (~slack1256@200-112-79-247.baf.movistar.cl) (Ping timeout: 252 seconds) |
| 2021-04-27 21:55:10 | <monochrom> | Is there a purescript channel so you can talk to better matching people? |
| 2021-04-27 21:55:45 | <monochrom> | Or is my favourite correlation true again? |
| 2021-04-27 21:56:42 | × | geekosaur quits (930099da@rrcs-147-0-153-218.central.biz.rr.com) (Quit: Connection closed) |
| 2021-04-27 21:57:04 | → | geekosaur joins (930099da@rrcs-147-0-153-218.central.biz.rr.com) |
| 2021-04-27 21:57:27 | <geekosaur> | I see 38 people and a logger in #purescript |
| 2021-04-27 21:58:12 | <lechner> | yes I am over there too, but it's a third-party module they do not know, and I have a Haskell problem. plus, it's for a good purpose :) |
| 2021-04-27 21:58:29 | <monochrom> | math channel : "I can't find accounting help on IRC" :: haskell channel : "I can't find purescript help on IRC" |
| 2021-04-27 21:59:13 | <lechner> | that's the first unfriendly response i have seen here, but thanks! |
| 2021-04-27 21:59:48 | <monochrom> | No, I am talking about a negative correlation between channel membership and job opportunities. |
| 2021-04-27 22:00:41 | → | Alleria joins (~textual@2603-7000-3040-0000-b547-c3a9-933c-ab1d.res6.spectrum.com) |
| 2021-04-27 22:00:54 | <Rembane> | lechner: That's not Haskell, that's Purescript. There is an excellent Purescript channel on the functional programming Slack. I recommend asking your question there instead. |
| 2021-04-27 22:01:06 | Alleria | is now known as Guest25703 |
| 2021-04-27 22:01:20 | × | zardoz2 quits (~bc8134e3@217.29.117.252) (Quit: http://www.okay.uz/ (Session timeout)) |
| 2021-04-27 22:02:16 | <lechner> | unfortunately, my browser does not support Slack but I'll ask on IRC |
| 2021-04-27 22:02:33 | <lechner> | monochrom: i see, sorry i am a volunteer myself |
| 2021-04-27 22:03:45 | <lechner> | to be honest, i was a bit embarrassed to ask elementary questions (if there is such a thing in haskell) over there |
| 2021-04-27 22:06:25 | <lechner> | if i were you folks, though, i would adopt PureScript as the ugly duckling. on a node server, which has been called the next PHP, the type safety it provides is a category killer hands down |
| 2021-04-27 22:07:20 | <monochrom> | But I don't use a node server. |
| 2021-04-27 22:07:21 | × | ddellaco_ quits (~ddellacos@ool-44c73afa.dyn.optonline.net) (Remote host closed the connection) |
| 2021-04-27 22:08:17 | <lechner> | your clients may but they can't refactor safely on any project with more tha 500 lines |
| 2021-04-27 22:09:13 | <c_wraith> | purescript is a different language with different semantics. |
| 2021-04-27 22:09:17 | → | kiweun joins (~kiweun@2607:fea8:2a62:9600:c1b6:8c92:c92d:e10a) |
| 2021-04-27 22:09:21 | <c_wraith> | Using it is more like using javascript than haskell |
| 2021-04-27 22:09:48 | <c_wraith> | (because you can never forget it is javascript underneath) |
| 2021-04-27 22:09:52 | <monochrom> | For now, I speak for my clients, too. |
| 2021-04-27 22:10:12 | <monochrom> | But I am not closed to future possibilities whatsoever. |
| 2021-04-27 22:10:16 | × | bitmapper quits (uid464869@gateway/web/irccloud.com/x-lwoslwzxzqzjzamu) (Quit: Connection closed for inactivity) |
| 2021-04-27 22:10:28 | <yushyin> | lechner: https://www.purescript.org/ see 'Community' down below |
| 2021-04-27 22:11:07 | × | dinciorip quits (~dincio@5.171.80.13) (Quit: WeeChat 3.1) |
| 2021-04-27 22:11:10 | → | pavonia joins (~user@unaffiliated/siracusa) |
| 2021-04-27 22:11:24 | <monochrom> | I don't think I can find the line of code that the error message refers to. |
| 2021-04-27 22:12:04 | <lechner> | monochrom: it's 115 but i got your message https://dpaste.org/T9bg#L115 |
| 2021-04-27 22:12:24 | × | dhil quits (~dhil@80.208.56.181) (Quit: Leaving) |
| 2021-04-27 22:12:50 | <monochrom> | The error message mentions "discard". I can't find "discard". |
| 2021-04-27 22:13:01 | × | nut quits (~user@roc37-h01-176-170-197-243.dsl.sta.abo.bbox.fr) (Ping timeout: 268 seconds) |
| 2021-04-27 22:13:44 | × | kiweun quits (~kiweun@2607:fea8:2a62:9600:c1b6:8c92:c92d:e10a) (Ping timeout: 245 seconds) |
| 2021-04-27 22:14:13 | <lechner> | i think that's the query result. it probably is too hard with a module you do not know https://pursuit.purescript.org/packages/purescript-postgresql-client/3.0.2 https://github.com/rightfold/purescript-postgresql-client |
| 2021-04-27 22:14:31 | <lechner> | there are too many types you are not familiar with. i get it |
| 2021-04-27 22:14:38 | <monochrom> | Well, I don't know how to bridge between HandlerM and ExceptT PGError Aff anyway. |
| 2021-04-27 22:14:45 | <lechner> | in fact, i have the same problem |
| 2021-04-27 22:15:01 | × | elfets quits (~elfets@ip-37-201-23-96.hsi13.unitymediagroup.de) (Ping timeout: 260 seconds) |
| 2021-04-27 22:15:09 | × | __monty__ quits (~toonn@unaffiliated/toonn) (Quit: leaving) |
| 2021-04-27 22:16:51 | <lechner> | no, the problem is that i added lines 111-114 that brought in the monad from line 64. without them everything works, except there is no SQL query :( |
| 2021-04-27 22:16:52 | × | stree quits (~stree@68.36.8.116) (Ping timeout: 240 seconds) |
| 2021-04-27 22:18:02 | <lechner> | i really should talk to the Purescript folks. i did not mean to impose and would rather preserve my goodwill here |
| 2021-04-27 22:18:23 | <monochrom> | Actually, is this simply a matter of doing your "send" outside "withConnection"? |
| 2021-04-27 22:18:47 | <lechner> | i think so |
| 2021-04-27 22:19:03 | <monochrom> | Or outside "withTransaction", I don't know which. |
| 2021-04-27 22:21:02 | <lechner> | i can scrap the transaction for now. the idea came from here (one page down) https://github.com/rightfold/purescript-postgresql-client#usage |
| 2021-04-27 22:21:10 | × | malumore_ quits (~malumore@151.62.126.111) (Remote host closed the connection) |
| 2021-04-27 22:21:23 | → | malumore_ joins (~malumore@151.62.126.111) |
| 2021-04-27 22:21:30 | → | zebrag joins (~inkbottle@aaubervilliers-654-1-79-166.w86-212.abo.wanadoo.fr) |
| 2021-04-27 22:21:45 | <lechner> | the other issue with #purescript was that server-side Purescript is officialy not supported, but i think that's the big future for them |
| 2021-04-27 22:23:06 | <monochrom> | Indeed I would think that updating or outputting a web page shouldn't happen until after a DB transaction finishes (so you know it is a success and you are not in the middle of possible retries, rollbacks, race conditions. |
All times are in UTC.