« first day (3448 days earlier)      last day (332 days later) » 

12:18 AM
@HostileForksaysdonttrustSE I think I have at least gotten around the issue with load-json by reading the file separately and using to-json although incredibly slow
 
@kealist Nothing will be very fast in ginormous files with a debug build...
 
Using a 6MB json file in this case, but not sure that I built a debug build, unless that is the default for mingw configs
Seems to take about 5 minutes to to-json the file
 
Ah. Well, I thought you were still messing with the build I gave you. In any case, if you can get your project working and are good to put it up on Travis and set it up with a test, we can look at what in particular it's doing.
 
I messed with it to get the build process working
 
I keep performance in mind as sort of a foundational concept, when things present barriers that can't be made faster. But not so much on the day to day.
So if anyone is particularly bothered by anything they need to bring that particular thing up to be looked at.
I started some timing stuff that was kind of based on the debugger tracing that was in the works, so you could get a list of the time spent inclusive inside various functions. It's a little hard, because of anonymous functions. But also, the debugger really has to get rethought with stackless. Sigh.
 
 
11 hours later…
12:00 PM
Visual Studio 2019 has deprecated support for building for Windows XP. You still can, apparently, but you have to install optional components.
We are definitely a rare case of a system holding itself together in a way that you can still build the current codebase on the old platform with the old tools. But the ability to use a current compiler to target older systems is vanishing in many ways--some subtle, some not so subtle.
@giuliolunati Hope all continues to be well in your part of the world... maybe multiple return values are fun :-)
I will try and get it to do type checking, so if you say /foo [<output> integer!] it will be that foo is a WORD! or PATH! to be set, but at the end of the function you will have to have set it to an INTEGER!.
 
 
3 hours later…
2:50 PM
posted on April 09, 2020 by @hostilefork Brian Dickens

@hostilefork wrote: Today I hit something that was a bit of an annoyance. I couldn't use our fun BLANK!-in-NULL-out convention with SET. So instead of: set try my-variable-that-may-be-null value I had to write: if my-variable-that-may-be-null [ set my-variable-that-may-be-null value ] How irritating this is depends on the length of the variable

 
^-- I mention a somewhat odd concept there of BLANK! evaluating to NULL. This is not to be confused with my "wacky proposal" that variables which are blank evaluate to null when referenced. It is merely due to the fact that using a lone apostrophe in space to represent a thing that becomes null when evaluated is not particularly aesthetic.
 
3:10 PM
^-- Ren-C demonstrating multiple-return-values on Windows XP.
 
 
8 hours later…
11:10 PM
>> do %source-tools.reb
Script: Rebol 'Lint'-style Checking Tool for source code invariants Version: Date:
** Internal Error: Illegal CR: See DELINE, and TO-TEXT/RELAX: "^M"
** Where: _ do either _ _ _ do either _ _ either if load _ do do catch either else _ do console
** Near: (line 3) Title: "Common Routines for Tools"
** File: ../../tools/common.r
** Line: 3
@kealist ^-- I threw a CR in on line 3 and it is managing to give a coherent error.
Getting the filename and line number tunneled around is no small feat; R3-Alpha never did so. All the TRANSCODE stuff in userspace never passed around the file, and had inaccurate line numbers because they never took into account lines skipped in the header. But... I think I've sorted it. Should make error messages better across the board during LOAD-time.
We do have the nice-but-latent feature of tying blocks back to their line and file as well. It's there, it's tricky, but these things are slated to keep getting better over time.
 
11:39 PM
The idea of word: 'hi | compose [(word): :(word) '(word) @(word)] giving you [hi: :hi 'hi @hi] is cool. We can transform the decorations on things and quote them. But there's no syntax for removing the decoration from things. :-/ We could arguably use ([ ... ]) for splicing and (( ... )) for "plainification". But I don't like how that looks... (( )) calls a lot more attention to itself and is obviously devoid of unique meaning in DO.
 

« first day (3448 days earlier)      last day (332 days later) »