ruote log_2010-02-04

2010-02-04 06:28:19 utc anb_ Anyone's around ?
2010-02-04 06:28:27 utc jmettraux Hi Anthoine, yes
2010-02-04 06:28:56 utc jmettraux I added a few things at http://groups.google.com/group/openwferu-users/t/f17d3a127853f173
2010-02-04 06:29:13 utc anb_ Hi John
2010-02-04 06:31:33 utc anb_ all right, nice
2010-02-04 06:32:18 utc jmettraux yeah, sometimes people want to query processes, when in fact, they can simply query workitems
2010-02-04 06:32:20 utc anb_ that's more answers than after two years of asking around in the JBPM community
2010-02-04 06:32:56 utc jmettraux I have to say I don't really like them (jboss)
2010-02-04 06:33:40 utc anb_ yeah
2010-02-04 06:34:11 utc anb_ regarding these queries
2010-02-04 06:34:35 utc anb_ I feel that I would have more power to query processes and workitems if we use couchdb
2010-02-04 06:34:52 utc jmettraux as you wish
2010-02-04 06:35:19 utc anb_ I'll have to try a little
2010-02-04 06:35:47 utc jmettraux that'll mean you'll become stuck with couch
2010-02-04 06:36:07 utc jmettraux if you stay with the engine / participant methods, you can use any storage
2010-02-04 06:37:23 utc anb_ it's probably safer
2010-02-04 06:37:40 utc anb_ especially in case something changes after an update
2010-02-04 06:38:12 utc jmettraux for workitems browsing, going directly to couch is OK
2010-02-04 06:38:32 utc jmettraux suggestions / ideas / requests are welcome
2010-02-04 06:38:39 utc jmettraux critics
2010-02-04 06:38:50 utc anb_ sure
2010-02-04 06:39:31 utc anb_ I thought about a couchapp that would do what ruote-fluo does
2010-02-04 06:39:39 utc jmettraux sweet
2010-02-04 06:42:21 utc jmettraux are you guys using couch a lot ?
2010-02-04 06:43:38 utc anb_ not in production, but since we use a lot of JSON and REST, we got interested in couch
2010-02-04 06:44:03 utc anb_ and you ?
2010-02-04 06:44:33 utc jmettraux I'm working on an app doing couch and ruote-couch that should go into production soon
2010-02-04 06:44:54 utc jmettraux no battle experience yet
2010-02-04 06:46:10 utc anb_ it takes some getting used to
2010-02-04 06:46:16 utc jmettraux +1
2010-02-04 06:47:29 utc anb_ what does fei stands for in workitem ?
2010-02-04 06:47:44 utc jmettraux FlowExpressionId
2010-02-04 06:48:03 utc jmettraux it's a "unique id" for expressions (pieces of process instances)
2010-02-04 06:48:16 utc jmettraux a workitem inherits the fei of the expressions that "emitted" it
2010-02-04 06:48:23 utc jmettraux (participant expression usually)
2010-02-04 06:48:43 utc jmettraux so it identifies the workitem and its expression within the process instance
2010-02-04 06:49:01 utc jmettraux it's a tuple (engine_id, wfid, sub_wfid, expid)
2010-02-04 06:49:08 utc jmettraux where wfid means workflow_instance_id
2010-02-04 06:49:35 utc anb_ ok, makes sense
2010-02-04 06:49:42 utc anb_ thsx
2010-02-04 06:49:49 utc jmettraux you're welcome
2010-02-04 07:06:28 utc kennethkalmer coffee ?
2010-02-04 07:06:34 utc jmettraux please !
2010-02-04 07:06:43 utc kennethkalmer ACTION emits coffee
2010-02-04 07:07:08 utc jmettraux ACTION consumes coffee
2010-02-04 07:08:11 utc tosch_le hi
2010-02-04 07:08:20 utc tosch_le no coffee, thanks ;-)
2010-02-04 07:08:23 utc jmettraux hi Torsten !
2010-02-04 07:12:22 utc kennethkalmer hi tosch_le
2010-02-04 07:16:00 utc anb_ Hello
2010-02-04 07:16:24 utc jmettraux kennethkalmer: meet Anthoine
2010-02-04 07:16:37 utc kennethkalmer hi Anthoine
2010-02-04 07:17:00 utc tosch_le hi Anthoine!
2010-02-04 07:20:38 utc anb_ all the ruote devs online :)
2010-02-04 07:21:21 utc jmettraux you included
2010-02-04 07:23:28 utc jmettraux tosch_le : many thanks for helping Anthoine yesterday
2010-02-04 07:24:10 utc anb_ yes, thanks again Torsten
2010-02-04 07:24:23 utc tosch_le never mind, i'll always try my best to help
2010-02-04 07:29:29 utc tosch_le anthoine: i'm curious, did you get any steps further weaving ruote into your django app?
2010-02-04 07:36:00 utc anb_ I'm working on a prototype
2010-02-04 07:36:07 utc anb_ not very far yet
2010-02-04 07:36:29 utc anb_ but basically django will interact through ruote-kit
2010-02-04 07:37:17 utc tosch_le :-) looking forward to read your experiences
2010-02-04 07:37:24 utc kennethkalmer me too !
2010-02-04 07:37:29 utc jmettraux +1
2010-02-04 07:45:04 utc kennethkalmer rvm to the rescue, again :)
2010-02-04 07:45:12 utc kennethkalmer patching chef, only works on 1.8.x
2010-02-04 07:46:24 utc tosch_le i'll have to look into rvm one of these days...
2010-02-04 07:47:11 utc kennethkalmer worth it, think wayneeseguin did an awesome job to get it over the worst issues
2010-02-04 08:05:33 utc jmettraux tosch_le : http://ruote.rubyforge.org/irclogs/ ?
2010-02-04 08:07:34 utc tosch_le ah, great!
2010-02-04 08:13:34 utc tosch_le ACTION reviews the logs and shudders about his mistakes when writing english sentences...
2010-02-04 08:21:13 utc jmettraux I'll censor the files
2010-02-04 08:22:54 utc tosch_le :-D
2010-02-04 09:51:56 utc anb_ any experience using rabbitmq with ruote-kit ? shouldn't be a problem right ?
2010-02-04 09:53:05 utc jmettraux that's what kennethkalmer is doing every day
2010-02-04 09:53:23 utc kennethkalmer :)
2010-02-04 09:53:27 utc kennethkalmer works just fine
2010-02-04 09:53:29 utc anb_ nice
2010-02-04 09:53:40 utc kennethkalmer use ruote-amqp (http://github.com/kennethkalmer/ruote-amqp)
2010-02-04 09:53:48 utc anb_ because we're using celery already
2010-02-04 09:53:53 utc anb_ it would fit in nicely
2010-02-04 09:55:15 utc anb_ are you using it for human driven participants too ?
2010-02-04 09:57:29 utc kennethkalmer nope, using the catchall's for that
2010-02-04 09:57:36 utc kennethkalmer then querying /_ruote/workitems
2010-02-04 09:58:00 utc anb_ I think I'll do exactly the same :)
2010-02-04 10:42:01 utc anb_ John, little question
2010-02-04 10:43:05 utc anb_ what if I want to "move" execution somewhere in a process, could I just delete a workitem and create another one ? for debugging purposes ?
2010-02-04 10:43:38 utc jmettraux well
2010-02-04 10:43:48 utc anb_ that's evil :) ?
2010-02-04 10:43:59 utc jmettraux I don't understand the question
2010-02-04 10:44:20 utc anb_ ok, let me rephrase it
2010-02-04 10:44:24 utc jmettraux please
2010-02-04 10:44:50 utc anb_ first, maybe i'm confused about workitem
2010-02-04 10:45:05 utc anb_ can't we say that a workitem is like an execution token ?
2010-02-04 10:45:15 utc jmettraux jbpm style, yes
2010-02-04 10:45:24 utc anb_ ok
2010-02-04 10:45:38 utc anb_ then if I have a process with a sequence A B C
2010-02-04 10:45:47 utc anb_ workitem is in B
2010-02-04 10:45:58 utc anb_ but i'd like to be in A
2010-02-04 10:46:12 utc anb_ because something went wrong
2010-02-04 10:46:36 utc anb_ a kind of rewind
2010-02-04 10:46:59 utc jmettraux you know about cursor ? http://ruote.rubyforge.org/exp/cursor.html
2010-02-04 10:47:48 utc anb_ a little, yes
2010-02-04 10:48:22 utc jmettraux you want to do that, but with a sequence, and as an "admin operation" ?
2010-02-04 10:48:37 utc anb_ that's the idea, yes
2010-02-04 10:48:53 utc anb_ if the workflow is well designed , I don't need that, I can handle it with cursor
2010-02-04 10:49:05 utc jmettraux ok
2010-02-04 10:49:05 utc anb_ but as an emergency "admin" action , yes
2010-02-04 10:49:09 utc jmettraux understood
2010-02-04 10:49:14 utc jmettraux let me think a bit
2010-02-04 10:49:53 utc jmettraux (that's in those cases that I'm tempted to simply alias 'sequence' for 'cursor')
2010-02-04 10:50:51 utc tosch_le +1 ;-)
2010-02-04 10:51:47 utc anb_ you mean I should use cursor over sequence in most cases ?
2010-02-04 10:52:10 utc jmettraux not really
2010-02-04 10:52:30 utc jmettraux I'm trying to gather the list of commands you have to issue for your solution
2010-02-04 10:53:44 utc jmettraux well
2010-02-04 10:53:49 utc jmettraux it's simpler than I thought
2010-02-04 10:53:56 utc jmettraux engine.re_apply(fei)
2010-02-04 10:54:08 utc jmettraux if you know the fei of the sequence, you can simply to that
2010-02-04 10:54:31 utc jmettraux it will nuke the branch of the process instance and re_apply it
2010-02-04 10:54:47 utc jmettraux fresh
2010-02-04 10:55:37 utc tosch_le what about the fields in the workitem? will they be lost?
2010-02-04 10:55:45 utc jmettraux yes
2010-02-04 10:56:26 utc jmettraux but I can arrange that
2010-02-04 10:56:43 utc tosch_le no need for me, i'm happy using cursor
2010-02-04 10:56:54 utc jmettraux engine.re_apply(fei, wi)
2010-02-04 10:57:03 utc anb_ sorry, I have to go, i'll be back
2010-02-04 10:57:06 utc anb_ thanks again
2010-02-04 10:57:11 utc jmettraux you're welcome
2010-02-04 10:57:40 utc jmettraux ACTION is super happy with the new ruote 2.1, it makes everything so simple
2010-02-04 10:58:22 utc jmettraux tosch_le : your idead makes sense
2010-02-04 10:58:25 utc jmettraux idea
2010-02-04 12:02:49 utc anb_ ok John, I'll try re_apply but probably cursor covers most of our needs
2010-02-04 12:03:09 utc jmettraux cursor is for design_time, re_apply for run_time
2010-02-04 12:03:21 utc jmettraux cool
2010-02-04 12:04:38 utc jmettraux anb_: what's your feeling for now when compared to jbpm ?
2010-02-04 12:08:47 utc anb_ well, when I first compared jbpm to ruote I thought ruote is too simple, it doesn't cover all our needs
2010-02-04 12:08:58 utc anb_ the complexity of jbpm gave us an illusion of power
2010-02-04 12:09:13 utc anb_ but in the end it just gets in your way
2010-02-04 12:10:00 utc kennethkalmer well said
2010-02-04 12:11:12 utc jmettraux I'm a bit surprised, I always found jbpm language very simplistic
2010-02-04 12:11:38 utc anb_ yes, language wise it is actually not as powerful as ruote
2010-02-04 12:12:32 utc jmettraux many thanks for the feedback on that
2010-02-04 12:12:58 utc anb_ but they give you a fancy console, user management, tasks, assignment delegation and all that stuff that you don't really need
2010-02-04 12:13:24 utc jmettraux true
2010-02-04 12:13:52 utc jmettraux they have to sell
2010-02-04 12:15:40 utc anb_ true
2010-02-04 12:16:42 utc anb_ when I first ran into ruote, it was a little confusing to see openwferu and ruote
2010-02-04 12:17:01 utc jmettraux :) re-branding takes time
2010-02-04 12:17:13 utc anb_ :)
2010-02-04 13:38:05 utc kennethkalmer time to take rk into production i think
2010-02-04 13:38:16 utc jmettraux iiab ?
2010-02-04 13:38:28 utc kennethkalmer indeed
2010-02-04 13:38:31 utc jmettraux cool
2010-02-04 13:38:40 utc kennethkalmer so jealous of everyone else having the fun
2010-02-04 13:38:50 utc kennethkalmer (and looking forward to less moving parts)
2010-02-04 13:38:50 utc jmettraux :)
2010-02-04 13:40:01 utc kennethkalmer tosch_le: any issues with rk I need to address ?
2010-02-04 13:40:13 utc kennethkalmer one thing is i'm not going to automatically register the catchall anymore
2010-02-04 13:40:19 utc kennethkalmer only in the config.ru
2010-02-04 13:40:43 utc kennethkalmer john, quick (lazy question)
2010-02-04 13:40:57 utc kennethkalmer nevermind
2010-02-04 13:41:01 utc jmettraux >
2010-02-04 13:41:02 utc jmettraux ?
2010-02-04 13:41:09 utc tosch_le no issues at my place, but i'm not using rk atm
2010-02-04 13:41:19 utc jmettraux :)
2010-02-04 13:41:32 utc kennethkalmer :)
2010-02-04 13:41:49 utc kennethkalmer was meaning to ask if it is safe to register participants after the worker has started...
2010-02-04 13:42:00 utc jmettraux it is
2010-02-04 13:43:28 utc kennethkalmer i realized as I typed :)
2010-02-04 13:44:02 utc jmettraux :)
2010-02-04 13:44:23 utc anb_ good to know, so you can register after a workflow is started ?
2010-02-04 13:44:31 utc jmettraux yes
2010-02-04 13:48:52 utc anb_ does this ring a bell to anyone ? : can't activate ruote (= 2.1.4, runtime) for ["ruote-amqp-2.1.4pre"], already activated ruote-2.1.5
2010-02-04 13:49:49 utc anb_ looks like I have two gem of ruote
2010-02-04 13:50:18 utc jmettraux seems like ruote-amqp is stuck at 2.1.4 http://github.com/kennethkalmer/ruote-amqp/blob/ruote2.1/Rakefile
2010-02-04 13:50:37 utc jmettraux kennethkalmer: how should we solve that ?
2010-02-04 13:51:13 utc kennethkalmer let me test quickly and update
2010-02-04 13:51:45 utc kennethkalmer i'm going to bump it to 2.1.5pre then
2010-02-04 13:51:56 utc jmettraux 2.1.6pre
2010-02-04 13:52:00 utc anb_ hehe
2010-02-04 13:52:01 utc jmettraux ;)
2010-02-04 13:53:07 utc kennethkalmer my bad :)
2010-02-04 14:01:52 utc kennethkalmer waiting for gem to publish
2010-02-04 14:01:57 utc kennethkalmer connection is bad due to weather
2010-02-04 14:07:09 utc kennethkalmer hmm
2010-02-04 14:07:16 utc kennethkalmer need a clever http status code
2010-02-04 14:07:25 utc kennethkalmer for 'not configured' or 'not implemented'
2010-02-04 14:07:44 utc jmettraux http://www.w3.org/Protocols/rfc2616/rfc2616-sec10.html
2010-02-04 14:08:03 utc jmettraux 5xx
2010-02-04 14:08:23 utc jmettraux 501 : not implemented
2010-02-04 14:08:35 utc jmettraux 503 service not available
2010-02-04 14:09:26 utc kennethkalmer has the server really error-ed ?
2010-02-04 14:09:37 utc jmettraux which server ?
2010-02-04 14:10:02 utc kennethkalmer according to the docs, 5XX is for when the server erred
2010-02-04 14:10:17 utc jmettraux "or is incapable of performing the request"
2010-02-04 14:10:52 utc kennethkalmer touche :)
2010-02-04 14:12:00 utc kennethkalmer 503 should be perfect then
2010-02-04 14:12:08 utc kennethkalmer or, 402 Payment Required
2010-02-04 14:12:14 utc jmettraux lol
2010-02-04 14:12:18 utc kennethkalmer :)
2010-02-04 14:24:12 utc anb_ thanks for the update kenneth
2010-02-04 14:24:20 utc kennethkalmer np
2010-02-04 14:29:20 utc kennethkalmer anb_: not getting the gem pushed
2010-02-04 14:29:26 utc kennethkalmer you can build it yourself
2010-02-04 14:29:56 utc kennethkalmer git clone git://github.com/kennethkalmer/ruote-amqp && cd ruote-amqp && rake build
2010-02-04 14:30:05 utc kennethkalmer gem install pkg/ruote-amqp-2.1.5.gem
2010-02-04 14:32:31 utc anb_ actually I just gem 'ruote', '2.1.4'
2010-02-04 14:34:53 utc kennethkalmer oh, thought you needed ruote-amqp compat with ruote-2.1.5
2010-02-04 14:35:06 utc jmettraux me too
2010-02-04 14:35:29 utc anb_ me too :)
2010-02-04 14:35:44 utc anb_ i'm new to ruby
2010-02-04 14:40:11 utc anb_ I used a regular require and I got the error message above
2010-02-04 14:40:30 utc anb_ sorry about that
2010-02-04 14:40:35 utc jmettraux no worries
2010-02-04 14:40:59 utc kennethkalmer no worries indeed, I was slow to release the update
2010-02-04 14:41:10 utc kennethkalmer jmettraux: can you try build ruote-amqp on your side ?
2010-02-04 14:41:17 utc kennethkalmer mine is just 'stuck' during the build task
2010-02-04 14:41:24 utc jmettraux build ?
2010-02-04 14:41:30 utc jmettraux rake build ?
2010-02-04 14:41:47 utc kennethkalmer yep
2010-02-04 14:42:19 utc anb_ it had problems with rake build too
2010-02-04 14:42:42 utc kennethkalmer sigh, wonder what I broke then
2010-02-04 14:43:17 utc anb_ in the end I did a gem build instead
2010-02-04 14:43:42 utc anb_ maybe that's why I had this version error
2010-02-04 14:44:05 utc kennethkalmer if you pull from github now and 'gem build ruote-amqp.gemspec' you will be fine
2010-02-04 14:44:07 utc jmettraux WARNING: no description specified
2010-02-04 14:44:07 utc jmettraux WARNING: no rubyforge_project specified
2010-02-04 14:44:18 utc jmettraux it built for me
2010-02-04 14:44:22 utc jmettraux but ruby 1.9.1
2010-02-04 14:44:26 utc kennethkalmer i'm not even getting those warnings
2010-02-04 14:44:28 utc anb_ 1.8.7 here
2010-02-04 14:44:34 utc kennethkalmer also on 1.9.1 here
2010-02-04 14:45:07 utc jmettraux trying with 1.8.7
2010-02-04 14:45:19 utc jmettraux rake build works fine as well
2010-02-04 14:45:36 utc jmettraux rake 0.8.7
2010-02-04 14:45:50 utc wayneeseguin jmettraux: are you using `rake spec` feature ?
2010-02-04 14:45:55 utc wayneeseguin err
2010-02-04 14:45:57 utc wayneeseguin 'rvm spec'
2010-02-04 14:46:09 utc jmettraux no, not at all, what is it ?
2010-02-04 14:46:11 utc kennethkalmer hi wayneeseguin
2010-02-04 14:46:15 utc wayneeseguin hihi
2010-02-04 14:46:40 utc kennethkalmer push ruote-amqp-2.1.5 to gemcutter
2010-02-04 14:46:51 utc kennethkalmer *pushed
2010-02-04 14:47:12 utc kennethkalmer anb_: gem install ruote-amqp in a few minutes should sort you out
2010-02-04 14:47:25 utc anb_ great
2010-02-04 14:48:11 utc jmettraux great
2010-02-04 14:48:19 utc tosch_le great ;-)
2010-02-04 14:48:36 utc jmettraux it's there
2010-02-04 14:48:52 utc kennethkalmer gemcutter ftw
2010-02-04 14:49:21 utc jmettraux $ rvm spec
2010-02-04 14:49:22 utc jmettraux Unrecognized command line argument: 'spec' ( see: 'rvm usage' )
2010-02-04 14:49:44 utc jmettraux wayneeseguin: is that a super "head" feature ?
2010-02-04 14:50:16 utc wayneeseguin s
2010-02-04 14:50:18 utc wayneeseguin 'rvm specs'
2010-02-04 14:50:21 utc wayneeseguin sorry
2010-02-04 14:50:52 utc jmettraux ah
2010-02-04 14:50:53 utc jmettraux got it
2010-02-04 14:51:13 utc jmettraux that's neat
2010-02-04 14:52:00 utc wayneeseguin jmettraux: rvm --json specs
2010-02-04 14:52:04 utc wayneeseguin rvm --summary specs
2010-02-04 14:52:07 utc wayneeseguin should work also
2010-02-04 14:52:10 utc jmettraux :)
2010-02-04 14:52:22 utc jmettraux that'll be for tomorrow
2010-02-04 14:52:25 utc wayneeseguin lol
2010-02-04 14:52:31 utc wayneeseguin GO TO BED :-p
2010-02-04 14:52:35 utc jmettraux midnight soon
2010-02-04 14:52:38 utc wayneeseguin Summary:
2010-02-04 14:52:39 utc wayneeseguin 10 successful: jruby-1.4.0, macruby-nightly, rbx-head, ree-1.8.7-2009.10, ree-1.8.7-2010.01, ruby-1.8.7-head, ruby-1.8.7-p248, ruby-1.9.1-head, ruby-1.9.1-p378, ruby-head
2010-02-04 14:52:42 utc wayneeseguin 1 errors: maglev-head
2010-02-04 14:52:45 utc wayneeseguin that's with --summary
2010-02-04 14:53:00 utc wayneeseguin output is logged to log//*.log
2010-02-04 14:53:17 utc wayneeseguin if you need to inspect it
2010-02-04 14:53:19 utc jmettraux I'm more into javascript (client side) these days : http://cathay.heroku.com/
2010-02-04 14:53:25 utc wayneeseguin G'nite! :)
2010-02-04 14:55:31 utc kennethkalmer is cathay that app you used on your iphone ?
2010-02-04 14:55:44 utc jmettraux it's its successor
2010-02-04 14:55:51 utc kennethkalmer neat
2010-02-04 14:56:32 utc jmettraux trying to avoid reloads, stuffing a lot into 1 json file
2010-02-04 14:57:03 utc kennethkalmer :)
2010-02-04 14:58:27 utc kennethkalmer tosch_le: pushing some changes for rk that I would love your opinion on
2010-02-04 15:00:53 utc kennethkalmer heading out guys
2010-02-04 15:01:03 utc jmettraux bed for me
2010-02-04 15:01:04 utc jmettraux ciao !
2010-02-04 15:01:08 utc kennethkalmer have a good evening !
2010-02-04 15:01:08 utc anb_ good night
2010-02-04 15:01:11 utc kennethkalmer ttyl !
2010-02-04 15:01:16 utc anb_ see you
2010-02-04 15:11:25 utc tosch_le have to leave, too. bye!
2010-02-04 23:33:36 utc jmettraux ruote is not a rule engine http://twitter.com/joshuaclayton/statuses/8646615433 it's a workflow engine