Code Monkey home page Code Monkey logo

Comments (8)

cantino avatar cantino commented on May 11, 2024

Agreed. I'll get back to you tonight.

On Tuesday, June 18, 2013, Albert Sun wrote:

When you setup a new agent to receive events from an existing one that
already has events, the first time event propagation is run, ALL of those
events are sent through receive. That obviously causes some trouble if the
sender agent has accumulated a lot of events already.

That doesn't make a whole lot of sense to me as default behavior. It would
make much more sense to only send future events through.

I could tackle changing this, and I'm looking through the code for where
that's being done, but I'm not that familiar with the code base and am
having trouble finding it. A pointer to where that's happening would be
appreciated.


Reply to this email directly or view it on GitHubhttps://github.com//issues/64
.

from huginn.

cantino avatar cantino commented on May 11, 2024

In Agent#receive!, last_checked_event_id is used to see what events haven't been received by an Agent yet. If you set last_checked_event_id to the newest event id when an Agent is created, it shouldn't backfill. Are you willing to try this and add some specs?

from huginn.

mrageh avatar mrageh commented on May 11, 2024

Hi Cantino
I am willing to try and do this for your project, but I am a complete noob to programming and ruby. All
I bring with me is a lot of passion and the willingness to work extremely hard.

from huginn.

cantino avatar cantino commented on May 11, 2024

Thank you Adam, I'm happy to help in any way and to answer questions!

On Thu, Jun 20, 2013 at 1:40 PM, Adam [email protected] wrote:

Hi Cantino
I am willing to try and do this for your project, but I am a complete noob
to programming and ruby. All
I bring with me is a lot of passion and the willingness to work extremely
hard.


Reply to this email directly or view it on GitHubhttps://github.com//issues/64#issuecomment-19781643
.

from huginn.

cantino avatar cantino commented on May 11, 2024

Hi @Adam89 and @albertsun, have either of you had a chance to look at this? Otherwise, I likely can this week.

from huginn.

albertsun avatar albertsun commented on May 11, 2024

Haven't had a chance yet.

On Tue, Jun 25, 2013 at 1:58 AM, Andrew Cantino [email protected]:

Hi @Adam89 https://github.com/Adam89 and @albertsunhttps://github.com/albertsun,
have either of you had a chance to look at this? Otherwise, I likely can
this week.


Reply to this email directly or view it on GitHubhttps://github.com//issues/64#issuecomment-19954793
.

Albert Sun
[email protected]
215.253.8566

from huginn.

cantino avatar cantino commented on May 11, 2024

What would you guys think of this:

  • Default of not backfilling events. When a new Agent is created, it only receives future events.
  • New option in the agents#index view to trigger a backfill from a set of sending agents and within a date range.

from huginn.

cantino avatar cantino commented on May 11, 2024

Fixed by @albertsun.

from huginn.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.