Experimental IRC log happs-2007-12-16

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:15:47<mmmdonuts>Interesting: on the machine that's having the problem, if I run "nohup Main", it crashes immediately with the following in the nohup output log:
00:15:48<mmmdonuts>Loading statedone
00:15:50<mmmdonuts>Saving statedone
00:15:52<mmmdonuts>Main: <stdin>: hGetChar: invalid argument (Bad file descriptor)
00:16:04<mmmdonuts>Who's calling hGetChar and why, I wonder?
00:21:22<kaol>IIRC happs wants to keep STDIN open
00:22:01<kaol>using nohup like that closes it
00:23:57<mmmdonuts>Hmm, so that's normal? Do you know where the code which deals with this is? (I grepped for hGetChar and all I found was a function hGetLn which doesn't seem to be called from anywhere)
00:24:21<mmmdonuts>I'm trying to figure out why something is waiting for console input in the middle of a request...
00:25:41<kaol>check 5.1 in http://haskell.org/haskellwiki/HAppS_tutorial
00:27:25<mmmdonuts>Thanks, I'll give that a try.
00:32:06<mmmdonuts>Doesn't help. It runs happs in the background ok, but something is blocking and waiting for console input in the middle of a request to happs, causing the request to hang.
00:38:47<mmmdonuts>kaol, you might have solved my problem. Looks like I need the UNIX preprocessor flag defined for building on Debian. Musta missed that in the comprehensive docs. ;)
00:40:50<mmmdonuts>Woohoo!
00:42:04<mmmdonuts>That fixed it, thanks kaol.
01:00:58<BlueZeniX_>is happs-state (from darcs) supposed to compile?
01:01:27<alexj>yes
01:01:40<BlueZeniX_>/usr/local/lib/HAppS-Data-0.9.1/ghc-6.8.2/HAppS/Data/Xml/Base.hi
01:01:40<BlueZeniX_>Declaration for lvl145:
01:01:40<BlueZeniX_> Iface type variable out of scope: m
01:01:40<BlueZeniX_>Cannot continue after interface file error
01:01:44<BlueZeniX_>=[
01:02:40<BlueZeniX_>more errors actually
01:03:00<alexj>wipe out your .o files.
01:03:08<BlueZeniX_>which ones
01:03:11<alexj>fyi I usually use searchpath. things may be broken now.
01:03:15<alexj>.o and .hi
01:03:25<alexj>I intend to to a broad checkthrough tomorrow or monday.
01:03:40<BlueZeniX_>so searchpath should work? :p
01:03:58<alexj>thats what I use. if it doesn't work, that would be helpful to know.
01:04:01<BlueZeniX_>does it fetch the latest versions
01:05:48<alexj>yes
01:05:57<alexj>unlesss you have old versions in .haskell-cache.
01:06:08<alexj>if you want to make sure, wipe your .haskell-cache
01:06:13<alexj>have to run now. good luck.
01:06:23<BlueZeniX_>just fetched everything so should eb latest
01:06:24<BlueZeniX_>ok cya
01:11:15<mmmdonuts>BlueZeniX, I've built successfully from the latest darcs repos within the last hour.
01:11:25<BlueZeniX_>how ?
01:11:25<roger`>everything compiled last week too, by this method: http://jottit.com/39hm4
01:11:41<mmmdonuts>I used searchpath
01:11:48<roger`>ah, good to hear thats working
01:11:50<BlueZeniX_>lexical error at character 'i'
01:12:03<BlueZeniX_>preproc statement on that line
01:12:06<BlueZeniX_>o.o
01:12:27<mmmdonuts>Yes, I had to add the -XCPP option
01:12:37<mmmdonuts>That seems to be a new problem.
01:14:32<BlueZeniX_>its downloading again
01:15:12<BlueZeniX_>maybe .. maybe i should just continue with the y.a. haskell tutorial :P
01:15:40<roger`>BlueZeniX_: do you want to try some web development in Haskell?
01:16:09<roger`>going from yaht to doing cgi is probably easier than tackling HAppS I think
01:16:10<BlueZeniX_>as soon as i understand the language well enough, yes
01:16:24<BlueZeniX_>ha
01:17:39<roger`>I can show you a small thing that I made in conjunction with Haskell using Network.CGI if you don't mind me messaging you in private, I'd rather it didn't go into the channel logs.
01:18:26<BlueZeniX_>sure go ahead :)
01:18:33<roger`>Network.CGI is quite useful :P
01:18:45<BlueZeniX_>waht about fastcgi ? :p
01:18:55<Madrok>Would you mind sending that my way as well, I'm in the same boat as BlueZeniX_ ;)
01:19:11<roger`>ok
01:19:34<BlueZeniX_>hey Madrok :)
01:20:37<Madrok>g'day. You know, BZ, I've found the source to hpaste.org rather useful for learning haskell/happs
01:21:49<roger`>the haskell program behind that is 92 lines, 77 lines of data and 15 lines of code, I didn't bother with fastcgi because the traffic to that page is fairly low, maybe 15 hits a day.
01:21:50<BlueZeniX_>oh, and are you impressed yet? :p
01:22:42<Madrok>Rather, actually, now that I'm past the first 24-hours-of-a-new-language confusion.
01:23:08<Sizur>roger`: can you pm me that too please? ;)
01:23:19<BlueZeniX_>lol
01:28:03<roger`>hum. just noticed that freenode is blocking my private messages
01:28:13<roger`>so I guess you didn't see my messages, one moment...
01:28:23<BlueZeniX_>ok
01:30:56<roger`>you should receive a private message from my other nick
01:31:58<Sizur>source code to that?
01:33:08<roger`>it's not very elegant, it's probably my first program in Haskell, I'll post it anyway, hold on.
01:33:28<Sizur>ah I see :)
01:33:40<Sizur>congratulations on a first app
01:33:41<Madrok>Nothing could be much less elegant than mine atm ;)
01:36:22<Sizur>I want a JS embedded into haskell as a DSL
01:36:23<roger`>it does have possible runtime errors, but those fail silently, within my specification :p
01:36:51<BlueZeniX_>haha
01:37:01<BlueZeniX_>not a bug its a feature
01:37:14<roger`>well, bugs are the difference between specification and intentt
01:39:38<BlueZeniX_>right you are
01:40:58<BlueZeniX_>i wish i had a "dolookup stuff" function for rl items
01:41:47<mmmdonuts>google home?
01:42:12<Sizur>side effectfull
01:42:29<mmmdonuts>http://www.red-bean.com/fitz/google/where-are-my-socks.html
01:42:53<BlueZeniX_>lol
01:43:20<Sizur>dang, I remember now! I threw them there two weeks ago
01:44:17<roger`>BlueZeniX_: the makehtml function isn't used, I just deleted it
01:44:26<BlueZeniX_>ha ok
01:50:10<BlueZeniX_>"...
01:50:10<BlueZeniX_> The one chosen
01:50:10<BlueZeniX_>in Haskell is the system of type classes. Whether this is the ?correct? solution or the
01:50:10<BlueZeniX_>?best? solution of course depends on your application domain. It is, however, the one
01:50:10<BlueZeniX_>we have, so you should learn to love it.
01:50:53<BlueZeniX_>can you be more neutral and humorist at the same time ?
01:51:30<BlueZeniX_>sry for spam :P
02:00:47<BlueZeniX_>well i better get some sleep now
02:00:54<roger`>night
02:00:58<BlueZeniX_>thanks

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