« first day (1039 days earlier)      last day (736 days later) » 

11:38
If there were a bot right now, y'all'd know about draft PR #1637
12:03
me when I
I remove a variable usage that literally made the thing I wanted to work work
without even realising it
big brain right here
12:17
I wish this would happen to me.
no you don't - don't cause bugs for yourself :p
btw how are variables stored again in v3?
hashmap in context
ah, right
@lyxal Also, var ctx? I don't see it being reassigned?
line 286 of Interpreter.scala
12:32
ah
 
1 hour later…
13:40
Okay so good news: literate mode conversion now respects keywords as variable names in lambda parameters
bad news: it inserts the branch character if you have stuff after the branch, and it doesn't work if you have nested lambdas
I'll work on this again tomorrow and hopefully fix everything
o/
 
4 hours later…
17:26
aaaaaaaaaaa pings
 
4 hours later…
21:50
in Off-Topic TNB, 4 hours ago, by Ginger
@RydwolfPrograms is the server move complete? people have been complaining about the distinct lack of Vyxal Bot
in Off-Topic TNB, 3 hours ago, by Rydwolf Programs
@Ginger No, it failed to boot.
Let me finish my message
lol
Maybe hyper hosting is possible if rydvylf is going to take too long
well, I don't know what the deal there is
21:52
Because I read the transcript and saw that the wolf option is going to take more time
@Ginger very simple. We ask hyper to host the bot again just like it used to be hosted
I'm actually going to ask him if he can just do a vanilla debian install
no copying needed
Interesting hosting developments in ottnb
22:14
If the bot's written in Python, can't we use PA?
Is SE not on the PA whitelist or are there other complications?
22:26
Well, here we are again.
Ah'll be bahk.
Well, here we are again.
!!/status
@Ginger I am doing billions of computations a second while you struggle to remember how to blink
@user I don't know if it's permanently running or if it gets terminated after a while
!!/amilyxal
@lyxal You are lyxal.
22:27
phew
Whew
first!
I was getting a little worried there for a second that the answer might have been no
Good to see I'm still me
in The Nineteenth Byte, 5 mins ago, by Rydwolf Programs
@user Not necessarily, I'm sure there's a praclang out there that has built-in TRNG support
Me on my way to add TRNG to vyxal
make it refuse to run if you don't have a TRNG expansion card in your PC :b
it sends a request to random.org
22:32
ysthakur requested changes on #1637 (Make maps and filters pass variables between branches)
@lyxal Could you please ELI5?
every day we download 10k random numbers from random.org to our server and whenever a vyxal program needs one we just give it a pseudorandomly-selected one from the list
@user map-lam :=original dup | double | $original
Right now, $original in the last branch will return 0
In the PR, $original returns whatever it was set to in previous branches
I don't get why we need to overwrite the original function's context for that, though. Can't we just copy the variables from the previous context and pass them on to the next one?
Because if I have a user defined function foo, then map-lam foo will leave stuff on the stack of foo's original context, and then when you call foo again, you'll see that leftover stuff on the stack again
How are you going to get those variables out of executeFn?
22:38
We make a modified version of executeFn, I guess
Code duplication though
Overwriting the original context will be problematic if we ever do coroutines (which isn't going to happen but still)
@lyxal No I mean executeFn just calls that other function and only extracts the top of the stack from that
And that executeFnAndGetCtx helper would do what executeFn does but also return that inner context so people can do whatever they want with it
Sounds like that good work
*could
It good work, yes, thank you
You do good work on that PR too
I was going to apply those last 2 suggestions in a batch together lol
Too bad I pressed the funny button individually as they came through as notifications :p
22:49
We shall follow this PR with great interest :P

« first day (1039 days earlier)      last day (736 days later) »