« first day (1725 days earlier)      last day (2055 days later) » 

12:27 AM
@moliad @ingo @MarkI Last time I tried it was impossible to encode an equals sign in a Rebol 3 url! It percent encodes the equal before adding to the url. Which means you can't put an equals as a value in a Http Get query string. Found out while testing a Trello search of special characters by api.
 
 
2 hours later…
2:01 AM
Q1: if I merge or rebase some of @ShixinZeng cmake stuff, then do my own changes to other parts of my version of RenC and later do a pull request into @HostileFork repo..... will it indirectly bring in @ShixinZeng changes too? I am thinking it has to.
Q2: what if the target already has those commits, it will ignore pulling those nodes, just adding the new ones?
 
@moliad Yes, it will include everything from the common merge base between your submitted branch and the branch you issue your pull request against.
@moliad Yes, commits already present (same SHA1 commit-id) won't show up in PRs.
Well, the latter strictly speaking depends again on "how" they are already present.
 
how so?
 
Say you start from a branch at commit A, someone else does that as well. This someone else adds commits B, C, D, which are then submitted to the originator you also got your A from.
Let's say you integrate B, C, D to your work before the original author of A does.
Now, later, B C D are merged onto A, say, creating a merge commit E.
If you add commits X, Y, Z after D (so your history is A B C D X Y Z) and then submit that back to A's original branch (history is currently A B C D E), the merge base will still be A, the commits B C D will be listed in the pull request, but they won't have any effect diff-wise.
Easier to explain in graphical form :)
In any case, gotta run. See you around.
 
ok thanks... its very clear.
l8tr
 
2:51 AM
darn... trying to install cmake I got an error that my PATH env is too long and that it could not modify it!
strange... seems I got to manipulating it manually from within the system's env paths.
 
3:20 AM
@ShixinZeng I really don't want to sound negative wrt your cmake integration, its awesome. the only thing I'm noticing right now is that the way the whole system is setup, I must put my msvc solution within the repository. is it possible to make it so the paths included in the msvc projects adapt to where it is in relation to the repo?
I am guessing, in your setup, you currently put all the MSVC solution files right in the make folder?
if my request is unfeasible or will require a lot of research and time... don't bother.
 
3:37 AM
@ShixinZeng the generated solution almost works out of the box, I'm getting an error with the #include "host-ext-core.h" which doesn't seem to be generated out of the box.
 
4:09 AM
for some reason the core-ext.r script isn't executed automatically from within the cmake toolchain (it is enabled in the file-base.r in the made: [ ... ] , but its not in the tools: [ ... ] block... should it be there too?
in any case... running the core-ext.r script manually, and re-compiling did the trick.
I Got it compiled and running ... YAY! :-D
3
at some point we should maybe start to put more comments into the various rebol scripts in the tools folder, they really need to get some documentation.
good night to all.
 
4:38 AM
@Brett We are definitely going to improve url (and other) encoding. For now you'll have to work around it, methods have been discussed here.
@earl I just asked HF that question. I was so hoping you had a plan, mine needs some ... fleshing out, let's say.
Though I am reading between your lines, there is really no "block construct" and block literals are, well, blocks.
I am assuming you mean how to choose between literals like #(mappy ness) versus constructs like #[map! [mappy ness]], for map!s in this case.
Which is slightly hard to talk about since currently Rebol has no literals like that, not for maps or anything else.
So maybe by literal you mean the standard Rebol "doable" form, which would be in my example something like make map! [mappy ness].
Anyways, that's where my thinking is currently, making things harder by considering 3 (or more) different output forms.
We have 3 ways of inputting characters, don't we? Oh yeah, right, not on output, sigh.
Entertaining sidebar:
There is actually a block construct.
It's #[block! [<zort>]], in which I'm letting the tag be a placeholder.
However, what results is exactly, and I mean exactly, as if you had instead input [<zort>].
That is, the (left) #[block! and (right) ] wrapper is nothing but a no-op.
So, there isn't really a block construct.
But I'm not saying we should remove it. And that's not just because it isn't really there ... :)
 
5:23 AM
@MarkI Cool I'd like to see a workaround because I'm not sure one exists currently.
For example would you be able to replace "ferret" with "=test=" in the following url?
http:// example.com/over/there?name=ferret
using rebol 3?
Encoding the = of course.
Perhaps just point me to the workaround and I'll have a play. Thanks.
I probably should be clearer. The query value "=test=" needs to be percent encoded, but try adding that when it's percent encoded to an url - the percents get encoded... But it's not valid to add "=test=" without percent encoding the equals because it will not be recognised as a query value, just a malformed query string.
Anyway, it's not a showstopper for me.
 
 
3 hours later…
8:35 AM
@Brett Can you double encode it?
http://example.com/over/there?name=%253Dtest%253D
Interesting, this works in R2 but not in R3
 
8:59 AM
@moliad I would like a README.md in each folder.
GitHub is kind enough to show it to you when you are browsing files in said folder.
 
 
3 hours later…
12:02 PM
@Brett The workaround apparently only works for R2, where you probably don't even need it. I am so sorry.
 
12:46 PM
@noein News, and people are busy now. Feel free to build and join. :-)
 
1:19 PM
posted on July 22, 2015 by qtxie

FEAT: use percent! datatype for progress and slider data by qtxie

 
1:34 PM
Debug builds need to report that they are debug builds, and what is turned on. So if something is a debug build running with address sanitizer, it should say so.
And actually, I would go as far as to say that if a debug build is not running with address sanitizer, it should have an alert to that effect to remind you that it isn't.
Because I periodically forget to turn it back on after I disable it for some other reason.
So right before the command prompt:

** Debug checking enabled
** Address Sanitization DISABLED
Whereas if you have it on be less alarming.
** Debug checking enabled
** Address Sanitization enabled
 
2:16 PM
@moliad Yes, I put the solution and projects files under make/, it was basically I ran "make -f Makefile" from make/ on non-Windows, and it just worked on Windows as well.
 
2:30 PM
@moliad Yes, I missed host-ext-core.h. It's now fixed. Thanks!
 
3:20 PM
0
Q: Reflective properties of an object

LuisWhen reading about reflective properties there's an example at the end of the web page where foreach word next first object [ print rejoin [word ":" tab get in object word] ] When I try to mimic the foreach word next first object in Rebol 3 I get ** Script error: cannot use pick...

 
3:45 PM
For all those of you writing Native routines, there's a little change to know about... what was previously called D_RET is now D_OUT.
Because shortly, each function call will have a pointer for where to output its result (maybe on the data stack, maybe not) and a return... but the return is a function. Or acts like one, anyway...it's a function value which is customized/linked to that call.
The number of you this will affect is probably not very large, yet. :-)
 
 
2 hours later…
5:56 PM
@iceflow19 CMake now with Shixin's branch... I'm sure he could use another tester when you get a moment...
 
I'll update my branch and give it a spin
 
@iceflow19 Note he hasn't sent a PR yet, and I haven't integrated it. So you'll have to get it from his repo.
 
I already had it locally since yesterday
Btw is it possible to multithread the Ren-CPP runtime if each runtime can be isolated from each other without interaction?
 
Nice. :-) Fast development is good, Rebol users won't know what to do...
It's close. The necessary "engine" parameter was integrated into the value wrappers for futureproofing.
With the changes I've got coming, the answer is "yes, probably"
 
Ok, because I'll need that for something I'm working on...
 
6:06 PM
No timeline promises on that. It has not been done. Other things I'm doing are more or less reapplications and rethinkings of things that were already done, just trying to do them a little more minimally and strategically.
Multithreading Rebol instances in the same process at the same time has not been done yet.
It would be a "new trick"
 
Hmm. Shixin didn't integrate the make-cmake with makefile.boot ...
 
@iceflow19 Raises the question of if make -f makefile.boot CMakeLists.txt should be the command for it. Is only one file generated?
I'm still on the fence of what the targets should be. make make just seeming too opaque. make gnu-make and make cmake are better.
 
It also seems that on windows it configures and generates the ms project by default. Some of us use mingw... @ShixinZeng
Or maybe I'm missing a flag to feed to cmake...
@HostileFork If Im understanding this correctly it looks like the current behavior is set to take an OSID and then hard codes that into the CMakeLists...
 
In the GNUmake version, you can override the hardcoded OS_ID if you choose to run make make again, without having to run the makefile.boot
I'm not sure what the best answer for all this is, but I do think that the bootstrap should be done with Rebol, so let's keep in mind in all of it the vision of r3-make make-rebol.reb OS_ID=##.##.## as the kick-off
makefile.boot is just a placeholder for that.
 
7:16 PM
@HostileFork Or r3-make make-rebol.reb os-x/intel
r3-make make.reb linux/64
 
posted on July 22, 2015 by rgchris

From the original 'Sketch' logo source.

posted on July 22, 2015 by rgchris

From the original 'Sketch' logo source.

 
I wonder—does every Pull Req. open an issue? Do I need to filter to stop dups, or just leave as-is?
 
@rgchris Every pull request does open an issue, yup.
 
8:16 PM
@iceflow19 I use cmake-gui, which gives me a chance to choose the toolchain
I've tested it with Mingw, and it worked.
 
Looking forward to using it... letting others be the early testers, as I have a lot of code to get in. :-)
 
@HostileFork I have been thinking about "make cmake", but haven't gone that far yet. I need to get make-cmake.r work first
 
Fair enough...
Did you get a chance to look over the GC fix?
I merged it because it basically seemed to work, but I'm not testing it with FFI stuff, so you looking over it would be good.
 
Just had a skim over it
I think I need to look it in more details
 
And it's code I had tested before, though the FFI doubled the size of the change...
And also, I'm applying it on more primordial Rebol than what I was using. So right now that's what I'm doing, is looking at ways to move in smaller steps and maybe not do some of the things that turned out to be "churn" that I just left in.
 
8:20 PM
I am still thinking what's the best way to integrate FFI into the build system
 
If you noticed, @earl is breaking out all third party stuff and trying to make it clear when the code came from elsewhere...
So there won't be a u-zlib.c in the same directory with everything else, for example.
 
No, I haven't seen that yet. I am buried in project work.
 
The top-level external directory is still for external dependencies prior to their "extractions", but even after extraction they will live in a separate directory from the other source.
 
I need to catch you guys up
 
Catch us up? On what you're doing?
Or catch up with us?
 
8:23 PM
Yep, I meant catch up with you ;)
gotta go, later
 
Forgive the hijack, Room 291. I'd like to publish some stuff so you guys can review it and I'll check back later tonight.
Please let me post these 42 messages consecutively, thanks!
Here is a dissertation on the hierarchy of the lexical components of the Rebol 3 language.
PREAMBLE
I have chosen to focus on the value side of the lexical scanning process, rather than on the lexical forms themselves.
Thus the non-elidable contents of scripts are LEXEMES, rather than lexical forms. This has two consequences in practice.
The first is that lexemes can correspond 1-1 with Rebol datatypes; this may be uncommon, but it still eases comprehension.
The second is that lexemes usually have multiple lexical forms, each of which MAY span the entire result datatype range.
I have also avoided using Rebol datatype names even when the correspondence is 1-1, since values are not forms.
LEXEMES
Every UTF-8-encoded Rebol script consists of elidably-spaced lexemes. There are 29 different lexemes.
Of these 29, one results in no value (1-1 the Rebol comment); the remaining 28 all result in exactly one Rebol value.
Comments are TERTIARY lexemes, and the other 28 are PRIMARY lexemes. (There are no SECONDARY lexemes. Yet.)
Primary lexemes are AGGREGATE if they can contain other lexemes (7 lexemes), and ISOLATE (21 lexemes) otherwise.
Aggregate lexemes are STRUCTURAL if they can contain any other lexeme, especially tertiary lexemes (3 lexemes).
One subcategory of structural is CONVERTER (1-1 the Rebol construct); it can result in one of 39 (/56) Rebol values.
Aggregate lexemes are LINEAL if they restrict which lexemes they can contain, particularly other aggregates (4 lexemes).
Isolate lexemes break down into 3 sub-categories; NUMERIC (9 lexemes), TEXTUAL (6 lexemes), and MORPHEME (6 lexemes).
Numeric lexemes break into 3 sub-categories; TEMPORAL (2 lexemes), ARITHMETIC (6 lexemes), and CHARACTER (1 lexeme).
Textual lexemes break down into 3 sub-categories; DELIMITED (3 lexemes), INFIXED (2 lexemes), and PREFIXED (1 lexeme).
CORRESPONDENCES
Aggregate lexemes <--> any-block! plus constructed values
Structural lexemes <--> block!, paren!, and constructed values
Tertiary lexemes <--> Rebol comments
Primary lexemes <-->> any-type!
Lineal lexemes <--> any-path!
Isolate lexemes <--> no Rebol concept, but 'atom' or 'item' might work (anything but non-block, please!)
Temporal lexemes <--> date! and time!
Arithmetic lexemes <--> scalar!, minus time! and char!
Prefixed-textual <--> file!
Morpheme lexemes <--> any-word!
For example, you could talk about "morpheme values", and you wouldn't have to use the kludgy any-word! Rebol term.
Similarly, "lineal" substitutes for any-path!, "primary" for any-type!, and "aggregate" for any-block!.
Numeric lexemes <--> scalar!, plus date!
Character lexemes <--> char!
Textual lexemes <--> any-string! plus binary!
Delimited-textual <--> string!, tag!, and binary!
Aggregate plus textual <--> series!, minus image! and vector!
Infixed-textual <--> email! and url!
OBSERVATIONS
If the correspondence between a lexeme category and a Rebol typeset is 1-1, then the lexeme name can be substituted.
(We can ignore the fact that Rebol constructs are aggregate lexemes; if we are talking about values, they are absent.)
Furthermore, this characterization properly reclasses binary! as a string type ("textual"), which it always has been.
Phewf, that was a mouthful. Thanks for being patient!
I also had some weird "retry" messages while I was pasting ... I guess that's the way SO chat works?
 
8:50 PM
I have to admit, I'm prejudiced, but the phrase I will use most is "structural value" instead of "block! or paren! value".
ttyl
 
9:25 PM
@MarkI Slick. What is the dissertation for? We should discuss sometime. I started writing something casual on the morphological implications of path. Never completed it, nor posted it here.
 
9:59 PM
@MarkI Don't mind the room hijack, but why not stick it in Programmers, CureCode or Issues? It'll get lost in chat...
That way comments will be in one place too. And it'll still post in here as a onebox.
 
10:32 PM
Had a power outage and it killed my computer. Or at least, maimed it.
Sigh. Should have ordered those new UPS batteries.
 
10:47 PM
UPS was dead?
 
11:29 PM
@GrahamChiu Batteries went to a point where they were low enough that it started beeping a high pitched beep every so often. No way to stop it beeping. Disconnected it, put "research and buy new battery" into task queue, task never completed.
Rackmount servery thing.
Had I bought the batteries, quite possibly not be in this situation now. Looks like some side of my DisplayPort connection is dead...either the monitor can't pick up 2560x1600 or the computer can't send it. Or the cable frazzled.
 

« first day (1725 days earlier)      last day (2055 days later) »