by

Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
  • 19:45
    hiiamboris opened #4502
  • 17:55
    hiiamboris updated the wiki
  • 17:53
    Travis red/red (master) broken (4949)
  • 17:31

    dockimbel on master

    FIX: SCAN now returns NONE on e… (compare)

  • 17:28
    hiiamboris commented #4500
  • 16:57

    dockimbel on master

    FEAT: better report of path syn… Merge branch 'master' of github… (compare)

  • 14:56
    hiiamboris edited #4501
  • 14:56
    hiiamboris opened #4501
  • 14:53
    hiiamboris opened #4500
  • 13:48
    9214 opened #4499
  • 10:07
    hiiamboris commented #4464
  • 10:03
    hiiamboris commented #4464
  • 07:29
    qtxie commented #4497
  • 07:21
    hiiamboris commented #4497
  • 07:17
    qtxie commented #4497
  • 07:17
    qtxie commented #4497
  • 07:14
    qtxie labeled #4497
  • 07:14
    qtxie labeled #4497
  • 07:13

    qtxie on master

    FIX: issue #4497 ([View] CRASH … (compare)

  • 07:05
    qtxie assigned #4497
Palaing
@Palaing
@hiiamboris thanks, the latest build fixed the issue :)
hiiamboris
@hiiamboris
:+1:
Gregg Irwin
@greggirwin
@Palaing if you update, you should now also have the CSV codec available. load/as expects commas, but the load-csv func can be used directly to specify that it's tab delimited. And has a /flat refinement.
GaryMiller
@GaryMiller
Just curious to see if anyone benchmarked the new Lex code yet. I know it's not released yet but was too excited to about it not to ask. Rough numbers are fine. Like does it seem twice as fast? Three times as fast? Be still my heart!
Gregg Irwin
@greggirwin
Have to wait for news from the inner circle. :^)
Nikita Korotkin
@TheHowdy_gitlab
(Not sure if this the right place to post this, my apologies if not)
That thing can probably be rather easily implemented in red and have about the tenth of the executable size of the original(the original is written in electron)
JacobGood1
@JacobGood1
been out of the loop, what is this lex code
GiuseppeChillemi
@GiuseppeChillemi
Would it be possible to change the block while a path is being decoded ? I mean technically and not as an actual feature. Would it be difficult for RED ?
Gregg Irwin
@greggirwin

@JacobGood1 Red lexer rewritten in R/S for improved performance and instrumentation.

@GiuseppeChillemi we'd need to add a callback feature so each segment would trigger that. Easy to mock up at the mezz level, which would be step one.

@TheHowdy_gitlab thanks for posting! That link ties into 2 topics. An old one is a unit! form and datatype. We can do it with blocks today, of course, but still want to consider a direct lexical form. It's tricky, because so much value of units (as Frink and Wolfram also show) comes from having their relative rules built in. That means units may be an optional module. The newer idea is that of Expect, which is an interrogative automation interface. We don't need automation here, but something like that, or Caligator, are based on the idea that you may only get a partial input, and need to "talk back" to the user to guide them in possible completion options.

GiuseppeChillemi
@GiuseppeChillemi
@greggirwin Gregg, I will write a proposal and some usage examples once the idea will be complete.
bferris413
@bferris413
Howdy, any updates or roadmap for when port! type will be generally implemented/usable? I check the website regularly and drop in here from time to time to see the latest, haven't seen much about it though
Nenad Rakocevic
@dockimbel
@bferris413 Hey, port! type is already present in the master branch, but low-level I/O networking is still a WIP. We have a working async TCP and TLS ports implementation (both client and server-side), but they still require more work to cover all the target platforms. Once we have UDP and DNS, we can push the code into a branch on the red/red repo, so that people can play with them. No ETA for that yet, as we have several related sub-tasks to complete first (like some memory management improvements for I/O).
bferris413
@bferris413
Sounds good @dockimbel , thanks for the update and work involved :+1:
Nenad Rakocevic
@dockimbel
@bferris413 You're welcome. We'll publish more info about it when it will be more usable.
Nikita Korotkin
@TheHowdy_gitlab
@bferris413 just to prevent confusion, I'm by no means
in the red-team, just a curious visitor of this gitter :). So I can't give u that kind of info.
bferris413
@bferris413
Ah, "howdy" is an american-english way of saying "hello" (which is how I meant it) =)
GiuseppeChillemi
@GiuseppeChillemi
@dockimbel How is the RED team composed ? I mean either how many are the members of the team and which is their respective role. I think you have never talked about this. It would be good to know about all of you.
Gregg Irwin
@greggirwin

@GiuseppeChillemi, there are now 6 of us dedicated full time to Red, and another 6 or so that contribute regularly but have other primary jobs. Then there is a wider circle in the community with some deep work done. e.g. @rcqls on GTK and @hiiamboris on tickets requiring deep analysis and R/S skills. Respective roles, in general:

  • Nenad is the leader, for language vision and design, overall direction, and deep core dev
  • Qingtian is his right hand in all that, and figuring out how to make it all work across platforms
  • I focus on management, business, logistics, community, high level design/dev, "and stuff"
  • Bitbegin is Core, fixes and features, Wallet, VSCode, and support for Nenad and Qingtian
  • ToomasV leads thinkering and has internal tasks related to tools, education, and examples
  • Lucinda heads PR, which includes many channels, blog, docs, and work on new web sites

Warp, Rebolek, Peter, Harald, Semseddin, GregT, Gabriele work on many things, because so much support is needed. Infrastructure, testing, research, codecs, blockchain R&D, docs, deep design. I wish I could name everyone and list their contributions, because they (you) all deserve it, but that's yet another task I'd have to put on my list. ;^)

Vladimir Vasilyev
@9214
@greggirwin I think @meijeru's work on Red specification deserves a dedicated mention as well.
Gregg Irwin
@greggirwin
Indeed! And Mike and Arie for red-by-example.
Petr Krenzelok
@pekr
Thanks for the info, Gregg, appreciated. Hope that new website will carry the Team section, would be nice to see those core ppl dedicated to the project. It would imo help to generally improve the project perception. Just my opinion, of course ....
Nikita Korotkin
@TheHowdy_gitlab
@pekr imho this is a much needed idea. Many people not watching red closely enough may not even be aware of the team (even mby thinking that it is a one-man project) or the Red Foundation.
Jose Luis
@planetsizecpu
There are good news, I see @TheRedTeam growing, so I want to encourage you, it still a long road to 1.0 and a plenty of things to solve, so stay tuned and push hard.
GiuseppeChillemi
@GiuseppeChillemi
@greggirwin Could I write the team composition on my WIP wiki (... this reminds me someone...) programming.red ?
Gregg Irwin
@greggirwin
@GiuseppeChillemi best to point people back to us here, or where we post team info in the future.
GiuseppeChillemi
@GiuseppeChillemi
@greggirwin So you are suggesting a link to your gitter post ?
Gregg Irwin
@greggirwin
Sure. Or just tell people there is a small team and if they come here, they'll meet some of us. :^)
GiuseppeChillemi
@GiuseppeChillemi
Of course ! The best part of life is being together and not reading a web page with no people around.
Palaing
@Palaing
@greggirwin thanks, that (CSV codec) will certainly be better than the one I made!
Petr Krenzelok
@pekr
@rebolek Where should I report findings and/or questions towards the CSV codec? First - when I try to use the delimiter parameter ";" all I get is an empty block. Second - load-csv/with #";" returns an error stating, that delimitercan't be a char! type, though its help string states otherwise. And lastly - why some lines are enclosed in quotes, whereas most of the lines are enclosed in {}?
Another question - why default mode returns block, whereas load-csv/header returns a map?
Boleslav Březovský
@rebolek
@pekr thanks for report! I'm on phone now, so I look at it in the evening and let you know. Delimiter can't be char error looks very strange, there are tests for it and they pass.
If you can send me your CSV privately, it would really help.
Petr Krenzelok
@pekr
Btw, the difference between the "" and {} is there even with read/lines. I am on the phone right now too ....
Btw, is there any plan to prettify console output of help on objects?
Gregg Irwin
@greggirwin

"" vs {} came up not long ago. It's Rebol's design, and confuses people. Beyond 50 chars the runtime molds strings with {} instead of "". If, for example, truncated console output always added a closing } that would be useful, because you could persist console sessions.

Object help alignment looks like a bug/regression. @bitbegin, I hate to say it, but it was your recent help changes that caused it.

Good catch @pekr.
Gregg Irwin
@greggirwin

why default mode returns block, whereas load-csv/header returns a map?

The rationale here is that /header means it should be used, not just that it exists. If you want the default format, and to separate the header, we (you? ;^) can add an example like this to the wiki page:

>> s: {a,b,c^/1,2,3^/4,5,6}
== "a,b,c^/1,2,3^/4,5,6"
>> data: load-csv s
== [["a" "b" "c"] ["1" "2" "3"] ["4" "5" "6"]]
>> hdr: take data
== ["a" "b" "c"]
>> data
== [["1" "2" "3"] ["4" "5" "6"]]
Petr Krenzelok
@pekr
I can tell you just one thing and most probably you might agree - there's always a tradeoff between the simplicity and the features offered. I gave codec a try, found some bugs or inconsistencies with just few tries. Well, bugs might get fixed, but I don't want to even think, why should I get a block vs the map. What for? To think just about that aspect is probably more complex than it might be useful to me.
Worked with CSVs for 15 - 20 years with Rebol. Never ever had I to use more than just few lines of code, and it was alway consistent: `data: read/lines %file.csv, remove first dataif there is header present ... and then finally the loop foreach row data [items: parse/all data ";" ....].... done ....
Gregg Irwin
@greggirwin
It's still open for discussion, and is a tough call. If you get back a block of blocks by default, and user /header, what do you expect to get back?
Petr Krenzelok
@pekr
I will surely give it more try. The truth is that I never faced other delimiter than semicolon. Constructing resulting converted CSV was once again a foreach loop with write/append applied ....
OTOH I have also faced a space delimited data. Fields of certain length and missed the default R2 left pad funciton back at those times ...
Gregg Irwin
@greggirwin
I noted at one point that I've almost always taken the low level approach myself, because that's all we had, and it wasn't worth writing higher level mappings when you're trying to get a single job done, just for you. With this design we're trying to save lots of people effort over time.
Looking at past projects, there were 2 big ones where these features would have helped me a lot, and I probably should have taken the time to implement them. One was data aggregation and analysis (column model), the other was a data scraping system that mapped data to records. In the latter case, whether you use "records" or just blocks depends on what you're tying to. e.g. a SQL model for DB or a grid UI that takes blocks, or a CRUD system.
Petr Krenzelok
@pekr
The problem is/was, that Rebol's low level aproach, was flexible enough to get things done in just few lines of code :-)
Gregg Irwin
@greggirwin
And you still can.