World: r3wp
[Core] Discuss core issues
older newer | first last |
BrianH 23-Feb-2009 [12741x4] | There are a few functions that were originally written by Carl - 7 of the 67 are slight tweaks to functions Carl wrote, the rest mine. |
Everything is attributed in the file. The main difference in licensing is that you would not be restricted like REBOL mezzanine source. One of those restrictions is that it is not allowed to use mezzanine source (either in the SDK or the source function) on REBOL clones like Oscar. | |
Henrik, the R3 changes to the graphics and port models are not supported. The post-2.7.5 R2 VID changes are not R3 compatible (nor is any R2 VID or RebGUI code) so they should go in another file, which I think should still be external if it would break existing R2 code. | |
The whole point of this is to make new R2 releases mostly unnecessary, and nothing to wait for for most people. | |
Henrik 23-Feb-2009 [12745x2] | Some changes will break VID, so there is probably more reason to create a VID extension kit. |
VID extension kit == independent from R2-forward. | |
BrianH 23-Feb-2009 [12747x2] | Yes, and then release it. Don't wait for a new R2 release. |
However, an extention to patch R2's VID to make it compatible with R2-Forward might be interesting. | |
Henrik 23-Feb-2009 [12749] | I have some plans for such a kit, but it depends on if I will get time to do it and if it collides with R3 GUI development. It involves removing some parts of the current VID, like the WindowsXP style buttons and making SET-FACE and GET-FACE uniform for all styles. Also adding some new styles and the new resize scheme would go under that. It would make VID way less painful to use. |
BrianH 23-Feb-2009 [12750x2] | Sounds like fun :) |
FYI: R2-Forward is currently usable from a DO call, prebol (the SDK preprocessot) or Gabriele's R2 module system. | |
Henrik 23-Feb-2009 [12752x2] | It's about half done and I have a bunch of code files for this. I was going to use it for a large VID project, but it has been dropped, cutting away 6 months of work for me (phew!). |
BrianH, what happened to the idea of including prebol in R3? And if it goes in, would it be included in R2-Forward? | |
BrianH 23-Feb-2009 [12754x2] | A1: Still under discussion, and won't happen before the module rework. A2: Yes. |
For that matter, after the module rework so will modules, to the extent that I can do it. Probably based on Gabriele's code if I can convince him to MIT it - his code is currently BSD, and BSD's non-promotion clause may be at odds with the extensive attribution I've put in R2-Forward. That's why I used MIT: BSD licensing is too restrictive. | |
Henrik 23-Feb-2009 [12756] | interesting |
BrianH 23-Feb-2009 [12757x2] | You can't give people credit for their work or ideas if you can't use their name. |
You're in there, Henrik, credit for your initial GATHER proposal. | |
[unknown: 5] 23-Feb-2009 [12759] | Carl stated at one time that he preferred our works being BSD licensed. |
BrianH 23-Feb-2009 [12760] | Carl is not a lawyer, but he knows that you can't encap LGPL2 or GPL2 code. MIT is less restrictive than BSD, so it's Ok. |
[unknown: 5] 23-Feb-2009 [12761x2] | Well, then I think he would favor the least restrictive model then. |
Maybe he didn't know much about MIT model or maybe it has evolved since he made that comment. | |
BrianH 23-Feb-2009 [12763x6] | That would be public domain. |
I wanted to disclaim implied warrantees, so I chose MIT instead of public domain. | |
BTW, "you can't encap LGPL2 or GPL2 code" means that you can't do so even if you *do* provide the source. Incompatible licenses. | |
The same goes for pre-open-source Java and .NET code on the MS runtime instead of Mono: No GPL2 code, and no static linking of LGPL2 code, even if you do provide the source. You gotta use an exception like Classpath to use (L)GPL2. (L)GPL3 fixes this. | |
That license restriction is the reason Carl suggested BSD at most. | |
(bbl) | |
MaxV 23-Feb-2009 [12769x6] | Hello every body! I can't understand copy with series: |
Example: | |
a: [ "23" "Feb" "2008"] | |
b: copy a | |
insert b/2 "-" | |
(a== [ "23" "-Feb" "2008"]) a IS MODIFIED, why? | |
Henrik 23-Feb-2009 [12775] | each string in the block is also a series. for your problem to be solved, you must use copy/deep. |
MaxV 23-Feb-2009 [12776] | wow, thanks. Now I understand rebol put inside the second elemet "-" and not between the first and the second. |
Henrik 23-Feb-2009 [12777] | ah, it does that for a different reason than you might think. b/2 references the second string itself, not the index in the block where the second string is. you may want to do something like: insert at a 2 '- If you don't want to destroy 'a, copy it first, but in this case /deep is not necessary, as you wouldn't be affecting the strings in the block, only their positions. |
Gabriele 24-Feb-2009 [12778] | Probably based on Gabriele's code if I can convince him to MIT it - his code is currently BSD, and BSD's non-promotion clause may be at odds with the extensive attribution I've put in R2-Forward. That's why I used MIT: BSD licensing is too restrictive. - Brian, first, you are being paranoid about BSD, second, the license for my code has not been decided yet and I have no preference for BSD over MIT over anything else. |
Graham 24-Feb-2009 [12779] | You might have seen this license too ... http://sam.zoy.org/wtfpl/ |
Rebolek 24-Feb-2009 [12780] | that's licence I really like |
BenBran 26-Feb-2009 [12781] | anyone know how I can talk to a UNC path on the network files: recursive-Read %//bens2000as/c$/myTestDir |
[unknown: 5] 26-Feb-2009 [12782] | Benbran try this: %servername/sharename/ |
BenBran 26-Feb-2009 [12783] | bummer: ** Access Error: Cannot open /C/rebol/local/bens2000as/c$/mysql/ |
Gregg 26-Feb-2009 [12784] | Dont use double slashes at the head. |
Graham 26-Feb-2009 [12785x3] | You can always take a windows path, or UNC path and convert it to-rebol-file \\bens2000as\c$\myTestdir |
needs quotes around the windows path ] >> to-rebol-file "\\bens2000as\c$\myTestdir" == %/bens2000as/c$/myTestdir | |
note the single leading "/" | |
Gregg 26-Feb-2009 [12788] | Excellent point Graham. |
BenBran 26-Feb-2009 [12789] | that worked! thank you folks!! to-rebol-file has been the answer before, I really need to remember that one. :-) |
[unknown: 5] 27-Feb-2009 [12790] | Nice little function for you math guys: max-summands: func [n /local i][i: 0 until [i: i + 1 n: n - i n < i] i] |
older newer | first last |