Home freenode/#haskell: Logs Calendar

Logs: freenode/#haskell

←Prev  Next→
Page 1 .. 683 684 685 686 687 688 689 690 691 692 693 .. 5022
502,152 events total
2020-10-16 21:03:42 <monochrom> I'm waiting for one last straw to be an excuse to ban them. :)
2020-10-16 21:03:56 <monochrom> Actually if some of you already want to ban now, I can do it.
2020-10-16 21:04:28 hackage buffet 0.5.0 - Assembles many Dockerfiles in one. https://hackage.haskell.org/package/buffet-0.5.0 (evolutics)
2020-10-16 21:05:28 hekkaidekapus_ joins (~tchouri@gateway/tor-sasl/hekkaidekapus)
2020-10-16 21:05:44 proofofme joins (~proofofme@184-96-74-65.hlrn.qwest.net)
2020-10-16 21:05:54 × wroathe quits (~wroathe@c-68-54-25-135.hsd1.mn.comcast.net) (Ping timeout: 265 seconds)
2020-10-16 21:07:23 × hekkaidekapus quits (~tchouri@gateway/tor-sasl/hekkaidekapus) (Ping timeout: 240 seconds)
2020-10-16 21:08:02 × toorevitimirp quits (~tooreviti@117.182.180.0) (Ping timeout: 260 seconds)
2020-10-16 21:08:20 justsomeguy joins (~justsomeg@unaffiliated/--/x-3805311)
2020-10-16 21:10:06 <proofofme> which package do you guys use to convert a string of CSV to a list of elements? I saw there are several
2020-10-16 21:12:43 × proofofme quits (~proofofme@184-96-74-65.hlrn.qwest.net) (Remote host closed the connection)
2020-10-16 21:13:03 proofofme joins (~proofofme@184-96-74-65.hlrn.qwest.net)
2020-10-16 21:13:13 tv joins (~tv@unaffiliated/tv)
2020-10-16 21:13:42 <monochrom> I use cassava
2020-10-16 21:14:45 <monochrom> More honestly, there is some 10% of the easy case I just use Data.List.span/break and split at commas :)
2020-10-16 21:15:05 Zush joins (~Zushauque@d67-193-170-251.home3.cgocable.net)
2020-10-16 21:15:10 × Zush quits (~Zushauque@d67-193-170-251.home3.cgocable.net) (Client Quit)
2020-10-16 21:15:37 Zus joins (~Zushauque@d67-193-170-251.home3.cgocable.net)
2020-10-16 21:16:19 <monochrom> But I escalate to cassava when I need it properly done, esp if there is something like 43591,"monochrom, inc."
2020-10-16 21:16:44 <proofofme> thank you! I will try Data.List.span/break!
2020-10-16 21:18:23 × p3n quits (~p3n@2a00:19a0:3:7c:0:d9c6:7cf6:1) (Quit: ZNC 1.8.1 - https://znc.in)
2020-10-16 21:18:55 p3n joins (~p3n@217.198.124.246)
2020-10-16 21:19:36 frdg parts (47b88ff9@pool-71-184-143-249.bstnma.fios.verizon.net) ()
2020-10-16 21:19:42 frdg joins (47b88ff9@pool-71-184-143-249.bstnma.fios.verizon.net)
2020-10-16 21:20:53 × hive-mind quits (~hivemind@rrcs-67-53-148-69.west.biz.rr.com) (Ping timeout: 265 seconds)
2020-10-16 21:21:19 × danvet_ quits (~Daniel@2a02:168:57f4:0:efd0:b9e5:5ae6:c2fa) (Ping timeout: 272 seconds)
2020-10-16 21:24:45 <proofofme> hmmm. how does span translate the literal string to the list of elements?
2020-10-16 21:25:03 <monochrom> It doesn't. It just splits on the first comma.
2020-10-16 21:25:21 <monochrom> Actually even a bit less than that.
2020-10-16 21:25:45 <monochrom> > break (',' ==) "abc,def,ghi"
2020-10-16 21:25:47 <lambdabot> ("abc",",def,ghi")
2020-10-16 21:26:28 <monochrom> You add your own code to detect the leading comma in ",def..." and strip it
2020-10-16 21:26:44 <monochrom> You also add your own recursion to continue.
2020-10-16 21:27:15 <monochrom> You can steal code from "words" keeping in mind "words" splits on spaces.
2020-10-16 21:27:41 <proofofme> hmmm I seee
2020-10-16 21:27:58 <proofofme> can this be foldr'ed?
2020-10-16 21:28:08 <monochrom> and the fact that words "abc def" = ["abc", "def"] but you want something different for "abc,,,,,def"
2020-10-16 21:28:24 × knupfer quits (~Thunderbi@i5E86B451.versanet.de) (Ping timeout: 272 seconds)
2020-10-16 21:28:28 hackage postgres-websockets 0.10.0.0 - Middleware to map LISTEN/NOTIFY messages to Websockets https://hackage.haskell.org/package/postgres-websockets-0.10.0.0 (diogob)
2020-10-16 21:28:36 <monochrom> No.
2020-10-16 21:30:21 machinedgod joins (~machinedg@24.105.81.50)
2020-10-16 21:30:45 <monochrom> Maybe I should also let you know of http://hackage.haskell.org/package/split so you don't have to write your own recursion.
2020-10-16 21:31:04 <monochrom> But here is my real consideration:
2020-10-16 21:31:50 <monochrom> If you don't plan to worry about 43591,"monochrom, inc.", why incur a dependency? The recursion is just 3 lines.
2020-10-16 21:32:27 <monochrom> If you do want to incur a dependency, why not incur the proper one?
2020-10-16 21:32:43 × justanotheruser quits (~justanoth@unaffiliated/justanotheruser) (Ping timeout: 272 seconds)
2020-10-16 21:33:08 <proofofme> so you WOULD use the split package for an easy case?
2020-10-16 21:33:15 <monochrom> No.
2020-10-16 21:33:43 × Alleria_ quits (~AllahuAkb@2604:2000:1484:26:c13:bf83:d3a4:854a) (Ping timeout: 244 seconds)
2020-10-16 21:34:11 <proofofme> the elements I want to split contain stuff like the 43591, "monochrom, inc."
2020-10-16 21:34:25 <monochrom> Then use cassava
2020-10-16 21:34:28 <proofofme> there are a lot of random chars, even ',' that will be in it. ah ok
2020-10-16 21:34:30 <proofofme> cool
2020-10-16 21:34:55 wroathe joins (~wroathe@c-68-54-25-135.hsd1.mn.comcast.net)
2020-10-16 21:35:16 slack1256 joins (~slack1256@181.203.95.77)
2020-10-16 21:36:11 Alleria_ joins (~AllahuAkb@2604:2000:1484:26:dcad:5cf5:9c19:447f)
2020-10-16 21:38:18 × proofofme quits (~proofofme@184-96-74-65.hlrn.qwest.net) (Remote host closed the connection)
2020-10-16 21:38:28 whatisRT joins (~whatisRT@2002:5b41:6a33:0:d585:23a3:86e4:f2b4)
2020-10-16 21:41:35 Ariakenom joins (~Ariakenom@h-98-128-228-53.NA.cust.bahnhof.se)
2020-10-16 21:41:36 <johnw> gentauro: I was thinking of 'fog'
2020-10-16 21:42:27 <gentauro> johnw: ahh, fair nok
2020-10-16 21:42:52 × Alleria_ quits (~AllahuAkb@2604:2000:1484:26:dcad:5cf5:9c19:447f) (Ping timeout: 260 seconds)
2020-10-16 21:43:28 karanlikmadde joins (~karanlikm@2a01:c23:6037:1800:955:6189:d72:9daf)
2020-10-16 21:44:05 Lycurgus joins (~niemand@98.4.96.235)
2020-10-16 21:44:12 delYsid joins (~user@84-115-55-45.cable.dynamic.surfer.at)
2020-10-16 21:44:14 × takuan quits (~takuan@178-116-218-225.access.telenet.be) (Ping timeout: 272 seconds)
2020-10-16 21:47:48 hive-mind joins (~hivemind@rrcs-67-53-148-69.west.biz.rr.com)
2020-10-16 21:58:51 <dibblego> I use https://hackage.haskell.org/package/sv
2020-10-16 22:00:35 × conal quits (~conal@64.71.133.70) (Quit: Computer has gone to sleep.)
2020-10-16 22:02:12 <frdg> why would somebody search for functions on stackage instead of hoogle?
2020-10-16 22:02:22 × Katarushisu quits (~Katarushi@cpc149712-finc20-2-0-cust535.4-2.cable.virginm.net) (Quit: Ping timeout (120 seconds))
2020-10-16 22:02:44 Katarushisu joins (~Katarushi@82.30.254.24)
2020-10-16 22:02:46 <monochrom> Is that a rhetorical question?
2020-10-16 22:02:47 conal joins (~conal@64.71.133.70)
2020-10-16 22:03:15 × coot quits (~coot@37.30.35.208.nat.umts.dynamic.t-mobile.pl) (Quit: coot)
2020-10-16 22:03:26 × chaosmasttter quits (~chaosmast@p200300c4a710fa01b4d1efe2d5e04ce9.dip0.t-ipconnect.de) (Quit: WeeChat 2.9)
2020-10-16 22:03:41 <frdg> no. I saw someone use it in a video. This is what I mean by stackage. https://www.stackage.org/
2020-10-16 22:04:00 theorb joins (~theorb@cpc81860-swin19-2-0-cust166.3-1.cable.virginm.net)
2020-10-16 22:04:11 Rudd0 joins (~Rudd0@185.189.115.108)
2020-10-16 22:04:39 <monochrom> I don't use stack or stackage. But I think I understand that a stackage user would like to avoid getting search hits that hit outside stackage.
2020-10-16 22:06:29 <frdg> alright. As always I am confused about what stack even is. I used stack for my project and I was able to use packages from everywhere.
2020-10-16 22:06:33 <monochrom> I certainly do the parallel thing myself. When I'm looking for "getArgs" in the libraries I actually have, I'm not going to Google it worldwide.
2020-10-16 22:07:30 shafox joins (~shafox@106.51.234.111)
2020-10-16 22:07:44 skami joins (~user@24.225.186.176)
2020-10-16 22:07:45 <frdg> ohh stackage is like hackage.
2020-10-16 22:08:07 × theorbtwo quits (~theorb@cpc81860-swin19-2-0-cust166.3-1.cable.virginm.net) (Ping timeout: 246 seconds)
2020-10-16 22:08:09 <monochrom> stackage is a meticulously hand-checked subset of hackage.
2020-10-16 22:08:50 <frdg> ok I see
2020-10-16 22:08:52 × __monty__ quits (~toonn@unaffiliated/toonn) (Quit: leaving)
2020-10-16 22:09:09 <monochrom> and the subsetness is along at least 2 orthogonal axis at the same time.
2020-10-16 22:09:29 × hekkaidekapus_ quits (~tchouri@gateway/tor-sasl/hekkaidekapus) (Remote host closed the connection)
2020-10-16 22:09:52 hekkaidekapus_ joins (~tchouri@gateway/tor-sasl/hekkaidekapus)
2020-10-16 22:10:20 × nbloomf quits (~nbloomf@2600:1700:83e0:1f40:1998:2d6c:5e41:4ff5) (Quit: My MacBook has gone to sleep. ZZZzzz…)
2020-10-16 22:10:29 kupi joins (uid212005@gateway/web/irccloud.com/x-uvssjsekmuehxron)
2020-10-16 22:10:51 × Lycurgus quits (~niemand@98.4.96.235) (Quit: Exeunt)
2020-10-16 22:11:21 <monochrom> I had a software engineering prof who explained how to achieve reproducible, consistent build of legacy software. Say for example you have pretty old but time-tested code, you just need to fix a small bug.
2020-10-16 22:11:33 × dhil quits (~dhil@78.156.97.38) (Ping timeout: 258 seconds)
2020-10-16 22:12:22 <monochrom> You may have to be so anal down to the point you have to keep around the old compiler version you used last time, the old OS you used last time, the old hardware you used last time.
2020-10-16 22:12:44 × jsynacek quits (~jsynacek@ip-185-149-130-112.kmenet.cz) (Ping timeout: 272 seconds)
2020-10-16 22:13:02 <monochrom> stackage's purpose is doing that for library dependencies.

All times are in UTC.