« first day (2403 days earlier)      last day (1377 days later) » 

12:34 AM
room topic changed to [Rebol]: to make it simple: building [ blocks ] New chat site: forum.rebol.info [homoiconicity] [jit] [json] [lisp] [rebol] [red]*
@GrahamChiu I have not tested it on native ren-c so there are likely to be issues. It was running in <r3-legacy> mode before
 
1:10 AM
@johnk It worked when I did the ren-c port but @rgchris says the api has changed since then!
It now wants all lower case headers
 
 
2 hours later…
3:01 AM
@HostileFork @ShixinZeng the encryption stuff is based on Cameron Rich's work from 2007. He has a TLS v1.2 library available from sourceforge.net/projects/axtls/files/2.1.3 with a BSD license
 
 
4 hours later…
6:50 AM
@johnk New "forum" not chat ;)
 
 
3 hours later…
9:21 AM
0
A: Change word to path

DocKimbelchange/only works, though there is a simpler way in that case: >> test: [a] == [a] >> test/1: 'a/b == a/b >> test == [a/b]

 
 
2 hours later…
11:24 AM
room topic changed to [Rebol]: to make it simple: building [ blocks ] New forum: forum.rebol.info [homoiconicity] [jit] [json] [lisp] [rebol] [red]*
 
11:57 AM
@GrahamChiu , I noticed you have 2 similar repos: github.com/gchiu/rebol.net/tree/master/docs and github.com/gchiu/reboldocs
I was gonna say they are redundant, but help/doc only leads to the second, so it kinda works to document new stuff, while the first could be to preserve old docs of rebol2. Wel.. it works perfectly!
One problem with the new docs tho:
USAGE:
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;DEBUG&nbsp;'value&nbsp;
Either way, whether you clean up now or later, I'm going to submit PR
I was trying help/doc debug
>> help debug
 
~r3> help debug
USAGE:
DEBUG 'value

DESCRIPTION:
Dialect for interactive debugging, see documentation for details
DEBUG is a function .

ARGUMENTS:
'value [_ integer! frame! function! block!]
Stack level to inspect or dialect block, or enter debug mode
 
Assuming the referenced "documentation" is from trello:
 
12:41 PM
I suppose it's not working yet?
Am I allowed to crash rebolbot?
>> test: [1 + 2]
 
~r3> test: [1 + 2]
make error! [
[self: code type id message near where file line]
[
code: _
type: _
id: _
message: {PRINT called on non-literal block without /EVAL switch}
near: [...
fail {PRINT called on non-literal block without /EVAL switch} ??
]
where: [fail either either print if trap if do catch either either --anonymous-- do trap either --anonymous--]
file: /var/www/cgi-bin/eval.reb
line: 40
]
]
 
Okay.. I didn't expect that..
>> 1 + 2
 
~r3> 1 + 2
3
 
>> test: []
 
~r3> test: []
make error! [
[self: code type id message near where file line]
[
code: _
type: _
id: _
message: {PRINT called on non-literal block without /EVAL switch}
near: [...
fail {PRINT called on non-literal block without /EVAL switch} ??
]
where: [fail either either print if trap if do catch either either --anonymous-- do trap either --anonymous--]
file: /var/www/cgi-bin/eval.reb
line: 40
]
]
 
12:47 PM
>> test: [1 + 2 breakpoint] do test ; resume
@GrahamChiu I think I broke it..
 
Hi guys, I'm back again
 
@GeekyI anyway, resumeing after breakpoint causes a crash on windows 10. Either it's not complete or I'm using it wrong (from the console maybe?)
@RebolBot Cool! Awesome Reborn powers
 
@GeekyI Can you be a little more specific?
@GeekyI What are you trying to say?
 
1:11 PM
@GrahamChiu what's missing on C side to support TLS 1.2?
 
1:56 PM
@giuliolunati Um, can't you pre- and/or post-process? Escaping is hard, and must be hard-coded, else it is not portable.
 
 
1 hour later…
3:08 PM
@GeekyI Looks like it was broken by the Android "rigorous" changes. believed resolved by this commit.
@GeekyI breakpoint spawns a sub-REPL, and would be equivalent to an infinite loop as far as RebolBot is concerned. Probably best to disable it in RebolBot's evaluator.
Or, RebolBot needs an input option, so you can supply it with an input script that simulates any typing one might ask for.
@GrahamChiu Above, the PRINT called on non-literal block without /EVAL is precisely the case that /EVAL was added for.
 
 
3 hours later…
6:25 PM
@ShixinZeng the c code that is being used is from 2007. It's been updated by the original author Cameron Rich as he has a TLS 1.2 library now, last updated in Feb 2017.
 
In accordance with "convenience for experts" I think PRINT/EVAL should probably be PRINT* which does no checking, and then PRINT can be an ADAPT of that which does the evaluative check.
 
@HostileFork it might be a little slow but we could put rebolbot's eval script on GitHub and have it pull down on each invocation
 
print: adapt 'print* [unless semiquoted? 'value [fail "..."]]
 
Or, it could do a modified? On the GitHub repo first
@HostileFork please make a PR on the repo
 
@GrahamChiu I'm happy to let it be a wish for a distant future. Perhaps when RebolBot gets to a point in the evaluation where it wants input, it could be done as a continued conversation in the chat.
 
6:33 PM
@GrahamChiu I spent a couple of hours looking into that, and it didn't seem to be that simple. The first issue I encountered with read forum.rebol.info is that the the server and client can't negotiate a proper ciphersuite. rebol doesn't support ECDHE
So, we can't just update the code from axTLS and get TLS 1.2 for free. The TLS protocol is implemented in Rebol, only the crypto stuffs are in C. Even we pull in all the crypto stuffs, there are still protocol level work to do in rebol
The server only supports TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA or TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA, while rebol only supports these
 
I see
So when I implemented the https, it uses an unsupported suite but other discourse sites seem to be okay
I need to try renc against a let'sencrypt site to confirm
 
At Atronix, we discussed this, and our conclusion is to re-implement the TLS scheme using libtls from libressl
 
@ShixinZeng is that a near or remote project?
 
Not a near project
Our current focus is getting View running on Ren-C
3
 
Perhaps atronix could bounty some of this stuff?
 
6:45 PM
Fyi I got hold of the github name AltRebol.
 
@ShixinZeng If the appropriate ecdhe crypto were added, do you imagine there's anything else particularly different about the process that the TLS code would need major changes?
 
@iArnold as pointed out above we have way too many repos now!
 
@HostileFork that depends on what version of TLS you want to bring it to. Current code is for TLS 1.0, which is phasing out, there seems to be major changes in both 1.1 and 1.2
@GrahamChiu not sure about that, we're currently working around this issue by using "curl" instead of native rebol code.
 
@ShixinZeng I don't know how effective bounties would be at some of these things, but... bountysource.com
 
6:55 PM
@HostileFork I'll let @DaviddenHaring worry about that. ;)
 
@GrahamChiu We are missing one with the complete finished product ;-)
 
Well, I checked against another discourse site encrypted by letsencrypt and ren-c reads it fine. So, I'm hoping it's a setting somewhere where we can switch to a different cipher suite that is supported
@HostileFork paid for in BC or Ethereum ? :)
@iArnold I'm not sure what you mean. There's no finished product anywhere.
@ShixinZeng How did you ascertain what ciphersuites the server supports?
 
7:19 PM
@GrahamChiu by looking at the ssllabs report you linked earlier
 
@ShixinZeng hehe, I was just doing that now
So, another letsencrypt site also supports TLS_DHE_RSA_WITH_AES_128_CBC_SHA which would work for us. Asking now how we can enable that.
 
 
2 hours later…
9:21 PM
@ShixinZeng I've gotten to the point with the ODBC that this test works. It's an extension, so now it's a matter of pinning down how it's selected to be enabled and on what configurations.
If you have your MySQL driver, ideally we would have them be essentially compatible, and maybe it's worth it to just sort of keep all the extensions in the main repo for now.
If you want to tinker with the build of that branch in CMake to get it how you want it, and make sure the test works for you also, then that would be helpful.
 
9:35 PM
SQL definitely looks like an area where dialecting should be used. It's very weird to see verbs like "INSERT" being used to put a query into a port, and then have things read off with COPY where that "copy" is actually destructive.
 
9:52 PM
@HostileFork Would seem READ/WRITE would be the Rebol 3 way—you thinking of something else? Also results could be taken incrementally. while [record: take db-port][probe record]
Or WRITE/READ, I suppose. SELECT/TAKE.
INSERT dbms statement | results: TAKE dbms
 
10:07 PM
Insert implies at any point in the stream, which we can't do
 
Port <> Stream
Or, it can represent a stream, but it can represent other things too.
A DBMS isn't a stream.
A port is a dialogue.
A negotiation.
 
I'd prefer write as well.
@rgchris have you adopted the rebol sql dialect or something else for QM?
 
Which SQL dialect?
 
@rgchris the rebol one ...
 
Don't know that one.
 
Ah—I've never used Rebol/Command.
I use an Active Record abstraction port on top of the database port.
Still work with SQL in strings.
 
10:37 PM
Doesn't seem to be a lot in that dialect that I'd find useful.
 
@rgchris where's the documentation on the Active Record abstraction you're using
Would it be a better fit for ren-c?
 
Documentation such as it is is outdated.
 
@rgchris do you wish then to propose what it should look like for all the future generations of ren-c users?
 
It covers some patterns that can reduce SQL usage, however it's not really a replacement for SQL generation.
I've thought about aping some of the Ruby approaches to this, but haven't.
SELECT dbms [where: "foo LIKE '%bar%'" order: 'foo]
That might be one way to go about it.
 
so the dialect is just a way of generating the sql string that we need to send to the dbms
I don't do any complicated stuff
so if there's a heavy sql user around .. please speak up!
 
10:49 PM
That's what I assumed. Would be Rebolish, standard and guard again injection.
I'd say my usage is moderate and that'd be useful to me.
 
the stuff I have done in the past is to drop tables, create tables, alter tables, and just simple queries
 
11:11 PM
Build ceb6b99 on 30-May-2017/19:04:08Z is now available for download. Please use debug builds and report issues. No warranty of fitness is implied.
These are the direct links for OSX x64, Win x64, Linux x64, and Android-arm.
 

« first day (2403 days earlier)      last day (1377 days later) »