Experimental IRC log happs-2008-07-18

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:30:23<stepcut>http://nhlab.blogspot.com/2008/07/html-templating-in-happs-using-hsp.html
21:40:47<lucca>but some of us don't Like having code in templates
21:41:19<lucca>admittedly I don't do enough webwork to judge
21:41:43<lucca>and most of the aversion comes from looking at it and saying awmagawd that's bad php
22:11:22<fxr>lucca: think of you have functions that generates html
22:11:34<fxr>lucca: this is far from php.
22:11:58<lucca>It's a lot cleaner than I expected
22:12:02<lucca>hmmm
22:12:38<fxr>lucca: I'm using the same approach on common-lisp side.
22:13:09<lucca>ah, but there you have sexps, which map very cleanly to xml
22:13:49<lucca>that combined with defmacro make normal template concepts pretty obsolete
22:14:12<fxr>lucca: there's no macro, there are functions
22:15:03<fxr>lucca: http://labs.core.gen.tr/repos/core-server/examples/hello.lisp for example
22:16:32<fxr>lucca: hsp templating cool because you're using html syntax
22:17:22<lucca>but I don't Like html syntax, heh
22:17:42<fxr>lucca: it's just a syntax dude
22:24:38<fxr>stepcut: btw nice blog, thank you
22:28:12<sm>ACTION tries it on osx, gets stopped at cabal install rjson /Users/simon/.cabal/lib/iconv-0.4/ghc-6.8.2/HSiconv-0.4.o: unknown symbol `_iconv_close'
22:37:45<sm>but cool stuff
22:57:25<dcoutts>sm: can you try the latest iconv-0.4.0.2 from darcs for me
22:57:31<dcoutts>and tell me if that works for you on osx
22:57:49<dcoutts>sm: darcs get --partial http://code.haskell.org/iconv/
22:57:54<sm>sure
22:58:08<dcoutts>sm: just a sec, pushing a patch...
22:59:21<dcoutts>sm: ok, done. get it now
23:00:02<dcoutts>sm: thanks for trying it for me
23:00:25<dcoutts>sm: I'm off now but just leave a message for me here about whether it works or not
23:00:32<sm> sure, thank you
23:00:43<sm>just trying to figure out where to put the .a
23:00:53<sm>will do
23:01:01<dcoutts>tha .a ?
23:01:05<dcoutts>tha/the
23:01:23<dcoutts>it shouldn't need any hacking, the new version should just work
23:01:29<dcoutts>iconv is built in in osx
23:01:32<sm>the archive dist/build/libHSiconv-0.4.0.2.a I got from runhaskell Setup.hs build
23:01:35<dcoutts>just have to link to the right lib
23:01:50<dcoutts>oh, use runhaskell Setup.hs install
23:01:59<sm>ACTION is trying to image the clean way to do this on mac.. oh, that works!
23:02:16<dcoutts>though if you didn't use any special --prefix then it defaults to /usr/local
23:02:52<dcoutts>sm: cabal-install uses a sensible default, it installs into the home dir and puts everything under ~/.cabal/
23:03:06<dcoutts>and so does not require sudo or anything
23:03:18<sm>yes, it's nice
23:04:15<sm>ACTION comments out validate and realpath in happs-hsp-quickstart makefile
23:04:32<sm>er where was I .. rjson
23:04:53<sm>no problems building that now. Thanks dcoutts !
23:05:15<dcoutts>sm: so iconv-0.4.0.2 worked ok?
23:05:18<sm>yes
23:05:25<dcoutts>great, I'll upload it to hackage
23:05:29<dcoutts>thanks
23:05:53<sm>stepcut: fyi realpath and wdg-html-validator are not easily available on osx
23:06:07<sm>while I'm reportin' stuff..
23:46:28<stepcut>sm: yeah, easy to hack out
23:47:03<stepcut>I have OS X, but I have not started using for Haskell development yet
23:49:50<fxr>http://paste.lisp.org/display/63930
23:49:52<fxr>any ideas?
23:50:04<fxr>(hpaste is broken btw)
23:52:39<stepcut>ACTION has not tried HAppS with anything paste 6.8.2
23:53:05<stepcut>fxr: what OS ?
23:53:24<fxr>stepcut: debian x64
23:54:03<stepcut>hrm, I don't have anything pre-built for that

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