World: r3wp
[Script Library] REBOL.org: Script library and Mailing list archive
older newer | first last |
Sunanda 4-Sep-2008 [689] | We do index the files, and we have several indexes, some built by parsing parts of the script. So we can, usually, search for special parts of scripts -- like strings or comments. Part of the difficulty is that there are some scripts that we cannot do a 'load or a 'load/header on - they are broken or have an incompatible 'needs: header. So we cannot add those scripts to the sepcialised indexes. They need specialised handling :-) Watch this space -- I'm fiddling with some code that may partially need your need. |
Anton 4-Sep-2008 [690x3] | Can't load ? Just skip it with with a warning message :) You still get your 99% solution. |
Oh, sorry, I don't know how many are not loadable in rebol.org. I just loaded my entire source base after fixing one that was unloadable. | |
but I am obviously not taking public submissions like rebol.org. | |
Sunanda 4-Sep-2008 [693] | If we can't load, we try a few tricks (like commenting out the needs: header and reloading). But still, there are one ot two that we fail with. So they don't get as well indexed as the others...And (for the same reasons) they are the ones that appear in black and white even if you click the "view in color" link. |
BrianH 4-Sep-2008 [694x2] | How easy is it to edit your scripts after they have been submitted? Do you feel comfortable adding the appropriate needs header where needed, provided you know enough about REBOL versions to determine? Can you flag the appropriate files as problematic? |
For that matter, do you index line comments separately, as LOAD filters them out? | |
Sunanda 4-Sep-2008 [696x3] | It's pretty easy to update a script after you've contributed it.....Use the [update] link to add a new version. |
Yes, we also index comment lines separately. Basically, we use the same logic as Carl's color-code.r to analyze the parts of a script: http://www.rebol.org/cgi-bin/cgiwrap/rebol/view-script.r?script=color-code.r | |
Brianh: <I am only interested in searching the various word and path types.> Try this quick concept code. In REBOL.org's search box, use [b] as a sort-of inline refinement to limit script searches to just the body of a script, eg sing -- finds nearly 300 scripts which contain the string "sing" but sing [b] -- finds just three scripts that have the word-part "sing" in their body | |
Alan 14-Sep-2008 [699] | . |
Sunanda 31-Oct-2008 [700] | Even better script searching at REBOL.org -- we've extended the "[b]" notation to include other parts of a script and any tags the script has. The search can now be highly tuned to what you are looking for: http://www.rebol.org/boiler.r?display=introduction.html |
Robert 1-Nov-2008 [701] | BTW: Is it possible to search by script comments? |
Sunanda 1-Nov-2008 [702] | Do you mean comments _in_ a script; or comments about a script (ie the discussion threads)? Either way, yes -- check the link in my previous post for the syntax and some examples. |
Robert 1-Nov-2008 [703] | In the script. But cool that it's supported. |
Izkata 1-Mar-2009 [704x2] | Is there something going on with packages? I uploaded a new one several days ago and can't easily redownload it (for testing) - repack.r keeps giving me "ERROR 306: not available right now" |
nothing happens if I click on "help", either.. | |
Sunanda 1-Mar-2009 [706] | It's not a clear message -- sorry......I think it is because the package is not set as being available for downloading: http://www.rebol.org/package-information.r?script-name=arff-datamining.r |
Izkata 1-Mar-2009 [707] | Yeah, 'tis my own mistake.. oops |
Sunanda 1-Mar-2009 [708] | Not really, it's a default which is set backwards to that which many people would expect. Plus an unclear error message. So my apologies again. |
Geomol 2-Mar-2009 [709] | I found some wrong links in http://www.rebol.org/documentation.r?script=makedoc2.r The document is uploaded and owned by Carl. Is it only him, who can change the links? |
Sunanda 2-Mar-2009 [710] | Any of the Librarians can change any document and/or script.....But we tend not to do that without the owner's permission. Please PM me the changes, and I'll get it sorted one way or another. Thanks! |
Reichart 3-Mar-2009 [711] | Welcome back... |
Sunanda 5-Mar-2009 [712] | Thanks, Reichart. Geomol -- Thanks....I've made the changes and notified Carl that his documentation has been updated. |
Ammon 7-Mar-2009 [713] | Doing a search, "Author: Maxim" doesn't briing up his newest script, Blood.r The author field in blood.r is the same as other scripts which do show up with the above search. A search for "Liquid" does return blood.r. Is this a case of "hasn't been indexed yet"? |
Maxim 7-Mar-2009 [714x2] | probably.... use the "latest scripts" link. |
if you just put maxim in the search field, blood is in the list | |
Ammon 7-Mar-2009 [716] | Maxim, I have the script. Playing with it now. If I was directing this question at you I would have put it in the !Liquid group. ;-) This is a question about the behind the scenes opperations of rebol.org... |
Maxim 7-Mar-2009 [717] | I know hehe |
Sunanda 8-Mar-2009 [718] | Ammon -- some of the indexing happens in the background, so can trail 12 hours or so behind a script being updated. In the specific case of searching for an author name, the syntax you need is different: [author//maxim olivier-adlhoch] Help for searches is here: http://www.rebol.org/boiler.r?display=introduction.html |
Ammon 8-Mar-2009 [719] | Of course my syntax was wrong. It probably fairly common for someone to search the library for a specific set-word! and even if it's not, we definitely want to allow for it. I expected granular indexing as well... Thanks for the info! |
Pekr 8-Mar-2009 [720] | Guys, at the moment, rebol.org is soooo slow here, something like 10 sec to appear. Is it just my experience here, or are there any problems? ... |
Ammon 8-Mar-2009 [721x3] | Nope. I'm actually getting rebol.org in about 2 seconds but I'm seeing about 10 seconds of lag on this world. |
Sunanada, I have another question for you. While I was poking around the library earlier I noticed that I have named some of my scripts very poorly and would like to change the FILE: value in the header, which apparently just creates a new copy of the script. Is there a way to remove the old script such that I really am renaming the script rather than uploading a new one? | |
Also, the link to the list of license tags from the [license] link of a script is broken. You have an extra slash in there. | |
Maxim 8-Mar-2009 [724x2] | OMG!! I just discovered there is an online DIFF engine on rebol.org !!! WOW... sunanda... you must provide that functionality upon script update, this is too awesome to hide away in an easy to miss set of links in the script statistics. |
I mean, if we could view the diff before pressing "update" we would have something starting to look like an integrated VCS :-) | |
Ammon 8-Mar-2009 [726] | I second the motion! |
Maxim 8-Mar-2009 [727] | the interface is already ubber clean :-) if I had this on rebol.org update, I think It would make the update process even more appealing for potential new users. |
Sunanda 8-Mar-2009 [728x3] | Ammon -- I can rename existing scripts. It's a moderator-only function. If you want it done, please let me know which ones. |
Ammon -- thanks for bug report. | |
Maxim -- thanks....the diff function code is an embarrassing collection of random hacks. I'm hoping someone else will write a better version that could be made public :-) | |
Maxim 8-Mar-2009 [731x3] | well what I am seeing impressed me ... I wasn't expecting that on rebol.org... really you should allow us to compare right in the update page. I know I'd use it every single time :-) |
might even use rebol.org more :-) | |
in fact... might = will | |
Ammon 8-Mar-2009 [734] | I attempted to rename button.r to vid-button.r so the new script should be deleted and the old one renamed if possible. As for the rest of them... wizard.r TO vid-wizard.r group.r TO vid-group.r drop-down.r TO vid-drop-down.r dragbar.r TO vid-drag-bar.r date.r TO vid-date.r Since we won't be calling the GUI Dialect in R3 VID the new names should make what the scripts do clear even after R3 GUI scripts start popping up... |
Sunanda 8-Mar-2009 [735] | Thanks Max -- I'll take a look at making that an option on upload. |
Maxim 8-Mar-2009 [736] | sunanda COOL :-) and promote it on rebol week, on the ML and in "announce" here too, really I think its a big deal/feature. I woundn't be surprised that most rebol.org users don't even know the diff was there ;-) |
Sunanda 8-Mar-2009 [737] | Maxim -- not sure it'll be that *cool* -- most people are probably not aware of it as you can only see it in action for the scripts you own. Ammon -- thanks again for the license link bug. It's fixed now.....Shows how seldom anyone checks license T&Cs for scripts :-) |
Ammon 8-Mar-2009 [738] | =D |
older newer | first last |