Logs: liberachat/#haskell
| 2021-08-15 10:04:44 | → | keutoi joins (~keutoi@157.47.6.195) |
| 2021-08-15 10:07:42 | <fvr> | fendor, I just changed the dependency of Cabal to >= 3.6 in cabal-testsuite and it's compiling |
| 2021-08-15 10:07:50 | <fvr> | the intree version of Cabal lib is 3.6 |
| 2021-08-15 10:08:38 | <pavonia> | tromp: Can you derive any chess position with that library by providing an integer, and vice versa? |
| 2021-08-15 10:08:53 | <fendor> | fvr, the test-case depends on the intree Cabal lib, but when I execute: https://paste.tomsmeding.com/LEtXtyPF |
| 2021-08-15 10:09:12 | → | azeem joins (~azeem@dynamic-adsl-94-34-33-6.clienti.tiscali.it) |
| 2021-08-15 10:09:32 | <fendor> | slight correction: https://paste.tomsmeding.com/3h8W2K7o this contains the actual invocation |
| 2021-08-15 10:10:08 | <tromp> | actually 16 is not possible due to limits on number of promotions, but 14 is |
| 2021-08-15 10:10:47 | <tromp> | @pavonia, any legal chess position can be ranked as an integer |
| 2021-08-15 10:10:47 | <lambdabot> | Unknown command, try @list |
| 2021-08-15 10:11:01 | <tromp> | pavonia, any legal chess position can be ranked as an integer |
| 2021-08-15 10:11:25 | → | wroathe joins (~wroathe@c-68-54-25-135.hsd1.mn.comcast.net) |
| 2021-08-15 10:12:03 | <tromp> | as well as many illegal ones that satisfy certain constraints on promotions and pawn placement |
| 2021-08-15 10:12:44 | <pavonia> | Does ranking here imply some meaningful chess moves or just legal ones? |
| 2021-08-15 10:14:09 | <fvr> | I get a similar error with the message "constraint from maximum version of Cabal used by Setup.hs requires <3.6", but when I use in tree cabal-install to build, it goes away. but looks like you are already using it |
| 2021-08-15 10:14:20 | → | acidjnk_new joins (~acidjnk@p200300d0c72b9503f052fac21b551e32.dip0.t-ipconnect.de) |
| 2021-08-15 10:15:25 | <tromp> | it has nothing to do with meaningfull chess |
| 2021-08-15 10:15:41 | <tromp> | just constraints imposed by legal chess |
| 2021-08-15 10:16:03 | × | wroathe quits (~wroathe@c-68-54-25-135.hsd1.mn.comcast.net) (Ping timeout: 258 seconds) |
| 2021-08-15 10:17:38 | × | acidjnk quits (~acidjnk@p200300d0c72b9508a1e806c8914cbd0f.dip0.t-ipconnect.de) (Ping timeout: 272 seconds) |
| 2021-08-15 10:18:43 | × | wallymathieu quits (~wallymath@81-234-151-21-no94.tbcn.telia.com) (Quit: My MacBook has gone to sleep. ZZZzzz…) |
| 2021-08-15 10:18:48 | → | oldsk00l_ joins (~znc@ec2-18-170-87-228.eu-west-2.compute.amazonaws.com) |
| 2021-08-15 10:19:46 | <tromp> | feel free to upvote the HN submission:) |
| 2021-08-15 10:21:04 | <pavonia> | tromp: Can you only get completely random results of could you, e.g., say "give me some random position after 10 moves" |
| 2021-08-15 10:21:51 | <tromp> | pavonia: it has nothing to do with number of moves. use perft related tools for that |
| 2021-08-15 10:22:39 | <pavonia> | Sorry, just trying to understand the purpose of that library |
| 2021-08-15 10:22:44 | <tromp> | it's uniformly random in the space of my 8726713169886222032347729969256422370854716254 urpositions |
| 2021-08-15 10:23:20 | <tromp> | the main purpose is getting accurate estimates on the number of legal positions |
| 2021-08-15 10:23:42 | <tromp> | which we never had before |
| 2021-08-15 10:24:31 | <tromp> | perhaps it can also serve as a stress test for chess engines:-) |
| 2021-08-15 10:24:46 | <pavonia> | I see |
| 2021-08-15 10:25:26 | <tromp> | for haskell users, the Data.Ranking is of independent interest |
| 2021-08-15 10:25:36 | → | jtomas joins (~jtomas@233.red-83-34-2.dynamicip.rima-tde.net) |
| 2021-08-15 10:25:56 | <tromp> | and this project is like a showcase of its power |
| 2021-08-15 10:26:29 | <tromp> | it's very similar to Enumeration.Invertible |
| 2021-08-15 10:26:29 | → | mt404 joins (~mt404@cpe1056118081ac-cm1056118081aa.cpe.net.cable.rogers.com) |
| 2021-08-15 10:30:39 | → | burnsidesLlama joins (~burnsides@dhcp168-012.wadham.ox.ac.uk) |
| 2021-08-15 10:33:56 | → | eggplantade joins (~Eggplanta@108-201-191-115.lightspeed.sntcca.sbcglobal.net) |
| 2021-08-15 10:35:56 | <fvr> | fendor, I can reproduce your error when I change version of Cabal lib in one of the cabal-testsuite tests , likely an error in cabal-testsuite itself |
| 2021-08-15 10:36:58 | → | oxide joins (~lambda@user/oxide) |
| 2021-08-15 10:37:09 | <fendor> | fvr, nice, if the error is in the test-case, we can fix it! |
| 2021-08-15 10:38:35 | × | eggplantade quits (~Eggplanta@108-201-191-115.lightspeed.sntcca.sbcglobal.net) (Ping timeout: 268 seconds) |
| 2021-08-15 10:38:41 | × | indiana-bones quits (~indignant@94.140.8.98) (Quit: Leaving) |
| 2021-08-15 10:39:59 | × | pavonia quits (~user@user/siracusa) (Quit: Bye!) |
| 2021-08-15 10:41:25 | ← | jakalx parts (~jakalx@base.jakalx.net) (Error from remote client) |
| 2021-08-15 10:52:46 | × | oxide quits (~lambda@user/oxide) (Ping timeout: 268 seconds) |
| 2021-08-15 10:57:42 | × | lavaman quits (~lavaman@98.38.249.169) (Remote host closed the connection) |
| 2021-08-15 11:02:01 | × | Vajb quits (~Vajb@hag-jnsbng11-58c3ab-85.dhcp.inet.fi) (Read error: Connection reset by peer) |
| 2021-08-15 11:02:38 | × | hendursa1 quits (~weechat@user/hendursaga) (Remote host closed the connection) |
| 2021-08-15 11:03:03 | → | hendursa1 joins (~weechat@user/hendursaga) |
| 2021-08-15 11:04:37 | × | geekosaur quits (~geekosaur@xmonad/geekosaur) (Remote host closed the connection) |
| 2021-08-15 11:06:02 | → | sedeki joins (~textual@user/sedeki) |
| 2021-08-15 11:06:40 | → | geekosaur joins (~geekosaur@xmonad/geekosaur) |
| 2021-08-15 11:07:08 | × | sedeki quits (~textual@user/sedeki) (Client Quit) |
| 2021-08-15 11:07:25 | → | pretty_dumm_guy joins (trottel@gateway/vpn/protonvpn/prettydummguy/x-88029655) |
| 2021-08-15 11:07:48 | <fvr> | fendor, the test I am testing has it's own cabal.project file, if I add the the intree Cabal to its project file's packages list, the cabal in the test can see it then |
| 2021-08-15 11:08:41 | → | AlexNoo_ joins (~AlexNoo@94.233.240.231) |
| 2021-08-15 11:09:53 | × | fabfianda quits (~fabfianda@37.183.255.57) (Ping timeout: 248 seconds) |
| 2021-08-15 11:10:25 | × | Alex_test quits (~al_test@94.233.240.105) (Ping timeout: 248 seconds) |
| 2021-08-15 11:10:37 | → | fabfianda joins (~fabfianda@mob-5-91-124-63.net.vodafone.it) |
| 2021-08-15 11:11:17 | × | AlexZenon quits (~alzenon@94.233.240.105) (Ping timeout: 268 seconds) |
| 2021-08-15 11:12:22 | × | AlexNoo quits (~AlexNoo@94.233.240.105) (Ping timeout: 256 seconds) |
| 2021-08-15 11:16:11 | → | Alex_test joins (~al_test@94.233.240.231) |
| 2021-08-15 11:16:11 | → | AlexZenon joins (~alzenon@94.233.240.231) |
| 2021-08-15 11:19:12 | → | merijn joins (~merijn@83-160-49-249.ip.xs4all.nl) |
| 2021-08-15 11:20:02 | → | ircbrowse_tom joins (~ircbrowse@static.162.49.55.162.clients.your-server.de) |
| 2021-08-15 11:20:04 | Server | sets mode +Cnt |
| 2021-08-15 11:22:24 | → | jakalx joins (~jakalx@base.jakalx.net) |
| 2021-08-15 11:24:55 | → | pfurla_ joins (~pfurla@ool-3f8fcb0f.dyn.optonline.net) |
| 2021-08-15 11:28:00 | × | o1lo01ol1o quits (~o1lo01ol1@31.22.129.100) (Remote host closed the connection) |
| 2021-08-15 11:28:30 | → | lavaman joins (~lavaman@98.38.249.169) |
| 2021-08-15 11:28:41 | → | o1lo01ol1o joins (~o1lo01ol1@31.22.129.100) |
| 2021-08-15 11:28:48 | × | pfurla quits (~pfurla@ool-3f8fcb0f.dyn.optonline.net) (Ping timeout: 256 seconds) |
| 2021-08-15 11:33:28 | × | lavaman quits (~lavaman@98.38.249.169) (Ping timeout: 268 seconds) |
| 2021-08-15 11:34:55 | → | waleee joins (~waleee@2001:9b0:216:8200:d457:9189:7843:1dbd) |
| 2021-08-15 11:36:05 | → | machinedgod joins (~machinedg@24.105.81.50) |
| 2021-08-15 11:39:42 | <arahael> | Been looking at a bug in my haskell server, and started using Debug.trace for the first time. I've discovered that 'https://hackage.haskell.org/package/tar-0.5.1.1/docs/Codec-Archive-Tar.html#v:entryPath' appears to be truncating the filenames1? |
| 2021-08-15 11:41:45 | <arahael> | Can someone suggest a better tarfile implementation? |
| 2021-08-15 11:42:03 | × | burnsidesLlama quits (~burnsides@dhcp168-012.wadham.ox.ac.uk) (Remote host closed the connection) |
| 2021-08-15 11:42:55 | → | burnsidesLlama joins (~burnsides@dhcp168-012.wadham.ox.ac.uk) |
| 2021-08-15 11:43:12 | <fvr> | arahael, would this work https://github.com/hasufell/tar-bytestring/ |
| 2021-08-15 11:43:27 | × | burnsidesLlama quits (~burnsides@dhcp168-012.wadham.ox.ac.uk) (Remote host closed the connection) |
| 2021-08-15 11:44:00 | → | burnsidesLlama joins (~burnsides@dhcp168-012.wadham.ox.ac.uk) |
| 2021-08-15 11:44:13 | <arahael> | fvr: Perhaps! |
| 2021-08-15 11:45:42 | → | Morimaruza[m] joins (~morimaruz@2001:470:69fc:105::da03) |
| 2021-08-15 11:45:42 | ← | Morimaruza[m] parts (~morimaruz@2001:470:69fc:105::da03) () |
| 2021-08-15 11:46:37 | <arahael> | fvr: I think that's a fork originating from https://github.com/haskell/tar/pull/50 maybe. It's such a weird issue, by logging, I notice that there's a pretty short maximum length for the filenames. It's weird. |
| 2021-08-15 11:46:55 | <tomsmeding> | arahael: fvr: there's also libarchive, which is recommended over tar-bytestring by tar-bytestring's author... https://github.com/hasufell/hpath/pull/41#issuecomment-896910037 |
| 2021-08-15 11:47:04 | <tomsmeding> | though tar-bytestring is far more similar to 'tar' |
| 2021-08-15 11:47:12 | <tomsmeding> | if you want an easy switch |
| 2021-08-15 11:47:38 | × | oldsk00l quits (~znc@ec2-3-127-148-248.eu-central-1.compute.amazonaws.com) (Remote host closed the connection) |
| 2021-08-15 11:47:59 | <arahael> | tomsmeding: I'm trying the easy switch, but I think I should swap to libarchive regardless but not today (It's nearly 10pm afterall) |
| 2021-08-15 11:48:24 | → | Vajb joins (~Vajb@hag-jnsbng11-58c3ab-85.dhcp.inet.fi) |
| 2021-08-15 11:48:43 | <arahael> | Hmm, tar-bytestring doesn't seem to build in cabal. |
| 2021-08-15 11:48:50 | <maerwald[m]> | tar-bytestring is still maintained, but the idea is to ditch it completely and rewrite it in streamly |
| 2021-08-15 11:48:52 | × | machinedgod quits (~machinedg@24.105.81.50) (Read error: Connection reset by peer) |
| 2021-08-15 11:48:53 | × | burnsidesLlama quits (~burnsides@dhcp168-012.wadham.ox.ac.uk) (Ping timeout: 268 seconds) |
| 2021-08-15 11:49:06 | <fvr> | tomsmeding: cool didn't know that |
| 2021-08-15 11:49:18 | <maerwald[m]> | libarchive also has better memory consumption |
| 2021-08-15 11:49:20 | <arahael> | (Due to something an error with building streamly-posix-0.1.0.1 ) |
All times are in UTC.