/srv/irclogs.ubuntu.com/2008/12/10/#upstart.txt

keesjhi09:01
kysucixhi15:13
kysucixhow can I generate a custom event from a script? (not with emit from command line)15:13
nottingdumb answer: have your script call initctl emit15:26
sadmac2Keybuk: around?18:55
Keybukyup18:58
sadmac2Keybuk: 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 me18:59
sadmac21 I think we could hash out fairly quickly18:59
sadmac22 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 awhile19:00
sadmac2at least on my end19:00
Keybukwhat's the panic'd rush?19:00
sadmac2eager beaver syndrome19:02
sadmac2runs in my family19:02
KeybukI'm really not expecting to start serious work on any of this until next year19:03
sadmac2I've been thinking of writing a state machine as a separate project in the meantime.19:05
sadmac2when you're ready you can pick it up, or we can scrap it and write a new one19:06
ion_I should take a good look at this state machine thing of yours.19:07
ion_I skimmed through the ruby prototype, but didn’t manage to understand it only based on the code.19:08
sadmac2the fact that its a very conceptually declarative task being implemented in a high level imperative language makes it a bit hard to follow19:09
sadmac2there's some odd hackish bits that are there to keep things sync'd19:10
ion_Is there some documentation for this state machine thing?19:11
sadmac2ion_: there's that huge mailing list posting...19:12
* sadmac2 checks to see if there's any RDoc19:12
sadmac2there's some minimal rdoc19:13
sadmac2the test cases are probably more worth looking at than the state machine itself19:13
sadmac2from a "what the hell's going on" perspective19:14
ion_Ah, i forgot about the mailing list post. I’ll take a new look at it.19:14
ion_sadmac: Btw, i found out about Cucumber recently, you might find it interesting. http://github.com/aslakhellesoy/cucumber/wikis/19:28
sadmac2ion_: interesting19:31
sadmac2ion_: 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:33
ion_sadmac: Real-life examples for the state machine would be helpful for understanding it.19:44
sadmac2ion_: my mind always goes blank when I get asked for an example19:54
sadmac2:)19:54
ion_sadmac: About cucumber, http://goruco2008.confreaks.com/01_helmkamp.html (/me is watching it right now)20:15
sadmac2ion_: I'll hit it up when I get home tonight :)20:15
sadmac2ion_: ah, so the thing doesn't really "understand" english20:19
sadmac2its a simple pattern match20:19
ion_Indeed20:19
sadmac2hmm, a logo contest20:20

Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!