--- Log opened Sun Mar 22 00:00:51 2009
08:47 < koeien> h_buildbot: status
08:47 < h_buildbot> Idle.
08:48 < koeien> h_buildbot: build
08:48 < h_buildbot> Build for all started. If one was running, no new one is started.
09:46 < h_buildbot> test
09:46 < koeien> h_buildbot: build
09:46 < h_buildbot> Build for all started. If one was running, no new one is started.
09:57 < h_buildbot> Build for ghc-6.8.3_STABLE OK. Test suite build failed. Check http://buildbot.happstack.com/ for details.
10:07 < h_buildbot> Build for ghc-6.10.1_STABLE OK. Test suite build failed. Check http://buildbot.happstack.com/ for details.
10:19 < h_buildbot> Build for ghc-6.8.3 OK. Test suite ran. 14/77 test cases failed. Check http://buildbot.happstack.com/ for details.
10:31 < h_buildbot> Build for ghc-6.10.1 OK. Test suite ran. 15/77 test cases failed. Check http://buildbot.happstack.com/ for details.
17:21 < koeien> how would i use SHA-256 with happstack? it only provides SHA-1 and weaker afaik
20:34 < rovar> i believe the default happstack application has an HSP example
20:36 < thomastc> reason I was asking is this... it seems to me like HSP is kind of like PHP in Haskell
20:37 < thomastc> that is, presentation logic and database stuff and business logic all mixed together
20:37 < stepcut> thomastc: depends how you use it
20:37 < thomastc> but I'm new to this, so I'm wondering if my impression is true :)
20:37 < thomastc> stepcut: of course
20:38 < stepcut> thomastc: you can organize all your code so that things are neatly separate, and use HSP stuff as templates that have a smarter token replacer than simple string substitution
20:39 < thomastc> is there any kind of framework that supports this kind of separation? or is that exactly what happstack does?
20:40 < rovar> b
20:41 < thomastc> essentially, I guess I'm asking whether there is something like Ruby's Rails in Haskell
20:41 < stepcut> thomastc: depends on what you mean by 'supports'. You can write your code that way using happstack, but it does not force you to.
20:42 < thomastc> I see so many opportunities here... like, the Haskell type system could not only enforce well-formedness of the XML, but also guarantee that you actually produce valid (X)HTML
20:43 < thomastc> with different types of strings one could prevent a whole slew of common vulnerabilities too, like SQL injection and XSS
20:43 < stepcut> thomastc: yep. You oleg has a library like that for haskell. You could use it with happstack if you wanted.
20:43 < thomastc> because you couldn't accidentally plug a raw string in without encoding
20:43 < stepcut> thomastc: if you use happstack-state instead of SQL, no SQL injection attacks ;)
20:45 < stepcut> thomastc: the demo guestbook is pretty SQL/javascript inject proof. Internally, a String is always an Unicode string with no special escaping. All the escaping is done automatically and transparently so that you can't screw it up.
--- Log closed Mon Mar 23 00:00:52 2009