Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
  • 21:10
    ALANVF commented #5143
  • 21:03
    hiiamboris commented #5143
  • 20:35
    ALANVF commented #5143
  • 17:18
    hiiamboris commented #121
  • 17:18
    hiiamboris commented #121
  • 17:15
    hiiamboris commented #121
  • 17:14
    hiiamboris commented #121
  • 16:51
    dockimbel closed #121
  • 16:51
    dockimbel labeled #121
  • 16:51
    dockimbel commented #121
  • 16:34
    dockimbel assigned #5123
  • 16:33
    dockimbel assigned #5135
  • 16:30
    dockimbel commented #5129
  • 16:29
    dockimbel commented #5129
  • 16:27
    dockimbel assigned #5129
  • 16:27
    dockimbel commented #5129
  • 16:26
    dockimbel unlabeled #5129
  • 16:26
    dockimbel labeled #5129
  • 16:24
    dockimbel commented #5143
  • 16:12
    dockimbel commented #5147
Gregg Irwin
@greggirwin
And if we think that an organic analogy isn't appropriate, consider that we humans still call the shots, and how trends and "new ideas" are simply mutations that either benefit their hosts and spread, or don't. But mutations, like bacteria, don't see the big picture. What becomes "popular" is not the same as "optimal" and you can't know what's best long term, just as with local hill climbing.
veleth
@q60
Hi. I have some issues with using input function. All works perfectly unless i compile my code and then launch executable. It yields *** Script Error: input has no value and i've no idea how to solve it. linux x86_64, latest red-06 and red-04nov20-277584b4c - both do not allow me to use input in compiled code...
image.png
image.png
Vladimir Vasilyev
@9214
@llathasa-veleth please follow this instructions.
veleth
@q60
so i need to clone the repository, then do this? can't i do this with only input.red?
Vladimir Vasilyev
@9214
@llathasa-veleth no, I'm afraid you cannot. It's a temporary workaround until a proper I/O is implemented.
veleth
@q60
ok, thanks for help
Petr Krenzelok
@pekr
I can see various activities in IO area, by bitbegin and qtxie.There even seems tobe a https client server exmple.Just womder what is an overall state of IO? Still a lomg way to go? Or its core mostly done and for something like 0.7 it is mostly about adding various protocol support?
Gregg Irwin
@greggirwin
The foundation is largely complete, but needs some high level design to be finalized.
Petr Krenzelok
@pekr
Thanks Gregg. Looking at examples it seems like functionality is similar to R3 TCP handling ...
Boleslav Březovský
@rebolek
@pekr you're not wrong, it's very similar to R3, although bit simpler I would say. HTTP server works almost fine (there are still some SSL related problems) so if anyone wants to experiment with it, it's a great opportunity.
Petr Krenzelok
@pekr
I am a bit confused though. Saw @bitbegin doing some fixes / extensions in his branch, related to SSL, certificates, etc., but now @qtxie continues with his branch, but I am not sure I see the merges. So which one should I start with? :-)
Boleslav Březovský
@rebolek
I believe @qtxie 's branch has everything.
Using that branch I was able to get A- score for a webserver on SSLlabs test, so certificate support is top notch :-)
Petr Krenzelok
@pekr
Just curious, look at the commits in terms of the bitbegin's one 🙂
Boleslav Březovský
@rebolek
Well, let's hope they would show up and tell us what's the difference :)
Qingtian
@qtxie
@pekr bitbegin's branch is a feature branch, it will be merged once it's ready.
Petr Krenzelok
@pekr
OK, thanks ....
dillonKneeland
@dillonKneeland
Hey everyone, anybody use the vscode red extension?
hiiamboris
@hiiamboris
@bitbegin ^
Gregg Irwin
@greggirwin
@dillonKneeland VSCode broke the old version, and now it needs to be synced with fast lexer. @bitbegin or @qtxie can probably tell us its status. Reporting issues you see always helps though.
Dave Andersen
@dander
@dillonKneeland @greggirwin It has been working again for a while for me with recent Red builds.
Gregg Irwin
@greggirwin
Excellent! Thanks @dander.
Petr Krenzelok
@pekr
It seems that Redbin was merged to Master? What an extensive work! Thanks to @9214 or whoever participated on that :-)
Semseddin Moldibi
@endo64
Huge work, congratulations!
Gregg Irwin
@greggirwin
@9214 has been leading the charge on that, yes. :+1: to him. We still need someone to add validation checks in the decoder, and his time is limited right now. If someone is interested, he and Nenad can say exactly what's needed and offer guidance.
Dave Andersen
@dander
I wonder if it would be useful to build a test case generation system for this. If we could generate valid Red data using something like the input generator of DiaGrammar. Then test to see if it can be round-tripped to redbin and back. Inputs which break can be converted to unit tests.
Gregg Irwin
@greggirwin
I like that idea. Long ago I wrote permutation related generators, so it can be much more automated than using DiaGrammar (but I like that idea as well).
Dave Andersen
@dander
Sure, I just meant it seems like DiaGrammar already has that tech, or using it as inspiration
Gregg Irwin
@greggirwin
Yes, and we should definitely drink our own wine.
Vladimir Vasilyev
@9214
@dander Redbin tests already do that.
Oldes Huhuman
@Oldes
@9214 what is missing in Redbin so far? I tried self referencing object as my first test, which was handled correctly, but system object encoding (as my second test) throws an error.
hm.. it will be routine which is not handled.
also.. have you been doing some performance tests on huge data? I wonder how efficient it is in comparison with classic load.
Vladimir Vasilyev
@9214
@Oldes you can find all the info with a link to relevant documentation here. Codec misses moderately sane validity checks and can easily blow up internal hardcoded limits in certain cases. Encoding format of some values (e.g. word and refinement) also needs to be updated to match the recent changes in the runtime. Redbin test suite is a hot mess riddled with crufts and crude workarounds over compiler limitations that needs some major cleanup.

have you been doing some performance tests on huge data?

I did not, because at the time I worked on the codec fast lexer wasn't finalized, and, like I said, it misses validation of Redbin records, which will obviously penalize the performance. I would hazard a guess that even with validation checks in place it will be faster on average that load, but that difference will vary depending on the datatype: e.g. date!with all its supported formats is insanely hard to lex, while in serialized form it's trivial (supposedly).

Oldes Huhuman
@Oldes
I see.. thanks... it's very interesting work anyway!
Nelo Mitranim
@mitranim
Good day everyone. I'm learning Rebol/Red and must say that it's the most incredible language I've used so far, beating even Lisp in how alien and awesome it is at the same time. The credit of course goes to Carl, but Nenad gets a huge share for going for fullstack as well
Got a question about editor support. Anyone here using Sublime Text? The existing Rebol and Red packages are extremely outdated. I'm writing a better syntax highlighting implementation based on Rebol's spec. Planning to simply replace the existing packages, if the maintainers give their OK. But this also needs an "OK" from some users to ensure it doesn't break people's expectations of the syntax. Anyone interested in trying?
Nelo Mitranim
@mitranim
And if not, I'm curious what editors people are using for this, and what's their impression of the quality of language support
Toomas Vooglaid
@toomasv
Welcome @mitranim Have you looked at Editor Integrations? I use Notepad++ with locally adjusted syntax highlighting and am quite content so far.
Nelo Mitranim
@mitranim
Thanks, good to know
Gives me a rough idea what people expect
Henrik Mikael Kristensen
@henrikmk
VSCode has reasonable Red support
Vladimir Vasilyev
@9214

based on Rebol's spec

Red and Rebol have slightly diverging syntax. You should rather use lexer specs.

Nelo Mitranim
@mitranim
Interesting, thanks
Oldes Huhuman
@Oldes
@mitranim I'm using Sublime Text and I'm author of these packages... if there is not more versions from other people.
Here is source of the Red version https://github.com/Oldes/Sublime-Red
Feel free to improve it.