World: r3wp
[Script Library] REBOL.org: Script library and Mailing list archive
older newer | first last |
Sunanda 20-Oct-2010 [1055] | Yes I do.....What's going on!? |
Andreas 20-Oct-2010 [1056x4] | But in my opinion, "right" would be _no_ extraneous whitespace at the start/end. |
The dev server is running Windows, the live server is running Linux. | |
And the download-script script generates the output by using PRINT. Which leads to a terminating LF on Linux and a CRLF on Windows. | |
Switch the output generation to use PRIN instead (and add a `prin crlf` at the start/end if you really want the extra whitespace), and it should be fine. | |
Sunanda 20-Oct-2010 [1060] | Possible.....But if you add &mode=binary, then do not do a PRINT. We do this instead set-modes system/ports/output [binary: true] insert system/ports/output script-source And that also looks wrong on live. |
Andreas 20-Oct-2010 [1061x3] | Yeah, because that's not where trouble occurs. |
Most likely you have a PRINT before and after that. | |
Or, depending on where the SCRIPT-SOURCE in the above comes from, you do one unchecked reform/rejoin somewhere. | |
Sunanda 20-Oct-2010 [1064] | We have a print for the HTTP headers, prior to chaning modes....that may be part of the problem. |
Andreas 20-Oct-2010 [1065x2] | Maybe even in the upload process, so that the scripts are already stored on disk with the leading/tralinig LF. |
Yeah, the HTTP header print sounds like a very plausible source. | |
Sunanda 20-Oct-2010 [1067] | Okay....let me look at it. |
Andreas 20-Oct-2010 [1068x4] | HTTP requires CRLF termination anyway, so what I usually do is sthg like: prin rejoin [ "Some-Header:" some-value crlf "Another-Header:" another-value crlf crlf ] |
If you do a PRINT instead of the PRIN in this case, that will lead to exactly the extraneous LF we are seeing. | |
If you have a shell on the live server, `head script.r | hd` will give you a hexdump of the start of a stored script. | |
Maybe it is the upload inserting the extra LFs :) | |
Sunanda 20-Oct-2010 [1072] | Thanks for the advice and debugging. I'll look at it more seriously tomorrow. Meanwhile, does this experimental option make it bettter or worse: http://www.rebol.org/download-a-script.r?script-name=base-convert.r&mode=andreas |
Andreas 20-Oct-2010 [1073] | Hehe, mode=text is already working fine for me. |
Sunanda 20-Oct-2010 [1074] | :) And that hasn't changed at all. |
Andreas 20-Oct-2010 [1075] | But yes, mode=andreas looks good. No leading and trailing whitespace! |
Sunanda 13-Dec-2010 [1076] | Thanks Oldes, Peter and Petr for the Rebbies nomination. If I win, I will of course use my year to work with children and animals for world peace. However, it would be better to honour someone who has been more active in 2010; my REBOL work has been a bit sparse this year. So good luck to all the nominees! Anyway, enough of self-promotion. Oldes nomination citation notes that he does not like the look of REBOL.org. That's a widely shared sentiment, and I have much sympathy for the view. However, REBOL.org is to some extent skinnable – look here, if you are logged on, for user-contributed alternative CSS schemes: http://www.rebol.org/css-available.r The current look'n'feel came about by a competition for a better look (won by Roland Hadinger) a few years ago. And it is MUCH better than what we had before! If anyone wants to craft an alternative look'n'feel, please feel free. Of course, just changing the CSS is not everything: contents of menus, access paths, etc may need tweaking to work well with a new look. I am happy to play along with any suggestions that may help anyone who is devising a site make-over. |
Gregg 22-Dec-2010 [1077] | I just noticed that there are 1023 scripts on REBOL.org. Who wants to be 2 **10? |
Sunanda 4-Jan-2011 [1078] | The wait is over! It was Massimiliano's REBOL IDE script. Now for the 2048th! http://www.rebol.org/view-script.r?script=rebolide.r |
shadwolf 5-Jan-2011 [1079] | ? |
BrianH 5-Jan-2011 [1080] | The 1024th script on REBOL.org :) |
shadwolf 5-Jan-2011 [1081x2] | fine 1024 script burried one on top of another :) nice !!! |
the goal is to pile them up till they reach the sky ? | |
BrianH 5-Jan-2011 [1083] | The goal is for them to be there and useful to those who need them. And polite. |
shadwolf 5-Jan-2011 [1084x2] | usefull without the R3 support and without having desktop soft in R3 humm can I doubt about that ? |
rebol.org liked to rebol/view 2 desktop is something we will never see in R3 anytime soon so who cares R2 is deprecated and R3 will never be as great and inovative as R3 used to be... My main claim about R2 is that the technologies proposed in it were great but unfinished ... and simply in R3 those are not even talked about anymore (reb/service reb/plugin reb/console reb/desktop) I know if not happy I better shut my mouth but I wouldn't so what ? | |
BrianH 5-Jan-2011 [1086] | If someone finds it useful and worth working the bugs out of, cool. It doesn't have to be useful to everyone. |
shadwolf 5-Jan-2011 [1087] | yeah but who will be that someone ? me ? hum ... sorry dude i have better things to do than wasting my time in fruitless projects .... that will only be used by me ... I understoud too well that those past 10 years... |
BrianH 5-Jan-2011 [1088] | In 3 out of 4 of those cases you gave, they couldn't be finished because of security issues that could not be fixed in R2. R3 has made a lot of headway towards fixing those security issues, mostly because we kept them in mind when we made the incompatible changes (not everything was incompatible). As more participants use REBOL more, the limitations of it will be resolved. That is how the R2 backports started, for instance. |
shadwolf 5-Jan-2011 [1089] | but at least I can point out that's a shame to waste those things that made rebol a different thing ... |
BrianH 5-Jan-2011 [1090] | If you have better things to do than participate, surely you have better things to do than denigrate the efforts of others? |
shadwolf 5-Jan-2011 [1091x4] | BrianH ok I know R3 was made to make the world a better place blah blah etc... AMen, but thing is since t least those past 5 years not a world on the futur possible for those technologies and now it's even worst you are all tuned with the same borring song "If you are not happy do it yourself yoh!!!" |
BrianH i'm not the only one in that case 90% of the people present here in 2005 have magicaly disapeared from the rebol map ... | |
it's gone at a point that french community some month ago was represented by me, didec, maxim, steeve and Dockimble and Greg that's all | |
we used to be more than 140 ... | |
Sunanda 5-Jan-2011 [1095] | Shadwolf: <fine 1024 script burried one on top of another :) nice !!!> They are all tagged in various ways to help catalog and find relevant scripts, eg: http://www.rebol.org/st-topic-details.r?tag=type//game The tagging could do with an overhaui, so if you want to contribute to the quality of the Library without contributing scripts, then being a retagger is one way to achieve that. |
Oldes 6-Jan-2011 [1096] | Shedwolf..you really willnot bring the people back or interest new people by just repeating how everything is bad as you do now. If we need something, we need optimism, not negativism. Don't you really understand that? |
Cyphre 6-Jan-2011 [1097] | http://en.wikipedia.org/wiki/Criticism#Negative_and_constructive_criticism |
Pekr 6-Jan-2011 [1098] | Shadwolf could use rebol advocacy group. |
Ladislav 6-Jan-2011 [1099] | He definitely does not do any "advocacy", except for advocating his own opinions |
shadwolf 6-Jan-2011 [1100x5] | ladislav same goes for you no? |
my own opinion is based on facts. Sorry to remind you that ... | |
Cyphre there is no critics in what I say that's just what I see ... sorry If what I see is negative. | |
now you can play all is perfect in a fabulous world were we are all friend but your attitude toward me shows it isn't? | |
Cyphre asking for more clarity in R3 and R3/GUI after 2 reboot of R3/GUI project and 5 years of Alpha isn't an insult you know ... | |
older newer | first last |