Home liberachat/#haskell: Logs Calendar

Logs: liberachat/#haskell

←Prev  Next→ 1,790,055 events total
2026-03-23 10:52:18 jocke-l joins (jocke-l@a.x0.is)
2026-03-23 10:52:18 mcfrdy joins (~mcfrdy@user/mcfrdy)
2026-03-23 10:52:18 welterde joins (welterde@thinkbase.srv.welterde.de)
2026-03-23 10:52:18 nicole joins (ilbelkyr@libera/staff/ilbelkyr)
2026-03-23 10:52:18 kmein joins (~weechat@user/kmein)
2026-03-23 10:52:18 absence joins (torgeihe@hildring.pvv.ntnu.no)
2026-03-23 10:52:18 bwe joins (~bwe@2a01:4f8:1c1c:4878::2)
2026-03-23 10:52:18 jessicara joins (~shirogits@user/meow/jessicara)
2026-03-23 10:52:18 ames joins (~amelia@offtopia/offtopian/amelia)
2026-03-23 10:52:18 mrmonday joins (~robert@what.i.hope.is.not.a.tabernaevagant.es)
2026-03-23 10:52:18 Ekho joins (~Ekho@user/ekho)
2026-03-23 10:52:18 nshepperd2 joins (~nshepperd@2a01:4f9:3b:4cc9::2)
2026-03-23 10:52:18 mniip joins (mniip@libera/staff-emeritus/mniip)
2026-03-23 10:52:18 Pent joins (sid313808@id-313808.lymington.irccloud.com)
2026-03-23 10:52:18 coldmountain joins (sid484352@id-484352.helmsley.irccloud.com)
2026-03-23 10:52:18 bb010g joins (~bb010g@wank.party)
2026-03-23 10:52:18 caz joins (866183745f@2a03:6000:1812:100::15d4)
2026-03-23 10:52:18 totbwf joins (sid402332@user/totbwf)
2026-03-23 10:52:18 geekosaur joins (sid609282@xmonad/geekosaur)
2026-03-23 10:52:18 dy joins (sid3438@user/dy)
2026-03-23 10:52:18 tomsmeding joins (~tomsmedin@user/tomsmeding)
2026-03-23 10:52:18 hololeap joins (~quassel@user/hololeap)
2026-03-23 10:52:18 b20n joins (sid115913@id-115913.uxbridge.irccloud.com)
2026-03-23 10:52:18 hamishmack joins (sid389057@id-389057.hampstead.irccloud.com)
2026-03-23 10:52:18 S11001001 joins (sid42510@id-42510.ilkley.irccloud.com)
2026-03-23 10:52:18 farn__ joins (~farn@2a03:4000:7:3cd:d4ab:85ff:feeb:f505)
2026-03-23 10:52:18 _\_ joins (~o@user/offon)
2026-03-23 10:52:18 feetwind joins (~mike@user/feetwind)
2026-03-23 10:52:18 Fangs joins (sid141280@id-141280.hampstead.irccloud.com)
2026-03-23 10:52:18 h2t joins (~h2t@user/h2t)
2026-03-23 10:52:18 astroanax joins (~astroanax@2001:19f0:7402:f82:5400:1ff:fec4:f7d7)
2026-03-23 10:52:18 mikko joins (~mikko@user/mikko)
2026-03-23 10:52:18 jmct joins (sid160793@id-160793.tinside.irccloud.com)
2026-03-23 10:52:18 liskin joins (~liskin@xmonad/liskin)
2026-03-23 10:52:18 lantti joins (~lantti@xcalibur.cc.tut.fi)
2026-03-23 10:52:18 xnbya joins (~xnbya@2a01:4f8:c17:cbdd::1)
2026-03-23 10:52:18 stilgart joins (~Christoph@2001:41d0:2:8673::42)
2026-03-23 10:52:18 Flow joins (~none@gentoo/developer/flow)
2026-03-23 10:52:18 trampi joins (~trampi@mx.trampusch.info)
2026-03-23 10:52:18 davean joins (~davean@davean.sciesnet.net)
2026-03-23 10:52:18 xerox joins (~edi@user/edi)
2026-03-23 10:52:18 acro joins (~acro@user/acro)
2026-03-23 10:52:18 cstml joins (~cstml@user/cstml)
2026-03-23 10:52:18 chymera joins (~chymera@ns1000526.ip-51-81-46.us)
2026-03-23 10:52:18 MironZ3 joins (~MironZ@nat-infra.ehlab.uk)
2026-03-23 10:52:18 dcb joins (~dcb@user/dcb)
2026-03-23 10:52:18 sudden joins (~cat@user/sudden)
2026-03-23 10:52:18 socksbuny joins (~socks@oberon.raccoon.fun)
2026-03-23 10:52:18 phm joins (~peter@fsf/member/phm)
2026-03-23 10:52:18 endokqr joins (~kqr@irc-1.xkqr.org)
2026-03-23 10:52:18 lyxia joins (~lyxia@poisson.chat)
2026-03-23 10:52:18 elenril joins (~elenril@tutturu.khirnov.net)
2026-03-23 10:52:18 noctuks joins (7NcJRRWP29@user/noctux)
2026-03-23 10:52:18 mima joins (~mmh@user/mima)
2026-03-23 10:52:18 robertm joins (robertm@lattice.rojoma.com)
2026-03-23 10:52:18 stefan-__ joins (~m-yh2rcc@42dots.de)
2026-03-23 10:52:18 ent joins (entgod@kapsi.fi)
2026-03-23 10:52:18 pie_ joins (~pie_bnc@user/pie/x-2818909)
2026-03-23 10:52:39 <[exa]> that's the end of my logic tho. :D
2026-03-23 10:52:39 koala_man joins (~vidar@157.146.251.23.bc.googleusercontent.com)
2026-03-23 10:52:40 <Freakie> well I'm just compiling with GHC directly and importing the dynamic libraries with the appropriate flags
2026-03-23 10:52:40 foul_owl joins (~kerry@94.156.149.92)
2026-03-23 10:56:21 merijn joins (~merijn@host-cl.cgnat-g.v4.dfn.nl)
2026-03-23 10:57:41 albet70 joins (~xxx@172-233-90-118.ip.linodeusercontent.com)
2026-03-23 10:59:04 <Freakie> no, seems I'm back where I started :/ the library files don't inclued dependencies
2026-03-23 10:59:06 <Freakie> include*
2026-03-23 11:00:02 × merijn quits (~merijn@host-cl.cgnat-g.v4.dfn.nl) (Ping timeout: 252 seconds)
2026-03-23 11:00:37 <[exa]> Freakie: the "dependencies" are what exactly, in this case? (other haskell libraries?)
2026-03-23 11:03:03 × husixu quits (~husixu@2406:3003:2007:fe4:68ee:9c53:6141:39ea) (Quit: Leaving)
2026-03-23 11:03:19 <Freakie> i'll get back to you in 15 minutes
2026-03-23 11:05:33 rbdr joins (~rbdr@2a02:3100:1b63:ff00:d17d:3312:8905:78a8)
2026-03-23 11:07:36 × rbdr quits (~rbdr@2a02:3100:1b63:ff00:d17d:3312:8905:78a8) (Client Quit)
2026-03-23 11:13:11 merijn joins (~merijn@host-cl.cgnat-g.v4.dfn.nl)
2026-03-23 11:13:18 xff0x joins (~xff0x@ai084147.d.east.v6connect.net)
2026-03-23 11:14:20 × divlamir quits (~divlamir@user/divlamir) (Read error: Connection reset by peer)
2026-03-23 11:14:35 divlamir joins (~divlamir@user/divlamir)
2026-03-23 11:14:53 <Freakie> the dependencies are just package imports from cabal
2026-03-23 11:15:39 <Freakie> including ones maintained by the haskell org directly such as containers
2026-03-23 11:16:27 <[exa]> I'm still confused
2026-03-23 11:16:34 <[exa]> what command do you write there then?
2026-03-23 11:17:04 <[exa]> I assumed something like `gcc something.cpp -lmyhaskellib -lcontainers -Lsomewhere/deep/in/dist-newstyle/blah/bleh/containers/lib ....`
2026-03-23 11:17:29 × merijn quits (~merijn@host-cl.cgnat-g.v4.dfn.nl) (Ping timeout: 248 seconds)
2026-03-23 11:17:54 <Freakie> well that's the thing
2026-03-23 11:18:04 <Freakie> the lib files are located wherever cabal installed them
2026-03-23 11:18:17 <Freakie> which is hell to keep track of
2026-03-23 11:18:46 <Freakie> one of the imports has 4 or so directories that each have a lib file for that package and I don't know which of those 4 is the one cabal uses
2026-03-23 11:19:03 <[exa]> what happens if you reverse the logic, put the cpp main() in a cabal project and just call it as the first thing from haskell main and let it do its own thing? (I assume that would push cabal to link it correctly by itself)
2026-03-23 11:19:25 <Freakie> will try
2026-03-23 11:19:41 × Enrico63 quits (~Enrico63@host-79-18-154-39.retail.telecomitalia.it) (Quit: Client closed)
2026-03-23 11:20:08 <[exa]> btw might be helpful to wait for evening until more people wake up, I did this only in a remotely similar fashion, 2 times probably, and ended up working it around in both cases
2026-03-23 11:20:51 <Freakie> maybe, but as long as someone more informed than myself is around I can get nudged in the right direction
2026-03-23 11:21:21 <Freakie> also might be more prudent to save some energy for advice regarding why my program still uses 100x more memory than it should, if you recall me praying to the gods about that
2026-03-23 11:21:27 <[exa]> yeah, I meant, more such people would appear later today
2026-03-23 11:21:59 <[exa]> Freakie: is the 100x more like 1kB and 100kB or more like 1GB and 100GB?
2026-03-23 11:22:27 <Freakie> to give you an idea: for the smallest input sizes memory usage is the nursery size, more or less
2026-03-23 11:22:40 × arandombit quits (~arandombi@user/arandombit) (Ping timeout: 245 seconds)
2026-03-23 11:22:42 <Freakie> then it jumps from 6 mb, to 14, to 130, to 1-2 gb, to more than I have ram
2026-03-23 11:23:12 <[exa]> you might need a spraybottle of strictness annotations
2026-03-23 11:23:12 <Freakie> I tried using GHC.DataSize which has the size effect of doing garbage collection, but not the same way that System.Mem does
2026-03-23 11:24:16 <[exa]> if you have any data that you expect to be actually stored for some time (not just stream through some functions and disappear completely), add a lot of ! into them

All times are in UTC.