Home freenode/#haskell: Logs Calendar

Logs: freenode/#haskell

←Prev  Next→ 502,152 events total
2020-11-09 12:20:32 benjamingr__ joins (uid23465@gateway/web/irccloud.com/x-jujlikfcmwauxivg)
2020-11-09 12:21:01 fendor_ joins (~fendor@178.165.129.0.wireless.dyn.drei.com)
2020-11-09 12:21:18 × fendor quits (~fendor@77.119.131.87.wireless.dyn.drei.com) (Ping timeout: 260 seconds)
2020-11-09 12:22:50 × v_m_v quits (~vm_v@2a02:aa12:3200:6480:fc4f:fb56:796a:9a4a) (Ping timeout: 264 seconds)
2020-11-09 12:23:57 × beleon quits (~beleon@2a02:810c:4cc0:c8b:50e2:68a8:c1e:3f7f) (Quit: WeeChat 2.9)
2020-11-09 12:26:00 <cr0ssw1nd> why Debug.Trace.traceStack could truncate stacktraces?
2020-11-09 12:26:32 <cr0ssw1nd> I built and ran my server (uses Servant framework) in profiling mode
2020-11-09 12:26:42 Deide joins (~Deide@217.155.19.23)
2020-11-09 12:26:48 <cr0ssw1nd> but when I do traceStack, I get only this:
2020-11-09 12:26:48 <cr0ssw1nd> 2020-11-06T19:02:09.179431846Z CallStack (from -prof):
2020-11-09 12:26:49 <cr0ssw1nd> 2020-11-06T19:02:09.179447969Z Galley.API.Update.handleOtrResponse (src/Galley/API/Update.hs:(957,1)-(961,48))
2020-11-09 12:26:49 <cr0ssw1nd> 2020-11-06T19:02:09.179457081Z Galley.API.Update.CAF:eta2_r5zv4 (<no location info>)
2020-11-09 12:27:07 <Feuermagier> how do I get from a [char] to Data.Text.Internal.Text?
2020-11-09 12:27:42 × jb55 quits (~jb55@gateway/tor-sasl/jb55) (Remote host closed the connection)
2020-11-09 12:28:03 jb55 joins (~jb55@gateway/tor-sasl/jb55)
2020-11-09 12:28:58 adm_ joins (~adm@43.229.88.236)
2020-11-09 12:29:28 <tdammers> Feuermagier: assuming you mean [Char]: `Data.Text.pack`
2020-11-09 12:29:46 cfricke joins (~cfricke@unaffiliated/cfricke)
2020-11-09 12:29:47 <tdammers> https://hackage.haskell.org/package/text-1.2.4.0/docs/Data-Text.html#g:6 documentamatation
2020-11-09 12:31:45 × cfricke quits (~cfricke@unaffiliated/cfricke) (Client Quit)
2020-11-09 12:32:59 <Feuermagier> tdammers, I'm unsure; the compiler says [Char]
2020-11-09 12:33:10 <Feuermagier> * Couldn't match expected type `Data.Text.Internal.Text'
2020-11-09 12:33:10 <Feuermagier> with actual type `[Char]'
2020-11-09 12:33:45 xikeon joins (~michael@i226028.upc-i.chello.nl)
2020-11-09 12:34:03 × adm_ quits (~adm@43.229.88.236) (Remote host closed the connection)
2020-11-09 12:34:41 <Feuermagier> If I unpack, I get a String out of the [Char]
2020-11-09 12:34:49 <Feuermagier> but still not a Text
2020-11-09 12:36:44 × kritzefitz quits (~kritzefit@fw-front.credativ.com) (Ping timeout: 258 seconds)
2020-11-09 12:37:47 × avdb quits (~avdb@ip-83-134-109-5.dsl.scarlet.be) (Quit: WeeChat 2.9)
2020-11-09 12:38:01 hackage restartable 0.2.0.0 - Minimal live coding library for model-view-event-update applications. https://hackage.haskell.org/package/restartable-0.2.0.0 (MichalGajda)
2020-11-09 12:38:04 avdb joins (~avdb@ip-83-134-109-5.dsl.scarlet.be)
2020-11-09 12:38:50 <absence> Feuermagier: use pack, not unpack (or enable the OverloadedStrings language extension)
2020-11-09 12:39:08 <absence> (if it's a string literal that is)
2020-11-09 12:40:42 cfricke joins (cfricke@gateway/vpn/mullvad/cfricke)
2020-11-09 12:40:45 <tdammers> Feuermagier: [Char] and String are literally the same thing (String is a type alias for [Char])
2020-11-09 12:41:00 × toorevitimirp quits (~tooreviti@117.182.180.38) (Remote host closed the connection)
2020-11-09 12:41:29 kritzefitz joins (~kritzefit@fw-front.credativ.com)
2020-11-09 12:41:33 × cfricke quits (cfricke@gateway/vpn/mullvad/cfricke) (Client Quit)
2020-11-09 12:41:35 toorevitimirp joins (~tooreviti@117.182.180.38)
2020-11-09 12:41:36 <tdammers> if you have a Text but want a String, use `unpack`; in the other direction, use `pack`
2020-11-09 12:41:50 cfricke joins (~cfricke@unaffiliated/cfricke)
2020-11-09 12:43:10 TMA joins (tma@twin.jikos.cz)
2020-11-09 12:43:18 jakob_ joins (~textual@p200300f49f16220061868217aabcc5ae.dip0.t-ipconnect.de)
2020-11-09 12:46:39 __skn parts (~sunil@2001:19f0:5:701:5400:ff:fe7c:4e5c) ("rcirc on GNU Emacs 28.0.50")
2020-11-09 12:47:50 × _ashbreeze_ quits (~mark@72-161-252-32.dyn.centurytel.net) (Remote host closed the connection)
2020-11-09 12:49:07 _ashbreeze_ joins (~mark@72-161-252-32.dyn.centurytel.net)
2020-11-09 12:49:36 knupfer joins (~Thunderbi@dynamic-046-114-148-248.46.114.pool.telefonica.de)
2020-11-09 12:49:37 × knupfer quits (~Thunderbi@dynamic-046-114-148-248.46.114.pool.telefonica.de) (Client Quit)
2020-11-09 12:49:56 knupfer joins (~Thunderbi@dynamic-046-114-148-248.46.114.pool.telefonica.de)
2020-11-09 12:51:32 × gxt quits (~gxt@gateway/tor-sasl/gxt) (Remote host closed the connection)
2020-11-09 12:52:15 gxt joins (~gxt@gateway/tor-sasl/gxt)
2020-11-09 12:53:25 texasmynsted joins (~texasmyns@64.44.55.28)
2020-11-09 12:55:04 machinedgod joins (~machinedg@24.105.81.50)
2020-11-09 12:55:05 × texasmynsted quits (~texasmyns@64.44.55.28) (Read error: Connection reset by peer)
2020-11-09 12:55:07 Rcsprinter joins (~Rcsprinte@178.162.209.171)
2020-11-09 12:55:52 × gxt quits (~gxt@gateway/tor-sasl/gxt) (Remote host closed the connection)
2020-11-09 12:56:17 × Gurkenglas_ quits (~Gurkengla@unaffiliated/gurkenglas) (Remote host closed the connection)
2020-11-09 12:56:33 gxt joins (~gxt@gateway/tor-sasl/gxt)
2020-11-09 12:56:57 iqubic` joins (~user@2601:602:9500:4870:f97f:76da:55:8502)
2020-11-09 12:57:12 Gurkenglas_ joins (~Gurkengla@unaffiliated/gurkenglas)
2020-11-09 12:57:20 Redrum020 joins (~crack020@public-nat-08.vpngate.v4.open.ad.jp)
2020-11-09 12:57:38 <Redrum020> halo
2020-11-09 12:57:58 × toorevitimirp quits (~tooreviti@117.182.180.38) (Remote host closed the connection)
2020-11-09 12:58:25 toorevitimirp joins (~tooreviti@117.182.180.38)
2020-11-09 12:59:31 <Redrum020> someone herE?
2020-11-09 13:00:04 <Redrum020> ?
2020-11-09 13:00:07 AlterEgo- joins (~ladew@124-198-158-163.dynamic.caiway.nl)
2020-11-09 13:00:24 jamm_ joins (~jamm@unaffiliated/jamm)
2020-11-09 13:01:12 urodna joins (~urodna@unaffiliated/urodna)
2020-11-09 13:01:17 × iqubic quits (~user@2601:602:9500:4870:fd55:a12e:3595:eb89) (Ping timeout: 260 seconds)
2020-11-09 13:01:51 × christo quits (~chris@81.96.113.213) (Remote host closed the connection)
2020-11-09 13:04:33 × chaosmasttter quits (~chaosmast@p200300c4a7087201c8e962581689150e.dip0.t-ipconnect.de) (Ping timeout: 244 seconds)
2020-11-09 13:04:45 ensyde joins (~ensyde@99-185-235-117.lightspeed.chrlnc.sbcglobal.net)
2020-11-09 13:04:46 <cr0ssw1nd> is there any relation between SCC annotation and call stack generated by `traceStack` ?
2020-11-09 13:05:03 × jamm_ quits (~jamm@unaffiliated/jamm) (Ping timeout: 260 seconds)
2020-11-09 13:05:29 nbloomf joins (~nbloomf@2600:1700:ad14:3020:a17b:c481:d5f1:9100)
2020-11-09 13:09:01 × tsaka__ quits (~torstein@ppp-2-84-29-23.home.otenet.gr) (Ping timeout: 256 seconds)
2020-11-09 13:09:56 × ensyde quits (~ensyde@99-185-235-117.lightspeed.chrlnc.sbcglobal.net) (Ping timeout: 256 seconds)
2020-11-09 13:11:54 texasmynsted joins (~texasmyns@64.44.55.28)
2020-11-09 13:14:21 bennofs1 joins (~benno@dslb-094-222-044-018.094.222.pools.vodafone-ip.de)
2020-11-09 13:15:09 <tomsmeding> cr0ssw1nd: did you compile with -fprof-auto?
2020-11-09 13:15:41 <tomsmeding> (I believe stack and cabal do that when you enable profiling using their usual interface)
2020-11-09 13:16:37 <cr0ssw1nd> tomsmeding, yeah, I added --profile to stack
2020-11-09 13:16:53 <cr0ssw1nd> there is stack trace when I put it in another places
2020-11-09 13:17:13 <cr0ssw1nd> and technically in that place it is also stacktrace, just really short one
2020-11-09 13:17:55 adm_ joins (~adm@43.229.88.236)
2020-11-09 13:18:24 <cr0ssw1nd> I am meditating on this piece of docs right now: https://www.taran.space/tmp/lenovo-fedora-20201109-141414-140279452.png
2020-11-09 13:18:50 <cr0ssw1nd> from here https://downloads.haskell.org/~ghc/7.6.3/docs/html/users_guide/profiling.html
2020-11-09 13:19:51 <merijn> uh
2020-11-09 13:20:07 <merijn> Probably browse to some newer version of the guide?
2020-11-09 13:20:14 <merijn> 7.6.3 is ancient xD
2020-11-09 13:20:20 geekosaur joins (82659a09@host154-009.vpn.uakron.edu)
2020-11-09 13:20:27 × texasmynsted quits (~texasmyns@64.44.55.28) (Remote host closed the connection)
2020-11-09 13:21:11 <merijn> (that's unrelated to your question, but 7.6.3 is like a decade old...)
2020-11-09 13:21:30 hackage restartable 0.3.0.0 - Minimal live coding library for model-view-event-update applications. https://hackage.haskell.org/package/restartable-0.3.0.0 (MichalGajda)
2020-11-09 13:21:32 <cr0ssw1nd> oh
2020-11-09 13:21:42 <cr0ssw1nd> yeah, I haven't noticed, thanks
2020-11-09 13:22:02 <cr0ssw1nd> actually I am thinking now that "HasDebugCallStack" could be related
2020-11-09 13:24:01 aveltras joins (uid364989@gateway/web/irccloud.com/x-vhqkaobhwknqfuji)
2020-11-09 13:24:53 heatsink joins (~heatsink@107-136-5-69.lightspeed.sntcca.sbcglobal.net)

All times are in UTC.