Experimental IRC log happs-2007-07-06

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.

21:33:49<shapr>ACTION tracks down the hpaste bug...
21:34:04<shapr>well, is tracking...
21:37:28<shapr>sorear: around?
21:40:53<sorear>yes
21:41:51<shapr>I'm just trying to debug this problem, using the years old debug channel #joy
21:42:01<shapr>I have it running locally and I'm using wireshark to look at the packets...
22:38:25<Saizan>i've the same problem with my own happs app, i've foound that if i unpull this patch:
22:38:29<Saizan>Fri Jun 22 03:12:53 CEST 2007 alex@happs.org * fixed failure to parse error messages
22:38:36<Saizan>everything works fine
22:38:49<sorear>thank youu
22:38:54<sorear>I no longer feel guilty
22:49:47<Saizan>heh, i'm trying to see what's the problem, |&& L.length rest > 0| is supicious
22:56:41<sorear> src/HAppS/Util/StdMain/StartStateTH.hs:128:0-45: Non-exhaustive patterns in function fieldNames
22:58:16<Saizan>sorear: with which datatype?
22:58:43<sorear>data PasteState = PasteState {- entries :: !(Seq [Entry]) -}
22:58:43<Saizan>i think it handles only ones with record constructors
22:59:47<Saizan>eh.. nullary constructors are not contemplated .)
23:00:37<Saizan>however s/L.length rest > 0/not (L.null rest)/ seems to have fixed the problem
23:01:05<Saizan>it probably hanged trying to read from the socket..
23:01:37<sorear>haha
23:01:48<sorear>alexj needs to read @wiki Things to avoid :D
23:04:57<Saizan>yeah :D
23:05:28<sorear>shapr: ping
23:07:32<Saizan>i wonder if L.hGetContents is the right function to fetch a request
23:07:57<Saizan>right now even | Nothing -> error $ "failed to parse HTTP request: " ++ (show $ L.length inputStr)| is dangerous
23:08:14<sorear>i wonder if laziness is right for network programming at all :)
23:08:23<Saizan>exactly
23:12:55<sorear>Saizan: Will you send the patch?
23:13:37<Saizan>sorear: just this hasty fix? ok
23:14:13<sorear>now I just need to find a way to rebuild hpaste
23:14:37<sorear>ACTION doesn't imagine shapr will take a root crack attempt in good spirits
23:16:05<sorear>Saizan: If you tell me the file/line I'll test it on hpaste
23:17:22<Saizan>hunk ./src/HAppS/Protocols/HTTP/Handler.hs 77
23:17:22<Saizan>- when (continueHTTP req res && L.length rest > 0 ) $ rloop conf h host handler rest
23:17:25<Saizan>+ when (continueHTTP req res && not (L.null rest) ) $ rloop conf h host handler rest
23:18:47<sorear>ACTION rebuilds happs on localhost

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