REBOL

REBOL3 - Script Library (REBOL.org: Script library and Mailing list archive [web-public])

Return to Index Page
Most recent messages (300 max) are listed first.

#UserMessageDate
1169PeterWoodI have uploaded a new version of simple-test.r to the Script Library. The main changes were the addtion of some new assertions and a re-structuring of the code to provide an API for the function which evaluates test cases.

The assertions added are : equal with tolerance, not equal, not error, same, and not same.

3-Mar-11 7:56
1168sqlabthanks too2-Feb-11 20:29
1167SunandaThat's good to know. Thanks!2-Feb-11 20:12
1166sqlabafter updating refresh-sync-point.txt with an actual timestamp it works now2-Feb-11 19:55
1165sqlabThat does not help. Even after downloading the library and installing in the same folders, the librarian still tries to download 169+ scripts2-Feb-11 19:27
1164SunandaYou should be good now......but using the updater to download 169+ scripts wlll trigger the problem again. (Another quick fix is to edit the script to put a wait 10 between each read of the library)2-Feb-11 19:19
1163sqlabno need for hurry2-Feb-11 19:16
1162SunandaOkay....that's a problem.....the downloader does not pace itself, so it triggers flood protection.

Best current work-around is to download the whole set as one file -- probably faster too: http://www.rebol.org/download-librarian.r

Let me take you off the flood trigger list first.....

2-Feb-11 19:14
1161sqlabsooner than later, it fails. So I have to download all?2-Feb-11 19:13
1160sqlabDownloading 169 scripts.2-Feb-11 19:12
1159SunandaYou've probably triggered flood protection.....Leave it five minutes and see if it forgives you.2-Feb-11 19:12
1158sqlabI am trying to refresh my local script library.2-Feb-11 19:11
1157sqlabSorry! LDS error: 400 0 can't connect Request: get-script Parameters: rebtut-indexer.r2-Feb-11 19:11
1156SunandaThanks for the problem report...... There is nothing showing on the Library error logs.....Have you got a failing URL?2-Feb-11 19:10
1155Maximseems to be working for me... in what section are you?2-Feb-11 19:04
1154sqlabproblems ?2-Feb-11 19:03
1153sqlabThe server encountered an internal error or misconfiguration and was unable to complete your request.

Please contact the server administrator and inform them of the time the error occurred, and anything you might have done that may have caused the error.

More information about this error may be available in the server error log.

Apache server at www7.swcp.com

2-Feb-11 19:03
1152Maximwell, just talk about it with him and surely, if you have the time he may let you help him. you can already re-skin the site to make it look better. I just don't have the time nowadays.17-Jan-11 6:16
1151shadwolfyou need direction. This means setting up priorities in things that need to change now. rebol.org since it's the central point of our very very veeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeery small community (we are less than 50 active people guys wake up ) then renoving it and upgrading it constantly is part of the main priorities; like supporting a console and R3/GUI and a new r3/web plugin and a new R3/desktop because desktop is related to rebol.org it makes sense to serriously work on it.17-Jan-11 6:01
1150shadwolfIf you can get the people that hates you to wrok with you to improve things then you are setting up a positive motion and that's what you all need here17-Jan-11 5:57
1149shadwolfmaxim that's too easy to say that sunanda runs the things alone and that's the reason why rebol.org sucks ... when did sunanda call for help never ... when did he try to motivate people hating his website like me to participate. Last things my remarks about rebol.org are common sense. And they were made vastly in 2005 when it opens and when people style gived a damn. 6 years later rebol means nothing NOTHING it's lower than scrub and the recursive lack of work her killed rebol and any initiative around it. Not only each time something cool is done in this community Carl comes with a great announcement to ruin the effort but the promise he makes never come to a reality.17-Jan-11 5:56
1148GreggI'm sure we would all like to see many rebol resources improved, including rebol.org. When someone suggests specific enhancements or offers help, they are generally received with open arms.16-Jan-11 21:33
1147Maximlike just about everything going on with the REBOL language and its community... right now...

if you want to participate and actually DO something, (I mean doing something else than bitch and moan), people will be happy for your help, even Sunanda at rebol.org.

I used to be part of rebol.org team and it took me a single mail from me to get included in the team. it might take a bit more from you now that you've just insulted its main (sole?) author pretty harshly.

16-Jan-11 18:23
1146Maximrebol.org is run mostly by ONE VOLUNTEER. free, with hundreds of scripts, with thousands of features to support. Adding a script to rebol.org doesn't *require* the full library header anymore.

I wonder how many hundred hours went into that huge site.

I'm sorry if it took you one hour to write down 5 lines of text, but It doesn't take me that long. I agree its not optimal, but the help page is simple and conscice.

16-Jan-11 18:19
1145MaximWolfie: Its strange because I often agree with the "essense" of what you are saying, but the way you stuff and the anger in your tone, always means I just skip all the posts.16-Jan-11 18:18
1144Andreaslooking forward to your improved screen design, alphe16-Jan-11 18:04
1143shadwolfcan you some times be aware of the things you do and how you do them ?16-Jan-11 16:38
1142shadwolfanother example of insane thing that makes me crazy .. why the script syntaxe color isn't done by default ... Why is there an anchor link to this feature ?? what is the need of it ... It's like you are saying "hu you know we did this syntaxe color feature but we are so elite and snobe that by default we don't use it because only plain text is for us"16-Jan-11 16:38
1141shadwolfDon't you see that all the terrific information and all the effort to link things up is broken because of the sad and sorry way to show things ? If Carl really want this boring website which won't surprise me since he can't understand we changed century and that eye candy is the first thing then verywell do a side set of page with Eye candy modern rebol.org and put a borring text button on your main page. Something like "If your are not an elite snobe click here this version of our website is for you"16-Jan-11 16:21
1140shadwolfand why this main community central point interest so fiew people around the world?16-Jan-11 16:14
1139shadwolfSo from those constatation and based on my personal experience can't I try to explain why this is a faillure ?16-Jan-11 16:13
1138shadwolfSo here are some stats to help you understand what we are talking about. Rebol.com exist since 7 years. there is 183 registred people apart Carl with 145 script and notchent with 105 script submited the average script submition is 4 scripts per member registred. Rebol.org was supposed to be the heart and the brain of rebol community 7 years later we can notice that 10% of this is Carl Sassenrath and that in the last year less than a hundred scripts are uploaded.16-Jan-11 16:13
1137shadwolfSo does the rest of the world. Which means 10 billion people! Pavel don't you find sad that the last year less than a hundred scripts have been submited to rebol.org ? don't you find sad the gurus main project around R3 are located on github and not anymore on rebol.org. Why they are using github and not rebol.org ? because rebol.org don't fit their needs that's the less we can say no ? Don't blame me because I notice things and instead of being the hypocrit way i choose the frantic way I notice too my dear pavel friend that you attack my mental stability but you don't propose anything to reply to the points I notice and which are valid and widely noticeable.16-Jan-11 16:06
1136shadwolfpavel by the way my dear pavel friend this altme world is full of people that have completly forgot about rebol and don't give a damn anymore about it and it's more because of people like you than people like me :)16-Jan-11 15:58
1135shadwolfpavel you mean i should do like you ? cause it's been years since your last post here dude :)16-Jan-11 15:55
1134shadwolfwhen i enter on rebol.org it's like i enter in a cementary or a museum !! it's not a place that's engaging people to get there often !16-Jan-11 15:48
1133shadwolfpavel you want me to stop bitching rebol.org then do the changes !! even the worst blog of incompetent people looks better than rebol.org. you want to be taken serriously you want rebol to be considere as a profesional level than do things like in 2011 and not like in 1992 thank you ...16-Jan-11 15:42
1132shadwolfpavel you don't care about rebol.org simply because you don't use it !!!16-Jan-11 15:40
1131shadwolfpavel i have an advise for you to participate more in rebol community16-Jan-11 15:37
1130shadwolfpavel i'm frustrated and people are happy with this insane rebol.org16-Jan-11 15:37
1129shadwolfOh and for your information don't tell me that this all text wonder site is done for small device !! I have small device like a smartphone and this is stupidly unreadable on it !!!16-Jan-11 15:22
1128Pavelshadwolf you are looking really frustrated, I have got only two advices for you 1. visit a good psychologist who would help you with your daemons for a lot of money (the more money, the better help.) or 2. try to forget that rebol even exists and stop to do anything about it.16-Jan-11 15:18
1127shadwolfWhat is the main information I want people to get their eye ball catch on ? this is what lead most of the commercial website now in day ... Just apply that pleaaaaaaaaaaaaaaaaase !!!!16-Jan-11 15:05
1126shadwolfthat's the problem when you pile up things one on top of another without never get a second thought of ok what do i want people to absolutle see when they log in ?16-Jan-11 15:04
1125shadwolfin my "member's loundge golf club for only snobish people that are snobe enough to still code in rebol" ido you find normal to get the new about rebol community at the end of this page ??? I'm registered since 7 years in rebol.org and that's just now I notice it ..16-Jan-11 15:03
1124shadwolfyou should inspire your self from android market or app store ... seriously ... Make rebol.org goal like this Easy to get, Easy to Set. Only essential information provided ...16-Jan-11 14:59
1123shadwolfdefinatly there is too much text to read on rebol.org ... we are in 21th century it's graphical and fancy eye candy era in case you didn't notice .. Less text Less Snobe description More images icons colors etc... and it's not only a CSS problem here is just I have to read alot and script alot scince all that could be resumed in 1 nice looking icone bar ... pff ..16-Jan-11 14:58
1122shadwolfMember's Lounge call it Member's profile16-Jan-11 14:54
1121shadwolfmember's loundge ??? OMG it took me 1 more hour to find it ... can't you please use things that ring bells into the commoners and stop using snobe description ?16-Jan-11 14:53
1120shadwolfRemember what ever you do you have to make it easy it's rebol ...16-Jan-11 14:52
1119shadwolfso MAKE ME A FANCE BLINKING WIDE BUTTON ON THE MIDDLE OF MY PAGE AND BE SHORT NAME IT "UPLOAD A SCRIPT" !!! Focus on those 2 points and i will use rebol.org waaaaaaaaaaay much more. If you want to go crazy fancy and make it super cool you can add a picture + text describtion for the GUI based script... Those are the details that separate a boring website noone use and a super website use widely !!16-Jan-11 14:48
1118shadwolfok then second point localting the contribute with your script button ..... THAT'S THE MAIN ISSUE HERE !!! HOW CAN U HIDE IT !!! IF IT TAKES MORE THAN 3 SECOND ONCE LOGED IN TO GET TO THAT POINT U FAILLED IS THAT CLEAR ????!!!16-Jan-11 14:45
1117shadwolfsorry for the double post16-Jan-11 14:43
1116shadwolfI just submitted to rebol.org a 4 line script and it took me 1 hour is it normal to spend 1 hours on the header formating for just a copy past ? Can't we in 2011 get ride of it and have a form that you fill and generate the header for your script ? This is the numberone pain in the ass thing that makes me vomit each time i use rebol.org ....16-Jan-11 14:41
1115shadwolfI just submitted to rebol.org a 4 line script and it took me 1 hour is it normal to spend 1 hours on the header formating for just a copy past ? Can't we in 2011 get ride of it and have a form that you fill and generate the header for your script ? This is the numberone pain in the ass thing that makes me vomit each time i use rebol.org ....16-Jan-11 14:41
1114shadwolfladislav problem is even going in the right group if any existed then you won't talk to me neither :) basically you don't feel concerned by what I say all you want is the job done what ever means are used to achieve that basically I used to think that way too ... But time passed things degradated and now r3 alpha is stuck and side projects like script library and View/Desktop are stuck too since they are related and on suspend until R3 is released ... So to me it isn't a miss placed converstation since R3 futur is related to scriptlibrary futur ... We could is that down time to try to reflect on making this better but that's not a discussion you want to have anyway... That's why the whole rebol world in 2011 is pretty much the same as it was in 2005..7-Jan-11 14:49
1113LadislavI keep my right to maintain that you *are* polluting many groups, misplacing your messages where they don't belong.7-Jan-11 14:33
1112shadwolfladislav I'm poluting ? watch your mouth please not being agreed with me don't gives you the right to insult me7-Jan-11 14:30
1111Ladislav"ladislav no i understand perfectly you want to isolate me to better ignore me" - actually not, I just see, that you are trying to pollute other channels to feel "not ignored". When you placed your rants properly, you were ignored exactly for the reason why I do not want to have your rants here.7-Jan-11 13:53
1110shadwolfladislav no i understand perfectly you want to isolate me to better ignore me ... that's your way7-Jan-11 13:39
1109SunandaThanks, Ladislav.7-Jan-11 8:41
1108Pekr:-)7-Jan-11 8:23
1107LadislavShadwolf, you have a problem understanding. Pekr suggested you were off-topic and suggested the Advocacy group. But, I suggested, that for your rants, the group was inappropriate as well. My observation still holds.7-Jan-11 7:09
1106shadwolfif you considere that the information buried here is anough as way to share information I'm sorry to informe you it's not. that's all look if you are not able to do the documentation for your project I would prefere you to spend 1 hours with me explaining me your project how to contribute it's goal etc and out of this hour i publish a documentation french /english. See that's the level Zero of comunautary organisation but we don't even reach that. Each of you think has the time to do everything and in the end it's not.7-Jan-11 1:45
1105shadwolf110 + alpha version shows that noone including Carl knows where is going R3 or in what stage of it Carl will decide that's now it's a releasable product. We don't know after that if carl has more idea of evolutions regarding rebol, if the past suspendend stuff will be back in work and at which périodicity they will be release. It's said that once R3 will be released and "stable" then all those in suspension side rebol project will be updated and adapted to R3. But we don't know nothing else more and meanwhile rebol/service, rebol port , rebol/plugin, didn't changed since at least 20067-Jan-11 1:40
1104shadwolfCyphre 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 ...7-Jan-11 1:34
1103shadwolfnow you can play all is perfect in a fabulous world were we are all friend but your attitude toward me shows it isn't?7-Jan-11 1:32
1102shadwolfCyphre there is no critics in what I say that's just what I see ... sorry If what I see is negative.7-Jan-11 1:17
1101shadwolfmy own opinion is based on facts. Sorry to remind you that ...7-Jan-11 1:15
1100shadwolfladislav same goes for you no?7-Jan-11 1:15
1099LadislavHe definitely does not do any "advocacy", except for advocating his own opinions6-Jan-11 11:42
1098PekrShadwolf could use rebol advocacy group.6-Jan-11 10:16
1097Cyphrehttp://en.wikipedia.org/wiki/Criticism#Negative_and_constructive_criticism6-Jan-11 10:14
1096OldesShedwolf..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?6-Jan-11 7:17
1095SunandaShadwolf: <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.5-Jan-11 20:50
1094shadwolfwe used to be more than 140 ...5-Jan-11 19:38
1093shadwolfit's gone at a point that french community some month ago was represented by me, didec, maxim, steeve and Dockimble and Greg that's all5-Jan-11 19:38
1092shadwolfBrianH i'm not the only one in that case 90% of the people present here in 2005 have magicaly disapeared from the rebol map ...5-Jan-11 19:37
1091shadwolfBrianH 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!!!"5-Jan-11 19:36
1090BrianHIf you have better things to do than participate, surely you have better things to do than denigrate the efforts of others?5-Jan-11 19:35
1089shadwolfbut at least I can point out that's a shame to waste those things that made rebol a different thing ...5-Jan-11 19:34
1088BrianHIn 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.5-Jan-11 19:34
1087shadwolfyeah 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...5-Jan-11 19:33
1086BrianHIf someone finds it useful and worth working the bugs out of, cool. It doesn't have to be useful to everyone.5-Jan-11 19:29
1085shadwolfrebol.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 ?5-Jan-11 19:28
1084shadwolfusefull without the R3 support and without having desktop soft in R3 humm can I doubt about that ?5-Jan-11 19:25
1083BrianHThe goal is for them to be there and useful to those who need them. And polite.5-Jan-11 19:25
1082shadwolfthe goal is to pile them up till they reach the sky ?5-Jan-11 19:24
1081shadwolffine 1024 script burried one on top of another :) nice !!!5-Jan-11 19:23
1080BrianHThe 1024th script on REBOL.org :)5-Jan-11 19:22
1079shadwolf?5-Jan-11 19:01
1078SunandaThe wait is over! It was Massimiliano's REBOL IDE script. Now for the 2048th! http://www.rebol.org/view-script.r?script=rebolide.r4-Jan-11 22:59
1077GreggI just noticed that there are 1023 scripts on REBOL.org. Who wants to be 2 **10?22-Dec-10 21:10
1076SunandaThanks 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.

13-Dec-10 12:43
1075AndreasBut yes, mode=andreas looks good. No leading and trailing whitespace!20-Oct-10 23:44
1074Sunanda:) And that hasn't changed at all.20-Oct-10 23:44
1073AndreasHehe, mode=text is already working fine for me.20-Oct-10 23:43
1072SunandaThanks 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=andreas20-Oct-10 23:33
1071AndreasMaybe it is the upload inserting the extra LFs :)20-Oct-10 23:24
1070AndreasIf you have a shell on the live server, `head script.r | hd` will give you a hexdump of the start of a stored script.20-Oct-10 23:23
1069AndreasIf you do a PRINT instead of the PRIN in this case, that will lead to exactly the extraneous LF we are seeing.20-Oct-10 23:19
1068AndreasHTTP 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 ]20-Oct-10 23:19
1067SunandaOkay....let me look at it.20-Oct-10 23:19
1066AndreasYeah, the HTTP header print sounds like a very plausible source.20-Oct-10 23:18
1065AndreasMaybe even in the upload process, so that the scripts are already stored on disk with the leading/tralinig LF.20-Oct-10 23:17
1064SunandaWe have a print for the HTTP headers, prior to chaning modes....that may be part of the problem.20-Oct-10 23:17
1063AndreasOr, depending on where the SCRIPT-SOURCE in the above comes from, you do one unchecked reform/rejoin somewhere.20-Oct-10 23:16
1062AndreasMost likely you have a PRINT before and after that.20-Oct-10 23:15
1061AndreasYeah, because that's not where trouble occurs.20-Oct-10 23:15
1060SunandaPossible.....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.20-Oct-10 23:14
1059AndreasSwitch 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.20-Oct-10 23:13
1058AndreasAnd the download-script script generates the output by using PRINT. Which leads to a terminating LF on Linux and a CRLF on Windows.20-Oct-10 23:12
1057AndreasThe dev server is running Windows, the live server is running Linux.20-Oct-10 23:10
1056AndreasBut in my opinion, "right" would be _no_ extraneous whitespace at the start/end.20-Oct-10 23:10
1055SunandaYes I do.....What's going on!?20-Oct-10 23:10
1054AndreasHmm, if by "the dev server does it right" you mean the dev server has CRLF instead of LF at the start and end, I can tell you what's going on.20-Oct-10 23:10
1053SunandaCertainly a bug .... and a bit of a mystery. not obvious where they come from (not yet, anyway) The dev server does it right, live does it wrong.20-Oct-10 23:09
1052AndreasBasically it looks like you've some PRINTs somewhere you'd rather want PRINs :)20-Oct-10 23:04
1051Andreas"Inside" those LFs, everything is nicely and consistently CRLF'd.20-Oct-10 23:01
1050AndreasThat is most certainly a bug.20-Oct-10 23:00
1049SunandaYes, thanks.20-Oct-10 23:00
1048AndreasYou see the `0a` at very start and end?20-Oct-10 23:00
1047AndreasThere you go: https://gist.github.com/c3ef82f0b05dc1aea04520-Oct-10 22:59
1046SunandaThanks....That'll help.20-Oct-10 22:56
1045AndreasWait, I'll upload a hexdump of what actually goes over the wire.20-Oct-10 22:56
1044AndreasBut somewhere on the way something inserts a single LF as the very first and very last character.20-Oct-10 22:55
1043AndreasYeah, and you are achieving that.20-Oct-10 22:55
1042SunandaThe aim to to end up with CRLF in all defaiult cases.20-Oct-10 22:55
1041AndreasIt's not really the editing of the script per se, something is wicked in the surroundings.20-Oct-10 22:54
1040SunandaJust lookin at the source......We do edit line ending to try to get them consistent. Perhaps consistent, but wrong!20-Oct-10 22:54
1039AndreasDue to the erroneously inserted leading/trailing LF.20-Oct-10 22:54
1038AndreasThat should be: currently you* break line endings predictably :)20-Oct-10 22:53
1037AndreasYeah, unfortunately currently break line endings predictably.20-Oct-10 22:52
1036SunandaBut we (s far as I remember) accept contributions with whatever line endings they come with, so some may be pre-messed with.20-Oct-10 22:52
1035SunandaWe've had all sorts of fun trying to get the line endings to work for everyone.

There's a magic, undocumented URL parameter you can add to the URL that might make a difference on your platform.

It is MODE=????

I'll just cut'n'paste the comment from the download-a-script source... it may help explain it:

;; mode=windows -- the default. Makes LF or CR into CRLF ;; mode=binary -- sends file as binary ;; mode=carl -- saved and reloads file first as Carl thought ;; this would fix the problem ;; mode=text -- the old default. Works in most cases. Just ;; prints the file (so sends whatever line ;; terminations work on the platform the library ;; is running on.

20-Oct-10 22:50
1034AndreasAh, and there's a single leading LF as well, right before the script library-inserted header.20-Oct-10 22:48
1033AndreasBut at the very end, there's a trailing single LF.20-Oct-10 22:44
1032AndreasThen the rest of the script uses CR LF as well.20-Oct-10 22:44
1031AndreasOkay, I get a script library header inserted, which uses CR LF to terminate lines.20-Oct-10 22:43
1030AndreasNow let me see what's actually going on.20-Oct-10 22:42
1029AndreasJust downloaded 2 different scripts at random, same weirdness.20-Oct-10 22:42
1028AndreasI get it for all scripts, AFAICT.20-Oct-10 22:42
1027LadislavDid you see such line endings in other library scripts, or do you think it is just me doing something strange?20-Oct-10 22:41
1026AndreasI am downloading http://www.rebol.org/download-a-script.r?script-name=test-framework.r20-Oct-10 22:39
1025AndreasI'm seeing very strange line endings in scripts downloaded from the script library.20-Oct-10 22:39
1024Sunanda:/)22-Jul-10 12:05
1023GrahamYou want an argument?? Let's step outside and discuss this!22-Jul-10 12:04
1022SunandaNice idea. But there is no foolproof way that does not leave someone with a screenreader seeing (or not seeing) double. Also, may mess things up for (the few I hope) people with early CSS implementations in their browsers.

I'm still looking for an argument to convince me that one URL should serve two separate resources depending on user-agent sniffing.

22-Jul-10 12:03
1021NickAMy 2 cents: I like the way the links work now, but I also echoed Graham's request when I initially started using rebol.org. Is it possible to hide a copy of the actual (downloadable script) code, at the top of the web page, so that it's executable by REBOL, but not visible by those using a browser?22-Jul-10 11:09
1020SunandaSimpler for _you_ if we change the source; but perhaps not simpler for _others_ who expect it as it is.

Another even easier solution (easier for me, anyway:)

....In theory, REBOL does hunt through verbiage looking for "REBOL [" and starts executing from there.

So If the R2/R3 interpretor also de-escaped strings like &lt; then the view-script would be executable. Why not curecode/RAMBO that as a request!?

22-Jul-10 8:36
1019GrahamI fire up rebol consoles everywhere .. so I would need to have that function everywhere. Much simple to fix the source.22-Jul-10 8:24
1018AntonIt would just convert a "view-script.r" link into a "download-a-script.r" link, so that users take, for example, the money.r link and type this into their console:

do get-rebol.org-script http://www.rebol.org/view-script.r?script=money.r

22-Jul-10 8:23
1017AntonWould a rebol function named "get-rebol.org-script" in your user.r (or built-in to rebol) help alleviate the problem at all?22-Jul-10 8:12
1016GrahamOr, as Mohammed was wont to do ...22-Jul-10 8:09
1015GrahamSo either educate the users or change your server script22-Jul-10 8:09
1014GrahamYou're missing the point ... if you want to make it easy for users to test scripts ..you need to make sure that the links the users pass around are usable by rebol22-Jul-10 8:08
1013SunandaSometimes users ask for things that are not practical for other users, and thus us poor developers have to make choices that can leave some unhappy :) Suppose I wanted this code to execute the first code block.... do http://synapse-ehr.com/forums/showthread.php?120-RebGUI-table ....That's a reasonable request for me. But is it for all users, such as Rixbot?22-Jul-10 8:05
1012AntonMind your hyperbole, Graham!22-Jul-10 8:04
1011GrahamYep, the users are always wrong!22-Jul-10 8:02
1010SunandaThanks for retesting.

We use a couple of the algos, and then weight the results.

In addition, we do some other stuff -- like give additional weight if the first char matches; or if the lengths are similar.

And we gave some extra weight if the search string was fully contained within the script name (eg some bonus when matching "Apple.r" against "an-apple-script.r" (ignoring the .r of course). What was missing was some extra weight if the script name was fully contained in the seach string (Money.r is fully wthin 3dmoney.r)....Adding that test raised its relevance.

22-Jul-10 8:02
1009AntonAnd I just retested the 3dmoney.r page, now money.r is first in the suggestions list. Nice one.22-Jul-10 7:56
1008AntonSunanda, how did you change the simetrics matching? (I noticed there were several algorithms in the simetrics.r file, so I suppose you selected a better one.)22-Jul-10 7:55
1007SunandaYes, a simple request, but a tough problem to get right in all practical cases.22-Jul-10 7:54
1006AntonIt is a tough problem...22-Jul-10 7:51
1005SunandaIf any agent uses the HTML link, we send them the HTML page. If any agent uses the plain-text link, we send them the plain text. Anything else is likely to lead to complications for some users whose expectations we'd be disregarding.22-Jul-10 7:51
1004AntonSorry, if I'm not clear, my head is quite foggy.22-Jul-10 7:50
1003AntonI feel similarly to Graham on that one. (ie. it's simple ok, but annoying).22-Jul-10 7:50
1002GrahamEveryone else ... send them the script in an executable format22-Jul-10 7:48
1001GrahamIf it's a browser .. give them a browser approprate view22-Jul-10 7:48
1000GrahamAnton, one doesn't change the link you just change the behaviour22-Jul-10 7:47
999AntonA caveat for changing rebol.org's urls; there is a history of rebol.org's urls in mail postings etc. Changing them would invalidate those historical links (unless you also maintain support for those old links).22-Jul-10 7:47
998GrahamNo, because you cause every single person who recieves a rebol org link extra work22-Jul-10 7:46
997Grahamjust a few characters difference22-Jul-10 7:45
996SunandaNo need for second guessing -- REBOL.org already has the "feed me a plain text" link -- use the Download script link for that. That's simplicity......Isn't it!?22-Jul-10 7:45
995Grahamanyway I don't think it matters what spiders pull down22-Jul-10 7:45
994Anton(and I don't run with javascript most of the time).22-Jul-10 7:44
993AntonThat's just piling on complexity.22-Jul-10 7:44
992AntonBugger the javascript idea ! (Gawd!)22-Jul-10 7:44
991Grahamyes you can ... because a spider will identify itself22-Jul-10 7:43
990AntonBut yeah, I think it should be a bit less work to change rebol.org's urls than improve rebol's path-thru.22-Jul-10 7:43
989SunandaNice idea, Graham..... But the REBOL script might be a spider/inder like RIX; and so expects a HTML page. We can't second guess cases like that.22-Jul-10 7:43
988AntonLink as above not usable by rebol; because PATH-THRU has simplistic algorithm for mapping url -> filepath, isn't it?22-Jul-10 7:41
987Grahamif the client is rebol .. we want the script !22-Jul-10 7:41
986Grahamwell, just detect what client it is and send the right thing22-Jul-10 7:41
985Sunandachats ==> chars !22-Jul-10 7:40
984SunandaWe did try to make the direct link usable by REBOl......But that is not easy as we have to escape chats like & and <22-Jul-10 7:40
983GrahamOr, you have some javascript that copies the download link to my clipboard22-Jul-10 7:40
982AntonI'm fairly sure it's not my email client (which is Thunderbird). I thought it was some problem with ecartis which we never got around to fixing.22-Jul-10 7:40
981GrahamI'd rather just you fix the direct link so that it's usable by Rebol ... or, put the download on the page so I can double click and control C22-Jul-10 7:39
980SunandaTrue.....But the page you get to does have a "download script" link. That is usable by REBOL.22-Jul-10 7:39
979GrahamSo I have to right click on the download link and copy link location22-Jul-10 7:38
978GrahamBut those links are not usable by Rebol22-Jul-10 7:38
977GrahamSure Anton .. fix your email client !22-Jul-10 7:38
976GrahamNormally people paste links like this http://www.rebol.org/view-script.r?script=tiffreader.r22-Jul-10 7:37
975AntonMmm... also it seems wrong to try to fix another program's error. The original program with the error should be fixed, not all the programs which might get its erroneous output.22-Jul-10 7:37
974SunandaThanks for the comments, Graham.

3D....Possibly.....But there is one script whose name begins 3D (grandfathered in before we insisted names start witha letter), so it could be genuine.

Download....From the "sorry did you mean" page, you are one click away from the download link -- so would cluttering that page with extra links be that helpful to those who want to view a script.

22-Jul-10 7:32
973GrahamI'd also like to see the download link so I can copy and paste into the rebol console22-Jul-10 7:28
972GrahamI'd suggest recognizing 3D as the beginning of a name could be an encoding error22-Jul-10 7:27
971SunandaAnton reported that that algorithm the Script Library uses for suggesting script names when a name is mistyped was failing to produce some obvious matches. Thanks Anton. Algorithm tweaked.....Please suggest other improvements!22-Jul-10 7:17
970AntonWell, thankyou for being responsive, Sunanda.14-Jun-10 12:42
969SunandaThe FAQ is updated now.....Let's hope it won't be so painful for other potential contributers. Thanks again, Anton.13-Jun-10 14:56
968SunandaFull marks for persistance! Apologies -- the FAQ is out of date, especially Part 3 that tells you (wrongly!) how to contribute scripts. I'll update it in the next couple of days. Thanks for reporting the problem.13-Jun-10 6:36
967AntonJust about everywhere; I found some faq or doc referring to the "control panel", which I couldn't locate. Eventually I realised that I needed to login as a library member, not just a regular member, so I created an account. Even after that it took a while :)13-Jun-10 3:12
966Greggfirs = first.10-Jun-10 15:49
965GreggWhere did you look firs?10-Jun-10 15:48
964AntonHooray, I finally found the Contribute A Script link !!9-Jun-10 14:05
963GrahamHmm.. can't display any of my scanned images :(2-Mar-10 10:28
962GrahamNot clear if it can displayed compressed Tiff images ( fax )2-Mar-10 10:22
961Grahamhttp://www.rebol.org/view-script.r?script=tiffreader.r

Rebol Tiff viewer

2-Mar-10 10:21
960Maximbounties have to be worth the time. if I work at X$ an hour and a bounty offers 1-2 hours worth of work for something that may take a day... its not worth it23-Jan-10 22:58
959RobertYes, but it should be visible in one place that it's happening and things move. The results can be put into Rebol.org23-Jan-10 21:19
958Brock... conversely if the pieces are small enough, and can be done by one coder in a relatively short amount of time, many small pieces would get completed. You know the saying, "pennies make dollars".23-Jan-10 17:39
957RobertA bit OT here but: IMO what's required is a cooridnated approach for this. If everyone is doing a bit here and there, movement is to slow and spend efforts won't have the highst possible impact.23-Jan-10 12:51
956Pekrmaybe we could just join both aproaches into one ...23-Jan-10 9:28
955Pekrok, i tried to take a bit different aproach. I thought, that I might support some efforts with 100 USD per month or two. I would choose, which project I would contribute to ... if there would be more such ppl, eventually willing to spend 50/month, our fellow rebol developers would not necessarily work for free. Even if it does not make one for a living, I think it might be at least nicely motivating ...23-Jan-10 9:28
954HenrikPekr, I don't know, but maybe it's the wording? "Bounty" versus "rent-a-reboler". I haven't seen many examples of bounties that actually worked.23-Jan-10 9:17
953Pekr;-) It is just exactly the same, as I tried to propose Bounty system, yet noone was really interested23-Jan-10 9:16
952NickAWill do :)23-Jan-10 9:10
951RobertMake a list and let us know. And attach a number that we have a baseline to discuss about.23-Jan-10 9:09
950NickAIt would be great for us to have a little "rent-a-reboler" site, at which anyone wanting REBOL features like this (or even scripts - any sort of development work), could post a job and developers could reply with bids. That could give RT motivation to add features that only certain users are interested in initially, and I bet we'd see lots of features get added to REBOL3 as extensions. I'd love to support REBOL by paying for little features that I need/want. Animated GIFs are not a priority for me, but I can think of at least 10 low level functions that I'd buy.23-Jan-10 9:02
949RobertIf it's that small, it should be possible to do a clean-room development.23-Jan-10 8:31
948CarlNot much... perhaps 2 KB. The issue is... that someone would need to provide the C code, with BSD license to include it.23-Jan-10 7:26
947NickAHow much bigger would it make REBOL? If it's too large, a downloadable script would probably be better.23-Jan-10 7:13
946CarlIf someone wants to add this to R3, let me know.19-Jan-10 4:09
945WuJianGood... frames must already be saved in GIF format (UnFREEz does no converting), and that they should be the same dimensions If there is a function in REBOL. It could be more convenient. make-animated-gif: func[images[block!] /size image-size [pair!] /delay [integer!] /loop]......................19-Jan-10 3:41
944NickAI love this tiny program: http://www.whitsoftdev.com/unfreez/ (~20k)18-Jan-10 17:23
943WuJianhttp://www.makeagif.com/ This site does the job . But it limits 12 frames18-Jan-10 7:48
942GreggThere's not direct support in REBOL for saving animated GIFs AFAIK.17-Jan-10 22:58
941WuJianIs there any way to produce a single animated .gif file from ten frame files? This script http://www.rebol.org/view-script.r?script=animated-gif.r runs animation in the gui. Can it be saved into a gif file?17-Jan-10 15:50
940BrianHThe DLL.SO group covers R2's DLL interface, the Extensions group covers R3's.29-Dec-09 19:27
939SunandaDoes the [DLO.SO] group cover it, or is that too platform specific?29-Dec-09 17:19
938Jankohm.. what is the channel to ask about making native libraries? I remember there was one29-Dec-09 17:14
937Jankoaha, then I am actually not going crazy :))))29-Dec-09 17:11
936SunandaI just updated the group name from [Library] to [Script Library] to make its primary purpose clearer.29-Dec-09 17:03
935Janko(at first I thought that someone changed the name of the group just now :)) but now I think that probably I just missed channel29-Dec-09 17:02
934JankoI don't know .. I still remember seeing just Library :)29-Dec-09 17:02
933SunandaIt's an easy mistake to make :)29-Dec-09 17:00
932Jankoups.. I thought this channel is Library .. about native libraries :/29-Dec-09 16:59
931JankoBasically I am writing to ask something ... I am newbie at writing rebol bindings. This binding if it works it works but if almost anything goes wrong it simply crashes. For example missing some file, not going into TEXT mode , not oppening closing something, page reference insted of pdf doc reference given to some function in binding .. pdf that we intend to write being locked (alredy open in acrobat)... ETC ...

I intend to write this robust now, so I am asking how is this usually done? I can check for preconditions before talking to binding at runtime in rebol. Another (better) option is that binding shouldn't just crash for anything that goes wrong. I saw in docs something about error messages as return, so maybe I am doing something wrong in the first place , for example not implementing or setting up some callback for errors... Anyone more experienced than me? Rebol Haru could be quite capable otherwise, it supports all things that are really messy to do in PDF (encodings, embedding fonts, images, encryption, graphics, ...).

One thing is that I can check for these preconditions at runtime,

29-Dec-09 16:39
930JankoI am enhancing the rebol Haru PDF binding again , in the meantime I added support for getting position of current "text cursor" (which was the problem back then).. I needed it to detect when to go to new-page with pdf. Now I also added support for images (jpg and png). I am using Git so code is here: http://github.com/jankom/RebHaruPDF .. it's still heavy in progress and there is a nicer OO interface than the one in sample_images.r (that is using the lowest level direct functions from binding because I am testing if it works at all with it)29-Dec-09 16:30
929SunandaIf you add a new script, yoy can add a (say) library: [r3: 'tested] tag, and that will be picked up and used in the tag index.

The problem with updating the tags in the headers of existing scripts is that it is long-winded: you need to physically upload a new version.

Better just to retag via the [edit tags] link.

13-Dec-09 18:48
928ChrisExactly.13-Dec-09 18:48
927Maximmaybe a simple part of header processing could be that when needs r3 is there... it is tagged as such automatically.13-Dec-09 18:48
926Maximsome of the library headers create tags IIRC. :-)13-Dec-09 18:47
925ChrisOr 'find the most elegant way to' : )13-Dec-09 18:46
924ChrisIt'd be more elegant to find the best way to add it to metadata, like just adding 'r3 to the tested under dialect in the library header.13-Dec-09 18:45
923SunandaIt'd make some sense to add an [R2] tag to all existing scripts (we can do that automatically) and/or [R3//untested] tag. But let's get some [R3] scripts first, so we have a_need_ to make the distinction.

A couple of my scripts should be tagged as [R3] -- I just never got a round tuit: http://www.rebol.org/art-display-article.r?article=j26z

13-Dec-09 18:45
922Maximwhat do you mean?13-Dec-09 18:33
921ChrisBut not in a way that looks weird when R2 and R3 roles are flipped.13-Dec-09 18:32
920Maximits time to show the world that R3 is starting to be usefull, stable and now finally actually better than r2 in few ways.

Its gotten past the fun "prototype" stage and is now at the usefull "it works" stage, even if still alpha/beta

13-Dec-09 18:32
919Maximexactly... but just adding that button in the menu (even if there are only on or two script which are tagged atm) will help raise awareness about the need to tag stuff and to add new r3 content to rebol.org.

that's just my two cents... right now... rebol.org fives the impression it doesn't support r3 at all. maybe a little post on rebol weekly to promote the use of r3 tags and a quiet request to carl to blog about it on the r3 blog, where MANY people go for r3 news.

13-Dec-09 18:30
918SunandaNo many tagged yet :) http://www.rebol.org/st-topic-index.r?i=r313-Dec-09 18:27
917Maximchris: some scripts might need 2 but still be compatible with r3... right now there is no way to know what (still) works in R313-Dec-09 18:25
916SunandaChris -- that will ensure people have to use thr right .EXE to run it.....But not help them select which of the 900+ scripts are R3 ready already.13-Dec-09 18:25
915ChrisSeems version-specific tags become obsolete over time..13-Dec-09 18:24
914SunandaOnce we have a few with an R3 tag, it'll make sense to add R3 as a menu entry.13-Dec-09 18:24
913ChrisIs it not sufficient to set a minimum 'needs header?13-Dec-09 18:24
912SunandaSounds good -- go for it!!13-Dec-09 18:24
911Maximso possibly the best would be to make it a standard like:

r3//only r3//compatible r3//incompatible

13-Dec-09 18:22
910Maximthere is a tagged called r3-ready, but that doesn't rule out its a r3 only script.13-Dec-09 18:21
909Maximok, so my guess is to add r3 as a library *interface* supported tag in the left columns.13-Dec-09 18:20
908SunandaAnyone can add any tag to scripts....Click the [edit tags] link when logged on and looking at a script. http://www.rebol.org/boiler.r?display=st-edit-tags-help13-Dec-09 18:16
907ReichartAgreed.13-Dec-09 17:33
906Maximrebol.org should have a new tag added:

R3

since R3 just about every R3 scripts are incompatible with R2 it would be nice to have reference to what R3 scripts are available on rebol.org.

I ask this cause I want to upload an R3 BNF -> Parse grammer converter and I see no way to make it explicit in the gui that its an R3 script.

13-Dec-09 16:44
905AdrianSlooks good - it might be useful to impose the actual dimensions of the three sizes for consistency. I suppose the submitted images could be scaled after uploading, but it might help the uploader to know the sizes so that he could take them into account and maybe crop the images, if needed.26-Sep-09 4:08
904amacleodvery nice touch25-Sep-09 20:04
903SunandaSomething new in the Library....If you own scripts, you can add images to them to make it all a bit more graphic.

Only example to date here: http://www.rebol.org/view-script.r?script=ascii-chart.r

Notes about how to add images to yoour scripts here: http://www.rebol.org/boiler.r?display=script-images

Thanks to Maxim for the original change request.

25-Sep-09 16:19
902SunandaThe strategy is: -- allow scripts to be tagged as (say) r3-ready,. r3-only, r2-only -- allow searches to be limited to specific tags -- perhaps highligh in searh results the R2/R3 status. The first two steps are already in place.26-Aug-09 17:34
901PekrGuys, is there any strategy of how to distinguish R2 vs R3 script base? I know that there are header/library fields available, but apart from that, I expect almost zero compatibility between R2 and R3 script base, and users might be confused, why scripts don't work for them? Would R2 vs R3 script-base split be a good idea?26-Aug-09 16:41
900SunandaIt's possible....But may take a while. For now, you could publish extension code on REBOL.org as an article (or series of articles).26-Aug-09 15:25
899Maximsunanda, you might want to add an "extension" section to rebol.org where we may contribute C/C++ code to rebol.org... what do you think?

for tutorials and small projects it might be very usefull as a tool to help out other people into understanding how to use the extension API.

26-Aug-09 12:39
898GrahamIn that case, fnished so soon??26-Aug-09 8:43
897MaximI'm almost done doing my lean rebol to JSON converter... and its been tested using an html and javascript test, so its output is valid.26-Aug-09 8:42
896GrahamMax, given up already on the json library?? :)26-Aug-09 8:42
895Maximok , I'll give it a try for fun... :-)26-Aug-09 8:41
894Maximdivs really cause sooooo much browser display issues.... tables usually are easier to manage.26-Aug-09 8:40
893SunandaGood news -- no absolutely positiioned DIVs, so it is a fairly fluid layout, will flow easily into most window size.

Bad news -- main frame of site is a table. Originally, it was nested DIVs but that caused some layout problems when displaying <pre> sections of code. Going to a table was a quick fix that has never been looked at again.

26-Aug-09 8:30
892Maximis the site built using only nested table elements?26-Aug-09 8:28
891GreggThey are very rare.21-Aug-09 14:17
890GeomolNot refinements, get-word arguments.21-Aug-09 12:25
889GeomolIt doesn't seem, functions with get-word refinements are used very much.21-Aug-09 12:24
888GeomolThanks!21-Aug-09 11:26
887SunandaSorry, no there is not -- not online anyway. You could download all the scripts and do a search locally with a few lines of REBOL code http://localhost/cgi-bin/download-librarian.r (the scripts will all be in the /scripts/ folder)21-Aug-09 11:22
886GeomolIs it possible to search the library for something like: "func [:" I only need results, where the string "func [:" is included.21-Aug-09 11:06
885BarikOkay, I'll give it a shot there, thanks.6-Aug-09 18:25
884SunandaBrianH suggests DLL.SO6-Aug-09 18:24
883BarikCore?6-Aug-09 18:21
882BarikWhat's the appropriate group to ask my question do you think6-Aug-09 18:21
881SunandaNo problem.....The flaw is really in AltME: we should be able to move posts around to the right group.6-Aug-09 18:21
880BarikHmm, I just realized library group was for the script library, not for library/load and DLL related questions. Oops.6-Aug-09 18:18
879BarikHi all. I've got an issue in REBOL2. I have a Win32 DLL (using library/load) that has an argument of char**. What does my make routine! need to look like to be able to handle this?6-Aug-09 18:16
878Grahamwell, I guess the obfuscation is fair enough since it's a user/password combination22-Jul-09 9:58
877Grahamor not ..22-Jul-09 9:53
876GrahamLooking at that script, I suspect you can change the definition for user so that it excludes //22-Jul-09 9:52
875SunandaThe email obsfucation is based on Andrew's code. Improvements are welcome! http://www.rebol.org/view-script.r?script=uri.r

Meanwhile, we do not obsfucate if you are logged on. So log on for a better browsing experience.

22-Jul-09 9:40
874SunandaThanks Graham. Paging for AltME archive.....We only put the basics in place. It is certainly improvable. Meanwhile, you can make great leaps if you are happy to edit the end of the URL .... ... eg 16273 is the post number for group 453 of world R3WP. Change the 16273 to move quickly: http://www.rebol.org/aga-display-posts.r?post=r3wp453x1627322-Jul-09 9:38
873GrahamAlso, can we have a smarter parser for obfuscating email addresses:

bugs mysql://[root-:-localhost]/bugs1

22-Jul-09 7:00
872GrahamPerhaps index by month??22-Jul-09 6:16
871GrahamIs there a way to provide page numbers into the altme messages? It's only got newer and older to allow pagination.22-Jul-09 6:16
870SunandaMaxim -- 404s should be fixed now. Sorry again for the problem. Gabriele -- the ISP explains it as some stray redirect for the duplicate folders we had during the migration. I am not sure I follow their explanation, but they say they've fixed it.12-Jul-09 16:02

Return to Index Page