• Home
  • Script library
  • AltME Archive
  • Mailing list
  • Articles Index
  • Site search
 

World: r4wp

[#Red] Red language group

AdrianS
22-Sep-2012
[2016]
might be worth starting with a TextMate bundle for REBOL and simplifying 
that, for Red/System
Arnold
22-Sep-2012
[2017x2]
I can live without the line numbers, even in a R2 like error handling 
:) A lot of programming errors are development related and should 
never happen again once correct datatypes are passed on between functions 
so after this is done no further need for extra debugging statements 
here. User input is always wrong, they give wrong data and should 
be punished hard for that (Oh no that's Googles point of view) but 
the point is it should be tested to be what it should be and in that 
 way REBOL errors should rarely be reported by users. (just my 2cents)
Red needs a "Red programming language Pocket Reference" (O'Reilly 
book) before the world dominance can set in.
GrahamC
22-Sep-2012
[2019]
OpenSSH is BSD http://www.openbsd.org/cgi-bin/cvsweb/src/usr.bin/ssh/LICENCE?rev=HEAD
Kaj
22-Sep-2012
[2020x2]
Unfortunately, with the advertising clause
The underlying OpenSSL, that is
Henrik
22-Sep-2012
[2022]
what are the restrictions if you read the code and port it to another 
language without running any of the original code with the exception 
of test suites?
Kaj
22-Sep-2012
[2023]
Running makes no difference, but if you really port the code, you're 
entering a gray area in which I would guess the copyright could still 
apply to some extent
Henrik
22-Sep-2012
[2024]
There would have to be a complete specification somewhere that could 
be used for implementation.
GrahamC
22-Sep-2012
[2025]
Not sure what you mean by advertising clause ... there are Amiga 
bsd ports http://linuxmafia.com/ssh/amiga.html
Kaj
22-Sep-2012
[2026x2]
Henrik, yes, Graham's link says that all the information is available. 
But then you're looking at complete reimplementations of a whole 
software suit that's extremely security critical
Advertising clause doesn't prevent porting. It just obligates you 
to advertise the author
Henrik
22-Sep-2012
[2028]
One could always ask the original implementors.
Kaj
22-Sep-2012
[2029]
Their stance is clear. The whole world has already complained, so 
this is what you get
GrahamC
22-Sep-2012
[2030]
Steve has already done the Amiga port
Henrik
22-Sep-2012
[2031]
Does it matter if their names appear in the source header?
Kaj
22-Sep-2012
[2032x2]
Whose names
?
Henrik
22-Sep-2012
[2034]
 It just obligates you to advertise the author
Kaj
22-Sep-2012
[2035x2]
http://openssl.org/source/license.html
3. All advertising materials mentioning features or use of this
 *    software must display the following acknowledgment:

 *    "This product includes software developed by the OpenSSL Project
 *    for use in the OpenSSL Toolkit. (http://www.openssl.org/)"
Henrik
22-Sep-2012
[2037]
well, it's not the same software, but I couldn't care less, if we 
had to credit Elmer Fudd, just as long as we have something that 
works.
DocKimbel
22-Sep-2012
[2038]
I don't think that all future Red users will be pleased to have to 
provide a long list of advertisement with all their apps, just because 
Red uses 3rd-party libs underneath.
Kaj
22-Sep-2012
[2039]
Henrik: something that works. I don't know what you want to use SSL/SSH 
for, but Red/System has a cURL binding. cURL usually uses OpenSSL 
and does most things you would want to do with SSL and SSH
Pekr
22-Sep-2012
[2040]
Kaj - the last thing I want is to have to distribute Curl with each 
Red script. How big is the Curl library? Even tens of KB is too much 
.....
Kaj
22-Sep-2012
[2041]
cURL is included in almost all open source based operating systems, 
including OS X
GrahamC
22-Sep-2012
[2042]
If your software advertises the use of SSL, then you need to mention 
authorship.  If you don't advertise, you don't need to mention it.
Kaj
22-Sep-2012
[2043]
If you say your software is safe, that would already trigger it
Arnold
23-Sep-2012
[2044]
Better credit Elmer Fudd than *Bugs* Bunny :)
Henrik
23-Sep-2012
[2045]
Kaj, ok... why is it always licensing that stops good development...
Pekr
23-Sep-2012
[2046]
I don't understand following syntax - is that just a word? 

s: GET_BUFFER(data)
DocKimbel
23-Sep-2012
[2047]
That is the same reason why we adopted BSL for Red/System runtime 
code instead of BSD-3.
Pekr
23-Sep-2012
[2048]
does not look like a rebol syntax :-)
DocKimbel
23-Sep-2012
[2049]
Still, it is valid REBOL syntax. ;-)
Pekr
23-Sep-2012
[2050]
Well, Rebol/Red headers are extensible. Is that really a problem 
to have a 'credit or 'licence field, and mention authors of particular 
components?
DocKimbel
23-Sep-2012
[2051]
You have to make it visible to end users.
Pekr
23-Sep-2012
[2052x2]
Then I am dumb - R2 does not allow being it a word, nor is it a function 
... so, what's that? Well, some tests, uh, surprised :-)

>> GET_BUFFER: [1 2 3 4 5]
== [1 2 3 4 5]
>> GET_BUFFER: [1 2 3 4 5](escape)
>> data: 4
== 4
>> GET_BUFFER(data)
== 4
>> GET_BUFFER/:data
== 4
As for end user visibility, I can imagine one common place to have 
it - Menu/About dialog, credits section. But, what about apps without 
the GUI, right?
DocKimbel
23-Sep-2012
[2054x2]
It can be a CREDITS file distributed with your app.
>> [GET_BUFFER(data)]
== [GET_BUFFER (data)]

;-)
Pekr
23-Sep-2012
[2056]
that's weird, imo REBOL should not allow that at all - confusing 
...
Henrik
23-Sep-2012
[2057]
it's not different than [][][] vs. [] [] []
DocKimbel
23-Sep-2012
[2058x4]
I bet Carl done it specifically to allow such syntactic construction 
for dialects without having to drop down to string! preprocessing.
...or maybe it's just an auto-corrective feature of LOAD that comes 
handy for dialects. ;-)
I've chosen that syntax to visually distinguish simple defines from 
macro with parameters. But you can write it with a space in between 
if you want, no problem.
So, in the context of Red/System, it's less confusing that way.
Arnold
23-Sep-2012
[2062]
Pekr maybe try this instead of with 1 2 3 4 5 
>> GET_BUFFER: [a b c d e]
== [a b c d e]
>> data: 4
== 4
>> GET_BUFFER(data)
== 4
>> GET_BUFFER/:data  
== d
>> GET_BUFFER/(data)
== d
Marco
23-Sep-2012
[2063]
@Doc I want the trivial tasks not non-trivial ones ! I am not an 
expert.
DocKimbel
23-Sep-2012
[2064x2]
I don't see currently any trivial task that could speed up the progress 
of Red, unfortunately, all the tasks in the Roadmap are non-trivial. 
If I stumble upon some non-coding task that can be outsourced, I 
will contact you.
Ah, there's maybe something that you could do: I need to port my 
current Red test script in Quick-Test (QT) form. I can send you the 
script (very very simple) and the expected unit tests format used 
by QT, you would just have to convert it and check if all tests are 
reported as passing in QT...it's not a big task, but you will save 
me some time for advancing on the code. Interested?