Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
  • 15:58
    hiiamboris labeled #5041
  • 15:58
    hiiamboris opened #5041
  • 15:38
    hiiamboris commented #5040
  • 15:37
    hiiamboris labeled #5040
  • 15:37
    hiiamboris opened #5040
  • 14:06
    dockimbel commented #5026
  • 13:58
    dockimbel commented #5026
  • 13:50
    dockimbel commented #5026
  • 13:49
    dockimbel commented #5026
  • 13:47
    dockimbel commented #5026
  • 13:28
    dockimbel commented #4968
  • 13:27
    hiiamboris commented #5019
  • 13:12
    dockimbel closed #5019
  • Jan 18 22:03
    hiiamboris commented on 6557e9b
  • Jan 18 21:46

    dockimbel on master

    FEAT: minor code readibility im… (compare)

  • Jan 17 13:02
    GalenIvanov opened #5039
  • Jan 15 16:56
    hiiamboris synchronize #5015
  • Jan 15 12:18
    hiiamboris closed #15
  • Jan 15 12:16
    hiiamboris commented #5038
  • Jan 15 12:16
    hiiamboris commented #5038
hiiamboris
@hiiamboris
Looks like a few topics mixed in one sentence. A typo?
Galen Ivanov
@GalenIvanov
@meijeru @hiiamboris It's probably my fault. @wezl:privacytools.io created the nomination, then I added more text to it. This sentence clearly doesn't make much sense. I suggest the following edit:
  • Red doesn't have reserved words, even conditionals and looping constructs are functions that use blocks (arrays / lists of arbitrary values) for their bodies.
hiiamboris
@hiiamboris
Well, these functions are natives written in Red/System code. You wouldn't go far without them. Though: you can rename them, and build your own loops on top of that.
If it's the "reserved words" you want to put accent onto, how about:
  • Red doesn't have reserved words. Even conditionals and looping constructs are ("native" function) values provided by runtime, which can be assigned any names.
Galen Ivanov
@GalenIvanov
@hiiamboris Thank you! I don't remember what I meant, but it was probably that Red's syntax is uniform and conditionals/looping are achieved with function calls and don't need reserved words and special syntax.
I can edit the page in SE if there are no other suggestions.
Gregg Irwin
@greggirwin
Make the change @GalenIvanov. :+1:
Galen Ivanov
@GalenIvanov
Done
Raghu Ranganathan
@razetime
hi there galen ivanov
and @wezl:privacytools.io
Galen Ivanov
@GalenIvanov
@razetime Hi! Nice to meet you here!
yc
@cloutiy
Hello, ive been away for some time...does red have the necessary pieces to use as a web server yet, or still in progress? Thx
GiuseppeChillemi
@GiuseppeChillemi
We are near, I suppose we will see something before the end of the year.
yc
@cloutiy
Ok thx👍
GiuseppeChillemi
@GiuseppeChillemi
Is it normal Automated build are stopped at 26th of May?
ne1uno
@ne1uno
download page, Direct links to latest builds, windows zip says not here
GiuseppeChillemi
@GiuseppeChillemi
Confirmed
ne1uno
@ne1uno
maybe fail test on mac build prevents update?
Boleslav Březovský
@rebolek
@cloutiy this web runs on Red webserver https://rblk.eu/
GiuseppeChillemi
@GiuseppeChillemi
@rebolek 👏🏻👏🏻👏🏻
Petr Krenzelok
@pekr
@rebolek I expect your web server uses an IO branch?
Boleslav Březovský
@rebolek
@pekr yes
RaycatWhoDat
@RayMPerry
Something I've always wondered about this language: Has someone used it in each domain highlighted in this graphic? https://3.bp.blogspot.com/-xhOP35Dm99w/UuXFKgY2dlI/AAAAAAAAAGA/YQu98_pPDjw/s1600/reichart-abstraction-diagram.png
Is the split in the line mean to represent Red/System?
Toomas Vooglaid
@toomasv
Yes, some are using it in each domain all the time, others are working more in one or other end. From left: Red/System, Red (proper), and dialects like Parse, VID, Draw.
Henrik Mikael Kristensen
@henrikmk

Does REPEAT intentionally ignore alterations to its index word? It makes it a lot less flexible than REBOL's REPEAT function.

REBOL:

repeat i length? [a b c] [print i i: i + 2]
1
== 3

Red:

repeat i length? [a b c] [print i i: i + 2]
1
2
3
== 5
Toomas Vooglaid
@toomasv
@henrikmk There was recently a chat connected to this :point_up: June 2, 2021 9:28 PM
Henrik Mikael Kristensen
@henrikmk
@toomasv thank you
Toomas Vooglaid
@toomasv
You are welcome!
Gregg Irwin
@greggirwin
@RayMPerry some examples:
  • Hardware: https://www.red-lang.org/2019/07/gpio-port-for-raspberry-pi.html
  • Drivers: The Red Wallet has its own USB driver built in.
  • OS: @BeardPower has done some experiments in this area. So even writing your own OS from boot is possible, but also system applications that run just above that.
  • Apps and scripting are the bulk of what people do with Red.
  • DSLs: There are plenty of those in the wild, along with some that come built into Red.
Raghu Ranganathan
@razetime
{0A05AAD8-6EE4-410A-BEF6-52EBBB32D4A1}.png
I'm trying to use the draw dialect here
I'm not sure what's causing the problem
arr here is a series of pairs
Toomas Vooglaid
@toomasv
@razetime You can't use Red proper inside VID just like that. Prepare your draw-block beforehand and feed it to VID, something like this:
arr: [10x10 190x190 10x190 190x10]
lines: collect [foreach p arr [foreach q arr [keep reduce ['line p q]]]]
view [base 200x200 draw lines]
Toomas Vooglaid
@toomasv
Or you can compose it inline:
view compose/only [base 200x200 draw (collect [foreach p arr [foreach q arr [keep reduce ['line p q]]]])]
Raghu Ranganathan
@razetime
oh, interesting.
what is the keep reduce for?
Toomas Vooglaid
@toomasv
keep is subfunction in collect (see ? collect), and reduce reduces (i.e. evaluates words (and other reducible things)) the block before keeping it.
Raghu Ranganathan
@razetime
ah, so collect and keep together create a list of lines
Toomas Vooglaid
@toomasv
Yes
Raghu Ranganathan
@razetime
sort of like a flatmap
Gregg Irwin
@greggirwin
You can use them together that way, yes. General HOF design is in the works.
GiuseppeChillemi
@GiuseppeChillemi
Could http links be made clickable if printed on the console?
Toomas Vooglaid
@toomasv
They could. Tried a quick hack
Console links
GiuseppeChillemi
@GiuseppeChillemi
@toomasv Thanks, the idea that has triggered the question was to make web addresses in function spec string clickable on HELP function-name console printout:
aname: func [
   {This function does <this>. 
      For additional documentation go to: 
       HTTPS://github/docs/extended/aname
    }
   arg {This arg does <that>. 
      For examples go to: HTTPS://github/docs/extended/aname/arg}
]
[
   ...somecode...
]
I have really needed it while learning. Toomas, what you think about this?
@greggirwin And you Gregg, what you think about this?
Toomas Vooglaid
@toomasv
Yeah, would be nice to have it, something like this:
Console links2
(Links are not actually included in online version (which is old), as it is just a hack)
GiuseppeChillemi
@GiuseppeChillemi
That's the idea. You added one "feature" : the highlighting of any link on screen. My idea was to have an highlight <string> function which is called by help to print specs descriptions.
(so the string creates a clickable output on the console when encountering web links)