Logs on 2023-01-13 (liberachat/#haskell)
| 00:00:11 | → | machinedgod joins (~machinedg@d198-53-218-113.abhsia.telus.net) |
| 00:13:11 | × | mizlan quits (~mizlan@2607:f010:2a7:1005:94e1:194a:53e4:73b4) (Ping timeout: 246 seconds) |
| 00:14:17 | → | tjakway joins (~tjakway@cpe-107-184-74-161.socal.res.rr.com) |
| 00:14:58 | × | Tuplanolla quits (~Tuplanoll@91-159-68-152.elisa-laajakaista.fi) (Quit: Leaving.) |
| 00:20:59 | → | unit73e joins (~emanuel@2001:818:e8dd:7c00:656:e5ff:fe72:9d36) |
| 00:22:01 | → | mizlan joins (~mizlan@2607:f010:2a7:1005:94e1:194a:53e4:73b4) |
| 00:22:43 | × | tjakway quits (~tjakway@cpe-107-184-74-161.socal.res.rr.com) (Quit: WeeChat 3.5) |
| 00:23:40 | <unit73e> | meh looks like I didn't use binary package correctly. I've been using more and more abstractions over the years. I guess that's common with haskellers. |
| 00:24:47 | × | jao quits (~jao@cpc103048-sgyl39-2-0-cust502.18-2.cable.virginm.net) (Remote host closed the connection) |
| 00:25:32 | → | [itchyjunk] joins (~itchyjunk@user/itchyjunk/x-7353470) |
| 00:34:02 | → | ddellacosta joins (~ddellacos@143.244.47.100) |
| 00:35:55 | → | laalyn joins (~laalyn@c-73-241-126-7.hsd1.ca.comcast.net) |
| 00:37:28 | <cheater> | @faq can haskell run java? |
| 00:37:28 | <lambdabot> | https://wiki.haskell.org/FAQ |
| 00:37:32 | <cheater> | :( |
| 00:38:12 | → | jao joins (~jao@92.233.85.247) |
| 00:38:45 | <geekosaur> | dons's cheeky answer went away a decade or so ago |
| 00:38:53 | <cheater> | i know |
| 00:38:58 | <jackdk> | cheater: https://www.tweag.io/blog/tags/inline-java/ Tweag was doing stuff with an `inline-java` package for a while |
| 00:39:05 | <unit73e> | what was the checky answer? |
| 00:39:14 | <geekosaur> | "Yes! Haskell can do that!" |
| 00:39:20 | <cheater> | no, it wasn't |
| 00:39:30 | <cheater> | it was |
| 00:39:32 | <cheater> | "Yes, Haskell can do that!" |
| 00:39:53 | <unit73e> | lol precision |
| 00:40:09 | <cheater> | the comma is ontological |
| 00:40:52 | <unit73e> | I guess that was at a time java was very popular? most programming programming language can run java |
| 00:41:43 | <unit73e> | java latest stealing from haskell was records btw |
| 00:41:47 | <unit73e> | the name |
| 00:42:10 | <unit73e> | no derives or any of that fancy stuff though |
| 00:44:38 | <unit73e> | scala has case class, kotlin has data class, and java chose to borrow "record" from haskell. the most sensible name imo, case class is the worst. |
| 00:49:48 | × | kjak quits (~kjak@pool-72-66-75-40.washdc.fios.verizon.net) (Ping timeout: 265 seconds) |
| 00:50:29 | → | kjak joins (~kjak@pool-72-66-75-40.washdc.fios.verizon.net) |
| 00:51:33 | × | lagash_ quits (lagash@lagash.shelltalk.net) (Quit: ZNC - https://znc.in) |
| 00:55:32 | → | lagash_ joins (lagash@lagash.shelltalk.net) |
| 00:56:50 | × | zeenk quits (~zeenk@2a02:2f04:a014:8700::fba) (Quit: Konversation terminated!) |
| 00:59:04 | → | razetime joins (~Thunderbi@117.193.7.219) |
| 00:59:54 | → | bitdex joins (~bitdex@gateway/tor-sasl/bitdex) |
| 01:04:23 | × | bitdex quits (~bitdex@gateway/tor-sasl/bitdex) (Ping timeout: 255 seconds) |
| 01:09:47 | <EvanR> | I used java-bridge once |
| 01:10:35 | × | albet70 quits (~xxx@2400:8902::f03c:92ff:fe60:98d8) (Remote host closed the connection) |
| 01:12:15 | <monochrom> | Haskell2010 still has reserved room for FFI calling conventions cplusplus, jvm, dotnet, but leaving them open, waiting for the next generation to specify them. :) |
| 01:12:55 | × | tremon quits (~tremon@83-85-213-108.cable.dynamic.v4.ziggo.nl) (Quit: getting boxed in) |
| 01:13:42 | → | justsomeguy joins (~justsomeg@user/justsomeguy) |
| 01:16:34 | × | freeside quits (~mengwong@bb115-66-48-84.singnet.com.sg) (Ping timeout: 272 seconds) |
| 01:16:42 | → | albet70 joins (~xxx@2400:8902::f03c:92ff:fe60:98d8) |
| 01:19:58 | → | wroathe joins (~wroathe@207-153-38-140.fttp.usinternet.com) |
| 01:19:58 | × | wroathe quits (~wroathe@207-153-38-140.fttp.usinternet.com) (Changing host) |
| 01:19:58 | → | wroathe joins (~wroathe@user/wroathe) |
| 01:22:15 | → | bitdex joins (~bitdex@gateway/tor-sasl/bitdex) |
| 01:26:09 | → | talismanick joins (~talismani@campus-114-208.ucdavis.edu) |
| 01:27:55 | × | xff0x_ quits (~xff0x@2405:6580:b080:900:c56:6e84:5fde:af1e) (Ping timeout: 252 seconds) |
| 01:28:08 | × | mizlan quits (~mizlan@2607:f010:2a7:1005:94e1:194a:53e4:73b4) (Ping timeout: 255 seconds) |
| 01:30:07 | → | mizlan joins (~mizlan@89.46.114.56) |
| 01:30:23 | → | freeside joins (~mengwong@bb115-66-48-84.singnet.com.sg) |
| 01:35:59 | × | freeside quits (~mengwong@bb115-66-48-84.singnet.com.sg) (Ping timeout: 260 seconds) |
| 01:36:53 | → | mizlan_ joins (~mizlan@2607:f010:2a7:1005:94e1:194a:53e4:73b4) |
| 01:39:11 | × | mizlan quits (~mizlan@89.46.114.56) (Ping timeout: 264 seconds) |
| 01:47:01 | → | moonsheep joins (~moonsheep@user/moonsheep) |
| 01:47:35 | × | talismanick quits (~talismani@campus-114-208.ucdavis.edu) (Ping timeout: 264 seconds) |
| 01:52:22 | <glguy> | Does eta still exist? |
| 01:55:05 | × | kimjetwav quits (~user@2607:fea8:235e:b600:eeaa:dbc4:ae4b:9b7c) (Ping timeout: 256 seconds) |
| 01:55:28 | × | mizlan_ quits (~mizlan@2607:f010:2a7:1005:94e1:194a:53e4:73b4) (Ping timeout: 260 seconds) |
| 01:56:11 | <DigitalKiwi> | last i heard the dev got a job working on something not eta |
| 01:58:42 | <DigitalKiwi> | unit73e: the bot used to respond to every question of the form "can haskell _" or some such not just "run java" with "yes, haskell can do that!" |
| 01:59:40 | <unit73e> | lol |
| 02:00:07 | <unit73e> | so haskell used to be able to do me a sandwich |
| 02:00:24 | <unit73e> | with coffee |
| 02:01:10 | <DigitalKiwi> | there's probably an arduino coffee cup heater and you can program arduinos with haskell so.... |
| 02:01:37 | <DigitalKiwi> | https://joeyh.name/blog/entry/announcing_arduino-copilot/ |
| 02:03:17 | → | TonyStone joins (~TonyStone@cpe-74-76-57-186.nycap.res.rr.com) |
| 02:03:23 | <DigitalKiwi> | glguy: hi buddy :D how're you |
| 02:04:56 | → | freeside joins (~mengwong@bb115-66-48-84.singnet.com.sg) |
| 02:12:50 | → | xff0x_ joins (~xff0x@125x103x176x34.ap125.ftth.ucom.ne.jp) |
| 02:12:58 | → | abhixec joins (~abhinav@c-67-169-139-16.hsd1.ca.comcast.net) |
| 02:15:27 | × | gen43 quits (~Rahul_San@user/oldfashionedcow) (Quit: WeeChat 3.7.1) |
| 02:24:21 | → | mizlan joins (~mizlan@2607:f010:2e9:21:4d77:68e3:90e8:57ac) |
| 02:27:04 | × | zaquest quits (~notzaques@5.130.79.72) (Remote host closed the connection) |
| 02:28:50 | × | mizlan quits (~mizlan@2607:f010:2e9:21:4d77:68e3:90e8:57ac) (Ping timeout: 260 seconds) |
| 02:30:58 | × | machinedgod quits (~machinedg@d198-53-218-113.abhsia.telus.net) (Ping timeout: 268 seconds) |
| 02:36:00 | × | hsw quits (~hsw@112-104-142-182.adsl.dynamic.seed.net.tw) (Quit: Leaving) |
| 02:38:03 | × | unit73e quits (~emanuel@2001:818:e8dd:7c00:656:e5ff:fe72:9d36) (Ping timeout: 248 seconds) |
| 02:42:51 | × | fizbin quits (~fizbin@user/fizbin) (Ping timeout: 248 seconds) |
| 02:43:40 | × | accord quits (uid568320@id-568320.hampstead.irccloud.com) (Quit: Connection closed for inactivity) |
| 02:46:33 | × | ec__ quits (~ec@gateway/tor-sasl/ec) (Remote host closed the connection) |
| 02:47:09 | → | ec__ joins (~ec@gateway/tor-sasl/ec) |
| 02:49:30 | → | eggplantade joins (~Eggplanta@2600:1700:38c5:d800:54fb:433:f271:a472) |
| 02:50:50 | → | Guest|9 joins (~Guest|9@d173-180-234-92.bchsia.telus.net) |
| 02:51:50 | × | beteigeuze quits (~Thunderbi@a79-169-109-107.cpe.netcabo.pt) (Quit: beteigeuze) |
| 02:52:13 | → | beteigeuze joins (~Thunderbi@a79-169-109-107.cpe.netcabo.pt) |
| 02:53:50 | × | eggplantade quits (~Eggplanta@2600:1700:38c5:d800:54fb:433:f271:a472) (Ping timeout: 246 seconds) |
| 02:56:01 | × | jero98772 quits (~jero98772@2800:484:1d80:d8ce:9815:cfda:3661:17bb) (Remote host closed the connection) |
| 02:59:24 | × | beteigeuze quits (~Thunderbi@a79-169-109-107.cpe.netcabo.pt) (Ping timeout: 260 seconds) |
| 03:04:11 | × | Guest|9 quits (~Guest|9@d173-180-234-92.bchsia.telus.net) (Quit: Connection closed) |
| 03:09:07 | × | freeside quits (~mengwong@bb115-66-48-84.singnet.com.sg) (Ping timeout: 252 seconds) |
| 03:10:08 | → | werneta joins (~werneta@70-142-214-115.lightspeed.irvnca.sbcglobal.net) |
| 03:13:32 | → | eggplantade joins (~Eggplanta@2600:1700:38c5:d800:54fb:433:f271:a472) |
| 03:15:31 | <Inst> | so disappointing, there's like no major webdev users of Haskell ;_; |
| 03:15:35 | <Inst> | possibly a cultural mismatch |
| 03:16:14 | <sm> | Inst: the IHP community is pretty active |
| 03:16:19 | <Axman6> | what makesd you think that profound statement is true? |
| 03:17:48 | <sm> | I like the Southern Exposure Seed Exchange mentioned at https://www.reddit.com/r/haskell/comments/fafvd4/any_examples_of_large_haskell_web_apis/ |
| 03:17:55 | <Inst> | define active |
| 03:17:57 | <Inst> | https://ihp.digitallyinduced.com/community/ |
| 03:18:26 | <Inst> | Axman6: I hang around with JSers on Codewars, etc, and I try to cajole all the hobby-level JS to Haskellers to make more apps in Haskell and try to push it into production |
| 03:18:38 | <sm> | lots of updates and happy sounds from users. Please define major webdev users ? |
| 03:18:49 | <Inst> | I put up a thread, but it's hard for me to see people building substantial stuff with Haskell server kits |
| 03:19:06 | × | ec__ quits (~ec@gateway/tor-sasl/ec) (Remote host closed the connection) |
| 03:19:11 | → | ec joins (~ec@gateway/tor-sasl/ec) |
| 03:19:21 | <Inst> | and generally, Haskell websites don't look well-designed; maybe they understand their audience (put off by frapperies) |
| 03:19:42 | × | mechap quits (~mechap@user/mechap) (Ping timeout: 252 seconds) |
| 03:19:48 | <Axman6> | Inst: why do you do that? It seems like something that's only going to annoy people. you seem to have an obsession with making haskell "successful" when it already is successful in the ways that matter to us. We don't have any ambitions to by python or ruby |
| 03:20:33 | <Inst> | newbie enthusiasm, i guess |
| 03:20:52 | <maerwald> | true, let them be enthusiastic before reality hits them |
| 03:21:19 | <sm> | Haskell hasn't reached ruby on rails level of excitement for web dev, but I think a fair number of web apps and apis are using it without fuss |
| 03:21:38 | → | mechap joins (~mechap@user/mechap) |
| 03:21:52 | <Axman6> | yep, it's probably one of the places that Haskell in production is most common |
| 03:22:58 | <sm> | re well-designed, in the graphic/UX sense - it's of course possible but people don't reach for haskell for that, so the set of pretty haskell web apps is quite small |
| 03:23:03 | <Axman6> | Also I'm not sure a quiet forum indicates a lack of use, it could also indicate a lack of problems; most people don't go on a forum just to say "Another day of using IHP, I didn't run into any bugs today" |
| 03:23:43 | → | freeside joins (~mengwong@bb115-66-48-84.singnet.com.sg) |
| 03:24:06 | <sm> | let's hope :) |
| 03:24:20 | <sm> | it's still on my list to try |
| 03:25:36 | <Axman6> | yeah I don't tend have many reasons to do web dev, but I would like to give it a go too |
| 03:26:07 | <sm> | a 1G vps isn't big enough for the nix install, must try again |
| 03:28:07 | <Axman6> | Damn, looks like it's come a long way since I last looked at it, looks really slick |
| 03:31:15 | × | Katarushisu quits (~Katarushi@cpc147790-finc20-2-0-cust502.4-2.cable.virginm.net) (Quit: Ping timeout (120 seconds)) |
| 03:31:33 | → | Katarushisu joins (~Katarushi@cpc147790-finc20-2-0-cust502.4-2.cable.virginm.net) |
| 03:32:17 | <jackdk> | I'll say it: we just had another week of Haskell web services where nothing broke. Haven't looked into the IHPverse though... |
| 03:32:33 | <jackdk> | Just like many weeks before it. |
| 03:33:12 | <sm> | jackdk: sounds pretty boring. Love it. :) |
| 03:33:47 | <jackdk> | Haskell makes writing software a lot more boring. It's pretty cool. |
| 03:33:51 | <Axman6> | I've been told by my previous boss the web service I wrote... 8 years ago... is still running just fine in production |
| 03:35:37 | <sm> | BORING |
| 03:36:38 | <sm> | I would like to know of one really snazzy-looking haskell web app, if anyone knows one. |
| 03:36:59 | <sm> | I know that's nothing to do with haskell, except good for perception |
| 03:37:12 | <Axman6> | yeah, it just sits there, using minimal memory, performing well, day in, day out. Basically wrote myself out of a job |
| 03:37:15 | × | hueso quits (~root@user/hueso) (Quit: hueso) |
| 03:37:28 | <sm> | doh |
| 03:38:12 | <Axman6> | (not really) |
| 03:38:16 | × | waleee quits (~waleee@2001:9b0:213:7200:cc36:a556:b1e8:b340) (Ping timeout: 252 seconds) |
| 03:38:25 | <Axman6> | IHP have some case studies on their website |
| 03:38:31 | <monochrom> | How about hackage? How much of hackage is written in Haskell? |
| 03:39:04 | × | troydm quits (~troydm@user/troydm) (Ping timeout: 272 seconds) |
| 03:39:40 | <sm> | yup hackage is certainly a serious web app |
| 03:39:56 | <maerwald> | I don't like how the search behaves since a couple of months |
| 03:40:01 | <maerwald> | it's slower and not streaming results |
| 03:40:09 | <sm> | now I'm thinking of the Daedalus wallet app, but I'm not sure which parts are haskell |
| 03:40:16 | <maerwald> | sm: none |
| 03:40:22 | <maerwald> | it's js/electron |
| 03:40:31 | sm | checks https://flora.pm |
| 03:40:52 | <sm> | no haskell involved ? |
| 03:41:48 | <sm> | https://www.haskellers.com is still going |
| 03:43:22 | <sm> | https://hub.darcs.net/dolio is a serious web app, though not fancy |
| 03:43:35 | <sm> | er, not just dolio's part. |
| 03:50:07 | × | [itchyjunk] quits (~itchyjunk@user/itchyjunk/x-7353470) (Read error: Connection reset by peer) |
| 03:51:13 | → | finsternis joins (~X@23.226.237.192) |
| 03:52:43 | × | myxokephale quits (~myxokepha@cpe-65-28-251-121.cinci.res.rr.com) (Quit: myxokephale) |
| 03:52:57 | → | myxokephale joins (~myxokepha@cpe-65-28-251-121.cinci.res.rr.com) |
| 03:54:43 | → | finn_elija joins (~finn_elij@user/finn-elija/x-0085643) |
| 03:54:43 | × | FinnElija quits (~finn_elij@user/finn-elija/x-0085643) (Killed (NickServ (Forcing logout FinnElija -> finn_elija))) |
| 03:54:43 | finn_elija | is now known as FinnElija |
| 03:56:44 | × | myxokephale quits (~myxokepha@cpe-65-28-251-121.cinci.res.rr.com) (Client Quit) |
| 03:56:48 | <Inst> | hackage is supposed to be on happstack, no? |
| 03:57:07 | → | myxokephale joins (~myxokepha@cpe-65-28-251-121.cinci.res.rr.com) |
| 03:57:41 | → | troydm joins (~troydm@user/troydm) |
| 03:58:12 | <Inst> | i was just more disappointed that there were no good user testimonials for Haskell from web developers on the thread I put up |
| 03:59:45 | × | myxokephale quits (~myxokepha@cpe-65-28-251-121.cinci.res.rr.com) (Client Quit) |
| 04:00:01 | → | myxokephale joins (~myxokepha@cpe-65-28-251-121.cinci.res.rr.com) |
| 04:00:14 | → | hueso joins (~root@user/hueso) |
| 04:00:15 | × | myxokephale quits (~myxokepha@cpe-65-28-251-121.cinci.res.rr.com) (Client Quit) |
| 04:00:40 | → | myxokephale joins (~myxokepha@cpe-65-28-251-121.cinci.res.rr.com) |
| 04:01:29 | <sm> | yes it's build on happstack |
| 04:01:52 | × | td_ quits (~td@83.135.9.35) (Ping timeout: 272 seconds) |
| 04:02:07 | <DigitalKiwi> | sm: do you have swap on your 1G VPS |
| 04:02:46 | <sm> | probably a little, but that's too slow for haskell work, I bumped it up to 4G today |
| 04:03:04 | <sm> | needed it for compiling haskell programs too |
| 04:03:12 | <DigitalKiwi> | a lot of (nix/haskell) things that don't work on small systems work with a bit of swap |
| 04:03:28 | → | td_ joins (~td@83.135.9.14) |
| 04:03:40 | × | qhong_ quits (~qhong@rescomp-21-400677.stanford.edu) (Read error: Connection reset by peer) |
| 04:03:44 | <DigitalKiwi> | nix haskell or otherwise won't like 1g without swap ime |
| 04:04:21 | <DigitalKiwi> | 21:36 sm: I would like to know of one really snazzy-looking haskell web app, if anyone knows one. |
| 04:04:29 | <DigitalKiwi> | https://mostlyabsurd.com/gallery/ |
| 04:04:32 | <DigitalKiwi> | ;) |
| 04:04:39 | <monochrom> | heh |
| 04:04:47 | <sm> | 512M swap, it has |
| 04:05:22 | → | qhong joins (~qhong@rescomp-21-400677.stanford.edu) |
| 04:05:25 | <DigitalKiwi> | i usually do 2-4 but at least 1GB |
| 04:05:40 | <sm> | very cool. https://mostlyabsurd.com/pieces/2019/12/30/nixos-lambda/ |
| 04:07:38 | <DigitalKiwi> | thanks |
| 04:10:20 | <DigitalKiwi> | i've nixos and haskell on raspberry pi 3b+ successfully with enough swap lol |
| 04:14:10 | <sm> | "I only started learning Haskell last year, simultaneously with IHP, and have not worked with other Haskell frameworks so I am not able to compare it with others. However, as a beginner, it was very easy to get going and has been an effective way to learn Haskell for me. After using it for a while now and moving somewhat beyond complete beginner skills, I still find it more than sufficient for my needs. So definitely yes, I would recommend it." |
| 04:14:45 | <DigitalKiwi> | sm they never said if they didn't mind tsk tsk |
| 04:15:18 | <DigitalKiwi> | 22:11 sm: that's very cool, thanks |
| 04:15:19 | <DigitalKiwi> | 22:12 sm: if you don't mind I'll quote that in the other-room web dev chat |
| 04:15:21 | <DigitalKiwi> | 22:13 DigitalKiwi: and if you do mind i will quote it instead because i'm rude and you're already anonymous lol |
| 04:26:46 | × | hueso quits (~root@user/hueso) (Quit: hueso) |
| 04:30:32 | <Inst> | I wonder if IHP is viable as a place to drop off people who want to learn Haskell, since it gets them to do something practical with the language |
| 04:32:50 | × | caryhartline quits (~caryhartl@2600:1700:2d0:8d30:c1fe:ec76:ecb9:a42c) (Quit: caryhartline) |
| 04:33:57 | × | bitdex quits (~bitdex@gateway/tor-sasl/bitdex) (Remote host closed the connection) |
| 04:35:32 | → | bitdex joins (~bitdex@gateway/tor-sasl/bitdex) |
| 04:36:21 | → | hueso joins (~root@user/hueso) |
| 04:38:36 | × | ddellacosta quits (~ddellacos@143.244.47.100) (Ping timeout: 272 seconds) |
| 04:39:46 | <DigitalKiwi> | help is this what you would call a recursive make (considered harmful) https://www.dropbox.com/s/gyyik9qpl1b62mj/2023-01-12%2022.21.47.jpg?dl=0 |
| 04:41:27 | × | hueso quits (~root@user/hueso) (Quit: hueso) |
| 04:44:15 | → | hueso joins (~root@user/hueso) |
| 04:49:16 | × | johnw_ quits (~johnw@2600:1700:cf00:db0:bdcf:33ab:b8ee:3af) (Quit: ZNC - http://znc.in) |
| 05:01:11 | × | hueso quits (~root@user/hueso) (Quit: hueso) |
| 05:03:59 | → | hueso joins (~root@user/hueso) |
| 05:04:02 | × | rustisafungus quits (~segfaultf@23-93-74-212.fiber.dynamic.sonic.net) (Ping timeout: 246 seconds) |
| 05:04:41 | × | azimut quits (~azimut@gateway/tor-sasl/azimut) (Ping timeout: 255 seconds) |
| 05:06:28 | × | jao quits (~jao@92.233.85.247) (Ping timeout: 272 seconds) |
| 05:08:13 | × | kaskal quits (~kaskal@213-147-167-253.nat.highway.webapn.at) (Ping timeout: 268 seconds) |
| 05:11:19 | <sm> | Inst: yes, by all accounts it is a good place for at least some people |
| 05:11:52 | <sm> | server side web dev heads, at least |
| 05:14:46 | <sm> | some might do better at https://code.world and then https://code.world/haskell |
| 05:27:21 | × | hueso quits (~root@user/hueso) (Quit: hueso) |
| 05:28:14 | → | Lycurgus joins (~juan@user/Lycurgus) |
| 05:33:38 | → | hueso joins (~root@user/hueso) |
| 05:44:44 | × | hgolden quits (~hgolden@cpe-172-251-233-141.socal.res.rr.com) (Remote host closed the connection) |
| 05:47:35 | × | justsomeguy quits (~justsomeg@user/justsomeguy) (Ping timeout: 264 seconds) |
| 05:51:18 | → | talismanick joins (~talismani@2601:200:c181:8250::ce24) |
| 05:57:21 | × | sayola quits (~sayola@ipservice-092-213-087-211.092.213.pools.vodafone-ip.de) (Read error: Connection reset by peer) |
| 05:59:06 | → | sayola joins (~sayola@ipservice-092-213-087-211.092.213.pools.vodafone-ip.de) |
| 06:02:08 | × | L29Ah quits (~L29Ah@wikipedia/L29Ah) (Read error: Connection reset by peer) |
| 06:07:28 | × | ec quits (~ec@gateway/tor-sasl/ec) (Remote host closed the connection) |
| 06:08:14 | → | ec joins (~ec@gateway/tor-sasl/ec) |
| 06:14:14 | × | v0id_ptr quits (~adrift@user/ptr-frac7al/x-0038398) (Ping timeout: 272 seconds) |
| 06:18:03 | → | trev joins (~trev@user/trev) |
| 06:21:47 | <Inst> | thanks for bringing up codeworld, sm |
| 06:22:04 | <Inst> | I've ALWAYS wanted to learn FRP, but never had a good angle, three penny gui was too hard |
| 06:22:18 | → | tromp joins (~textual@92-110-219-57.cable.dynamic.v4.ziggo.nl) |
| 06:28:04 | × | FinnElija quits (~finn_elij@user/finn-elija/x-0085643) (Remote host closed the connection) |
| 06:29:21 | → | FinnElija joins (~finn_elij@user/finn-elija/x-0085643) |
| 06:30:49 | × | wroathe quits (~wroathe@user/wroathe) (Ping timeout: 252 seconds) |
| 06:32:28 | × | tromp quits (~textual@92-110-219-57.cable.dynamic.v4.ziggo.nl) (Quit: My iMac has gone to sleep. ZZZzzz…) |
| 06:32:38 | → | takuan joins (~takuan@178-116-218-225.access.telenet.be) |
| 06:42:19 | nerdypepper | is now known as np |
| 06:43:34 | → | v0id_ptr joins (~adrift@user/ptr-frac7al/x-0038398) |
| 06:49:07 | → | mei joins (~mei@user/mei) |
| 06:52:29 | × | Lycurgus quits (~juan@user/Lycurgus) (Quit: Exeunt: personae.ai-integration.biz) |
| 06:56:14 | × | chiselfuse quits (~chiselfus@user/chiselfuse) (Remote host closed the connection) |
| 06:58:11 | × | tcard quits (~tcard@2400:4051:5801:7500:cf17:befc:ff82:5303) (Quit: Leaving) |
| 07:00:07 | → | tcard joins (~tcard@2400:4051:5801:7500:cf17:befc:ff82:5303) |
| 07:02:21 | → | tromp joins (~textual@92-110-219-57.cable.dynamic.v4.ziggo.nl) |
| 07:02:58 | × | tromp quits (~textual@92-110-219-57.cable.dynamic.v4.ziggo.nl) (Client Quit) |
| 07:03:54 | → | tromp joins (~textual@92-110-219-57.cable.dynamic.v4.ziggo.nl) |
| 07:04:05 | → | Guest6780 joins (~finn@roc37-h01-176-170-197-243.dsl.sta.abo.bbox.fr) |
| 07:10:03 | × | Guest6780 quits (~finn@roc37-h01-176-170-197-243.dsl.sta.abo.bbox.fr) (Ping timeout: 248 seconds) |
| 07:10:07 | ← | jakalx parts (~jakalx@base.jakalx.net) (Disconnected: Replaced by new connection) |
| 07:10:08 | → | jakalx joins (~jakalx@base.jakalx.net) |
| 07:19:28 | × | troydm quits (~troydm@user/troydm) (Ping timeout: 272 seconds) |
| 07:21:03 | → | Unicorn_Princess joins (~Unicorn_P@user/Unicorn-Princess/x-3540542) |
| 07:24:38 | → | hsw joins (~hsw@2001-b030-2303-0104-0172-0025-0012-0132.hinet-ip6.hinet.net) |
| 07:26:46 | → | kenran joins (~user@user/kenran) |
| 07:28:29 | → | hgolden joins (~hgolden@cpe-172-251-233-141.socal.res.rr.com) |
| 07:31:24 | → | Guest6780 joins (~finn@roc37-h01-176-170-197-243.dsl.sta.abo.bbox.fr) |
| 07:32:46 | × | abhixec quits (~abhinav@c-67-169-139-16.hsd1.ca.comcast.net) (Ping timeout: 272 seconds) |
| 07:33:36 | × | califax quits (~califax@user/califx) (Remote host closed the connection) |
| 07:35:57 | → | califax joins (~califax@user/califx) |
| 07:36:33 | → | oldfashionedcow joins (~Rahul_San@user/oldfashionedcow) |
| 07:37:12 | × | shriekingnoise quits (~shrieking@186.137.175.87) (Ping timeout: 272 seconds) |
| 07:40:15 | × | bitdex quits (~bitdex@gateway/tor-sasl/bitdex) (Remote host closed the connection) |
| 07:40:33 | → | curious-user joins (~user@user/curious-user) |
| 07:41:38 | → | bitdex joins (~bitdex@gateway/tor-sasl/bitdex) |
| 07:47:37 | <curious-user> | hi, does anyone remeber a web site with monads/typeclasses tutorials and exercises, it was unfinished several years ago, it was a dedicated site(not a blog post) and i think it had a lot of red color |
| 07:49:47 | × | hgolden quits (~hgolden@cpe-172-251-233-141.socal.res.rr.com) (Remote host closed the connection) |
| 07:49:54 | × | sammelweis quits (~quassel@2601:401:8200:2d4c:bd9:d04c:7f69:eb10) (Quit: No Ping reply in 180 seconds.) |
| 07:51:32 | → | sammelweis joins (~quassel@2601:401:8200:2d4c:bd9:d04c:7f69:eb10) |
| 07:52:10 | → | johnw joins (~johnw@76-234-69-149.lightspeed.frokca.sbcglobal.net) |
| 07:53:14 | → | lortabac joins (~lortabac@2a01:e0a:541:b8f0:c22d:f6b8:83f8:5e46) |
| 07:53:48 | <Unicorn_Princess> | curious-user: not a lot of red colour, but it does have a lot of here's-a-typeclass-figure-out-what-the-function-should-be exercises: https://github.com/system-f/fp-course |
| 07:54:19 | → | [itchyjunk] joins (~itchyjunk@user/itchyjunk/x-7353470) |
| 07:57:15 | <curious-user> | Unicorn_Princess: thanks! that's not it but it's still useful |
| 07:58:39 | <Unicorn_Princess> | sorry, s/typeclass/type, mostly |
| 08:06:05 | → | chele joins (~chele@user/chele) |
| 08:06:42 | × | hueso quits (~root@user/hueso) (Read error: Connection reset by peer) |
| 08:06:51 | → | hueso_ joins (~root@user/hueso) |
| 08:08:03 | → | coot joins (~coot@2a02:a310:e241:1b00:ec1a:e9df:79ac:66ba) |
| 08:08:37 | → | paulpaul1076 joins (~textual@95-29-5-111.broadband.corbina.ru) |
| 08:10:07 | × | Sauvin quits (~sauvin@user/Sauvin) (Ping timeout: 265 seconds) |
| 08:10:10 | → | Bocaneri joins (~sauvin@user/Sauvin) |
| 08:10:34 | Bocaneri | is now known as Guest4106 |
| 08:11:46 | × | razetime quits (~Thunderbi@117.193.7.219) (Remote host closed the connection) |
| 08:12:26 | → | vpan joins (~0@212.117.1.172) |
| 08:12:40 | × | freeside quits (~mengwong@bb115-66-48-84.singnet.com.sg) (Ping timeout: 272 seconds) |
| 08:15:40 | → | nschoe joins (~q@141.101.51.197) |
| 08:18:27 | × | eggplantade quits (~Eggplanta@2600:1700:38c5:d800:54fb:433:f271:a472) (Remote host closed the connection) |
| 08:26:14 | × | econo quits (uid147250@user/econo) (Quit: Connection closed for inactivity) |
| 08:29:27 | × | oldfashionedcow quits (~Rahul_San@user/oldfashionedcow) (Quit: WeeChat 3.7.1) |
| 08:29:59 | × | Sgeo quits (~Sgeo@user/sgeo) (Read error: Connection reset by peer) |
| 08:31:24 | × | sammelweis quits (~quassel@2601:401:8200:2d4c:bd9:d04c:7f69:eb10) (Read error: Connection reset by peer) |
| 08:32:03 | → | razetime joins (~Thunderbi@117.193.7.219) |
| 08:32:27 | → | sammelweis joins (~quassel@2601:401:8200:2d4c:bd9:d04c:7f69:eb10) |
| 08:36:39 | → | raehik joins (~raehik@cpc95906-rdng25-2-0-cust156.15-3.cable.virginm.net) |
| 08:44:06 | → | titibandit1 joins (~titibandi@xdsl-81-173-160-143.nc.de) |
| 08:44:56 | → | kenran` joins (~user@user/kenran) |
| 08:46:29 | × | kenran quits (~user@user/kenran) (Ping timeout: 256 seconds) |
| 08:50:20 | × | sammelweis quits (~quassel@2601:401:8200:2d4c:bd9:d04c:7f69:eb10) (Ping timeout: 260 seconds) |
| 08:50:23 | × | curious-user quits (~user@user/curious-user) (Quit: WeeChat 3.7.1) |
| 08:52:53 | → | machinedgod joins (~machinedg@d198-53-218-113.abhsia.telus.net) |
| 08:54:37 | → | sammelweis joins (~quassel@2601:401:8200:2d4c:bd9:d04c:7f69:eb10) |
| 08:54:52 | → | avicenzi joins (~avicenzi@2a00:ca8:a1f:b004::c32) |
| 08:55:27 | × | talismanick quits (~talismani@2601:200:c181:8250::ce24) (Ping timeout: 260 seconds) |
| 08:55:33 | × | chele quits (~chele@user/chele) (Remote host closed the connection) |
| 08:55:37 | → | ubert joins (~Thunderbi@p200300ecdf264e3ba430b09a3aa3621d.dip0.t-ipconnect.de) |
| 08:57:05 | × | [itchyjunk] quits (~itchyjunk@user/itchyjunk/x-7353470) (Remote host closed the connection) |
| 08:58:25 | × | bitdex quits (~bitdex@gateway/tor-sasl/bitdex) (Remote host closed the connection) |
| 08:59:33 | × | machinedgod quits (~machinedg@d198-53-218-113.abhsia.telus.net) (Ping timeout: 260 seconds) |
| 09:01:01 | → | machinedgod joins (~machinedg@d198-53-218-113.abhsia.telus.net) |
| 09:02:01 | → | chiselfuse joins (~chiselfus@user/chiselfuse) |
| 09:05:17 | → | bitdex joins (~bitdex@gateway/tor-sasl/bitdex) |
| 09:11:47 | × | m1dnight quits (~christoph@78-22-0-121.access.telenet.be) (Quit: WeeChat 3.8) |
| 09:11:50 | × | tzh quits (~tzh@c-24-21-73-154.hsd1.wa.comcast.net) (Quit: zzz) |
| 09:12:31 | → | m1dnight joins (~christoph@78-22-0-121.access.telenet.be) |
| 09:15:33 | × | ft quits (~ft@p4fc2a257.dip0.t-ipconnect.de) (Quit: leaving) |
| 09:17:31 | × | titibandit1 quits (~titibandi@xdsl-81-173-160-143.nc.de) (Remote host closed the connection) |
| 09:18:02 | → | MajorBiscuit joins (~MajorBisc@145.94.179.130) |
| 09:18:56 | → | eggplantade joins (~Eggplanta@2600:1700:38c5:d800:54fb:433:f271:a472) |
| 09:22:15 | <mei> | the new ghcup version fail to start in windows: libstdc++-6.dll missing |
| 09:24:10 | × | eggplantade quits (~Eggplanta@2600:1700:38c5:d800:54fb:433:f271:a472) (Ping timeout: 252 seconds) |
| 09:30:52 | → | cfricke joins (~cfricke@user/cfricke) |
| 09:33:22 | <maerwald[m]> | mei: oy |
| 09:34:09 | <mei> | it's somehow documented in another context https://docs.haskellstack.org/en/stable/faq/#how-to-get-a-working-executable-on-windows |
| 09:34:10 | <maerwald[m]> | I wonder if some msys2 stuff sneaked in |
| 09:34:28 | <mei> | but the thing is that i don't have libstdc++-6.dll anywhere |
| 09:34:47 | → | merijn joins (~merijn@86-86-29-250.fixed.kpn.net) |
| 09:37:37 | <maerwald[m]> | mei: do you have C:\\ghcup\\msys2 or sth? |
| 09:38:08 | <mei> | of course, or i don't think even the older version would have worked |
| 09:38:16 | <mei> | also, i tried to rename ghcup folder and did a clean install |
| 09:39:07 | → | freeside joins (~mengwong@bb115-66-48-84.singnet.com.sg) |
| 09:39:44 | × | kenran` quits (~user@user/kenran) (Remote host closed the connection) |
| 09:41:12 | <maerwald[m]> | mei: and is msys2 stuff in your PATH? |
| 09:41:52 | <mei> | well, what directory? |
| 09:42:11 | <mei> | i don't think so though |
| 09:43:28 | <maerwald[m]> | C:\msys64\mingw64\bin |
| 09:43:39 | <maerwald[m]> | C:\msys64\usr\bin |
| 09:43:46 | <maerwald[m]> | Something like that |
| 09:43:47 | <mei> | there isn't that dll but i will try |
| 09:43:52 | × | freeside quits (~mengwong@bb115-66-48-84.singnet.com.sg) (Ping timeout: 272 seconds) |
| 09:43:59 | <maerwald[m]> | It's not supposed to be in PATH |
| 09:44:09 | <maerwald[m]> | But it may make it work |
| 09:44:27 | <mei> | i think it would if the dll was there... |
| 09:45:04 | <mei> | yeah, no outcome |
| 09:45:29 | <maerwald[m]> | Which directories did you add |
| 09:45:46 | <mei> | C:\ghcup\msys64\mingw64\bin;C:\ghcup\msys64\usr\bin |
| 09:46:18 | <mei> | trust me i used the search bar, that dll is not anywhere |
| 09:47:05 | → | jinsl- joins (~jinsl@123.120.176.13) |
| 09:47:59 | <mei> | i wonder if that lib was static in the previous version... |
| 09:48:11 | × | jinsl quits (~jinsl@123.120.176.13) (Ping timeout: 260 seconds) |
| 09:49:00 | <mei> | i will try to download msys2 standalone |
| 09:50:32 | → | zeenk joins (~zeenk@2a02:2f04:a014:8700::7fe) |
| 09:50:55 | <mei> | no libstdc++-6.dll there |
| 09:51:38 | <maerwald> | lemme try in vbox |
| 09:54:32 | <eldritchcookie[4> | is there anything to automate generating c2hs binding modules, it is amazing what boilerplate it saves me but i am not using all its power and probably won't need it |
| 09:56:07 | <eldritchcookie[4> | like all my fun directives are use haskell equivalent types, and one or other also has this argument is returned by reference. |
| 09:57:30 | <maerwald> | mei: can reproduce |
| 09:57:33 | <maerwald> | it's not msys2 |
| 09:57:47 | <maerwald> | it's fuckup due to text-2.0 |
| 09:57:53 | <maerwald> | which requires C++ |
| 09:58:11 | <maerwald> | and now GHC links the *internal* libstdc++ |
| 09:58:35 | <maerwald> | the workaround is to put this in your PATH: C:\ghcup\ghc\9.2.5\mingw\bin |
| 09:58:41 | <maerwald> | or equivalent of any ghc version |
| 09:58:43 | <mei> | well you first need ghc.... |
| 09:58:49 | <mei> | and ghcup is used to get ghc |
| 09:58:53 | <maerwald> | yep |
| 09:59:00 | → | CiaoSen joins (~Jura@p200300c9574fa4002a3a4dfffe84dbd5.dip0.t-ipconnect.de) |
| 09:59:02 | <mei> | now i'm sad i removed the old folder |
| 09:59:12 | <maerwald> | GHC is just unpack on windows |
| 09:59:27 | <mei> | ok let me see |
| 09:59:30 | <maerwald> | you can unpack a bindist somewhere in tmp dir and add that to path |
| 09:59:41 | <maerwald> | https://downloads.haskell.org/~ghc/9.2.5/ghc-9.2.5-x86_64-unknown-mingw32.zip |
| 09:59:58 | <mei> | is that 32 correct? i'm on 64 |
| 10:00:15 | → | teo joins (~teo@user/teo) |
| 10:00:21 | <maerwald> | this is the correct bindist |
| 10:00:31 | → | califax_ joins (~califax@user/califx) |
| 10:01:32 | → | poljar joins (~poljar@93-139-120-188.adsl.net.t-com.hr) |
| 10:01:39 | → | choram joins (~user@58.231.189.202) |
| 10:02:14 | × | poljar1 quits (~poljar@93-139-83-160.adsl.net.t-com.hr) (Ping timeout: 272 seconds) |
| 10:03:43 | × | sammelweis quits (~quassel@2601:401:8200:2d4c:bd9:d04c:7f69:eb10) (Ping timeout: 260 seconds) |
| 10:03:53 | → | sammelweis joins (~quassel@mobile-107-92-122-242.mycingular.net) |
| 10:03:56 | × | califax quits (~califax@user/califx) (Ping timeout: 255 seconds) |
| 10:03:56 | califax_ | is now known as califax |
| 10:03:58 | <choram> | hello! |
| 10:05:25 | <eldritchcookie[4> | is there anything to automate generating c2hs binding modules, it is amazing what boilerplate it saves me but i am not using all its power and probably won't need it |
| 10:05:26 | → | ccapndave joins (~ccapndave@mob-194-230-158-224.cgn.sunrise.net) |
| 10:05:37 | <fendor[m]> | Can I get a source location for an error call caused by `NonEmpty.fromList`? I am trying `cabal test --enable-profiling --test-options="+RTS -xc"`, but even with the stack trace, I can't determine the source location of the error |
| 10:06:23 | <maerwald> | mei: please raise the issue here https://github.com/haskell/ghcup-hs/issues and tag bgamari |
| 10:06:39 | <maerwald> | unfortunately, I'm off to a date and can't fix it right now |
| 10:07:07 | × | xff0x_ quits (~xff0x@125x103x176x34.ap125.ftth.ucom.ne.jp) (Ping timeout: 252 seconds) |
| 10:07:08 | <maerwald> | the short-term solution seems to be to downgrade text so we don't get this C++ madness |
| 10:07:12 | <maerwald> | then roll a new point release |
| 10:07:15 | <mei> | bgamari bgamari[m] is in this room though |
| 10:07:23 | <maerwald> | mei: yes, on the *ticket* |
| 10:07:35 | ← | choram parts (~user@58.231.189.202) (ERC 5.4 (IRC client for GNU Emacs 28.2)) |
| 10:12:29 | × | ccapndave quits (~ccapndave@mob-194-230-158-224.cgn.sunrise.net) (Quit: Textual IRC Client: www.textualapp.com) |
| 10:15:54 | <mei> | btw even with this workaround the install fail |
| 10:16:02 | <mei> | "_eghcup --cache install ghc recommended" failed! |
| 10:16:03 | <mei> | cat: 'https'$'\357\200\272''/www.haskell.org/ghcup/sh/bootstrap-haskell': No such file or directory |
| 10:16:14 | → | freeside joins (~mengwong@bb115-66-48-84.singnet.com.sg) |
| 10:16:21 | <mei> | but i can finish manually with ghcup |
| 10:20:23 | × | freeside quits (~mengwong@bb115-66-48-84.singnet.com.sg) (Ping timeout: 246 seconds) |
| 10:21:01 | <mei> | btw my bad that i tried to add the lib from msys, but the wiki stated from ghc |
| 10:21:09 | <mei> | "Those libraries are shipped with GHC (and, theoretically in some cases, MSYS)" |
| 10:22:00 | → | alternateved joins (~user@staticline-31-183-174-39.toya.net.pl) |
| 10:24:04 | → | troydm joins (~troydm@user/troydm) |
| 10:24:10 | <maerwald> | I can make it work when I point it to the internal GHC dir that containst libstdc++ |
| 10:24:20 | <maerwald> | that's C:\ghcup\ghc\9.2.5\mingw\bin here |
| 10:27:02 | <maerwald> | mei: https://github.com/haskell/ghcup-hs/issues/745 |
| 10:27:43 | <mei> | what do you mean by pointing to it? adding that to path? did it and ghcup is working fine. but i'm saying that the script that install the thing at some point fail as i showed you |
| 10:27:58 | × | v0id_ptr quits (~adrift@user/ptr-frac7al/x-0038398) (Ping timeout: 252 seconds) |
| 10:28:25 | × | sammelweis quits (~quassel@mobile-107-92-122-242.mycingular.net) (Ping timeout: 252 seconds) |
| 10:28:38 | <mei> | i'm fine, since i did ghcup install stuff later, but maybe there are people out there that want the installer script to work :D |
| 10:28:58 | → | sammelweis joins (~quassel@2601:401:8200:2d4c:bd9:d04c:7f69:eb10) |
| 10:29:06 | <maerwald> | yes, adding to Path |
| 10:29:09 | <maerwald> | the env var |
| 10:29:51 | <mei> | yes, ghcup is fixed. but still the install script fail after installing ghcup, so you don't have any ghc and so on at install complete |
| 10:30:06 | × | Guest4106 quits (~sauvin@user/Sauvin) (Ping timeout: 272 seconds) |
| 10:34:48 | <Profpatsch> | Is there a selection of newtype wrappers that will only implement subsets of Num? |
| 10:35:12 | <Profpatsch> | i.e. newtype Foo a = Foo a deriving Num via Addition |
| 10:35:34 | <Profpatsch> | Where Addition will only implement (+) and throw errors for any other function |
| 10:35:54 | × | raehik quits (~raehik@cpc95906-rdng25-2-0-cust156.15-3.cable.virginm.net) (Remote host closed the connection) |
| 10:36:19 | → | raehik joins (~raehik@cpc95906-rdng25-2-0-cust156.15-3.cable.virginm.net) |
| 10:36:20 | → | Sauvin joins (~sauvin@user/Sauvin) |
| 10:36:36 | <eldritchcookie[4> | why would you want that i am genuinely curious |
| 10:37:18 | <mei> | maerwald: i think the issue is that the path we added to windows is not considered inside msys, so the script fail to run ghcup there |
| 10:37:28 | <Profpatsch> | eldritchcookie[4: because Num a => Semigroup (Sum a) |
| 10:37:44 | <Profpatsch> | But my newtype should decidedly only ever be used for addition |
| 10:38:28 | <Profpatsch> | I’d rather throw a runtime error if somebody would ever try to multiply or negate it |
| 10:38:47 | × | tromp quits (~textual@92-110-219-57.cable.dynamic.v4.ziggo.nl) (Quit: My iMac has gone to sleep. ZZZzzz…) |
| 10:40:37 | <maerwald[m]> | mei: yes, there's a config option to inherit env |
| 10:41:06 | <eldritchcookie[4> | if you newtype is based on a Num a you can do newtype onlySum deriving semigroup via Sum BaseType |
| 10:41:24 | <chreekat> | Too bad + was stolen by Num and not something... else |
| 10:41:38 | <maerwald[m]> | MSYS2_PATH_TYPE=inherit |
| 10:42:01 | <maerwald[m]> | https://stackoverflow.com/questions/45404631/msys2-not-finding-windows-programs-despite-msys2-path-type-inherit |
| 10:42:55 | → | mmhat joins (~mmh@p200300f1c7123cd2ee086bfffe095315.dip0.t-ipconnect.de) |
| 10:42:55 | × | mmhat quits (~mmh@p200300f1c7123cd2ee086bfffe095315.dip0.t-ipconnect.de) (Client Quit) |
| 10:43:56 | <eldritchcookie[4> | like if there is one canonical associative operation for your type it should be Semigroup not Num |
| 10:44:40 | <Profpatsch> | eldritchcookie[4: it’s the other way around |
| 10:44:44 | <Profpatsch> | my newtype is in a sum |
| 10:45:22 | <Profpatsch> | Maybe I should invert that actually |
| 10:45:31 | <eldritchcookie[4> | sorry i don't understand please send your newtype definition |
| 10:45:52 | <Profpatsch> | newtype Foo a = Foo a |
| 10:46:13 | <Profpatsch> | Or rather newtype Foo = Foo Int |
| 10:47:28 | <eldritchcookie[4> | so you want to have sum but not multiplication? |
| 10:48:52 | <eldritchcookie[4> | why is newtype Foo = Foo Int deriving Semigroup via Sum Int not acceptable? |
| 10:49:45 | → | tromp joins (~textual@92-110-219-57.cable.dynamic.v4.ziggo.nl) |
| 10:52:38 | <Profpatsch> | eldritchcookie[4: Not entirely sure, but it feels wrong to implement a Semigroup instance on this directly |
| 10:53:06 | <Profpatsch> | Also you need Num if you want to allow for overloaded number literals |
| 10:55:36 | <Profpatsch> | > 4 * 4 :: MilkAmount |
| 10:55:38 | <lambdabot> | error: |
| 10:55:38 | <eldritchcookie[4> | well if you need Num but only sum and are ok with leaving it incomplete you will need to wrap and unwrap |
| 10:55:38 | <lambdabot> | Not in scope: type constructor or class ‘MilkAmount’ |
| 10:55:38 | <Profpatsch> | MilkAmount {unMilkAmount = *** Exception: Only addition allowed for MilkAmount |
| 10:55:48 | <Profpatsch> | > 4 + 4 :: MilkAmount |
| 10:55:50 | <lambdabot> | error: |
| 10:55:50 | <lambdabot> | Not in scope: type constructor or class ‘MilkAmount’ |
| 10:55:50 | <Profpatsch> | MilkAmount {unMilkAmount = 8.0} |
| 10:55:52 | <Profpatsch> | like this |
| 10:56:22 | <Profpatsch> | newtype MilkAmount = MilkAmount {unMilkAmount :: Scientific} |
| 10:56:23 | <Profpatsch> | deriving (Num) via (AdditionOnly "MilkAmount" Scientific) |
| 10:56:25 | <Profpatsch> | I think that’s okay |
| 10:56:48 | Profpatsch | pets lambdabot |
| 10:57:50 | eldritchcookie[4 | test command |
| 10:58:33 | → | freeside joins (~mengwong@bb115-66-48-84.singnet.com.sg) |
| 11:00:03 | <jackdk> | @botsnack |
| 11:00:03 | <lambdabot> | :) |
| 11:02:20 | <eldritchcookie[4> | is there some way to prevent the massive amount of boilerplate needed when using c2hs? like is there some way to say for these functions just convert to appropriate haskell type no fancy pointer tricks needed? |
| 11:02:59 | × | freeside quits (~mengwong@bb115-66-48-84.singnet.com.sg) (Ping timeout: 260 seconds) |
| 11:03:20 | <eldritchcookie[4> | like for instance i have a lot like this ```haskell |
| 11:03:20 | <eldritchcookie[4> | {#fun unsafe update_display_region as ^ {`Int',`Int',`Int',`Int'} -> `()'#} |
| 11:03:20 | <eldritchcookie[4> | ``` |
| 11:03:27 | → | guest333 joins (~guest333@138.34.86.165) |
| 11:03:32 | × | hsw quits (~hsw@2001-b030-2303-0104-0172-0025-0012-0132.hinet-ip6.hinet.net) (Remote host closed the connection) |
| 11:03:44 | <eldritchcookie[4> | {#fun unsafe update_display_region as ^ {Int',Int',Int',Int'} -> `()'#} |
| 11:03:53 | × | guest333 quits (~guest333@138.34.86.165) (Client Quit) |
| 11:03:55 | → | hsw joins (~hsw@2001-b030-2303-0104-0172-0025-0012-0132.hinet-ip6.hinet.net) |
| 11:04:44 | × | jinsl- quits (~jinsl@123.120.176.13) (Ping timeout: 260 seconds) |
| 11:05:08 | <eldritchcookie[4> | like it is smart enough to know if that is valid couldn't it have a default fun directive for the vast majority like this? |
| 11:05:21 | → | jinsl joins (~jinsl@2408:8207:255f:27d0:211:32ff:fec8:6aea) |
| 11:05:49 | <eldritchcookie[4> | so it would shorten to {#default fun update_display_region as ^ #} |
| 11:08:29 | <eldritchcookie[4> | which may not seem like a lot but i am doing this for like hundreds of functions so that would translate to fewerr hundreds of lines |
| 11:08:47 | → | xff0x_ joins (~xff0x@2405:6580:b080:900:33f6:9250:43b6:b1c7) |
| 11:09:32 | × | chiselfuse quits (~chiselfus@user/chiselfuse) (Remote host closed the connection) |
| 11:10:02 | → | chiselfu1e joins (~chiselfus@user/chiselfuse) |
| 11:12:57 | × | opticblast quits (~Thunderbi@secure-165.caltech.edu) (Read error: Connection reset by peer) |
| 11:13:15 | → | opticblast joins (~Thunderbi@secure-165.caltech.edu) |
| 11:13:56 | → | v0id_ptr joins (~adrift@user/ptr-frac7al/x-0038398) |
| 11:17:37 | × | FinnElija quits (~finn_elij@user/finn-elija/x-0085643) (Remote host closed the connection) |
| 11:19:15 | → | FinnElija joins (~finn_elij@user/finn-elija/x-0085643) |
| 11:24:54 | → | __monty__ joins (~toonn@user/toonn) |
| 11:28:18 | → | kaskal joins (~kaskal@089144220250.atnat0029.highway.webapn.at) |
| 11:29:35 | × | razetime quits (~Thunderbi@117.193.7.219) (Quit: See You Space Cowboy) |
| 11:30:08 | → | razetime joins (~Thunderbi@117.193.7.219) |
| 11:30:51 | × | lortabac quits (~lortabac@2a01:e0a:541:b8f0:c22d:f6b8:83f8:5e46) (Ping timeout: 260 seconds) |
| 11:34:00 | × | sammelweis quits (~quassel@2601:401:8200:2d4c:bd9:d04c:7f69:eb10) (Quit: No Ping reply in 180 seconds.) |
| 11:35:05 | → | thyriaen joins (~thyriaen@2a01:aea0:dd4:4bae:6245:cbff:fe9f:48b1) |
| 11:35:08 | → | sammelweis joins (~quassel@2601:401:8200:2d4c:bd9:d04c:7f69:eb10) |
| 11:36:33 | × | CiaoSen quits (~Jura@p200300c9574fa4002a3a4dfffe84dbd5.dip0.t-ipconnect.de) (Ping timeout: 255 seconds) |
| 11:40:51 | → | fizbin joins (~fizbin@user/fizbin) |
| 11:44:43 | × | cfricke quits (~cfricke@user/cfricke) (Quit: WeeChat 3.7.1) |
| 11:50:26 | × | merijn quits (~merijn@86-86-29-250.fixed.kpn.net) (Quit: leaving) |
| 11:51:15 | → | lortabac joins (~lortabac@2a01:e0a:541:b8f0:2bfe:bf83:f12e:5445) |
| 11:52:26 | → | jao joins (~jao@cpc103048-sgyl39-2-0-cust502.18-2.cable.virginm.net) |
| 11:54:58 | → | beteigeuze joins (~Thunderbi@a79-169-109-107.cpe.netcabo.pt) |
| 12:00:39 | → | freeside joins (~mengwong@bb219-75-41-181.singnet.com.sg) |
| 12:02:19 | × | razetime quits (~Thunderbi@117.193.7.219) (Ping timeout: 248 seconds) |
| 12:05:35 | × | freeside quits (~mengwong@bb219-75-41-181.singnet.com.sg) (Ping timeout: 264 seconds) |
| 12:05:48 | × | fizbin quits (~fizbin@user/fizbin) (Ping timeout: 255 seconds) |
| 12:06:58 | <dminuoso> | I have a new typeclass I enjoy `class Isomorphic s t where morph :: s -> t` with an obvious implied law. |
| 12:07:33 | <dminuoso> | Its the result of fighting with three different IPv4 data types and not wanting to deal with the constant confusion of "which conversion function do I want" |
| 12:07:49 | <dminuoso> | (well and IPv6, and IPv4Prefix, and IPv6Prefix) |
| 12:07:58 | <dminuoso> | Combinations were just a bit too much :) |
| 12:09:02 | <dminuoso> | Even comes with something like `instance Isomorphic s t => Isomorphic (Maybe s) (Maybe t) where morph = fmap morph` |
| 12:10:56 | → | gensyst joins (gensyst@user/gensyst) |
| 12:12:03 | → | biberu\ joins (~biberu@user/biberu) |
| 12:12:35 | → | Kaipei joins (~Kaiepi@nwcsnbsc03w-47-55-159-86.dhcp-dynamic.fibreop.nb.bellaliant.net) |
| 12:16:30 | × | biberu quits (~biberu@user/biberu) (Ping timeout: 272 seconds) |
| 12:16:30 | × | Kaiepi quits (~Kaiepi@nwcsnbsc03w-47-55-159-86.dhcp-dynamic.fibreop.nb.bellaliant.net) (Ping timeout: 272 seconds) |
| 12:16:30 | biberu\ | is now known as biberu |
| 12:16:31 | <gensyst> | I'm looking for a way to version a type in a simple but future-proof way, such that at deserialization (sometime in the future) I can "keep trying" until I "find the right version". |
| 12:16:32 | <gensyst> | Here's my current thinking: (1) For cases where the types differ enough for deserialization to fail, there is nothing to do. (2) For the remaining cases (where the types are similar enough for deserialization to succeed), how do I artificially cause the deserialization to fail as appropriate? |
| 12:17:04 | <gensyst> | What versioning trickery to use? |
| 12:17:12 | <dminuoso> | Keep a version information in the format itself. |
| 12:17:26 | <dminuoso> | Say a byte header that denotes a kind of serialization format version. |
| 12:17:33 | <gensyst> | hmmk |
| 12:17:48 | <dminuoso> | It's robust and future proof. Do this also when you dont expect the format to change. |
| 12:18:19 | <gensyst> | So obvious lol, thank you! |
| 12:18:22 | × | thegeekinside quits (~thegeekin@189.217.82.244) (Read error: Connection reset by peer) |
| 12:19:30 | <dminuoso> | Ah and I can even generalize the isomorphic thing above. `instance (Functor f, Isomorphic s t) => Isomorphic (f s) (f t) where iso = fmap iso` |
| 12:19:34 | <dminuoso> | Beautiful |
| 12:19:53 | <dminuoso> | This nicely pierces through `IO (Maybe IPv4)` |
| 12:23:10 | × | gensyst quits (gensyst@user/gensyst) (Quit: Leaving) |
| 12:27:10 | × | MajorBiscuit quits (~MajorBisc@145.94.179.130) (Quit: WeeChat 3.6) |
| 12:31:38 | → | gnalzo joins (~gnalzo@2a01:e0a:498:fd50:fcc6:bb5d:489a:ce8c) |
| 12:35:30 | × | Techcable quits (~Techcable@user/Techcable) (Ping timeout: 272 seconds) |
| 12:35:54 | → | freeside joins (~mengwong@bb219-75-41-181.singnet.com.sg) |
| 12:40:18 | × | raehik quits (~raehik@cpc95906-rdng25-2-0-cust156.15-3.cable.virginm.net) (Remote host closed the connection) |
| 12:40:41 | <Jadesheit[m]> | is there an idiom for traverse print |
| 12:40:43 | → | raehik joins (~raehik@cpc95906-rdng25-2-0-cust156.15-3.cable.virginm.net) |
| 12:40:51 | × | freeside quits (~mengwong@bb219-75-41-181.singnet.com.sg) (Ping timeout: 268 seconds) |
| 12:41:08 | → | boxscape_ joins (~boxscape_@213.52.37.155) |
| 12:44:09 | <boxscape_> | For converting HsExpr to TH, what is the reason a Core expression has to be run that produces the TH Exp, rather than directly traversing the AST and transforming it into TH? |
| 12:44:22 | <boxscape_> | actually meant to ask in #ghc but people here might know too |
| 12:44:43 | → | Techcable joins (~Techcable@user/Techcable) |
| 12:45:53 | <Axman6> | Jadesheit[m]: for_ print? :) |
| 12:46:04 | <Axman6> | @hoogle for_ |
| 12:46:04 | <lambdabot> | Data.Foldable for_ :: (Foldable t, Applicative f) => t a -> (a -> f b) -> f () |
| 12:46:04 | <lambdabot> | System.Directory.Internal.Prelude for_ :: (Foldable t, Applicative f) => t a -> (a -> f b) -> f () |
| 12:46:04 | <lambdabot> | Distribution.Compat.Prelude.Internal for_ :: (Foldable t, Applicative f) => t a -> (a -> f b) -> f () |
| 12:46:30 | <Axman6> | @hoogle (Foldable t, Applicative f) => (a -> f b) -> t a -> f () |
| 12:46:31 | <lambdabot> | Data.Foldable traverse_ :: (Foldable t, Applicative f) => (a -> f b) -> t a -> f () |
| 12:46:31 | <lambdabot> | System.Directory.Internal.Prelude traverse_ :: (Foldable t, Applicative f) => (a -> f b) -> t a -> f () |
| 12:46:31 | <lambdabot> | Distribution.Compat.Prelude.Internal traverse_ :: (Foldable t, Applicative f) => (a -> f b) -> t a -> f () |
| 12:46:44 | <Axman6> | traverse_ is really what I meant |
| 12:47:26 | <dminuoso> | Jadesheit[m]: What do you want that could possibly be more idiomatic than `traverse_ print`? |
| 12:47:46 | <Jadesheit[m]> | something shorter for golfing haha |
| 12:47:55 | <dminuoso> | Shorter than using 2 variables. Huh. |
| 12:48:25 | <dminuoso> | You said idiomatic, not maximally small in terms of _ (characters? variables?) |
| 12:48:25 | × | ix quits (~ix@2a02:8010:674f:0:d65d:64ff:fe52:5efe) (Read error: Connection reset by peer) |
| 12:48:34 | <Jadesheit[m]> | mapM print works |
| 12:48:40 | <Axman6> | mapM_ print is better |
| 12:48:57 | <Jadesheit[m]> | Axman6: longer for golfing ;) |
| 12:49:02 | <dminuoso> | traverse looks and reads nicer *shrugs* |
| 12:49:21 | × | tromp quits (~textual@92-110-219-57.cable.dynamic.v4.ziggo.nl) (Quit: My iMac has gone to sleep. ZZZzzz…) |
| 12:53:35 | × | coot quits (~coot@2a02:a310:e241:1b00:ec1a:e9df:79ac:66ba) (Quit: coot) |
| 12:56:34 | → | ix joins (~ix@2a02:8010:674f:0:d65d:64ff:fe52:5efe) |
| 13:02:36 | → | bilegeek joins (~bilegeek@2600:1008:b00b:7932:83b7:b59b:b4f7:d8cd) |
| 13:04:42 | → | bilegeek_ joins (~bilegeek@2600:1008:b086:e65c:c0f3:8b92:9d2d:aaef) |
| 13:06:07 | × | Guest6780 quits (~finn@roc37-h01-176-170-197-243.dsl.sta.abo.bbox.fr) (Remote host closed the connection) |
| 13:07:27 | × | bilegeek quits (~bilegeek@2600:1008:b00b:7932:83b7:b59b:b4f7:d8cd) (Ping timeout: 255 seconds) |
| 13:09:41 | × | bilegeek_ quits (~bilegeek@2600:1008:b086:e65c:c0f3:8b92:9d2d:aaef) (Ping timeout: 255 seconds) |
| 13:12:41 | × | Xeroine quits (~Xeroine@user/xeroine) (Ping timeout: 252 seconds) |
| 13:15:51 | → | Xeroine joins (~Xeroine@user/xeroine) |
| 13:18:52 | → | coot joins (~coot@2a02:a310:e241:1b00:ec1a:e9df:79ac:66ba) |
| 13:26:15 | → | Neuromancer joins (~Neuromanc@user/neuromancer) |
| 13:28:09 | → | razetime joins (~Thunderbi@117.193.7.219) |
| 13:34:19 | × | ix quits (~ix@2a02:8010:674f:0:d65d:64ff:fe52:5efe) (Quit: WeeChat 3.7.1) |
| 13:35:04 | × | paulpaul1076 quits (~textual@95-29-5-111.broadband.corbina.ru) (Quit: My MacBook has gone to sleep. ZZZzzz…) |
| 13:35:43 | → | paulpaul1076 joins (~textual@95-29-5-111.broadband.corbina.ru) |
| 13:36:36 | × | razetime quits (~Thunderbi@117.193.7.219) (Read error: Connection reset by peer) |
| 13:37:25 | → | razetime joins (~Thunderbi@117.193.7.219) |
| 13:41:15 | → | agumonkey joins (~user@2a01:e0a:8f9:d3e0:f706:363c:fbf7:9934) |
| 13:42:28 | <eldritchcookie[4> | i have events, they can be any of 20+ types, each has data specific to the event i currently have a known event constructor with EventType and KnownEventData and unknownEvent is there some way to prevent a eventType from havbing wrong data besides doing 20 constructors? |
| 13:48:44 | × | bitdex quits (~bitdex@gateway/tor-sasl/bitdex) (Quit: = "") |
| 13:49:51 | → | mei_ joins (~mei@user/mei) |
| 13:50:12 | → | cfricke joins (~cfricke@user/cfricke) |
| 13:50:18 | × | gnalzo quits (~gnalzo@2a01:e0a:498:fd50:fcc6:bb5d:489a:ce8c) (Quit: WeeChat 3.7.1) |
| 13:51:40 | <jean-paul[m]> | I have a test suite that uses the Paths_... module. This works fine with cabal test. But if I try to run the test executable directly then the paths come out wrong (pointing way down into dist-newstyle). How do I control what's in Paths_...? |
| 13:51:43 | → | mei__ joins (~mei@user/mei) |
| 13:51:47 | × | opticblast quits (~Thunderbi@secure-165.caltech.edu) (Ping timeout: 260 seconds) |
| 13:52:30 | × | mei quits (~mei@user/mei) (Ping timeout: 260 seconds) |
| 13:53:04 | <Axman6> | > generalCategory '¢' |
| 13:53:06 | <lambdabot> | CurrencySymbol |
| 13:53:13 | <Axman6> | > generalCategory '$' |
| 13:53:15 | <lambdabot> | CurrencySymbol |
| 13:54:59 | × | mei_ quits (~mei@user/mei) (Ping timeout: 246 seconds) |
| 13:59:16 | × | off^ quits (~off@76.145.190.81) (Remote host closed the connection) |
| 14:01:11 | <fendor[m]> | eldritch cookie GADTs with phantom types, maybe? |
| 14:01:44 | × | megaTherion quits (~therion@unix.io) (Quit: ZNC 1.8.2 - https://znc.in) |
| 14:02:09 | → | thegeekinside joins (~thegeekin@189.217.82.244) |
| 14:02:18 | <dminuoso> | `withCStringLen :: String -> (CStringLen -> IO a) -> IO a` is there an equivalent primitive for Text? |
| 14:03:30 | <Hecate> | dminuoso: https://hackage.haskell.org/package/text-1.2.4.0/docs/Data-Text-Foreign.html#v:withCStringLen |
| 14:03:35 | → | megaTherion joins (~therion@unix.io) |
| 14:03:47 | <dminuoso> | Hecate: Ah hah. I looked at maybe 10 modules, but that one I mentally skipped over. |
| 14:03:49 | <dminuoso> | Thanks. |
| 14:04:00 | <Hecate> | 👍 :) |
| 14:05:17 | → | tromp joins (~textual@92-110-219-57.cable.dynamic.v4.ziggo.nl) |
| 14:06:44 | <stefan-_> | ByteString.readFile "large.xml" errors with "heap overflow" in IHaskell, in "stack ghci" it works |
| 14:06:47 | <stefan-_> | any ideas? |
| 14:09:06 | → | mei joins (~mei@user/mei) |
| 14:09:17 | × | v0id_ptr quits (~adrift@user/ptr-frac7al/x-0038398) (Ping timeout: 246 seconds) |
| 14:10:09 | <Axman6> | which ByteString module? |
| 14:10:54 | <stefan-_> | Axman6, Data.ByteString |
| 14:11:17 | <Axman6> | there's a package which can mmap a file into a bytestring, which would likely avoid that |
| 14:11:26 | × | mei__ quits (~mei@user/mei) (Ping timeout: 246 seconds) |
| 14:11:45 | <Axman6> | (that's probably what readFile should do if the file is very large...) |
| 14:14:02 | → | kurbus joins (~kurbus@user/kurbus) |
| 14:14:40 | × | mei quits (~mei@user/mei) (Ping timeout: 260 seconds) |
| 14:16:22 | → | azimut joins (~azimut@gateway/tor-sasl/azimut) |
| 14:17:35 | → | L29Ah joins (~L29Ah@wikipedia/L29Ah) |
| 14:17:42 | <Axman6> | ok I assumed there'd be something more recent, but I've used https://hackage.haskell.org/package/bytestring-mmap in the past; I wonder if it still compiles |
| 14:19:59 | <stefan-_> | Axman6, it is a bit weird that it works in ghci, but not in IHaskell |
| 14:20:12 | <tv> | i've used the slightly more recent mmap package recently |
| 14:20:25 | <stefan-_> | maybe there is a memory setting, which can be tuned |
| 14:25:37 | <Axman6> | stefan-_: I would imagine IHaskell would intentionally have a restricted heap allocation |
| 14:25:40 | × | sammelweis quits (~quassel@2601:401:8200:2d4c:bd9:d04c:7f69:eb10) (Quit: No Ping reply in 180 seconds.) |
| 14:26:04 | × | kurbus quits (~kurbus@user/kurbus) (Quit: Client closed) |
| 14:27:33 | → | sammelweis joins (~quassel@2601:401:8200:2d4c:bd9:d04c:7f69:eb10) |
| 14:32:16 | → | merijn joins (~merijn@86-86-29-250.fixed.kpn.net) |
| 14:32:41 | <stefan-_> | Axman6, I think I found it, there is a -M3g flag in the kernel.json specification |
| 14:35:59 | <Axman6> | sounds likely - how big is the file anyway? and what're you doing with it? |
| 14:39:28 | <stefan-_> | Axman6, it is 3.7G, I wanted to compare the memory usage against Python's lxml |
| 14:39:38 | × | boxscape_ quits (~boxscape_@213.52.37.155) (Ping timeout: 272 seconds) |
| 14:41:14 | <stefan-_> | the lxml DOM takes about 40GB, xeno DOM requires only 12GB |
| 14:57:09 | → | freeside joins (~mengwong@bb115-66-48-84.singnet.com.sg) |
| 15:00:41 | → | shriekingnoise joins (~shrieking@186.137.175.87) |
| 15:01:55 | × | freeside quits (~mengwong@bb115-66-48-84.singnet.com.sg) (Ping timeout: 260 seconds) |
| 15:05:00 | → | mei joins (~mei@user/mei) |
| 15:10:07 | × | coot quits (~coot@2a02:a310:e241:1b00:ec1a:e9df:79ac:66ba) (Quit: coot) |
| 15:10:46 | → | boxscape_ joins (~boxscape_@213.52.37.155) |
| 15:11:37 | → | ix joins (~ix@2a02:8010:674f:0:d65d:64ff:fe52:5efe) |
| 15:12:13 | × | Xeroine quits (~Xeroine@user/xeroine) (Ping timeout: 252 seconds) |
| 15:13:50 | × | ix quits (~ix@2a02:8010:674f:0:d65d:64ff:fe52:5efe) (Read error: Connection reset by peer) |
| 15:14:34 | <eldritchcookie[4> | a c unsigned integer is represented as Word correct? |
| 15:14:56 | → | kurbus joins (~kurbus@user/kurbus) |
| 15:15:11 | <merijn> | Mu |
| 15:15:37 | → | ix joins (~ix@2a02:8010:674f:0:d65d:64ff:fe52:5efe) |
| 15:16:09 | <merijn> | There's a lot of problems with that question :) |
| 15:16:19 | × | lortabac quits (~lortabac@2a01:e0a:541:b8f0:2bfe:bf83:f12e:5445) (Quit: WeeChat 2.8) |
| 15:16:53 | → | Xeroine joins (~Xeroine@user/xeroine) |
| 15:17:15 | <merijn> | Such as C doesn't actually specify the representation of unsigned integers and also Word is completely unspecified and both depend on the platform you're talking about |
| 15:17:30 | <merijn> | For purposes of FFI the real answer is: use CUInt |
| 15:18:20 | <eldritchcookie[4> | which normal haskell type would best be used to represent it after marshaling? |
| 15:18:32 | <mauke> | well, assuming you mean an "unsigned int". C has multiple unsigned integer types |
| 15:19:08 | <merijn> | eldritchcookie[4: Define "normal" Haskell tyoe |
| 15:19:15 | <merijn> | CUInt *is* a normal haskell type |
| 15:19:39 | × | kurbus quits (~kurbus@user/kurbus) (Client Quit) |
| 15:20:02 | <eldritchcookie[4> | normally used, we don't just use CUInt in our programs normally i want a idiomatic haskell type |
| 15:20:24 | <merijn> | I'm not sure what idiomatic Haskell even means in this context |
| 15:20:44 | <merijn> | If you wanna talk to C, the idiomatic thing to do is: use CUInt |
| 15:20:54 | <merijn> | Like, that's *literally* what it's for |
| 15:21:12 | <merijn> | Any alternative is just gonna boil down to: manually trying to cover all the stuff CUInt does |
| 15:21:57 | <eldritchcookie[4> | by idiomatic i mean when you want a non negative integer type which one do you use? |
| 15:22:16 | <boxscape_> | Natural? |
| 15:22:20 | <merijn> | Int xD |
| 15:22:31 | <mauke> | size_t |
| 15:22:38 | <merijn> | Everytime I think using Word/Natural is a great idea it comes back to bite me in the ass |
| 15:22:58 | <boxscape_> | :( |
| 15:23:50 | → | eggplantade joins (~Eggplanta@2600:1700:38c5:d800:54fb:433:f271:a472) |
| 15:23:53 | <eldritchcookie[4> | ok can i safely convert CUInt to Int or will i need to change all types to Integer? |
| 15:24:31 | <merijn> | No |
| 15:24:39 | <mauke> | from a C point of view, CUInt can be arbitrarily large and Int might be only 30 bits |
| 15:24:40 | <merijn> | Since Haskell report only guarantees 28 bits for Int |
| 15:24:51 | <mauke> | well, s/C/C and Haskell standard/ |
| 15:24:54 | <merijn> | mauke: Pretty sure it's only 27 or 28 bits:p |
| 15:25:38 | <mauke> | haddock for Int says "A fixed-precision integer type with at least the range `[-2^29 .. 2^29-1]`." |
| 15:25:42 | <boxscape_> | just to be clear, CUInt is guaranteed to be the same size as unsigned int though? |
| 15:26:04 | <merijn> | boxscape_: Well, define guaranteed ;) But yeah, it's a bug if it's not :p |
| 15:26:14 | <boxscape_> | right I was close to putting guaranteed into quotes :D |
| 15:28:13 | <eldritchcookie[4> | ok better question what type can i use to minimize conversions for users of my library? |
| 15:28:15 | × | eggplantade quits (~Eggplanta@2600:1700:38c5:d800:54fb:433:f271:a472) (Ping timeout: 256 seconds) |
| 15:30:11 | <eldritchcookie[4> | assuming i can potentially receive any valid CUInt from the C side? |
| 15:30:45 | <mauke> | String |
| 15:31:06 | <mauke> | otherwise they'd have to convert it every time they print it |
| 15:32:11 | <merijn> | eldritchcookie[4: Minimal conversions would be just using CUInt :p |
| 15:33:25 | → | freeside joins (~mengwong@bb115-66-48-84.singnet.com.sg) |
| 15:34:50 | → | kurbus joins (~kurbus@user/kurbus) |
| 15:37:14 | → | hgolden joins (~hgolden@cpe-172-251-233-141.socal.res.rr.com) |
| 15:38:19 | × | freeside quits (~mengwong@bb115-66-48-84.singnet.com.sg) (Ping timeout: 260 seconds) |
| 15:41:08 | <eldritchcookie[4> | users of my library the conversions i do i do not care |
| 15:41:31 | × | razetime quits (~Thunderbi@117.193.7.219) (Ping timeout: 248 seconds) |
| 15:42:13 | <eldritchcookie[4> | ok my internet was down for a minute what integral type should i use if i want users of my library to do minimal conversions? |
| 15:42:31 | → | jmdaemon joins (~jmdaemon@user/jmdaemon) |
| 15:44:12 | × | laalyn quits (~laalyn@c-73-241-126-7.hsd1.ca.comcast.net) (Quit: Client closed) |
| 15:46:17 | <geekosaur> | I think if you're looking for "minimal conversions" you're using the wrong language |
| 15:47:52 | <merijn> | ooh...this looks neat: https://github.com/stevana/bits-and-bobs#readme |
| 15:48:21 | <merijn> | I made an ad hoc implementation of something like that a while ago, but that was kinda hacky |
| 15:50:16 | → | freeside joins (~mengwong@bb115-66-48-84.singnet.com.sg) |
| 15:51:23 | → | Sgeo joins (~Sgeo@user/sgeo) |
| 15:52:45 | × | tromp quits (~textual@92-110-219-57.cable.dynamic.v4.ziggo.nl) (Quit: My iMac has gone to sleep. ZZZzzz…) |
| 15:53:30 | <eldritchcookie[4> | ok i am not looking for minimal conversions i want users to feel as if the library was a pure haskell one and make the c code an implementation detail so which type should a non negative number be? |
| 15:54:59 | × | freeside quits (~mengwong@bb115-66-48-84.singnet.com.sg) (Ping timeout: 260 seconds) |
| 15:55:02 | × | ix quits (~ix@2a02:8010:674f:0:d65d:64ff:fe52:5efe) (Remote host closed the connection) |
| 15:55:11 | → | ix joins (~ix@2a02:8010:674f:0:d65d:64ff:fe52:5efe) |
| 15:56:55 | <boxscape_> | seems like it probably depends on what the number represents |
| 15:57:06 | <boxscape_> | i don't have a lot of experience with making C bindings though |
| 15:58:08 | <geekosaur> | a Haskell developer would use Word (64 bits) or Natural (unbounded) normally. but if combination with signed types is expected they may use Int/Integer |
| 15:58:51 | <geekosaur> | (I consider the latter a bad idea since it'll fail badly if it actually needs that extra bit, but it doesn't seem to bother some developers) |
| 15:59:05 | <eldritchcookie[4> | ok the type is supposed to be an id i probably should newtype CUInt right? |
| 16:00:08 | <boxscape_> | that seems like a good idea |
| 16:00:26 | → | eggplantade joins (~Eggplanta@2600:1700:38c5:d800:54fb:433:f271:a472) |
| 16:00:39 | × | jao quits (~jao@cpc103048-sgyl39-2-0-cust502.18-2.cable.virginm.net) (Ping timeout: 268 seconds) |
| 16:01:59 | → | [itchyjunk] joins (~itchyjunk@user/itchyjunk/x-7353470) |
| 16:06:49 | × | ix quits (~ix@2a02:8010:674f:0:d65d:64ff:fe52:5efe) (Remote host closed the connection) |
| 16:06:59 | → | ix joins (~ix@2a02:8010:674f:0:d65d:64ff:fe52:5efe) |
| 16:07:02 | → | CiaoSen joins (~Jura@p200300c9574fa4002a3a4dfffe84dbd5.dip0.t-ipconnect.de) |
| 16:07:13 | → | tromp joins (~textual@92-110-219-57.cable.dynamic.v4.ziggo.nl) |
| 16:07:50 | × | ix quits (~ix@2a02:8010:674f:0:d65d:64ff:fe52:5efe) (Remote host closed the connection) |
| 16:08:00 | → | ix joins (~ix@2a02:8010:674f:0:d65d:64ff:fe52:5efe) |
| 16:08:08 | × | ix quits (~ix@2a02:8010:674f:0:d65d:64ff:fe52:5efe) (Client Quit) |
| 16:08:11 | × | nschoe quits (~q@141.101.51.197) (Quit: Switching off) |
| 16:09:01 | → | ix joins (~ix@2a02:8010:674f:0:d65d:64ff:fe52:5efe) |
| 16:10:37 | × | eggplantade quits (~Eggplanta@2600:1700:38c5:d800:54fb:433:f271:a472) (Remote host closed the connection) |
| 16:10:50 | × | jmdaemon quits (~jmdaemon@user/jmdaemon) (Ping timeout: 272 seconds) |
| 16:12:34 | × | kurbus quits (~kurbus@user/kurbus) (Quit: Client closed) |
| 16:14:28 | × | ix quits (~ix@2a02:8010:674f:0:d65d:64ff:fe52:5efe) (Ping timeout: 252 seconds) |
| 16:15:32 | × | troydm quits (~troydm@user/troydm) (Ping timeout: 255 seconds) |
| 16:16:30 | × | lagash_ quits (lagash@lagash.shelltalk.net) (Quit: ZNC - https://znc.in) |
| 16:17:02 | × | cfricke quits (~cfricke@user/cfricke) (Quit: WeeChat 3.7.1) |
| 16:20:01 | <ncf> | int-e: i may have taken our discussion too far https://gist.github.com/ncfavier/3085a2a2a72c5ea83291204fcf6d56ad |
| 16:21:18 | <ncf> | (if you add internal parametricity somehow you can even get ℕ ≃ MEndo directly, naturality being "for free") |
| 16:23:20 | → | jmdaemon joins (~jmdaemon@user/jmdaemon) |
| 16:25:08 | × | boxscape_ quits (~boxscape_@213.52.37.155) (Quit: Connection closed) |
| 16:25:21 | → | lagash joins (lagash@lagash.shelltalk.net) |
| 16:25:21 | <int-e> | ncf: I don't know what you mean by "too far". This goes in a different direction, but I think it ventures a bit further: https://www.isa-afp.org/entries/Goodstein_Lambda.html |
| 16:26:35 | <int-e> | (One could try *that* in Agda... I think the type system would be strong enough.) |
| 16:31:39 | → | mechap1 joins (~mechap@user/mechap) |
| 16:33:09 | <ncf> | cool |
| 16:34:54 | × | mechap quits (~mechap@user/mechap) (Ping timeout: 272 seconds) |
| 16:42:25 | → | Tuplanolla joins (~Tuplanoll@91-159-68-152.elisa-laajakaista.fi) |
| 16:44:38 | → | gnalzo joins (~gnalzo@2a01:e0a:498:fd50:fcc6:bb5d:489a:ce8c) |
| 16:46:03 | × | lagash quits (lagash@lagash.shelltalk.net) (Quit: ZNC - https://znc.in) |
| 16:50:18 | → | lagash_ joins (lagash@lagash.shelltalk.net) |
| 16:59:47 | → | econo joins (uid147250@user/econo) |
| 17:00:31 | → | freeside joins (~mengwong@bb115-66-48-84.singnet.com.sg) |
| 17:01:11 | × | jmdaemon quits (~jmdaemon@user/jmdaemon) (Ping timeout: 246 seconds) |
| 17:03:32 | × | stiell_ quits (~stiell@gateway/tor-sasl/stiell) (Remote host closed the connection) |
| 17:03:33 | × | jpds quits (~jpds@gateway/tor-sasl/jpds) (Remote host closed the connection) |
| 17:03:33 | × | ec quits (~ec@gateway/tor-sasl/ec) (Write error: Connection reset by peer) |
| 17:03:33 | × | califax quits (~califax@user/califx) (Read error: Connection reset by peer) |
| 17:04:03 | → | ec joins (~ec@gateway/tor-sasl/ec) |
| 17:04:20 | → | wootehfoot joins (~wootehfoo@user/wootehfoot) |
| 17:04:25 | → | stiell_ joins (~stiell@gateway/tor-sasl/stiell) |
| 17:04:45 | → | jpds joins (~jpds@gateway/tor-sasl/jpds) |
| 17:04:51 | → | califax joins (~califax@user/califx) |
| 17:08:27 | × | freeside quits (~mengwong@bb115-66-48-84.singnet.com.sg) (Ping timeout: 252 seconds) |
| 17:10:12 | × | CiaoSen quits (~Jura@p200300c9574fa4002a3a4dfffe84dbd5.dip0.t-ipconnect.de) (Ping timeout: 252 seconds) |
| 17:10:43 | → | jmdaemon joins (~jmdaemon@user/jmdaemon) |
| 17:11:08 | → | eggplantade joins (~Eggplanta@104-55-37-220.lightspeed.sntcca.sbcglobal.net) |
| 17:16:04 | × | eggplantade quits (~Eggplanta@104-55-37-220.lightspeed.sntcca.sbcglobal.net) (Ping timeout: 272 seconds) |
| 17:16:41 | → | alfonsox joins (~quassel@103.87.57.33) |
| 17:19:37 | × | albet70 quits (~xxx@2400:8902::f03c:92ff:fe60:98d8) (Remote host closed the connection) |
| 17:20:49 | → | bgs joins (~bgs@212-85-160-171.dynamic.telemach.net) |
| 17:22:45 | × | thongpv quits (~thongpv87@2402:9d80:3c5:3279:6838:f48f:3c76:575c) (Ping timeout: 252 seconds) |
| 17:25:43 | → | albet70 joins (~xxx@2400:8902::f03c:92ff:fe60:98d8) |
| 17:27:24 | × | alfonsox quits (~quassel@103.87.57.33) (Quit: https://quassel-irc.org - Chat comfortably. Anywhere.) |
| 17:27:37 | → | elevenkb joins (~elevenkb@105.224.38.20) |
| 17:28:46 | × | jpds quits (~jpds@gateway/tor-sasl/jpds) (Remote host closed the connection) |
| 17:29:01 | → | jpds joins (~jpds@gateway/tor-sasl/jpds) |
| 17:29:22 | → | thongpv joins (~thongpv87@2402:9d80:3bd:68e:7af8:9a7e:452b:164c) |
| 17:34:10 | → | freeside joins (~mengwong@bb115-66-48-84.singnet.com.sg) |
| 17:34:42 | → | jao joins (~jao@cpc103048-sgyl39-2-0-cust502.18-2.cable.virginm.net) |
| 17:35:46 | × | fserucas quits (~fserucas@2001:818:e376:a400:fb92:70c1:dd88:c7d7) (Quit: Leaving) |
| 17:38:40 | × | freeside quits (~mengwong@bb115-66-48-84.singnet.com.sg) (Ping timeout: 252 seconds) |
| 17:39:49 | × | bgs quits (~bgs@212-85-160-171.dynamic.telemach.net) (Remote host closed the connection) |
| 17:40:41 | × | elevenkb quits (~elevenkb@105.224.38.20) (Quit: Client closed) |
| 17:44:14 | → | ft joins (~ft@p4fc2a257.dip0.t-ipconnect.de) |
| 17:49:54 | × | trev quits (~trev@user/trev) (Remote host closed the connection) |
| 17:50:16 | × | jmdaemon quits (~jmdaemon@user/jmdaemon) (Ping timeout: 272 seconds) |
| 17:51:37 | → | tzh joins (~tzh@c-24-21-73-154.hsd1.wa.comcast.net) |
| 17:52:48 | × | vpan quits (~0@212.117.1.172) (Quit: Leaving.) |
| 17:54:55 | → | coot joins (~coot@213.134.171.3) |
| 17:58:30 | × | FinnElija quits (~finn_elij@user/finn-elija/x-0085643) (Remote host closed the connection) |
| 17:58:38 | → | finn_elija joins (~finn_elij@user/finn-elija/x-0085643) |
| 17:58:38 | finn_elija | is now known as FinnElija |
| 17:59:32 | → | eggplantade joins (~Eggplanta@104-55-37-220.lightspeed.sntcca.sbcglobal.net) |
| 18:00:47 | × | avicenzi quits (~avicenzi@2a00:ca8:a1f:b004::c32) (Ping timeout: 264 seconds) |
| 18:01:10 | → | freeside joins (~mengwong@bb115-66-48-84.singnet.com.sg) |
| 18:04:55 | × | coot quits (~coot@213.134.171.3) (Quit: coot) |
| 18:06:06 | × | freeside quits (~mengwong@bb115-66-48-84.singnet.com.sg) (Ping timeout: 272 seconds) |
| 18:08:52 | → | troydm joins (~troydm@user/troydm) |
| 18:11:01 | → | titibandit1 joins (~titibandi@xdsl-81-173-160-143.nc.de) |
| 18:15:59 | × | titibandit1 quits (~titibandi@xdsl-81-173-160-143.nc.de) (Quit: Leaving.) |
| 18:16:02 | × | eggplantade quits (~Eggplanta@104-55-37-220.lightspeed.sntcca.sbcglobal.net) (Remote host closed the connection) |
| 18:17:41 | → | segfaultfizzbuzz joins (~segfaultf@23-93-74-212.fiber.dynamic.sonic.net) |
| 18:18:08 | × | Xeroine quits (~Xeroine@user/xeroine) (Quit: ZNC 1.8.2+deb2+b1 - https://znc.in) |
| 18:18:27 | → | Xeroine joins (~Xeroine@user/xeroine) |
| 18:18:29 | × | teo quits (~teo@user/teo) (Ping timeout: 252 seconds) |
| 18:23:12 | × | Neuromancer quits (~Neuromanc@user/neuromancer) (Ping timeout: 272 seconds) |
| 18:23:27 | × | alternateved quits (~user@staticline-31-183-174-39.toya.net.pl) (Remote host closed the connection) |
| 18:23:56 | → | oldfashionedcow joins (~Rahul_San@user/oldfashionedcow) |
| 18:26:32 | → | eggplantade joins (~Eggplanta@104-55-37-220.lightspeed.sntcca.sbcglobal.net) |
| 18:28:23 | × | beteigeuze quits (~Thunderbi@a79-169-109-107.cpe.netcabo.pt) (Ping timeout: 264 seconds) |
| 18:33:31 | → | Lycurgus joins (~juan@user/Lycurgus) |
| 18:35:57 | → | mei_ joins (~mei@user/mei) |
| 18:36:29 | × | mei quits (~mei@user/mei) (Ping timeout: 260 seconds) |
| 18:37:11 | → | kurbus joins (~kurbus@user/kurbus) |
| 18:39:28 | × | wootehfoot quits (~wootehfoo@user/wootehfoot) (Quit: Leaving) |
| 18:41:54 | → | jero98772 joins (~jero98772@2800:484:1d80:d8ce:9815:cfda:3661:17bb) |
| 18:43:29 | × | kurbus quits (~kurbus@user/kurbus) (Quit: Client closed) |
| 18:44:56 | → | emmanuelux joins (~emmanuelu@user/emmanuelux) |
| 18:45:11 | → | beteigeuze joins (~Thunderbi@a79-169-109-107.cpe.netcabo.pt) |
| 18:45:19 | × | merijn quits (~merijn@86-86-29-250.fixed.kpn.net) (Ping timeout: 260 seconds) |
| 18:46:06 | → | kurbus joins (~kurbus@user/kurbus) |
| 18:46:15 | × | xacktm quits (~xacktm@user/xacktm) (Ping timeout: 260 seconds) |
| 18:46:38 | × | andreas303 quits (andreas303@ip227.orange.bnc4free.com) (Ping timeout: 272 seconds) |
| 18:46:42 | → | zmt01 joins (~zmt00@user/zmt00) |
| 18:49:39 | × | beteigeuze quits (~Thunderbi@a79-169-109-107.cpe.netcabo.pt) (Ping timeout: 260 seconds) |
| 18:50:43 | × | zmt00 quits (~zmt00@user/zmt00) (Ping timeout: 252 seconds) |
| 18:59:14 | × | jludwig quits (~justin@li657-110.members.linode.com) (Quit: ZNC - https://znc.in) |
| 19:00:21 | → | jludwig joins (~justin@li657-110.members.linode.com) |
| 19:07:01 | → | beteigeuze joins (~Thunderbi@bl14-81-220.dsl.telepac.pt) |
| 19:09:24 | × | Lycurgus quits (~juan@user/Lycurgus) (Quit: Exeunt: personae.ai-integration.biz) |
| 19:10:32 | → | andreas303 joins (andreas303@ip227.orange.bnc4free.com) |
| 19:11:51 | → | merijn joins (~merijn@c-001-001-014.client.esciencecenter.eduvpn.nl) |
| 19:14:09 | → | talismanick joins (~talismani@campus-055-139.ucdavis.edu) |
| 19:18:01 | → | freeside joins (~mengwong@bb115-66-48-84.singnet.com.sg) |
| 19:22:54 | × | freeside quits (~mengwong@bb115-66-48-84.singnet.com.sg) (Ping timeout: 260 seconds) |
| 19:23:29 | → | jinsun__ joins (~jinsun@user/jinsun) |
| 19:23:29 | × | jinsun quits (~jinsun@user/jinsun) (Killed (osmium.libera.chat (Nickname regained by services))) |
| 19:23:29 | jinsun__ | is now known as jinsun |
| 19:24:45 | → | xacktm joins (~xacktm@user/xacktm) |
| 19:26:10 | oldfashionedcow | is now known as gen43 |
| 19:27:06 | gen43 | is now known as oldfashionedcow |
| 19:36:13 | × | EsoAlgo quits (~EsoAlgo@129.146.136.145) (Remote host closed the connection) |
| 19:37:35 | → | EsoAlgo8 joins (~EsoAlgo@129.146.136.145) |
| 19:37:47 | × | kurbus quits (~kurbus@user/kurbus) (Quit: Client closed) |
| 19:43:24 | → | kurbus joins (~kurbus@user/kurbus) |
| 19:44:30 | → | freeside joins (~mengwong@bb115-66-48-84.singnet.com.sg) |
| 19:46:21 | × | merijn quits (~merijn@c-001-001-014.client.esciencecenter.eduvpn.nl) (Ping timeout: 268 seconds) |
| 19:46:33 | → | mc47 joins (~mc47@xmonad/TheMC47) |
| 19:46:44 | × | jpds quits (~jpds@gateway/tor-sasl/jpds) (Remote host closed the connection) |
| 19:48:45 | → | jpds joins (~jpds@gateway/tor-sasl/jpds) |
| 19:48:45 | × | moonsheep quits (~moonsheep@user/moonsheep) (Read error: Connection reset by peer) |
| 19:48:50 | × | freeside quits (~mengwong@bb115-66-48-84.singnet.com.sg) (Ping timeout: 255 seconds) |
| 19:49:30 | → | freeside joins (~mengwong@bb115-66-48-84.singnet.com.sg) |
| 19:53:23 | → | emad_ joins (~emad@41.239.96.79) |
| 19:54:24 | × | freeside quits (~mengwong@bb115-66-48-84.singnet.com.sg) (Ping timeout: 272 seconds) |
| 19:54:47 | × | talismanick quits (~talismani@campus-055-139.ucdavis.edu) (Ping timeout: 264 seconds) |
| 19:59:59 | × | mechap1 quits (~mechap@user/mechap) (Quit: WeeChat 3.8) |
| 20:00:16 | → | mechap joins (~mechap@user/mechap) |
| 20:03:30 | × | mechap quits (~mechap@user/mechap) (Client Quit) |
| 20:04:02 | → | mechap joins (~mechap@user/mechap) |
| 20:04:19 | → | mimmy_ joins (~mimmy@86.48.15.175) |
| 20:04:30 | × | mechap quits (~mechap@user/mechap) (Max SendQ exceeded) |
| 20:04:58 | → | mechap joins (~mechap@user/mechap) |
| 20:06:46 | × | kurbus quits (~kurbus@user/kurbus) (Quit: Client closed) |
| 20:09:15 | × | johnw quits (~johnw@76-234-69-149.lightspeed.frokca.sbcglobal.net) (Quit: ZNC - http://znc.in) |
| 20:09:37 | → | freeside joins (~mengwong@bb115-66-48-84.singnet.com.sg) |
| 20:10:22 | → | trev joins (~trev@user/trev) |
| 20:11:23 | → | johnw joins (~johnw@76-234-69-149.lightspeed.frokca.sbcglobal.net) |
| 20:11:24 | × | jpds quits (~jpds@gateway/tor-sasl/jpds) (Remote host closed the connection) |
| 20:12:08 | → | jpds joins (~jpds@gateway/tor-sasl/jpds) |
| 20:13:29 | × | mechap quits (~mechap@user/mechap) (Ping timeout: 268 seconds) |
| 20:14:14 | × | freeside quits (~mengwong@bb115-66-48-84.singnet.com.sg) (Ping timeout: 260 seconds) |
| 20:15:22 | → | mechap joins (~mechap@user/mechap) |
| 20:15:56 | × | raehik quits (~raehik@cpc95906-rdng25-2-0-cust156.15-3.cable.virginm.net) (Ping timeout: 272 seconds) |
| 20:25:45 | → | lortabac joins (~lortabac@2a01:e0a:541:b8f0:1a81:1c8e:cd4e:58e9) |
| 20:26:17 | × | stiell_ quits (~stiell@gateway/tor-sasl/stiell) (Ping timeout: 255 seconds) |
| 20:30:12 | → | CoolMa7 joins (~CoolMa7@2a02:8109:9d40:14ea:f0d1:ec87:105d:bdfe) |
| 20:34:09 | → | stiell_ joins (~stiell@gateway/tor-sasl/stiell) |
| 20:34:17 | → | bilegeek joins (~bilegeek@29.sub-174-208-235.myvzw.com) |
| 20:34:53 | × | mechap quits (~mechap@user/mechap) (Quit: WeeChat 3.8) |
| 20:35:48 | × | emad_ quits (~emad@41.239.96.79) (Quit: Leaving) |
| 20:36:24 | × | thyriaen quits (~thyriaen@2a01:aea0:dd4:4bae:6245:cbff:fe9f:48b1) (Remote host closed the connection) |
| 20:38:40 | → | offdg^ joins (~offdg@76.145.190.81) |
| 20:52:09 | × | mimmy_ quits (~mimmy@86.48.15.175) (Ping timeout: 260 seconds) |
| 20:52:31 | × | eggplantade quits (~Eggplanta@104-55-37-220.lightspeed.sntcca.sbcglobal.net) (Remote host closed the connection) |
| 20:53:02 | → | mimmy_ joins (~mimmy@86.48.15.172) |
| 21:00:30 | → | Midjak joins (~Midjak@82.66.147.146) |
| 21:02:00 | → | merijn joins (~merijn@c-001-001-014.client.esciencecenter.eduvpn.nl) |
| 21:07:29 | <DigitalKiwi> | anyone want to help me with this nerd snipe i got on christmas from one of my friends |
| 21:08:10 | <DigitalKiwi> | https://1drv.ms/u/s!Ap7Q1OKE4r7GgY4jmWkTq6s8wFY6Cg?e=gqeI7b |
| 21:08:49 | <DigitalKiwi> | someone said it's probably a linear regression? |
| 21:08:59 | <DigitalKiwi> | https://en.wikipedia.org/wiki/Linear_regression |
| 21:09:06 | <DigitalKiwi> | https://code.jsoftware.com/wiki/Essays/Linear_Regression |
| 21:09:13 | <DigitalKiwi> | and gave me those links but i am lost lol |
| 21:11:50 | <DigitalKiwi> | https://www.dropbox.com/scl/fi/htdsqj962xfe9p558clbm/signal-2022-12-25-081714.jpeg.ods?dl=0&rlkey=sljteolye33o77w8ccpp110i1 here's a spreadsheet with the data easier to work with than a screenshot lol |
| 21:12:37 | <DigitalKiwi> | could this be helpful https://hackage.haskell.org/package/statistics-linreg |
| 21:13:40 | <DigitalKiwi> | or this https://hackage.haskell.org/package/regression-simple |
| 21:13:58 | <shapr> | Is there a good way to search for typeclass instances? Does Hoogle do that? |
| 21:14:04 | <shapr> | howdy kiwi |
| 21:14:29 | <DigitalKiwi> | hey shapr :D |
| 21:14:36 | <DigitalKiwi> | long time |
| 21:15:51 | → | titibandit1 joins (~titibandi@xdsl-81-173-160-143.nc.de) |
| 21:16:41 | <DigitalKiwi> | shapr: what're you looking for |
| 21:18:59 | <[exa]> | DigitalKiwi: sounds ugly lot like anova |
| 21:19:34 | <[exa]> | (spoiler: all tricky business logic lead to anova and you may spend explaining years and years that anova is BS but they will still believe in it) |
| 21:21:03 | → | coot joins (~coot@2a02:a310:e241:1b00:ec1a:e9df:79ac:66ba) |
| 21:22:16 | × | mc47 quits (~mc47@xmonad/TheMC47) (Remote host closed the connection) |
| 21:23:21 | × | mimmy_ quits (~mimmy@86.48.15.172) (Read error: Connection reset by peer) |
| 21:24:49 | × | jao quits (~jao@cpc103048-sgyl39-2-0-cust502.18-2.cable.virginm.net) (Ping timeout: 260 seconds) |
| 21:26:07 | → | abhixec joins (~abhinav@c-67-169-139-16.hsd1.ca.comcast.net) |
| 21:26:27 | → | mizlan joins (~mizlan@131.179.76.218) |
| 21:31:45 | → | eggplantade joins (~Eggplanta@2600:1700:38c5:d800:54fb:433:f271:a472) |
| 21:33:20 | × | Midjak quits (~Midjak@82.66.147.146) (Quit: Leaving) |
| 21:33:27 | → | gmg joins (~user@user/gehmehgeh) |
| 21:34:28 | → | Lord_of_Life_ joins (~Lord@user/lord-of-life/x-2819915) |
| 21:34:56 | × | Lord_of_Life quits (~Lord@user/lord-of-life/x-2819915) (Ping timeout: 252 seconds) |
| 21:35:23 | × | juri_ quits (~juri@84-19-175-179.pool.ovpn.com) (Ping timeout: 252 seconds) |
| 21:35:46 | Lord_of_Life_ | is now known as Lord_of_Life |
| 21:36:47 | × | merijn quits (~merijn@c-001-001-014.client.esciencecenter.eduvpn.nl) (Ping timeout: 264 seconds) |
| 21:41:02 | × | lortabac quits (~lortabac@2a01:e0a:541:b8f0:1a81:1c8e:cd4e:58e9) (Quit: WeeChat 2.8) |
| 21:42:11 | → | juri_ joins (~juri@84-19-175-179.pool.ovpn.com) |
| 21:45:33 | × | Me-me quits (~me-me@2602:ff16:3:0:1:dc:beef:d00d) (Quit: Disconnecting on purpose.) |
| 21:45:45 | × | jinsun quits (~jinsun@user/jinsun) (Read error: Connection reset by peer) |
| 21:46:01 | → | jinsun joins (~jinsun@user/jinsun) |
| 21:46:28 | × | abhixec quits (~abhinav@c-67-169-139-16.hsd1.ca.comcast.net) (Ping timeout: 265 seconds) |
| 21:46:32 | → | Me-me joins (~me-me@2602:ff16:3:0:1:dc:beef:d00d) |
| 21:46:33 | × | tcard quits (~tcard@2400:4051:5801:7500:cf17:befc:ff82:5303) (Remote host closed the connection) |
| 21:46:47 | → | tcard joins (~tcard@2400:4051:5801:7500:cf17:befc:ff82:5303) |
| 21:47:16 | × | cheater quits (~Username@user/cheater) (Ping timeout: 252 seconds) |
| 21:48:17 | × | eggplantade quits (~Eggplanta@2600:1700:38c5:d800:54fb:433:f271:a472) (Remote host closed the connection) |
| 21:48:57 | × | titibandit1 quits (~titibandi@xdsl-81-173-160-143.nc.de) (Remote host closed the connection) |
| 21:51:06 | <eldritchcookie[4> | for some reason c2hs is importing as the wrong type |
| 21:51:20 | × | califax quits (~califax@user/califx) (Ping timeout: 255 seconds) |
| 21:51:38 | → | Midjak joins (~Midjak@82.66.147.146) |
| 21:52:37 | <eldritchcookie[4> | actually is there any way to make it not choke whenever i have a module importing another via {#import #} |
| 21:53:04 | → | califax joins (~califax@user/califx) |
| 21:53:43 | × | mizlan quits (~mizlan@131.179.76.218) (Ping timeout: 265 seconds) |
| 21:54:26 | → | mizlan joins (~mizlan@2607:f010:2e9:21:5d22:1e45:a3c8:5050) |
| 21:59:54 | <eldritchcookie[4> | besides reordering my exposed modules? |
| 22:02:02 | × | gnalzo quits (~gnalzo@2a01:e0a:498:fd50:fcc6:bb5d:489a:ce8c) (Quit: WeeChat 3.7.1) |
| 22:09:38 | × | CoolMa7 quits (~CoolMa7@2a02:8109:9d40:14ea:f0d1:ec87:105d:bdfe) (Quit: My MacBook has gone to sleep. ZZZzzz…) |
| 22:10:35 | → | freeside joins (~mengwong@bb115-66-48-84.singnet.com.sg) |
| 22:10:43 | → | cheater joins (~Username@user/cheater) |
| 22:12:49 | → | CoolMa7 joins (~CoolMa7@2a02:8109:9d40:14ea:f0d1:ec87:105d:bdfe) |
| 22:12:53 | → | unit73e joins (~emanuel@2001:818:e8dd:7c00:656:e5ff:fe72:9d36) |
| 22:13:04 | × | mizlan quits (~mizlan@2607:f010:2e9:21:5d22:1e45:a3c8:5050) (Ping timeout: 252 seconds) |
| 22:13:37 | × | trev quits (~trev@user/trev) (Remote host closed the connection) |
| 22:15:07 | × | freeside quits (~mengwong@bb115-66-48-84.singnet.com.sg) (Ping timeout: 256 seconds) |
| 22:16:49 | → | mizlan joins (~mizlan@169.150.203.52) |
| 22:21:27 | → | forell joins (~forell@user/forell) |
| 22:22:11 | → | fizbin joins (~fizbin@user/fizbin) |
| 22:29:50 | × | fizbin quits (~fizbin@user/fizbin) (Read error: Connection reset by peer) |
| 22:32:58 | → | merijn joins (~merijn@c-001-001-014.client.esciencecenter.eduvpn.nl) |
| 22:33:38 | × | mizlan quits (~mizlan@169.150.203.52) (Ping timeout: 246 seconds) |
| 22:33:57 | → | elevenkb joins (~elevenkb@105.224.38.20) |
| 22:34:37 | × | TonyStone quits (~TonyStone@cpe-74-76-57-186.nycap.res.rr.com) (Quit: Leaving) |
| 22:36:29 | × | coot quits (~coot@2a02:a310:e241:1b00:ec1a:e9df:79ac:66ba) (Quit: coot) |
| 22:38:27 | → | eggplantade joins (~Eggplanta@2600:1700:38c5:d800:54fb:433:f271:a472) |
| 22:38:55 | → | mizlan joins (~mizlan@169.150.203.65) |
| 22:43:02 | → | ub joins (~Thunderbi@p200300ecdf264e047aac122d9aee2265.dip0.t-ipconnect.de) |
| 22:43:20 | × | mizlan quits (~mizlan@169.150.203.65) (Ping timeout: 268 seconds) |
| 22:44:23 | × | ubert quits (~Thunderbi@p200300ecdf264e3ba430b09a3aa3621d.dip0.t-ipconnect.de) (Ping timeout: 260 seconds) |
| 22:44:24 | ub | is now known as ubert |
| 22:45:34 | × | elevenkb quits (~elevenkb@105.224.38.20) (Quit: Client closed) |
| 22:46:36 | → | mizlan joins (~mizlan@static-198-54-129-86.cust.tzulo.com) |
| 22:50:01 | → | elevenkb joins (~elevenkb@105.224.38.20) |
| 22:52:35 | × | takuan quits (~takuan@178-116-218-225.access.telenet.be) (Ping timeout: 268 seconds) |
| 22:53:16 | × | mizlan quits (~mizlan@static-198-54-129-86.cust.tzulo.com) (Ping timeout: 252 seconds) |
| 22:54:43 | × | Xeroine quits (~Xeroine@user/xeroine) (Quit: ZNC 1.8.2+deb2+b1 - https://znc.in) |
| 22:55:02 | → | Xeroine joins (~Xeroine@user/xeroine) |
| 22:56:12 | → | justsomeguy joins (~justsomeg@user/justsomeguy) |
| 23:00:35 | → | mizlan joins (~mizlan@89.46.114.142) |
| 23:01:08 | × | eggplantade quits (~Eggplanta@2600:1700:38c5:d800:54fb:433:f271:a472) (Remote host closed the connection) |
| 23:01:36 | × | mizlan quits (~mizlan@89.46.114.142) (Remote host closed the connection) |
| 23:02:20 | → | mizlan joins (~mizlan@89.46.114.142) |
| 23:06:18 | × | merijn quits (~merijn@c-001-001-014.client.esciencecenter.eduvpn.nl) (Ping timeout: 272 seconds) |
| 23:07:26 | → | laalyn joins (~laalyn@c-73-241-126-7.hsd1.ca.comcast.net) |
| 23:09:30 | → | jwiegley joins (~jwiegley@2600:1700:cf00:db0:7505:b08b:1e58:7340) |
| 23:10:18 | → | eggplantade joins (~Eggplanta@2600:1700:38c5:d800:54fb:433:f271:a472) |
| 23:11:42 | → | mizlan_ joins (~mizlan@89.46.114.196) |
| 23:13:09 | × | emmanuelux quits (~emmanuelu@user/emmanuelux) (Read error: Connection reset by peer) |
| 23:13:16 | × | mizlan quits (~mizlan@89.46.114.142) (Ping timeout: 272 seconds) |
| 23:18:27 | → | jargon joins (~jargon@174-22-197-118.phnx.qwest.net) |
| 23:20:11 | × | tromp quits (~textual@92-110-219-57.cable.dynamic.v4.ziggo.nl) (Quit: My iMac has gone to sleep. ZZZzzz…) |
| 23:22:08 | × | bilegeek quits (~bilegeek@29.sub-174-208-235.myvzw.com) (Quit: Leaving) |
| 23:31:01 | × | forell quits (~forell@user/forell) (Quit: ZNC - https://znc.in) |
| 23:33:20 | → | forell joins (~forell@user/forell) |
| 23:37:18 | → | waleee joins (~waleee@2001:9b0:213:7200:cc36:a556:b1e8:b340) |
| 23:37:46 | → | mizlan joins (~mizlan@2607:f010:2e9:21:dc41:87c2:667a:8a58) |
| 23:38:52 | × | gmg quits (~user@user/gehmehgeh) (Quit: Leaving) |
| 23:40:04 | × | mizlan_ quits (~mizlan@89.46.114.196) (Ping timeout: 268 seconds) |
| 23:40:16 | → | freeside joins (~mengwong@bb115-66-48-84.singnet.com.sg) |
| 23:42:03 | × | oldfashionedcow quits (~Rahul_San@user/oldfashionedcow) (Quit: WeeChat 3.7.1) |
| 23:42:36 | → | oldfashionedcow joins (~Rahul_San@user/oldfashionedcow) |
| 23:44:35 | × | Midjak quits (~Midjak@82.66.147.146) (Quit: This computer has gone to sleep) |
| 23:44:56 | × | freeside quits (~mengwong@bb115-66-48-84.singnet.com.sg) (Ping timeout: 272 seconds) |
| 23:45:54 | × | johnw quits (~johnw@76-234-69-149.lightspeed.frokca.sbcglobal.net) (Quit: ZNC - http://znc.in) |
| 23:45:54 | × | jwiegley quits (~jwiegley@2600:1700:cf00:db0:7505:b08b:1e58:7340) (Quit: ZNC - http://znc.in) |
| 23:47:42 | → | bitdex joins (~bitdex@gateway/tor-sasl/bitdex) |
| 23:48:11 | × | __monty__ quits (~toonn@user/toonn) (Quit: leaving) |
| 23:51:36 | → | cheater_ joins (~Username@user/cheater) |
| 23:53:30 | → | talismanick joins (~talismani@campus-055-139.ucdavis.edu) |
| 23:53:39 | × | mizlan quits (~mizlan@2607:f010:2e9:21:dc41:87c2:667a:8a58) (Ping timeout: 255 seconds) |
| 23:55:05 | × | cheater quits (~Username@user/cheater) (Ping timeout: 260 seconds) |
| 23:55:12 | cheater_ | is now known as cheater |
| 23:55:41 | × | Tuplanolla quits (~Tuplanoll@91-159-68-152.elisa-laajakaista.fi) (Quit: Leaving.) |
| 23:59:49 | × | mei_ quits (~mei@user/mei) (Remote host closed the connection) |
All times are in UTC on 2023-01-13.