Home freenode/#haskell: Logs Calendar

Logs: freenode/#haskell

←Prev  Next→ 502,152 events total
2020-11-23 09:25:08 supercoven joins (~Supercove@dsl-hkibng31-54fae3-133.dhcp.inet.fi)
2020-11-23 09:25:08 × supercoven quits (~Supercove@dsl-hkibng31-54fae3-133.dhcp.inet.fi) (Max SendQ exceeded)
2020-11-23 09:31:10 × jbox quits (~atlas@unaffiliated/jbox) (Quit: WeeChat 2.9)
2020-11-23 09:34:14 travis_scott joins (~prateekpr@37.231.243.133)
2020-11-23 09:34:22 × star_cloud quits (~star_clou@ec2-34-220-44-120.us-west-2.compute.amazonaws.com) (Remote host closed the connection)
2020-11-23 09:34:33 phaul joins (~phaul@ruby/staff/phaul)
2020-11-23 09:34:46 × travis_scott quits (~prateekpr@37.231.243.133) (Quit: leaving)
2020-11-23 09:38:02 × Lycurgus quits (~niemand@98.4.114.74) (Quit: Exeunt)
2020-11-23 09:40:22 <merijn> kuribas: Hence why the typeclassy mtl approach doesn't work so well
2020-11-23 09:41:26 × cur8or quits (~cur8or@2c0f:fbe1:3:17:d58e:e362:b2fa:46da) (Ping timeout: 264 seconds)
2020-11-23 09:41:27 <kuribas> merijn: you mean the typeclasses don't show the order?
2020-11-23 09:41:45 <merijn> yeah
2020-11-23 09:41:52 × czwartyeon quits (~czwartyeo@77-45-55-99.sta.asta-net.com.pl) (Quit: WeeChat 3.0)
2020-11-23 09:42:46 <kuribas> That's why I never write functions that have mtl typeclass constraints.
2020-11-23 09:42:58 <kuribas> I just use them as convenience inside my own transformer stacks.
2020-11-23 09:43:56 czwartyeon joins (~czwartyeo@77-45-55-99.sta.asta-net.com.pl)
2020-11-23 09:43:58 <kuribas> where I already *know* the order, so it doesn't matter.
2020-11-23 09:44:53 × stu002 quits (77120261@119-18-2-97.771202.syd.nbn.aussiebb.net) (Remote host closed the connection)
2020-11-23 09:44:53 cur8or joins (~cur8or@72canterbury.cybersmart.co.za)
2020-11-23 09:45:41 cads joins (~cads@ip-64-72-99-232.lasvegas.net)
2020-11-23 09:46:23 heatsink joins (~heatsink@107-136-5-69.lightspeed.sntcca.sbcglobal.net)
2020-11-23 09:46:56 <cads> does ghc have installation directions hidden somewhere in the manual? I may be missing it https://downloads.haskell.org/ghc/latest/docs/html/users_guide/
2020-11-23 09:47:15 <cads> the 6.2 instructions had it as chapter 2 https://downloads.haskell.org/~ghc/6.2/docs/html/users_guide/users-guide.html
2020-11-23 09:48:47 <Uniaika> cads: https://www.haskell.org/ghcup/
2020-11-23 09:50:21 larou joins (5eae2591@gateway/web/cgi-irc/kiwiirc.com/ip.94.174.37.145)
2020-11-23 09:51:13 × heatsink quits (~heatsink@107-136-5-69.lightspeed.sntcca.sbcglobal.net) (Ping timeout: 264 seconds)
2020-11-23 09:51:52 <cads> thanks Uniaika
2020-11-23 09:52:04 <Uniaika> you're welcome
2020-11-23 09:52:26 cads likes that there are clear wsl instructions
2020-11-23 09:53:05 <cads> so the idea is that haskell platform takes care of install, so GHC docs don't need to have an install chapter?
2020-11-23 09:53:56 star_cloud joins (~star_clou@ec2-34-220-44-120.us-west-2.compute.amazonaws.com)
2020-11-23 09:55:11 <merijn> cads: tbh, the install instructions on *nix of GHC itself are basically just "./configure --prefix=path/to/install && make install" and in the README, so that doesn't really warrant a user guide thing. And the windows story is still a bit of a mess
2020-11-23 09:55:45 <cads> g h c u p - a slightly perverse claim :D
2020-11-23 09:58:48 <merijn> rats...I just realised I need to refactor my code to handle connections to multiple databases, that's gonna suck >.>
2020-11-23 09:59:16 <cads> merijn, I did see that, but of course I managed to encounter a totally inexcplicable make issue, and wished I had something more to sanity check that I had not missed some dependency or important config parameter
2020-11-23 09:59:36 <merijn> cads: Which platform? Linux?
2020-11-23 09:59:41 <cads> WSL
2020-11-23 09:59:53 <cads> so yes/no
2020-11-23 09:59:55 <merijn> ah, yeah, that's probably rather untested ;)
2020-11-23 10:00:35 <cads> well I will give credit to gh-ketchup, because the WSL solution /worked/ https://www.haskell.org/ghcup/
2020-11-23 10:01:26 <cads> and it's right there under my unobservant nose. It felt really good as a user experience to finally see something that I had some reason to believe will work <3
2020-11-23 10:01:26 × chkno quits (~chkno@75-7-2-127.lightspeed.sntcca.sbcglobal.net) (Read error: Connection reset by peer)
2020-11-23 10:01:46 <maerwald> gh-ketchup?
2020-11-23 10:01:53 chkno joins (~chkno@75-7-2-127.lightspeed.sntcca.sbcglobal.net)
2020-11-23 10:02:14 rsoeldner joins (c3916504@195.145.101.4)
2020-11-23 10:02:24 <cads> for some reason I see ghcup and my brain turns it into gh-ketchup
2020-11-23 10:02:40 oish joins (~charlie@228.25.169.217.in-addr.arpa)
2020-11-23 10:02:41 cads shrugs
2020-11-23 10:03:13 <Uniaika> cads: fantastic hahaha
2020-11-23 10:03:18 <cads> usually if I'm making a wierd mnemonic or nick-name that's a sign that I like it and will remember it
2020-11-23 10:03:39 × rsoeldner quits (c3916504@195.145.101.4) (Remote host closed the connection)
2020-11-23 10:03:51 <cads> Uniaika, whoever put that wsl line there has my specific thanks and admiration!
2020-11-23 10:03:55 <Uniaika> < merijn> rats...I just realised I need to refactor my code to handle connections to multiple databases, that's gonna suck >.> // RIP 💀
2020-11-23 10:04:08 <Uniaika> cads: héhé, you may ask for maerwald I think?
2020-11-23 10:04:22 <guest112`> is ghc available on linux distro on arm?
2020-11-23 10:04:34 <merijn> guest112`: Yes *
2020-11-23 10:04:44 <merijn> * - some masochism maybe required
2020-11-23 10:04:46 <Uniaika> *conditions may apply
2020-11-23 10:04:50 <guest112`> merijn: I tried archlinuxarm, there's no ghc yet
2020-11-23 10:04:57 <maerwald> https://downloads.haskell.org/~ghc/8.10.2/ghc-8.10.2-armv7-deb10-linux.tar.xz
2020-11-23 10:05:02 <Uniaika> guest112`: which ARM arch?
2020-11-23 10:05:22 <guest112`> Uniaika: arm v8
2020-11-23 10:05:24 <Uniaika> if it's armv7 there is a bindist, as maerwald showed
2020-11-23 10:05:25 <Uniaika> ah
2020-11-23 10:05:34 <guest112`> aha
2020-11-23 10:05:48 <maerwald> I think angerman is currently the only one doing ARM love?
2020-11-23 10:05:52 <merijn> guest112`: arm is a tier2 architecture, so it requires some amount of DIY involved, depending on exactly which architecture, etc.
2020-11-23 10:06:14 <guest112`> maerwald: it's debian only?
2020-11-23 10:06:51 <Uniaika> hmm I think it's for debian derivatives too, guest112`
2020-11-23 10:06:53 <maerwald> well, who cares... just have to fix your dynamic libs
2020-11-23 10:06:55 <guest112`> merijn: is it in debian's repo? could I use apt to install
2020-11-23 10:07:19 <angerman> PSA: Do not use arm for anything critical right now. The rts is seriously broken wrt correctness.
2020-11-23 10:07:35 <guest112`> dynamic libs on arm, I think that's a lot
2020-11-23 10:07:50 <angerman> Head with the llvm backend is ok, it you don’t use perf.
2020-11-23 10:08:42 f-a parts (~f-a@151.68.193.237) ()
2020-11-23 10:08:51 <angerman> If you must use older GHCs. Ensure you use single threaded only.
2020-11-23 10:09:43 <cads> merijn, do you think WSL will become the primary path for haskell on windows?
2020-11-23 10:09:52 <angerman> Patched 8.6.5 that’s somewhat usable https://github.com/input-output-hk/ghc/tree/release/8.6.5-iohk
2020-11-23 10:10:24 <angerman> Ghc 9.2 will likely be pretty good on arm.
2020-11-23 10:11:46 × guest112` quits (~user@49.5.6.87) (Quit: ERC (IRC client for Emacs 27.1))
2020-11-23 10:12:22 <arahael> angerman: Sweet. :)
2020-11-23 10:12:51 <cads> Uniaika, this is the commit that adds the line - thanks Julian Ospald / ! https://gitlab.haskell.org/haskell/ghcup-hs/-/commit/8c4cde3d14ca79e8dac95cc3fd63581be2cda4b2
2020-11-23 10:13:19 <cads> though I am not 100% on the attribution - could be a that Julian applied a patch
2020-11-23 10:14:53 <maerwald> lol
2020-11-23 10:15:17 <cads> lol, was it really you, maerwald ?
2020-11-23 10:15:57 × sphalerite quits (~sphalerit@NixOS/user/lheckemann) (Quit: reboot time!)
2020-11-23 10:16:16 <maerwald> gitlab shows nickname if you hover over the real name
2020-11-23 10:19:05 <aplainzetakind> So I can't handle encoding: https://gist.github.com/aplainzetakind/155843dab732f0aeffb5bb0e3b679021
2020-11-23 10:19:24 <aplainzetakind> When I try this out I gen invalid utf8 bytes.
2020-11-23 10:19:34 <aplainzetakind> s/gen/get
2020-11-23 10:19:44 <dminuoso> Of course, not every byte sequence is valid UTF8.
2020-11-23 10:20:01 <dminuoso> With md5 in the pipeline, you're essentially generating pseudo random bytes
2020-11-23 10:20:07 sphalerite joins (~sphalerit@NixOS/user/lheckemann)
2020-11-23 10:20:31 tomsmeding expects you want to encode the bytes as hexadecimal
2020-11-23 10:20:47 <aplainzetakind> That makes sense.
2020-11-23 10:21:09 × star_cloud quits (~star_clou@ec2-34-220-44-120.us-west-2.compute.amazonaws.com) (Remote host closed the connection)
2020-11-23 10:21:38 <dminuoso> aplainzetakind: Check out base16-bytestring
2020-11-23 10:21:47 <dminuoso> (Or base64-bytestring)
2020-11-23 10:23:21 <aplainzetakind> How do I get from String to those?
2020-11-23 10:24:13 × Jonkimi727406120 quits (~Jonkimi@113.87.161.66) (Ping timeout: 264 seconds)

All times are in UTC.