• 0 Posts
  • 8 Comments
Joined 2 years ago
cake
Cake day: February 2nd, 2024

help-circle

  • Definitely (being young and recency bias) all the weird stuff happening in the lua engine in the old ComputerCraft versions (1.45ish and 1.75) I’m playing.

    I’m not really testing rigorously enough, but it seems to have been in 1.45, which i stopped playing because of other reasons (turtle api too primitive), making a function a() return a function b() that captures one of a’s local variables, made it crash.

    now on 1.75 it doesn’t do that anymore, but now I pass some functions through the output of a coroutine, and they just sometimes turn into nil when I call them the second time. it literally throws “attempt to call nil on line 245” when line 245 is like:

    242 if func == nil then
    243  -- something else
    244 else
    245   resA, resB = func()
    246 end
    

    I even printed func before calling it, and it told me it was a function, except earlier, where it told me it was nil. Now I’m going to stop using coroutines and hope the architecture of my program changes enough so the bug goes away.

    I’m playing the Direwolf20 season 7 minecraft modpack btw





  • I must be in the minority because I post so rarely that I don’t sign up when I ‘join’ the platform, I sign up when I want to post something. When I first wanted to post something, I just joined the instance it was going to be on. (Also because it’s queer, which I don’t tell you about for consistency). I also don’t care that much about not seeing what my instance has defederated. Or actually, not being able to comment on it, because I actually go on programming.dev sometimes, without having an account there. I don’t really get it. The fact that my Instance technically requires an application might actually be a UX hurdle, but otherwise, you just click Sign Up, enter email, name, and password, and that’s it, right? It could be a UX problem that you miss out on content you don’t see, but you also already see a load of content that you’re not going to miss out on. Tutorials on how x-instance moving works might be cool though, if they don’t already exist. Making them more visible might limit the defederation FOMO.