« first day (3096 days earlier)      last day (684 days later) » 

6:33 AM
@GrahamChiu Uh-oh! :-/ I built it with AIDE ... let me publish the source...
 
6:46 AM
@giuliolunati did you scan it as well?
 
 
1 hour later…
7:53 AM
@iArnold did you try the chess app?
 
 
3 hours later…
10:43 AM
@GrahamChiu nope
 
10:53 AM
@GrahamChiu Just barely.
 
11:36 AM
@giuliolunati Good enough for now! It seems maybe some day amazon will not let you use Python pip before pip3. We're not at that day yet, so this works!
 
 
2 hours later…
1:45 PM
So I feel like if I type in download #{1020} or just say download some-binary it should fabricate a name. The name should be like .bin if it was a binary, or .txt if it was a string by default. Etc.
But you should also be able to say what the name is. However I think download/filename data name is awkward.
We could use skippable parameters and say download @(name) data. You could put arbitrary expressions inside the @(...). Then, we could treat @file.txt as literally the name. That seems cool to me, and I think that "NewPath" is going to be built on top of the @ feature.
 
@HostileFork what if we use the content of the load-r3.js script to set some vars? E.g. <script src='load-r3.js>/* remote=true */</script>
 
@giuliolunati I don't know much about it to tell you if that's a good idea or not! But I do think we should move away from having load_r3.js look at the URL, and have the caller decode into options. (At least, it shouldn't look at the URL by default. Maybe for convenience there be a way to ask for it?)
It doesn't seem too hard to me to pass as an object to reb.Startup().
 
2:41 PM
@HostileFork That doesn't work for options that need to be known before the loading process, namely remote / local
@HostileFork or it might use only one URL option e.g. ?load-r3="remote any-option: value..."
Or more rebolish: ?load-r3: ... options ...&normal options...
 
3:05 PM
@giuliolunati Doesn't all the decisions it needs to make based on remote/local come during the reb.Startup()?
 
3:23 PM
@HostileFork sorry, the code in load-r3.js has evolved ... I don't understand it completely... I see a call to reb.Startup inside reb.Startup itself, I'm wrong?
 
@giuliolunati It is the way JavaScript does "specialize"... with bind(). I am "specializing the console parameter". It takes a function with 2 args and reduces it to one with 1 arg, that is all.
(JS can only specialize the leading parameters out)
It is to make sure that there are no uses of console.log() directly, and it always calls config.log()
So startup does not get called until the user calls with reb.Startup()
 
 
8 hours later…
11:19 PM
posted on April 23, 2019 by lkppo

%/C/devel/ren-c-orig/tests/network/dns.test.reb (did all [ tuple? address: read dns://rebol.com "rebol.com" = read join dns:// address ]) "failed, test returned #[false]" %/C/devel/ren-c-orig/tests/network/http.test.reb ( ; !!! Note that returning a WORD! from a function ending in ? is not seen ; as a good practice, and will likely change. ; 'file = exists? http://www.rebol.com/inde

 

« first day (3096 days earlier)      last day (684 days later) »