World: r3wp
[!REBOL3]
older newer | first last |
Kaj 13-Jan-2011 [7046] | Graham's SMTP protocol doesn't seem to have a place for them, either |
Oldes 13-Jan-2011 [7047x5] | I'm not looking for mail functionality, but where will be stored the user info. |
Another question... if I want function which converts integer to one byte, is there better way than: copy back tail to binary! 60 | |
maybe: to binary! to char! min 255 60 | |
I should try if extension could speed up such a conversions. | |
Hm.. R3 version of conversion to 2 bytes is slower:/ R3: >> tm 100000 [copy/part head reverse to binary! 300 2] == 0:00:00.079 R2: >> ui16-struct: make struct! [value [short]] none tm 100000 [ui16-struct/value: 300 third ui16-struct] == 0:00:00.047 | |
Pekr 13-Jan-2011 [7052] | make a new native as an extension, link it as a command :-) |
Cyphre 13-Jan-2011 [7053] | Kaj, Maxim, thanks for pointing out the document. |
PeterWood 13-Jan-2011 [7054] | Does copy/part head reverse to binary! 300 2 give the correct answer? >> to binary! 300 ==#{000000000000012C} >> copy/part head reverse to binary! 300 2 == #{2C01} |
Oldes 13-Jan-2011 [7055x2] | good... as an extension I have: const short int val = RXA_INT32(frm, 1); REBSER *ser = RL_MAKE_STRING(1, FALSE); RL_SET_CHAR(ser, 0, val ); RL_SET_CHAR(ser, 1, val >> 8); RXA_SERIES(frm, 1) = ser; RXA_TYPE(frm, 1) = RXT_BINARY; return RXR_VALUE; >> tm 100000 [to-ui16 300] == 0:00:00.016 |
Peter: yes.. but speed is important! | |
Cyphre 13-Jan-2011 [7057] | not sure how fast is this, but you can use vector for diffferent int conversions...like: >> uint16: make vector! [unsigned integer! 16 1] == make vector! [unsigned integer! 16 1 [ 0 ]] >> uint16/1: 300 skip to-binary uint16/1 6 == #{012C} |
Pekr 13-Jan-2011 [7058] | So the extension is fastest? |
Cyphre 13-Jan-2011 [7059] | maybe to-binary on vector! could do the job best way but this is not implemented yet probably |
Oldes 13-Jan-2011 [7060] | Command is the best solution for me... I just wonder if there is not a better way how to write it in C, like using pointers or something like that |
Pekr 13-Jan-2011 [7061] | Cyphre - I think that vectore type is still not finished. There were also some blogs about conversions, but I don't remember the outcome .... |
Oldes 13-Jan-2011 [7062] | But for me today starts a new era... I'm really starting to use R3 since now. |
Cyphre 13-Jan-2011 [7063] | Pekr, yes...from http://www.rebol.net/r3blogs/0079.html: Conversions from vectors to blocks and binaries will also be supported. blk: to block! vect bin: to binary! vect Details to be defined. |
Pekr 13-Jan-2011 [7064x2] | Oldes - that is cool to hear! |
Could you tell us, what was the breaking point for you? Is it extension mechanism, which allows you to extend Core? | |
Oldes 13-Jan-2011 [7066] | yes.. it's the extensions posibility... I was doing some heavy math with images recently and I think it's time to move and start using R3.. at least for new scripts.. which also require to rewrite some old which I use often. |
Henrik 13-Jan-2011 [7067x2] | did anyone download the protocols that Graham posted before his wiki went down? |
(Carl is asking) | |
GrahamC 13-Jan-2011 [7069x2] | Sorry for cross posting this in different channels over the last year https://github.com/gchiu/Rebol3/tree/master/protocols |
:) | |
Oldes 13-Jan-2011 [7071] | So Carl is alive? Good to know:) |
Henrik 13-Jan-2011 [7072] | Deciding what to work on next |
Kaj 13-Jan-2011 [7073] | Is he afraid of cURL? ;-) |
Ladislav 13-Jan-2011 [7074] | Yes, sure, he is afraid of everything, that could distract him. |
Kaj 13-Jan-2011 [7075] | Don't worry, you can leave the distractions to me :-) |
Maxim 13-Jan-2011 [7076] | the only thing Carl fears is Megabytes ;-) |
Kaj 13-Jan-2011 [7077] | Give me some time and I'll get to that |
Oldes 13-Jan-2011 [7078x2] | Checking the CC would be a good start. |
Checking the CC would be a good start. | |
Kaj 13-Jan-2011 [7080] | How do you mean? |
Maxim 13-Jan-2011 [7081] | he hasn't gone over the CC tickets in long time. |
GrahamC 13-Jan-2011 [7082x2] | perhaps he wants a change ... ? |
work on something different | |
Maxim 13-Jan-2011 [7084] | but Carl usually optimises into different phases of work. design build fix we sort of know why Carl has been a bit silent lately (he's been working on 2.7.8) now I think he is in a design phase in his mind. |
GrahamC 13-Jan-2011 [7085] | Was there that much done on 2.7.8 ?? |
Maxim 13-Jan-2011 [7086] | Brian Posted a list in the R2 Releases group. I also hope he included 2 fixes which I got Cyphre to address in view which crash or mock-up the quality in AGG. |
Kaj 13-Jan-2011 [7087x2] | RAMBO shows about ten fixes |
Don't remember AGG related fixes | |
BrianH 13-Jan-2011 [7089] | Carl is not the only one to go over the tickets, the rest of us go over them too. But yes, there's new stuff there that needs his attention. |
Pekr 14-Jan-2011 [7090x2] | Elan Goldma registered to R3 Chat ... isn't it Elan, who wrote the first book on REBOL years and years ago? :-) |
Goldman | |
shadwolf 14-Jan-2011 [7092] | it's amazing to see that in 2011 it can take so much energy out of someone just to tweet a "I'm away for 6 month please don't let a message after the bip" |
Pekr 14-Jan-2011 [7093x2] | yes, Carl does not handle communication well. We should not start advocacy here though, but in advocacy channel ... |
there is some indication from some guys here, that Carl might be back to R3 now, just looking into the situation, and deciding upon what's next ... | |
shadwolf 14-Jan-2011 [7095] | Pekr I heard that too ... But that's like the rebol GC we don't know in fact :) |
older newer | first last |