00:01:17 <Entroacceptor> but yeah, stuff like that would be nice
17:22:53 <HugoDaniel> hi
17:25:44 <HugoDaniel> can i see a haskell application done with happstack ?
17:26:11 <HugoDaniel> i have my html form generator almost ready, and im not sure how to cabalize it for hackage
19:18:40 <stepcut> HugoDaniel: How will seeing an happstack application help?
19:21:11 <McManiaC> HugoDaniel: you might want to take a look at my happstack-auth project
19:21:21 <McManiaC> http://n-sch.de/happstack-auth
19:21:27 <McManiaC> link to github etc is on that page
19:22:10 <stepcut> HugoDaniel: there is also the patch-tag source code
19:22:31 <stepcut> HugoDaniel: but since I do not know how it is supposed to help I am not sure if that is a good suggestion ?
20:18:32 <stepkut> finally fixed that "HTTP request failed with: thread killed" message. Now when a thread is killed, we just don't report it :p
20:21:34 <Entroacceptor> ....
20:21:40 <Entroacceptor> part of me wants to say "well done:
20:21:52 <Entroacceptor> part wants to slap you around with a large trout :)
20:21:57 <stepkut> :)
20:22:09 <Entroacceptor> so it's not really a failed request?
20:22:21 <stepkut> I don't think so
20:22:53 <stepkut> the browsers like to leave the connection open and sometimes send additional requests. But the server intentionally times out after 30 seconds and kills the thread
20:23:16 <stepkut> which is perfectly valid and normal
20:23:38 <stepkut> so, it is not really worth reporting -- especially not as an error on the console
20:24:47 <stepkut> now I am thinking about how to allow developers to theme the directory listings with css, etc. :-/
20:25:33 <Entroacceptor> don't
20:25:43 <stepkut> but I need it!
20:25:50 <Entroacceptor> make that plan from before, let them do the listings themselves
20:26:01 <Entroacceptor> everyone will have their own templating and stuff already in place
20:26:33 <stepkut> yes, that is essentially the solution
20:26:40 <Entroacceptor> and the people using happstack and then wanting a plain file server are a very small set
20:27:34 <Entroacceptor> so make a fileServerWithIndex' :: ([FileInfo] -> Serverpart Response) Pathname
20:27:36 <Entroacceptor> or so
20:27:43 <stepkut> right, I have that
20:27:50 <Entroacceptor> if you absolutely want users to style it themselves
20:27:59 <Entroacceptor> or just wait till you get feature requests of that kind
20:28:05 <Entroacceptor> or do you yourself need it?
20:28:25 <stepkut> this page is essentially a themed directory listing,
20:28:28 <stepkut> http://www.happstack.com/irc-logs/
20:29:24 <stepkut> but, right now there is that parameterized fileServeWithIndex thing
20:29:28 <Entroacceptor> if you go down that road, maybe you want to style .txt files, too?
20:29:31 <stepkut> and then I have a default renderer you can use
20:30:11 <stepkut> but now I am looking to see what degree the default renderer can be decomopsed into reusable blocks
20:30:48 <stepkut> the primary things *I* would want to change on a normal site would be the theme (maybe) or adding some google analytics codes (more likely)
20:31:09 <stepkut> or, I would want to go really wholesale, and do my own renderer
20:31:33 <Entroacceptor> yes
20:32:11 <stepkut> If I did that, I think I would still want to reuse this function, withAttrs :: FilePath -> IO (FilePath, CalendarTime, Maybe Integer)
20:32:37 <stepkut> which gets the modification time and filesize of entries (though it also needs to more clearly distinguish if an entry is a file or directory)
20:33:32 <Entroacceptor> btw., I wasn't aware that this keeps public logs
20:34:15 <stepkut> in the topic it says: logs @ http://happstack.com ...
20:34:21 <stepkut> the link could be more precise though
20:34:21 <Entroacceptor> oh
20:34:31 <Entroacceptor> wow, I'm blind
20:34:40 <Entroacceptor> http://www.reddit.com/r/reddit.com/comments/e14t6/its_amazing_how_the_the_human_mind_does_not/
20:34:47 <stepkut> well, it says, docs, tutorials and logs, so I guess it can't be that precise
20:36:30 <stepkut> the logging is actually integrated into the happstack.com site executable :p