« first day (3565 days earlier)      last day (215 days later) » 

7:45 AM
It does not :-(
Over to trying to link this statically.
 
 
2 hours later…
9:22 AM
I got a really nice reply from my provider's helpdesk that I will share here:
"Sometimes you can solve with a symlink etc, but that is generally seen as: "hacky".
If you want to fix this neatly then I recommend compiling this on a centos corresponding to this server:

[root @ plesk4 cgi-bin] # cat / etc / centos release
CentOS Linux release 7.8.2003 (Core)

What you can also do is compile a program completely static. But the latter often fails through libc / glibc, but it is possible
if you do it with: https://musl.libc.org/ (also used in Alpine https://alpinelinux.org)"
So now I will install a VM with CentOS Linux to compile this.
(Biggest trouble in VM is the shared folders do not seem to work in Linux Hosts, VirtualBox is a real Windows program as far as that part is concerned, so off to find and dl the r3-linux-xxx and unzipping the source again)
 
 
6 hours later…
3:26 PM
@HostileForksaysdonttrustSE Suggestion: RESUME.
 
 
2 hours later…
4:58 PM
@MarkI That works.
 
 
1 hour later…
6:18 PM
I actually had a RESUME in the old debugger, as it turns out. Just forgot it was there.
I have some very ambitious ideas about the debugger, e.g. that you can write a script to automate the debugger and then debug it with a "meta-debugger" instantiation...and that this all will "Just Work"(tm) by having the design be sufficiently elegant and general.
That said...trying to beeline for such elegance on a first try is very unlikely. So I am trying to temper my expectations and write something for starters, that can be incrementally improved.
 
6:38 PM
One problem is that the more "goroutines"/"task!s" are embraced, the more it complicates debugging. Especially when you consider the idea of using these alternate tasks and stacks as the granularity of isolating code that is cancellable/debuggable from that which isn't. (e.g. the console implementation itself in usermode doesn't want to appear on the stack when you do an evaluation, so it does that evaluation in its own "goroutine", which doesn't see the console when it climbs the stack)
 
6:55 PM
@HostileForksaysdonttrustSE I was thinking about that too. The more things are in usermode the better in my opinion, but if the console AND "tasks" AND the debugger itself are all usermode there definitely needs to be some way to say "don't stop in here" ... hmmm ... maybe if we make them modules, we can have a per-module switch?
 
@MarkI Currently the granularity of "don't stop here" is the tasks, e.g. each GO, but "don't stop here" is relative. If you have a BREAKPOINT inside of a routine spawned in a debug evaluation which is targeting a particular task (e.g. what it means when it means "STEP" or BACKTRACE), what's to stop that breakpoint from spawning another session that is targeting that debug evaluation?
For STEP to be generic, it has to be able to pull from its environment a "step where"...e.g. who is it exactly I'm asking to step. This would be built on a more foundational STEP that doesn't look to its environment for context, e.g. STEP* TASK or STEP* FRAME or whatever.
Then there is the idea of BREAKPOINT's implementation itself. You don't want to step into that, even if it's a small amount of stepping that only spawns the breakpoint's implementation in an unsteppable context. So BREAKPOINT itself must be a function class that implicitly executes its body in some new context that isn't stepped into the way other code surrounding it would be.
Pretty crazy stuff to get bent up over. I've been making tiny bits of conceptual progress but mostly making my head hurt.
The previous debugger was based on the idea that BREAKPOINT was a "special" native that would spawn a new CONSOLE. That console would return a value that indicated to the native breakpoint what it wanted to happen. As a native, the breakpoint had special access to poke things into the evaluator state to say things like "run just one instruction and then trigger another break"
This meant things like even a simple loop 2 [step] could not work, as STEP would THROW and terminate the loop... bubble up the "please step" instruction as CONSOLE's return result, which BREAKPOINT would slip over to the evaluator...which would then make the step and force an interrupt with a call that did what the breakpoint native did even though there was no such native in the source (e.g. spawn another console)
In my "try to be happy with just one advancement at a time" mindset, that could be seen as meaning "make loop 2 [step] work".
This raises several questions, such as whether the CONSOLE function from which the loop 2 [step] being run stays running across the steps. It seems it should. This means what BREAKPOINT is waiting on before unwinding is not a return result from console, but another signal.
But what triggers that signal to unblock the breakpoint is something STEP does. It seems the shared connector between STEP and the thing BREAKPOINT is waiting on is the task/frame from which BREAKPOINT runs, e.g. the call frame that invoked breakpoint is pushed into a wait mode where it is waiting on some aspect of the task it is run from itself...disconnected from if or when BREAKPOINT's implementation ever completes.
This really gets at the question of if there is one console processing a complex stack of state transitions, or many consoles whose concerns are more narrow and they can trust that if they ask for an evaluation they will get an answer or an error (some errors being that the console is no longer relevant and should go away).
If BREAKPOINT keeps an implementation somewhat akin to its old method and starts a console, then one wonders what breakpoint print "Hi" breakpoint should do if someone in a spawned console from the first breakpoint says step 10. If you have a still living console thinking it's executing the 10 steps, what happens when the second breakpoint gets hit?
These kinds of questions lead me to believe that the "breakpoint is code that spawns a console" is a bad way of thinking of it...it was something that arose in the pre-stackless era because that was really the only way to do it.
 
8:11 PM
Installing CentOS on VBox is easy. Making networking work and get a GUI is not.
 
posted on August 04, 2020 by @hostilefork Brian Dickens

@hostilefork wrote: REMOVE-EACH is a somewhat problematic operation, in that it is doing a low-level manipulation of an array's contents...and you don't want to expose any intermediate states that aren't valid. The efficiency of it is questionable...e.g. if you have an array that is 1,000 items long and you remove half of them, your array will now have

 
8:56 PM
Have I stated I do not like VBox? Funny side effect, no direct communication between my host and the guest, only via the web. The connection of FileZilla is disturbed when CentOS is running. And continuously SO chat notices there is not connection to the server.
Terrible, just had to pause the machine, saving state luckily to post this message...
 
9:21 PM
@Feeds I mistakenly thought Red's fast lexer came out in late 2019 after it was announced...
Scanning tokens w/o loading seems potentially useful.
 
I guess that CentOS 7 has an old gcc, it says REBOL_EXPLICIT_END must be used prior to C99 or C+++11
 
10:08 PM
@iArnold Can't be that old. The warning is based on what you chose for your STANDARD. If you say standard: gnu99 in your make.r line then that should work.
They might just not default to C99 for some reason, but it must have it.
I don't know exactly when the switch was flipped to assume .c meant c99, but nowadays if you want c89 you have to ask for it. There weren't a lot of "breaking" changes so most people wouldn't notice.
@Edoc I'm excited about the "tell me what type a token might be...but, well might not be" feature. :-)
We already scan without loading (two steps) so what's more interesting would be to have a mode that does both...which we have sort of for the API, but it's not very good.
I'm in favor of a state-table based scanner instead of the if()else() miasma that exists in %l-scan.c ... so I guess the good news is that if that were a priority, the Red work is reusable. Not sure why one has to have excel to develop on it. Didn't they have a Red spreadsheet?
 

« first day (3565 days earlier)      last day (215 days later) »