Experimental IRC log happs-2008-05-17

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.

00:46:06<guenni>hi
00:46:52<guenni>does happs need an external library for xslt processing or could it also just use one written in Haskell?
00:48:50<fatalerrorx>anyone here?
00:49:10<fatalerrorx>how do i get my hands on happs? I don't see a dl button
00:49:21<stepcut>fatalerrorx: darcs get
00:50:03<stepcut>fatalerrorx: you need to darcs get all the stuff shown in the 'About' section.
00:50:11<fatalerrorx>really?
00:50:14<stepcut>I believe there are also Debian packages
00:50:35<fatalerrorx>ok i'll try darcs get on everything on the about pages
00:50:51<stepcut>guenni: it currently calls the xsltproc or saxon command-line apps
00:51:10<stepcut>guenni: for an 'in Haskell' solution, you might consider the happs-hsp-template route
00:52:13<stepcut>guenni: http://groups.google.com/group/HAppS/browse_thread/thread/87b8200a9defc75c
00:52:27<fatalerrorx>btw what was wrong with the site last couple days?
00:52:44<stepcut>guenni: there is no technical reason why true xslt processing could not be done in Haskell, but no one has written an pure Haskell xslt processor as far as I know
00:52:48<stepcut>fatalerrorx: no idea
10:50:57<esteth_>Hey everyone. I'm trying to get started with HAppS, and i've followed the instructions at happs.org, but a server doesn't appear to be running at localhost:5000. Should i paste the sp ghc command? The last thing i see is "cannot parse LANGUAGE pragma", is that normal?
10:59:02<Lemmih>Does the command terminate or linger?
10:59:23<Lemmih>It may be running at port 8000.
10:59:28<esteth_>it lingers
10:59:41<esteth_>or appears to, anyway. Hitting enter doesn't give me a new terminal prompt
10:59:59<esteth_>not at 8000
11:01:29<esteth_>nmap reports nothing more is open when i'm running the command than otherwise
11:04:14<Lemmih>That's weird.
11:05:25<esteth_>http://hpaste.org/7688 is what i get when i start it up
11:07:25<Lemmih>You can always go the Cabal route.
11:10:01<esteth_>I'll try doing it that way then, thanks :)
11:38:16<eelco>esteth_: what version of ghc are you using?
11:40:14<esteth_>6.6.1
11:40:51<eelco>that explains the LANGUAGE pragma thing, you should upgrade ;)
11:43:19<Lemmih>HAppS requires ghc-6.8.2
11:44:34<esteth_>aha. Thanks. I think i'm using the packaged version that came with ubuntu 7.10. Time to go compile then :)
11:48:33<MarcWeber>cd #haskell
11:54:35<eelco> /away gone
11:54:40<eelco>uhg
12:54:13<esteth_>Now i'm on ghc 6.8.2, running the command gives me a different error :( /home/esteth/.SearchPath/Binary/Put.hs:56:1:lexical error at character 'i'
12:56:03<Saizan>esteth_: that's probably because the binary package expects to be compiled with cabal
12:57:25<esteth_>so i can't use searchPath, i have to pull all the packages and cabal compile each of them?
12:58:36<Lemmih>I think so, yes.
12:59:37<esteth_>oh :( Thanks for the help anyways
13:01:33<nomeata>esteth_: if you are running debian, there are precompiles HAppS packes with dependencies
13:02:51<esteth_>nomeata: Do you know where i could find an up-to-date version of these packages?
13:03:27<nomeata>esteth_: apt-get install libghc6-happs-server-dev
13:04:58<esteth_>i don't have the server-dev package, only -dev, but i'll try that and see how it goes
13:05:20<nomeata>esteth_: are running debian unstable?
13:05:35<esteth_>ubuntu, but i think they steal the packages from debian
13:07:56<nomeata>esteth_: hmm, it seems they are not up to date though. try the packages from http://packages.debian.org/sid/libghc6-happs-server-dev
13:09:50<esteth_>ok, i'm trying that. I should really upgrade to ubuntu 8.04 or try debian or something. I'm out of date for loads of stuff now
13:10:49<esteth_>argh. That's complaining about dependencies. Thanks for all the help, but i get the feeling everything i try with this just isn't going to work
13:11:10<esteth_>I'll be back once i reformat and get a newer set of packages later in the year, i reckon though
13:11:39<nomeata>esteth_: just get all the dependencies installed, then it should :-). or try to get it going by cabal, probably not much difference in the effort
13:13:35<esteth_>nomeata: I'd try installing the packages with cabal, but i can't find any info on the HAppS site on where to get the files i need.
13:13:56<esteth_>It tells me that i can "darcs pull the repos and use cabal to install", but give no url for "the repos"
13:15:09<Lemmih>esteth_: The repo urls are located in the "About" section.
13:15:59<esteth_>ahh, i see now. Thanks :)
13:41:18<esteth_>Going slowly, but it seems to be working. I've hit a snag though. HAppS-Plugins fails with "Could not find module `Data.Map': it is a member.... which is hidden.
13:41:49<Lemmih>HAppS-Plugins is completely outdated.
13:42:02<Lemmih>You don't need it.
13:42:52<esteth_>ah, ok
13:43:13<Lemmih>Just get HAppS-HTTP and all it dependencies.
13:44:37<esteth_>building HAppS-HTTP just now :)
13:49:07<esteth_>installed. Now when i try to do ghc-6.8.2 src/Main.hs i get lots of "src/Main.o in function r1Hg_info undefined reference messages, something at the end about collect2: ld returning 1 exit status, and it looks like i have a main.exe, but i'm on linux, so surely i want a "main" instead of "main.exe" ?
13:49:35<esteth_>ah, wait. That's a Main.exe.sp.new, so it's probably from my earlier attempts to use searchPath
13:49:54<Lemmih>Add --make
13:50:22<esteth_>wooooo!
13:50:32<esteth_>Thanks :D
13:50:44<Lemmih>There are also smaller examples in HAppS-HTTP/Examples/
18:20:01<guenni>hi I've got some questions about haskell language extensions
18:20:13<Lemmih>Go ahead.
18:20:31<guenni>well do they introduce new paradigms?
18:20:45<guenni>thx Lemmih
18:21:14<Lemmih>Not necessarily.
18:21:24<guenni>I mean with extensions, is it then some sort of Haskell+?
18:21:40<guenni>or is it still basically haskell?
18:23:13<Lemmih>Most extensions are very benign.
18:23:35<Lemmih>Take empty data declarations for example.
18:23:51<Lemmih>With it on, this code is valid: data Empty
18:24:32<guenni>are they then some sort of "Syntactic sugar"?
18:25:47<Lemmih>Some are, some aren't. They don't really have much in common and they're all implemented differently.
18:26:20<Lemmih>An extension is just a deviation from the Haskell98 spec.
18:26:41<guenni>and HApps is using quite a lot of them?
18:27:08<Lemmih>We sure are. Many of them are quite useful.
18:27:27<guenni>propably so
18:28:46<guenni>I had the impression that "generic programming" as in "Scrap your boilerplate" extends Haskell also?
18:29:29<Lemmih>There are some extensions that help with generic programming but they aren't strictly necessary.
18:29:55<guenni>thx Lemmih
18:30:57<guenni>Lemmih: one more question if you don't mind?
18:31:23<Lemmih>Keep 'em coming.
18:32:09<guenni>I've been through most of the theoretical part of Haskell (though not all understood) and I'm looking for a more a-z tutorial
18:32:22<guenni>is there one you could recommend?
18:33:22<Lemmih>The Gentle Introduction to Haskell is a "gentle" version of the Haskell specification. Very thorough.
18:33:42<Lemmih>http://www.haskell.org/tutorial/
18:33:51<guenni>and it does produce a coherint app?
18:34:29<guenni>don't mean to nag :)
18:34:38<Lemmih>No, it only have a few sniplets of code.
18:35:04<guenni>I'll check it out,thx
18:35:19<Lemmih>Haskell For C Programmers is more hands-on: http://www.haskell.org/~pairwise/intro/intro.html

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