[09:01] <keesj> hi
[15:13] <kysucix> hi
[15:13] <kysucix> how can I generate a custom event from a script? (not with emit from command line)
[15:26] <notting> dumb answer: have your script call initctl emit
[18:55] <sadmac2> Keybuk: around?
[18:58] <Keybuk> yup
[18:59] <sadmac2> Keybuk: So, I've been assessing things, and in order to start writing the state machine, I need 1) to know the rough protocol for talking to pid 1 (mostly the division of responsibilites. specifics can come later) 2) Libnih needs to unblock me
[18:59] <sadmac2> 1 I think we could hash out fairly quickly
[19:00] <sadmac2> 2 is kind of bugging me. I don't like that things are hung because of libnih, and I might seriously propose going without it for awhile
[19:00] <sadmac2> at least on my end
[19:00] <Keybuk> what's the panic'd rush?
[19:02] <sadmac2> eager beaver syndrome
[19:02] <sadmac2> runs in my family
[19:03] <Keybuk> I'm really not expecting to start serious work on any of this until next year
[19:05] <sadmac2> I've been thinking of writing a state machine as a separate project in the meantime.
[19:06] <sadmac2> when you're ready you can pick it up, or we can scrap it and write a new one
[19:07] <ion_> I should take a good look at this state machine thing of yours.
[19:08] <ion_> I skimmed through the ruby prototype, but didn’t manage to understand it only based on the code.
[19:09] <sadmac2> the fact that its a very conceptually declarative task being implemented in a high level imperative language makes it a bit hard to follow
[19:10] <sadmac2> there's some odd hackish bits that are there to keep things sync'd
[19:11] <ion_> Is there some documentation for this state machine thing?
[19:12] <sadmac2> ion_: there's that huge mailing list posting...
[19:12]  * sadmac2 checks to see if there's any RDoc
[19:13] <sadmac2> there's some minimal rdoc
[19:13] <sadmac2> the test cases are probably more worth looking at than the state machine itself
[19:14] <sadmac2> from a "what the hell's going on" perspective
[19:14] <ion_> Ah, i forgot about the mailing list post. I’ll take a new look at it.
[19:28] <ion_> sadmac: Btw, i found out about Cucumber recently, you might find it interesting. http://github.com/aslakhellesoy/cucumber/wikis/
[19:31] <sadmac2> ion_: interesting
[19:33] <sadmac2> ion_: I think being that high level has its dangers though. When its that close to plain english it becomes unclear where the formal subset ends.
[19:44] <ion_> sadmac: Real-life examples for the state machine would be helpful for understanding it.
[19:54] <sadmac2> ion_: my mind always goes blank when I get asked for an example
[19:54] <sadmac2> :)
[20:15] <ion_> sadmac: About cucumber, http://goruco2008.confreaks.com/01_helmkamp.html (/me is watching it right now)
[20:15] <sadmac2> ion_: I'll hit it up when I get home tonight :)
[20:19] <sadmac2> ion_: ah, so the thing doesn't really "understand" english
[20:19] <sadmac2> its a simple pattern match
[20:19] <ion_> Indeed
[20:20] <sadmac2> hmm, a logo contest