Experimental IRC log happs-2007-09-20

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.

19:28:39<nbarterd>has anyone managed to get the "blog like" application at http://happs.org/HAppS/HAppS-Begin/public/ to work for them?
19:28:56<shapr>What's the problem?
19:29:03<shapr>I heard that there was recent breakage.
19:29:26<shapr>nbarterd: Did you get all the repos built and installed?
19:29:26<nbarterd>well where's the blog? :) I mean what url is the start url?
19:29:38<nbarterd>I think so. is there a demo somewhere?\
19:30:00<shapr>Did you run ./haskell/Main --http-port=8000 ?
19:30:01<nbarterd>hey is there #happs bot? eg, who is shapr?
19:30:10<shapr>and then check http://localhost:8000/ ?
19:30:15<shapr>I'm Shae Erisson
19:30:19<shapr>I'm one of the developers of HAppS.
19:30:24<nbarterd>ah we have emailed.
19:30:35<nbarterd>i'm at deutsche bank working on a happs app.
19:30:40<shapr>The others are alexj, the man with the plan and the company owner, and Lemmih and Igloo, two very skilled developrs.
19:30:43<shapr>ah, cool!
19:30:46<nbarterd>wait are you scannedinavian?
19:30:50<shapr>That's me.
19:30:55<nbarterd>halo :)
19:31:01<nbarterd>I just got irc at work.
19:31:02<shapr>gutentag!
19:31:10<shapr>Not that I speak German.
19:31:11<nbarterd>sind sie deutsch?
19:31:17<shapr>bara svenska :-)
19:31:20<shapr>Talar du svenska?
19:31:26<nbarterd>ah . i spent four years in germany but are now in the states again.
19:31:49<shapr>You're originally from the USA?
19:31:53<nbarterd>yep
19:32:06<shapr>Spiffy, me too.
19:32:13<nbarterd>lemme see if I can get that blog to work...
19:32:42<shapr>I'm not terribly busy at the moment, if you need interactive support...
19:34:06<nbarterd>the result of my work at the moment is http://64.22.71.11:8000/
19:34:14<nbarterd>but... where's the blog like app?
19:34:38<nbarterd>I mean, is there some kind fof functionality for creating blog entries and so on?
19:34:51<shapr>http://64.22.71.11:8000/blog/entryForm
19:34:58<shapr>But it seems you don't have xsltproc installed.
19:35:26<nbarterd>is that apt-gettable?
19:35:33<shapr>http://64.22.71.11:8000/series/foo/1
19:35:35<shapr>yes, it is.
19:35:49<shapr>apt-get -uf install xsltproc
19:37:04<shapr>nbarterd: Works now.
19:37:18<nbarterd>lovely!
19:37:39<shapr>I think I'll add explicit links to the front page though.
19:37:49<nbarterd>yeah I was about to suggest that.
19:37:50<shapr>Front page being - http://64.22.71.11:8000/
19:39:52<shapr>nbarterd: Any more questions?
19:41:54<nbarterd>you might want to add xsltproc to the list of dependencies at http://happs.org/HAppS/HAppS-Begin/public/ no?
19:41:58<shapr>Good point
19:42:35<nbarterd>I don't have questions at the moment but I have a feeling you may be seeing a lot of me in the coming days.
19:43:49<nbarterd>I'm currently trying to get happs to work with
19:43:53<nbarterd>mochikit
19:44:12<shapr>Is that the flash advertising thingy?
19:44:25<shapr>Ah no, javascript lib.
19:44:32<shapr>Interesting
19:44:40<nbarterd>eah I know nothing about javascript.
19:44:51<shapr>I've thought about automatic deriving of JSON values with syb-with-class.
19:46:17<shapr>I hope to see lots of you in the coming days, definitely :-)
19:46:28<nbarterd>you know I sort of do have a question. what is the point of sp dependency chasing?
19:46:34<nbarterd>is it just because things are changing so frast?
19:47:25<shapr>Welll
19:47:57<shapr>Alex wrote SearchPath, and it does some things that cabal-install does not do.
19:48:07<nbarterd>do you think it would be same to work without sp until , eg, step 7 at http://happs.org/HAppS/HAppS-Begin/public/ looks a little less tentative
19:48:26<shapr>HAppS should work fine with Cabal.
19:48:32<nbarterd>do you use sp for your deployments?
19:48:47<shapr>Me personally?
19:48:51<nbarterd>yes
19:48:56<shapr>I prefer Cabal.
19:48:59<Lemmih>I mainly use Cabal.
19:49:17<nbarterd>sp could eventually be a cpan like thing right?
19:49:35<nbarterd>but perhaps not quite ready for prime time...
19:49:35<shapr>I do agree that the SearchPath has useful features that are not present in cabal/cabal-install, but I'd rather just add those features to cabal-install.
19:49:50<shapr>cabal-install already is a CPAN-like thing.
19:50:09<nbarterd>except it doesn't do edependency chasing
19:50:19<shapr>cabal-install does do dependency chasing.
19:50:46<shapr>But on a different granularity than SearchPath.
19:51:06<nbarterd>Oh, I guess I've never actually used cabal-install, just cabal.
19:51:11<Igloo>cabal-install is more like CPAN than sp is
19:51:35<nbarterd>gotta try it out.
19:51:36<shapr>SearchPath grabs all the "import $MODULE" statements from the source files, and has a text file that maps those $MODULE values to http locations to download those files.
19:51:47<shapr>cabal-install only has a single useful source right now, hackage.haskell.org
19:51:58<shapr>cabal-install does dependency chasing at the cabal package level.
19:52:02<shapr>sp does it at the module level.
19:53:05<shapr>I don't think the recent HAppS packages are in hackage though.
19:53:29<shapr>I should add them, even if I would have to upload new versions twice a week.
19:57:48<shapr>nbarterd: What do you think of HAppS so far? Got any general feedback?
19:59:32<nbarterd>more documentation please!
19:59:36<nbarterd>that's basically it :)
20:00:22<nbarterd>I'm sort of learning haskell at the same time as learning happs, and (till today) have been cut off from irc. so it has been some tough slogging.
20:01:10<nbarterd>doing this blog app thing is definitely the right next step. get something that's working, that is powerful, that uses the latest version of happs.
20:02:49<nbarterd>A while back I came across this concept "all instance declarations should be slim" -- http://www.haskell.org/haskellwiki/Slim_instance_declaration
20:03:19<nbarterd>I am not 100% certain but I have an intuition that if this was applied to happs it might make the source code easier to understand.
20:04:01<nbarterd>I often founc myself in the situation of looking at a function signature, which accepted not specific but "class derived" types and I wouldn't know what instance to use, and it could be pretty frustrating.
20:05:22<nbarterd>by the way, I am tphyahoo most of the time, this or thomas hartman
20:08:52<shapr>ok
20:11:08<shapr>I'm shapr here, or shae.erisson on gtalk
20:32:47<nbarterd>what's the standard way of serving static files? I thought it was Prefix, but I can't figure out how to use it.
20:33:39<nbarterd>by the way is there a happs paste?
20:35:09<nbarterd>hey stephan is there a happs paste?
20:35:24<Lemmih>I think there's only hpaste.org
20:35:52<nbarterd>that will announce pastes to #haskell, but not #happs correct?
20:36:17<sjanssen>correct
20:36:24<Lemmih>Correct. You can disable the announce and paste the url here.
20:37:26<sorear>nbarterd: if you'd spelled it 'Stefan' the highlight would have worked :)
20:38:32<nbarterd>i was wondering if i had gotten that right :)
20:52:33<shapr>Yay, Galois released their Selenium binding! darcs get http://code.haskell.org/selenium/
21:01:52<nbarterd>is there a place where you can browse the latest happs (from darcs) online? the url http://happs.org/HAppS works for a darcs checkout but if you put it in a browser you can't browse the code
21:02:25<shapr>I don't think so. I just use emacs on my local repo :-)
21:41:30<nbarterd>question, what's the standard way of having happs fetch a static file? : http://hpaste.org/2827
21:41:59<sorear>SO IT WAS YOU!
21:42:00<sorear>:P
21:42:04<shapr>waah?
21:42:07<jmelesky>:D
21:42:41<nbarterd>me?
21:43:19<nbarterd> oh I forgot to uncheck announce. should I repost?
21:44:04<sorear>You also forgot to give a summary. Or your name.
21:44:23<sorear>ACTION still has this expectation that hpaste is for code, silly me
21:44:52<sorear>ACTION suspects he's failing his diplomacy check right now
21:45:32<nbarterd>i think I'll repost :)
21:46:39<nbarterd>question, what's the standard way of having happs fetch a static file? : http://hpaste.org/2828
21:47:47<sorear> ,h (Prefix ["static"]) GET $ (\path rq -> respond $ fileServe "static/" path rq)
21:47:52<sorear>floating in hpaste
21:48:30<nbarterd>please excuse clusiness. I just got irc working at work where there's a restrictive firewall, using a gprs modem. and the gprs network is real slow today. beh, very frustrating.
21:48:50<sorear>clusiness. I like it
21:49:26<nbarterd>yeah yeah yeah
21:50:09<nbarterd> communications like swimming in molasses
21:53:29<nbarterd>ps sclusiness/clumsiness/
21:53:51<nbarterd>s/clusiness/clumsiness/ ... arg
21:59:12<Lemmih>nbarterd: Prefix is gone in 0.9.1
21:59:46<nbarterd>I'm running 9.1 and Prefix works. I mean, I'm running head....
21:59:59<nbarterd>you mean, it's going to be gone?
22:00:06<Lemmih>What repo?
22:00:47<nbarterd>http://happs.org/HAppS I think
22:01:04<Lemmih>That's the old version.
22:01:20<nbarterd>so what's the "official" repo?
22:01:32<Lemmih>Get http://happs.org/HAppS-State, http://happs.org/HAppS-Server, http://happs.org/HAppS-Util and http://happs.org/HAppS-Data
22:01:55<Lemmih>And HAppS-Begin.
22:02:09<Saizan>-IxState
22:02:18<Saizan>err -IxSet
22:02:27<Lemmih>HAppS-IxSet is optional.
22:02:48<Saizan>doesn't Begin depends on it?
22:03:10<Lemmih>Oh right.
22:03:12<nbarterd>that could be clearer in the docu. I understood these needed to be fetched, but I thought they depended on some "core" happs. but that isn't so is it?
22:04:26<nbarterd>ok, so I actually installed this blog app thing. is there an example there of fetching a static file?
22:05:00<Lemmih>nbarterd: Yes, in Main.hs. Look for 'fileServe'.
22:07:43<nbarterd>oh "e" doesn't end happs anywher? just do ctrl-c ?
22:07:51<nbarterd>I mean anymore, not anywher
22:07:52<Lemmih>Correct.
22:16:24<nbarterd>OK, I found fileserve.hs. there's no docu, online or otherwise for this is there? just read the source?
22:18:31<Lemmih>The first argument is a list of index files to serve. The second argument isn't used.
22:19:16<Lemmih>nbarterd: You might do: fileServe ["index.html"] [] "DirectoryWithStaticFiles"
22:35:31<Saizan>it's a bit wierd that IxSet essentially lacks typechecking on the indices
22:37:18<Lemmih>Saizan: Patches are welcome (:
22:39:48<nbarterd>problems compiling HA//S/Data : http://hpaste.org/2830#a1
22:40:08<nbarterd>i mean, compiling HAppS/Data...
22:41:03<Lemmih>Do you have the latest versions of syb-with-class and generic-xml?
22:43:53<nbarterd>lem http://hpaste.org/2830#a1
22:44:13<nbarterd>Lemmih: http://hpaste.org/2830#a1
22:44:46<nbarterd>syb with class 0.3, generic xml 0.1... these are also from the "happs team" right?
22:45:27<Lemmih>nbarterd: You need to get them from darcs.
22:46:06<nbarterd>ah I had syb from darcs but generic xml from hackage. maybe that's why.
22:48:32<Igloo>You shouldn't have generic-xml at all these days
22:48:37<nbarterd>generic xml wants default, and normalize.
22:48:45<Igloo>It's all in HAppS-Data now
22:48:56<nbarterd>but happs data won't build.
22:49:32<Igloo>It should with the latest syb-with-class
22:51:21<nbarterd>mm, this is getting confusing. the latest version of syb with class wants bytestring. but i'm on 6.61, isn't that in core now?
22:52:09<nbarterd>should I just edit it out of the cabal file depends line?\
22:53:12<Saizan>pulling from http://happs.org/HAppS/syb-with-class it depends only on base and template-haskell
22:53:52<nbarterd>how can I see where I'm pulling from?
22:54:07<nbarterd>oh i see.
22:54:40<nbarterd>i am pullijng from that url. but my cabal file has bytestring in the build depends liune
22:54:50<nbarterd>oh never mind.
22:55:00<nbarterd>i changed it myself trying to get it to compile on 6.7. poo.
23:04:11<nbarterd>HAppS-State does indeed install nowl. thx.
23:54:09<nbarterd>http://64.22.71.11:8000/blog/entryForm (an old install) works. but http://localhost:8000/blog/entryForm (fresh install on work computer) doesn't work. did something change in the last 5 hours?

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