AltME groups: search
Help · search scripts · search articles · search mailing listresults summary
world | hits |
r4wp | 158 |
r3wp | 1415 |
total: | 1573 |
results window for this page: [start: 159 end: 258]
world-name: r3wp
Group: !AltME ... Discussion about AltME [web-public] | ||
[unknown: 9]: 18-Feb-2005 | Actually quite the opposite. AltME is being rebuilt form the ground up (which is why we don't try to fix every little thing on the current version). We are building it to allow for the integration of applets, and a core messaging system to make it more compatible with external applications (for example). | |
Sunanda: 11-Jul-2005 | Security-wise: removing teh guest account is a great idea Marketing-wise: not so sure....adds another barrier to joining the REBOl community. How do people find out how to request to be pre-approved? (One possible way is for rebol.net mirror t have a form that sends an email [if I can use the E word] to the adminstrator) | |
Group: Core ... Discuss core issues [web-public] | ||
Sunanda: 30-Dec-2004 | Best way? I don't know. Assuming only a single letter followed by an integer, I'd do this: print mold sort/compare [ A14 A2 B300] func [a b][ return (to-integer next form a) < to-integer next form b] | |
Volker: 30-Dec-2004 | blk: head reverse [ A14 A2 B300] out: copy[] foreach w blk[repend out [to-integer next form w w]] probe extract next sort/skip out 2 2 | |
Cyphre: 14-Jan-2005 | shadwolf: I think you only need to write one global function which will convert you rebol block of chosen datatype into binary! form...this way you can pass any content to C side... | |
Group: Script Library ... REBOL.org: Script library and Mailing list archive [web-public] | ||
btiffin: 30-Apr-2007 | %datascreen.r %screening.r? Naming is fun. %filtered-import.r is nice too. Note to everybody: If you haven't, check out Chris's %form-date.r, newly in the library... Chris's func'ies are funky, and a nice learn. | |
btiffin: 19-Jul-2007 | For everybody...no more mucking with date formatting... Use Chris' %form-date.r from the library. form-date now/precise "%c" full REBOL timestamps nicely formatted. "%s" added for seconds with nanosecond precision. (Precision...not accuracy) All your dates and times can line up now. :) | |
Sunanda: 13-Mar-2009 | Results of a tiny bit of debugging on the ascii chars problem: -- problem seems to be at the input stage: -- if you have exended ascii characters (top bit set, like the 1/4 used in the script) what we get from the webserver is bad (extra, unexpected extended ascii chars) -- only download is (visibly) affected, although the extra extended ascii chars are present in the text streams -- though there is some REBOL mezz code (decode-cgi) that may be doing something I do not understand -- I can replicate the problem with both Apache and Xitami which suggests the problem may be in REBOL rather than a given server. -- the quick fix would be to add accept-charset="ISO-8859-1" to the <form ....> or <textarea ....> -- but that stops all extended ascii, including the ones we want. So we won't do that. -- the slower fix has yet to emerge from the available options. | |
sqlab: 14-Apr-2009 | Mike I checked your library example from the I'm new group producing errors. There is probably a weakness, as the script does not regard comment lines. A short enhancement would be parse-ini-file: func [ file-name [file!] /local ini-block current-section parsed-line section-name ][ ini-block: copy [] current-section: copy [] foreach ini-line read/lines file-name [ if #";" <> first ini-line [ ; do not process comment lines section-name: ini-line error? try [section-name: first load/all ini-line] either any [ error? try [block? section-name] not block? section-name ][ parsed-line: parse/all ini-line "=" append last current-section parsed-line/1 append last current-section parsed-line/2 ][ append ini-block current-section current-section: copy [] append current-section form section-name append/only current-section copy [] ] ;; either ] ] ;; for append ini-block current-section return to-hash ini-block ] | |
Group: I'm new ... Ask any question, and a helpful person will try to answer. [web-public] | ||
Normand: 12-Apr-2005 | Speaking of double bind, I have no clue of the how-to to this clue. In Ocaml we can make co-recursive definitions, also with negation. But when I try this on Rebol, it claims the value before I have the time to define it: a: not b and b: not a. Interp: ** script error, b has no value. What is the method ? Or are we out of paradise? I could use that as a form of loop, or a form of lexical closure to model some linguistic phenomenas. But how? We know the problems of complement of complement, but as a function value it should be feasible. | |
Normand: 28-Apr-2005 | --Type inference from a newbee point of view: What if I wanted to form true (but un-native) datatypes ? To program them, I shall use the same method as other types in Rebol: To mention the type as its value : seasoning!: seasoning!, like the definition of the type money!: 'money. Rather, I would like to do type inference as they do, for example in ML (I adapt the example from Felleisen's LittleMLer): So I would need to define a new type and verify the type of a word with type? seasoning!: ('salt or 'pepper) Unfortunately this does not seems possible ** Script Error: Cannot use or~ on word! value ** Near: 'salt or 'pepper In Rebol: >> source integer! integer!: integer! type? 1 == integer! but natural!: (0 or natural +1) Type inference: seasoning? salt Would like the answer == seasoning is-of-type? 'salt seasoning Would like the answer == true Am I forced to turn to Ocaml to do this? I am stuck. Thanks for any help! | |
Normand: 22-Jun-2005 | I am trying to add a newline to separate blocks of hashs I add to a file withe the save command. [idkey: 1 objectname: "article" creator: "Lec, Norm" fulltitle: "Title 1" pageread: "1"] {#"^^/"} [idkey: 2 objectname: "article" ... with the line: append bib mold/all newline Unfortunately I dont find the way to dispose the blocks in a pleasing format because the newline separating them is in source format. I did try a dozen of combination with reduce, form mold and compose and the various newline forms I know ^/ "^/" but to no avail. It shure is stupid but I am stock with this. If I use write I am OK, but would like to learn the trick with save. Thanks. | |
Anton: 14-Apr-2006 | page: read http://www.rebol.com images: copy [] use [whsp ws non-end-tag strd p1 p2 delim non-delim][ whsp: charset " ^-^/" ; whitespace ws: [any whsp] ; a rule for any number of whitespace characters non-end-tag: complement charset ">" ; all characters except ">" strd: charset {"'} ; string delimiters, double and single quote parse/all page [ any [ thru "<img" [ ws "src" ws "=" ws p1: [strd (delim: form p1/1) | (delim: ">")] (non-delim: complement union whsp charset delim) p1: any non-delim p2: (append images copy/part p1 p2) ; keep the url | non-end-tag ] | skip ] ] ] new-line/all images on ; add hidden newlines to the images block so it molds nicely print mold images | |
Anton: 14-Apr-2006 | page: read http://www.rebol.com images: copy [] use [whsp ws non-end-tag strd p1 p2 delim non-delim][ whsp: charset " ^-^/" ; whitespace ws: [any whsp] ; a rule for any number of whitespace characters non-end-tag: complement charset ">" ; all characters except ">" strd: charset {"'} ; string delimiters, double and single quote parse/all page [ any [ thru "<img" whsp [ any [ ws "src" ws "=" ws p1: [strd (delim: form p1/1) | (delim: ">")] (non-delim: complement union whsp charset delim) p1: any non-delim p2: (append images copy/part p1 p2) ; keep the url | non-end-tag ] ] | skip ] ] ] new-line/all images on ; add hidden newlines to the images block so it molds nicely print mold images | |
Anton: 14-Apr-2006 | page: read http://www.rebol.com ; special test cases from Alek_K ;page: {<img src="one two.jpg">} ; OK ;page: {<img alt="picture" src=one.jpg />} ; OK images: copy [] use [whsp ws non-end-tag strd wh- non-str-delim p1 p2 delim non-delim][ whsp: charset " ^-^/" ; whitespace ws: [any whsp] ; a rule for any number of whitespace characters non-end-tag: complement charset ">" ; all characters except ">" strd: charset {"'} ; string delimiters, double and single quote wh-: charset "^-^/" ; whitespace minus the space character (space is allowed inside a quoted string) non-str-delim: complement union whsp charset ">" parse/all page [ any [ thru "<img" whsp [ any [ ws "src" ws "=" ws ;p1: [strd (delim: form p1/1) | (delim: ">")] (non-delim: complement union whsp charset delim) p1: [strd (non-delim: complement union wh- charset form p1/1) | (non-delim: non-str-delim)] p1: any non-delim p2: (append images copy/part p1 p2) ; keep the url | non-end-tag ] ] | skip ] ] ] new-line/all images on ; add hidden newlines to the images block so it molds nicely print mold images | |
Group: Make-doc ... moving forward [web-public] | ||
Chris: 10-Jan-2005 | As I see it, I don't think you can apply the same rigour of a structured format to that of a free-form text format -- there simply has to be some level of user forgiveness, otherwise we need to create an even higher level format... | |
Group: MySQL ... [web-public] | ||
DideC: 25-Feb-2005 | Actually, I : - select the lines form Products table - Loop on the result to INSERT each line in the Commands table, with IGNORE option to not replacing already there line. - Loop again on the Commands line to UPDATE the quantity | |
Group: Syllable ... The free desktop and server operating system family [web-public] | ||
Kaj: 14-Nov-2005 | I know how you feel, though. I also have the tendency to feel my way through the installation and did it several times in the beginning to form a mental picture of it | |
Kaj: 28-Dec-2005 | Oh yes, I gave some overview that isn't readily available in such a compact form | |
Group: Linux ... [web-public] group for linux REBOL users | ||
Kaj: 2-Jun-2006 | Unfortunately, the shebang is the wrong way around in the REBOL manual. The best form to use is | |
Group: CGI ... web server issues [web-public] | ||
Sunanda: 5-Jun-2005 | It's fairly straigt-foward (I think!). .......If you have no multi-part data, then just used the "standard" read-cgi -- but remember that on some platforms no input returns "" while on others it returns none http://www.rebol.com/docs/words/wread-io.html .....If you have multi-part data (say an uploaded file), then use Andreas' decode-multipart-form script: http://www.rebol.org/cgi-bin/cgiwrap/rebol/ml-display-message.r?m=rmlKVSQ .....If the form could have both or neither (ie there may or may not be a file uploaded), then each of the above solutions will fail (Carl's when there is. and Andreas's when there isn't)....So wrap the full code in a few attempts to handle that. | |
MikeL: 5-Jun-2005 | Steve, If it is a small number of fields, you can change the html submit action from a 'Post to a 'Get then you will see the fields in the URL when submitted. Just take a copy of the HTML page if it is not yours and look for the Action word in the Form to change then run it yourself. | |
Volker: 5-Jun-2005 | Andreas script does the same (thanks for link sunanda ;) You find there a 'read-post-data, thats read-cgi with another name. and that is used in 'decode-multipart-form-data. | |
Volker: 5-Jun-2005 | A second source of information are the environment-vars passed by the server. They are in system/options/cgi. 'decode-multipart-form needs system/options/cgi/content-type. There youself can look what the datas are too. if it is "multipart/form-data", use 'decode-multipart-form. i don't know the other types, just send a script a form and dump it. | |
François: 25-Jul-2005 | read-cgi: func [ "Read CGI form data from GET or POST." /local data buf ][ if found? find/any system/options/cgi/request-method "POST*" [ data: make string! 1020 buffer: make string! 16380 while [positive? read-io system/ports/input buffer 16380][ append data buffer clear buffer ] return data ] if found? find/any system/options/cgi/request-method "GET*" [ return system/options/cgi/query-string ] test-data ; if in test mode ] | |
Jean-François: 28-Aug-2005 | buy the way, the ZIP in Zip code stands for Zone Improvement Plan. So, I guess when making an international form to input adress, we should maybe ask for "postal code" or " post code", it might be more generic then ZIP code. | |
RebolJohn: 15-Nov-2005 | Hello everyone.. I have a CGI problem/question. I have a Win-apache-rebol server that isn't propagting the cgi info properly.. Upon posting.. the query-string is empty. I am not sure what I am missing.. Details: page1.rcgi ======================== #!c:\rebol\rebol.exe -cs rebol [] print "content-type: text/html^/" print "<html><body>" print " <form action='page2.rcgi' method='POST'>" print " <input type='text' name='var01' size='16' value='test'>" print " <input type='submit' name='go' value='Lookup'>" print " </form>" print "</body></html>" page2.rcgi ======================== #!c:\rebol\rebol.exe -cs REBOL [ ] print "content-type: text/html^/" print "<html><body>" print mold system/options/cgi print "<hr>" print "</body></html>" if I .. ( decode-cgi system/options/cgi/query-string ), my vars are all undefined. Also, looking at the 'print mold system/options/cgi' shows query-string="" if I change page1 form-action to ... "action='page2.rcgi?x=123" then the query-string on page2 gets populated with x=123 and the value 123 gets assigned to 'x' when I 'decode-cgi'. However, my form fields NEVER get populated. Does anyone have any advice? John. | |
Sunanda: 15-Nov-2005 | Glad to help......Get is probably better unless the form data exceeds 1k or so. | |
Pekr: 5-Dec-2005 | I just today was supposed to do quick small form maintanance using Rebol. My friend gave-up on php, as he can't code. So - basically it all worked, I just have few questions: | |
Graham: 12-Dec-2005 | This is an odd one. I have a form that records a user's email address, the time they filled in the form, and their ip address. A user did so, and got two subscription notices - timed 30 seconds or so apart. So, both were his email address, but the ip address of the later one was from Google! | |
Graham: 12-Dec-2005 | My deduction is that somehow google is tracking his movements, and submitted the form themselves to get the content ... | |
Graham: 12-Dec-2005 | Yep, that was it. Mediapartners-Google/2.1 submitted the form again. It looks like if you have the Google search bar, it submits all your internet traffic to google, who then go and try and index that site - including submitting your email address to a form!! | |
Graham: 12-Dec-2005 | Gabriele, it was supposed to be a POST form, but looking now at the source, I see I typed "type=post" instead of "method=post", so it turned out to be GET. | |
Louis: 8-May-2006 | OK, now that cgi is working, I want to make a form that will allow people to give their name and email address to be saved in a rebol db file on the server for me to download at my convenience. Has anyone already done this so that I don't have to reinvent the wheel? | |
Janeks: 16-Aug-2006 | I found that in my case on Linux RebViev needs linux-gate.so.1! I tried to google for "download linux-gate.so.1", but there was a lot of links for different things and it seems form me that it is included in some installation packgage. Could some body help with this library an is it worthwile (will RebView takes it from current dit)? | |
Alek_K: 16-Feb-2007 | (ok - used feedback form) | |
btiffin: 19-Apr-2007 | Hi, question for the webheads. In short. Can a form call a cgi action that processes data but doesn't output any Content-type (or anything for that matter) without the browser status coming up with "waiting for reply". I've got a client that wants a form for requesting more info, but they want to leave the user on the same screen, so I thought I could have a %process.cgi that takes the data and plays with it and then have an intrinsic onsubmit=alert(...) to inform the user that the request has been submitted. The %process.cgi doesn't print "Content-type ..." it doesn't print anything, as I was hoping to leave the same browser screen up. Am I living in lalaland? Should the %process.cgi just redirect back to the original page with? print "location: /original.html^/content-type: text/html^/" or is that deprecated now? It works under my test heads, Cheyenne and nonIE browser, but is there a bigger better way? Or do I tell the client that the browser needs a new page and I can add a back link (not preferred). Thanks for listening | |
btiffin: 19-Apr-2007 | The form comes with a note about Javascript...so far anyway. I'm showing off the print "location: " umm, redirect, to them right now as we speak. | |
btiffin: 19-Apr-2007 | I'll reinform them of the potential problems of having this type of form on their page. | |
DanielSz: 25-Jul-2007 | Hello, I need to send multipart/form-data to a server for uploading a file from the console. I've been googling and searching the script archive, to no avail. Can anyone help? | |
DanielSz: 25-Jul-2007 | Thanks for the help. The recipe from the rebol cookbook show you how to upload a file provided the server runs a rebol script too. The server I'm uploading a file to doesn't. It expects multipart/form-data. Maybe the %cgi.r by Cal Dixon provides a solution. I'll investigate further. More hints will be appreciated, as well... | |
DanielSz: 25-Jul-2007 | In other words, the rebol script has to send values to a form on the server issuing something like that in the header: Content-Type: multipart/form-data; boundary=----------6l5Xq9lJYPaaypknAH8Des etc. Surely someone has done this before (I hope)... | |
btiffin: 25-Jul-2007 | My bad. http://www.rebol.org/cgi-bin/cgiwrap/rebol/art-display-article.r?article=x60w but unfortunately this article skips over the info for multipart/form. | |
DanielSz: 26-Jul-2007 | I played with Oldes script a bit, didn't get far. I think there's no other option than follow Graham's advice and delve in the http scheme. I had hoped to find something in the script archive, oh well... I saw that even in the Ruby and Python community there's some confusion on how to achieve multipart form submissions with CGI. (Python default http library also uses "application/x-www-form-urlencoded" and not ""multipart/form-data", but there's a library called HTTPFileUploader that does the job). Last time I tried to hack the http scheme I wasn't so succesful. This time, if I need help, I'll ask for help. | |
DanielSz: 26-Jul-2007 | The script should be able to post a multipart form as described in rfc1867. It should be able to post a number of fields, for example: Content-Disposition: form-data; name="userid", and finally it should be able to upload a file in binary data. | |
Group: !Readmail ... a Rebol mail client [web-public] | ||
PhilB: 21-Apr-2005 | Hi Fabrice .... the format of the locale.r has changed in release 4.7.12 (for securty purposes) It should now be of the form ... REBOL [ Title: "Test Locale" Date: 31-Dec-2004/18:00:00 ] gm_about: "About" gm_Accounts: "Accounts" gm_Contacts: "Contacts" So you just need to remove the gv_locale/ from your code | |
Group: !RebGUI ... A lightweight alternative to VID [web-public] | ||
Gregg: 5-Mar-2005 | As long as there is a glossary that let's you translate from familiar terms, I think you're OK using REBOL's native terms, though they were foreign to me when I started. Window or dialog? Or Screen or Form or Layout. A Dialog is usually something other than the main screen in an app. You sometimes need to use all those terms if you're speaking in the domain of an application, so use wha'ts appropriate in each context. Face or graphical object? Or Control or Widget. Tough call on this one. I was used to Control from VB, and Face confused me as it could be a layout as well. I like distringuishing between layouts and controls. Hmmm Maybe a hierarchical tree. Facet, attribute, property or descriptor? I like either Attribute or Property. I can live with Facet in REBOL, it's shorter, and it makes sennse if you think in terms like "let's discuss this facet of the business". Style, widget or template? Style, definitely. | |
Ashley: 10-Mar-2005 | Vincent: rate suggestion ... done (overlooked in 0.1.3) Robert: Will the splitter be integrated into the next release? ... Yes Pekr: "I want full OS compliancy in behavior" ... which OS and what skin? Ammon: "RebGUI is ..." ... spot on, and I like that sentence so much I'll add it in some shape or form to the main page ;) | |
Robert: 25-Mar-2005 | list (single or multi column): I once have hired Cyphre to create a style for me. Very useful and powerful. If someone is interested I can provide the code as a starting point (or at least as idea pool). You can find some documentation for it on my homepage under project data-form dialect. | |
Group: Cookbook ... For http://www.rebol.net/cookbook/requests.html [web-public] | ||
Henrik: 19-Jul-2005 | sunanda: they are not meant to be published on my site, I simply wanted to approve them here before handing them to Carl (which I actually have, but he hasn't responded other than "Cool!", but hasn't done anything :-)). I was thinking about a very simple extension to webserv.r which simply submits a form to a modified makedoc2.r processor, which generates a page, sectioned so that you can edit small parts of it. | |
Group: XML ... xml related conversations [web-public] | ||
Maxim: 22-Mar-2006 | 693 kb in xml form ==> 90 kb in nested rebol blocks | |
Allen: 12-Apr-2006 | I think that might be why the microformats are taking off. They use XML in its simplest, intended form. | |
Chris: 9-Nov-2008 | The web and soap/http are in a sense REST applications (REST is just WS over HTTP) though both use a limited subset of REST arguments and have to work around as such. The web is limited (by the HTML spec) to the verbs 'get and 'post, and post content types of 'application/x-www-form-urlencoded (default) or 'multipart/form-data (used to upload files). For the most part, the web is RESTful as we usually only want to 'get resources. However, other operations typically violate REST principles, as all other resource actions (create, update, delete) have to squeeze through the get/post/url-encode/multipart pipe. The Rebol HTTP protocol as standard is designed to mimic this and requires patching to move beyond get/post/url-endode (even for multipart) SOAP as I understand it, when using HTTP only uses 'post - the post content contains the actual request. Where it varies from the web (and Rebol HTTP) is the need for the 'text/xml content type. REST itself is limited only by HTTP. It uses theoretically limitless HTTP (v1.1) verbs (though most common patterns use 'get, 'put, 'post and 'delete). It uses any encoding. It uses HTTP headers as parameters (eg. the 'Accept header specifies the desired return type). Therefore, any HTTP protocol designed for REST will accomodate SOAP requests. | |
Gabriele: 10-Nov-2008 | ashley, look at the source for the page, and search for the <form> tag. if method="GET", as Tom said, look at the url after pressing the submit button and just do a read on a similarly composed url. if method="POST", you need to look at all the <input> tags, figure out what the query string would be, and send it via POST using read/custom. (you could also use wireshark or similar to look at the query string the browser is sending if you don't want to look for the <input> tags) | |
Maxim: 23-Jun-2009 | yes, the best method is to have some form of dtd or schema, and use class-based objects. | |
Graham: 24-Jun-2009 | ie. I load a serialized form of the object | |
Graham: 28-Jun-2009 | fix-object: func [ obj [object!] /local prev ][ foreach element next first obj [ if object? o: get in obj element [ ; is object, so check to see if has value? either "value?" = form next first o [ set in obj element trim/head/tail get in o 'value? ][ fix-object o ] ] ] ] this fixes up the object created by xml-to-object | |
Gregg: 2-Jan-2010 | I believe Maarten has done a SAX style parser. I've used parse-xml in the past, sometimes post-processing the output to a different REBOL form, but my needs were simple. Janko, have you tested any of the existing soluitions, with test input on target hardware, and found them to be too slow? If so, what were the results, and how fast do you need it to be? | |
Maxim: 2-May-2011 | anyone here had issues with receiving Form feed characters in XML (which are illegal in XML 1.0) ? | |
Group: DevCon2005 ... DevCon 2005 [web-public] | ||
MichaelB: 15-Jun-2005 | How does the sending of the DevCon form work. There's written it will be send via e-mail. When I use Opera (my mailer) it just opens the empty mailer and the IE wants to use Outlook what's not configured. Is there another way to send the Survey without making it too hard for you Gabriele ? (copy the information in the mail ....) | |
Gabriele: 16-Jun-2005 | Michael: form result should go to email automatically. you can send me a mail manually if you want. if there's a problem for enough people with the email form, i'll look into setting up a cgi. | |
Gabriele: 16-Jun-2005 | btw, everyone feel free to submit the form even if you are not sure about your answers. it's just getting a mail to me so if you change idea you can just send me another one or send me a note manually. | |
Graham: 16-Jun-2005 | You don't need cgi either, you can use set-net [ "form" 216.40.214.39 ] in your script, and then 'send the results to you. | |
Graham: 16-Jun-2005 | I guess it should be set-net [ "form" "motoko.rebol.it" ] | |
Group: PgSQL ... PostgreSQL and REBOL [web-public] | ||
Oldes: 22-Jun-2005 | At this moment I'm testing it for logging messages into DB form this experimental chat I'm working on: http://box.lebeda.ws/~hmm/and it was running without problems, the chat is working and data stared. I will make more tests after I finish some app. design things. | |
Group: Sound ... discussion about sound and audio implementation in REBOL [web-public] | ||
Sunanda: 17-Jun-2008 | Can any one help me reply to this question (received via REBOL.org's feedback form)? Thanks! << Where can I find more Hex Code like in psg-ay-3-8910-study.r Please point me to a tool that I can use for development of Sound Code for the AY-3-8910 where I end up with Hex Code that I can then load into EPROMs which would drive the AY-3-8910. Thanks for any help. http://www.rebol.org/cgi-bin/cgiwrap/rebol/view-script.r?script=psg-ay-3-8910-study.r >> | |
Group: Rebol School ... Rebol School [web-public] | ||
JaimeVargas: 4-Apr-2006 | BTW, The interpreter transform the infix form into a prefix form: 1 + 1 is really + 1 1 | |
JaimeVargas: 4-Apr-2006 | On last form is 'MY-WORD (Notice the single quote) it is a way to way to 'quote' a symbol this is useful when doing DATA as CODE. Another major concept in rebol. | |
Anton: 22-Apr-2006 | Ok, so here's my frequency table: 6 compose 5 as-pair 5 func 4 do 3 show 2 all 2 copy 2 find 2 form 2 get 2 in 2 pick 2 print 2 to-image 2 use 1 * 1 + 1 - 1 <> 1 = 1 append 1 bind 1 center-face 1 change 1 clear 1 context 1 do-events 1 either 1 first 1 foreach 1 if 1 join 1 layout 1 load-thru 1 make 1 mold 1 object? 1 reduce 1 remold 1 remove-each 1 repeat 1 second 1 select 1 to-pair 1 to-path 1 view | |
Anton: 22-Apr-2006 | 47 if 35 all 17 func 14 find 13 in 13 not 13 print 12 do 12 either 12 get 10 = 10 next 9 clear 9 exit 9 insert 9 pick 8 compose 7 any 6 foreach 6 mold 6 tail? 5 - 5 as-pair 5 last 5 none? 5 object? 5 paren? 4 head 4 reduce 4 show 4 while 3 break 3 copy 3 remold 3 remove 3 same? 3 tail 3 use 2 * 2 + 2 <> 2 context 2 forall 2 form 2 make 2 prin 2 return 2 set 2 to-image 2 to-time 2 view | |
denismx: 5-May-2006 | I have the feeling that would be a very good starting point. I'm a little hazy on what is offered for parsing in Rebol at the moment. I'll look into that next. I think that once you have read a file into memory, it is in block form and you can use natives like "first", "next", "find" and so on on it. If so, then I would be going that way for sure. | |
Group: Rebol/Flash dialect ... content related to Rebol/Flash dialect [web-public] | ||
james_nak: 1-Mar-2006 | Volker, I've just begun to really get into the dialect so I can't comment on how one "translates" the actionscript into it, however, the actionscript pdf is at least a start into trying to figure out the examples. At this point, I am taking one of the examples from the flash actionscript pdf and rework it into the dialect form. Before I had this documentation I was just guessing at the whole process. | |
Group: RT Q&A ... [RT Q&A] Questions and Answers to REBOL Technologies [web-public] | ||
Pekr: 28-Nov-2005 | Please, could RT post a small update in a form of short blog article about current state of developments? 14.11. was missed without single note ... | |
Gabriele: 15-Jun-2006 | do-uninstall: does [ attempt [delete data-path/bypass-install] if get-face ckd [ if confirm reform ["Please confirm that you want to delete all files in" to-local-file data-path][ attempt [delete-dir data-path] ] ] found? all [ attempt [unlink-rebol form system/product true] attempt [unassociate-file true] attempt [unregister "REBOL" form system/product true] ] ] | |
Group: Windows/COM Support ... [web-public] | ||
Cyphre: 20-Jul-2006 | (or at least provide the framework in library form with documentation so people can use it) | |
Graham: 17-Sep-2006 | I would like to be able to send the drugs to this form for checking for interactions. | |
Group: Tech News ... Interesting technology [web-public] | ||
[unknown: 9]: 15-Jan-2006 | Quick review of the Dell 2405fpw 24" 1920x1200 LCD. Worth every penny. About $1K US. Although, there is not system to show 4:3 ratio information form older video cards, so either buy a new video card that supports wide view, or deal with stretched video. It is BRIGHT, and swivels portrait or landscape. | |
Group: !RebDB ... REBOL Pseudo-Relational Database [web-public] | ||
Ashley: 8-Feb-2006 | Data structure makes sense, what's the problematic SQL statement? (in its simplest form) | |
Ashley: 8-Feb-2006 | Stick to basic JOIN syntax in the form: select b.name, b.address from a, b where a.id = b.id and ... those INNER JOIN and LEFT OUTER JOIN statements are unfamiliar to me and I get a headache just looking at them. ;) | |
Ashley: 11-Feb-2006 | Thanks guys, I've had a good look at both implementations and I've got ideas from both for a future full JOIN implementation; but at the moment my master/detail code has come along nicely. I've now enhanced the db-select function to accept statements in these additional forms: select * from master joins [select * from details where &id] on id select * from master joins [select * from details where [all [master-id = &id master-date = &date]] on [id date] which works exactly like a normal join with the following differences: a) It can only join one table to another b) Detail columns are always joined to the right of master columns c) Table.column prefixes are not supported so all columns in the join must be uniquely named Apart from that you get all the benefits of db-select (can replace * with specific column combinations, order and group by on the final result set, etc) *and* it's significantly faster than even the raw REBOL code example I gave before (as the SQL is parsed once within db-select and all loop sub-selects are done in-line). I've also implemented “lookups” with the following form: select * from table replaces id with name select * from table replaces [id-1 id-2] with [table-1 table-2] which performs a highly optimized db-lookup for each replaced value, but has the following restrictions: a) The lookup expects lookup tables in the form [id label other-column(s)] b) Only single-key lookups are supported c) A lookup that fails will replace the column value with none! I'm now in the process of benchmarking these changes against sqlite to see where the bottlenecks (if any) are. Feedback on the design decisions is welcome. While I was doing this, I was once again reminded how cumbersome it is to construct SQL statements (not just for RebDB, same goes for the other SQL protocols), as the heavy use of 'compose, 'rejoin, etc adds noise that reduces legibility. The design goal is to provide alternatives to: sql compose/deep [select * from table where [all [col1 = (val1) col2 = (val2)]]] so for a start the 'sql function should probably accept a string, to allow: sql join “select * from “ table type constructs; but this doesn't make the first example easier. So how about the 'sql function accept a block containing a string statement followed by a number of substitution variables, as in: sql reduce [“select * from table where [all [col1 = &1 col2 = &2]]” val1 val2] which makes things a bit more readable (and shortens the expression if longer word names are used multiple times). So the two questions here are: a) Is this a good idea? b) If so, what substitution character (& % $ @ other) will cause the least conflict with REBOL and/or SQL? | |
Ashley: 9-Mar-2006 | See my post from 12-Feb. The answer to "noise" is substitution variables (as it's a form of expression more familiar to long time SQLers). Also, I've never liked the idea of performing an operation (be it 'compose, 'reduce, 'copy, etc) that takes away that choice from the coder ... someone may use statements that *never* need to be composed and they shouldn't have to carry that cost just because some else needs it. | |
Ashley: 18-Jun-2006 | Almost there, needs to be in the form: db-select/where * my-table [find string-column "string"] | |
Group: SQLite ... C library embeddable DB [web-public]. | ||
Ashley: 13-Feb-2006 | sqlite3-protocol.r has a minor bug whereby locals/cols are not cleared. Fix is to add a "clear cols" at the beginning of the ' sqlite-exec func. Two other changes I made to this function were: 1) Changing “SQLITE_TEXT [any [attempt [load val: sqlite3/column_text stmt j] val]]” so as REBOL values are returned, and 2) Removing the /only clause from "system/words/insert/only tail result col" for those that prefer flat data structures (i.e. non-blocked records) Finally, a simple wrapper makes the whole thing more usable: context [ db: none set 'open-db func [name [file!]] [ db: open join sqlite://localhost/ name ] set 'close-db does [ close db ] set 'describe func ['table [word!]] [ insert db rejoin ["select type, name, sql from sqlite_master where upper(tbl_name) = '" uppercase form table "' order by rootpage"] db/locals/sqlresult ] set 'sql function [arg [string! block!]] [statement] [ case [ string? arg [insert db arg] string? first arg [ statement: copy first arg repeat i -1 + length? arg [ replace/all statement join ":" i pick arg i + 1 ] insert db statement ] ] db/locals/sqlresult ] ] which lets you do stuff like: >> open-db %test.db >> sql "create table t1 (col1 INTEGER, col2 TEXT)" == [] >> describe t1 == [table t1 "CREATE TABLE t1 (col1 INTEGER, col2 TEXT)"] >> sql reduce ["insert into t1 values (1,':1')" now/date] == [] >> sql "select * from t1" == [1 13-Feb-2006] >> close-db | |
Pekr: 13-Feb-2006 | I also hope sqlite will allow "free form" data storage, so I don't need to define length of text fields etc :-) That is the feature I like about rebdb .... | |
Ashley: 1-Mar-2006 | REBOL supports a maximum of 16 callbacks; so to avoid this error don't do %sqlite.r more than once within a script (and there is no sensible reason to do so anyway). As for strings, remember that the driver mold's them; so they are actually stored as "string" (inclusive of quotes). You can reference them in one of two ways: sql {select * from table where col = '"string"'} or sql ["select * from table where col = ?" "string"] The second form is preferred as the binding is handled for you by the driver. I'm in the process of writing a SQLite Driver Guide (that covers this and other tricks) but it's a week or two away at the moment. | |
Ashley: 16-Mar-2006 | Pekr, for an explanation of string vs block see the "Using the Driver" section of: http://www.dobeash.com/SQLite/DriverGuide/ The various refinements (including /direct) are covered earlier in the document under "Database access functions". Jaime: the type? change relates to a problem with "type? ... switch ... #[datatype ..." vs "type?/word ... switch ... integer! ..." as the first form is not compatible with encap. | |
Ashley: 16-Mar-2006 | Hmm, adding /direct to the example posted previously and changing the last part of the INSERT to "... form $1 1 form $1 * 1" seems to work properly (100 error-free runs so far). The *only* difference then is in this line of the value binding logic: unless direct [val: mold/all val] which if you change it to something like: unless direct [p: mold/all val] *bind-text sid i p length? p 0 seems to handle more runs before a failure. Thinking that mold/all might be the problem I then reran my /direct test with the following SQL statement: SQL reduce ["insert into t values (?,?,?,?,?)" 1 mold/all reform ["A" 1] mold/all $1 1 mold/all $1 * 1] which is functionally equivalent to the failing statement ... but no failures (after 100 runs). So, the conditions needed to reproduce this error [so far] are: SQLite library INSERT statement using a particular sequence of bind variables MOLD/ALL coded / used in a particular manner High volume of INSERTs Now is that an obscure error or what? ;) | |
Group: Plugin-2 ... Browser Plugins [web-public] | ||
Anton: 4-May-2006 | It's a simple "proto-form", good for development while we think and argue about a good update mechanism. | |
Pekr: 7-May-2006 | as for browser preference, for me it is IE, FF, Opera, other ...., I can see Opera dominating embedded space (PDAs, cell-phones), but maybe it is because penetration of OS-X here is nearly non-existant ... but as someone pointed out - whole world except MS uses Netscape API plug-in and even for IE, you can develop ActiveX, which wraps the same plug-in, so maybe RT would not have to develop separate versions .... otoh we are talking wrappers only anyway, the main part is View in .dll form ... | |
Allen: 15-May-2006 | Yes. You should try disabling third party cookies in your browsers and see how much stuff is leaked to through that., easy enough to steal from a form a user just filled out ;-) | |
Group: !Liquid ... any questions about liquid dataflow core. [web-public] | ||
Anton: 5-Feb-2007 | No, I mean the diagrams form part of the GUI (when a "show GUI" option is selected). | |
Steeve: 16-Feb-2007 | all the strings form a rebol script | |
Pekr: 7-May-2007 | the trouble with toolkits like wxWidgets imo is, that those allow mostly traditional widgets, kind of RebGUI ones. Not free form faces with draw facitilies etc. | |
Maxim: 7-May-2007 | same kind of list-based, free-form datatype and intutive. | |
Group: DevCon2007 ... DevCon 2007 [web-public] | ||
Pekr: 29-Jan-2007 | excellent - most sites are just reference to hotel search portals. It would be really nice guys, if you would manage some eventual hotel discounts for conference participants. Well, maybe a good idea would be to advertise DevCon a bit, to know how many ppl would attend. Or you can do it other way - reserve e.g. 30 rooms, and use FIFO (first in first out) - even email would work to book room, no form needed ... | |
Group: Games ... talk about using REBOL for games [web-public] | ||
Mario: 4-Jun-2007 | ICarii: "original c++ code" [...] "converting to rebol was a big mindset change" => Maybe I am late but what about a small "REBOL for C++ game programming Guide"? It might be in the form of good comments in the mahjong.r code or an Article on rebol.org | |
ICarii: 2-Jul-2007 | card artwork for the new version of rebtower is located at http://rebol.mustard.co.nz/rebtower-card-art.zip this includes all card stats etc. in their final form. I'm halfway through the art.. 21/40 done. | |
Group: DevCon2008 (post-chatter) ... DevCon2008 [web-public] | ||
Reichart: 9-Dec-2008 | Hmmm, it would be interesting to have a DevCon at this time, since many people are at home. May I suggest, that we do this another way, we create a list and let everyone post when is best, and when is worst, then we cull this to set a date. this is SO easy to do in Qtask (we just create a form for this). In AltME we could create a do list, and let each person just add their preference and follow a format. | |
NickA: 12-Dec-2008 | To prepare for Devcon, I made a sign up form for 3 dates/times that I'm available to do group demo/prep work. Please add your name if you'd like to meet at any of those times. http://rockfactory.us/events/devcon.html . The meeting room will be http://rockfactory.us/rooms/room20. I'll confirm the times/dates at the above page, once a few people have signed up. | |
Reichart: 17-Dec-2008 | We are jumping form room 20 to room 21 |
101 / 1573 | 1 | [2] | 3 | 4 | 5 | ... | 12 | 13 | 14 | 15 | 16 |