Experimental IRC log happs-2008-09-12

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.

12:03:17<guenni>hi has anybody managed to install regex-posix on win32?
12:07:04<Saizan>it seems unlikely, why?
16:15:14<MarcWeber>Saizan: finally with ghc head this compiles and the few tests pass again after fixing some bugs ;-) http://rafb.net/p/NbvF9029.html
16:15:57<MarcWeber>note the nice similar to do like notation :-) vdo rebinds >>= and >> to make this possible
16:26:57<Saizan>vdo?
16:27:49<MarcWeber>some magic defined by the include.h file http://rafb.net/p/8EPf4518.html
16:30:00<Saizan>oh, i see
16:30:20<Saizan>nice way to use NoImplicitPrelude :)
16:31:18<MarcWeber>Don't ask me about too much details.. I just retried until it worked :)
16:32:19<MarcWeber>Now it's getting much more interesting.. I have to see how easy it is to build an html library on top of it
16:36:26<titto>yesterday I was looking for some example to support multiple/virtual domains in happs. As I could not find one I wrote a very simple one:
16:36:34<titto>> -- |Simple multi/virtual domain support. > -- |Maps <file> in <domain> to <webDir>/<domain>/web/<file> > domainServe :: FilePath -> ServerPart Response > domainServe webDir = withRequest $ \rq -> > case getHeader "host" rq of > Nothing -> noHandle > Just host -> (unServerPartT $ fileServe [] (webDir </> (B.unpack host) </> "web")) rq
16:36:42<titto>uuhm, it looks like rubbish :-)
16:37:15<titto>> domainServe webDir = withRequest $ \rq ->
16:37:25<MarcWeber>titto: For everything > 3 lines you should consider using paste pages such as rafb.net/paste or hpaste.org
21:56:22<hickey>Is the "HUH" header in renderResponse in FileServe.hs a joke or something?

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