Home liberachat/#haskell: Logs Calendar

Logs: liberachat/#haskell

←Prev  Next→
Page 1 .. 820 821 822 823 824 825 826 827 828 829 830 .. 18024
1,802,340 events total
2021-07-06 12:35:04 <timCF> merijn: thanks, I'll take a look!
2021-07-06 12:35:53 <merijn> timCF: Also somewhat relevant: http://speedscope.app + https://mpickering.github.io/posts/2019-11-07-hs-speedscope.html
2021-07-06 12:35:58 <Lycurgus> Grace Hopper's famous quote is also relevant
2021-07-06 12:37:17 <timCF> Rembane: yes. In production one of my haskell programms consumes a lot of CPU for some reason. In Erlang usually I investigated such issues connecting with distributed erlang to problematic node, running observer tool locally. And then I could sort process list by problematic value (cpu/memory), investigate state etc
2021-07-06 12:38:01 <merijn> timCF: Oh, "+RTS -sstderr" is also relevant
2021-07-06 12:38:06 <Rembane> timCF: Got it.
2021-07-06 12:38:49 <merijn> timCF: That one is just a summary of space usage and GC time, not super detailed, but it also works on non-profiling builds so it's a good way to spot major issues
2021-07-06 12:40:32 × derelict quits (~derelict@user/derelict) (Ping timeout: 252 seconds)
2021-07-06 12:40:34 <timCF> merijn: cool, thanks!
2021-07-06 12:40:39 <merijn> I like to use -s to see if my space usage and productivity are "reasonable"
2021-07-06 12:41:12 <merijn> (productivity should be 80-90% and max resident space should be whatever seems reasonable for your code)
2021-07-06 12:41:38 derelict joins (~derelict@user/derelict)
2021-07-06 12:43:48 × jess quits (~jess@libera/staff/jess) ()
2021-07-06 12:44:05 × dunj3 quits (~dunj3@2001:16b8:30db:ce00:b825:b46d:5278:e0d1) (Remote host closed the connection)
2021-07-06 12:44:47 <Lycurgus> productivity for those who didn know like me in this context means time spent in the hs mutator
2021-07-06 12:45:05 jess joins (~jess@libera/staff/jess)
2021-07-06 12:45:21 nschoe joins (~quassel@2a01:e0a:8e:a190:b228:bdd7:be31:d4a6)
2021-07-06 12:45:45 <merijn> aka "time not spent on garbage collection"
2021-07-06 12:46:14 <merijn> So if it drops below 80% you are spending more than 20% of your time GCing stuff, which is probably not right
2021-07-06 12:50:16 × timCF quits (~timCF@m91-129-99-121.cust.tele2.ee) (Ping timeout: 272 seconds)
2021-07-06 12:50:33 × LukeHoersten quits (~LukeHoers@user/lukehoersten) (Ping timeout: 252 seconds)
2021-07-06 12:53:28 timCF joins (~timCF@m91-129-99-121.cust.tele2.ee)
2021-07-06 12:53:44 × jneira quits (~jneira@212.8.115.226) (Quit: Client closed)
2021-07-06 12:53:47 machinedgod joins (~machinedg@135-23-192-217.cpe.pppoe.ca)
2021-07-06 12:54:44 LukeHoersten joins (~LukeHoers@user/lukehoersten)
2021-07-06 12:56:50 × Lycurgus quits (~juan@cpe-45-46-140-49.buffalo.res.rr.com) (Quit: Exeunt)
2021-07-06 12:57:46 × timCF quits (~timCF@m91-129-99-121.cust.tele2.ee) (Ping timeout: 240 seconds)
2021-07-06 12:59:13 × maf654321 quits (~maf654321@user/maf654321) (Ping timeout: 246 seconds)
2021-07-06 12:59:46 × dunkeln quits (~dunkeln@188.71.194.238) (Ping timeout: 240 seconds)
2021-07-06 13:00:05 hiruji joins (~hiruji@user/hiruji)
2021-07-06 13:00:57 alx741 joins (~alx741@186.178.108.0)
2021-07-06 13:00:57 × ChaiTRex quits (~ChaiTRex@user/chaitrex) (Remote host closed the connection)
2021-07-06 13:01:20 ChaiTRex joins (~ChaiTRex@user/chaitrex)
2021-07-06 13:02:11 maf654321 joins (~maf654321@user/maf654321)
2021-07-06 13:06:59 × LukeHoersten quits (~LukeHoers@user/lukehoersten) (Ping timeout: 240 seconds)
2021-07-06 13:08:18 × notzmv quits (~zmv@user/notzmv) (Ping timeout: 252 seconds)
2021-07-06 13:09:03 × henninb quits (~henninb@63.226.174.157) (Quit: leaving)
2021-07-06 13:10:18 × berberman_ quits (~berberman@user/berberman) (Ping timeout: 240 seconds)
2021-07-06 13:12:17 phma_ is now known as phma
2021-07-06 13:12:18 fizbin joins (~fizbin@c-73-33-197-160.hsd1.nj.comcast.net)
2021-07-06 13:12:28 dunkeln_ joins (~dunkeln@188.71.194.238)
2021-07-06 13:12:38 berberman joins (~berberman@user/berberman)
2021-07-06 13:17:03 warnz joins (~warnz@2600:1700:77c0:5610:a5ca:de51:28ba:edf0)
2021-07-06 13:17:33 LukeHoersten joins (~LukeHoers@user/lukehoersten)
2021-07-06 13:18:08 × dunkeln_ quits (~dunkeln@188.71.194.238) (Ping timeout: 272 seconds)
2021-07-06 13:18:23 × trcc quits (~trcc@2-104-60-169-cable.dk.customer.tdc.net) (Remote host closed the connection)
2021-07-06 13:18:55 trcc joins (~trcc@2-104-60-169-cable.dk.customer.tdc.net)
2021-07-06 13:20:06 mikoto-chan joins (~mikoto-ch@ip-213-49-189-31.dsl.scarlet.be)
2021-07-06 13:22:58 × trcc quits (~trcc@2-104-60-169-cable.dk.customer.tdc.net) (Ping timeout: 240 seconds)
2021-07-06 13:25:52 peddie joins (~peddie@2001:470:69fc:105::25d)
2021-07-06 13:25:52 × azeem quits (~azeem@dynamic-adsl-84-220-226-129.clienti.tiscali.it) (Read error: Connection reset by peer)
2021-07-06 13:26:50 × fizbin quits (~fizbin@c-73-33-197-160.hsd1.nj.comcast.net) (Remote host closed the connection)
2021-07-06 13:29:47 × sus quits (thelounge@user/zeromomentum) (Quit: the lounge - https://webirc.envs.net)
2021-07-06 13:29:55 mikail joins (~mikail@90.152.14.81)
2021-07-06 13:30:15 sus joins (thelounge@user/zeromomentum)
2021-07-06 13:32:22 × cfricke quits (~cfricke@user/cfricke) (Quit: WeeChat 3.2)
2021-07-06 13:32:25 zebrag joins (~chris@user/zebrag)
2021-07-06 13:32:27 Ariakenom joins (~Ariakenom@c83-255-154-140.bredband.tele2.se)
2021-07-06 13:32:39 cfricke joins (~cfricke@user/cfricke)
2021-07-06 13:35:04 × Vajb quits (~Vajb@hag-jnsbng11-58c3a1-224.dhcp.inet.fi) (Read error: Connection reset by peer)
2021-07-06 13:35:28 × ec quits (~ec@gateway/tor-sasl/ec) (Quit: ec)
2021-07-06 13:35:46 timCF joins (~timCF@m91-129-99-121.cust.tele2.ee)
2021-07-06 13:35:51 Vajb joins (~Vajb@85-76-2-254-nat.elisa-mobile.fi)
2021-07-06 13:36:12 azeem joins (~azeem@dynamic-adsl-84-220-226-129.clienti.tiscali.it)
2021-07-06 13:36:19 AgentM joins (~agentm@pool-162-83-130-212.nycmny.fios.verizon.net)
2021-07-06 13:41:09 × MQ-17J quits (~MQ-17J@d14-69-206-129.try.wideopenwest.com) (Ping timeout: 252 seconds)
2021-07-06 13:41:58 <mikail> I'm in some sort of ArchLinux/Haskell setup hell
2021-07-06 13:42:16 MQ-17J joins (~MQ-17J@8.21.10.15)
2021-07-06 13:42:18 <mikail> I have installed ghc and cabal-install via pacman
2021-07-06 13:42:37 <mikail> I've setup emacs with haskell-mode, lsp-mode, and the haskell-language-engine
2021-07-06 13:43:04 <davean> mikail: yah, its an Arch thing
2021-07-06 13:43:05 <mikail> I wrote a simple program in emacs but when I try to compile, I get:
2021-07-06 13:43:18 <davean> Arch fucks with how Haskell is installed
2021-07-06 13:43:27 <mikail> Could not find module ‘Prelude’
2021-07-06 13:43:27 <mikail> There are files missing in the ‘base-4.14.2.0’ package,
2021-07-06 13:43:34 <merijn> mikail: Arch packages are broken by default, there's an entry on the Arch wiki how to fix it
2021-07-06 13:43:54 <merijn> Yell at the Arch maintainers to fix it, but they won't, because many people have complained before
2021-07-06 13:44:16 <mikail> i simply need to get the right base package
2021-07-06 13:44:22 <mikail> where and how do I do that?
2021-07-06 13:44:26 <merijn> No, you need the ghc-static package
2021-07-06 13:44:42 <merijn> The arch wiki on Haskell lists the hoops you gotta jump too
2021-07-06 13:44:44 <mikail> should I install that from pacman or via cabal?
2021-07-06 13:44:54 <mikail> ok I will take a look merijn
2021-07-06 13:44:55 <merijn> You cannot install ghc (nor base) via cabal
2021-07-06 13:45:01 <davean> mikail: you have the right base package - but they forced it to a dynamic mode
2021-07-06 13:45:08 <davean> so its not working
2021-07-06 13:45:10 <mikail> crying...
2021-07-06 13:45:24 <merijn> davean: This would be less infuriating if they actually fixed the compiler's default behaviour >.<
2021-07-06 13:45:36 <davean> merijn: It still wouldn't really be right though
2021-07-06 13:46:16 <merijn> davean: Sure, but at least it'd somewhat work by default
2021-07-06 13:46:46 × jneira_ quits (~jneira_@217.red-81-39-172.dynamicip.rima-tde.net) (Quit: Connection closed)
2021-07-06 13:46:49 <davean> Would that be better or worse? At least we easily just spot it as Arch biging dickwads this way
2021-07-06 13:46:58 <davean> if they sorta made it work, then we'd have all the weird bugs and have to figure out why
2021-07-06 13:47:09 <merijn> I guess
2021-07-06 13:47:10 × timCF quits (~timCF@m91-129-99-121.cust.tele2.ee) (Ping timeout: 246 seconds)
2021-07-06 13:47:31 <davean> I mean this is bad, so that might be better
2021-07-06 13:47:37 <davean> but they should just not break it on purpose
2021-07-06 13:47:52 <davean> Haskell dynamic is not the dynamic everything else is
2021-07-06 13:47:59 <davean> well, GHC
2021-07-06 13:48:14 <mikail> finally! removed ghc (which I now know was using dynamic-linking) and installed ghc-static - program compiles now - thanks guys

All times are in UTC.