Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
  • Sep 23 21:23
    Subtletree commented #30
  • Sep 23 13:55
    jmettraux closed #30
  • Sep 23 13:55
    jmettraux commented #30
  • Sep 23 13:54

    jmettraux on master

    Set node['tree'] when rewriting… (compare)

  • Sep 23 04:39
    Subtletree edited #31
  • Sep 23 04:37
    Subtletree edited #31
  • Sep 23 04:24
    Subtletree edited #31
  • Sep 23 04:23
    Subtletree edited #31
  • Sep 23 04:23
    Subtletree opened #31
  • Sep 20 05:42
    jmettraux commented #30
  • Sep 20 03:45
    Subtletree commented #30
  • Sep 20 03:41
    jmettraux edited #30
  • Sep 20 03:41
    jmettraux assigned #30
  • Sep 20 03:38
    Subtletree opened #30
  • Sep 15 22:44
    jmettraux commented #29
  • Sep 15 22:26
    Subtletree commented #29
  • Sep 09 23:52
    jmettraux closed #29
  • Sep 09 23:52
    jmettraux commented #29
  • Sep 07 07:20
    jmettraux commented #29
  • Sep 07 07:18

    jmettraux on master

    Fix parsing of "set original 1"… (compare)

Ryan Scott
@Subtletree
ah yeah that looks perfect
I was just having a go at implementing timer/on_timerbut I think your suggestion is beyond me
John Mettraux
@jmettraux
roughly:
john 'review application'   
  sequence flank                  
    sleep '3d'                                                                  
    send_reminder
or
sequence
  sequence flank                  
    sleep '3d'                                                                  
    send_reminder                                                               
  john 'review application'
the "flanking" sequence gets cancelled as soon as its parent node is done
Ryan Scott
@Subtletree
That is actually perfect, because my usecase would have another 'user' task in the flanking branch which would need to be cancelled if the application is reviewed
John Mettraux
@jmettraux
if you give me a bit of time, I could implement the timers: attribute, taking inspiration from ruote, I strongly want something like that for flor, a flow of having echelon of flanking events
but flank might help in the meantime (or as you seem to indicate, be better suited)
Ryan Scott
@Subtletree

Yeah my usecase is actually more like

john 'review application'   
  sequence flank                  
    sleep '3d'                                                                  
    alice 'remind john'
    email 'send reminder email' if ret = 'email' # alice can choose to remind john in person

so flanking might be my new favourite haha

John Mettraux
@jmettraux
ok, I'll try my best to help you with that. I'm on the Western Europe timezone until the 8th of July actually.
Ryan Scott
@Subtletree
Ah nice. I'll have a go at using flank now and let you know how I go. Thanks for your input as always!
John Mettraux
@jmettraux
You're welcome! It's a nice to tinker around with you
Ryan Scott
@Subtletree
:grinning: :thumbsup:
Ryan Scott
@Subtletree
Hey John, how's europe treating you? Is it a holiday?
Another flor question for you.. Would domains be useful for versioning? e.g I've updated my taskers which are now incompatible with the old process definition
John Mettraux
@jmettraux
@Subtletree Hello Ryan, Europe is good, it's half work, half sorting family matters
Yes, domain could be used for versioning, especially if you want to have older versions of taskers coexisting with newer versions
I guess you could do acme.org.accounting.v1.alpha vs v2.alpha
ah, well, it's probably a bit more complicated
another technique would be to place a version number in a (root) process variable and have the "ganger" look at it to decide what version of "alpha" or "alice" to route to
John Mettraux
@jmettraux
the simplest technique would be to have the version number in the tasker name
Ryan Scott
@Subtletree
Hmm good call, I'll see what method works best for me, cheers!
John Mettraux
@jmettraux
:-)
and if you find a better method, please teach us!
Ryan Scott
@Subtletree
Hey John, what's the situation with these spawn changes and jRuby?
John Mettraux
@jmettraux
Hello Ryan, I noticed a couple weeks ago that the spawn tests were failing on Travis/JRuby
so I'm now developing an "adapter" for JRuby, using Java's ProcessBuilder
are you using JRuby?
Ryan Scott
@Subtletree
not at the moment, was going to look at switching if MRI threads ever became a bottleneck
John Mettraux
@jmettraux
ok, please tell me if that happens
Ryan Scott
@Subtletree
will do
I need to set aside some time to help with the docs a bit, a rails guide, and also maybe an 'intro for dummies' type post
John Mettraux
@jmettraux
that would be wonderful
John Mettraux
@jmettraux
Just added a "use" section to the readme: floraison/flor@699cbd4 feedback is welcome :-)
Ryan Scott
@Subtletree
'Use' section is great. I remember when first looking at the project was new to workflow engines and ended up coming to gitter to ask exactly what flor was and if it suited my use case
The invoice example is good too, gives a more top level view of what flor can accomplish
John Mettraux
@jmettraux
thanks!
John Mettraux
@jmettraux
@Subtletree looking into your PR
Ryan Scott
@Subtletree
:thumbsup: :thumbsup: cool, no rush!
John Mettraux
@jmettraux
I'm a bit puzzled by my code and my documentation, I'd like to clarify that
Ryan Scott
@Subtletree
lol know that feeling
John Mettraux
@jmettraux
:-)
I have this spec that signal from one execution to the other, no problem
but then, then "trap" doc says that default only the same execution signals are listened to
wtf, wwis (what was i smoking)
If you have the time to clarify that, a complete PR is welcome, so that I can work on the mysterious bug you've uncovered last week
John Mettraux
@jmettraux
maybe a trap range: 'open' is necessary
Ryan Scott
@Subtletree
trace 'a'
sequence
  on 'S0'
    trace 'S0'
  trace 'b'
trace 'c'
In this situation, when the sequence has been left, is the should the trap be deleted?