2012-08-03 07:47:55 utc |
hallucynogenyc |
Hello again |
2012-08-03 07:48:01 utc |
jmettraux |
hello |
2012-08-03 07:48:07 utc |
hallucynogenyc |
yes, you guessed it, I come with more doubts :) |
2012-08-03 07:49:04 utc |
hartog |
hallucynogenyc: its spelled duobt in here :D |
2012-08-03 07:49:20 utc |
hallucynogenyc |
uoch :S |
2012-08-03 07:49:25 utc |
hartog |
(sorry, couldnt resist) |
2012-08-03 07:49:33 utc |
hallucynogenyc |
(neither me) |
2012-08-03 07:50:25 utc |
hallucynogenyc |
Well, so here I go |
2012-08-03 07:51:02 utc |
hallucynogenyc |
Why is it that the proceed method only takes the workitem as argument? |
2012-08-03 07:51:09 utc |
hallucynogenyc |
how can he knows where I want to go? |
2012-08-03 07:51:13 utc |
hallucynogenyc |
know* |
2012-08-03 07:51:49 utc |
hallucynogenyc |
I mean, out of a sequential flow this can't work, can it? |
2012-08-03 07:52:31 utc |
hartog |
the engine takes care of that (and it does seem to work ;)) |
2012-08-03 07:53:17 utc |
jmettraux |
https://gist.github.com/3245495 |
2012-08-03 07:54:38 utc |
jmettraux |
this flow assumes that the participant behind "alice" set a field named "decision" |
2012-08-03 07:55:02 utc |
jmettraux |
latter stages of this flow execute certain step conditionally, depending on the value of the field "decision" |
2012-08-03 07:55:11 utc |
jmettraux |
s/latter/later/ |
2012-08-03 07:56:55 utc |
hallucynogenyc |
I see, so the flow is always deterministic |
2012-08-03 07:57:32 utc |
jmettraux |
would adding an argument to proceed() make it undeterministic? |
2012-08-03 07:58:21 utc |
hallucynogenyc |
Well, yes, the engine couldn't know where the flow is going to after state X just by looking at X |
2012-08-03 07:58:36 utc |
jmettraux |
doesn't make sense |
2012-08-03 07:58:59 utc |
jmettraux |
the info you want is just placed inside of the workitem |
2012-08-03 07:59:21 utc |
jmettraux |
somehow, are you looking for a workflow engine or a state machine library? |
2012-08-03 08:00:20 utc |
hallucynogenyc |
I'm not really sure, but someone "above" me is pretty sure it's a workflow engine that I'm looking for ;) |
2012-08-03 08:24:48 utc |
jmettraux |
hallucynogenyc: one of those "webflow", it's contained inside of one participant step in vanilla ruote |
2012-08-03 08:30:51 utc |
jmettraux |
hallucynogenyc: btw, as I always say, "if nobody is responding here, questions are welcome on the mailing-list: http://groups.google.com/group/openwferu-users ) |
2012-08-03 08:31:12 utc |
hallucynogenyc |
Sure :) |
2012-08-03 08:31:22 utc |
hallucynogenyc |
I've just had good luck until now finding you here hehe |
2012-08-03 08:45:37 utc |
jmettraux |
five years of ruote immaturity in a single page: http://groups.google.com/group/openwferu-users/about |
2012-08-03 10:44:34 utc |
jmettraux |
fuck that |
2012-08-03 10:44:55 utc |
jmettraux |
I officially declare ruote as an "immature" project |
2012-08-03 10:45:01 utc |
hartog |
other time, perhaps |
2012-08-03 10:45:26 utc |
hartog |
jmettraux: are there 'mature' projects? |
2012-08-03 10:45:37 utc |
jmettraux |
lol |
2012-08-03 10:48:04 utc |
hartog |
jmettraux: what's up? why the 'self-hatred' all of a sudden? |
2012-08-03 11:05:31 utc |
jmettraux |
hallucynogenyc: sorry, I had to go |
2012-08-03 11:05:57 utc |
hallucynogenyc |
no problem |
2012-08-03 11:06:31 utc |
hallucynogenyc |
I've found another doubt on your absence |
2012-08-03 11:06:38 utc |
hallucynogenyc |
:) |
2012-08-03 11:06:44 utc |
jmettraux |
hallucynogenyc: these are not doubts |
2012-08-03 11:06:53 utc |
jmettraux |
why do you call them doubts? |
2012-08-03 11:07:22 utc |
hallucynogenyc |
maybe I'm misusing the word, let me check |
2012-08-03 11:07:28 utc |
hallucynogenyc |
English is my third language |
2012-08-03 11:07:32 utc |
hallucynogenyc |
:S |
2012-08-03 11:07:58 utc |
jmettraux |
hartog: someone's boss called ruote an "immature" project, while that boss vaguely read about "workflows" in his "CTO Magazine" while waiting for his buddy at the golf range |
2012-08-03 11:08:16 utc |
jmettraux |
hallucynogenyc: where are you based? |
2012-08-03 11:08:42 utc |
hallucynogenyc |
Spain |
2012-08-03 11:09:32 utc |
jmettraux |
ok |
2012-08-03 11:11:09 utc |
jmettraux |
hallucynogenyc: here's a flow to answer your initial question of today: https://gist.github.com/3246660 |
2012-08-03 11:11:47 utc |
hallucynogenyc |
god... |
2012-08-03 11:12:13 utc |
jmettraux |
what's wrong with that? |
2012-08-03 11:13:33 utc |
hallucynogenyc |
well, unless I'm completely missunderstanding the example |
2012-08-03 11:13:41 utc |
hallucynogenyc |
it seems like a i'ts over so gtfo t me |
2012-08-03 11:14:01 utc |
jmettraux |
? |
2012-08-03 11:14:20 utc |
hallucynogenyc |
stop :if => '${over}' |
2012-08-03 11:14:38 utc |
hallucynogenyc |
kinda sounds like sarcasm |
2012-08-03 11:15:01 utc |
jmettraux |
any participant can set the field "over" to true to if he wants the loop to terminate |
2012-08-03 11:15:41 utc |
hallucynogenyc |
excuse me, what question are you answering here? |
2012-08-03 11:16:13 utc |
hallucynogenyc |
because I didn't ask anything yet |
2012-08-03 11:16:27 utc |
hallucynogenyc |
:S |
2012-08-03 11:16:33 utc |
jmettraux |
ok, your "hey why can't I set the next step in the proceed() method?" |
2012-08-03 11:16:36 utc |
jmettraux |
question |
2012-08-03 11:16:55 utc |
hallucynogenyc |
oh, but that was like 1 hour ago? |
2012-08-03 11:17:05 utc |
hallucynogenyc |
You already answered didn't you? |
2012-08-03 11:17:32 utc |
jmettraux |
I think that this new gist is closer to what you need / you were investigating |
2012-08-03 11:17:52 utc |
jmettraux |
so what is your second language? Castillan with Catalan first? |
2012-08-03 11:18:06 utc |
hallucynogenyc |
exactly |
2012-08-03 11:18:22 utc |
jmettraux |
btw, fun presentation on Thoughtworks using ruote at Rackspace: https://jmettraux.wordpress.com/2010/08/30/rocking-the-enterprise-with-ruby/ |
2012-08-03 11:18:29 utc |
hallucynogenyc |
I see you traced the ip nicely :) |
2012-08-03 11:19:44 utc |
jmettraux |
sorry, I didn't trace the ip at all, I just made a wild guess, Catalogne is a populous place |
2012-08-03 11:20:00 utc |
hallucynogenyc |
You really knew about Catalonia? :o |
2012-08-03 11:20:07 utc |
jmettraux |
https://jmettraux.wordpress.com/2010/01/29/barley/ is also about the ${next} idea |
2012-08-03 11:20:58 utc |
hallucynogenyc |
First time I meet someone outside of Spain who knows what Catalonia or catalan is |
2012-08-03 11:21:21 utc |
jmettraux |
have you seen the movie "l'auberge espagnole" ? |
2012-08-03 11:21:53 utc |
hallucynogenyc |
no |
2012-08-03 11:22:27 utc |
hallucynogenyc |
Oh, a movie based in Barcelona |
2012-08-03 11:22:30 utc |
hallucynogenyc |
nice |
2012-08-03 11:23:23 utc |
jmettraux |
it's fun, the students come to learn "castillan" in Barcelona and lots of the teachers at the University give courses in Catalan, so at some point there is a small scene about that |
2012-08-03 11:23:52 utc |
hallucynogenyc |
well, 90% of my teachers use catalan yeah |
2012-08-03 11:23:57 utc |
jmettraux |
my mother tongue is french, so sometimes Catalan feels closer than Castillan |
2012-08-03 11:24:15 utc |
hallucynogenyc |
Castillan is very influenced by arab |
2012-08-03 11:24:28 utc |
jmettraux |
oh really, I didn't know |
2012-08-03 11:24:42 utc |
hallucynogenyc |
well, we had muslims here for 600 years |
2012-08-03 11:24:48 utc |
hallucynogenyc |
hard not to get influenced |
2012-08-03 11:25:25 utc |
hallucynogenyc |
Catalonia didn't get the invasion btw |
2012-08-03 11:26:12 utc |
hallucynogenyc |
You can read more here if you are interested :) http://en.wikipedia.org/wiki/Umayyad_conquest_of_Hispania |
2012-08-03 11:26:23 utc |
jmettraux |
thanks |
2012-08-03 11:26:26 utc |
hallucynogenyc |
ok, so back to where we were |
2012-08-03 11:26:31 utc |
hallucynogenyc |
the new doubt is |
2012-08-03 11:32:01 utc |
hallucynogenyc |
how can I ask ruote what are the possible next "steps" on a worflow, in, for instance an exclusive choice |
2012-08-03 11:33:35 utc |
jmettraux |
I tend to have flows where the "next step" decision is not shown as crudely as that |
2012-08-03 11:34:11 utc |
hallucynogenyc |
uhm, let me see |
2012-08-03 11:34:20 utc |
jmettraux |
the participant sets fields "customer", "country", "amount" and then the flow, upon receiving the answer and resuming, goes in the appropriate direction |
2012-08-03 11:34:42 utc |
hallucynogenyc |
yeah, so that the participant doesn't even notice |
2012-08-03 11:34:46 utc |
hallucynogenyc |
he has taken a direction |
2012-08-03 11:34:52 utc |
jmettraux |
in the "next" example, it's true that "hey what's next" question is asked directly |
2012-08-03 11:35:12 utc |
jmettraux |
since it's usually about users or group of users, the participant is usually linked to something like LDAP |
2012-08-03 11:35:32 utc |
jmettraux |
oh, the next people are "Mario", "Marthe" or "Bob" |
2012-08-03 11:35:45 utc |
jmettraux |
or "accounting", "logistics", "yellow team" |
2012-08-03 11:36:24 utc |
jmettraux |
a participant receives a workitem and can change it's payload |
2012-08-03 11:36:42 utc |
jmettraux |
now if it's a human participant, you usually have a form and you have to populate the form |
2012-08-03 11:36:50 utc |
hallucynogenyc |
exactly |
2012-08-03 11:36:55 utc |
jmettraux |
and it depends on the applications |
2012-08-03 11:37:20 utc |
hallucynogenyc |
so in my case, asume I have this form and that the next step is either filling this form again or ending the process |
2012-08-03 11:37:41 utc |
hallucynogenyc |
I have to put a state in the middle to make it decide |
2012-08-03 11:38:15 utc |
hallucynogenyc |
I'd like to populate this decision form automatically |
2012-08-03 11:38:31 utc |
jmettraux |
cool |
2012-08-03 11:38:55 utc |
hallucynogenyc |
what I'm looking for is a function like options(workitem) |
2012-08-03 11:39:08 utc |
hallucynogenyc |
which returns a list of all the ways the flow can go |
2012-08-03 11:39:26 utc |
hallucynogenyc |
so that I can populate the form with the results |
2012-08-03 11:40:05 utc |
jmettraux |
ok, so I the flow -> sequence; alice; bob; end |
2012-08-03 11:40:07 utc |
hallucynogenyc |
should I just "hardcode" that into the form or is it possible to retrieve this information from the engine? |
2012-08-03 11:40:15 utc |
jmettraux |
at the point "alice" what are the next possible steps? |
2012-08-03 11:40:19 utc |
hallucynogenyc |
bob |
2012-08-03 11:40:22 utc |
jmettraux |
ok |
2012-08-03 11:40:52 utc |
jmettraux |
in the flow -> sequence do; alice; concurrence do; bob; charly; end; end; |
2012-08-03 11:41:02 utc |
jmettraux |
at the point "alice", what are the next possible steps? |
2012-08-03 11:41:21 utc |
hallucynogenyc |
well, here there's just a possibility |
2012-08-03 11:41:28 utc |
hallucynogenyc |
because it's a concurrent schema |
2012-08-03 11:41:30 utc |
hallucynogenyc |
isn't it |
2012-08-03 11:41:32 utc |
hallucynogenyc |
? |
2012-08-03 11:41:48 utc |
jmettraux |
well the next step is -> concurrence do; bob; charly; end |
2012-08-03 11:41:55 utc |
hallucynogenyc |
yeah, exactly |
2012-08-03 11:42:01 utc |
hallucynogenyc |
you must do both bob and charly |
2012-08-03 11:42:10 utc |
hallucynogenyc |
there's no other possiblity |
2012-08-03 11:42:25 utc |
jmettraux |
in -> repeat do; participant :ref => '${next}'; end |
2012-08-03 11:42:29 utc |
jmettraux |
what is the next step? |
2012-08-03 11:42:54 utc |
hallucynogenyc |
whatever there is inside next |
2012-08-03 11:42:58 utc |
jmettraux |
right |
2012-08-03 11:43:11 utc |
jmettraux |
how would you populate the select box for "next"? |
2012-08-03 11:43:41 utc |
hallucynogenyc |
well, but there would only be 1 box here wouldn't it? |
2012-08-03 11:43:53 utc |
hallucynogenyc |
I don't see where you want to go |
2012-08-03 11:44:09 utc |
jmettraux |
the list of possible participant is an answer |
2012-08-03 11:44:13 utc |
jmettraux |
s |
2012-08-03 11:45:17 utc |
jmettraux |
but when you have a "catchall", that maps any participant name to a user name, the list should be limited to the list of users with access to the system |
2012-08-03 11:45:41 utc |
jmettraux |
ok |
2012-08-03 11:46:07 utc |
jmettraux |
technically, it's easy to come up with a way to scan the process tree and determine cases where you have a bifurcation next |
2012-08-03 11:46:32 utc |
jmettraux |
but usually it's more clever to craft dedicated forms for the steps |
2012-08-03 11:47:39 utc |
hallucynogenyc |
yeah it was just a bad example |
2012-08-03 11:48:15 utc |
jmettraux |
sometimes it's ok when you show the graphical representation of the process, people can "orient" themselves |
2012-08-03 11:49:01 utc |
jmettraux |
but now I remeber having case where people needed to see the next decisions clearly |
2012-08-03 11:49:08 utc |
jmettraux |
but they neede the previous decisions too |
2012-08-03 11:49:16 utc |
jmettraux |
it was more like a wizard |
2012-08-03 11:49:23 utc |
jmettraux |
for setting up a new bank account |
2012-08-03 11:49:38 utc |
jmettraux |
various countries involved, fine decisions at each step |
2012-08-03 11:49:48 utc |
jmettraux |
the adviser was working with the customer |
2012-08-03 11:50:02 utc |
jmettraux |
and they went back and forth exploring the decision tree |
2012-08-03 11:50:11 utc |
jmettraux |
but it all happened in one, multi pane, form |
2012-08-03 11:50:17 utc |
jmettraux |
not as workflow steps |
2012-08-03 11:50:37 utc |
hallucynogenyc |
I see |
2012-08-03 11:50:38 utc |
jmettraux |
it was all one big workflow step |
2012-08-03 11:51:04 utc |
jmettraux |
the next workflow step was "cancel the operation or open the account with the details decided" |
2012-08-03 11:51:35 utc |
hallucynogenyc |
so the bifurcation was either go back or continue and the ui was hardcoded |
2012-08-03 11:52:07 utc |
hallucynogenyc |
I mean, it makes sense to have it like this in your case |
2012-08-03 11:52:36 utc |
jmettraux |
the ui was composed with a small DSL, it was grabbing fill info from the workitem |
2012-08-03 11:52:54 utc |
jmettraux |
something similar to: https://jmettraux.wordpress.com/2010/09/22/quaderno/ |
2012-08-03 11:53:25 utc |
hallucynogenyc |
I see |
2012-08-03 11:53:46 utc |
jmettraux |
somehow, ruote is not Rails |
2012-08-03 11:54:00 utc |
hallucynogenyc |
:) |
2012-08-03 11:54:08 utc |
jmettraux |
convention over configuration is nice, but there are some many ways to skin a cat |
2012-08-03 11:54:29 utc |
jmettraux |
when I moved to Ruby with ruote, I really wanted to let people have fun with Ruby |
2012-08-03 11:54:53 utc |
jmettraux |
I don't want to be like those other workflows engines with lots of "connectors" or "plugins" |
2012-08-03 11:55:18 utc |
jmettraux |
developing in Ruby is so fast, if I implement everything for everybody, that won't be right |
2012-08-03 11:55:47 utc |
jmettraux |
it's a library not a product |
2012-08-03 11:56:16 utc |
hallucynogenyc |
hey and we like that |
2012-08-03 11:56:28 utc |
hallucynogenyc |
I'm just surprised you don't seem to think that knowing the next possible steps would be useful, I suspect I'm probably thinking it wrong |
2012-08-03 11:56:43 utc |
hallucynogenyc |
I'll go eat now and think about it |
2012-08-03 11:56:46 utc |
hallucynogenyc |
see you later :) |
2012-08-03 11:56:52 utc |
jmettraux |
wait |
2012-08-03 11:57:01 utc |
jmettraux |
if you come up with a good use case for that |
2012-08-03 11:57:07 utc |
jmettraux |
I'll help you develop it |
2012-08-03 11:57:51 utc |
jmettraux |
ok, bon appetit! |
2012-08-03 12:10:40 utc |
hartog |
jmettraux: I have another question regarding 'in-participant-driving' |
2012-08-03 12:10:55 utc |
jmettraux |
ok |
2012-08-03 12:11:12 utc |
hartog |
i would like to do a 'wait 1d and redo' from within a participant |
2012-08-03 12:11:43 utc |
hartog |
mainly because it look messy in the pdef (to be honest) |
2012-08-03 12:12:13 utc |
hartog |
s/look/looks/ |
2012-08-03 12:12:41 utc |
jmettraux |
ACTION looks at how to set a timeout from a participant (instead of from the process participant) |
2012-08-03 12:12:50 utc |
jmettraux |
(instead of from the process definition) |
2012-08-03 12:13:09 utc |
hartog |
(confusing isn't it, all these terms? ;->) |
2012-08-03 12:13:20 utc |
jmettraux |
:-) |
2012-08-03 12:14:35 utc |
jmettraux |
hartog: could that help? https://github.com/jmettraux/ruote/blob/master/test/functional/ft_65_timers.rb#L249-274 |
2012-08-03 12:15:24 utc |
jmettraux |
technically, with ruote 2.3.0, you can write "def rtimers; "x"; end" (no workitem argument) |
2012-08-03 12:16:34 utc |
jmettraux |
feel free to open a doc issue for it, it's missing from the documentation (around https://github.com/jmettraux/ruote/blob/master/test/functional/ft_65_timers.rb#L249-274 ) |
2012-08-03 12:16:57 utc |
hartog |
what happens with the rtimers if I reply? |
2012-08-03 12:17:02 utc |
hartog |
get ignored? |
2012-08-03 12:17:46 utc |
jmettraux |
the timers get unscheduled |
2012-08-03 12:18:08 utc |
hartog |
ok - that could help |
2012-08-03 12:19:20 utc |
hartog |
so if id do 'def rtimers; "rewind"; end' - it could just work? |
2012-08-03 12:19:47 utc |
jmettraux |
in the context of a "cursor", yes, it should |
2012-08-03 12:20:11 utc |
jmettraux |
well, more like "1d: rewind" |
2012-08-03 12:20:25 utc |
hartog |
is there a 'redo' keyword? |
2012-08-03 12:21:09 utc |
jmettraux |
yes, http://ruote.rubyforge.org/common_attributes.html#timers |
2012-08-03 12:21:56 utc |
hartog |
thats cool |
2012-08-03 12:22:43 utc |
hartog |
that is very cool |
2012-08-03 12:22:51 utc |
jmettraux |
:-) |
2012-08-03 12:22:57 utc |
hartog |
ACTION is creating very funky things now |
2012-08-03 12:27:18 utc |
jmettraux |
lucky you ;-) |
2012-08-03 12:50:23 utc |
hartog |
ehr, why does this not work? invoice_partner, :if => '${f:commission} > 0' |
2012-08-03 12:50:43 utc |
jmettraux |
the comma? |
2012-08-03 12:51:03 utc |
hartog |
(that's just copy-paste error) |
2012-08-03 12:51:16 utc |
jmettraux |
2.3.0? |
2012-08-03 12:51:24 utc |
hartog |
${f:commission} was 2.310000 in the last run |
2012-08-03 12:51:26 utc |
hartog |
yes |
2012-08-03 12:51:42 utc |
jmettraux |
let me check the tests |
2012-08-03 12:59:09 utc |
jmettraux |
hartog: this "works on my machine": https://gist.github.com/3247423 |
2012-08-03 13:01:05 utc |
hartog |
wait : ${f:something} is for workitem-Field, right? |
2012-08-03 13:01:35 utc |
jmettraux |
yes |
2012-08-03 13:02:01 utc |
hartog |
strange |
2012-08-03 13:05:34 utc |
jmettraux |
you can omit f: most of the times |
2012-08-03 13:06:01 utc |
hartog |
i like it, it signifies a difference with v: |
2012-08-03 13:14:59 utc |
hartog |
i am flabbergasted |
2012-08-03 13:16:53 utc |
hartog |
no i am not flabbegasted - i am an idiot! |
2012-08-03 13:17:56 utc |
hartog |
i had scaffolded a participant implementation with a nice TODO, but forgot to return reply up-top |
2012-08-03 13:18:09 utc |
hartog |
hence, nothing made it passed the participant |
2012-08-03 13:19:28 utc |
jmettraux |
great, solved |
2012-08-03 13:38:33 utc |
hallucynogenyc |
I'm so confused right now |
2012-08-03 13:39:08 utc |
hallucynogenyc |
Yesterday you told me that I should register the participants in the ruote-kit initialization |
2012-08-03 13:39:42 utc |
hallucynogenyc |
but to not use catchall but something like 'alice' or 'bob' |
2012-08-03 13:39:53 utc |
hallucynogenyc |
so I went ahead and replaced catchall for alice |
2012-08-03 13:40:11 utc |
hallucynogenyc |
and made the stub process I'm using |
2012-08-03 13:40:22 utc |
hallucynogenyc |
with a single participant 'alice' |
2012-08-03 13:40:33 utc |
hallucynogenyc |
somehow I forgot to restart the server |
2012-08-03 13:41:08 utc |
hallucynogenyc |
and in fact the changes I made to the server had not been applied |
2012-08-03 13:41:16 utc |
hallucynogenyc |
to the ruote-kit initializer* |
2012-08-03 13:41:30 utc |
hallucynogenyc |
but it still was working |
2012-08-03 13:42:00 utc |
hallucynogenyc |
now to my surprise I restarted the server and it was crashing on start because alice is not a function |
2012-08-03 13:42:06 utc |
hallucynogenyc |
and apparently catchall is |
2012-08-03 13:43:04 utc |
hallucynogenyc |
I thought catchall was just a random name for the participant |
2012-08-03 13:43:22 utc |
hallucynogenyc |
what a mess |
2012-08-03 13:43:26 utc |
hallucynogenyc |
can someone explain? |
2012-08-03 13:48:31 utc |
jmettraux |
"catchall" is some kind of an alias for the /.+/ regular expression |
2012-08-03 13:49:46 utc |
jmettraux |
it's usually used in contexts where any participant name must be mapped |
2012-08-03 13:49:55 utc |
jmettraux |
by default, ruote-kit accepts any participant name |
2012-08-03 13:50:14 utc |
jmettraux |
and pass them to a Ruote::StorageParticipant (some kind of inbox) |
2012-08-03 13:59:17 utc |
jmettraux |
I don't understand why you say "alice is not a function" |
2012-08-03 14:02:01 utc |
hallucynogenyc |
well |
2012-08-03 14:02:19 utc |
hallucynogenyc |
it's just that the server crashes |
2012-08-03 14:02:25 utc |
hallucynogenyc |
if instead of catchall I write alice |
2012-08-03 14:02:44 utc |
hallucynogenyc |
digging into the source code I saw that catchall was a function |
2012-08-03 14:03:10 utc |
hallucynogenyc |
and so I asumed that if he is expecting functions in there that's why it crashes if I write alice |
2012-08-03 14:03:48 utc |
hallucynogenyc |
oh fml |
2012-08-03 14:03:50 utc |
jmettraux |
if you need help on that, please gist the error and its trace |
2012-08-03 14:03:59 utc |
hallucynogenyc |
I'm idiot |
2012-08-03 14:04:03 utc |
hallucynogenyc |
:S |
2012-08-03 14:05:01 utc |
hallucynogenyc |
I was writting alice literally |
2012-08-03 14:05:05 utc |
hallucynogenyc |
not between ' |
2012-08-03 14:05:27 utc |
hallucynogenyc |
I mean, I know how strings are declared in ruby, but saw catchall written like that |
2012-08-03 14:05:39 utc |
hallucynogenyc |
thought there was some weird DSL involved |
2012-08-03 14:05:42 utc |
hallucynogenyc |
-.- |
2012-08-03 14:05:48 utc |
jmettraux |
ok, solved, well done |
2012-08-03 14:12:15 utc |
hallucynogenyc |
uhm, I read on the documentation |
2012-08-03 14:12:27 utc |
hallucynogenyc |
NOTE : since ruote 2.3.0 register(&block) will clear the participant list by default |
2012-08-03 14:12:39 utc |
hallucynogenyc |
however, it's not doing it here |
2012-08-03 14:12:52 utc |
hallucynogenyc |
I have a single line on the register block |
2012-08-03 14:12:59 utc |
hallucynogenyc |
bob Ruote::StorageParticipant |
2012-08-03 14:13:09 utc |
hallucynogenyc |
however in ruote-kit participant list |
2012-08-03 14:13:20 utc |
hallucynogenyc |
I still have everything I ever registered |
2012-08-03 14:14:46 utc |
jmettraux |
did you restart? |
2012-08-03 14:14:48 utc |
hartog |
ACTION goes home |
2012-08-03 14:14:54 utc |
hartog |
have a good weekend! |
2012-08-03 14:15:02 utc |
jmettraux |
hartog: you too! |
2012-08-03 14:15:35 utc |
hallucynogenyc |
yeah I restart de server |
2012-08-03 14:16:16 utc |
jmettraux |
what exactly does your register block look like? (gist) |
2012-08-03 14:17:01 utc |
hallucynogenyc |
https://gist.github.com/3247976 |
2012-08-03 14:17:56 utc |
jmettraux |
what browser are you using? |
2012-08-03 14:17:59 utc |
hallucynogenyc |
chrome |
2012-08-03 14:18:12 utc |
jmettraux |
let me test on my side |
2012-08-03 14:20:07 utc |
jmettraux |
tested with vanilla ruote-kit |
2012-08-03 14:20:11 utc |
jmettraux |
works as expected |
2012-08-03 14:20:21 utc |
jmettraux |
are you using the default (fs) storage? |
2012-08-03 14:20:27 utc |
jmettraux |
anything particulare I should know? |
2012-08-03 14:22:16 utc |
jmettraux |
s/particulare/particular/ |
2012-08-03 14:23:44 utc |
hallucynogenyc |
uhm, I'd say no but considering I'm a total newb |
2012-08-03 14:23:54 utc |
hallucynogenyc |
I might be missing things aswell |
2012-08-03 14:24:26 utc |
hallucynogenyc |
RUOTE_STORAGE = Ruote::FsStorage.new("ruote_work_#{Rails.env}") RuoteKit.engine = Ruote::Engine.new(Ruote::Worker.new(RUOTE_STORAGE)) |
2012-08-03 14:24:44 utc |
jmettraux |
looks good |
2012-08-03 14:25:04 utc |
hallucynogenyc |
well, it's not like this is any critical thing |
2012-08-03 14:25:13 utc |
hallucynogenyc |
I guess I'll just ignore it |
2012-08-03 14:25:50 utc |
jmettraux |
and if you hit "shift refresh" in your browser when looking at the participant list ? |
2012-08-03 14:26:21 utc |
hallucynogenyc |
I think clear cache and refresh is ctrl f5 on chrome, but whatever |
2012-08-03 14:26:28 utc |
hallucynogenyc |
that can't be it because I do see the things I add |
2012-08-03 14:26:54 utc |
hallucynogenyc |
I mean, if now I change bob for charly I'll get the catchall there was at the begining, alice bob and charly |
2012-08-03 14:27:28 utc |
jmettraux |
what does your Gemfile look like? |
2012-08-03 14:28:12 utc |
hallucynogenyc |
https://gist.github.com/3248057 |
2012-08-03 14:28:41 utc |
jmettraux |
you're using ruote 2.2.0 |
2012-08-03 14:29:30 utc |
jmettraux |
https://github.com/kennethkalmer/ruote-kit/#using-the-rubygem--bundler |
2012-08-03 14:30:23 utc |
hallucynogenyc_ |
connection down :S |
2012-08-03 14:30:30 utc |
hallucynogenyc_ |
if you said something I didnt read |
2012-08-03 14:30:39 utc |
jmettraux |
hallucynogenyc_: what was the last line you saw? |
2012-08-03 14:30:44 utc |
hallucynogenyc_ |
the one I wrote |
2012-08-03 14:30:52 utc |
hallucynogenyc_ |
with the gemfile gist |
2012-08-03 14:30:56 utc |
jmettraux |
23:21 jmettraux: you're using ruote 2.2.0 |
2012-08-03 14:30:57 utc |
jmettraux |
23:22 jmettraux: https://github.com/kennethkalmer/ruote-kit/#using-the-rubygem--bundler |
2012-08-03 14:31:42 utc |
hallucynogenyc_ |
oh my, my own ticket being used against me |
2012-08-03 14:33:15 utc |
jmettraux |
I have to go to bed now |
2012-08-03 14:33:19 utc |
hallucynogenyc_ |
I recall mentioning somewhere in the ticket that I was getting a git error if I tried to use the master version |
2012-08-03 14:33:27 utc |
hallucynogenyc_ |
oh, sure |
2012-08-03 14:33:36 utc |
hallucynogenyc_ |
you got any idea on why do I get this? |
2012-08-03 14:33:46 utc |
jmettraux |
let me check your ticket, I don't remember this |
2012-08-03 14:33:55 utc |
hallucynogenyc_ |
Git error: command `git fetch --force --quiet --tags 'git://github.com/jmettraux/ruote.git' "refs/heads/*:refs/heads/*"` in directory /home/albert/.rvm/gems/ruby-1.9.3-p194@ruote/cache/bundler/git/ruote-328ff7d4702b753a6aac9fdd65ec2408c8be5455 has failed. If this error persists you could try removing the cache directory '/home/albert/.rvm/gems/ruby-1.9.3-p194@ruote/cache/bundler/git/ruote-328ff7d4702b753a6aac9fdd65ec2408c8be |
2012-08-03 14:34:16 utc |
jmettraux |
never saw that |
2012-08-03 14:34:23 utc |
jmettraux |
but the solution is described in it |
2012-08-03 14:34:27 utc |
hallucynogenyc_ |
nono |
2012-08-03 14:34:29 utc |
hallucynogenyc_ |
it doesnt work |
2012-08-03 14:34:33 utc |
hallucynogenyc_ |
if I delte the folder same problem |
2012-08-03 14:34:44 utc |
jmettraux |
and you didn't report that issue at all |
2012-08-03 14:34:52 utc |
hallucynogenyc_ |
in the comment, didn't I? |
2012-08-03 14:35:12 utc |
jmettraux |
https://github.com/kennethkalmer/ruote-kit/issues/20 |
2012-08-03 14:35:34 utc |
jmettraux |
https://github.com/kennethkalmer/ruote-kit/issues/21 |
2012-08-03 14:35:51 utc |
jmettraux |
so no |
2012-08-03 14:36:10 utc |
hallucynogenyc_ |
oh, I remember now, I removed the project entirely because I figured that it just could relate the gem version with the git version |
2012-08-03 14:36:17 utc |
hallucynogenyc_ |
but on a fresh project |
2012-08-03 14:36:27 utc |
hallucynogenyc_ |
it game me the other error, the one I really posted abut |
2012-08-03 14:36:45 utc |
hallucynogenyc_ |
2nd comment on issue 21 |
2012-08-03 14:37:06 utc |
hallucynogenyc_ |
so I drpped it and went on with the gem last version |
2012-08-03 14:37:14 utc |
jmettraux |
we fixed it all |
2012-08-03 14:37:42 utc |
hallucynogenyc_ |
ok, is it worth deleting the project and remaking it again just for the 2.3 udate? |
2012-08-03 14:38:03 utc |
jmettraux |
theoretically, it's not necessary |
2012-08-03 14:38:20 utc |
hallucynogenyc_ |
I'll stick wth 2.2 then :) |
2012-08-03 14:38:27 utc |
jmettraux |
that's a bad idea |
2012-08-03 14:38:30 utc |
hallucynogenyc_ |
(for this test app at least) |
2012-08-03 14:38:40 utc |
jmettraux |
please upgrade to 2.3.0 |
2012-08-03 14:38:50 utc |
hallucynogenyc_ |
well ok |
2012-08-03 14:38:52 utc |
jmettraux |
it's a pain to support 2.2.0 |
2012-08-03 14:38:54 utc |
jmettraux |
thanks |
2012-08-03 14:39:21 utc |
hallucynogenyc_ |
oh what the |
2012-08-03 14:39:22 utc |
hallucynogenyc_ |
Successfully uninstalled ruote-2.1.11 |
2012-08-03 14:39:28 utc |
hallucynogenyc_ |
2.1? |
2012-08-03 14:39:29 utc |
hallucynogenyc_ |
lol |
2012-08-03 14:40:31 utc |
jmettraux |
show me your Gemfile |
2012-08-03 14:40:43 utc |
hallucynogenyc_ |
I already posted it |
2012-08-03 14:41:05 utc |
jmettraux |
come on |
2012-08-03 14:41:05 utc |
hallucynogenyc_ |
I was just not specifying any version |
2012-08-03 14:41:16 utc |
jmettraux |
please follow the readme |
2012-08-03 14:41:22 utc |
jmettraux |
I fixed it for you |
2012-08-03 14:41:40 utc |
hallucynogenyc_ |
yeah yeah I used the github version now |
2012-08-03 14:41:44 utc |
hallucynogenyc_ |
all is fine |
2012-08-03 14:41:54 utc |
hallucynogenyc_ |
just that I was surprisd that it was using 2.1 before |
2012-08-03 14:42:04 utc |
jmettraux |
did a blank install successfully right now: https://gist.github.com/3248175 |
2012-08-03 14:42:18 utc |
jmettraux |
ok, I need to go now |
2012-08-03 14:42:35 utc |
hallucynogenyc_ |
many thanks again for your time |
2012-08-03 14:42:46 utc |
jmettraux |
here is a good guide for posting issues: http://www.chiark.greenend.org.uk/~sgtatham/bugs.html |
2012-08-03 14:43:03 utc |
hallucynogenyc_ |
don't have nightmares with me, I know I've been pretty annoying today ;) |
2012-08-03 14:43:05 utc |
hallucynogenyc_ |
good night |
2012-08-03 14:43:18 utc |
jmettraux |
feel free to use the issue tracker and the mailing list |
2012-08-03 14:43:41 utc |
jmettraux |
yeah, I have to wake up early tomorrow, to catch with the lost time |
2012-08-03 14:43:51 utc |
hallucynogenyc_ |
oh :S |
2012-08-03 14:44:28 utc |
hallucynogenyc_ |
well, I think I'm good to go for a while now, I hope I won't have to annoy you anymore tomorrow :) |
2012-08-03 14:44:41 utc |
jmettraux |
great, ciao! |
2012-08-03 21:13:18 utc |
hartog |
bedtime |