Home freenode/#haskell: Logs Calendar

Logs: freenode/#haskell

←Prev  Next→
Page 1 .. 221 222 223 224 225 226 227 228 229 230 231 .. 5022
502,152 events total
2020-09-26 07:27:24 <dsal> I don't know what APIs are available, or how structured that might be. Making APIs for stuff like that isn't typically that hard if you have some idea what you're trying to accomplish.
2020-09-26 07:28:26 <dsal> Oh man, I just got the notification about sprinkler schedule for the day. I guess I should kill that software since I've removed all the hardware. :(
2020-09-26 07:29:23 × heatsink quits (~heatsink@107-136-5-69.lightspeed.sntcca.sbcglobal.net) (Ping timeout: 240 seconds)
2020-09-26 07:30:54 <fraktor> Does anyone have good resources on Monad Transformers? I really don't understand them that well
2020-09-26 07:32:19 <dsal> There's really not that much. Mostly, you just have IO and then you wrap a ReaderT around it so you can have an implicit variable passed around. Sometimes you throw in a MonadLogger or whatever and you `lift` to the next transformer up the stack.
2020-09-26 07:32:35 <c_wraith> :t lift
2020-09-26 07:32:37 <lambdabot> (MonadTrans t, Monad m) => m a -> t m a
2020-09-26 07:32:43 <c_wraith> that's really all you need to know :)
2020-09-26 07:32:51 <dsal> The only thing that's kind of hard is starting all the runXT things and then lift.
2020-09-26 07:32:59 <dsal> And usually you probably just need liftIO :)
2020-09-26 07:33:24 <c_wraith> honestly, I internalized monad transformers before monads. They don't involve nearly as complex of topics.
2020-09-26 07:33:28 <fraktor> ReaderT seems super useful but it's hard to understand
2020-09-26 07:34:21 <dsal> It's hard to understand because it sounds dumb. In practice, it just means you have a variable that's implicit.
2020-09-26 07:34:46 shad0w_ joins (~shad0w_@160.202.37.29)
2020-09-26 07:35:09 × v_m_v quits (~vm_v@2a02:aa12:3200:6480:f507:71a:9334:3099) (Remote host closed the connection)
2020-09-26 07:35:16 heatsink joins (~heatsink@107-136-5-69.lightspeed.sntcca.sbcglobal.net)
2020-09-26 07:35:23 <dsal> fraktor: This is a "I went too hard after a bunch of time" example, but: https://github.com/dustin/gopro/blob/master/src/GoPro/Commands.hs#L46-L61
2020-09-26 07:37:02 snakemasterflex joins (~snakemast@213.100.206.23)
2020-09-26 07:37:31 <dsal> Anything in GoPro knows its API credentials, DB location, argv, etc... So the aforementioned `fixup` command just has to do this: https://github.com/dustin/gopro/blob/master/src/GoPro/Commands/Fixup.hs#L19
2020-09-26 07:38:40 <dsal> Yeah, I should really have found something easier... this also pulls the whole environment to rewrap it in a database environment. Related: monads don't always compose well.
2020-09-26 07:39:25 × heatsink quits (~heatsink@107-136-5-69.lightspeed.sntcca.sbcglobal.net) (Ping timeout: 240 seconds)
2020-09-26 07:39:59 mnrmnaugh joins (~mnrmnaugh@unaffiliated/mnrmnaugh)
2020-09-26 07:42:25 <dsal> fraktor: Just try throwing a ReaderT at something where you're passing a bunch of junk around and see if you can make things easier.
2020-09-26 07:42:44 dsal needs to stop trying to be awake
2020-09-26 07:43:30 Dolly joins (585fd1fd@ti0203q160-5312.bb.online.no)
2020-09-26 07:44:29 × Dolly quits (585fd1fd@ti0203q160-5312.bb.online.no) (Remote host closed the connection)
2020-09-26 07:44:42 merijn joins (~merijn@83-160-49-249.ip.xs4all.nl)
2020-09-26 07:45:20 <fraktor> dsal: honestly same. I've had too much wine and too little sleep to learn rn
2020-09-26 07:45:28 heatsink joins (~heatsink@107-136-5-69.lightspeed.sntcca.sbcglobal.net)
2020-09-26 07:45:56 <MarcelineVQ> while drinking wine is exactly the time to be a wizard
2020-09-26 07:46:53 Tuplanolla joins (~Tuplanoll@91-159-68-239.elisa-laajakaista.fi)
2020-09-26 07:47:46 × cole-h quits (~cole-h@c-73-48-197-220.hsd1.ca.comcast.net) (Quit: Goodbye)
2020-09-26 07:49:59 × heatsink quits (~heatsink@107-136-5-69.lightspeed.sntcca.sbcglobal.net) (Ping timeout: 258 seconds)
2020-09-26 07:50:44 galagora joins (c5ed143c@197.237.20.60)
2020-09-26 07:52:35 × galagora quits (c5ed143c@197.237.20.60) (Remote host closed the connection)
2020-09-26 07:55:29 heatsink joins (~heatsink@107-136-5-69.lightspeed.sntcca.sbcglobal.net)
2020-09-26 07:59:57 × heatsink quits (~heatsink@107-136-5-69.lightspeed.sntcca.sbcglobal.net) (Ping timeout: 258 seconds)
2020-09-26 08:02:20 John20 joins (~John@82.46.59.122)
2020-09-26 08:04:47 × berberman quits (~berberman@2408:8207:256c:4a80:584e:a9ff:fe9b:d3fe) (Ping timeout: 246 seconds)
2020-09-26 08:05:06 berberman joins (~berberman@2408:8207:256c:d310:584e:a9ff:fe9b:d3fe)
2020-09-26 08:05:36 heatsink joins (~heatsink@107-136-5-69.lightspeed.sntcca.sbcglobal.net)
2020-09-26 08:07:01 × nbloomf quits (~nbloomf@2600:1700:83e0:1f40:cc55:612b:5adc:f6f1) (Quit: My MacBook has gone to sleep. ZZZzzz…)
2020-09-26 08:08:58 × mirrorbird quits (~psutcliff@m83-187-185-252.cust.tele2.se) (Ping timeout: 256 seconds)
2020-09-26 08:09:18 × zaquest quits (~notzaques@5.128.210.178) (Quit: Leaving)
2020-09-26 08:09:45 × heatsink quits (~heatsink@107-136-5-69.lightspeed.sntcca.sbcglobal.net) (Ping timeout: 240 seconds)
2020-09-26 08:10:23 zaquest joins (~notzaques@5.128.210.178)
2020-09-26 08:11:42 × mnrmnaugh quits (~mnrmnaugh@unaffiliated/mnrmnaugh) (Ping timeout: 265 seconds)
2020-09-26 08:12:19 isBEKaml joins (~isBEKaml@unaffiliated/isbekaml)
2020-09-26 08:12:39 mmohammadi98128 joins (~mmohammad@5.116.3.183)
2020-09-26 08:12:59 × mmohammadi98128 quits (~mmohammad@5.116.3.183) (Client Quit)
2020-09-26 08:13:03 × mmohammadi9812 quits (~mmohammad@2.178.197.45) (Read error: Connection reset by peer)
2020-09-26 08:13:37 mmohammadi9812 joins (~mmohammad@5.116.3.183)
2020-09-26 08:13:47 × cyphase quits (~cyphase@unaffiliated/cyphase) (Ping timeout: 240 seconds)
2020-09-26 08:14:05 × snakemasterflex quits (~snakemast@213.100.206.23) (Ping timeout: 240 seconds)
2020-09-26 08:14:39 × tomsmeding quits (~tomsmedin@tomsmeding.com) (Quit: ZNC 1.7.5 - https://znc.in)
2020-09-26 08:15:38 × inkbottle quits (~inkbottle@aaubervilliers-654-1-115-202.w86-198.abo.wanadoo.fr) (Quit: Konversation terminated!)
2020-09-26 08:15:46 × Orbstheorem quits (~roosember@hellendaal.orbstheorem.ch) (Ping timeout: 244 seconds)
2020-09-26 08:15:52 heatsink joins (~heatsink@107-136-5-69.lightspeed.sntcca.sbcglobal.net)
2020-09-26 08:15:57 inkbottle joins (~inkbottle@aaubervilliers-654-1-115-202.w86-198.abo.wanadoo.fr)
2020-09-26 08:16:01 tomsmeding joins (~tomsmedin@tomsmeding.com)
2020-09-26 08:18:26 × merijn quits (~merijn@83-160-49-249.ip.xs4all.nl) (Ping timeout: 246 seconds)
2020-09-26 08:18:51 mnrmnaugh joins (~mnrmnaugh@unaffiliated/mnrmnaugh)
2020-09-26 08:19:50 × mnrmnaugh quits (~mnrmnaugh@unaffiliated/mnrmnaugh) (Max SendQ exceeded)
2020-09-26 08:20:11 × heatsink quits (~heatsink@107-136-5-69.lightspeed.sntcca.sbcglobal.net) (Ping timeout: 246 seconds)
2020-09-26 08:20:40 snakemasterflex joins (~snakemast@213.100.206.23)
2020-09-26 08:22:33 mirrorbird joins (~psutcliff@2a00:801:42d:ae17:bde1:9f2f:16be:1acb)
2020-09-26 08:22:44 Orbstheorem joins (~roosember@hellendaal.orbstheorem.ch)
2020-09-26 08:22:52 × mmohammadi9812 quits (~mmohammad@5.116.3.183) (Read error: Connection reset by peer)
2020-09-26 08:24:09 kuribas joins (~user@ptr-25vy0i7b1r54f1gv0vq.18120a2.ip6.access.telenet.be)
2020-09-26 08:25:30 mmohammadi9812 joins (~mmohammad@5.116.3.183)
2020-09-26 08:25:40 o1lo01ol1o joins (~o1lo01ol1@bl8-213-81.dsl.telepac.pt)
2020-09-26 08:25:52 heatsink joins (~heatsink@107-136-5-69.lightspeed.sntcca.sbcglobal.net)
2020-09-26 08:29:13 × isBEKaml quits (~isBEKaml@unaffiliated/isbekaml) (Ping timeout: 260 seconds)
2020-09-26 08:30:40 × heatsink quits (~heatsink@107-136-5-69.lightspeed.sntcca.sbcglobal.net) (Ping timeout: 256 seconds)
2020-09-26 08:31:05 dhil joins (~dhil@11.29.39.217.dyn.plus.net)
2020-09-26 08:31:40 chaosmasttter joins (~chaosmast@p200300c4a7105f0120adba39e14d4586.dip0.t-ipconnect.de)
2020-09-26 08:32:39 isBEKaml joins (~isBEKaml@unaffiliated/isbekaml)
2020-09-26 08:34:17 × berberman quits (~berberman@2408:8207:256c:d310:584e:a9ff:fe9b:d3fe) (Quit: ZNC 1.7.5 - https://znc.in)
2020-09-26 08:34:29 berberman joins (~berberman@123.118.109.217)
2020-09-26 08:35:49 cyphase joins (~cyphase@unaffiliated/cyphase)
2020-09-26 08:36:17 × murphy_ quits (~murphy_@2604:2000:1281:8a9e:f9e2:b2b0:776f:fb0d) (Ping timeout: 246 seconds)
2020-09-26 08:37:28 murphy_ joins (~murphy_@2604:2000:1281:8a9e:d1f4:d14c:3b99:af32)
2020-09-26 08:38:35 × Orbstheorem quits (~roosember@hellendaal.orbstheorem.ch) (Ping timeout: 272 seconds)
2020-09-26 08:38:43 isBEKaml parts (~isBEKaml@unaffiliated/isbekaml) ()
2020-09-26 08:42:30 × cyphase quits (~cyphase@unaffiliated/cyphase) (Ping timeout: 272 seconds)
2020-09-26 08:42:31 × ChrisMarquardt quits (~ChrisMarq@84.39.117.57) (Remote host closed the connection)
2020-09-26 08:42:58 × berberman quits (~berberman@123.118.109.217) (Quit: ZNC 1.7.5 - https://znc.in)
2020-09-26 08:43:16 berberman joins (~berberman@123.118.109.217)
2020-09-26 08:43:32 × ericsagnes quits (~ericsagne@2405:6580:0:5100:4882:fcf:4dee:3726) (Ping timeout: 260 seconds)
2020-09-26 08:44:12 × hnOsmium0001 quits (uid453710@gateway/web/irccloud.com/x-ibhrcxsjgffyrrzh) (Quit: Connection closed for inactivity)
2020-09-26 08:44:47 × mirrorbird quits (~psutcliff@2a00:801:42d:ae17:bde1:9f2f:16be:1acb) (Quit: Leaving)
2020-09-26 08:45:04 mirrorbird joins (~psutcliff@2a00:801:42d:ae17:bde1:9f2f:16be:1acb)
2020-09-26 08:46:13 heatsink joins (~heatsink@107-136-5-69.lightspeed.sntcca.sbcglobal.net)
2020-09-26 08:46:38 mananamenos joins (~mananamen@84.122.202.215.dyn.user.ono.com)
2020-09-26 08:46:48 × tzh quits (~tzh@2601:448:c500:5300::82b3) (Quit: zzz)
2020-09-26 08:47:33 merijn joins (~merijn@83-160-49-249.ip.xs4all.nl)
2020-09-26 08:48:05 × berberman quits (~berberman@123.118.109.217) (Client Quit)
2020-09-26 08:48:30 berberman joins (~berberman@2408:8207:256c:d310::a44)
2020-09-26 08:49:29 Orbstheorem joins (~roosember@hellendaal.orbstheorem.ch)
2020-09-26 08:50:16 fendor joins (~fendor@178.115.129.156.wireless.dyn.drei.com)

All times are in UTC.