11:40:18 hi 17:29:38 how to add downloads counter for the static file ? 18:29:18 rdtsc: do you have just one static file? or a whole directory full of them? 18:32:35 stepcut: I have a whole directory 18:32:45 Do I understand happstack correctly in that the macid thing loads the entire application state into memory and I need to declare a new type for every field I might want to manipulate? 18:39:06 ben: the entire state is stored in memory. Not quite sure what you are referring to about a 'new type for every field' 18:39:26 ixset has a requirement a bit like that.. but that is not macid specific 18:40:40 Just trying to wrap my head around the template haskell things happening in the tutorial 23:06:28 hey all 23:06:59 I get a stack overflow when I run a hledger register command via web interface, but not at the command line 23:07:26 is it likely happstack is doing that when I try to serve a large page of output ? 23:08:28 like, about 450K ? around 200K seems fine 23:22:19 sm: it's probably not something happstack itself doing.. but something about the way you are generating the page.. 23:23:40 hi stepcut 23:23:44 hm, I'm doing loli $ do get "/register" $ command [] showRegisterReport 23:23:50 so going through loli and hack as well 23:24:08 what is the type siganture of command ? 23:24:20 [String] -> ([Opt] -> FilterSpec -> Ledger -> String) -> AppUnit 23:24:58 I think appunit is a hack thing, which loli converts to a serverpart or so 23:25:20 hmm 23:26:02 I should probably try to simplify this 23:26:07 yeah 23:27:15 thanks 23:27:49 I don't think it is happstack that is causing the problem though, probably something in the AppUnit or loli stuff 23:27:56 or even the command function 23:28:15 something is probably doing a foldl or something 23:29:23 ACTION will come back to it 23:29:33 happstack is just taking a lazy bytestring and sending it over the network. someplace in the chain of turning your data into a lazy bytestring something is causing a stack overflow 23:30:42 ok 23:31:11 this is helpful, hopefully I'll solve it in next session 23:31:43 bye for now