Home liberachat/#haskell: Logs Calendar

Logs: liberachat/#haskell

←Prev  Next→
Page 1 .. 870 871 872 873 874 875 876 877 878 879 880 .. 18026
1,802,599 events total
2021-07-09 19:59:02 <Guest62> tried reinstalling but it looks like it's just finding the package that was installed and just linking that
2021-07-09 19:59:06 <Boarders> this is really an algorithms question but someone here might know. If I have a set of integers and I want to choose a subset that is closest to summing to a target value, is there a nice algorithm to do that?
2021-07-09 19:59:13 nschoe joins (~quassel@2a01:e0a:8e:a190:af88:6c9:cc87:d82a)
2021-07-09 19:59:21 <Guest62> i wonder if i might've set some default options somewhere for stack
2021-07-09 19:59:48 × favonia quits (~favonia@user/favonia) (Ping timeout: 252 seconds)
2021-07-09 20:00:22 × chisui quits (~chisui@200116b866eaab00b869ec172918c6ce.dip.versatel-1u1.de) (Quit: Client closed)
2021-07-09 20:00:31 <Guest62> ls
2021-07-09 20:01:07 favonia joins (~favonia@user/favonia)
2021-07-09 20:01:43 raehik joins (~raehik@cpc95906-rdng25-2-0-cust156.15-3.cable.virginm.net)
2021-07-09 20:01:56 <sm> Guest62: that would be in ~/.stack/global-project
2021-07-09 20:02:12 wroathe joins (~wroathe@c-68-54-25-135.hsd1.mn.comcast.net)
2021-07-09 20:02:29 <sm> reinstalling with --verbosity=debug should show some kind of path info, if not then probably --force-reinstall or something will help
2021-07-09 20:02:33 × MQ-17J quits (~MQ-17J@8.21.10.15) (Ping timeout: 252 seconds)
2021-07-09 20:03:05 smtnet3 joins (~asdfasdfa@202.36.244.28)
2021-07-09 20:04:59 × eggplantade quits (~Eggplanta@2600:1700:bef1:5e10:39f3:da:7ab8:bc1e) (Remote host closed the connection)
2021-07-09 20:05:15 × juhp quits (~juhp@128.106.188.66) (Ping timeout: 268 seconds)
2021-07-09 20:07:31 juhp joins (~juhp@128.106.188.66)
2021-07-09 20:08:11 × _ht quits (~quassel@82-169-194-8.biz.kpn.net) (Remote host closed the connection)
2021-07-09 20:08:55 ghais joins (~ghais@c-76-97-106-226.hsd1.ga.comcast.net)
2021-07-09 20:09:36 yauhsien joins (~yauhsien@61-231-39-135.dynamic-ip.hinet.net)
2021-07-09 20:12:11 × raehik quits (~raehik@cpc95906-rdng25-2-0-cust156.15-3.cable.virginm.net) (Ping timeout: 255 seconds)
2021-07-09 20:12:21 phma_ is now known as phma
2021-07-09 20:12:25 Lycurgus joins (~juan@cpe-45-46-140-49.buffalo.res.rr.com)
2021-07-09 20:13:59 × yauhsien quits (~yauhsien@61-231-39-135.dynamic-ip.hinet.net) (Ping timeout: 255 seconds)
2021-07-09 20:16:11 <ghais> Hi all. I have a package https://github.com/ghais/HQu which depends on hmatrix-gsl which in turn depends on gsl (Gnu Scientific Library). I cannot seem to get hackage servers to build this library correctly. However other libraries that depend on gsl seem to build fine on hackage build servers. Does anyone know if i have an issue in my cabal file
2021-07-09 20:16:12 <ghais> (https://github.com/ghais/HQu/blob/main/HQu.cabal)?
2021-07-09 20:16:23 <ghais> I would appreciate any help, i tried everything i can think about
2021-07-09 20:16:59 <ghais> Sorry second link is messed up: https://github.com/ghais/HQu/blob/main/HQu.cabal
2021-07-09 20:18:11 <ghais> alternatively are there any documentations about the hackage build servers where i can define my system dependencies?
2021-07-09 20:18:16 <ghais> pkgconfig-depends: gsl
2021-07-09 20:18:39 <ghais> doesn't seem to do the trick on the server, since i get a message saying it cannot be satisfied
2021-07-09 20:20:07 waleee joins (~waleee@h-98-128-228-119.NA.cust.bahnhof.se)
2021-07-09 20:20:34 <ghais> hackage build report is here: https://hackage.haskell.org/package/HQu-0.0.0.4/reports/2
2021-07-09 20:20:44 × favonia quits (~favonia@user/favonia) (Ping timeout: 255 seconds)
2021-07-09 20:21:48 chomwitt joins (~Pitsikoko@ppp-94-67-202-202.home.otenet.gr)
2021-07-09 20:22:19 zes joins (~zes@p2003000631de7b35c9a03d4c214f06a5.dip0.t-ipconnect.de)
2021-07-09 20:23:04 favonia joins (~favonia@user/favonia)
2021-07-09 20:23:09 × Vajb quits (~Vajb@hag-jnsbng11-58c3a1-224.dhcp.inet.fi) (Remote host closed the connection)
2021-07-09 20:24:32 × bontaq quits (~user@ool-18e47f8d.dyn.optonline.net) (Remote host closed the connection)
2021-07-09 20:26:32 × machinedgod quits (~machinedg@135-23-192-217.cpe.pppoe.ca) (Ping timeout: 252 seconds)
2021-07-09 20:27:12 troydm joins (~troydm@host-176-37-124-197.b025.la.net.ua)
2021-07-09 20:28:01 Vajb joins (~Vajb@hag-jnsbng11-58c3a1-224.dhcp.inet.fi)
2021-07-09 20:28:04 ubert joins (~Thunderbi@p2e5a50e5.dip0.t-ipconnect.de)
2021-07-09 20:30:03 Hanicef joins (~gustaf@81-229-9-108-no92.tbcn.telia.com)
2021-07-09 20:30:31 <sclv> ghais: please stop uploading to hackage to make your package build!
2021-07-09 20:30:40 <sclv> it has been abusive to the servers
2021-07-09 20:30:49 <ghais> sclv: My bad
2021-07-09 20:30:53 <ghais> I will stop
2021-07-09 20:30:55 × ubert quits (~Thunderbi@p2e5a50e5.dip0.t-ipconnect.de) (Remote host closed the connection)
2021-07-09 20:31:09 <sclv> the buildbox lacks many libs, its fine if it doesn’t build
2021-07-09 20:31:28 <sclv> uploading the docs manually as you have done is fine
2021-07-09 20:31:53 <ghais> I understand that, however if i want to add it to stackage, it seems that there is a requirement that it builds on hackage first
2021-07-09 20:31:54 <sclv> the backstory is we moved servers at some point and the old one had more libs
2021-07-09 20:32:08 <sclv> that shouldn’t be a stackage requirement?
2021-07-09 20:32:33 <ghais> https://github.com/commercialhaskell/stackage/blob/master/MAINTAINERS.md#adding-a-package
2021-07-09 20:32:38 <sclv> i did notice you repeatedly attempting to upload and installed the libgsl stuff on the buildbox
2021-07-09 20:32:38 × turlando quits (~turlando@user/turlando) (Read error: Connection reset by peer)
2021-07-09 20:33:27 <ghais> again, i apologize. Maybe i misread the requirements from stackage
2021-07-09 20:33:39 <sclv> if you want libs installed there’s a hackage ticket you can comment on in the future as well, and also you can edit metadata and force rebuilds from the maintainer corner without a new upload
2021-07-09 20:33:54 <sclv> no big deal, just glad i could communicate to you about this! :-)
2021-07-09 20:34:16 turlando joins (~turlando@93-42-250-112.ip89.fastwebnet.it)
2021-07-09 20:34:17 × turlando quits (~turlando@93-42-250-112.ip89.fastwebnet.it) (Changing host)
2021-07-09 20:34:17 turlando joins (~turlando@user/turlando)
2021-07-09 20:34:25 <sclv> If it does turn out its a stackage req, do let me know. Id be surprised
2021-07-09 20:34:56 <sclv> I suspect they mean it needs to be on hackage and needs to be buildable, not that hackage itself needs to be able to build it :-)
2021-07-09 20:35:00 <ghais> I might be misunderstanding this statement from their documentation: The package is buildable and testable from Hackage
2021-07-09 20:35:12 <ghais> I understood this to mean that it must build successfully on hackage
2021-07-09 20:35:22 <ghais> Yeah, good point
2021-07-09 20:35:42 <sclv> the “from” means just that its on there i think..
2021-07-09 20:36:27 <ghais> thanks. I will just upload the documentation manually then
2021-07-09 20:38:31 jumper149 joins (~jumper149@80.240.31.34)
2021-07-09 20:38:59 × oxide quits (~lambda@user/oxide) (Quit: oxide)
2021-07-09 20:39:02 <sclv> releases are permanent so ideally should not be too frequent
2021-07-09 20:42:51 × TheRAt quits (~TheRAt@user/therat) (Ping timeout: 258 seconds)
2021-07-09 20:44:32 × justsomeguy quits (~justsomeg@user/justsomeguy) (Quit: WeeChat 3.0.1)
2021-07-09 20:45:08 TheRAt joins (~TheRAt@user/therat)
2021-07-09 20:45:30 <ghais> That part i understood, but i couldn't connect the dots to why other libraries with similar dependency successfully, and i assumed it was my issue. As a new comer to Haskell some of this knowledge is not easy to glue together, and documentation around the interaction between stack/cabal/build servers/hackage/stackage has been particular difficult
2021-07-09 20:45:30 <ghais> to glue together
2021-07-09 20:46:00 × favonia quits (~favonia@user/favonia) (Ping timeout: 252 seconds)
2021-07-09 20:46:10 eggplantade joins (~Eggplanta@2600:1700:bef1:5e10:39f3:da:7ab8:bc1e)
2021-07-09 20:47:53 favonia joins (~favonia@user/favonia)
2021-07-09 20:48:06 × takuan quits (~takuan@178-116-218-225.access.telenet.be) (Remote host closed the connection)
2021-07-09 20:49:10 <sclv> sure, understood. any specific suggestions of how to improve docs welcome!
2021-07-09 20:50:32 warnz joins (~warnz@2600:1700:77c0:5610:edd9:472d:4b89:9ab8)
2021-07-09 20:50:51 <ghais> one none obvious thing i noticed is that to upload the documentation manually you have to have a specific directory name, and you need to tar but not gzip, and the tar needs to be done with a --format=ustar instead of the default format. I think adding this to the manual documentation upload page would have saved me a lot of time
2021-07-09 20:52:03 <sm> good info
2021-07-09 20:52:04 <ghais> another item that would be very useful is to understand the build process on hackage. It was only through my abusive trial and error that i leared that the build plan is dependent on the base library i specify in my cabal file
2021-07-09 20:52:32 <ghais> It seems that the base library constraints selects which versions of GHC will be used
2021-07-09 20:53:06 <sm> correct, GHC and base are locked together
2021-07-09 20:53:16 <davean> but it deosn't select which ghc is used
2021-07-09 20:53:34 × Lycurgus quits (~juan@cpe-45-46-140-49.buffalo.res.rr.com) (Quit: Exeunt)
2021-07-09 20:53:38 <davean> the direction is the other, you just can't find a build plan if you aren't compatible with that GHC's base
2021-07-09 20:53:53 <sm> s/locked/semi-locked/
2021-07-09 20:54:37 <ghais> I understand this distinction, but look at it from the prespective of someone who started with "stack new projectX"
2021-07-09 20:55:12 <sm> ghais: you're not wrong.. we know.. :/
2021-07-09 20:55:16 <davean> Yah, you'd have to talk to stack folk for their documentation, not sure any of them are around here?
2021-07-09 20:55:23 <ghais> a base constraint is specified in the cabal file. A specific version of GHC is selected through which resolver you use, and then i start using some features
2021-07-09 20:55:25 <davean> ghc documents this for sure
2021-07-09 20:55:50 <ghais> No sorry, i was writing a multi line statement. I was trying to say that there is a disconnect between the tools
2021-07-09 20:56:26 <davean> ghais: hum, can you explain? different tools do different things, so I might be confused here

All times are in UTC.