Home freenode/#haskell: Logs Calendar

Logs: freenode/#haskell

←Prev  Next→ 502,152 events total
2021-03-26 23:29:30 × dcbdan quits (~dcbdan@c-73-76-129-120.hsd1.tx.comcast.net) (Quit: leaving)
2021-03-26 23:31:34 royal_screwup21 joins (52254809@gateway/web/cgi-irc/kiwiirc.com/ip.82.37.72.9)
2021-03-26 23:34:05 × solvr quits (57e3c46d@87.227.196.109) (Quit: Connection closed)
2021-03-26 23:34:37 wroathe joins (~wroathe@c-68-54-25-135.hsd1.mn.comcast.net)
2021-03-26 23:35:41 × royal_screwup21 quits (52254809@gateway/web/cgi-irc/kiwiirc.com/ip.82.37.72.9) (Ping timeout: 240 seconds)
2021-03-26 23:37:26 × Lowl3v3l quits (~Lowl3v3l@dslb-002-207-103-026.002.207.pools.vodafone-ip.de) (Ping timeout: 246 seconds)
2021-03-26 23:39:29 × borne quits (~fritjof@200116b864d14f00f7ed9fd86a2491f0.dip.versatel-1u1.de) (Ping timeout: 252 seconds)
2021-03-26 23:40:52 stree joins (~stree@68.36.8.116)
2021-03-26 23:41:38 merijn joins (~merijn@83-160-49-249.ip.xs4all.nl)
2021-03-26 23:43:34 × jrm quits (~jrm@freebsd/developer/jrm) (Ping timeout: 252 seconds)
2021-03-26 23:46:16 tzh joins (~tzh@c-24-21-73-154.hsd1.wa.comcast.net)
2021-03-26 23:47:01 nbloomf joins (~nbloomf@2600:1700:ad14:3020:8f7:80aa:e3bc:f79d)
2021-03-26 23:48:18 × frozenErebus quits (~frozenEre@94.128.81.87) (Ping timeout: 240 seconds)
2021-03-26 23:51:25 apache8080 joins (~rishi@wsip-70-168-153-252.oc.oc.cox.net)
2021-03-26 23:54:09 × zebrag quits (~inkbottle@aaubervilliers-654-1-109-157.w86-212.abo.wanadoo.fr) (Quit: Konversation terminated!)
2021-03-26 23:56:42 zebrag joins (~inkbottle@aaubervilliers-654-1-109-157.w86-212.abo.wanadoo.fr)
2021-03-26 23:57:16 × wonko7 quits (~wonko7@62.115.229.50) (Ping timeout: 260 seconds)
2021-03-27 00:01:30 × Narinas quits (~Narinas@187-178-93-112.dynamic.axtel.net) (Quit: Quit)
2021-03-27 00:04:10 × Yumasi quits (~guillaume@2a01:e0a:5cb:4430:8725:827a:4e58:6cfc) (Ping timeout: 258 seconds)
2021-03-27 00:05:44 <dgpratt> In e.g. .NET Core there is a configuration pattern that ostensibly makes it easy to configure an application from some combination of JSON config files, environment variables, command line arguments, etc. I don't necessarily need or want all of that (esp. the config files) for Haskell, but what sorts of patterns do Haskellers use to configure their programs?
2021-03-27 00:05:44 × Tuplanolla quits (~Tuplanoll@91-159-68-239.elisa-laajakaista.fi) (Quit: Leaving.)
2021-03-27 00:09:20 <monochrom> I don't use any systematic system. I just use "options" for command line arguments (more people use optparse-applicative), System.Environment.lookupEnv for environment variables.
2021-03-27 00:09:46 hackage qualified-imports-plugin 0.0.1 - GHC plugin to automatically insert qualified imports https://hackage.haskell.org/package/qualified-imports-plugin-0.0.1 (utdemir)
2021-03-27 00:10:11 thritycool joins (47a6379f@pool-71-166-55-159.bltmmd.fios.verizon.net)
2021-03-27 00:11:23 <curiousgay> can anyone please recommend FRP library for GUI?
2021-03-27 00:12:26 <L29Ah> curiousgay: whatever depending on gi-gtk
2021-03-27 00:12:45 <monochrom> Having multiple config sources does not cause any headache because since a long time ago people have recongized that configs form a monoid under one of the two priority rules.
2021-03-27 00:13:17 <monochrom> or at least a semigroup if you don't have defaults.
2021-03-27 00:14:21 <dgpratt> thanks monochrom -- any particular reason you eschew optparse-applicative?
2021-03-27 00:14:33 <monochrom> too many features
2021-03-27 00:14:40 <dgpratt> ah
2021-03-27 00:14:47 <monochrom> options has a much smaller API
2021-03-27 00:15:09 <DigitalKiwi> great sales pitch
2021-03-27 00:15:17 <monochrom> I used to use optparse-applicative when it was slightly smaller.
2021-03-27 00:15:41 × merijn quits (~merijn@83-160-49-249.ip.xs4all.nl) (Ping timeout: 240 seconds)
2021-03-27 00:16:51 <DigitalKiwi> https://github.com/obsidiansystems/obelisk curiousgay have you seen?
2021-03-27 00:17:19 <L29Ah> optparse-generic ♥
2021-03-27 00:17:38 <dgpratt> speaking of the monoid thing, I seem to recall seeing some scheme where one could combine a bunch of possibly "partial" configurations with a default configuration, which would then get combined into a...uh...not partial configuration
2021-03-27 00:17:38 × thritycool quits (47a6379f@pool-71-166-55-159.bltmmd.fios.verizon.net) (Quit: Connection closed)
2021-03-27 00:17:55 <curiousgay> L29Ah: hm, that's either reflex or reactive-banana, thanks
2021-03-27 00:18:17 <curiousgay> DigitalKiwi: yes, but I closed that page after seeing that it requires nix package manager
2021-03-27 00:18:28 <dgpratt> like the partial configurations was a bunch of Maybe values or something, but the resulting computed configuration was unwrapped values...if that makes sense
2021-03-27 00:18:30 × Axman6 quits (~Axman6@pdpc/supporter/student/Axman6) (Remote host closed the connection)
2021-03-27 00:18:46 Axman6 joins (~Axman6@pdpc/supporter/student/Axman6)
2021-03-27 00:18:55 <DigitalKiwi> curiousgay: that's the best part
2021-03-27 00:19:55 <curiousgay> DigitalKiwi: why? it could simply be placed in hackage
2021-03-27 00:20:24 ezrakilty joins (~ezrakilty@97-113-58-224.tukw.qwest.net)
2021-03-27 00:20:26 <DigitalKiwi> but nix isn't a haskell program how could it be on hackage
2021-03-27 00:20:54 <monochrom> "challenge accepted" >:D
2021-03-27 00:21:15 <monochrom> afterall, pandoc and xmonad are already on hackage
2021-03-27 00:21:16 <curiousgay> I'm talking about obelisk on hackage, not nix
2021-03-27 00:22:01 <curiousgay> also obelisk readme says it's for web and mobile apps, that's not what I want
2021-03-27 00:23:01 <monochrom> But it has a very substantial, used-in-anger FRP part.
2021-03-27 00:23:38 <c_wraith> Isn't the FRP part basically reflex?
2021-03-27 00:23:44 <monochrom> Or maybe it has one as a dependency, I don't know, but it is a very good starting point.
2021-03-27 00:24:08 <monochrom> Oh, reflex, yeah. So, problem solved?
2021-03-27 00:24:26 × ezrakilty quits (~ezrakilty@97-113-58-224.tukw.qwest.net) (Ping timeout: 240 seconds)
2021-03-27 00:24:30 <curiousgay> yes, I'll pick between reflex and reactive-banana
2021-03-27 00:24:33 × conal quits (~conal@64.71.133.70) (Quit: Computer has gone to sleep.)
2021-03-27 00:24:58 conal joins (~conal@64.71.133.70)
2021-03-27 00:26:38 × Tario quits (~Tario@201.192.165.173) (Read error: Connection reset by peer)
2021-03-27 00:26:46 <DigitalKiwi> https://dpaste.org/Q55R
2021-03-27 00:27:24 <curiousgay> FRP appears to be a form of dataflow programming :)
2021-03-27 00:27:34 Tario joins (~Tario@201.192.165.173)
2021-03-27 00:27:42 Nobita joins (ca0e7816@202.14.120.22)
2021-03-27 00:28:37 <curiousgay> I start hating stack, it's impossible to install gpipe, reflex and reactive-banana, I need to switch to cabal
2021-03-27 00:28:39 <DigitalKiwi> monochrom: lol https://hackage.haskell.org/package/hnix
2021-03-27 00:29:24 × conal quits (~conal@64.71.133.70) (Ping timeout: 252 seconds)
2021-03-27 00:29:33 × Nobita quits (ca0e7816@202.14.120.22) (Client Quit)
2021-03-27 00:31:54 <monochrom> "Is this Murphy's Law?" meme
2021-03-27 00:34:02 × star_cloud quits (~star_clou@ec2-34-220-44-120.us-west-2.compute.amazonaws.com) (Ping timeout: 265 seconds)
2021-03-27 00:34:27 × usr25 quits (~usr25@unaffiliated/usr25) (Quit: Leaving)
2021-03-27 00:34:38 × apache8080 quits (~rishi@wsip-70-168-153-252.oc.oc.cox.net) (Ping timeout: 240 seconds)
2021-03-27 00:37:26 <dgpratt> appreciating the apparent simplicity of optparse-generic, thanks L29Ah
2021-03-27 00:37:39 ReinH__ is now known as ReinH
2021-03-27 00:37:58 × codygman` quits (~user@47.186.207.161) (Ping timeout: 240 seconds)
2021-03-27 00:38:46 conal joins (~conal@64.71.133.70)
2021-03-27 00:42:11 <DigitalKiwi> nix is great in that it solves a ton of problems i had, even more i didn't know i had, makes things trivial that i didn't even think were possible or know i wanted, and creates a bunch of problems along the way! (and solves those too though lol)
2021-03-27 00:42:40 myShoggoth joins (~myShoggot@75.164.81.55)
2021-03-27 00:44:03 L29Ah is going to switch to nix or guix after they implement gentoo-like USE flags
2021-03-27 00:44:55 magnuscake joins (~magnuscak@87-121-92-61.dyn.launtel.net.au)
2021-03-27 00:44:59 <curiousgay> DigitalKiwi: I have enough package managers in void linux, more is less
2021-03-27 00:45:11 justsomeguy joins (~justsomeg@unaffiliated/--/x-3805311)
2021-03-27 00:45:47 <justsomeguy> /join/bc
2021-03-27 00:46:13 <ski> NemesisD : could use `State s' ..
2021-03-27 00:47:53 royal_screwup21 joins (52254809@gateway/web/cgi-irc/kiwiirc.com/ip.82.37.72.9)
2021-03-27 00:48:10 <DigitalKiwi> i have one package manager lol
2021-03-27 00:49:50 solvr joins (57e3c46d@87.227.196.109)
2021-03-27 00:51:01 <curiousgay> me too
2021-03-27 00:52:30 <justsomeguy> Only one? How did you do that? I have to interact with, erm, some of these on a semi-regular basis: (npm/yarn, pip/pipx/poetry, dnf/rpm, apt/dpkg, cabal/stack, docker/podman/etc).
2021-03-27 00:53:09 × Synthetica quits (uid199651@gateway/web/irccloud.com/x-txjeacswfxemjhpo) (Quit: Connection closed for inactivity)
2021-03-27 00:53:29 <justsomeguy> ...and then there's this weird LaTeX build tool that I keep on forgetting about...
2021-03-27 00:53:34 <L29Ah> i do everything through portage, including haskell stuff
2021-03-27 00:53:51 <L29Ah> cabal is used as a build system but not as a package manager
2021-03-27 00:54:20 <justsomeguy> Oh nice. That sounds pleasant. Maybe even sane :^).
2021-03-27 00:54:42 <monochrom> Switch to Windows. Then you have 0 package managers. >:)
2021-03-27 00:55:01 <DigitalKiwi> monochrom: i think you end up with hundreds of them really
2021-03-27 00:55:31 <L29Ah> but but but windows appstore or how was it called, how is it?
2021-03-27 00:55:40 <pjb> MSI
2021-03-27 00:55:47 <L29Ah> not sure if it can resolve dependencies though even

All times are in UTC.