Experimental IRC log happs-2007-07-09

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:58:51<blackdog_>hey, what's the concurrency model with HAppS
00:58:52<blackdog_>?
01:02:37<Saizan>blackdog_: what do you mean?
01:09:30<blackdog_>well, if i get twenty requests in 1 second, does it spin off 20 processes?
01:09:44<blackdog_>or do we have userspace threading, OS threads...
01:10:37<Saizan>it uses userspace threads
01:10:44<blackdog_>excellent :)
01:11:16<blackdog_>one other question - on the hello world example, it doesn't seem to close the connection when it's done sending
01:11:32<blackdog_>any idea why?
01:11:48<Saizan>that's a bug introduced with a recent patch, probably
01:12:07<blackdog_>i'm running 0.8.8 - is it a better idea to follow the head?
01:12:45<Saizan>ah..
01:13:22<Saizan>if you're the 0.8.8 release then it's not what i was talking about
01:13:49<Saizan>you got the tarball from hackage?
01:14:51<blackdog_>... actually, no, i'm full of crap. sorry, i'm on the dev version
01:14:55<blackdog_>i'll grab 0.8.8
01:15:14<Saizan>mmh i'll stay with the dev version :)
01:15:28<Saizan>s/i'll/i'd/
01:15:52<blackdog_>ACTION is skeptical
01:16:10<blackdog_>running "hello world" is sort of a prereq for me :)
01:17:43<Saizan>yeah but realeased 0.8.8 has a slight different api iirc
01:17:48<Saizan>hunk ./src/HAppS/Protocols/HTTP/Handler.hs 77
01:17:48<Saizan>- when (continueHTTP req res && L.length rest > 0 ) $ rloop conf h host handler rest
01:17:50<Saizan>+ when (continueHTTP req res && not (L.null rest) ) $ rloop conf h host handler rest
01:17:53<Saizan>}
01:18:07<sorear>Saizan: have you sent the patch yet?
01:18:15<blackdog_>ooh. ok, that's a more convincing argument
01:18:34<sorear>Saizan: (Sorry, but I sent it myself already)
01:19:27<sorear>Why does happs wait for keyboard input, instead of SIGTERM like other daemons?
01:19:57<sorear>ACTION is reading info screen, and would much rather use start-stop-daemon in his crontab...
01:20:09<Saizan>tried with passing -DUNIX when compiling happs?
01:20:30<sorear>Why not -Dunix?
01:20:39<sorear>UNIX cpp's predefine unix.
01:21:36<Saizan>i've seen this in a comment of a shapr's patch
01:21:39<sorear>ACTION rebuilds happs, rebuilds hpaste, bzips, scps, ...
01:22:31<Saizan>what should i configure on debian to make darcs send work?
01:23:01<tuukkah>sorear, there's a hack at the bottom of the wiki page to run happs without screen
01:23:35<sorear>Saizan: The debian-installer ran you through mail setup. It should work now.
01:23:39<sorear>tuukkah: Not my point.
01:23:47<sorear>tuukkah: Anything with a .cabal should just work.
01:24:17<tuukkah>Saizan, your mail system ie. dpkg-reconfigure exim4-config
01:24:19<sorear>tuukkah: If there's going to be mandatory documentation, they really really ought to not ship a cabal file
01:25:00<tuukkah>sorear, of course there needs to be documentation, cabal can't configure your servers for you
01:25:34<sorear>tuukkah: happs shouldn't need to know server configuration at library build time!
01:25:48<tuukkah>and it doesn't
01:25:55<sorear>18:20 < Saizan> tried with passing -DUNIX when compiling happs?
01:26:02<sorear>18:24 < tuukkah> sorear, of course there needs to be documentation, cabal can't configure your servers for you
01:26:22<tuukkah>that's a compile-time option but it's not necessary
01:26:29<tuukkah>you can also be happy with the defaults :-)
01:28:57<sorear>Why isn't DUNIX documented?
01:29:02<sorear>*whine whine*
01:30:00<tuukkah>'coz it's unreleased ?-)
01:44:17<blackdog_>why is it asking me for Xml.HaXml? I have HaXml installed, and it built before i pulled the latest patch...
01:44:53<sorear>because alexj broke it :)
01:46:10<blackdog_>*grin* ok
01:46:49<blackdog_>guess i'll work on the C side of my app for a bit :)
02:01:51<sorear>is alex@happs.org a live address?
05:08:49<blackdog_>any idea what revision i should pull to get the last version that worked?
16:55:10<shapr>hiya sorear, good work on that bug
16:55:51<sorear>I only reduced it to a 20-line failing example, that was never used.
16:56:08<shapr>You got a patch (or two) into HAppS, so it turned out nicely :-)
16:56:11<sorear>Saizan tracked down the bug independantly of my efforts, and unlike me, found the root cause.
16:57:31<shapr>It's still likely that Saizan wouldn't have found the bug as quickly if other people hadn't eliminated other possibilities.
16:57:37<shapr>Saizan++
16:57:42<shapr>@karma Saizan
16:57:46<shapr>hmm
16:57:55<shapr>Saizan++
16:57:57<shapr>@karma Saizan
16:57:57<lambdabot>Saizan has a karma of 4
16:58:01<shapr>sorear++
16:58:07<shapr>@karma sorear
16:58:07<lambdabot>sorear has a karma of 46
16:58:16<shapr>desp: Are you a bot??
16:58:26<desp>Does not compute.
16:58:40<shapr>:-P
16:58:46<shapr>hiya hkBst
16:58:47<sorear>shapr: he's on the SoC - pretty impressive for a bot imo :)
16:58:50<shapr>heh
16:58:56<hkBst>shapr: hi :)
16:59:14<shapr>How's code everybody?
17:00:34<shapr>I'm fixing a bug in the last-modified headers generated by FileServe
17:00:52<sorear>yay!
17:02:35<shapr>Ah, HAppS depends on the marshal-xml package now.
17:24:36<Saizan>ah, that's where Xml is supposed to be?
17:24:40<shapr>Yup
17:25:08<Saizan>do anyone of the "main" devs use cabal to build happs?
17:25:11<shapr>I've emailed alex asking for permission to make it public.
17:25:38<shapr>I use cabal, lemmih uses cabal. Alex uses SearchPath. I think Igloo uses both.
17:26:23<sorear>shapr: wait, happs depends on something that isn't public and won't be unless you ask for it?
17:26:38<sorear>that seems kinda ... odd
17:27:04<shapr>sorear: I'm sure that alex will say "please publish the repo" but I signed a non-disclosure agreement, so I gotta check first.
17:27:06<Saizan>alexj linked the marshal-xml repo on #haskell iirc
17:27:26<shapr>Oh, I missed that. My box crashed yesterday while I was away from it.
17:28:00<sorear>Any clue why?
17:28:27<sorear>ACTION notes that kakapo rebooted roughly 24h ago
17:28:37<shapr>Oh, not sure about kakapo.
17:28:46<shapr>Probably my flaky (but cheap) hosting provider.
17:29:11<shapr>My desktop is having increasing numbers of strange problems though... must be time for new hardware.
18:04:51<shapr>Saizan: Yup, it's publically available.
18:13:44<Saizan>shapr: ok, so HAppS.cabal needs it in build-depends and the public repo is buildable again :)
18:26:13<shapr>yup, fixing...
18:47:01<shapr>darcs get http://happs.org/HAppS/marshal-xml
18:48:23<shapr>Would be nice to get HAppS into hackage...
18:59:19<shapr>Finally, working HAppS on kakapo
18:59:30<shapr>It shouldn't be this painful.
19:00:09<shapr>I want a command like cabal-update HAppS that will update that repo and all its deps, then build them and install them in the right order.
19:00:59<Saizan>there's cabal-install build-dep file.cabal, but takes the deps from hackage
19:04:04<shapr>That's a good idea.

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