World: r3wp
[!REBOL3]
older newer | first last |
Janko 22-Jan-2010 [87] | rebol3 is not in a process of production but design + production so I would not be too restrictive on carl jumping from one thing to another. he is also only one, so he can't just do r3 for 2 years straight |
BrianH 24-Jan-2010 [88x2] | Implemented the http://www.rebol.net/r3blogs/0300.htmlmodule EXPORT keyword. See http://curecode.org/rebol3/ticket.rsp?id=1446 |
Next up is http://www.rebol.net/r3blogs/0274.htmlcompressed modules/scripts. I have some interesting tricks to make them seamless to use and make, but I have to get a little sleep before I can really dig in to them. | |
Graham 24-Jan-2010 [90] | Do we need SHA256 in checksum ? |
BrianH 24-Jan-2010 [91] | Not a bad idea - what uses it? |
Graham 24-Jan-2010 [92] | Amazon |
BrianH 24-Jan-2010 [93] | Interesting, how do they use it? |
Graham 24-Jan-2010 [94] | for signing requests |
BrianH 24-Jan-2010 [95] | Sounds good. Request it in CureCode. |
Graham 24-Jan-2010 [96] | Eg. Here I use SHA1 http://rebol.wik.is/S3 but I guess they might want to only allow SHA256 in the future |
BrianH 24-Jan-2010 [97] | SHA1 has been having problems lately, iirc (which I likely don't). |
Graham 24-Jan-2010 [98x2] | Do we have an url-encode function? |
This doesn't look good ... http://www.curecode.org/rebol3/index.rsp new issues are being created, but there's a sharp decline in closed issues | |
BrianH 24-Jan-2010 [100x2] | We were focusing on other things for a while. We're bug fixing now though. |
I'm concerned about the accumulating syntax errors - not new, newly reported. At some point soon we'll have to fix the scanner. | |
Graham 24-Jan-2010 [102] | Is there a way to specifiy that you want a timestamp vs date ? |
BrianH 24-Jan-2010 [103x2] | From what? The NOW function, or date! values? |
Also, by timestamp do you mean time! values? Cause they aren't timestamps. | |
Graham 24-Jan-2010 [105x2] | the former |
now => timestamp now/date => date | |
BrianH 24-Jan-2010 [107] | NOW/time returns the time. It's not a timestamp though. |
Graham 24-Jan-2010 [108] | datestamp then ... |
BrianH 24-Jan-2010 [109] | Maybe you want NOW/precise/utc. |
Graham 24-Jan-2010 [110] | I want to specify that a datestamp is the required parameter .. and that a date is not enough |
BrianH 24-Jan-2010 [111] | I don't know the term "datestamp" - what does it mean? |
Graham 24-Jan-2010 [112x4] | it's the full thing returned by now |
date with a time ... | |
So, some DBs have a date type, and a datestamp type | |
though they are called timestamp in Firebird | |
BrianH 24-Jan-2010 [116] | A SQL timestamp is different than a datetime. There's no real timestamp type in REBOL, the closest we have is STATS/timer. |
Graham 24-Jan-2010 [117] | I'm just saying this to try and explain what I mean |
BrianH 24-Jan-2010 [118] | Thanks. The closest we have that is still a datetime is NOW/precise/utc. |
Graham 24-Jan-2010 [119x2] | Let's say that the function you just wrote requires that the user enter the date with a time .... |
how do you tell whether the user in error used now/date instead of 25-jan-2010/0:00 ? | |
BrianH 24-Jan-2010 [121x2] | If you are talking about user input, then it is best to parse and construct. That way any errors can be flagged. |
If you are getting the data from a string and can afford to be strict, use TO-DATE. Like this: >> d: to-date "24-Jan-2010/0:00" == 24-Jan-2010/0:00 >> d/time == 0:00 >> d: to-date "24-Jan-2010" == 24-Jan-2010 >> d/time == none | |
Graham 24-Jan-2010 [123x2] | why can't I import the same module more than once? |
or, how can I do this? If I am rewriting the module code .. | |
BrianH 24-Jan-2010 [125x4] | Sometimes you want to import a module more than once, sometimes you don't. If you want to redo it every time then don't set a name in the spec - that turns it into a mixin. And named modules can be upgraded at runtime. |
Use the version to trigger an upgrade of a named module. | |
The trick is that the code of the new module might need to reference the old to migrate the data, override any words exported to the user context, whatever. This process would of course be different for every different module. | |
Of course that wouldn't affect isolated modules that import yours - those references would need to be upgraded individually or not at all | |
Graham 25-Jan-2010 [129] | Do we have any xml helper functions? eg. enclose-tag: func [ tag name ][ ajoin [ to-tag tag name to-tag join "/" tag ]] |
Josh 25-Jan-2010 [130] | I was wanting to try R3 again, but the download link isn't working.... |
Henrik 25-Jan-2010 [131] | Josh, there are two /r3 paths in the download path. Remove one of them. |
Josh 25-Jan-2010 [132] | Thanks, Henrik! |
GiuseppeC 26-Jan-2010 [133x4] | Time ago I have written about porting REBOL3 to the .NET platform and Java VM. The reason ? There is a big universe of libraries and frameworks immediately usable that would bring many developers to the REBOL platform. Considering .NET and JAVA VM as alternate OS to develop REBOL3 for would be a big step forward to me. |
In life we must first accept a comprimise to bring our ideology to the world. I like the idea of a REBOL executable whose size is less than 1MB but I want to use it as soon as possible and in many scenarios as possible. Would it be so difficul for REBOL Tech. to understand that this starting compromise would be instead the best possible way to pubblicize REBOL ? | |
If you agree with me, what about writing a small letter to Carl explaining our desire ? If many developers sign this letter we could try to convince him to make this step once R3 will go to beta. | |
Then, with the time, the standalone version of REBOL3 will surely gain additional libraries and componet but until then we will have a great ecosystem already available ! | |
older newer | first last |