AltME groups: search
Help · search scripts · search articles · search mailing listresults summary
world | hits |
r4wp | 82 |
r3wp | 471 |
total: | 553 |
results window for this page: [start: 83 end: 182]
world-name: r3wp
Group: All ... except covered in other channels [web-public] | ||
Graham: 3-Jan-2005 | I want a way to generate mp3 voice mail .. this does the mp3 encoding. | |
Group: Ann-Reply ... Reply to Announce group [web-public] | ||
JaimeVargas: 4-Mar-2005 | We use the same code to configure the unit. To generate the admin tools. To design the networks. And all uses the same code base. Everything runs of different OS. | |
Group: !AltME ... Discussion about AltME [web-public] | ||
[unknown: 5]: 4-Jan-2005 | I need a solution that can hold alot of content that might be generated in one day - far more than we generate in the REBOL world in one day. | |
Group: RAMBO ... The REBOL bug and enhancement database [web-public] | ||
Anton: 14-Jan-2005 | What if you want to generate code, eg: >> reduce ['return: [integer!]] == [return [integer!]] ; I wanted this ---> [return: [integer!]] | |
Ladislav: 15-Jan-2005 | Anton: What if you want to generate code, eg: >> reduce ['return: [integer!]] try reduce [first [return:] [integer!]] | |
Brett: 19-May-2005 | test-address-import: func [ {Returns true if pass, false if discrepency and none if failed with error.} limit [integer!] "Number of TO address to generate." /quiet "Does not display error." /local to-list eml sep msg obj ] [ to-list: copy {} sep: "" repeat i limit [ eml: to-email join "test-" [i "@test.com"] repend to-list [sep {"'} eml {'" <} eml {>}] if empty? sep [sep: {,^/ }] ] msg: replace copy {Date: Thu, 12 Feb 2004 11:41:49 +0100 From: test <[test-:-test-:-com]> MIME-Version: 1.0 To: TO_LIST Subject: [REBOL] test message - edited copy of real message Content-type: text/plain; charset=us-ascii Content-Transfer-Encoding: 8bit Sender: [rebol-bounce-:-rebol-:-com] Reply-to: [testing-:-testing-:-com] Status: Test message. } {TO_LIST} to-list either error? set/any 'result try [ obj: import-email msg limit = length? obj/to ][if not quiet [print mold disarm result] none][result] ] | |
shadwolf: 3-Jun-2005 | If this fonctionnality remains payant we at most need to rethink internally the way to work or build an intermediate library loading system script that allows people to load the library without the needs of wrtiting by their howns the bridge or a tools that take a makefile of a sample program and the include file and generate a rebol script bridge for any library that must be loaded to use the wanted libraries thos bridges script files must then be supplyed as the libraries and the program script in rebol that exploit those libraries | |
Anton: 10-Jul-2005 | Gabriele, can you add an extra bit to the details here http://www.rebol.net/cgi-bin/rambo.r?id=3837& A reason for wanting this is to be able to generate an image of what the style looks like without opening a window, eg. for documentation. (It's good to see what the original reasons are for each bug report. Should make fixing them more satisfying too.) | |
BrianH: 8-Sep-2005 | I suspect that this nesting behavior was intended to better enable using REBOL to generate code in languages with C-like block structure. I know it is useful for putting Javascript in generated web pages. There may even be such generation of C code as part of the REBOL build process. For that matter, it can be useful when specifying REBOL source code in strings when that code also contains strings. | |
Pekr: 2-Dec-2005 | things like key-up, ability to generate events, etc., simply things which were planned, don't yoy remember, Kru ;-) | |
Graham: 20-Nov-2006 | Is this a one fire mechanism? When I do this, and get an error, and print it .. or whatever, and if I generate the same error again, it then drops to the standard error handler ignoring my error handler. | |
Group: Core ... Discuss core issues [web-public] | ||
Ladislav: 14-Jan-2005 | if you supply none, you generate an "empty" struct | |
Graham: 12-Mar-2005 | what does this mean? * Generate 64 bits of randomness from a good, well-seeded random number generator; ie. how large a seed do I need to get 64 bits ? | |
Graham: 12-Mar-2005 | http://www.jwz.org/doc/mid.html In summary, one possible approach to generating a Message-ID would be: * Append "<". * Get the current (wall-clock) time in the highest resolution to which you have access (most systems can give it to you in milliseconds, but seconds will do); * Generate 64 bits of randomness from a good, well-seeded random number generator; * Convert these two numbers to base 36 (0-9 and A-Z) and append the first number, a ".", the second number, and an "@". This makes the left hand side of the message ID be only about 21 characters long. * Append the FQDN of the local host, or the host name in the user's return address. * Append ">". | |
Graham: 12-Mar-2005 | I used 1'000'000 here .. don't know if it's enough generate-messageid: does [ rejoin [ "<" enbase form now/time/precise "." enbase form random 1000000 "@" server-name ">"] ] | |
Gabriele: 12-Mar-2005 | generate-messageid: does [ rejoin ["<" enbase checksum/secure random/secure mold system/error "@" server-name ">"] ] | |
Graham: 12-Mar-2005 | generate-messageid: func [eml [string!] [ rejoin ["<" enbase checksum/secure random/secure eml "@" server-name ">"] ] | |
Group: Script Library ... REBOL.org: Script library and Mailing list archive [web-public] | ||
Sunanda: 20-Jan-2005 | There's already an optional "see also" header, eg: http://www.rebol.org/cgi-bin/cgiwrap/rebol/view-script.r?script=ascii-chart.r And there's no reason why that can't generate a footnote in the same way that the "replaced-by" header does, eg: http://www.rebol.org/cgi-bin/cgiwrap/rebol/view-script.r?script=calc-engine.r All we need now is a volunteer to go through 600+ scripts and group them together. | |
Sunanda: 7-Sep-2005 | Hey, fun stuff -- REBOL.org just got attacked by some sort of spambot trying to generate hundreds of fake signup accounts. It managed to create 10 before our bot detection kicked in. They must think we're stupid. | |
Sunanda: 7-Sep-2005 | Yep, we have our own sort of flood detection running. I call it RID (rampaging intruder detection) Problem with a captcha tyope solution is that we may need View to generate the random images. But our CGIs currently can only run under Core. Plus it disadvantages the visually disabled. Each time I see an attack like this, it gives some more ideas for tightening up. Most of the time (like tis time) were one step ahead of the vandals. | |
Tomc: 31-May-2007 | I auto generate the words so when a new rebol comes out I can notice if a word I happen to use already has a builtin purpose | |
shadwolf: 16-Jan-2011 | I 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 .... | |
shadwolf: 16-Jan-2011 | I 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 .... | |
Group: Make-doc ... moving forward [web-public] | ||
eFishAnt: 10-Jan-2005 | It is entirely possible to parse blocks into text markup, when you want to allow code to automatically generate its own document (that is a hierarchical source, source code) | |
Robert: 16-Jan-2005 | More precise: 2-pass script. First parse, second generate. | |
eFishAnt: 16-Jan-2005 | as I said earlier, there are thousands of products which the core of make-doc from RT will generate. It is pretty easy code to extend, once you get the hang of it. Make-doc2 gives us a much better springboard to do things right, with a better user experience out of the box. | |
Ashley: 20-Jan-2005 | Exactly, which means each emitter then has to generate a TOC and number the section headings - this content manipulation should not be the concern of each and every emitter! ;) | |
eFishAnt: 29-Jan-2005 | nice examples, Geomol...curious the look of the markup needed to generate that. I think you said you surround the text with nestible tags, using a heirarchical structure? | |
Robert: 24-Mar-2005 | So, I have made some enhancements to MDP and put a beta online. You can find it at: http://www.robertmuench.de/download/make-doc-pro.r The following changes have been made: *Bugs fixed:* #State tracking flags weren't correct, could lead to strange results when using tables where cell text used inline markup. Especially in site-mode. *New Features:* #Code can now be included via ~=include code <filename>~ where the included code will be automatically indented and hence handled like an example by the output format emitter. *Programmatic changes:* #Celeaned up the global word pollution (Thanks to Ahsley Truter) #Renamed ~generate-files~ function to ~scan-doc~ to meet MD2 wording | |
Group: Parse ... Discussion of PARSE dialect [web-public] | ||
MichaelB: 23-Oct-2005 | =image file: images/a picture.gif size: 200x300 caption: some caption below the picture desc: some description for the picture I'm trying to extend Makedoc2 for a project to generate a xml dialect and I need much more information to certain elements - e.g. images - so I'm trying to make it as easy as possible for the user. The above is what I actually wanted to parse - but the order of the information is supposed to be free and I can't and don't want to use rebol datatypes which might be the first thought to make the parsing easier, because normal people don't want to learn too many rules for all these things. So the b and c in the example corresponded more to the caption and desc in the above example. | |
Anton: 8-Jan-2006 | Ah, recursive rules. :) I pushed my variables onto a stack when recursing, then popped them off when returning. That tends to bloat the code a fair bit. ( push-vars [a b c] recursive-rule pop-vars [a b c] ) so then you get to thinking to generate this code automatically with a make-recursive-rule function, which takes a parse rule, looks for recursion in it, then surrounds it with push-vars and pop-vars for you (kind of macro expansion). Or I did something like that, anyway. | |
Group: MySQL ... [web-public] | ||
Anton: 9-Jan-2006 | We need the C code that they use to generate the checksum. That way we might see some comments or code which tell us how it is computed and if rebol's builtin checksum also does it. | |
Group: Linux ... [web-public] group for linux REBOL users | ||
Carl: 2-Mar-2006 | But, it became clear to me that the package database does not appear specific enough to be able to generate a solid set of packages in that manner. | |
Group: CGI ... web server issues [web-public] | ||
james_nak: 30-Aug-2007 | Anyone know the answer to this one? I have a cgi script that sends an email out. The problem is that I want to send to an address that has the same domain name as the website but whose mail server is not located there (It's an Exchange Server). Any other address works fine as expected. I think it has to do with the mx records but, the weird thing is that if I generate an email via php, it goes through. Therefore I'm thinking Rebol can do it too. I've used set-net for the smtp server and have set it a different server completely but still no go. And I'm in the process of having the MX records changed. | |
Maarten: 24-Nov-2007 | The generating part will be asking you a few questions and the generate matchhing config files and binaries that you can copy to an empty Linux box with only lighttpd installed (or enginx) | |
Group: Dialects ... Questions about how to create dialects [web-public] | ||
Chris: 11-Jan-2005 | Ah, I see. Still, it doesn't seem most elegant. Another option would be to generate the permutations dynamically, but again, not so elegant... | |
Ladislav: 2-Nov-2005 | tests: substitute [ generate-test [ set variable value eq variable 1 ] [value] [1 2] return "OK" label fail do discard [print ["test:" mold testing "failed"] halt] ] [generate-test] | |
Group: Web ... Everything web development related [web-public] | ||
Pekr: 31-Jan-2005 | hmm, it is long time ago I looked at Temple sources, but it seemed to me, that first phase generates block of blocks ... then you use some functions, e.g. find-by-id, etc., which does lookup in rebol block structure and then it replaces/adds data to it. Now once you generate html content, how does it know about its original formatting? You would have to store pointers to certain sections of original template to fill-in releavant data, but maybe I just was looking wrong into it ... | |
Group: SDK ... [web-public] | ||
Ashley: 7-Apr-2005 | Thanks Chris, that's a handy little util. The only thing it can't do is change PNG color depth (useful if you generate your PNGs from REBOL). Any ideas on that score? | |
Pekr: 1-Nov-2005 | Henrik - most of the free utils of archivers allow you to generate so called "autoextracting archive" | |
Group: !RebGUI ... A lightweight alternative to VID [web-public] | ||
shadwolf: 11-Apr-2005 | tab-panel: make face [ color: none pane: [] l-arw: none r-arw: none dir-buttons: false feel: make default-feel [ redraw: function [face act pos] [test-size test-wid] [ if act = 'show [face/pane/1/size: face/size - 0x20 ; ; test-wid: face/pane/1 ; test-size: test-wid/size/x ; if greater? test-size face/size/x [ ; either not dir-buttons [ ; dir-buttons: true ; insert tail face/pane face/l-arw: make arrow [ ; size: 20x20 ; offset: as-pair (face/size/x - 40) 0 ; data: 'left ; action: [print "you clicked left" ] ; ] do face/l-arw/init ; insert tail face/pane face/r-arw: make arrow [ ; size: 20x20 ; offset: as-pair (face/size/x - 20) 0 ; action: [print "you clicked right" ] ; data: 'right ; ] do face/r-arw/init ; ][ ; face/r-arw/offset: as-pair (face/size/x - 20) 0 ; face/l-arw/offset: as-pair (face/size/x - 40) 0 ; ] ; ] ; print "la liste des bouttn est plus grande que ce que l'on voit!!!" ] ] ] init: has [tab-offset last-tab] [ ; create main display area insert pane make face [ offset: 0x20 edge: default-edge] ; add tabs tab-offset: 0x0 insert tail pane make face [ offset: 0x0 pane: [] color: none ] container: last pane insert container/pane make face [ offset: 0x0 pane: [] color: none] foreach [title spec] data [ insert tail container/pane/1/pane make face [ offset: tab-offset size: 1x20 pane: [] text: title effect: reduce ['round edge-color 5 'draw copy []] resize: none font: make default-font [align: 'center valign: 'bottom] para: default-para feel: make default-feel [ over: func [face act pos] [ either act [ insert face/effect/draw compose [ ; compose required for AGG betas pen over-color line 3x1 (as-pair face/size/x - 4 1) line 2x2 (as-pair face/size/x - 3 2) line 1x3 (as-pair face/size/x - 2 3) ] show face ][ if face/parent-face/parent-face/parent-face/pane/1/pane <> face/data [ ; clear unless selected clear face/effect/draw show face ] ] ] engage: function [face act event] [pf old-face] [ if event/type = 'down [ pf: face/parent-face pf3: pf/parent-face/parent-face if pf3/pane/1/pane = face/data [return] ; has a new tab been selected? clear face/effect/draw old-face: pick pf/pane pf3/data ; find previous tab old-face/resize: pf3/size ; remember last size old-face/size: old-face/size - 0x1 ; deflag old clear old-face/effect/draw face/size: face/size + 0x1 ; flag new face/feel/over face true 0x0 pf3/data: index? find pf/pane face ; set new pane# pf3/pane/1/pane: face/data ; init tab panel if pf3/size <> face/resize [ ; recursive resize span-resize pf3/pane/1 pf3/size - face/resize face/resize: pf3/size ] show pf3 ] ] ] ] last-tab: last container/pane/1/pane last-tab/size/x: 10 + first size-text last-tab ; set tab title width display/layout "" spec last-tab ; generate tab spec into tab pane last-tab/data: last-tab/pane ; swap pane into data last-tab/pane: none ; clear pane last-tab/resize: size ; original panel size tab-offset/x: tab-offset/x + last-tab/size/x ; set offset for next tab title ] print "size et countainer a la con !!" probe size/x container/size: as-pair size/x 20 probe container/size/x container/pane/1/size: container/size container/pane/1/pane/1/size: container/pane/1/pane/1/size + 0x1 ; flag 1st tab data: 1 ; set pane# pane/1/pane: container/pane/1/pane/1/data ; init tab panel container/pane/1/pane/1/feel/over container/pane/1/pane/1 true 0x0 ; flag first as active ] ] | |
Group: XML ... xml related conversations [web-public] | ||
Pekr: 30-Oct-2005 | hmm, dunno of how to explain it. It simply parses XML, creates block of blocks structure. Then you have those functions like find-by-id, find-by-name, etc., which you can use to manipulate values ... then, once done, you generate XML. What I did not like is, that ti builds the structure from the scratch, so e.g. with html page, you loose nice formatting, comments etc. But others said, you could have pointers from such nodes to original doc and rebuild the doc properly ... | |
BrianH: 8-Nov-2005 | SAX apis don't work like that. They generate a series of events, not a series of data. | |
CarstenK: 12-Nov-2005 | in the moment i play a little bit with xml-parse.r, it has a lot of things done, some are still open (like <!ENTITY ...> parsing) and it is like SAX - I try to implement some handlers to learn REBOL, but it's still in progess. A benefit of xml-parse is, that there would be only one parser and some kind of standard API and the handler could then generate rebxml or some other desired format | |
BrianH: 29-Apr-2006 | You can do some structural pattern matching with parse rules, but with how parse is currently implemented it can be a little awkward. The lack of arguments to parse rules make recursion quite difficult, and the lack of local variables make the rules difficult to use concurrently. It is difficult to examine both the data type and the value of elements in block parsing, to switch to string parsing mode for string elements, to parse lists, hashes or parens, to direct the parse flow based on semantic criteria (which is needed to work around any of these other problems). And don't even get me started on the difficulties of structure rebuilding. The thing that is the most difficult to do in parse is the easiest thing to do with regexes: Search and replace. Didn't we make a web site years ago collecting suggestions for improving parse? Wasn't a replace operation one of those suggestions? What happened with that? Structural pattern matching and rebuilding currently has to be done with a mix of parse and REBOL code that is tricky to write and debug. If parse doesn't get improved, I'd rather use a nice declarative dialect, preferably with before and after structures, and have the dialect processor generate the parse and REBOL code for me. If that dialect is powerful enough to be written in itself then we'll really be cooking. | |
Dockimbel: 22-Oct-2008 | RSP, I use it to generate RSS feeds from Cheyenne's blog. | |
Graham: 25-Oct-2008 | <xs:complexType name="MessageType"> <xs:sequence> <xs:element name="Header" minOccurs="1" maxOccurs="1" type="HeaderType" /> <xs:element name="Body" minOccurs="1" maxOccurs="1" type="BodyType" /> <xs:element name="Error"> <xs:complexType> <xs:sequence> <xs:element name="Code" minOccurs="1" maxOccurs="1"> <xs:simpleType> <xs:restriction base="xs:string"> <xs:pattern value="600|601|602|900" /> </xs:restriction> </xs:simpleType> </xs:element> <xs:element name="DescriptionCode" minOccurs="0" maxOccurs="1" type="an..3" /> <xs:element name="Description" minOccurs="0" maxOccurs="1" type="an..70" /> </xs:sequence> </xs:complexType> </xs:element> If I have the schema looking like this ( no examples I'm afraid ), is something like this what I have to generate <header> ... headertype .. </header> <body> <error> <code> 600 </code> <Descriptioncode /> <Description /> </error> </body> | |
Graham: 26-Oct-2008 | How are people creating large xml documents where there are large numbers of elements and where the data is being drawn from a database. Model the document first as a Rebol object!, and then generate the xml from the object? | |
BrianH: 27-Oct-2008 | Some databases have the ability to generate XML directly. That approach can be faster, depending on how much data the database has to process. It all depends on what database you are using though. | |
Ashley: 9-Nov-2008 | Probably more a pure HTML question, and showing my complete lack of HTML knowledge these days, but how would I go about automatically updating a device (an IP Phone in my case) that has a page (http://10.1.1.7/admin.html) with a whole bunch of phone numbers in separate fields and a submit button that posts changes back? I can generate the page with the data I want submitted back, but I can't work out how to mimic pressing the submit button from a specific URL. | |
Group: PowerPack ... discussions about RP [web-public] | ||
Graham: 30-Jan-2010 | Do you really need the GNU make to generate all the .r scripts ?? | |
Group: Sound ... discussion about sound and audio implementation in REBOL [web-public] | ||
Rebolek: 27-Jun-2005 | print "Play a simple tone..." ; (init event system too) ; Generate a sine wave tone (1 cycle of the wave): tone: #{} for phase 1 360 6 [ val: 32768 + to-integer 32767 * sine phase repend tone [to char! to integer! val / 256 to char! to integer! val // 256] ] ; Set up the sound sample parameters: sample: make sound [ rate: 44100 channels: 1 bits: 16 volume: 0.5 data: #{} ] ; Repeat the sine wave for 1000 cycles: loop 1000 [append sample/data tone] ; Play the tone now: ? sample sound-port: open sound:// insert sound-port sample ? sample wait sound-port close sound-port | |
Rebolek: 15-Sep-2005 | print "Play a ping sound..." ; (init event system too) ; Generate a ping waveform as a binary value: ping: #{} for amplitude 500 1 -1 [ for phase 1 360 16 [ val: 128 + to-integer 127 * sine phase val: amplitude * val / 500 append ping to-char val ;append ping to-char 256 - val ] ] ; Set up the sound sample parameters: sample: make sound [ rate: 44100 / 2 channels: 1 bits: 8 volume: 0.5 data: #{} ] ; Make the ping sound 10 times: loop 10 [append sample/data ping] ; Play the sound now: sound-port: open sound:// insert sound-port sample wait sound-port close sound-port | |
Rebolek: 15-Sep-2005 | print "Play a ping sound..." ; (init event system too) ; Generate a ping waveform as a binary value: ping: #{} for amplitude 500 1 -1 [ for phase 1 360 16 [ val: 128 + to-integer 127 * sine phase val: amplitude * val / 500 append ping to-char val append ping to-char 256 - val ] ] ; Set up the sound sample parameters: sample: make sound [ rate: 44100 / 2 channels: 2 bits: 8 volume: 0.5 data: #{} ] ; Make the ping sound 10 times: loop 10 [append sample/data ping] ; Play the sound now: sound-port: open sound:// insert sound-port sample wait sound-port close sound-port | |
Anton: 21-Apr-2009 | As you add together a larger number of waves, you will find the maximum amplitude is typically much less than the total of all the wave amplitudes. It might be easier to generate all the samples of the complex wave (using decimal!/float), keeping track of the maximum value, then scaling it to 8 or 16 bit integers afterwards. It would be nice to have a precise mathematical way of calculating the maximum peak values in advance, though... | |
Group: Rebol School ... Rebol School [web-public] | ||
Henrik: 16-Sep-2005 | I've seen people use a free SWF tool to generate flash movies of what's going on, on the desktop. is it something like that you want? | |
denismx: 4-Apr-2006 | Reichart, you are working on defining the paradigm of the language. I think that is the right direction to follow to generate a faster learning map of Rebol. | |
Group: Rebol/Flash dialect ... content related to Rebol/Flash dialect [web-public] | ||
Oldes: 4-Oct-2005 | And of course the dialect is not for making animations! Use drawing programs to make animations. The dialect is for example to do things like to generate games for the tiles game: http://box.lebeda.ws/~hmm/rebol/swf-tiles.r --- I'm sure you would not like to do it in Macromedia authoring tool:) | |
james_nak: 5-Mar-2006 | Oldes, making some progress thanks to your help. There is one example with soem embedded rebol code (the arc example). Is there a way to have rebol do some processing then expose what it does to flash? I want to write a function in rebol to take a string and create a block of characters which I then want to pass to flash. For example, I can hardcode a_block: ["h" "e" "l" "l" "o"] but I would rather send the string "hello" to a function and have it generate that block then pass it to flash. It seems that what I do within a "rebol [ ]" block is hidden from flash. | |
Group: rebcode ... Rebcode discussion [web-public] | ||
BrianH: 12-Oct-2005 | I've been thinking about temporary variables generated by rewrite rules. I have a way to generate extremely unlikely variable names, but no way to bind them in the rebcode function after they've been added. Any ideas? | |
BrianH: 12-Oct-2005 | To use only one temporary variable may require a topological sort of the expression, if it is at all possible. I want to be able to generate anonymous temporaries if necessary. | |
Pekr: 17-Oct-2005 | shadwolf - the nice thing is, that for specific domain, you can create your own sub-language using parse and let it generate rebcode for you :-) | |
BrianH: 18-Oct-2005 | Fortunately, this kind of code is easy to generate as well. The rewriter can do some basic transforms to make the syntax that you write easier for you. For example, Volker's suggested alternate syntax (to my best guess of what he meant) could be implemented with something like this: use [dest here rule r1 r2 r3 rs0 rs1 rs2 rs3] [ foreach rule [r1 r2 r3 rs0 rs1 rs2 rs3] [set rule make block! 10] insert rs1 ['label word! | '?? word |] parse rebcode*/opcode-rule [ some [here: lit-word! [ '| ( insert tail rs0 reduce [here/1 '|] ) | 'word! '| ( unless find rs1 here/1 [insert tail r1 reduce [here/1 '|]] ) | 'word! [block! | word!] '| ( unless find rs2 here/1 [insert tail r2 reduce [here/1 here/3 '|]] ) | 'word! [block! | word!] [block! | word!] '| ( unless find rs3 here/1 [insert tail r3 reduce [here/1 here/3 here/4 '|]] ) | into ['integer! '| 'word! | 'word! '| 'integer!] [ '| ( insert tail r1 reduce [here/1 '|] insert tail rs1 reduce [here/1 'integer! '|] ) | [block! | word!] '| ( insert tail r2 reduce [here/1 here/3 '|] insert tail rs2 reduce [here/1 'integer! here/3 '|] ) ] [block! | word!] [ '| ( insert insert tail rs1 copy/part here 2 '| ) | [block! | word!] [ '| ( insert insert tail rs2 copy/part here 3 '| ) | [block! | word!] '| ( insert insert tail rs3 copy/part here 4 '| ) ] ] ]] ] foreach rule [r1 r2 r3 rs0 rs1 rs2 rs3] [clear back tail get rule] rule: [ set dest set-word! here: r1 #==> (here/1) (to-word dest) (dest) . set dest set-word! here: r2 #==> (here/1) (to-word dest) (here/3) (dest) . set dest set-word! here: r3 #==> (here/1) (to-word dest) (here/3) (here/4) (dest) . set dest set-word! here: rs0 #==> (here/1) (dest) . set dest set-word! here: rs1 #==> (here/1) (here/2) (dest) . set dest set-word! here: rs2 #==> (here/1) (here/2) (here/3) (dest) . set dest set-word! here: rs3 #==> (here/1) (here/2) (here/3) (here/4) (dest) . set dest set-word! #==> . ] rebcode-define rule ] | |
Group: RT Q&A ... [RT Q&A] Questions and Answers to REBOL Technologies [web-public] | ||
JaimeVargas: 11-Jan-2006 | Displaying is probably the most difficult, specially for indonesia language. Conversion should be that hard. I guess you are receiving your data in unicode format. So you will need a parser to scan the bytes in the unicode buffer (a simple string!) and maybe generate the display by using the glyphs that encode each char. | |
Group: Windows/COM Support ... [web-public] | ||
Benjamin: 20-Oct-2005 | yes i've to change all that in the examples, it will take some time ... :( and it will generate some erros im shure | |
PeterWood: 17-Sep-2006 | If you know the names of the drugs in the system can't you just generate the html/get? http://www.drugdigest.org/DD/Interaction/InteractionResults?drug=&drugList=551938&cD=6355&cD=551938&dN=%2220%2F20+Tears%22+%223-beta%2C5-alpha-stigmastan-3-ol%22+&CheckFDA=1 | |
Robert: 16-Jul-2009 | And, I not just need to generate XLS files I need to read data from XLS files as well that don't use an XML format. | |
GrahamC: 28-Dec-2010 | Has anyone used these dialects to generate server side Excel spreadsheets and then returned them to the browser? | |
Group: Tech News ... Interesting technology [web-public] | ||
Volker: 13-May-2006 | Volker compilation of rebol is due to context free grammars. If you take this restriction you could probably have a bootstrap of rebol. But you can not compile just any rebol program. So this is a problem. We are talking about bootstrapping. There is no need to compile every program. Its only needed to have a subset to build the interpreter. And that one must be able to generate machine-code. | |
Henrik: 13-May-2006 | For inspiration, Wright looked to the demo scene," a group of (mostly European) coders who specialized in doing a whole lot with a little bit of code. Their procedural programming methods were able to, for example, fit an entire 3D game in 64K, using mathematics to generate textures and music, etc. "I just found this incredibly exciting," Wright confesses, describing the kinds of work that he saw come out of the demo scene." So here's what he did: he recruited an elite strike team of coders (who, if you were to believe his slideshow, dressed like ninjas) and put them in a hidden facility" to experiment with new ways of giving the user powerful tools and generating tons of dynamic content without armies of content creators. Best of all, he fired up a demo and showed his audience the results... " this is almost a REBOL like way to create games :-) | |
Terry: 14-May-2006 | Jaime, just had a look at 'migrations' and it's not the same at all.. here's the pseudo code just to change the db with rails.. * Step 1: Create a migration with script/generate migration WhatImChanging * Step 2: Modify your generated migration file in db/migrate * Step 3: Run rake migrate * Step 4: Revel in the fact that your database is converted to the newest schema! With Framewerks you never alter the DB.. it's a black box where data goes in and out. | |
Group: SQLite ... C library embeddable DB [web-public]. | ||
sqlab: 4-Jan-2009 | The new field OldID holds the former primary key. You have to join via the oldID instead of the primary key. If you can not alter your select statement, maybe you can generate an adequate view. | |
Group: Postscript ... Emitting Postscript from REBOL [web-public] | ||
Henrik: 5-Apr-2006 | PDF is also only a subset of postscript, created so you don't need to compile your docs everytime they need to be displayed. PDFs are static. You still need postscript to do the actual printing AFAIK. The trick would be not necesarily to generate a PS file, but the data that could be fed to the printer through LP. | |
Henrik: 7-Apr-2006 | http://www.rebol.org/cgi-bin/cgiwrap/rebol/view-script.r?script=ean13.r <--- did this one a year ago. it uses PDF maker to generate barcodes | |
Henrik: 7-Apr-2006 | it can also generate bitmapped barcodes. works only with EAN13 format though | |
Geomol: 7-Apr-2006 | Adobe gives permission to anyone to: Write drivers to generate output consisting of PostScript language commands. It's from the ref manual. | |
Henrik: 8-Apr-2006 | louis, the one on rebol.org seems to be a bit old. the one I have locally can generate bitmaps as image! in 1x, 2x, 4x and 8x size and vectors for PDF Maker. it can generate an EAN13 code with the correct checksum. it doesn't save to file, but it's only a couple of lines of code to do that | |
Graham: 16-Apr-2006 | I am previewing my draw doc, and when I generate the ps file, the coordinates are to the north-east in the ps file. | |
Graham: 29-Apr-2006 | Need to generate bar codes in postscript ? Here's some software on a MIT/X-Consortium license http://www.terryburton.co.uk/barcodewriter/ | |
Graham: 8-Jun-2006 | So, I can use it to generate graphs, and ordinary text for printing .. but fancy flowing text needs more work. | |
Cyphre: 7-Nov-2006 | Henrik, yes we can add some 'options' for clockwise/anticlockwise etc. but keep in mind every such decission at runtime steals performance so sometime is better to generate the DRAW dialect with properly converted values. | |
Henrik: 8-Nov-2006 | geomol, I think that it should be kept at a low level. This way I or someone else can build a library of standard things on top of it to generate formatted pages, tables, formatted paragraphs and such. | |
Graham: 31-Jan-2007 | So, generate the output as postscript, and then use gsprint to print the postscript file to the epson printer ( default windows printer ). | |
Geomol: 10-Apr-2007 | A couple of useful PS links: How to generate portable Postscript: http://alumni.media.mit.edu/~szummer/postscript/ What is the physical size of the page?: http://www.postscript.org/FAQs/language/node64.html How to use Adobe PostScript language files properly.: http://www-cdf.fnal.gov/offline/PostScript/AdobePS.html (Look under "Paper bin, tray, size, feed mode, etc. selection", where you also find a link to:) PostScript Sins: http://www.byte.com/art/9508/sec13/art3.htm Gripes: http://www.cs.wisc.edu/~ghost/doc/gripes.htm | |
Henrik: 24-Feb-2008 | wow, that took a long time to generate. | |
Henrik: 24-Feb-2008 | and that took less than 1 second to generate. | |
Henrik: 24-Feb-2008 | so I think there should be an option to leave that out, or by default not have it. I'm guessing most people want to generate and print PS file, rather than read and edit them by hand. | |
Group: Plugin-2 ... Browser Plugins [web-public] | ||
BrianH: 4-May-2006 | As long as the virtual sandbox can't be used to generate data files that can fill the hard drive (or even be written to it), it should be fine. | |
Graham: 9-Oct-2008 | So, I'll have to dynamically generate the plugin code. Sound right? | |
Group: !Liquid ... any questions about liquid dataflow core. [web-public] | ||
Mario: 18-May-2007 | The poll results should generate a data flow... | |
Maxim: 24-May-2007 | so one (actually several) machines can be a controler and synchronise to others which can also locally change their states... and whatever they data can generate can be sent to any other machine, including the controlers... so you have ONE kernel to handle all aspects of your systems. and its dead easy... and would interface directly within any other liquified systems like liquid GL, elixir, globs, or eventually GLASS. | |
Maxim: 24-May-2007 | and actually generate other data from it like diffs or comparison reports. :-) | |
Group: !Cheyenne ... Discussions about the Cheyenne Web Server [web-public] | ||
Dockimbel: 12-Oct-2006 | The encapping procedure is special for Cheyenne, it needs to be run in normal mode first before encapping to preprocess the source and generate the .cache.efs file. | |
Maxim: 22-Feb-2007 | hahaha, I don't expect to change the world... just that my announce didn't even generate one sign or having been read... so I wonder sometimes, if most of you use the custom dividers or are like me and just the "all groups" master didivers and clear them as they are filled. | |
Maxim: 22-Feb-2007 | hehe I read about it.. I think you could generate your app within mine. | |
Dockimbel: 29-May-2007 | Btw, the encapping system for Cheyenne is a little odd : to be able to run it in normal mode and encap mode without changing the source code, I wrote a special lib emulating the filesystem but in memory. I didn't had time yet to check if Ladislav's Include could do the job. My encapping system needs to generate a .encap-fs file, so it needs that Cheyenne be run in normal mode at least once. I'll document that in a few days. | |
Group: DevCon2007 ... DevCon 2007 [web-public] | ||
Maxim: 10-May-2007 | henrik yess. we can generate the error which is generated from rebol using the error object. | |
Gabriele: 11-May-2007 | generate-content: func [ is-card content-generator cardid dimensions js-files dialog-arr args /local l_width l_height l_id l_src js-classname ] [ l_src: none if not is-card [l_id: cardid] switch content-generator [ "file.fileshare" [ obj: make quilt/ret-obj [ src: build-fileshare title: "Your files" short-title: "Files" ] quilt/add-dialog dialog-arr "fileupload" "FileShareUpload" rejoi n [ "<p>Please select a file to upload:</p>" quilt/basic-molecule/class/id { <iframe src="about:blank" style="border: none; height: 60px; width: 250px;">IFRAME not displayed!</iframe> <p style="display: none;">Uploading file... <img src="/images/Qtask- Bar-64.gif" /></p> | |
Group: Printing ... [web-public] | ||
Dockimbel: 9-Sep-2008 | Thanks but this isn't really such a great piece of code (Windows API is doing the real job), even if it fills a gap in REBOL (at least for Windows). Btw, in my company, we're using Gab's pdf-maker for years now to generate and print all our documents. I made this library only because I needed a direct printing solution for a customer and I must admit it was a fun work to do. | |
Graham: 29-Sep-2008 | This is the "dialect" I am using to generate a multi-page letter. Words like "consult-date" "provider" "My-name" are processed by a pre-processor to substitute the correct variables. |
1 / 553 | [1] | 2 | 3 | 4 | 5 | 6 |