World: r3wp
[Script Library] REBOL.org: Script library and Mailing list archive
older newer | first last |
Sunanda 9-Jul-2009 [855] | REBOL.org just migrated from the world's slowest single server to a small load balanced cluster. Sadly, we're not superfast, but its early days yet. One cosmetic problem: we're showing the date as 6 hours out. Highly trained techies are working to resolve that. Other than that, it was a smooth move, mainly handled by the ISP. |
Maxim 10-Jul-2009 [856] | just noticed that downloading scripts seems to add a .txt extension after the .r so you get script.r.txt |
Sunanda 10-Jul-2009 [857] | Thanks ... I'll add that to my list of migration quirks. We have several now :) |
Maxim 10-Jul-2009 [858] | also, some scripts indexed on google do not have the same url now... no example, but just tought I'd point this out... its possible the url has changed slightly. |
Sunanda 10-Jul-2009 [859x2] | I just tried a script download under Windows: -- when I selected "save to disk" it was saved as a *.r file as I';d expect -- when I selected "open with notepad" it got named *.r.txt" |
Google changes -- do you mean the whol /cgiwrap/ stuff in the middle of a URL? | |
Maxim 10-Jul-2009 [861] | here is an error I got trying to go to the http-tools.r script... Not Found The requested URL /cgi-bin/cgiwrap/rebol/view-script.r was not found on this server. Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request. Apache Server at www.rebol.org Port 80 |
Sunanda 10-Jul-2009 [862] | Thanks -- I see that too......We need a tweak on the URL rewriting. |
Maxim 10-Jul-2009 [863] | glad to help. :-) |
Sunanda 10-Jul-2009 [864] | Thanks -- looks like our .htaccess is being ignored by the new version of Apache. I suppose I could mess around trying stuff in .htconfig to work around it. Instead, I've asked the ISP why .htaccess is not enabled. I'll ley you know when they respond. |
Graham 10-Jul-2009 [865] | I get an internal server error at www.rebol.org |
Sunanda 10-Jul-2009 [866x2] | Thanks, So did I -- I uploaded one changed cgi script as part of the sea trials for the new site. And suddenly it all went dark. Back now.....Not sure what happened, yet. |
Got it -- what I'd uploaded (using our time-tested uploader) somehow had the wrong sort of line endings, and Apache got very unhappy. My immediate attempted repair (hand upload via FTP) also had the same issue. I have no idea why the line endings are suddenly acceptable. The ISP saved the day by restoring the cgi-bin from the previous night's backup. | |
Gabriele 11-Jul-2009 [868] | Sunanda, what usually creates problems is the shebang line ending. If it's CRLF, the CR becomes part of the command line. |
Sunanda 11-Jul-2009 [869] | Thanks Gabriele. That's probably what happened. The real mystery though is why our upload process gets it wrong with the new server. |
Sunanda 12-Jul-2009 [870] | Maxim -- 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. |
Graham 22-Jul-2009 [871x3] | Is there a way to provide page numbers into the altme messages? It's only got newer and older to allow pagination. |
Perhaps index by month?? | |
Also, can we have a smarter parser for obfuscating email addresses: bugs mysql://[root-:-localhost]/bugs1 | |
Sunanda 22-Jul-2009 [874x2] | Thanks 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=r3wp453x16273 |
The 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. | |
Graham 22-Jul-2009 [876x3] | Looking at that script, I suspect you can change the definition for user so that it excludes // |
or not .. | |
well, I guess the obfuscation is fair enough since it's a user/password combination | |
Barik 6-Aug-2009 [879x2] | Hi 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? |
Hmm, I just realized library group was for the script library, not for library/load and DLL related questions. Oops. | |
Sunanda 6-Aug-2009 [881] | No problem.....The flaw is really in AltME: we should be able to move posts around to the right group. |
Barik 6-Aug-2009 [882x2] | What's the appropriate group to ask my question do you think |
Core? | |
Sunanda 6-Aug-2009 [884] | BrianH suggests DLL.SO |
Barik 6-Aug-2009 [885] | Okay, I'll give it a shot there, thanks. |
Geomol 21-Aug-2009 [886] | Is it possible to search the library for something like: "func [:" I only need results, where the string "func [:" is included. |
Sunanda 21-Aug-2009 [887] | Sorry, 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) |
Geomol 21-Aug-2009 [888x3] | Thanks! |
It doesn't seem, functions with get-word refinements are used very much. | |
Not refinements, get-word arguments. | |
Gregg 21-Aug-2009 [891] | They are very rare. |
Maxim 26-Aug-2009 [892] | is the site built using only nested table elements? |
Sunanda 26-Aug-2009 [893] | Good 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. |
Maxim 26-Aug-2009 [894x2] | divs really cause sooooo much browser display issues.... tables usually are easier to manage. |
ok , I'll give it a try for fun... :-) | |
Graham 26-Aug-2009 [896] | Max, given up already on the json library?? :) |
Maxim 26-Aug-2009 [897] | I'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. |
Graham 26-Aug-2009 [898] | In that case, fnished so soon?? |
Maxim 26-Aug-2009 [899] | sunanda, 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. |
Sunanda 26-Aug-2009 [900] | It's possible....But may take a while. For now, you could publish extension code on REBOL.org as an article (or series of articles). |
Pekr 26-Aug-2009 [901] | Guys, 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? |
Sunanda 26-Aug-2009 [902] | The 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. |
Sunanda 25-Sep-2009 [903] | Something 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. |
amacleod 25-Sep-2009 [904] | very nice touch |
older newer | first last |