Experimental IRC log happs-2007-12-04

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.

14:53:12<shapr>y0 bakert
14:53:22<bakert>hello shapr
14:53:27<bakert>the time of crisis is upon us
14:53:32<bakert>do i write it in haskell, or ruby?
14:53:33<shapr>I wrote three of those tutorials, haven't done the last one.
14:53:46<bakert>oh cool!
14:53:52<bakert>are they up somewhere?
14:54:00<shapr>Just putting them up now.
14:54:14<bakert>wicked
15:00:39<shapr>bakert: http://code.google.com/p/happs/wiki/TheBasics
15:00:41<shapr>What do you think?
15:01:01<bakert>loving it!
15:01:04<bakert>\o/
15:02:07<shapr>Understanding it? :-)
15:02:21<bakert>let's not go crazy :)
15:02:24<bakert>what's $(systemState ''NoState)
15:02:24<bakert>?
15:02:48<bakert>i mean, i know what it is
15:02:56<bakert>but that could do with some elucidation perhaps
15:03:04<bakert>but this is very very good!
15:03:14<bakert>i can build my understanding from here!
15:03:34<shapr>Yay!
15:04:03<bakert>thanks shapr !!!
15:05:42<shapr>I'll add the state stuff tutorial sample next.
15:05:47<shapr>Got any other specific tutorials you want?
15:20:07<earthy>ACTION also thanks shapr
15:20:12<earthy>that's good stuff that
15:20:26<shapr>yay
15:20:35<shapr>Got any specific tutorial questions I can answer/writeup?
15:20:39<earthy>some comments would make it perfect
15:21:12<shapr>Someting describing each step of these programs?
15:21:18<earthy>ACTION nods
15:21:29<shapr>Ok, I'll hack on it.
15:21:41<earthy>explaining why XHtml.method is in there e.g., or the FromData classe
15:21:45<shapr>You want inline code comments or a free text describing what's going on?
15:21:52<shapr>Ah, yeah
15:21:54<earthy>literate haskell would be perfect. :)
15:21:58<shapr>ah
15:22:06<earthy>I mean, the code makes it possible to guess now
15:22:08<shapr>Yeah, I'll do that.
15:22:14<earthy>but it's still guessing
15:22:30<earthy>ACTION is reading your other stuff
15:23:49<earthy>the other 3 pages are somewhat... sketchy. :)
15:32:48<shapr>Yeah, they're minimal for sure.
15:47:53<fxr>y00
15:50:22<shapr>Ugh, that wiki does *not* like lhs
15:50:28<fxr>what method are you using for looking at function definitions in haskell-mode? I cannot find any tips. I'm looking for slime-edit-definition like functionality.
15:51:40<shapr>I tend to use M-. after I've used hasktags **/*hs
15:54:27<shapr>fxr: Have you used hasktags?
15:55:55<fxr>shapr: nope, I just tried it thank you.
15:56:44<fxr>shapr: does it recursively visit sub directories?
15:56:56<shapr>Not by default.
15:56:59<shapr>But I use zsh
15:57:20<shapr>so **/*hs means "All files ending in hs in this dir and all subdirs"
15:58:31<fxr>cool
16:00:33<shapr>You could probably use find instead.
16:00:56<shapr>Actually I use "hasktags **/*.hs~_darcs*"
16:01:13<shapr>Because I don't want to find files in the darcs pristine dirs, that screws up my repos.
16:05:50<shapr>hiya markluffel
16:05:55<shapr>How's code?
16:06:18<markluffel>shapr: hi, haven't made a happs app yet
16:06:53<shapr>I just wrote up some basic stuff you may want to see: http://code.google.com/p/happs/wiki/TheBasics
16:07:00<markluffel>shapr: maybe i should download the happs-begin and try again
16:07:05<shapr>Yeah, see what you think.
16:07:14<markluffel>shapr: oh, cool, documentation!!
16:07:22<shapr>yay!
16:07:23<shapr>ACTION cheers
16:07:51<fxr>shapr: reading AllIn example here and you provide me a tutorial w0w :)
16:10:26<shapr>Yay!
16:10:32<shapr>Got any other specific questions?
16:10:51<fxr>sure
16:10:55<shapr>Yeah?
16:12:27<fxr>http://hpaste.org/4259 here it si
16:13:05<fxr>it is your hello example
16:13:21<fxr>happs-* is the latest darcs version
16:13:33<shapr>weird
16:13:34<fxr>I'm using 64 bit debian sid
16:13:43<shapr>Me too
16:14:04<shapr>Maybe you need to clean and rebuild the repos? That happens to me sometimes.
16:14:06<fxr>oh so have you seen that the 64 bit happs are very poor performance?
16:14:37<shapr>No?
16:14:39<shapr>What happens?
16:15:26<fxr>did you made a network test with siege or httperf? I'm getting 2500 transactions per second with a 32 bit linux, but I'm getting 50 or 60 with 64 bit debian.
16:16:24<shapr>Wow
16:16:44<shapr>What are you testing against?
16:16:49<shapr>Any particular app?
16:16:53<fxr>standard hello world
16:17:00<shapr>weird
16:17:06<Lemmih>We have a standard hello world?
16:17:15<fxr>Lemmih: :)
16:17:39<Lemmih>Was this 0.8.8?
16:18:15<fxr>nope it is 0.9.1. I'll make another test with shapr's hello world in a few minutes
16:18:32<shapr>What command are you using? I'd like to make tests against my own system.
16:19:31<fxr>shapr: wait it compiled after a clean. I'll paste the commands that I'm trying and results also.
16:19:45<shapr>Ok, thanks
16:21:15<fxr>compiled with "ghc --make -threaded -o hello hello.hs"
16:21:47<fxr>I just started it with "./hello +RTS -N4"
16:23:22<Lemmih>You have four cores?
16:23:43<fxr>http://hpaste.org/4260
16:24:25<fxr>yup just buy it :) actually we're using it with my friend. (double GFX, double mouse, keyb etc.. god bless X)
16:24:34<fxr>here are the results
16:25:27<Lemmih>That's weird.
16:26:24<fxr>oh it'is the same since I tried that test with 0.8.8 also a few months ago.
16:28:09<shapr>fxr: Cool setup
16:28:15<Lemmih>A few of the HAppS developers are using 64 bit machines. If it's broken, it probably be fixed eventually.
16:28:39<fxr>shapr: have you tried the test on your machine?
16:32:34<shapr>fxr: Your concurrency is a lot higher.
16:32:52<shapr>You have 54.01 concurrency, I have only 2.56
16:33:11<shapr>fxr: http://hpaste.org/4260#a1
16:34:19<Lemmih>shapr: Did you compile HAppS with -O2?
16:34:32<shapr>I don't know.
16:34:40<shapr>I use whatever is in the cabal files.
16:34:45<Lemmih>-O2 isn't on by default.
16:34:47<fxr>we got 70 for 8 natively threaded lisp server
16:34:55<shapr>I'll add -O2
16:35:00<fxr>me too
16:35:12<Lemmih>Testing with lighttpd would also be interesting.
16:36:38<shapr>Rebuilding...
16:37:26<fxr>shapr: did you only add -O2 to HAppS-Server?
16:42:03<shapr>I added it to everything.
16:42:50<fxr>oh, lazy I am
16:43:06<fxr>there should be a global ghc settings file...
16:43:17<shapr>I wonder if it's faster without -N2
16:44:48<shapr>http://hpaste.org/4260#a3
16:44:57<shapr>It's slightly faster with -N2
16:45:32<Lemmih>-O2 had no effect?
16:46:27<shapr>There was a small improvement in trans/sec, from 199.81 to 203.37
16:46:37<Lemmih>noise.
16:46:43<shapr>Yeah, effectively nothing.
16:47:04<fxr>I think it's time to profile happs
16:47:28<shapr>I think documentation is more important.
16:47:37<fxr>shapr: sure
16:47:45<shapr>After HAppS is stable, then we can tune it.
16:48:09<fxr>I think you're right
16:49:29<shapr>Right now, we want more people to learn HAppS.
16:50:58<Lemmih>We break the APIs and feed on their anguish! Muhahaha.
16:53:20<Lemmih>I'd wait for a stable release if I wasn't involved in the HAppS development.
16:54:25<fxr>Lemmih: you're right, I'm trying to be constructive
18:10:08<shapr>fxr: I do appreciate that!
18:10:19<shapr>fxr: It's good that someone is looking at HAppS speed.
18:11:40<shapr>@seen alexj
18:11:56<shapr>Aha, he's here!
18:12:40<fxr>shapr: I just got the profiling results
18:12:54<fxr>for 100 request to hello.hs
18:14:11<shapr>What does it look like?
18:14:50<shapr>earthy: .lhs doesn't work for the wiki, might be good for included examples though.
18:16:19<fxr>shapr: I tried to do hpaste but a 5k limit :(
18:16:38<shapr>Can you create a postscript graph?
18:18:32<fxr>sure
18:18:59<shapr>hiya alfons
18:19:04<alfons>hi
18:22:42<fxr>shapr: what is your email?
18:23:55<shapr>shae@scannedinavian.com
18:26:00<fxr>shapr: spam in your box in a few minutes :)
18:26:10<shapr>heh, thanks!
18:31:01<shapr>Let me guess, you're not "Mrs Maria Elena Fernandez" ?
18:31:35<fxr>oh sure, it's a bad name for a lazy programmer
18:32:04<shapr>"I am the above named person from Philippine. I am married to Mr. Rodolfo FERNANDEZ who worked with Philippine embassy in Kuwait for nine years before we left to Philippine where he was re-appointed as a navy officer before his untimely death in the year 2005."
18:32:06<shapr>I bet that's not you.
18:32:45<shapr>fxr: You correctly predicted that I would have spam in my inbox!
18:35:25<fxr>:)
18:49:43<LPhas>hi guys. i can't figure out how xml conversion in 0.9.1 works! 8|
18:49:57<shapr>What are you trying to do?
18:50:23<LPhas>shapr: serialize a simple datastruct in Xml
18:50:32<shapr>Are you using the latest code in the repos?
18:50:37<LPhas>shapr: yes
18:50:44<LPhas>and reading HAppS-Begin
18:50:57<shapr>Have you looked at AllIn.hs ?
18:51:44<LPhas>shapr: where? O_o
18:52:04<shapr>Um, HAppS-Server/Examples/AllIn.hs
18:52:19<LPhas>shapr: oh
19:02:26<LPhas>shapr: really, i can't figure out how works
19:02:45<shapr>What do you mean by serialize?
19:03:32<LPhas>i have data Foo = F FooType
19:03:45<LPhas>i want a xml stylesheet that reppresent it
19:04:05<LPhas>well.. what in HAppS 0.8 you did (easily) with toElement
19:05:14<shapr>If you just spit the state out with ok, you'll get xml.
19:05:50<LPhas>shapr: how is this xml defined
19:06:19<shapr>I know it uses syb-with-class
19:06:30<shapr>But I don't know much past that.
19:06:47<shapr>I usually just spit out the state, look at the tags, and then use xslt to do markup on the result.
19:07:01<shapr>Lemmih or Igloo are the people to ask about exactly how the xml is serialized.
19:07:41<LPhas>shapr: but i have to derive some istances?
19:07:48<LPhas>maybe using template haskell?
19:07:59<shapr>Yeah, likely.
19:08:09<shapr>You probably have to derive a Default instance.
19:08:16<Saizan>LPhas: no, generics do it all for you
19:08:31<Saizan>you've to derive the new Data with deriveAll
19:11:58<shapr>Yay, someone with a clue!
19:12:02<Saizan>so yes, some but not any directly related to Xml
19:32:40<alexj>LPhas if you dont' want the default xml output you can make your own instance.
20:13:36<shapr>fxr: I got it!
20:14:43<shapr>Huh, what's ARR_WORDS ?
20:35:43<markluffel>alexj: "cannot parse LANGUAGE pragma" means that i need GHC 6.8?
20:36:26<Saizan>markluffel: yes
20:36:26<markluffel>alexj: it's coming from Data/Generics/SYB, which looks 6.6 compatible: http://hackage.haskell.org/packages/archive/syb-with-class/0.3/syb-with-class.cabal
20:37:03<markluffel>oops, i should have "Saizan:"-ed that
20:37:57<markluffel>is SearchPath clever enough to get packages for 6.6 vs 6.8?
20:38:59<Saizan>SearchPath uses what it finds in the map
20:40:30<Saizan>but the hackage package of syb-with-class lacks some instances that you'll need for HAppS
20:43:28<markluffel>Saizan: the haskell_cache is a local directory? where at?
20:44:16<Saizan>it's .haskell_cache in your current working directory
20:44:32<markluffel>Saizan: thankas
22:30:35<fxr>shapr: dunno, I cannot evaluate the ps output with myself yet
22:45:22<markluffel>does AllIn.hs start a server on some port? i'm confused: "InitializIIinn(nii1gtt0 ii,caa"olHlmieipzlzoilinnoneg gn w tcos oriomlnpfdgo "lnt)ee"
22:47:01<markluffel>am i unvoiced?
22:47:38<Saizan>markluffel: yes it should, on port 8000 maybe?
22:47:56<markluffel>Saizan: yes, 8000 thanks
22:48:22<Saizan>btw, what was that randomized string after "i'm confused:"?
22:48:26<markluffel>had tried 80, 8080, 8888, 1010
22:48:37<markluffel>output on the command line, from booting
22:48:47<markluffel>looked like scrambled threads

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