« first day (1962 days earlier)      last day (1818 days later) » 

12:04 AM
@ShixinZeng great work! +1
@noein @HostileFork weird error in Emscripten build:
b:[/dup] b/1⇒ /(unnamed)
 
0
Q: rebol 3 - parsing string input for keywords

EdocI'm trying to parse some string input but I'm struggling to see the solution. However, this must be a well-known pattern-- it's just one I don't encounter frequently. Background: I have a short list of string keywords ("HEAD", "GET", "POST", "PUT") each of which are followed by additional string...

 
12:21 AM
Does Rebol3 support utf8? If so, is there anything special I need to do to make it work?
It seems to work in the command prompt:
>> print "Löddeköpinge"
 
; Brought to you by: try.rebol.nl
Löddeköpinge
 
So I'm thinking MySQL isn't configured correctly because it stores "Löddeköpinge"
Answering my own question:

mysql> alter table clients2 convert to character set utf8 collate utf8_general_ci;
Now it stores correctly.
 
@Respectech R3 uses UCS2 internally, and utf8 externally
 
@ShixinZeng Thanks for clarifying that!
 
@Respectech No problem
 
12:30 AM
@giuliolunati Nice job on enscripten!
@giuliolunati Just in case you are taking bug reports, the following seems to break the enscripten build:

for i 1 10 .5 [print i]
 
@Respectech yes bug reports are welcome, thank you! :-)
 
I have a young padawan learner who loves JavaScript and Canvas, and is learning Rebol. This should pique his interest!
 
Also
to-refinement 'b ⇒/(unnamed)
:-?
@Respectech Rebol output in Emscripten could be interpreted as HTML, so one could build a canvas or other stuff in the fly...
 
1:08 AM
OK. Still chasing the UTF8 problem.
>> print to-string #{C3B6}
 
; Brought to you by: try.rebol.nl
ö
 
But when I issue that same command in my R3 CGI script, the browser shows:

ö
Any ideas?
OK, found it.

<html><head><meta charset="UTF-8"></head>...</html>
 
2:07 AM
@Respectech Can also print as a header: print "Content-Type: text/html; charset=utf-8"
 
2:41 AM
@giuliolunati Hm, ick. Well this commit won't fix the problem but it will perhaps make it easier to find the offending location.
@ShixinZeng Nice graphs, good to see you've got it on the Ren-C branch...find any smoking guns yet? Keep in mind that it wouldn't necessarily be that much work to get the small REBSER data series into a single REBSER node--it's just been a low priority, and sort of letting the feature be tested on non-resizable cases like the frames and varargs first.
 
3:30 AM
I think in the balance of things, I'm going to go back to saying that x: () works for leaving x in an unset state, that x: () | x is an error and x: () | :x is a void, that if x: () [...] continues being an error (voids neither true nor false), and that while [value? item: take block] [do whatever with item] is the type of pattern used to work with voids when you want them in conditional contexts, where take [] => void
The obvious sacrifice there is "loss of locality of assignment of void values". Which can be seen as a loss, but when you look at the rigamarole required to handle the hot potato in light of how reasonable it is to want to process the information the hot potato can carry--it can be seen that probably a good half the time you wouldn't mind anyway.
 
Sorry to disappoint, but I can't Nevermind. The issue titles are clearly as identical as possible, is it something about the comments?
Wouldn't they be preserved even if #2092 is "Dismissed"?
 
There's already ensure if you're worried about getting a good value. x: ensure some expression. I guess this is an echo of what I said yesterday...if you're going to start worrying about the types so much, is void really the only thing you wanted to inhibit? str: the-function... you probably wanted it to be more than just not void, you probably wanted it to be a string.
 
I am only trying to get the open bug count down, for ease of cross-referencing.
As far as I could tell there is just as much duplication as there is new content in both bugs.
Basically I am way too curious about why you (@Ladislav) think dismissing one is a bad idea.
 
In any case, it's still a relatively hot potato. if x: take [] [...] will error on its own, for instance. x: take [] | while [x != 1] [...] will error.
 
Maybe I am misunderstanding Dismissed and Closed and how they are supposed to relate to Dup (and maybe even Wish) ...
 
3:45 AM
Also, set 'x ... could error on voids, which makes sense in line of set 'x something | assert [set? 'x] and corresponds nicely with the same behavior of get. Then set/opt and get/opt could correspond to the decorated x: and :x respectively, where it's optional.
It might be lightly uncomfortable to say that x/foo with foo not set would be an error while select x 'foo would be void and require any error to come out of the handling...but consider one very important difference: if PATH! evaluation finds a function, it will run it. The select will not.
 
3:59 AM
Also, if you can write:

all [true (some expression that's void) true]

Then it should ideally be frictionless to say:

expr: some expression that's void
all [true (:expr) true]
If there are contexts in which void-evaluating-expressions themselves are legal, then i you put in a barrier to that kind of assignment, you're sort of putting up an arbitrary barrier to factoring code. Note the same issue applies to expressions returning functions, in terms of needing the :expr vs. just expr
 
 
2 hours later…
5:55 AM
@RebolBot
unbound-word: load "blah"
print bound? unbound-word
print value? unbound-word
@RebolBot
unbound-word: to-word "blah"
print true? bound? unbound-word
print value? unbound-word
 
; Brought to you by: try.rebol.nl
false
false
 
If there's a function called set?, should it error or return false on an unbound word? I sort of feel like you would generally like to know that it was unbound through an error, and test that separately in the cases where you knew it could be unbound.
 
 
5 hours later…
10:45 AM
0
A: rebol 3 - parsing string input for keywords

draegtunHow's about this... ;; parse rules keyword: [{HEAD} | {GET} | {POST} | {PUT}] content: [not keyword skip] ;; prep results block... ["HEAD" [] "GET" [] "POST" [] "PUT" []] results: [] forskip keyword 2 [append results reduce [keyword/1 make block! 0]] parse/case str [ any [ copy k k...

 
11:21 AM
0
A: Parsing string input for keywords followed by content

draegtunHow's about this... ;; parse rules keyword: [{HEAD} | {GET} | {POST} | {PUT}] content: [not keyword skip] ;; prep results block... ["HEAD" [] "GET" [] "POST" [] "PUT" []] results: [] forskip keyword 2 [append results reduce [keyword/1 make block! 0]] parse/case str [ any [ copy k k...

 
@HostileFork Well, that commit (misteriously) fix the problem! :-) But if compiled with SAFE_HEAP=1 (adding check on pointers access) segfaults. :-(
@Respectech bug confirmed, thank you.
 
 
1 hour later…
12:33 PM
@HostileFork @Respectech @noein Emscripten build: my textbox interface was buggy, reverted to default (with hateful dialog box :-/ ...)
 
12:47 PM
0
A: Parsing string input for keywords followed by content

sqlabmaybe not so elegant, but even working with Rebol2 results: ["HEAD" [] "GET" [] "POST" [] "PUT" []] keyword: [{HEAD} | {GET} | {POST} | {PUT}] c2: none parse/case str [ any [ [copy k keyword c1: ] | [skip c2:] [keyword ( append results/:k trim copy/part c1 c2 ...

 
1:24 PM
@HostileFork Yes, I think I've found the memory problem in our application, it's the duplicated functions in the objects. We've been using thousands of objects that are derived from a few parent objects with big-sized functions (a few hundred K). We're in the process of rewriting the objects to de-duplicate the functions and verify my ideas
 
@ShixinZeng Ah, yes... I have complained often about that. I had the idea that refinements would be changed to be paths started with NONE!s, so that /x/y would run something like a this->x.y() ... basically cooperating with the evaluator to know what "this" is based on what dispatched the function call.
It's a vague sort of idea--I hadn't completely worked it out.
 
hmm, interesting, that would make OOP easier, I guess
 
But if there's some type that currently doesn't have any particular path dispatch behavior (none would be a candidate) you could do something like say this: none and then say this/x this/y this/z ...
Basically add a hook in so that if you dispatch a path starting with NONE it does that
I'd be very happy if we killed the copying of functions inside object bodies, and the only reason I hadn't done it yet was because I worried you were using it
I may not know what the exact solution to the problem is but "it's not that" :-/
 
Rebol is not an OOP language.
 
@MarkI Rebol is not a gigabytes per instance of object through rebinding already written function language
It's paradigm-neutral, remember?
 
1:33 PM
That's basically how we're gonna write our objects. Basically every class will have two objects, one for the functions (class) and the other for the instance, and each of them holds a reference to the other
 
Rebol is a prototyping object language, which requires careful design, so it is NOT paradigm-neutral in fact.
 
so in the functions, it uses 'instance/x', 'instance/y', etc.
 
See, Shixin gets it.
 
@ShixinZeng Will you be able to disable the rebinding-copying-of-functions and still have your code work?
 
@HostileFork is it an option available in the current code base?
 
1:39 PM
@ShixinZeng Just make Clonify_Function() a no-op.
@redbot
foo: func [a] [a]
copy :foo
 
; Brought to you by: try.rebol.nl
*** Script error: copy does not allow function for its value argument
*** Where: copy
*** Stack: do-console all not unset? set do first head reduce do* _execute if all not unset? set do first head reduce do* copy
 
uh, I can give that a try
 
It would be very good to get rid of Clonify_Function, and then whatever problems need to be solved--however they are solved--stick with "it's not that"
 
What's wrong with passing around object references? That's the way to do it in the prototyping object paradigm.
@HostileFork, I am serious with that question, can you tell me what is so horrible and awful about that?
Besides the fact that it is not OOP, I mean, of course ...
 
@MarkI I have one horse in this race--or one horse that needs to be shot--or whatever. Which is this function clonifying thing.
If that's gone I'll let people figure out what they're happy with or not happy with.
 
1:46 PM
I think you cannot see the forest for the trees there.
Cloning functions works great for what it was designed for. Don't use it for things it won't work for.
 
No, I am seeing a burning forest and looking to send in a helicopter with water sprayers to stop it and then we can decide what kind of forest trail markers to use.
There are a lot of problems in general with the idea that you can copy functions. It conceptually suggests there's some kind of state that a function accrues and that a deep copy of its body is the right way to "snapshot that state". This simply does not generalize. If I have a function generator and it gives me back a function, the generator may have linked that function to an object that is not picked up in the deep copy.
@RebolBot
foo: function [] [data: [] append data 1 print mold data]

foo foo
bar: copy :foo
foo foo
bar
 
; Brought to you by: try.rebol.nl
[1]
[1 1]
[1 1 1]
[1 1 1 1]
[1 1 1]
 
@RebolBot
foo: closure [] [data: [] append data 1 print mold data]

foo foo
bar: copy :foo
foo foo
bar
 
; Brought to you by: try.rebol.nl
[1]
[1]
[1]
[1]
[1]
 
^-- and then there's that (specific binding makes those behave identically, whatever identically is...well there's no closure, but basically durable or non is the same) but the thing is there's just not a good model for copying functions in general.
 
2:02 PM
@HostileFork According to whom?
Functional languages do it all the time.
Do you mean in Rebol there's "just not a good model"?
To me, there are exactly two choices. Functions are first-class objects or they are not. The former implies they can be copied.
 
2:25 PM
@MarkI Yes, Rebol is the context here.
Anyway, there are tons of questions which were not answered in the model, and if you have a function in an object which has a foo: does [something] inside of it, that doesn't currently get rebound (only does the functions that are directly fields of the object being MAKE'd).
 
@HostileFork Um, that actually turns out not to be the case:
>> x1: object [a: 1 g: func [/local f][f: does [print a] f]] x1/g x2: make x1 [a: 3] x2/g
 
; Brought to you by: try.rebol.nl
1
3
 
Well there's some variant of it that doesn't work, I'll have to remember what it was
I've already pointed out closures not working
 
 
1 hour later…
3:37 PM
@giuliolunati Does emscripten have a way to give any information about the pointer that is not aligned? Undefined behavior sanitizer has a checker for pointer alignments, but I'm not getting any warning triggered by that refinement code...but also, the decimal reads weren't triggering ubsan either (it only checks alignment of pointer variables)
@RebolBot
parent: make object! [a: 1 inner: make object! [printer: does [print a]]]
child: make parent [a: 2]
child/inner/printer
 
; Brought to you by: try.rebol.nl
1
 
@MarkI ^-- I guess that is what I was thinking of
 
4:13 PM
>> empty? next ["this actually has something in it, it's just at the tail"]
 
; Brought to you by: try.rebol.nl
== true
 
4:46 PM
@HostileFork Inner objects are not cloned, and words that are not in the object's context are not rebound on cloning. You have to do both manually:
>> proto: object [a: 1 inner: object [b: a]] print proto/inner/b instance: make proto [a: 2 inner: make proto/inner [b: a]] print instance/inner/b
 
; Brought to you by: try.rebol.nl
1
2
 
Which has nothing to do with functions BTW.
 
@MarkI I assure you I know much more about the implementation than anyone at this point, I just misremembered which thing it didn't recurse into.
Look. As much as you enjoy taking random strings and splattering into the lexer as if you think you're going to read some mystical genius design in those tea leaves, there isn't.
 
Arguably it is a bug that inner objects are not cloned, and nested contexts therein are not accounted for.
@HostileFork Um, what?
 
And I assure you that Rebol is the by-product of evolution with very little thought in terms of edge cases or how the decisions would play out in the large. It is an experiment. So please stop treating how it handles objects as if it's some kind of thing that we should all look up to as if there's great wisdom and genius in their design.
 
4:52 PM
@HostileFork Please stop putting words in my mouth!
I am just stating facts.
2 mins ago, by MarkI
Arguably it is a bug that inner objects are not cloned, and nested contexts therein are not accounted for.
 
@giuliolunati Is it possible to get the emscripten build to display graphics?
 
Clearly I am not doing what you say I am doing.
And you unnecessarily rile people by suggesting that Rebol is "a product of ... very little thought".
 
That's a part of a sentence that continues "...in terms of edge cases or how the decisions would play out in the large". And I stand by that.
 
@HostileFork I would disagree. I worked with Carl when he was making those decisions, and he put a LOT of thought into everything he designed into the language (including the edge cases). However, he probably could not have foreseen the current state of things.
 
@Respectech What one achieves in the emscripten build is essentially a string-in and string-out interface. So you can pass a Rebol that can maintain state input strings and get data back from it. So like a RebolBot that remembers things between calls.
 
4:59 PM
The fact that bugs are present does not mean no thinking took place. Unlike @Respectech, however, I can offer you no proof of this.
 
I'm going to keep my point focused here and say that the way objects work, the way unsets work, the way making an object from a parent works... it's a lot of black holes.
 
@MarkI - AFAIK, inner objects not being cloned, is a feature, no? I mean - Rebol always shared subobjects to save the memore. It was a cause of many user errors, including GUI, etc.
 
>> make object! [x: quote () y: quote z:]
 
; Brought to you by: try.rebol.nl
== RESULT is an object of value:
   x               paren!    length: 0
   y               set-word! z:
   z               none!     none
 
>> to-block make object! [a: 'foo]
 
5:05 PM
@pekr Well, sometime someone may want it. I did say "arguably". In any case, the manual way of doing it is ... not trivial.
 
; Brought to you by: try.rebol.nl
== [
    a: foo
]
 
All of these things, in terms of round tripping or consideration of the object, contexts being evaluative or not... the SELF being built into the word binding machinery ad-hoc, I assure you it is evolution...it is not design. And it's time to ask questions. I will not tolerate being told somehow that there's an issue of me being ignorant about some grand design that's not there.
The answer is not that some system mechanic follows every link it can in order to make a copy of the entire graph of memory each time a new object is made.
 
5:29 PM
Whether or not it is good to have participation from the stack in the dispatch of foo/bar whereby if that looks up to a function, it could know it was being run from foo, I don't know. But the idea that the stack doesn't interact with the system in general is false...there's throws and returns and other such magic. It's a tool in the box that isn't needing to make a deep rebound copy of every function or member in an object to create a new instance.
 
6:02 PM
@HostileFork sorry, I don't know.
@Respectech for now, I'm in trouble to get simple console working! :-/
 
@giuliolunati Have you read through their Debugging page?
 
6:49 PM
What do you think of 'form and 'print adding extra space? Trying to obey some missing features in Red, the only thing (apart from porting 'rejoin) I am left with is 'form. I found it really retarded, that we can live with extra space it adds (the same for print) for all that time
I was really vocal to make parse/all default for R3 parse. I would do the same with print/form. Stupid automatism, which does not make life easier at all
 
@pekr Two concepts I'd considered were: characters do not introduce spaces (so that print ["line one" newline "line two"] would not insert the spacing... as well as the idea that literal blocks in the print spec would group tightly, so that print [["this" "is" "tight"] ["so" "is" "this"]] => "thisistight soisthis"
Working with the details of a thorough print dialect has been more challenging than it appears on the surface...and it's especially a bit troubling to have people get used to print x as a way to output values but then slip up when x: [format hard drive] and it gets executed.
 
You know, I have worked in MSDOS mode (CA-Clipper, FoxPro), for 12 years. We did many cash register systems, etc., plus columnar designed reports. We were precise about each space, to have stuff aligned/padded. And this stuff is really imo not useful.
What I actually think is, that those are exactly those small bits, you are trying to narrow down, but having many of them, the design might feel sometimes flawed.
 
I think just the basic question of the print x behavior, where people are bound to pass that a data block and wind up with it getting executed, is a baseline question to consider...which led me to wonder if it would be best if print only took blocks. Then you would be so used to seeing print [10] and print [x] that if you just saw print x you would know "oh, x must be a block that's being passed as an executable print spec"
 
I would not mind it ...
 
That would suggest that print [blk] if blk were a data block would be just printed as data. But my suggestion there was that you could tighten a section to print with a literal block in the spec. So print [[a b c]] is different from blk: [a b c] | print [blk] because the first would evaluate a b c. I don't know in particular that I've drawn any big conclusions from testing it.
One new and maybe weird possibility would be if NONE! were treated as a space, where _ is a literal NONE! in Ren-C. print ["abc" _ "def"] isn't such a terrible way to put a space in.
And similiarly, in the PRINT dialect maybe BAR! is newline. :-/ I dunno.
 
7:07 PM
Those answers don't come easy ....
 
I certainly do agree that the status quo has not been good, and a new plan is needed of some kind.
Because PRINT right now does the arbitrary evaluations of any code without needing it in parentheses or otherwise, it is difficult to make it into an interesting dialect. So for instance if _ is used as a space, you've got a problem if someone is trying to use it to pass a none argument to a function that's being evaluated. How do you tell a none being passed as a parameter from one that's being used in a dialect way?
One solution is to do all evaluations in parentheses...but there are some alternatives such as what FAIL does, which is to allow simple expressions (words that look up to non-functions and arity-0 functions, for instance) but require anything that takes arguments to be in a group.
So you can say x: 10 | fail ["invalid value for x:" x] but you can't write x: 10 | fail ["invalid value for x:" x + 1]...you have to say x: 10 | fail ["invalid value for x:" (x + 1)]
If the PRINT construct went to more of a compromise like that, it could open the doors to interesting dialecting...for instance the _ literal NONE! meaning space.
It's hard to let go of the implicit spacing though. Even just with the fail example there, fail ["invalid value for x: " (x + 1)] has the "dangling space", fail ["invalid value for x:" space (x + 1)] is too noisy, fail ["invalid value for x:" _ (x + 1)] is noisier than the dangling space, but you don't always have a string literal... so fail [str _ (x + 1)]
 
7:41 PM
Most of the time, constructing some print value, I have put "this value: " space there automatically, and ended up with actually two spaces ....
It is imo a nonsense from the very beginning, which did not make life easier to just anyone ....
 
I have filed a request at github to delete the rebol/rebol repository for reason of inactivity. After this request has been followed up on, the ships of the past will be burned and the way to the future will be finally opened.
 
@iArnold I don't think that's how it works.
 
What would you know about that?? ;-)
 
@HostileFork - why not? We are a Rebol terrorists ... a terrifying terrorists :-)
 
Well, one's welcome to try I suppose.
 
7:46 PM
(hopefully you saw Achmed, the terrorist on youtube :-)
 
At some point I believe so
 
He's cute ;-)
I have mailed again to Carl that there has to be someone else to be appointed as keeper of the source.
 
What actually happened to Earl? It is a pity, he did not publish sources of his secret project ...
 
May isn't too far away. You can ask him then.
 
Yesterday, BrianH liked FB post about Red GUI OS-X initial button example. Pity those ppl are not more active anymore ...
 
7:50 PM
Probably doing something more productive :-)
 
at least money wise..
 
BrianH? Yes, Ruby community finally got him involved ...
But - I use Ruby at work hence I contribute to Ruby, is just - excuses, sorry ....
... but at the same time, a free decision of anyone ....
 
I think that is one of the problems Nenad had for getting these guys on board. You need to make a good offer and give a perspective for a longer time to get people to leave a more secure alternative.
 
Hm. I wonder what FORM is really for. I was trying to think of it as a kind of engine that would be shared among "print like" abstractions, FAIL being an example above. How important is form [:a] => ":a" when there is mold, anyway? Who uses that and for what?
What about something more like form [a _ 2] => "a 2" ... a: 1 | form [:a _ 2] => "1 2" ... a: 1 | form [(1 + a) _ 2] => "2 2".
Does start getting a bit "decorative" if you have to use get-words for print ["The value of x is" _ :x]...one seemingly rarely wants to say print ["The value of x is" _ x] and get it to print "x" literally.
Perhaps the burden should be on the forming of words-as-their-names to use lit-words. form ['a _ 2] => "a 2"
>> form [a 'b :c d:]
 
8:05 PM
; Brought to you by: try.rebol.nl
== "a 'b :c d:"
 
I'm again questioning exactly what the use for that is, vs. mold/only
 
>> ? form
 
; Brought to you by: try.rebol.nl
USAGE:
    FORM value

DESCRIPTION:
    Converts a value to a human-readable string.
    FORM is a native value.

ARGUMENTS:
    value -- The value to form (any-type!)
 
@HostileFork is cell.subfeed in Reb_Frame only used by varargs?
 
Converts a value to a human-readable string.
 
8:15 PM
@rebolek Rebol syntax can't be read by humans?
 
@HostileFork It can, but there are some forms that are more readable than other.
Anyway, it can do much better job, IMO.
But I find it useful.
 
@rebolek For a block how is it different from mold/only ?
@ShixinZeng The "cell" slot it lives in can also be used to temporarily hold an EVAL value
But if not that, then it should only be used by varargs
 
@HostileFork I am asking because it crashed on this line github.com/zsx/r3/blob/dump-mem/src/core/m-gc.c#L803
 
>> block: [1 "2"] print form block print mold/only block
 
and I don't think I'm using varargs
 
8:17 PM
; Brought to you by: try.rebol.nl
1 2
1 "2"
 
@HostileFork see above
 
@HostileFork when it crashed, f->cell.subfeed == 0x3
 
@ShixinZeng varargs is in use in general for some bridging, so it might be used even if you don't think it is. I'll take a look at a repro case if you have one. As per usual with GC-things, you might try an aggressive GC-on-every-step or similar to see what the exact failing instruction is...
 
I can reproduce it, but only with our memory-hog application, and it took a few minutes to hit it
I'll see if I can reduce it
 
Tx
@ShixinZeng Hopefully you've noticed the DO_COUNT_BREAKPOINT and the do_count snapshotted at each frame / stacklevel, which is helpful.
 
8:35 PM
How do I find the current Reb_Frame name? by f->opt_label_sym?
 
@ShixinZeng Debug builds should capture the string in frames that are in the middle of running functions... f->label_str
(I have some fixes to some edge cases that weren't caching that string right that are not pushed to master, though it should have worked most of the time.)
 
It's been running more than 7 min and used more than 2G memory, and hasn't hit that line yet
 
On the bright side, that's a lot of running without crashing :-)
 
Yep, and still counting
It finally hit it, it's in the a user function from our application, which is not a varargs!
 
8:58 PM
@ShixinZeng Hmmm... when you get the crash what is f->mode?
 
CALL_MODE_FUNCTION
 
It should have been cleared out by this line. I guess the question would be, on that crashing tick count how did it get set to something other than NULL.
 
@HostileFork Once I have DO_COUNT_BREAKPOINT set, do I need to manually set a breakpoint in eval.c?
 
@ShixinZeng It uses the debugbreak.h, it should work automatically.
Unfortunately if you're running from a command prompt, it doesn't offer a "continue" button, so really it should be some kind of command-line parameter for that number.
Haven't gotten around to it
 
Do you have anything else for me to check before rerun it and wait another 10 min?
 
9:07 PM
Nothing I can think of. I guess I'd suggest setting a data breakpoint on the subfeed when you hit the tick, in case something happens while you're stepping you miss.
@ShixinZeng or if you've never on that machine done a DO_COUNT_BREAKPOINT, make sure it works with a small number first
 
9:33 PM
It didn't break
Let me find out
 
@ShixinZeng Hmmm...wait, the count may be a REBCNT...you are probably overflowing :-/ I guess that needs to be a REBUPT. I've actually changed that locally...not committed I guess.
 
No, it didn't overflow
it's 2140526
I see PROBE_MSG(f->value, "Do_Core() count trap");
 
It should have broken in at the switch(Eval_Type()). Did you try the test with the small number to make sure debug_break() is working?
If so, did you rebuild again after updating the number from the small test number to the large #?
 
No, I didn't try a smaller number
I'll give it a try after this run
 
@ShixinZeng Ah, again I forget how far behind master is from what I've been doing. :-/ You do have to put a manual breakpoint here: github.com/metaeducation/ren-c/blob/master/src/core/…
 
9:43 PM
that's what I did
;)
 
9:56 PM
It hit the breakpoint, and f->cell is 0x3
Going home, and will take a closer look tomorrow
 
@ShixinZeng The value of interest is f->cell.subfeed, and at the moment of breakpoint it's okay for it to be any value...it's just that before the GC can run and have it in the CALL_MODE_FUNCTION it needs to get cleared by this line. So if you're at that breakpoint, and step along, and make it to the GC in CALL_MODE_FUNCTION before that line runs somehow... that's a problem
 
10:44 PM
Anyways, I do prattle on, forgive me everyone. I have my PEG, I am slow in publishing it, that steams me.
@HostileFork, no worries, if we can make a good OOP language out of Rebol, I will be the opposite of unhappy.
 
@MarkI The inner-objects thing was considered a feature in Rebol/View where, for example, all buttons shared the same handler and facet objects. This was said to be efficient as it avoided widespread duplication. "For example, BUTTON faces share a single FEEL object that specifies the operations of a button. Modifying the FEEL object of a button will modify the FEEL object of all other buttons."
(I'm not arguing whether this is good or bad, just that it was a thing)
 
@rgchris I feel it has some place in a design, but I'm not saying I know where or how.
I'd be happy if we could do both, cleanly and clearly.
 

« first day (1962 days earlier)      last day (1818 days later) »