« first day (3323 days earlier)      last day (457 days later) » 

6:56 AM
I did not realize Chrome has a task manager in it. (More Tools => Task Manager). You can see which tabs/processes are taking up memory and kill them. That is useful.
 
 
2 hours later…
8:29 AM
@HostileFork Nice! Thanks for this tip!
 
 
1 hour later…
9:47 AM
posted on December 06, 2019 by @hostilefork Brian Dickens

@hostilefork wrote: I wanted to write a short explanation about why switching Rebol to a stackless implementation--similar to Stackless Python--has jumped itself up in the priority queue, to something I'm working on in the near term. It's not a frivolous feature. It's because: the Wasm build broke. The patch I made to "fix" it means that if you say

 
10:06 AM
^-- I'm going to try to do this concurrently with other things, e.g. what I've been doing this week with the NULL refinements and trying to get that thinking pinned down. If people will read my explanation here, hopefully it's clear why this has been a long tough set of questions, and that this feels convergent.
 
 
1 hour later…
11:18 AM
posted on December 06, 2019 by hostilefork

The PR title says the most important bit. Where unused refinements used to be BLANK!, this makes them NULL...and then gets rid of the idea that you need a GET-WORD! or GET-PATH! to fetch nulls without error. This tightens things up, for instance in places like ARRAY/INITIAL where you might literally want to ask for BLANK!, and where not saying /INITIAL might have a different subtlety to it.

 
 
7 hours later…
6:29 PM
posted on December 06, 2019 by @rgchris Chris

@rgchris wrote: A fundamental Rebol 2 feature lacking from Rebol 3 (and by extension, Ren-C) is the concept of Input/Output ports (and missing from Rebol 2 was an Error port). In Rebol 2, the Console scheme was used for both Input/Output when the interpreter was invoked without argument (thus entering the REPL loop), whereas when invoked with argument (

 
6:47 PM
posted on December 06, 2019 by rgchris

Parsing on 'refinements' fails in the current build: Rebol 3 (Ren-C branch) [version: 2.102.0.2.40 build: 16-Nov-2019/8:07:15+0:00] >> parse [/foo][/foo] ; null This seems problematic where the 'refinement' style of path is still a first-class dialect element within the core language (function specifications). I understand you can handle this with a lit-bit, but is still worth consider

 
@Feeds I'm maybe a bit hasty on this one, but just happens to be in my line of thought today.
 
 
4 hours later…
10:48 PM
@rgchris Per my comments, I think it's probably best as is, and I think we may want to pave the way for the future by making a blank-headed PATH! an error in the evaluator. You have '/this and '/this/too if you want it literally, and @this and @/this/too and @this/as/well/ if you want an inert type you can throw around that stays inert.
 
Really wish there was a non-@ way of expressing those.
 
Redbol would take a hit on that (forced to use Redbol-QUOTE on what it thought of as REFINEMENT!), but per reading about the pluggable evaluator functions in Python I am starting to give serious thought to how you could ask to hook the evaluator to preprocess as you go along. One could imagine Redbol functions being able to institute their own feed processor that handled such paths inertly, but also other kinds of rewrites.
@rgchris foo/bar evaluates in Rebol. 'foo/bar saves you from one evaluation step, but if you say var: 'foo/bar and then compose [var2: (var)] you'll need another tick on it to avoid evaluation, e.g. compose [var2: '(var)]. But hey, at least you can do it.
 
Are none blank-headed paths still the preferred way of expressing function refinements?
 
Compared to?
I am thinking new apply will use SET-WORD! and not PATH!. So apply :append [series value dup: 10]
If you don't want a set-word to be collected, think like an OBJECT!, only top level, so apply :append [(x: series) value dup: 10]. That x: will not be seen as a refinement name.
 
@HostileFork That seems reasonable, I just bristle a bit with function [/thing] where /thing has hidden qualities.
 
10:56 PM
function [append] where append has hidden qualities?
@rgchris It's valid to defend the idea of /thing being a way to get another class of inert, where @thing may seem heavy by comparison. This does run up against the other points of why / was picked for its active role over where languages usually use .
We haven't really delved into the idea of . being an analogue to / but for inertness, which would help pick up slack on today's rather unimpressive TUPLE! to give a bigger class of parts.
 
@HostileFork I'm not sure what you mean? I understand function [/thing] as now akin to function [[none thing]] which sits a bit uncomfortably. I used paths for a time in AltXML for Rebol 3 where [tag ...] was actually [#[path! [namespace tag] 2 ...] which raised problems aesthetically and cognitively.
 
.foo and .foo.bar and .foo/bar might make up for the loss of /foo and /foo/bar as evaluator-inert parts.
@rgchris It manifests in ways like words of :append coming back with /dup is no longer giving back an ANY-WORD! (and for this reason, the lingo is PARAMETERS OF. So I understand the mechanics of the objection.
But I think the need for /foo/bar and all its friends is strong enough to say that /foo is a PATH!. The function spec dialect and REFINEMENT! had their day to prove Rebol was ready for world takeover. And if what prevents it from taking over is that we can't find good ways for PARSE to let you say what you want when the spec dialect looks how you wanted, what does that say about your hope for BLOCK!s (as your example shows).
I'm not concerned about parse [/foo] ['/foo], but what does bother me is not being able to easily type check patterns that look like /foo for arguments...which speaks to other holes in the type checking (I can check for a BLOCK!, but not a length 2 block specifically, etc.)
 
11:51 PM
I began some work on "NewPath" operations that I felt added value, e.g. letting you join 'foo/ 'bar and join 'foo '/bar but disallowing the likes of join 'foo/bar 'baz, e.g. because that isn't like "putting a file in a directory" but that's just glomming files onto files. I find these kinds of things aren't formalized in bash/etc. and it leads to a lot of mistakes.
 

« first day (3323 days earlier)      last day (457 days later) »