Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
  • Apr 03 23:18
    Travis CC-Hive/Main (master) errored (96)
  • Apr 03 23:17

    Lupus590 on master

    Fix typo Fix another typo Merge pull request #15 from mat… (compare)

  • Apr 03 23:17
    Lupus590 closed #15
  • Apr 03 23:17
    Lupus590 commented #15
  • Apr 03 22:36
  • Apr 03 22:36
    mat-1 edited #15
  • Apr 03 22:35
    mat-1 synchronize #15
  • Apr 03 22:35
    mat-1 edited #15
  • Apr 03 22:33
  • Apr 03 22:32
    mat-1 opened #15
  • Nov 22 2019 00:47
    Travis CC-Hive/Main (master) errored (93)
  • Nov 22 2019 00:46

    lupus590 on master

    add patience (compare)

  • May 19 2019 21:26

    lupus590 on master

    apparently i had uncommited cha… merge daemonManager (compare)

  • May 13 2019 08:23

    lupus590 on master

    add Todo note About plethora n… (compare)

  • Mar 31 2019 03:30

    lupus590 on master

    lots of cleanup (compare)

  • Feb 17 2019 22:59

    lupus590 on master

    add support for -f command line… (compare)

  • Dec 09 2018 22:32

    lupus590 on master

    improvements (compare)

  • Dec 09 2018 22:16

    lupus590 on master

    fix spelling (compare)

  • Dec 09 2018 22:06

    lupus590 on master

    want review (compare)

  • Dec 09 2018 21:30

    lupus590 on master

    fix extentions, rename main fil… (compare)

Lupus590
@Lupus590
any way to keep return?
Jonathan Coates
@SquidDev
You could do return (checkpoint.reach("third")) or even:
local function id(...) return ... end
...
return id(checkpoint.reach("third"))1
As long as it's not a plain old return checkpoint.reach("third").
Lupus590
@Lupus590
@SquidDev please tell me you're around.
Jonathan Coates
@SquidDev
I'm around.
Lupus590
@Lupus590
So i've tried switching to MBSs tracing and discovered that trcing is broke, check the ask a pro post again: http://www.computercraft.info/forums2/index.php?/topic/29479-blaiming-callbacks-for-errors/page__view__findpost__p__276561
Jonathan Coates
@SquidDev
@lupus590 Aside from shell not existing in _G (checkpoint.mbs.lua:~160) I'm not sure what the issue is?
That and .run deletes the checkpoint file, even if the program finishes in an error.
Lupus590
@Lupus590

@SquidDev Can you help again?

In it's current form I get error in error handling which needs fixed. And I would also like terminates to not be caught as errors when the stack unwinds.

Jonathan Coates
@SquidDev
With terminates, I suspect your only options are to intercept terminate events in a coroutine manager or just detect if the error is Terminated.
If you remove the xpcall and whatever, what error do you get?
Normally that only happens in a stack overflow.
Lupus590
@Lupus590
changed xpcall to pcall, same error
Jonathan Coates
@SquidDev
What. pcall shouldn't even have an error handler.
Replace it with a standard call? (+ true, or whatever before hand)
Lupus590
@Lupus590
?
Jonathan Coates
@SquidDev
Just do {true, checkpoints[l].callback(unpack(checkpoints[l].args)) }
Lupus590
@Lupus590
Terminated, as expected.
Jonathan Coates
@SquidDev
How on earth does it error with Terminated but pcall fails. This doesn't even make sense >_<
Lupus590
@Lupus590
Let ask a pro at it?
I don't belive I've edited how your MBS stack tracing works
Jonathan Coates
@SquidDev
¯\_(ツ)_/¯ It's pretty standard traceback code
Lupus590
@Lupus590
error in error handling doesn't appear using xpcall in vanilla shell (was under mbs)
Lupus590
@Lupus590
so stack trace doesn't print in any case, the error in ... is from calling error()
Lupus590
@Lupus590
still get error in error handleing on MBS though
Lupus590
@Lupus590
error("", 0) fixes that
Thanks for the help @SquidDev
Jonathan Coates
@SquidDev
Not sure how much help I was: I have absolutely no clue what is going on.
Lupus590
@Lupus590
error in error handleing was due to MBS not likeing error(), fixed by replacing with error("",0)
stack trace not printing was me not understanging where your code put the stack trace and that it did not print it for me
@SquidDev Me bouncing ideas off you helped.
Also the thanks goes to the previous two times too
Paul
@MagnificentPako
@lupus590 is Hive in a usable state already? Or is it still in a state where you would not suggest anyone to use it?
Lupus590
@Lupus590
@MagnificentPako Hive has been in development hell for ages (since april according to the travis reports in the gitter activity feed)
Paul
@MagnificentPako
Oh
Lupus590
@Lupus590
I've been meaning to get back into it
Jonathan Coates
@SquidDev
Huh, a commit.
Lupus590
@Lupus590
don't get too excited
Benedict Allen
@exerro
rip build: passing
Paul
@MagnificentPako
Wew
ramonGonzEdu
@ramonGonzEdu
Is this project still active? It seems to have been dead for around a year, but seems really cool
Lupus590
@Lupus590
It's been dead for longer than a year, I keep saying that I want to come back to it but I wouldn't hold my breath.
ramonGonzEdu
@ramonGonzEdu
i thought so. This seems like a really cool project, but if it was up to me, I would remake it, or migrate it to Haxe (compiled to lua), for the better tooling and type stability
Jonathan Coates
@SquidDev
Huh, activity!
"This is going to get people hopeful that I'm working on this again." Correct :D.
ramonGonzEdu
@ramonGonzEdu
huh