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.
| 15:42:51 | <jmcarthur> | i know there was, at one point, talk about writing some openid support for happstack. has any of that happened yet? |
| 15:50:35 | <jmcarthur> | mightybyte: is there any particular reason you require usernames to be only alphanumeric characters in Happstack.Auth? |
| 17:53:31 | <sm> | morning all.. is there a convention-based way to define routes/views/actions for happstack ? Eg I define a viewMain function and the /main url starts working |
| 17:56:39 | <jmcarthur> | happstack doesn't have many conventions yet, afaik |
| 18:02:16 | <sm> | I believe you're right. I need to build some kind of familliar layer on top so I can get stuff done |
| 18:08:30 | <jmcarthur> | yeah it takes some work to get used to happstack's philosophy |
| 18:31:18 | <sm> | here's a concrete question.. would anyone know how I can reduce these two lines into one: |
| 18:31:20 | <sm> | ,dir "print" $ withDataFn (look "a") $ λa → templatise $ printreport [a] |
| 18:31:20 | <sm> | ,dir "print" $ templatise $ printreport [] |
| 18:31:44 | <sm> | they handle /print?a=.. and /print respectively |
| 18:33:01 | <sm> | and also, generalise to multiple query arguments, all optional |
| 18:53:46 | <sm> | yay, think I've got it.. |
| 19:49:25 | <sm> | how do I fetch the current time for a request handler ? |
Back to channel and daily index: content-negotiated html turtle