Experimental IRC log happs-2008-02-10

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.

02:03:34<vagif>Hello, does happs works with ssl in standalone mode ? or should i run it behind apache/lighthttp in this case ?
05:34:32<sclv>anyone have a version of 8.8 stable (the one with basicFileServe still in it) floating around?
05:34:53<sclv>preferably one that's been fixed to compile with 6.8 but i'll take one that hasn't too.
05:35:14<sclv>I can either get 8.4 or the debian repo which is 8.8 darcs from mid 2007
05:35:21<sclv>neither works with hpaste :-(
10:23:28<Lemmih>sclv: 6.8 you mean?
10:50:59<Lemmih>sclv: Oh, 8.8 of HAppS. No, 8.8 is not supported.
10:51:41<Lemmih>(It is actually 0.8.8, to avoid confusing in the future)
16:46:48<sclv>Lemmih: I know its not supported. If anyone had the source lying around though, I'd be much obliged.
18:32:54<mightybyte>@bot
18:32:54<psibot>:)
18:33:11<mightybyte>@src Typeable
18:33:11<psibot>Source not found. Just what do you think you're doing Dave?
18:33:16<mightybyte>@hoogle Typeable
18:33:17<psibot>Data.Typeable :: module
18:33:17<psibot>Data.Typeable.Typeable :: class Typeable a
18:33:17<psibot>Data.Typeable.Typeable1 :: class Typeable1 t
19:47:34<mightybyte>@hoogle Data
19:47:35<psibot>Data.Generics.Basics.Data :: class Typeable a => Data a
19:47:35<psibot>Data.Generics.Basics.DataType :: data DataType
19:47:35<psibot>Data.Generics.Basics.DataRep :: data DataRep
19:50:59<Lemmih>I'm here if you have questions.
22:45:34<MarcWeber>Does HAppS have a WASH like html library yet or does it even support WASH?
22:47:50<Lemmih>Nope.
23:29:59<mightybyte>Lemmih: Still there?
23:31:30<Lemmih>mightybyte: Yeah.
23:31:47<mightybyte>I'm trying to understand the happs state system.
23:31:53<mightybyte>(for the new version)
23:32:37<mightybyte>My problem is that I don't have enough experience with all the haskell libraries yet to understand everything.
23:34:03<mightybyte>So I see in AllIn that you have to make you data an instance of StartState.
23:34:17<Lemmih>Yeah.
23:34:34<Lemmih>AllIn might not be the best example. It's certainly not the smallest.
23:35:00<mightybyte>Yeah, my current goal is to develop code for a basic auth system.
23:35:23<mightybyte>To allow users to register and log in.
23:35:41<Lemmih>Right, sounds like a good way to get started.
23:36:11<mightybyte>Obviously it will eventually need to be combined with other state information to make a useful app.
23:36:36<mightybyte>Does all happs state have to have a single "top-level" data structure.
23:37:03<mightybyte>Or can you just create disparate data structures and have them instantiate StartState and be available?
23:37:15<Lemmih>You can create multiple components.
23:37:52<mightybyte>btw, once I get this all figured out, I'll write up a tutorial for it.
23:39:29<mightybyte>So, let's say I have a User datatype which holds a user's information (id, username, password, etc...)
23:40:09<mightybyte>And I also probably have something like "type Users = [User]"
23:40:26<mightybyte>(just to keep it simple)
23:40:59<mightybyte>What do I have to do other than instance StantState to get the state into happs?
23:41:37<Lemmih>StartState doesn't do anything on its own.
23:42:34<Lemmih>You call 'startSystemState' to select an entry point.
23:42:45<Lemmih>See Examples/CheckpointTest.hs
23:45:33<mightybyte>Would my User and Users data have to derive Typeable?
23:45:59<Lemmih>Only components needs to be members of Typeable.
23:48:11<mightybyte>Ok, so the state can have multiple components. It looks like you use the query function to get at them?
23:49:09<Lemmih>Yes, you interact with the components via update/query.
23:53:28<mightybyte>Are there any important classes that state data need to instance in order to work as state?
23:53:52<Lemmih>Only 'Component'.
23:54:07<mightybyte>Oh, not even StartState?
23:54:36<Lemmih>GHC will tell about that one.
23:56:10<Lemmih>Write the instance for Component and let the compiler errors guide you the rest of the way.
23:58:26<mightybyte>OkOk
23:58:34<mightybyte>Where is startSystemState defined?
23:58:44<mightybyte>grep isn't finding it for me
23:59:12<Lemmih>HAppS.State.Control
23:59:18<Lemmih>But you only need to import HAppS.State
23:59:41<mightybyte>Right. I just want to look at the code so I can try to understand it better.

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