Experimental IRC log happs-2007-03-30

Available formats: content-negotiated html turtle (see SIOC for the vocabulary)

Back to channel and daily index: content-negotiated html turtle

These logs are provided as an experiment in indexing discussions using IRCHub.py, Irc2RDF.hs, and SIOC.

10:39:15<vegai>how soon is the S3/EC2 interface coming? I don't see any code for it yet
11:00:08<LPhas>http://hpaste.org/1195#a1 <-- thing that i don't understand
11:01:29<vegai>hmm, hpaste needs line numbers
11:02:57<vegai>perhaps the type of newVal cannot be inferred there
11:05:37<LPhas>vegai: uh?
11:06:59<vegai>I don't know. That's a horrible message from ghc
11:10:42<Saizan>LPhas: hint: :info FromReqURI
11:10:51<vegai>oh, wait a sec. Hpaste has line numbers.
11:12:09<Saizan>solution: h (Prefix ["set"]) $ ok $ \[newVal] -> respond ("New value is " ++ newVal)
11:13:28<LPhas>ACTION bows to Saizan
11:14:20<Saizan>is that still code from the tutorial?
11:15:44<LPhas>Saizan: yes, i'm trying to modify it
11:21:22<Saizan>good
11:31:22<benja_>hi
11:31:37<benja_>should I not expect lookM et al to understand multipart/form-data?
11:32:11<Saizan>exactly
11:37:34<benja_>hmm, ok
11:56:28<benja_>...and should I expect stdHTTP to give an empty reply to the client without calling my handler when the client sends a request body > 64 KB? :]
11:57:58<Saizan>there's an issue with large file, the limit can be tweaked though
11:59:45<benja_>so what's the issue?
12:00:07<benja_>I thought I'd just get a Request with a LargeBody...
12:00:56<Saizan>yeah, but the lowlevel code errors out when it get a largebody
12:02:11<Saizan>because you don't want to freeze while the body is logged by the MACID mechanism (that's how this has been explained to me)
12:03:12<Saizan>a couple of alternative solutions have been proposed, but now yet implemented afaik
12:57:49<benja_>hmm, I suppose I should increase the limit, then. thanks for your help
13:01:52<Saizan>do you think it would be usable if to get the largebody you'd need IO?
13:03:00<benja_>I think so, but I can't really say because currently I'm using unsafePerformIO more than is good for me, so I'm not sure what my code will look like when I manage to get it to look sane :)
13:04:03<Saizan>heh :)
13:05:51<benja_>now I'm trying to figure out how to actually *set* the Conf, given that I've used stdHTTP so far which seems to set the Conf somehow magically inside StdMain... any clues?
13:08:35<Saizan>i'd look at the definition of stdMain in HAppS.Util.StdMain
13:08:51<benja_>ok, thanks
13:11:04<Saizan>uhm
13:13:07<benja_>I think I have it
13:13:28<benja_>I'm replacing (stdHTTP handlers) by
13:13:38<benja_>stdMain $ (\conf -> simpleHTTP handlers $ conf {bodyLimit=1024*1024}) :*: End
13:14:19<benja_>since stdHTTP is defined as (stdHTTP impl = stdMain $ (simpleHTTP impl) :*: End), it seems this should work
13:14:21<Saizan>yeah
13:16:40<Saizan>yes, i was confusing Conf with TxConfig..
15:34:07<LPhas>there's a way with happs to upload files? like imageshack or youtube :P
15:35:51<kaol>hmm, happstube.{com,net,org} are unreserved
15:36:18<Saizan>the way to upload files via web is multipat/form-data, so you should read my previous discussion with benja_ :)

Back to channel and daily index: content-negotiated html turtle