World: r3wp
[!REBOL3]
older newer | first last |
Pekr 22-Jan-2010 [78x2] | :-) |
unbelievably .... how much functionality we miss even compared to R2. And we dare to call it "soon"-to-be-beta product | |
Graham 22-Jan-2010 [80] | It does have more functionality than rebol1 beta ... |
Pekr 22-Jan-2010 [81x2] | and more than 0.9x alpha ... I still have one somewhere :-) |
We have to wait a bit for Carl to come-up from his cave ... hopefully he is cooking something here or there :-) | |
Graham 22-Jan-2010 [83x3] | see .. it could be worse |
looks like his still doing site maintenance http://twitter.com/rebol3 | |
oh well... time to play with the host kit. Downloading visual studio 8 ... | |
Andreas 22-Jan-2010 [86] | Just to be picky: you can't actually infer from `actor: make native! [[end!]]` how much a scheme does |
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 [125x3] | 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. | |
older newer | first last |