07:34:58 <evgeny> Does Happstack.Server.SimpleHTTP.lookBS return lazy bytestring? I encountered a problem with uploading large files. I'm trying to lazily calculate theirs lengths, but it consumes o(n) memory.
07:36:41 <evgeny> can GC process the situation and free the head of bytestring when it is counted?
07:38:00 <stepcut> are you using the stable release or the darcs version ?
07:39:13 <evgeny> $ ghc-pkg list | grep happstack-server    happstack-server-0.5.0.4
07:39:20 <evgeny> i think it's stable one
07:40:28 <stepcut> yeah, that is stable
07:40:35 <stepcut> that is a bug which is fixed in head
07:41:40 <stepcut> though in head it is dealt with my forcing files to be saved to temporary files
07:42:39 <stepcut> there is an alternate (and optional) arrow based RqData interface which can avoid the temporary file thing, but it is not been merged yet
07:44:02 <stepcut> personally, I recommend using the darcs version -- it's quite a bit nicer, and will be released as stable soon anyway. The remaining changes are mostly documentation related anyway
07:46:48 <evgeny> I'll try darcs version, but I don't completely understand how bytestring http parameters to be processed
07:48:09 <stepcut> this documentation covers the darcs version of RqData, http://www.happstack.com/docs/crashcourse/RqData.html#rqdata
07:48:27 <stepcut> if you still have questions after reading that I would be glad to hear them so I can update the documentation :)
07:48:48 <evgeny> ok, thanks
07:49:08 <stepcut> it can be hard to document stuff when you already know how it works .. because you forget what you didn't used to know :)
07:58:19 <evgeny> stepcut: is there compiled haddock documentation for development version anywhere?
07:58:52 <stepcut> evgeny: sadly, no. That will be fixed for the next dev cycle though.
07:59:41 <stepcut> there is a script bin/haddock-all.sh that might generate local docs for you though..
08:00:02 <evgeny> ok
08:04:07 <evgeny> the second paramenter of defaultBodyPolicy ,-- ^ maximum bytes to save to disk (files) - how happstack determines that given parameter is file ?
08:06:26 <evgeny> oh, type of html tag "input" is "file"
08:08:57 <stepcut> yeah
08:09:51 <stepcut> I am off to bed now!
08:10:19 <evgeny> your tutorial assumes strong knowledge of http and html and some web-programming experience
08:10:24 <evgeny> good night
10:39:11 <evgeny> I think sometimes it's necessary to keep uploaded files in memory only
10:50:08 <evgeny> as for me, i'm working on some traffic-filtering software, that should process http uploads somewhere in network between client and server and I don't want to touch servers' hdd and I don't care what happens with file after upload
11:58:03 <Entroacceptor> is the dependency problem solved in darcs?
12:47:02 <etarasov> Entroacceptor: what problem?
12:47:55 <Entroacceptor> yeah, has been
12:48:02 <Entroacceptor> something with text
12:48:05 <Entroacceptor> the latest patch :)
12:58:04 <Entroacceptor> gnah
12:58:09 <Entroacceptor> I'm starting to really hate cabal
13:51:28 <etarasov> when cabal install fails to install something, I delete ~/.ghc/i386-linux-6.12.3/ and build the thing from scratch
13:51:40 <etarasov> sometimes it helps =)
13:58:29 <Entroacceptor> etarasov: yeah... except that I did exactly that a few days ago
14:00:07 <Entroacceptor> it is so in need of an upgrading mechanism, and removing single packages
20:35:09 <HugoDaniel> hello