Experimental IRC log happs-2008-05-29

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.

07:01:21<thomashartman1>anyone around?
07:05:48<Lemmih>Yes.
07:08:28<thomashartman1>I am looking at Allin.hs.
07:08:53<thomashartman1>What does this do? What urls should I be using to exercise its functionality?
07:09:22<thomashartman1>I got it running by doing... sp ghc -isrc src/AllIn.hs --make --run --http-port=5000
07:09:42<Lemmih>Most of the functionality isn't exposed through the http interface.
07:09:50<thomashartman1>ie, substite AllIn.hs for Main.hs, with regards to the instructions on happs.org
07:10:19<thomashartman1>Is it exposed through any interface? Am I supposed to be just playing with it via ghci?
07:10:44<Lemmih>It will print stuff to stdout when you run it.
07:11:03<Lemmih>See Examples/set/ for http examples.
07:11:11<thomashartman1>I saw that. And it also does the same thing that Main.hs does (display happs.org page) only I can't figure out how
07:12:13<Lemmih>That it really shouldn't do.
07:12:45<Lemmih>Why have you moved AllIn.hs to src/ ?
07:14:40<Lemmih>Anyhow, AllIn is a semi-complete showcase for the various HAppS features. I'd not recommend it as documentation.
07:15:23<Lemmih>ACTION is out.
07:15:41<thomashartman1>it is recommended prominently on happs.org... "State + HTTP together "
07:15:51<thomashartman1>link
07:16:09<thomashartman1>state plus http is of course exactly what I want... so i went straight there.
07:17:32<Lemmih>Don't trust anything you read on the happs website.
07:17:37<thomashartman1>Yeah yeah, I know.
07:18:11<thomashartman1>I moved AllIn.hs to under src to see what would happen if I replaced Main.hs with AllIn.hs and ran that same sp command suggested under "quickstart"
07:18:34<thomashartman1>it "worked" ... for some suitably nebulous value of "worked"
07:19:28<Lemmih>I recommend using Cabal and then playing with the small examples.
07:20:54<thomashartman1>is there a script that installs all the happs repos at one go or do you still do each one individually?
07:21:49<thomashartman1>I started to use sp because cabal took so *$@$ing long.
07:32:38<thomashartman1>Ok I have ControlFlow.hs running... /escape is listed as an "interesting" url...
07:32:49<thomashartman1>but http://localhost:5000/escape gives me a page load error.
07:33:08<thomashartman1>maybe the wrong port?
07:33:40<thomashartman1>yep
07:33:50<thomashartman1>needed to be http://localhost:8000/escape
07:37:58<Lemmih>cabal-install can install multiple packages for you.
07:38:22<Lemmih>Installing cabal-install is not that easy, though.
07:39:40<thomashartman1>I did >sp ghc -isrc src/set/Web/ControlFlow.hs --make --run --http-port=5000 ... I guess sp ignores that --http-port=5000 flag and just does default 8000.
07:40:08<Lemmih>HAppS doesn't parse command line arguments unless you tell it to.
07:40:52<Lemmih>That is, sp doesn't ignore the argument, ControlFlow does.
07:40:59<thomashartman1>Where did I tell it to in the first example? (sp ghc -isrc src/Main.hs --make --run --http-port=5000) or is that 5000 hardcoded somewhere?
07:41:40<thomashartman1>nuts. it is hardcoded.
07:42:20<thomashartman1>If I remove that --http-port=5000 from the happs.org docu that is on the home page of happs... will my patch be accepted?!
07:42:53<Lemmih>Probably.
07:42:54<thomashartman1>I ran into this like 3 months ago, the last time I took happs off the shelf and dusted it off... little things like this drive me mad.
07:43:03<thomashartman1>allright.
07:50:46<thomashartman1>what's the standard operating procedure for pushing a darcs change? http://hpaste.org/7961
07:51:07<Lemmih>darcs send
07:51:32<thomashartman1>it's asking me "what is the target email address?"
07:51:44<Lemmih>or: darcs send -o yourPatch.dpatch # and send via other mail service
07:51:59<thomashartman1>I thought darcs was supposed to know source emails automagically... ?
07:52:46<thomashartman1>well whatever, what email should I send to? (I am secretly hoping this is practice and future patches will be less trivial)
07:52:46<Lemmih>We haven't needed it until now (:
07:53:21<Lemmih>Hm, just send it to me. I'm not sure the happs-dev mailing list is open to the public.
07:53:34<thomashartman1>I would like to add a lot of examples and beginner tutorial stuff
07:53:51<thomashartman1>and maybe finally figure out how the hell this framework works in the process.
07:53:53<Lemmih>Try this address: happs-dev@googlegroups.com
07:54:50<thomashartman1>oh dear.
07:54:52<thomashartman1>What is the target email address? happs-dev@googlegroups.com
07:54:52<thomashartman1>Error in execvp: No such file or directory
07:54:52<thomashartman1>darcs: timer_settime: Invalid argument
07:54:53<thomashartman1>Failed to execute external command: /usr/sbin/sendmail -i -t
07:54:56<thomashartman1>Lowlevel error: execvp: Illegal seek
07:54:59<thomashartman1>Redirects: (File "/home/thartman/MyProject/darcs8yPYWv",Null,AsIs)
07:55:27<thomashartman1>I guess it's option b (-o yourPatch.dpatch)
07:56:03<thomashartman1>and gmail.
07:58:12<Lemmih>It's fairly easy to use ssmtp with gmail.
08:00:18<thomashartman1>well I sent it (using normal gmail via firefox and attachment)
08:04:56<thomashartman1>ssmtp with gmail looks useful, I'm going to try to get that to work.
08:08:23<thomashartman1>pretty lame that this requires recording your gmail password to a world readable conf file though.
08:08:47<Lemmih>Yeah /-:
08:09:32<thomashartman1>yeah this is bullshit, I'm gonna stick with good old firefox for now :)
08:17:20<thomashartman1>cdsmith wrote an embryonic public domain haskell MUD that runs in console mode. ( darcs get http://cdsmith.twu.net/demos/mud ). Like MACID, this uses STM for state. I would like to port this to HAppS and make it a web-enabled mud... think this would make a great demo and sample app.
08:34:28<thomashartman1>goodnight happs.
14:45:15<thomashartman1>anyone around?
14:51:51<thomashartman1>On advice from lemmih I sent a documentation patch for darcs.org to happs-dev@googlegroups.com and it bounced. Should I just send to happs@googlegroups.com? Patching should be easy and simpleminded right... ?
18:09:44<thomahartman1>~/MyProject>sp ghc -isrc src/Main.hs --make --run ....
18:10:16<Lemmih>?
18:10:19<thomahartman1>/home/thartman/.SearchPath/HAppS/State/Spread.hs:18:17:
18:10:20<thomahartman1> Could not find module `Control.Concurrent.Chan.Closeable':
18:10:20<thomahartman1> Use -v to see a list of the files searched for.
18:10:30<thomahartman1>something need to be pushed?
18:10:30<Lemmih>Install hspread.
18:11:06<Lemmih>Cabal tells you these sorts of things.
18:11:19<Lemmih>sp doesn't really keep track of dependencies.
18:11:53<thomahartman1>fair nuff
18:12:35<thomahartman1>when sp works though, it's real nice.

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