Logs on 2023-01-21 (liberachat/#haskell)
| 00:13:10 | × | fizbin quits (~fizbin@user/fizbin) (Ping timeout: 260 seconds) |
| 00:17:12 | × | sammelweis quits (~quassel@2601:401:8200:2d4c:bd9:d04c:7f69:eb10) (Quit: No Ping reply in 180 seconds.) |
| 00:18:02 | × | jinsun quits (~jinsun@user/jinsun) (Read error: Connection reset by peer) |
| 00:18:17 | → | jinsun joins (~jinsun@user/jinsun) |
| 00:19:06 | → | bgs joins (~bgs@212-85-160-171.dynamic.telemach.net) |
| 00:19:25 | → | freeside joins (~mengwong@bb115-66-48-84.singnet.com.sg) |
| 00:19:29 | → | sammelweis joins (~quassel@2601:401:8200:2d4c:bd9:d04c:7f69:eb10) |
| 00:20:48 | × | jinsun quits (~jinsun@user/jinsun) (Read error: Connection reset by peer) |
| 00:21:04 | → | jinsun joins (~jinsun@user/jinsun) |
| 00:23:48 | × | freeside quits (~mengwong@bb115-66-48-84.singnet.com.sg) (Ping timeout: 256 seconds) |
| 00:35:01 | → | beteigeuze joins (~Thunderbi@bl14-81-220.dsl.telepac.pt) |
| 00:36:13 | × | matijja quits (~matijja@193.77.181.201) (Quit: ZNC 1.8.2 - https://znc.in) |
| 00:37:12 | → | matijja joins (~matijja@193.77.181.201) |
| 00:41:10 | → | freeside joins (~mengwong@bb115-66-48-84.singnet.com.sg) |
| 00:42:33 | → | fizbin joins (~fizbin@user/fizbin) |
| 00:43:59 | → | raehik joins (~raehik@cpc95906-rdng25-2-0-cust156.15-3.cable.virginm.net) |
| 00:44:07 | × | thegeekinside quits (~thegeekin@189.217.82.244) (Remote host closed the connection) |
| 00:46:04 | × | freeside quits (~mengwong@bb115-66-48-84.singnet.com.sg) (Ping timeout: 260 seconds) |
| 00:47:18 | → | merijn joins (~merijn@c-001-001-014.client.esciencecenter.eduvpn.nl) |
| 00:53:42 | × | fizbin quits (~fizbin@user/fizbin) (Remote host closed the connection) |
| 00:54:03 | → | fizbin joins (~fizbin@user/fizbin) |
| 00:57:10 | × | use-value quits (~Thunderbi@2a00:23c6:8a03:2f01:75c2:a71f:beaa:29bf) (Remote host closed the connection) |
| 00:57:29 | → | use-value joins (~Thunderbi@2a00:23c6:8a03:2f01:75c2:a71f:beaa:29bf) |
| 01:01:42 | × | fizbin quits (~fizbin@user/fizbin) (Ping timeout: 272 seconds) |
| 01:01:48 | × | califax quits (~califax@user/califx) (Remote host closed the connection) |
| 01:03:22 | → | califax joins (~califax@user/califx) |
| 01:09:26 | → | unit73e joins (~emanuel@2001:818:e8dd:7c00:656:e5ff:fe72:9d36) |
| 01:09:31 | × | tremon quits (~tremon@83-85-213-108.cable.dynamic.v4.ziggo.nl) (Quit: getting boxed in) |
| 01:09:33 | <unit73e> | hello |
| 01:10:00 | <geekosaur> | hello |
| 01:10:16 | → | king_gs joins (~Thunderbi@187.201.131.190) |
| 01:10:22 | <unit73e> | I came up with an excelent idea. in order to distinguish the best devs, you get them drunk and make them code |
| 01:10:34 | <unit73e> | if the code is still good, they're good developers |
| 01:10:36 | <unit73e> | thoughts? |
| 01:10:59 | → | fizbin joins (~fizbin@user/fizbin) |
| 01:11:37 | × | king_gs quits (~Thunderbi@187.201.131.190) (Client Quit) |
| 01:11:47 | <unit73e> | unfortunately only devs would get the drunk dev contest |
| 01:12:29 | <geekosaur> | cue "Ballmer peak" |
| 01:12:38 | <unit73e> | kek yup |
| 01:13:04 | <hpc> | it's a very narrow peak |
| 01:13:27 | → | wroathe joins (~wroathe@207-153-38-140.fttp.usinternet.com) |
| 01:13:27 | × | wroathe quits (~wroathe@207-153-38-140.fttp.usinternet.com) (Changing host) |
| 01:13:27 | → | wroathe joins (~wroathe@user/wroathe) |
| 01:13:27 | <unit73e> | that's why it's a cool competition, you need to get just the right amoung of drunk |
| 01:14:10 | <unit73e> | unironically I think it would work in interviews |
| 01:16:01 | × | hsw quits (~hsw@2001-b030-2303-0104-0172-0025-0012-0132.hinet-ip6.hinet.net) (Quit: Leaving) |
| 01:20:28 | × | merijn quits (~merijn@c-001-001-014.client.esciencecenter.eduvpn.nl) (Ping timeout: 256 seconds) |
| 01:22:14 | × | slaydr quits (~slaydr@97-120-75-64.ptld.qwest.net) (Quit: Leaving) |
| 01:24:34 | × | raehik quits (~raehik@cpc95906-rdng25-2-0-cust156.15-3.cable.virginm.net) (Ping timeout: 260 seconds) |
| 01:29:17 | <energizer> | seems like it's just adding a disturbance to the measurement. why not make them code under normal conditions instead |
| 01:30:50 | × | Tuplanolla quits (~Tuplanoll@91-159-68-152.elisa-laajakaista.fi) (Ping timeout: 272 seconds) |
| 01:31:13 | × | pretty_dumm_guy quits (trottel@gateway/vpn/protonvpn/prettydummguy/x-88029655) (Quit: WeeChat 3.5) |
| 01:31:31 | → | troglodito joins (~cave@2a00:d880:3:1::85b7:69dc) |
| 01:31:42 | ← | troglodito parts (~cave@2a00:d880:3:1::85b7:69dc) () |
| 01:33:13 | <geekosaur> | not sure I want to meet the Gallegher Plus (Robots Have No Tails) of coding |
| 01:33:53 | <c_wraith> | I've written an entire Haskell library while drunk. |
| 01:34:06 | <c_wraith> | .... I did write the tests before going out that night. |
| 01:34:23 | <unit73e> | hehe I'm not being totally serious, but sometimes interviewers can fool you, but when drunk you will show your actual experience |
| 01:34:57 | <boxscape_> | you might accidentally test for ability to pretend drinking alcohol |
| 01:35:25 | × | Square quits (~a@user/square) (Ping timeout: 260 seconds) |
| 01:36:02 | <unit73e> | haskell is an excellent programming language for the drunk competition |
| 01:37:43 | → | ensyde joins (~ensyde@104-62-224-96.lightspeed.chrlnc.sbcglobal.net) |
| 01:37:56 | <unit73e> | having said that, I actually got lucky with my team, they're all good, and it's a multi-cultural team |
| 01:53:18 | × | OscarZ quits (~oscarz@95.175.104.39) (Ping timeout: 268 seconds) |
| 01:55:14 | → | Square joins (~a@user/square) |
| 01:58:04 | × | Maxdamantus quits (~Maxdamant@user/maxdamantus) (Ping timeout: 272 seconds) |
| 02:05:14 | × | beteigeuze quits (~Thunderbi@bl14-81-220.dsl.telepac.pt) (Ping timeout: 256 seconds) |
| 02:07:32 | × | machinedgod quits (~machinedg@d198-53-218-113.abhsia.telus.net) (Quit: leaving) |
| 02:08:33 | → | freeside joins (~mengwong@bb115-66-48-84.singnet.com.sg) |
| 02:08:50 | → | machinedgod joins (~machinedg@d198-53-218-113.abhsia.telus.net) |
| 02:12:59 | × | freeside quits (~mengwong@bb115-66-48-84.singnet.com.sg) (Ping timeout: 260 seconds) |
| 02:13:34 | × | machinedgod quits (~machinedg@d198-53-218-113.abhsia.telus.net) (Ping timeout: 260 seconds) |
| 02:15:08 | → | werneta joins (~werneta@70-142-214-115.lightspeed.irvnca.sbcglobal.net) |
| 02:18:13 | → | merijn joins (~merijn@c-001-001-014.client.esciencecenter.eduvpn.nl) |
| 02:18:20 | × | fizbin quits (~fizbin@user/fizbin) (Ping timeout: 272 seconds) |
| 02:24:08 | × | oldfashionedcow quits (~Rahul_San@user/oldfashionedcow) (Ping timeout: 268 seconds) |
| 02:31:45 | → | megeve joins (uid523379@id-523379.hampstead.irccloud.com) |
| 02:33:17 | → | oldfashionedcow joins (~Rahul_San@user/oldfashionedcow) |
| 02:37:32 | × | unit73e quits (~emanuel@2001:818:e8dd:7c00:656:e5ff:fe72:9d36) (Ping timeout: 256 seconds) |
| 02:37:53 | × | sammelweis quits (~quassel@2601:401:8200:2d4c:bd9:d04c:7f69:eb10) (Quit: No Ping reply in 180 seconds.) |
| 02:39:10 | → | sammelweis joins (~quassel@2601:401:8200:2d4c:bd9:d04c:7f69:eb10) |
| 02:40:50 | → | razetime joins (~Thunderbi@117.193.6.2) |
| 02:42:08 | → | eggplantade joins (~Eggplanta@2600:1700:38c5:d800:71a5:b1e9:85a5:f360) |
| 02:45:31 | → | slack1256 joins (~slack1256@186.11.45.40) |
| 02:46:26 | × | eggplantade quits (~Eggplanta@2600:1700:38c5:d800:71a5:b1e9:85a5:f360) (Ping timeout: 255 seconds) |
| 02:46:35 | × | boxscape_ quits (~boxscape_@81.191.27.107) (Ping timeout: 260 seconds) |
| 02:51:53 | × | merijn quits (~merijn@c-001-001-014.client.esciencecenter.eduvpn.nl) (Ping timeout: 268 seconds) |
| 02:54:48 | → | Maxdamantus joins (~Maxdamant@user/maxdamantus) |
| 03:00:12 | × | barzo quits (~hd@31.223.41.44) (Ping timeout: 256 seconds) |
| 03:00:24 | → | freeside joins (~mengwong@bb115-66-48-84.singnet.com.sg) |
| 03:03:00 | → | merijn joins (~merijn@c-001-001-014.client.esciencecenter.eduvpn.nl) |
| 03:05:12 | × | freeside quits (~mengwong@bb115-66-48-84.singnet.com.sg) (Ping timeout: 272 seconds) |
| 03:07:49 | × | merijn quits (~merijn@c-001-001-014.client.esciencecenter.eduvpn.nl) (Ping timeout: 260 seconds) |
| 03:14:28 | → | eggplantade joins (~Eggplanta@2600:1700:38c5:d800:71a5:b1e9:85a5:f360) |
| 03:18:24 | → | merijn joins (~merijn@c-001-001-014.client.esciencecenter.eduvpn.nl) |
| 03:21:34 | → | sagax joins (~sagax_nb@user/sagax) |
| 03:22:22 | × | jero98772 quits (~jero98772@2800:484:1d80:d8ce:3490:26c5:1782:da8c) (Remote host closed the connection) |
| 03:23:57 | × | merijn quits (~merijn@c-001-001-014.client.esciencecenter.eduvpn.nl) (Ping timeout: 268 seconds) |
| 03:25:28 | → | freeside joins (~mengwong@bb115-66-48-84.singnet.com.sg) |
| 03:29:25 | × | [itchyjunk] quits (~itchyjunk@user/itchyjunk/x-7353470) (Read error: Connection reset by peer) |
| 03:31:10 | × | ensyde quits (~ensyde@104-62-224-96.lightspeed.chrlnc.sbcglobal.net) (Ping timeout: 272 seconds) |
| 03:33:38 | × | freeside quits (~mengwong@bb115-66-48-84.singnet.com.sg) (Ping timeout: 256 seconds) |
| 03:34:12 | → | merijn joins (~merijn@c-001-001-014.client.esciencecenter.eduvpn.nl) |
| 03:36:32 | × | pavonia quits (~user@user/siracusa) (Quit: Bye!) |
| 03:39:24 | × | merijn quits (~merijn@c-001-001-014.client.esciencecenter.eduvpn.nl) (Ping timeout: 272 seconds) |
| 03:42:38 | × | terrorjack quits (~terrorjac@2a01:4f8:1c1e:4e8c::) (Quit: The Lounge - https://thelounge.chat) |
| 03:44:11 | → | terrorjack joins (~terrorjac@2a01:4f8:1c1e:4e8c::) |
| 03:50:39 | → | merijn joins (~merijn@c-001-001-014.client.esciencecenter.eduvpn.nl) |
| 03:51:37 | → | anderson_ joins (~ande@76.202.115.164) |
| 03:51:47 | × | FinnElija quits (~finn_elij@user/finn-elija/x-0085643) (Ping timeout: 255 seconds) |
| 03:52:19 | × | td_ quits (~td@83.135.9.28) (Ping timeout: 252 seconds) |
| 03:54:09 | → | td_ joins (~td@83.135.9.44) |
| 03:55:13 | × | anderson_ quits (~ande@76.202.115.164) (Remote host closed the connection) |
| 03:56:18 | × | wroathe quits (~wroathe@user/wroathe) (Ping timeout: 256 seconds) |
| 03:59:58 | → | jinsun__ joins (~jinsun@user/jinsun) |
| 03:59:58 | × | jinsun quits (~jinsun@user/jinsun) (Killed (tantalum.libera.chat (Nickname regained by services))) |
| 03:59:58 | jinsun__ | is now known as jinsun |
| 04:01:58 | × | [Leary] quits (~Leary]@user/Leary/x-0910699) (Remote host closed the connection) |
| 04:02:19 | → | [Leary] joins (~Leary]@user/Leary/x-0910699) |
| 04:02:44 | × | jinsun quits (~jinsun@user/jinsun) (Read error: Connection reset by peer) |
| 04:02:46 | → | jinsun__ joins (~jinsun@user/jinsun) |
| 04:02:46 | jinsun__ | is now known as jinsun |
| 04:12:02 | × | bgs quits (~bgs@212-85-160-171.dynamic.telemach.net) (Remote host closed the connection) |
| 04:14:15 | → | FinnElija joins (~finn_elij@user/finn-elija/x-0085643) |
| 04:14:43 | → | ensyde joins (~ensyde@104-62-224-96.lightspeed.chrlnc.sbcglobal.net) |
| 04:22:49 | → | wroathe joins (~wroathe@207-153-38-140.fttp.usinternet.com) |
| 04:22:49 | × | wroathe quits (~wroathe@207-153-38-140.fttp.usinternet.com) (Changing host) |
| 04:22:49 | → | wroathe joins (~wroathe@user/wroathe) |
| 04:24:14 | × | merijn quits (~merijn@c-001-001-014.client.esciencecenter.eduvpn.nl) (Ping timeout: 260 seconds) |
| 04:29:26 | × | texasmynsted quits (~texasmyns@99.96.221.112) (Ping timeout: 272 seconds) |
| 04:31:30 | → | freeside joins (~mengwong@122.11.212.158) |
| 04:39:24 | × | rekahsoft quits (~rekahsoft@bras-base-orllon1122w-grc-07-174-95-68-39.dsl.bell.ca) (Ping timeout: 260 seconds) |
| 04:39:28 | → | cheater_ joins (~Username@user/cheater) |
| 04:39:43 | × | freeside quits (~mengwong@122.11.212.158) (Read error: Connection reset by peer) |
| 04:42:32 | × | cheater quits (~Username@user/cheater) (Ping timeout: 265 seconds) |
| 04:42:34 | cheater_ | is now known as cheater |
| 04:46:00 | × | micro quits (~micro@user/micro) (Quit: Lost terminal) |
| 04:50:19 | → | micro joins (~micro@user/micro) |
| 04:50:57 | → | troydm joins (~troydm@user/troydm) |
| 04:51:08 | × | FinnElija quits (~finn_elij@user/finn-elija/x-0085643) (Remote host closed the connection) |
| 04:51:20 | × | waleee quits (~waleee@2001:9b0:213:7200:cc36:a556:b1e8:b340) (Ping timeout: 246 seconds) |
| 04:52:08 | → | FinnElija joins (~finn_elij@user/finn-elija/x-0085643) |
| 04:58:16 | <maerwald[m]> | Interviews especially in Haskell are usually a terrible session of useless riddles to make the interviewer feel smart and cover their complete lack of knowledge on how to select candidates |
| 05:00:14 | <dsal> | That's unfortunate. I'd expect more "can you write code that takes this input and tells us this stuff?" |
| 05:04:53 | → | talismanick joins (~talismani@2601:200:c181:4c40::1be2) |
| 05:05:14 | <EvanR> | I had some guys ask me about how to implement a text editor |
| 05:05:18 | → | n0den1te joins (~n0den1te@223.178.83.117) |
| 05:05:27 | <EvanR> | efficiently |
| 05:06:12 | <EvanR> | I didn't think to ask them if they knew |
| 05:09:01 | × | slack1256 quits (~slack1256@186.11.45.40) (Remote host closed the connection) |
| 05:09:16 | → | slack1256 joins (~slack1256@186.11.45.40) |
| 05:09:52 | <dsal> | I had that interview at Google. Pretty far from things I know how to do. |
| 05:11:20 | × | n0den1te quits (~n0den1te@223.178.83.117) (Quit: leaving) |
| 05:12:04 | <slack1256> | How do you get an interview at google? I guess linkedin is not one of them. |
| 05:12:40 | <dsal> | Probably not the best time to interview at Google. |
| 05:15:16 | <EvanR> | dang, I hate to hear google never found anyone to work on their text editor |
| 05:15:23 | <EvanR> | that they are working on |
| 05:15:27 | <EvanR> | for some reason |
| 05:16:43 | × | sammelweis quits (~quassel@2601:401:8200:2d4c:bd9:d04c:7f69:eb10) (Quit: No Ping reply in 180 seconds.) |
| 05:17:15 | <dsal> | haha |
| 05:17:41 | <dsal> | There was at least one internal text editor I used occasionally, but it'd mostly been replaced last I saw. |
| 05:17:50 | → | sammelweis joins (~quassel@2601:401:8200:2d4c:bd9:d04c:7f69:eb10) |
| 05:19:27 | <energizer> | Xi editor was briefly at google https://xi-editor.io/docs/rope_science_00.html |
| 05:19:46 | <energizer> | and had that very cool series of posts on implementation |
| 05:23:38 | → | jinsun__ joins (~jinsun@user/jinsun) |
| 05:23:38 | jinsun | is now known as Guest4573 |
| 05:23:38 | jinsun__ | is now known as jinsun |
| 05:23:43 | × | johnw quits (~johnw@2600:1700:cf00:db0:dc38:4854:743c:eb7e) (Quit: ZNC - http://znc.in) |
| 05:26:38 | × | Guest4573 quits (~jinsun@user/jinsun) (Ping timeout: 255 seconds) |
| 05:39:02 | → | jinsun__ joins (~jinsun@user/jinsun) |
| 05:39:02 | × | jinsun quits (~jinsun@user/jinsun) (Killed (silver.libera.chat (Nickname regained by services))) |
| 05:39:02 | jinsun__ | is now known as jinsun |
| 05:42:10 | → | merijn joins (~merijn@c-001-001-014.client.esciencecenter.eduvpn.nl) |
| 05:44:16 | <Axman6> | I'vew wanted a rope like structor for arrays for a while, but just because it's cool, not because I have a use for it |
| 05:45:03 | × | slack1256 quits (~slack1256@186.11.45.40) (Remote host closed the connection) |
| 05:45:18 | <Axman6> | anatta: keeping up the theme of replying way later than is reasonable, that function is just inits: |
| 05:45:25 | <Axman6> | > inits "Hello" |
| 05:45:27 | <lambdabot> | ["","H","He","Hel","Hell","Hello"] |
| 05:45:34 | <Axman6> | @src inits |
| 05:45:34 | <lambdabot> | inits [] = [[]] |
| 05:45:34 | <lambdabot> | inits (x:xs) = [[]] ++ map (x:) (inits xs) |
| 05:47:20 | × | merijn quits (~merijn@c-001-001-014.client.esciencecenter.eduvpn.nl) (Ping timeout: 272 seconds) |
| 05:51:25 | <anatta> | Axman6: yeah - but it seemed like cheating to use the built-in :p |
| 05:51:35 | <anatta> | the implementation looks pretty nice though |
| 05:52:06 | <anatta> | I don't think I would have come up with it |
| 05:53:50 | <Axman6> | yeah it's not exactly obvious, the fact it produces things lazily is very nice |
| 05:54:56 | × | wroathe quits (~wroathe@user/wroathe) (Ping timeout: 272 seconds) |
| 05:59:33 | → | fizbin joins (~fizbin@user/fizbin) |
| 06:00:31 | → | fizbin_ joins (~fizbin@user/fizbin) |
| 06:02:23 | × | sammelweis quits (~quassel@2601:401:8200:2d4c:bd9:d04c:7f69:eb10) (Quit: No Ping reply in 180 seconds.) |
| 06:03:01 | × | fizbin quits (~fizbin@user/fizbin) (Read error: Connection reset by peer) |
| 06:03:30 | → | sammelweis joins (~quassel@2601:401:8200:2d4c:bd9:d04c:7f69:eb10) |
| 06:14:53 | × | azimut_ quits (~azimut@gateway/tor-sasl/azimut) (Ping timeout: 255 seconds) |
| 06:16:28 | × | jao quits (~jao@cpc103048-sgyl39-2-0-cust502.18-2.cable.virginm.net) (Ping timeout: 260 seconds) |
| 06:17:47 | × | fizbin_ quits (~fizbin@user/fizbin) (Remote host closed the connection) |
| 06:18:07 | → | fizbin_ joins (~fizbin@user/fizbin) |
| 06:25:08 | × | hugo quits (znc@verdigris.lysator.liu.se) (Ping timeout: 246 seconds) |
| 06:27:05 | × | the_proffesor quits (~theproffe@user/theproffesor) (Ping timeout: 260 seconds) |
| 06:30:06 | × | fizbin_ quits (~fizbin@user/fizbin) (Ping timeout: 255 seconds) |
| 06:31:08 | <maerwald[m]> | EvanR: I always thought it would only be fair of the interview is two ways. I wanna test their knowledge too. So go ahead and prepare some overly specific questions as well of the domain you're most proficient in. |
| 06:32:37 | → | takuan joins (~takuan@178-116-218-225.access.telenet.be) |
| 06:32:58 | → | hugo joins (znc@verdigris.lysator.liu.se) |
| 06:36:55 | <maerwald[m]> | And bombing the candidate with tough questions and live coding is a good way to never get a high performance ADHD coder in your team |
| 06:37:31 | <maerwald[m]> | So you're basically filtering a very specific type of coder and you don't even know it |
| 06:37:39 | <maerwald[m]> | It's not intelligence or skill though |
| 06:38:40 | <maerwald[m]> | It's similar to how university works with exams. It's total BS. |
| 06:46:58 | × | oldfashionedcow quits (~Rahul_San@user/oldfashionedcow) (Quit: WeeChat 3.7.1) |
| 06:54:13 | → | theproffesor joins (~theproffe@2601:282:8800:3f30::4cd8) |
| 06:54:13 | × | theproffesor quits (~theproffe@2601:282:8800:3f30::4cd8) (Changing host) |
| 06:54:13 | → | theproffesor joins (~theproffe@user/theproffesor) |
| 06:57:33 | × | ensyde quits (~ensyde@104-62-224-96.lightspeed.chrlnc.sbcglobal.net) (Quit: WeeChat 3.5) |
| 07:01:14 | → | sammelweis_ joins (~quassel@2601:401:8200:2d4c:bd9:d04c:7f69:eb10) |
| 07:02:37 | × | sammelweis quits (~quassel@2601:401:8200:2d4c:bd9:d04c:7f69:eb10) (Ping timeout: 252 seconds) |
| 07:07:27 | → | OscarZ joins (~oscarz@95.175.104.39) |
| 07:07:32 | × | OscarZ quits (~oscarz@95.175.104.39) (Remote host closed the connection) |
| 07:32:15 | → | thongpv joins (~thongpv87@2001:ee0:5577:f0d0:8499:e0aa:237f:425c) |
| 07:40:39 | → | freeside joins (~mengwong@bb115-66-48-84.singnet.com.sg) |
| 07:42:40 | → | merijn joins (~merijn@c-001-001-014.client.esciencecenter.eduvpn.nl) |
| 07:49:34 | × | freeside quits (~mengwong@bb115-66-48-84.singnet.com.sg) (Ping timeout: 272 seconds) |
| 07:58:39 | × | thongpv quits (~thongpv87@2001:ee0:5577:f0d0:8499:e0aa:237f:425c) (Ping timeout: 256 seconds) |
| 08:08:37 | × | sammelweis_ quits (~quassel@2601:401:8200:2d4c:bd9:d04c:7f69:eb10) (Quit: No Ping reply in 180 seconds.) |
| 08:09:54 | → | sammelweis joins (~quassel@2601:401:8200:2d4c:bd9:d04c:7f69:eb10) |
| 08:13:26 | × | sammelweis quits (~quassel@2601:401:8200:2d4c:bd9:d04c:7f69:eb10) (Client Quit) |
| 08:14:33 | → | sammelweis joins (~quassel@2601:401:8200:2d4c:bd9:d04c:7f69:eb10) |
| 08:14:54 | × | razetime quits (~Thunderbi@117.193.6.2) (Ping timeout: 272 seconds) |
| 08:16:58 | × | merijn quits (~merijn@c-001-001-014.client.esciencecenter.eduvpn.nl) (Ping timeout: 256 seconds) |
| 08:22:41 | → | acidjnk joins (~acidjnk@p200300d6e715c42424d634bdd8dae3a2.dip0.t-ipconnect.de) |
| 08:25:47 | → | gmg joins (~user@user/gehmehgeh) |
| 08:29:26 | → | razetime joins (~Thunderbi@117.193.6.2) |
| 08:34:32 | × | ddellacosta quits (~ddellacos@143.244.47.100) (Ping timeout: 256 seconds) |
| 08:40:18 | webmaster | is now known as Angelz |
| 08:44:54 | → | jespada_ joins (~jespada@cpc121308-nmal25-2-0-cust15.19-2.cable.virginm.net) |
| 08:45:10 | × | jespada quits (~jespada@cpc121308-nmal25-2-0-cust15.19-2.cable.virginm.net) (Ping timeout: 265 seconds) |
| 08:49:19 | × | eggplantade quits (~Eggplanta@2600:1700:38c5:d800:71a5:b1e9:85a5:f360) (Remote host closed the connection) |
| 08:57:11 | → | merijn joins (~merijn@c-001-001-014.client.esciencecenter.eduvpn.nl) |
| 09:00:05 | × | schuelermine[m] quits (~schuelerm@user/schuelermine) (Quit: You have been kicked for being idle) |
| 09:12:52 | → | thongpv joins (~thongpv87@2001:ee0:5577:f0d0:f130:fce7:552c:f38e) |
| 09:13:00 | → | Tuplanolla joins (~Tuplanoll@91-159-68-152.elisa-laajakaista.fi) |
| 09:16:58 | × | mei quits (~mei@user/mei) (Quit: mei) |
| 09:19:05 | → | mei joins (~mei@user/mei) |
| 09:23:56 | mei | is now known as Guest8081 |
| 09:24:00 | → | mei joins (~mei@user/mei) |
| 09:25:44 | → | Midjak joins (~Midjak@82.66.147.146) |
| 09:25:55 | × | Guest8081 quits (~mei@user/mei) (Ping timeout: 256 seconds) |
| 09:28:51 | × | econo quits (uid147250@user/econo) (Quit: Connection closed for inactivity) |
| 09:32:38 | × | tzh quits (~tzh@c-24-21-73-154.hsd1.or.comcast.net) (Quit: zzz) |
| 09:38:15 | → | pretty_dumm_guy joins (trottel@gateway/vpn/protonvpn/prettydummguy/x-88029655) |
| 09:45:02 | × | sammelweis quits (~quassel@2601:401:8200:2d4c:bd9:d04c:7f69:eb10) (Quit: No Ping reply in 180 seconds.) |
| 09:46:18 | → | sammelweis joins (~quassel@2601:401:8200:2d4c:bd9:d04c:7f69:eb10) |
| 09:47:27 | × | mei quits (~mei@user/mei) (Ping timeout: 256 seconds) |
| 09:49:47 | → | eggplantade joins (~Eggplanta@2600:1700:38c5:d800:71a5:b1e9:85a5:f360) |
| 09:51:43 | × | sammelweis quits (~quassel@2601:401:8200:2d4c:bd9:d04c:7f69:eb10) (Quit: No Ping reply in 180 seconds.) |
| 09:51:52 | → | sammelweis joins (~quassel@2601:401:8200:2d4c:bd9:d04c:7f69:eb10) |
| 09:52:26 | × | mechap quits (~mechap@user/mechap) (Ping timeout: 272 seconds) |
| 09:53:08 | → | v0id_ptr joins (~adrift@user/ptr-frac7al/x-0038398) |
| 09:54:14 | → | mechap joins (~mechap@user/mechap) |
| 09:54:15 | × | eggplantade quits (~Eggplanta@2600:1700:38c5:d800:71a5:b1e9:85a5:f360) (Ping timeout: 252 seconds) |
| 09:55:22 | × | v0id_ptr quits (~adrift@user/ptr-frac7al/x-0038398) (Client Quit) |
| 09:55:36 | → | v0id_ptr joins (~adrift@user/ptr-frac7al/x-0038398) |
| 10:00:02 | × | merijn quits (~merijn@c-001-001-014.client.esciencecenter.eduvpn.nl) (Ping timeout: 252 seconds) |
| 10:00:09 | → | Homer_Simpson joins (uid550301@id-550301.uxbridge.irccloud.com) |
| 10:02:07 | → | jespada joins (~jespada@cpc121308-nmal25-2-0-cust15.19-2.cable.virginm.net) |
| 10:03:48 | × | v0id_ptr quits (~adrift@user/ptr-frac7al/x-0038398) (Quit: WeeChat 3.5) |
| 10:04:18 | × | jespada_ quits (~jespada@cpc121308-nmal25-2-0-cust15.19-2.cable.virginm.net) (Read error: Connection reset by peer) |
| 10:06:32 | × | jespada quits (~jespada@cpc121308-nmal25-2-0-cust15.19-2.cable.virginm.net) (Ping timeout: 255 seconds) |
| 10:07:04 | → | freeside joins (~mengwong@bb115-66-48-84.singnet.com.sg) |
| 10:07:52 | → | v0id_ptr joins (~adrift@user/ptr-frac7al/x-0038398) |
| 10:11:16 | × | freeside quits (~mengwong@bb115-66-48-84.singnet.com.sg) (Ping timeout: 252 seconds) |
| 10:11:51 | → | opticblast joins (~Thunderbi@secure-165.caltech.edu) |
| 10:12:36 | × | opticblast quits (~Thunderbi@secure-165.caltech.edu) (Remote host closed the connection) |
| 10:15:04 | × | v0id_ptr quits (~adrift@user/ptr-frac7al/x-0038398) (Quit: WeeChat 3.5) |
| 10:17:03 | → | danza joins (~francesco@151.37.248.221) |
| 10:25:22 | × | Sgeo quits (~Sgeo@user/sgeo) (Read error: Connection reset by peer) |
| 10:31:28 | → | curious-user joins (~user@user/curious-user) |
| 10:31:32 | → | freeside joins (~mengwong@bb115-66-48-84.singnet.com.sg) |
| 10:32:28 | <curious-user> | hi, why StateT s m a is (s -> m (a, s)) and not (m (State s a)) similar to MaybeT? |
| 10:33:59 | <maerwald> | StateT is more similar to ReaderT than MaybeT |
| 10:34:05 | <maerwald> | so not sure that's a useful question |
| 10:34:21 | <maerwald> | you need an initial state and then pass the intermediate steps through |
| 10:35:37 | <maerwald> | ah, sorry, I misread |
| 10:36:03 | × | freeside quits (~mengwong@bb115-66-48-84.singnet.com.sg) (Ping timeout: 260 seconds) |
| 10:36:11 | <maerwald> | well, you would have your initial state inside the monad |
| 10:36:15 | <maerwald> | which is unfortunate |
| 10:37:05 | <maerwald> | s -> m (a, s) is not the same as m (s -> (s, a)) |
| 10:40:45 | <[exa]> | the `(s->m (a,s))` view can be read as "`s` can choose what internal monadic operations to run", which is slightly different from `(m (s -> (s,a))` aka `m (State s a)` which you can read as "you run `m` to get a stateful computation that can't use `m`" |
| 10:41:34 | <[exa]> | :t runStateT <--- spoiler |
| 10:41:35 | <lambdabot> | error: |
| 10:41:35 | <lambdabot> | parse error (possibly incorrect indentation or mismatched brackets) |
| 10:41:48 | <[exa]> | oh noes, stupid me. :D |
| 10:42:03 | <[exa]> | :t runStateT -- this should show the relation. |
| 10:42:05 | <lambdabot> | StateT s m a -> s -> m (a, s) |
| 10:42:07 | <maerwald> | [exa]: it's kinda the difference between applicative and monad |
| 10:44:09 | <[exa]> | yeah that's a good view too |
| 10:49:13 | <curious-user> | maerwald: [exa] got it, thank you! |
| 10:51:32 | × | razetime quits (~Thunderbi@117.193.6.2) (Remote host closed the connection) |
| 10:52:16 | × | Vajb quits (~Vajb@2001:999:78d:d7:457c:7773:573e:6903) (Read error: Connection reset by peer) |
| 10:52:33 | → | Unicorn_Princess joins (~Unicorn_P@user/Unicorn-Princess/x-3540542) |
| 10:52:48 | × | thongpv quits (~thongpv87@2001:ee0:5577:f0d0:f130:fce7:552c:f38e) (Ping timeout: 256 seconds) |
| 10:53:14 | → | Vajb joins (~Vajb@hag-jnsbng11-58c3a5-27.dhcp.inet.fi) |
| 11:03:43 | × | jinsun quits (~jinsun@user/jinsun) (Read error: Connection reset by peer) |
| 11:19:15 | × | acidjnk quits (~acidjnk@p200300d6e715c42424d634bdd8dae3a2.dip0.t-ipconnect.de) (Ping timeout: 256 seconds) |
| 11:25:22 | × | use-value quits (~Thunderbi@2a00:23c6:8a03:2f01:75c2:a71f:beaa:29bf) (Remote host closed the connection) |
| 11:25:42 | → | use-value joins (~Thunderbi@2a00:23c6:8a03:2f01:75c2:a71f:beaa:29bf) |
| 11:26:55 | → | gnalzo joins (~gnalzo@2a01:e0a:498:fd50:fcc6:bb5d:489a:ce8c) |
| 11:34:47 | → | fserucas joins (~fserucas@2001:818:e376:a400:fb92:70c1:dd88:c7d7) |
| 11:34:53 | → | beteigeuze joins (~Thunderbi@bl14-81-220.dsl.telepac.pt) |
| 11:35:05 | × | fserucas quits (~fserucas@2001:818:e376:a400:fb92:70c1:dd88:c7d7) (Client Quit) |
| 11:36:26 | × | biberu quits (~biberu@user/biberu) (Read error: Connection reset by peer) |
| 11:39:36 | → | biberu joins (~biberu@user/biberu) |
| 11:47:42 | ← | jakalx parts (~jakalx@base.jakalx.net) () |
| 11:49:12 | → | jakalx joins (~jakalx@base.jakalx.net) |
| 11:54:56 | → | raehik joins (~raehik@cpc95906-rdng25-2-0-cust156.15-3.cable.virginm.net) |
| 11:56:45 | → | merijn joins (~merijn@c-001-001-014.client.esciencecenter.eduvpn.nl) |
| 11:57:45 | × | califax quits (~califax@user/califx) (Remote host closed the connection) |
| 11:59:25 | → | califax joins (~califax@user/califx) |
| 12:01:20 | × | danza quits (~francesco@151.37.248.221) (Ping timeout: 268 seconds) |
| 12:02:37 | → | cheater_ joins (~Username@user/cheater) |
| 12:06:08 | × | Vajb quits (~Vajb@hag-jnsbng11-58c3a5-27.dhcp.inet.fi) (Read error: Connection reset by peer) |
| 12:06:14 | × | cheater quits (~Username@user/cheater) (Ping timeout: 260 seconds) |
| 12:06:24 | cheater_ | is now known as cheater |
| 12:06:28 | × | raehik quits (~raehik@cpc95906-rdng25-2-0-cust156.15-3.cable.virginm.net) (Ping timeout: 256 seconds) |
| 12:10:06 | × | curious-user quits (~user@user/curious-user) (Quit: WeeChat 3.8) |
| 12:12:32 | → | Vajb joins (~Vajb@2001:999:78d:d7:457c:7773:573e:6903) |
| 12:22:29 | × | defanor quits (~defanor@tart.uberspace.net) (Quit: .) |
| 12:23:08 | → | defanor joins (~defanor@tart.uberspace.net) |
| 12:29:42 | × | perrierjouet quits (~perrier-j@modemcable048.127-56-74.mc.videotron.ca) (Quit: WeeChat 3.8) |
| 12:31:23 | × | merijn quits (~merijn@c-001-001-014.client.esciencecenter.eduvpn.nl) (Ping timeout: 264 seconds) |
| 12:33:41 | → | freeside joins (~mengwong@bb115-66-48-84.singnet.com.sg) |
| 12:37:14 | → | coot joins (~coot@2a02:a310:e241:1b00:ec1a:e9df:79ac:66ba) |
| 12:38:22 | × | freeside quits (~mengwong@bb115-66-48-84.singnet.com.sg) (Ping timeout: 272 seconds) |
| 12:39:34 | × | sagax quits (~sagax_nb@user/sagax) (Ping timeout: 268 seconds) |
| 12:42:21 | → | thongpv joins (~thongpv87@2001:ee0:5577:f0d0:73e4:4002:4782:e47b) |
| 12:54:31 | → | perrierjouet joins (~perrier-j@modemcable048.127-56-74.mc.videotron.ca) |
| 12:58:09 | × | beteigeuze quits (~Thunderbi@bl14-81-220.dsl.telepac.pt) (Ping timeout: 260 seconds) |
| 12:58:15 | → | Guest|10 joins (~Guest|10@223.187.70.31) |
| 12:58:23 | × | Guest|10 quits (~Guest|10@223.187.70.31) (Client Quit) |
| 13:03:28 | × | [Leary] quits (~Leary]@user/Leary/x-0910699) (Remote host closed the connection) |
| 13:04:06 | → | [Leary] joins (~Leary]@user/Leary/x-0910699) |
| 13:10:04 | × | coot quits (~coot@2a02:a310:e241:1b00:ec1a:e9df:79ac:66ba) (Quit: coot) |
| 13:11:00 | → | danza joins (~francesco@151.46.140.113) |
| 13:14:41 | × | pie_ quits (~pie_bnc@user/pie/x-2818909) () |
| 13:15:19 | → | pie_ joins (~pie_bnc@user/pie/x-2818909) |
| 13:17:08 | → | pavonia joins (~user@user/siracusa) |
| 13:20:54 | → | mei joins (~mei@user/mei) |
| 13:24:07 | → | tremon joins (~tremon@83-85-213-108.cable.dynamic.v4.ziggo.nl) |
| 13:24:55 | → | hrberg joins (~quassel@171.79-160-161.customer.lyse.net) |
| 13:25:25 | × | sammelweis quits (~quassel@2601:401:8200:2d4c:bd9:d04c:7f69:eb10) (Quit: No Ping reply in 180 seconds.) |
| 13:26:34 | → | sammelweis joins (~quassel@2601:401:8200:2d4c:bd9:d04c:7f69:eb10) |
| 13:29:09 | → | freeside joins (~mengwong@bb115-66-48-84.singnet.com.sg) |
| 13:29:42 | × | hgolden quits (~hgolden@cpe-172-251-233-141.socal.res.rr.com) (Remote host closed the connection) |
| 13:32:22 | → | hgolden joins (~hgolden@cpe-172-251-233-141.socal.res.rr.com) |
| 13:33:40 | × | freeside quits (~mengwong@bb115-66-48-84.singnet.com.sg) (Ping timeout: 252 seconds) |
| 13:38:36 | → | acidjnk joins (~acidjnk@p200300d6e715c424c4be665c85703a1b.dip0.t-ipconnect.de) |
| 13:41:07 | mei | is now known as Guest6473 |
| 13:41:07 | × | Guest6473 quits (~mei@user/mei) (Killed (cadmium.libera.chat (Nickname regained by services))) |
| 13:41:12 | → | mei joins (~mei@user/mei) |
| 13:43:58 | → | cheater_ joins (~Username@user/cheater) |
| 13:45:03 | → | jinsun joins (~jinsun@user/jinsun) |
| 13:46:35 | → | barzo joins (~hd@31.223.41.44) |
| 13:46:59 | × | cheater quits (~Username@user/cheater) (Ping timeout: 264 seconds) |
| 13:47:05 | cheater_ | is now known as cheater |
| 13:54:08 | × | hugo quits (znc@verdigris.lysator.liu.se) (Ping timeout: 256 seconds) |
| 14:01:14 | → | freeside joins (~mengwong@bb115-66-48-84.singnet.com.sg) |
| 14:01:58 | → | hugo joins (znc@verdigris.lysator.liu.se) |
| 14:10:13 | × | remedan quits (~remedan@ip-89-177-74-251.bb.vodafone.cz) (Ping timeout: 268 seconds) |
| 14:10:23 | × | freeside quits (~mengwong@bb115-66-48-84.singnet.com.sg) (Ping timeout: 256 seconds) |
| 14:10:44 | → | [itchyjunk] joins (~itchyjunk@user/itchyjunk/x-7353470) |
| 14:11:54 | → | freeside joins (~mengwong@bb115-66-48-84.singnet.com.sg) |
| 14:16:14 | × | freeside quits (~mengwong@bb115-66-48-84.singnet.com.sg) (Ping timeout: 256 seconds) |
| 14:18:44 | ← | jakalx parts (~jakalx@base.jakalx.net) (Disconnected: Replaced by new connection) |
| 14:18:45 | → | jakalx joins (~jakalx@base.jakalx.net) |
| 14:18:58 | × | sammelweis quits (~quassel@2601:401:8200:2d4c:bd9:d04c:7f69:eb10) (Quit: No Ping reply in 180 seconds.) |
| 14:20:36 | → | sammelweis joins (~quassel@2601:401:8200:2d4c:bd9:d04c:7f69:eb10) |
| 14:20:52 | × | perrierjouet quits (~perrier-j@modemcable048.127-56-74.mc.videotron.ca) (Quit: WeeChat 3.8) |
| 14:24:01 | → | jao joins (~jao@cpc103048-sgyl39-2-0-cust502.18-2.cable.virginm.net) |
| 14:25:16 | → | razetime joins (~Thunderbi@117.193.6.2) |
| 14:26:21 | → | merijn joins (~merijn@c-001-001-014.client.esciencecenter.eduvpn.nl) |
| 14:30:00 | × | gnalzo quits (~gnalzo@2a01:e0a:498:fd50:fcc6:bb5d:489a:ce8c) (Quit: WeeChat 3.8) |
| 14:30:52 | × | merijn quits (~merijn@c-001-001-014.client.esciencecenter.eduvpn.nl) (Ping timeout: 252 seconds) |
| 14:33:44 | → | emmanuelux joins (~emmanuelu@user/emmanuelux) |
| 14:39:22 | → | jinsun__ joins (~jinsun@user/jinsun) |
| 14:39:22 | × | jinsun quits (~jinsun@user/jinsun) (Killed (iridium.libera.chat (Nickname regained by services))) |
| 14:39:22 | jinsun__ | is now known as jinsun |
| 14:41:34 | → | unit73e joins (~emanuel@2001:818:e8dd:7c00:656:e5ff:fe72:9d36) |
| 14:45:12 | × | _xor quits (~xor@74.215.182.83) (Read error: Connection reset by peer) |
| 14:45:43 | × | jinsun quits (~jinsun@user/jinsun) (Read error: Connection reset by peer) |
| 14:45:58 | → | jinsun joins (~jinsun@user/jinsun) |
| 14:46:18 | × | emmanuelux quits (~emmanuelu@user/emmanuelux) (Quit: au revoir) |
| 14:48:12 | × | jinsun quits (~jinsun@user/jinsun) (Read error: Connection reset by peer) |
| 14:48:27 | → | jinsun joins (~jinsun@user/jinsun) |
| 14:50:25 | → | jinsun__ joins (~jinsun@user/jinsun) |
| 14:50:25 | × | jinsun quits (~jinsun@user/jinsun) (Killed (mercury.libera.chat (Nickname regained by services))) |
| 14:50:25 | jinsun__ | is now known as jinsun |
| 14:51:13 | → | _xor joins (~xor@74.215.182.83) |
| 14:55:44 | → | perrierjouet joins (~perrier-j@modemcable048.127-56-74.mc.videotron.ca) |
| 15:05:30 | jinsun | is now known as Guest1049 |
| 15:05:30 | → | jinsun__ joins (~jinsun@user/jinsun) |
| 15:05:30 | × | Guest1049 quits (~jinsun@user/jinsun) (Killed (molybdenum.libera.chat (Nickname regained by services))) |
| 15:05:30 | jinsun__ | is now known as jinsun |
| 15:15:36 | → | azimut joins (~azimut@gateway/tor-sasl/azimut) |
| 15:20:11 | → | gurkenglas joins (~gurkengla@dynamic-046-114-176-241.46.114.pool.telefonica.de) |
| 15:23:33 | → | jinsun__ joins (~jinsun@user/jinsun) |
| 15:23:33 | × | jinsun quits (~jinsun@user/jinsun) (Killed (silver.libera.chat (Nickname regained by services))) |
| 15:23:33 | jinsun__ | is now known as jinsun |
| 15:27:34 | → | waleee joins (~waleee@2001:9b0:213:7200:cc36:a556:b1e8:b340) |
| 15:33:39 | → | __xor joins (~xor@74.215.182.83) |
| 15:33:52 | × | _xor quits (~xor@74.215.182.83) (Ping timeout: 256 seconds) |
| 15:36:16 | × | gurkenglas quits (~gurkengla@dynamic-046-114-176-241.46.114.pool.telefonica.de) (Read error: Connection reset by peer) |
| 15:38:03 | → | emmanuelux joins (~emmanuelu@user/emmanuelux) |
| 15:42:28 | → | gurkenglas joins (~gurkengla@dynamic-046-114-176-241.46.114.pool.telefonica.de) |
| 15:44:19 | × | dsrt^ quits (~dsrt@c-24-30-76-89.hsd1.ga.comcast.net) (Remote host closed the connection) |
| 15:49:46 | → | bgs joins (~bgs@212-85-160-171.dynamic.telemach.net) |
| 15:50:02 | → | remedan joins (~remedan@ip-89-177-74-251.bb.vodafone.cz) |
| 15:52:01 | → | pagnol joins (~user@213-205-209-87.ftth.glasoperator.nl) |
| 15:55:55 | × | albet70 quits (~xxx@2400:8902::f03c:92ff:fe60:98d8) (Remote host closed the connection) |
| 15:58:18 | → | OscarZ joins (~oscarz@95.175.104.39) |
| 16:01:24 | × | perrierjouet quits (~perrier-j@modemcable048.127-56-74.mc.videotron.ca) (Quit: WeeChat 3.8) |
| 16:02:01 | → | albet70 joins (~xxx@2400:8902::f03c:92ff:fe60:98d8) |
| 16:03:02 | → | perrierjouet joins (~perrier-j@modemcable048.127-56-74.mc.videotron.ca) |
| 16:03:16 | × | razetime quits (~Thunderbi@117.193.6.2) (Remote host closed the connection) |
| 16:07:00 | → | oldfashionedcow joins (~Rahul_San@user/oldfashionedcow) |
| 16:07:35 | → | coot joins (~coot@2a02:a310:e241:1b00:ec1a:e9df:79ac:66ba) |
| 16:07:57 | → | ddellacosta joins (~ddellacos@143.244.47.100) |
| 16:11:11 | × | coot quits (~coot@2a02:a310:e241:1b00:ec1a:e9df:79ac:66ba) (Client Quit) |
| 16:11:43 | → | coot joins (~coot@2a02:a310:e241:1b00:ec1a:e9df:79ac:66ba) |
| 16:17:07 | × | coot quits (~coot@2a02:a310:e241:1b00:ec1a:e9df:79ac:66ba) (Quit: coot) |
| 16:26:50 | → | merijn joins (~merijn@c-001-001-014.client.esciencecenter.eduvpn.nl) |
| 16:31:24 | <pagnol> | It's unfortunately quiet in here |
| 16:32:32 | <geekosaur> | happens, especially on weekends |
| 16:35:35 | <pagnol> | I'd like to ask: I assume a lof of you rely on procedural languages for your day-to-day work. How does your knowledge of pure FP influence the way you program in regular languages? |
| 16:40:05 | × | danza quits (~francesco@151.46.140.113) (Quit: Leaving) |
| 16:40:15 | → | eggplantade joins (~Eggplanta@104-55-37-220.lightspeed.sntcca.sbcglobal.net) |
| 16:41:13 | <hpc> | when i run into one of the more notoriously "hard" things to deal with like concurrency or parsing some custom format, it's no longer that big a deal |
| 16:41:50 | <hpc> | because i know how it's done properly, and i can avoid all the problems of if i just wrote it carelessly in whatever style that other language prefers |
| 16:43:38 | <hpc> | at this point, i don't even really think anything of it |
| 16:47:30 | → | trev_ joins (~trev@109.252.35.99) |
| 16:49:35 | <pagnol> | I'm not sure I follow |
| 16:50:02 | <geekosaur> | write as if you're still programming in Haskell |
| 16:50:34 | <geekosaur> | the language won't force you to do things correctly, but if you're already used to doing so then you'll write correct and reliable code |
| 16:50:35 | <pagnol> | how do you do that? without typeclasses, immutability etc.? |
| 16:51:08 | <hpc> | you don't need immutability to just not reassign things |
| 16:51:26 | <geekosaur> | that's an example of the language not forcing you to do it right |
| 16:52:55 | <hpc> | controlling where you put your IO is another one |
| 16:53:32 | <pagnol> | agreed |
| 16:53:42 | <hpc> | even in haskell that's still mostly discipline, the types just nag you every step of the way |
| 16:54:31 | × | __xor quits (~xor@74.215.182.83) (Read error: Connection reset by peer) |
| 16:55:23 | <dsal> | I started programming in go a long time ago and basically just wrote all my go code in erlang. |
| 16:55:43 | <pagnol> | What does erlangy Go look like? |
| 16:56:02 | <dsal> | You have a goroutine that's reading from a channel and all state changes are commands that come across that channel. |
| 16:57:07 | <dsal> | You don't have supervisors and other useful bits, but you have a really clear and obviously correct (and testable) way to change stuff and observe changes. |
| 16:57:55 | <dsal> | In Haskell, I've got pretty complicated concurrent state I'm managing with composable STM bits. If I had to do this in another language, I'd just write bugs. |
| 16:58:26 | → | rigel_ joins (~kaushikv@c-24-20-37-193.hsd1.or.comcast.net) |
| 16:58:53 | <dsal> | Luckily, my day job is writing Haskell, so I don't have to do this kind of thing at the moment. :) |
| 16:59:49 | <pagnol> | you remind me that I want to read up on STM |
| 17:00:10 | ← | rigel_ parts (~kaushikv@c-24-20-37-193.hsd1.or.comcast.net) () |
| 17:00:31 | <dsal> | At my last job, I used to annoy my coworkers by using go's quickcheck thing for a lot of my tests. I found a lot of bugs using that, but most people didn't think that way and go's quickcheck tools are excessively primitive so that didn't help either. |
| 17:01:23 | × | merijn quits (~merijn@c-001-001-014.client.esciencecenter.eduvpn.nl) (Ping timeout: 260 seconds) |
| 17:01:41 | <dsal> | STM is annoyingly easy to think about. It does exist in some other languages, but you have to be super careful to use it correctly. One of Haskell's greatest strengths is in allowing you to limit what people do with an API. |
| 17:02:06 | <pagnol> | was it an existing Go-codebase with a largely imperative codestyle where you started using this? |
| 17:02:34 | <dsal> | e.g., if you look at an STM library in another language (go, rust, etc...) they have a big list of things you have to do to avoid bugs. In Haskell, those things don't compile. |
| 17:03:36 | <pagnol> | do you happen to have an example? |
| 17:03:38 | <dsal> | ...a bit of each in go. There was one point where someone found a bug in a thing he'd written and sent me code to review with this giant test that did exactly the thing he thought didn't work. It was effectively "write this specific stuff to the database and find this specific stuff in the database." He had a concurrency issue or something and it didn't work. |
| 17:04:04 | <dsal> | I sent him back a test that was almost exactly the same length that encoded "if I write stuff into the database, I can read it back." It failed in other scenarios than the one his bug fixed. |
| 17:04:21 | <dsal> | STM examples are pretty easy. At a high level, you just can't have side effects. |
| 17:04:40 | <dsal> | You can't interact with vars that aren't STM vars. You can't do any kind of disk or network IO. Stuff like that. |
| 17:05:09 | <dsal> | e.g. look at the "safety" section here: https://github.com/Marthog/rust-stm |
| 17:05:19 | <dsal> | Why can't the language just prevent you from doing those things you shouldn't do? |
| 17:06:06 | <dsal> | In Haskell, the type of `atomically` is ` :: STM a -> IO a` -- you can't call it inside STM because STM isn't IO |
| 17:06:35 | <dsal> | (same reason you can't read from a file, network, the clock, etc...) |
| 17:11:06 | <dsal> | Concurrency composition is just unfathomable without STM, though. I have some code that schedules and runs tasks. I have some other code that contains a map of items. A recent change added support for canceling scheduled tasks, so I modified my replacement code to atomically enqueue future deletion, cancel existing future deletion, and store the item in the map. Super easy to understand code. Just worked first time. |
| 17:11:38 | <dsal> | (this is my mqtt broker which has the concept of messages that persist for a number of seconds – turns out, *most* of these deletion jobs never actually need to run) |
| 17:12:34 | Luj3 | is now known as Luj |
| 17:14:28 | × | caubert quits (~caubert@user/caubert) (Quit: WeeChat 3.5) |
| 17:16:11 | <johnjaye> | what do all these libghc-xyz-dev packages do? |
| 17:16:52 | <geekosaur> | they're just debian/ubuntu packaged versions of hackage libraries |
| 17:17:09 | <johnjaye> | ok. i thought dev meant it was for compilation |
| 17:17:52 | <geekosaur> | well, they'd be needed for compiling something, but not necessarily to compile anything |
| 17:18:53 | <johnjaye> | hrm. well agda wanted a lot of them. could it compile things without having ghc itself installed? |
| 17:19:06 | → | caubert joins (~caubert@user/caubert) |
| 17:19:48 | <geekosaur> | I believe it has support for that, but it also has support to build via haskell and there's no way to configure it to only offer that if ghc is installed |
| 17:20:19 | → | __xor joins (~xor@74.215.182.83) |
| 17:20:28 | <johnjaye> | i don't follow. i thought ghc was the compiler for everything |
| 17:21:14 | × | telser quits (~quassel@user/telser) (Ping timeout: 255 seconds) |
| 17:23:08 | × | perrierjouet quits (~perrier-j@modemcable048.127-56-74.mc.videotron.ca) (Quit: WeeChat 3.8) |
| 17:24:37 | → | perrierjouet joins (~perrier-j@modemcable048.127-56-74.mc.videotron.ca) |
| 17:29:42 | <geekosaur> | in the older version of agda, ghc was the only option. I think more recent versions have support for direct native compilation |
| 17:29:54 | <geekosaur> | but still offer compiling via haskell |
| 17:30:15 | <geekosaur> | I know this is true of Idris but I think it's also true of agda these days |
| 17:30:23 | <johnjaye> | ah ok |
| 17:36:42 | → | tromp joins (~textual@92-110-219-57.cable.dynamic.v4.ziggo.nl) |
| 17:40:48 | × | mei quits (~mei@user/mei) (Ping timeout: 256 seconds) |
| 17:43:23 | × | jpds quits (~jpds@gateway/tor-sasl/jpds) (Ping timeout: 255 seconds) |
| 17:48:50 | → | jpds joins (~jpds@gateway/tor-sasl/jpds) |
| 17:50:47 | → | tzh joins (~tzh@c-24-21-73-154.hsd1.or.comcast.net) |
| 17:51:07 | × | zer0bitz quits (~zer0bitz@2001:2003:f443:d600:fd01:eb1c:8f92:62) (Read error: Connection reset by peer) |
| 17:52:59 | → | tsns joins (~tsns@91.150.188.137) |
| 17:53:25 | ← | tsns parts (~tsns@91.150.188.137) () |
| 17:55:06 | → | oldfashionedcat joins (~oldfashio@2.120.174.52) |
| 17:55:07 | → | econo joins (uid147250@user/econo) |
| 17:55:10 | → | tjakway joins (~tjakway@cpe-107-184-74-161.socal.res.rr.com) |
| 17:55:27 | → | zer0bitz joins (~zer0bitz@2001:2003:f443:d600:85a7:540:9c96:4862) |
| 18:00:07 | × | tjakway quits (~tjakway@cpe-107-184-74-161.socal.res.rr.com) (Quit: WeeChat 3.5) |
| 18:02:10 | <lyxia> | Agda doesn't have native compilation, just via Haskell and JS for some reason https://agda.readthedocs.io/en/v2.6.2.2.20230105/tools/compilers.html but most users don't compile agda anyway |
| 18:03:18 | → | mei joins (~mei@user/mei) |
| 18:19:20 | × | talismanick quits (~talismani@2601:200:c181:4c40::1be2) (Ping timeout: 260 seconds) |
| 18:26:40 | × | tromp quits (~textual@92-110-219-57.cable.dynamic.v4.ziggo.nl) (Quit: My iMac has gone to sleep. ZZZzzz…) |
| 18:34:24 | → | cheater_ joins (~Username@user/cheater) |
| 18:37:28 | × | cheater quits (~Username@user/cheater) (Ping timeout: 256 seconds) |
| 18:37:31 | cheater_ | is now known as cheater |
| 18:39:05 | × | pagnol quits (~user@213-205-209-87.ftth.glasoperator.nl) (Ping timeout: 268 seconds) |
| 18:45:39 | × | phma quits (~phma@2001:5b0:210b:d368:3e46:f9fe:761f:820d) (Read error: Connection reset by peer) |
| 18:46:35 | → | phma joins (~phma@2001:5b0:211c:c048:963e:eaf4:804a:2fe0) |
| 18:54:19 | → | tromp joins (~textual@92-110-219-57.cable.dynamic.v4.ziggo.nl) |
| 18:57:46 | → | merijn joins (~merijn@c-001-001-014.client.esciencecenter.eduvpn.nl) |
| 19:09:43 | → | pagnol joins (~user@213-205-209-87.ftth.glasoperator.nl) |
| 19:19:05 | → | barak joins (~barak@77.125.91.132) |
| 19:21:18 | → | mastarija joins (~mastarija@188.252.197.161) |
| 19:21:49 | <mastarija> | Is there a way to see the sha256 of a package on hackage? |
| 19:22:02 | × | barak quits (~barak@77.125.91.132) (Remote host closed the connection) |
| 19:22:06 | <mastarija> | I want to create a nix derivation and I'm missing this information |
| 19:24:45 | × | trev_ quits (~trev@109.252.35.99) (Remote host closed the connection) |
| 19:25:41 | <c_wraith> | mastarija: if you've already installed it outside of nix, the package is probably locally cached in ~/.cabal/packages and you can just run sha256sum on the .tar.gz file |
| 19:26:42 | <mastarija> | I haven't. I remember there was a cabal command to download the tar, so I'll do that. But I was hoping for something convenient on hackage. |
| 19:26:48 | <mastarija> | I thought maybe i was blind :) |
| 19:28:13 | geekosaur | wonders if flora should show this, if hackage doesn't (it doesn't currently) |
| 19:28:21 | <geekosaur> | cabal get |
| 19:29:12 | <mastarija> | flora? |
| 19:29:23 | <mastarija> | is that an alternative package repository? |
| 19:29:38 | <geekosaur> | Hécate's alternative UI to hackage |
| 19:29:50 | <geekosaur> | https://flora.pm |
| 19:29:58 | <mastarija> | Aha. |
| 19:30:00 | <mastarija> | Nice |
| 19:32:29 | × | merijn quits (~merijn@c-001-001-014.client.esciencecenter.eduvpn.nl) (Ping timeout: 260 seconds) |
| 19:32:59 | × | gurkenglas quits (~gurkengla@dynamic-046-114-176-241.46.114.pool.telefonica.de) (Ping timeout: 246 seconds) |
| 19:35:36 | × | mastarija quits (~mastarija@188.252.197.161) (Quit: WeeChat 3.7.1) |
| 19:38:47 | → | use-value1 joins (~Thunderbi@2a00:23c6:8a03:2f01:75c2:a71f:beaa:29bf) |
| 19:40:12 | → | gurkenglas joins (~gurkengla@dynamic-046-114-176-241.46.114.pool.telefonica.de) |
| 19:40:17 | × | use-value quits (~Thunderbi@2a00:23c6:8a03:2f01:75c2:a71f:beaa:29bf) (Ping timeout: 255 seconds) |
| 19:40:18 | use-value1 | is now known as use-value |
| 19:40:43 | <davean> | There are project.json files in the hackage index maerwald |
| 19:40:45 | <davean> | er |
| 19:40:49 | <davean> | mastarija |
| 19:40:52 | <davean> | They left, didn't they? |
| 19:41:00 | <geekosaur> | yeh |
| 19:41:04 | <davean> | Well, there is an actual answer for them |
| 19:41:21 | <davean> | that does it right |
| 19:42:22 | <davean> | That is also signed from upstream |
| 19:48:52 | × | remedan quits (~remedan@ip-89-177-74-251.bb.vodafone.cz) (Ping timeout: 256 seconds) |
| 19:50:03 | → | P1RATEZ joins (piratez@user/p1ratez) |
| 19:52:59 | → | shapr joins (~user@68.54.166.125) |
| 19:57:31 | × | cheater quits (~Username@user/cheater) (Read error: Connection reset by peer) |
| 19:58:17 | → | cheater joins (~Username@user/cheater) |
| 19:59:59 | → | remedan joins (~remedan@ip-89-177-74-251.bb.vodafone.cz) |
| 20:02:28 | × | barzo quits (~hd@31.223.41.44) (Ping timeout: 256 seconds) |
| 20:04:40 | → | ozkutuk53 joins (~ozkutuk@176.240.174.60) |
| 20:12:19 | → | tabemann joins (~tabemann@172-13-49-137.lightspeed.milwwi.sbcglobal.net) |
| 20:12:33 | × | tabemann__ quits (~tabemann@172-13-49-137.lightspeed.milwwi.sbcglobal.net) (Read error: Connection reset by peer) |
| 20:16:35 | → | barzo joins (~hd@31.223.41.44) |
| 20:24:47 | → | random-jellyfish joins (~random-je@user/random-jellyfish) |
| 20:34:26 | → | Guest75 joins (~Guest75@178.141.138.233) |
| 20:41:03 | → | zmm joins (~zmm@104-218-69-1.dynamic.lnk.ne.allofiber.net) |
| 20:41:14 | ← | zmm parts (~zmm@104-218-69-1.dynamic.lnk.ne.allofiber.net) () |
| 20:41:57 | × | zer0bitz quits (~zer0bitz@2001:2003:f443:d600:85a7:540:9c96:4862) (Read error: Connection reset by peer) |
| 20:46:37 | → | Sgeo joins (~Sgeo@user/sgeo) |
| 20:47:03 | → | Lycurgus joins (~juan@98.4.112.204) |
| 20:47:03 | × | Lycurgus quits (~juan@98.4.112.204) (Changing host) |
| 20:47:03 | → | Lycurgus joins (~juan@user/Lycurgus) |
| 20:48:27 | × | Lycurgus quits (~juan@user/Lycurgus) (Client Quit) |
| 20:49:15 | × | ozkutuk53 quits (~ozkutuk@176.240.174.60) (Ping timeout: 260 seconds) |
| 20:56:51 | × | oldfashionedcat quits (~oldfashio@2.120.174.52) (Quit: Client closed) |
| 20:59:10 | × | gurkenglas quits (~gurkengla@dynamic-046-114-176-241.46.114.pool.telefonica.de) (Ping timeout: 252 seconds) |
| 21:07:13 | → | wroathe joins (~wroathe@207-153-38-140.fttp.usinternet.com) |
| 21:07:13 | × | wroathe quits (~wroathe@207-153-38-140.fttp.usinternet.com) (Changing host) |
| 21:07:13 | → | wroathe joins (~wroathe@user/wroathe) |
| 21:10:51 | → | gurkenglas joins (~gurkengla@dynamic-046-114-176-241.46.114.pool.telefonica.de) |
| 21:17:43 | × | sammelweis quits (~quassel@2601:401:8200:2d4c:bd9:d04c:7f69:eb10) (Quit: No Ping reply in 180 seconds.) |
| 21:18:32 | → | ozkutuk53 joins (~ozkutuk@176.240.174.60) |
| 21:19:00 | → | sammelweis joins (~quassel@2601:401:8200:2d4c:bd9:d04c:7f69:eb10) |
| 21:20:38 | × | Cale quits (~cale@cpef48e38ee8583-cm30b7d4b3fc20.cpe.net.cable.rogers.com) (Ping timeout: 255 seconds) |
| 21:22:42 | × | jbalint quits (~jbalint@071-090-119-177.res.spectrum.com) (Quit: Bye!) |
| 21:23:13 | × | random-jellyfish quits (~random-je@user/random-jellyfish) (Quit: Client closed) |
| 21:23:21 | → | gdd joins (~gdd@2001:470:1f13:187:3a49:a5bc:2f91:2c4d) |
| 21:26:25 | → | random-jellyfish joins (~random-je@user/random-jellyfish) |
| 21:28:16 | → | merijn joins (~merijn@c-001-001-014.client.esciencecenter.eduvpn.nl) |
| 21:31:05 | × | chiselfuse quits (~chiselfus@user/chiselfuse) (Ping timeout: 255 seconds) |
| 21:31:32 | <jean-paul[m]> | LocalTime doesn't carry a timezone with it ... which is annoying since it makes two different arbitrary LocalTime values unsafe to use together in pretty much any way. is there a LocalTime that carries a tz with it somewhere? |
| 21:33:20 | → | chiselfuse joins (~chiselfus@user/chiselfuse) |
| 21:33:47 | → | Cale joins (~cale@2607:fea8:995f:b910:f535:7e00:458d:8e0c) |
| 21:33:59 | <anatta> | jean-paul[m]: isn't there a ZonedTime? |
| 21:34:00 | <hololeap> | any ideas what I need to do to get this working? type MonadSay m = forall a. (MonadReader (Verbosity, a) m, MonadIO m) |
| 21:34:43 | <jean-paul[m]> | aaahh there is, in a newer version of time than I have 😦 thanks |
| 21:34:48 | <lyxia> | hololeap: what's the error |
| 21:34:51 | <dsal> | time keeps on changing |
| 21:35:08 | <jean-paul[m]> | it keeps on slipping into the future |
| 21:35:28 | <hololeap> | lyxia: You can't specify an instance for a tuple constraint |
| 21:35:42 | <hololeap> | I tried both RankNTypes and QuantifiedConstraints |
| 21:35:58 | × | EvanR quits (~EvanR@user/evanr) (Quit: Leaving) |
| 21:37:00 | <hololeap> | and with this: type MonadSay m = ((forall a. MonadReader (Verbosity, a) m), MonadIO m) |
| 21:37:33 | <hololeap> | I get: Illegal polymorphic type: forall a. MonadReader (Verbosity, a) m. GHC doesn't yet support impredicative polymorphism |
| 21:38:11 | → | EvanR joins (~EvanR@user/evanr) |
| 21:38:35 | <hololeap> | I have also used: type MonadSay m a = (MonadReader (Verbosity, a) m), MonadIO m) |
| 21:38:46 | <hololeap> | but then I have a dangling `a` that never gets used |
| 21:39:49 | <hololeap> | this is supposed to be a more lax constraint than my full env monad: type EnvM = ReaderT (Verbosity, Env) IO |
| 21:39:53 | <lyxia> | I think you can work around that last error message using ImpredicativeTypes |
| 21:40:23 | → | Lord_of_Life_ joins (~Lord@user/lord-of-life/x-2819915) |
| 21:40:31 | <hololeap> | so I can use ` say :: MonadSay m a => String -> m ()` before the full Env is set up |
| 21:40:56 | <lyxia> | but also MonadReader has a fundep so that constraint looks suspicious |
| 21:41:08 | × | Lord_of_Life quits (~Lord@user/lord-of-life/x-2819915) (Ping timeout: 272 seconds) |
| 21:41:42 | Lord_of_Life_ | is now known as Lord_of_Life |
| 21:42:22 | <hololeap> | so I'm trying to implement the concept of "`say` doesn't care at all about what's in the second part of that ReaderT tuple" without having to carry an extra `a` around |
| 21:42:57 | × | random-jellyfish quits (~random-je@user/random-jellyfish) (Quit: Client closed) |
| 21:43:35 | <hololeap> | it's just cosmetic, really |
| 21:48:20 | → | random-jellyfish joins (~random-je@user/random-jellyfish) |
| 21:48:24 | × | P1RATEZ quits (piratez@user/p1ratez) (Remote host closed the connection) |
| 21:50:04 | × | random-jellyfish quits (~random-je@user/random-jellyfish) (Client Quit) |
| 21:54:00 | × | wroathe quits (~wroathe@user/wroathe) (Ping timeout: 260 seconds) |
| 21:54:27 | → | P1RATEZ joins (piratez@user/p1ratez) |
| 21:54:48 | × | bgs quits (~bgs@212-85-160-171.dynamic.telemach.net) (Remote host closed the connection) |
| 21:58:04 | × | Cale quits (~cale@2607:fea8:995f:b910:f535:7e00:458d:8e0c) (Ping timeout: 256 seconds) |
| 21:58:48 | → | Cale joins (~cale@2607:fea8:995f:b910:f535:7e00:458d:8e0c) |
| 22:01:49 | × | gurkenglas quits (~gurkengla@dynamic-046-114-176-241.46.114.pool.telefonica.de) (Ping timeout: 260 seconds) |
| 22:02:36 | × | merijn quits (~merijn@c-001-001-014.client.esciencecenter.eduvpn.nl) (Ping timeout: 256 seconds) |
| 22:07:39 | × | ozkutuk53 quits (~ozkutuk@176.240.174.60) (Ping timeout: 260 seconds) |
| 22:11:11 | × | Homer_Simpson quits (uid550301@id-550301.uxbridge.irccloud.com) (Quit: Connection closed for inactivity) |
| 22:14:04 | × | chiselfuse quits (~chiselfus@user/chiselfuse) (Remote host closed the connection) |
| 22:14:59 | → | chiselfuse joins (~chiselfus@user/chiselfuse) |
| 22:15:38 | × | Cale quits (~cale@2607:fea8:995f:b910:f535:7e00:458d:8e0c) (Ping timeout: 256 seconds) |
| 22:18:26 | × | eggplantade quits (~Eggplanta@104-55-37-220.lightspeed.sntcca.sbcglobal.net) (Remote host closed the connection) |
| 22:23:37 | → | gurkenglas joins (~gurkengla@dynamic-046-114-176-241.46.114.pool.telefonica.de) |
| 22:30:17 | → | machinedgod joins (~machinedg@d198-53-218-113.abhsia.telus.net) |
| 22:30:30 | → | remexre2 joins (~remexre2@mail.sift.net) |
| 22:31:47 | × | remexre quits (~remexre@user/remexre) (Remote host closed the connection) |
| 22:32:30 | × | remexre2 quits (~remexre2@mail.sift.net) (Remote host closed the connection) |
| 22:32:37 | → | remexre joins (~remexre@user/remexre) |
| 22:33:01 | → | _xor joins (~xor@74.215.182.83) |
| 22:33:17 | × | jpds quits (~jpds@gateway/tor-sasl/jpds) (Remote host closed the connection) |
| 22:34:52 | × | __xor quits (~xor@74.215.182.83) (Ping timeout: 252 seconds) |
| 22:35:55 | → | Cale joins (~cale@cpebc4dfb3052b3-cmbc4dfb3052b0.cpe.net.cable.rogers.com) |
| 22:36:52 | × | machinedgod quits (~machinedg@d198-53-218-113.abhsia.telus.net) (Ping timeout: 272 seconds) |
| 22:38:22 | → | machinedgod joins (~machinedg@d198-53-218-113.abhsia.telus.net) |
| 22:42:42 | → | eggplantade joins (~Eggplanta@104-55-37-220.lightspeed.sntcca.sbcglobal.net) |
| 22:45:21 | → | freeside joins (~mengwong@103.252.202.170) |
| 22:46:09 | × | tromp quits (~textual@92-110-219-57.cable.dynamic.v4.ziggo.nl) (Quit: My iMac has gone to sleep. ZZZzzz…) |
| 22:46:22 | × | Unicorn_Princess quits (~Unicorn_P@user/Unicorn-Princess/x-3540542) (Remote host closed the connection) |
| 22:50:10 | × | freeside quits (~mengwong@103.252.202.170) (Ping timeout: 272 seconds) |
| 23:00:09 | → | jpds joins (~jpds@gateway/tor-sasl/jpds) |
| 23:01:33 | × | _xor quits (~xor@74.215.182.83) (Ping timeout: 260 seconds) |
| 23:03:09 | → | _xor joins (~xor@74.215.182.83) |
| 23:03:43 | → | mechap1 joins (~mechap@user/mechap) |
| 23:06:37 | × | mechap quits (~mechap@user/mechap) (Ping timeout: 252 seconds) |
| 23:07:44 | × | _xor quits (~xor@74.215.182.83) (Ping timeout: 260 seconds) |
| 23:09:28 | → | _xor joins (~xor@74.215.182.83) |
| 23:14:39 | → | jbalint joins (~jbalint@2600:6c44:117f:e98a:816a:9488:fb1:7b7) |
| 23:17:24 | × | gurkenglas quits (~gurkengla@dynamic-046-114-176-241.46.114.pool.telefonica.de) (Ping timeout: 256 seconds) |
| 23:19:04 | × | tremon quits (~tremon@83-85-213-108.cable.dynamic.v4.ziggo.nl) (Quit: getting boxed in) |
| 23:22:25 | → | hex_ joins (~hex@cpc99326-croy26-2-0-cust216.19-2.cable.virginm.net) |
| 23:23:55 | → | beteigeuze joins (~Thunderbi@bl14-81-220.dsl.telepac.pt) |
| 23:24:22 | × | Xeroine_ quits (~Xeroine@user/xeroine) (Ping timeout: 272 seconds) |
| 23:28:29 | → | Xeroine joins (~Xeroine@user/xeroine) |
| 23:29:35 | <voidzero> | is there a quick to capitalize the first letter of a sentence of type Data.Text? |
| 23:30:24 | <voidzero> | afaik you can't use the `(c:cs) = T.upper c : cs` trick |
| 23:31:00 | <voidzero> | I could use T.unpack and T.pack |
| 23:33:18 | <voidzero> | but idk |
| 23:34:31 | × | beteigeuze quits (~Thunderbi@bl14-81-220.dsl.telepac.pt) (Quit: beteigeuze) |
| 23:35:16 | → | beteigeuze joins (~Thunderbi@bl14-81-220.dsl.telepac.pt) |
| 23:36:32 | <EvanR> | unwords . capitalize . words? |
| 23:37:21 | <EvanR> | there is probably a lens for momentarily viewing a Text as a cons |
| 23:38:10 | × | takuan quits (~takuan@178-116-218-225.access.telenet.be) (Remote host closed the connection) |
| 23:38:12 | <voidzero> | Lens is beyond my skill level atm. I just need the very first word capitalized |
| 23:38:25 | <voidzero> | although, honestly, for my usecase I could just use String |
| 23:39:01 | <voidzero> | just curious how people would do this |
| 23:39:02 | <hpc> | might as well get in the habit of using Text, imo |
| 23:39:11 | <voidzero> | yeah that's what my books say, too |
| 23:40:29 | <voidzero> | so right now I have a var 'event' that contains a Text string, and to do this I am doing this: where event' = T.pack (toUpper (T.head event) : tail (T.unpack event)) |
| 23:40:59 | <voidzero> | it works but meh |
| 23:41:32 | <voidzero> | meh unless experienced ppl say this is fine |
| 23:42:44 | × | pagnol quits (~user@213-205-209-87.ftth.glasoperator.nl) (Ping timeout: 272 seconds) |
| 23:43:02 | <voidzero> | it's a simple tool that lets me enter an event on the console using TIO.getLine and generates a few sentences that contain this event. |
| 23:43:12 | <voidzero> | event being a scheduled event IRL |
| 23:43:47 | <voidzero> | making it easier to tweet these text, scheduled, using tweetdeck |
| 23:43:55 | <voidzero> | texts* |
| 23:45:04 | <voidzero> | "Tomorrow at 11am: " <> event -- is one of them (requiring the lower cased version, and -- event starts in 10 minutes, be there! -- as the other one. I want the second one to start capitalized. |
| 23:45:33 | × | sammelweis quits (~quassel@2601:401:8200:2d4c:bd9:d04c:7f69:eb10) (Quit: No Ping reply in 180 seconds.) |
| 23:47:14 | → | sammelweis joins (~quassel@2601:401:8200:2d4c:bd9:d04c:7f69:eb10) |
| 23:47:23 | <sm> | that seems to be a missing feature at text > Case conversion |
| 23:47:23 | <sm> | https://hackage.haskell.org/package/text-2.0.1/docs/Data-Text.html#g:9 |
| 23:48:45 | <voidzero> | yeah. T.head has T.Text -> Char. |
| 23:48:57 | <sm> | I would be tempted to T.pack . GHC.Utils.Misc.capitalise . T.unpack |
| 23:49:11 | <voidzero> | T.toUpper has Text -> Text, but, that'd capitalize everything |
| 23:49:22 | <voidzero> | aye so that's similar to my way of doing it |
| 23:50:58 | <sm> | ah, right. Yes that's fine in my book |
| 23:52:32 | <voidzero> | cool cool |
| 23:53:39 | <sm> | get your console tweeter working, it'll be an easy localised optimisation in future when OpenAmaBoogler Inc is running it a billion times a second |
| 23:54:18 | <voidzero> | haha well first we gotta see what Twitter's plans are re API usage. I think they want to get rid of all these options |
| 23:54:48 | <voidzero> | it ain't what it used to be. Even before Musk it wasn't what it used to be. |
| 23:55:09 | <sm> | I think so too, I hope your work can be reused for fediverse |
| 23:58:35 | sm | checks, finds only https://hackage.haskell.org/package/Hastodon 2018 |
| 23:59:00 | → | merijn joins (~merijn@c-001-001-014.client.esciencecenter.eduvpn.nl) |
All times are in UTC on 2023-01-21.