Logs: freenode/#haskell
| 2020-09-30 12:31:43 | × | heatsink quits (~heatsink@107-136-5-69.lightspeed.sntcca.sbcglobal.net) (Ping timeout: 260 seconds) |
| 2020-09-30 12:33:43 | × | gxt quits (~gxt@gateway/tor-sasl/gxt) (Ping timeout: 240 seconds) |
| 2020-09-30 12:34:36 | × | ericsagnes quits (~ericsagne@2405:6580:0:5100:302e:75f2:472:3c96) (Ping timeout: 244 seconds) |
| 2020-09-30 12:35:26 | × | shatriff quits (~vitaliish@176.52.219.10) (Remote host closed the connection) |
| 2020-09-30 12:35:27 | → | bahamas joins (~lucian@188.24.181.166) |
| 2020-09-30 12:35:27 | × | bahamas quits (~lucian@188.24.181.166) (Changing host) |
| 2020-09-30 12:35:27 | → | bahamas joins (~lucian@unaffiliated/bahamas) |
| 2020-09-30 12:35:44 | → | shatriff joins (~vitaliish@176.52.219.10) |
| 2020-09-30 12:35:57 | → | Alleria_ joins (~AllahuAkb@2604:2000:1484:26:59c0:566a:2725:87ae) |
| 2020-09-30 12:36:18 | → | gxt joins (~gxt@gateway/tor-sasl/gxt) |
| 2020-09-30 12:36:45 | × | idhugo quits (~idhugo@users-1190.st.net.au.dk) (Quit: Leaving) |
| 2020-09-30 12:37:09 | → | heatsink joins (~heatsink@107-136-5-69.lightspeed.sntcca.sbcglobal.net) |
| 2020-09-30 12:38:00 | → | wonko7 joins (~wonko7@2a01:e35:2ffb:36a0:8c5f:831a:4acc:45dd) |
| 2020-09-30 12:38:42 | → | AlterEgo- joins (~ladew@124-198-158-163.dynamic.caiway.nl) |
| 2020-09-30 12:39:34 | × | coot quits (~coot@37.30.60.139.nat.umts.dynamic.t-mobile.pl) (Ping timeout: 246 seconds) |
| 2020-09-30 12:41:20 | → | sagax joins (~sagax_nb@213.138.71.146) |
| 2020-09-30 12:41:42 | × | heatsink quits (~heatsink@107-136-5-69.lightspeed.sntcca.sbcglobal.net) (Ping timeout: 256 seconds) |
| 2020-09-30 12:45:05 | × | halogenandtoast quits (~halogenan@072-176-116-031.res.spectrum.com) (Quit: WeeChat 2.9) |
| 2020-09-30 12:47:17 | → | heatsink joins (~heatsink@107-136-5-69.lightspeed.sntcca.sbcglobal.net) |
| 2020-09-30 12:47:25 | → | ericsagnes joins (~ericsagne@2405:6580:0:5100:b4e9:399f:908f:6639) |
| 2020-09-30 12:50:07 | × | Orbstheorem quits (~roosember@hellendaal.orbstheorem.ch) (Ping timeout: 240 seconds) |
| 2020-09-30 12:51:55 | × | heatsink quits (~heatsink@107-136-5-69.lightspeed.sntcca.sbcglobal.net) (Ping timeout: 265 seconds) |
| 2020-09-30 12:53:46 | → | jgt joins (~jgt@188.239.64.32) |
| 2020-09-30 12:53:52 | → | Lodle joins (~Lodle@s91904426.blix.com) |
| 2020-09-30 12:57:22 | → | heatsink joins (~heatsink@107-136-5-69.lightspeed.sntcca.sbcglobal.net) |
| 2020-09-30 12:57:58 | hackage | servant-serf 0.0.1 - Generates a servant API module https://hackage.haskell.org/package/servant-serf-0.0.1 (goolord) |
| 2020-09-30 13:00:46 | → | carlomagno joins (~cararell@inet-hqmc02-o.oracle.com) |
| 2020-09-30 13:02:01 | × | heatsink quits (~heatsink@107-136-5-69.lightspeed.sntcca.sbcglobal.net) (Ping timeout: 260 seconds) |
| 2020-09-30 13:02:34 | → | snakemasterflex joins (~snakemast@213.100.206.23) |
| 2020-09-30 13:02:40 | × | bahamas quits (~lucian@unaffiliated/bahamas) (Ping timeout: 256 seconds) |
| 2020-09-30 13:03:00 | → | chaosmasttter joins (~chaosmast@p200300c4a70aba018412238bea948280.dip0.t-ipconnect.de) |
| 2020-09-30 13:03:30 | → | polyrain joins (~polyrain@2001:8003:e501:6901:988a:949a:6cb6:3522) |
| 2020-09-30 13:06:11 | → | st8less joins (~st8less@ip72-204-59-82.fv.ks.cox.net) |
| 2020-09-30 13:07:11 | → | hyperisco joins (~hyperisco@d192-186-117-226.static.comm.cgocable.net) |
| 2020-09-30 13:07:32 | → | heatsink joins (~heatsink@107-136-5-69.lightspeed.sntcca.sbcglobal.net) |
| 2020-09-30 13:11:35 | → | John20 joins (~John@82.46.59.122) |
| 2020-09-30 13:11:46 | × | heatsink quits (~heatsink@107-136-5-69.lightspeed.sntcca.sbcglobal.net) (Ping timeout: 246 seconds) |
| 2020-09-30 13:12:23 | × | ransom quits (~c4264035@c-73-243-2-10.hsd1.co.comcast.net) (Quit: My MacBook has gone to sleep. ZZZzzz…) |
| 2020-09-30 13:17:29 | × | Alleria_ quits (~AllahuAkb@2604:2000:1484:26:59c0:566a:2725:87ae) (Ping timeout: 244 seconds) |
| 2020-09-30 13:17:43 | → | heatsink joins (~heatsink@107-136-5-69.lightspeed.sntcca.sbcglobal.net) |
| 2020-09-30 13:18:23 | × | snakemasterflex quits (~snakemast@213.100.206.23) (Ping timeout: 260 seconds) |
| 2020-09-30 13:18:37 | → | Lowl3v3l joins (~Lowl3v3l@dslb-090-186-188-115.090.186.pools.vodafone-ip.de) |
| 2020-09-30 13:21:27 | → | Alleria_ joins (~AllahuAkb@2604:2000:1484:26:59c0:566a:2725:87ae) |
| 2020-09-30 13:22:36 | × | heatsink quits (~heatsink@107-136-5-69.lightspeed.sntcca.sbcglobal.net) (Ping timeout: 272 seconds) |
| 2020-09-30 13:22:57 | → | snakemasterflex joins (~snakemast@213.100.206.23) |
| 2020-09-30 13:25:54 | × | avdb quits (~avdb@ip-81-11-153-13.dsl.scarlet.be) (Quit: WeeChat 2.9) |
| 2020-09-30 13:26:16 | × | chaosmasttter quits (~chaosmast@p200300c4a70aba018412238bea948280.dip0.t-ipconnect.de) (Ping timeout: 244 seconds) |
| 2020-09-30 13:27:49 | → | heatsink joins (~heatsink@107-136-5-69.lightspeed.sntcca.sbcglobal.net) |
| 2020-09-30 13:29:47 | → | nbloomf joins (~nbloomf@2600:1700:83e0:1f40:1975:ad5b:4777:bf80) |
| 2020-09-30 13:30:57 | × | nbloomf quits (~nbloomf@2600:1700:83e0:1f40:1975:ad5b:4777:bf80) (Client Quit) |
| 2020-09-30 13:32:18 | × | heatsink quits (~heatsink@107-136-5-69.lightspeed.sntcca.sbcglobal.net) (Ping timeout: 256 seconds) |
| 2020-09-30 13:33:49 | × | tmciver quits (~tmciver@cpe-172-101-40-226.maine.res.rr.com) (Ping timeout: 264 seconds) |
| 2020-09-30 13:35:07 | × | acidjnk_new quits (~acidjnk@p200300d0c72378337d49dd4f750ab9d4.dip0.t-ipconnect.de) (Ping timeout: 240 seconds) |
| 2020-09-30 13:36:41 | → | motte joins (~weechat@unaffiliated/motte) |
| 2020-09-30 13:37:55 | → | heatsink joins (~heatsink@107-136-5-69.lightspeed.sntcca.sbcglobal.net) |
| 2020-09-30 13:38:25 | → | nbloomf joins (~nbloomf@2600:1700:83e0:1f40:2975:3225:75da:b702) |
| 2020-09-30 13:41:16 | <motte> | hi, i'm new to haskell and i would like to create a simple web server with basic access authentication. which library would best suit my needs? |
| 2020-09-30 13:41:35 | <Uniaika> | not Servant, whatever you might be told |
| 2020-09-30 13:41:43 | <Uniaika> | try Scotty and/or Yesod |
| 2020-09-30 13:42:01 | <motte> | huh, that's what i was looking at currently. what's wrong with it? |
| 2020-09-30 13:42:05 | <Taneb> | For this case I'd go scotty |
| 2020-09-30 13:42:06 | <Uniaika> | ah, if you want to *create* a web *server*, you might have to go at a lower level with Warp/WAI |
| 2020-09-30 13:42:20 | × | heatsink quits (~heatsink@107-136-5-69.lightspeed.sntcca.sbcglobal.net) (Ping timeout: 256 seconds) |
| 2020-09-30 13:42:27 | <Taneb> | servant is great if you want to have a large REST API. On the small, it's kind of got a lot of wasted power |
| 2020-09-30 13:42:32 | <Uniaika> | motte: you don't have the level/understanding of type-level programming to understand what you'll need to do in order to use it |
| 2020-09-30 13:42:37 | <opqdonut> | for a simple web server / backend, I'd just go with WAI & Warp directly |
| 2020-09-30 13:42:42 | <Uniaika> | just don't hurt yourself with Servant yet |
| 2020-09-30 13:43:05 | <motte> | the library should be as simple/minimal as possible, scalability isn't important etc. |
| 2020-09-30 13:43:20 | <Uniaika> | go with WAI and Warp then |
| 2020-09-30 13:43:23 | <Uniaika> | Godspeed! |
| 2020-09-30 13:43:37 | <motte> | alright, will check it out, thankss |
| 2020-09-30 13:43:48 | <hc> | lol, you don't need to understand any more type theory for servant than you do for getting along with warp/wai |
| 2020-09-30 13:44:05 | × | snakemasterflex quits (~snakemast@213.100.206.23) (Ping timeout: 240 seconds) |
| 2020-09-30 13:44:21 | <hc> | I mean, servant is already implemented; there are good howtos on how to use it |
| 2020-09-30 13:44:51 | <motte> | oh, also, i plan to keep the credentials in a /etc/shadow -like text file. anything for that? |
| 2020-09-30 13:44:52 | × | glguy quits (x@freenode/staff/haskell.developer.glguy) (Read error: Connection reset by peer) |
| 2020-09-30 13:45:01 | → | ransom joins (~c4264035@c-73-243-2-10.hsd1.co.comcast.net) |
| 2020-09-30 13:45:15 | <Uniaika> | hc: I did not mention type theory, I mentionned type-level programming - which is widely different |
| 2020-09-30 13:45:17 | → | glguy joins (x@freenode/staff/haskell.developer.glguy) |
| 2020-09-30 13:45:29 | <Uniaika> | at least type theory doesn't bring type error messages that are scary as shit |
| 2020-09-30 13:45:53 | <Uniaika> | motte: why don't you hash+salt them in a SQL row? |
| 2020-09-30 13:46:51 | → | aveltras joins (uid364989@gateway/web/irccloud.com/x-ituvpedwywfixetm) |
| 2020-09-30 13:47:11 | × | sword865 quits (uid208942@gateway/web/irccloud.com/x-ifbndlqlczbvfcan) (Quit: Connection closed for inactivity) |
| 2020-09-30 13:48:24 | <motte> | Uniaika: it's a pretty simple application, i don't think i need a database. just 1 configuration file for authorization and something for authentication |
| 2020-09-30 13:48:47 | <Uniaika> | well you can use a SQLite database if you don't want to bother with a DBMS :) |
| 2020-09-30 13:49:03 | <Uniaika> | I don't know if the /etc/shadow algorithm has an implementation in Haskell |
| 2020-09-30 13:49:04 | <motte> | i pretty much already have the whole thing implemented using mqtt, but then i realized i sometimes need to send responses as well |
| 2020-09-30 13:49:11 | <Uniaika> | that being said, it can be a fantastic side-project :P |
| 2020-09-30 13:49:40 | <motte> | in mqtt's case i let the broker deal with authentication |
| 2020-09-30 13:53:32 | × | Lodle quits (~Lodle@s91904426.blix.com) (Remote host closed the connection) |
| 2020-09-30 13:53:44 | × | whataday quits (~xxx@2400:8902::f03c:92ff:fe60:98d8) (Remote host closed the connection) |
| 2020-09-30 13:54:51 | → | whataday joins (~xxx@2400:8902::f03c:92ff:fe60:98d8) |
| 2020-09-30 13:55:27 | × | Clough quits (~Cain@190.121.220.203.dial.dynamic.acc01-fenw-glg.comindico.com.au) (Read error: Connection reset by peer) |
| 2020-09-30 13:55:34 | → | snakemasterflex joins (~snakemast@213.100.206.23) |
| 2020-09-30 13:58:15 | → | heatsink joins (~heatsink@107-136-5-69.lightspeed.sntcca.sbcglobal.net) |
| 2020-09-30 13:59:21 | → | nkly joins (~nkly@2a02:8109:9a80:a74:201:2eff:fe81:c6dd) |
| 2020-09-30 13:59:27 | × | ericsagnes quits (~ericsagne@2405:6580:0:5100:b4e9:399f:908f:6639) (Ping timeout: 240 seconds) |
| 2020-09-30 14:00:13 | × | jgt quits (~jgt@188.239.64.32) (Ping timeout: 264 seconds) |
| 2020-09-30 14:00:34 | → | isovector1 joins (~isovector@172.103.216.166) |
| 2020-09-30 14:01:01 | → | Amras joins (~Amras@unaffiliated/amras0000) |
All times are in UTC.