AltME groups: search
Help · search scripts · search articles · search mailing listresults summary
world | hits |
r4wp | 1023 |
r3wp | 10555 |
total: | 11578 |
results window for this page: [start: 1 end: 100]
world-name: r4wp
Group: #Red ... Red language group [web-public] | ||
Kaj: 25-Feb-2012 | First test looks three times as fast. I'll shut down the machine to do a clean test | |
DocKimbel: 25-Feb-2012 | Kaj: do you know why __libc_csu_init and __libc_csu_fini are not defined in libc in Linux? How am I supposed to pass them to __libc_start_main if I can't access them? | |
Pekr: 29-Feb-2012 | Doc, do I understand it correctly, that lists/arrays are now supported via 'typed funcitonality, hence structs? How much would it complicate red/system to have a native block implementation? :-) | |
Kaj: 5-Mar-2012 | Yes, all the bindings that can work on Syllable do now without modifications. Except Syllable needs to have SDL video initialised even if you don't use it | |
Steeve: 12-Mar-2012 | Anti-intuitive ? It makes the generated code simpler to write since the parameters are pushed in reversal order so that the called function can unstack them in order. C compilers do the same IIRC. But I agree it's not rebol compliant. | |
DocKimbel: 13-Mar-2012 | As we do the compilation and code generation in one pass in current Red/System, we can't look ahead to determine the boundaries of each expression in a variadic block of arguments in advance, to be able to extract their datatype. | |
DocKimbel: 13-Mar-2012 | We have a "chunked" compilation mode that could be used to re-order the code once generated, but I'm not sure it could work in such case. The best thing to do for now is to document it in the tracker. | |
Pekr: 14-Mar-2012 | Doc - congrats to 0.2.5 release - nice to hear, that first alpha of Red can be here in few weeks, although it will not do much yet ... | |
Kaj: 14-Mar-2012 | The first Red will probably have all the capabilities of Red/System, so I think it will be able to do quite a lot | |
Kaj: 27-Mar-2012 | round-ceiling and round-floor in math.reds do rounding to integer, but they still return a float value | |
Kaj: 29-Mar-2012 | Do they come with C libraries that you need to install to get these functions? | |
Pekr: 6-Apr-2012 | Doc, one unrelated question - how do you use your own domain for a Blogger? Is it just some kind of redirection to blogspot.com, or are you running blog SW on your own/hosted server? | |
Pekr: 12-Apr-2012 | I would also not post here, I just try to motivate others to do the same from time to time :-) | |
Arnold: 4-Jun-2012 | I don't know what you mean by that. A library or library-binding that is interesting to me? Okay let's say I find it important to use Red as I do with REBOL on my Apache driven website (no option to choose the server with my webhostingservice) to process rebol scripts and rsp scripts. I think there is a world of Red users to be won if Red could do this, at least we would be able to run Red/Redsp scripts on the apacheservers potential customers will have their websites hosted on, if you still can follow, they may not be too enthousiast changing websitehosting services only because we have some fun Rebol/Red scripting to offer. So where would I start? | |
Pekr: 4-Jun-2012 | Arnold - I think, that right now, we have to wait. There's only a Red/System low level (VM) language RED will compile to. You can do some library binding using Red/System. What you most probably will want to program in, though, is Red itself. Doc is working on it ... | |
Kaj: 4-Jun-2012 | I've never understood how people can look at an unfinished volunteer platform such as Red or Syllable and not see scores of interesting things to do, or think they have to wait for some magic milestone, so it's probably me | |
Kaj: 4-Jun-2012 | Printing is included in Red/System. Reading environment variables is in my C library binding. The only problem is standard input. I think it can be bound on Windows to platform specific functions, but on Unix platforms it requires importing the standard file descriptor data, which Red/System can't do yet. So that would be the only limitation to wait for here, but it can already be done on Windows | |
Kaj: 4-Jun-2012 | Another option would be writing an Apache module in Red/System. I think that would require producing a plug-in as a shared library. The Red/System linker can't do that yet, so that would be another one to wait for | |
Endo: 7-Jun-2012 | Each sunday?? I able to do it here once or twice a year! jealous :( | |
Janko: 14-Jun-2012 | Hi, I am looking into OAuth. I see (and thank you a lot for this!) that Chriss Ross Gill created OAuth client part in the twitter library: http://reb4.me/r/twitter.html, I am reading into it, but does he or anyone else know how much additional work would be needed to do the rebol OAuth server part ? | |
Pekr: 14-Jun-2012 | as Kaj said - there is new spin-off, LibEv, from 2007 - lighter, faster, removed original restrictions, etc. I do remember the C10K article, I suggested it to Carl, he read it, but his opinion was similar to your - simply that we don't need all those features. He probably wanted to rely on what is available under particular OSes ... | |
Gerard: 15-Jun-2012 | @Doc : Thanks for the try of the emulator - Now installing the Android update for my - almost 50 % left to do after 30 minutes - for an 88 MB download - !!! I will retest after everything is completed... | |
Gerard: 15-Jun-2012 | @Doc : No better success even if running from NativeEXE.apk version 0.5 and Android version 3.2 - will continue to read before being able to investigate myself what could be done - Please don't loose your time on this case for now - You have much better to do ... even if it's annoying a bit. I don't despair but I really can't be useful to you for now... my understanding of the inner working of this stuff exceeds my current capabilities ! | |
Kaj: 20-Jun-2012 | red-lang.org is there. Cheyenne doesn't have much to do with Red yet | |
Rebolek: 28-Jun-2012 | It's possible to do something like [s: make c-string! 1000] in Red? So I would reserve 1000 bytes long c-string? | |
DocKimbel: 29-Jun-2012 | The get-word! syntax for integer! variables hasn't been implemented yet. So currently, the only way (AFAIR) is to wrap your integer! in a struct! (as you would do in REBOL). | |
DocKimbel: 5-Jul-2012 | By "automatic delegation" do you mean implementing a class-based object system? I thought about adding a class! datatype to Red at the beginning, but I'm really not convince that would be a wise move. | |
Janko: 24-Jul-2012 | OT: Did I see right on FB that you moved to Montenegro? If you are passing Slovenia at any time you could present Red at it's biggest CyberCenter / Hackerspace ... Kiberpipa (and/or Hekovnik) if you wisted to. basically if you do let me know (they don't operate in the summer though) http://www.kiberpipa.org/en/ | |
Arnold: 5-Aug-2012 | This is exactly the point! If you look in the archives you will notice some remarks by Carl where he was disappointed in that others didnot pick up some tasks. Okay first of all REBOL being not open source it makes no sense helping documenting stuff but there is no chance to do this kind of thing if there is no info of what exactly is to be done, as an outsider you are always one step behind and if you invest precious time into some work only to discoved they already did this. This is not an invite to do anything. | |
DocKimbel: 5-Aug-2012 | Do you think that my above description of the needs is not enough for you to decide if you want to do it or not? | |
BrianH: 11-Aug-2012 | DO IN was supposed to be the same as WITH, with only one extra space. However, IN block block wasn't implemented; IIRC it wasn't rejected, it was deferred, same thing at the moment I suppose. | |
DocKimbel: 14-Aug-2012 | In your example, do you also need metadata to be passed by value? | |
DocKimbel: 16-Aug-2012 | Milestone 0.2.3: can't find how to close it...github's UI keeps changing all the time, always feel lost when I have to do rare actions... | |
ACook: 16-Aug-2012 | I actually had to do something like that once, a configuration file contained a bunch of strings in english and they needed them in spanish but weren't willing to actually get someone to translate them. So.. I used Google Translate. | |
Group: Announce ... Announcements only - use Ann-reply to chat [web-public] | ||
MaxV: 10-Sep-2012 | Carl, 9-Sep-2012 15:46:54: "I need to apologize all of you for the lack of response to your comments. This was due to a funny incident that happened on my ranch. Last week, a few heffalumps burst into my basement and turned over the last barrel of 1999 Châtemateloo. Unfortunately, the precious liquid flooded telecommunication cables and I lost network connection. You know me, this is not a reason to give up. Using a microwave oven, amateur radio, and 4 lines of code in REBOL I was able to construct a modem and here I am. Well, I read very carefully your comments (the first two lines of each comment) and I noticed that most of them contain the phrase "Hi Carl". I was hoping that I'll find out from them what further steps should be taken to save the future of REBOL, but it seems that as usual I have to come up with a solution myself. So, here it is. I decided to open source REBOL. Choice of license is very difficult because there are many kinds of them. I examined the majority of them, and none meets my needs. They are overloaded and too complicated. The only thing I can do in this situation is to write my own license. I name it ... Rebolense. Creating a license is not an easy task, but is necessary. I'll be working on it soon, so stay tuned. " | |
Chris: 18-Sep-2012 | A first pass at accessing the Etsy API: http://reb4.me/r/etsy Works similarly to my Twitter API script (a few OAuth differences here and there). You can download it, or run it in place (do/args ... [...Settings...]). As with Twitter, you start with etsy/as and go through the authorization process. It has a few example methods, and an open method - etsy/api-call - that can call (as far as I can tell) every api function. Will try to document at some point. | |
Marco: 18-Sep-2012 | Normally I do not announce my upload to rebol.org but this time is different. I have uploaded an upgraded version of my interface to opengl: http://www.rebol.org/view-script.r?script=opengl-glu-glut-h.r and I am asking you to insert "GLX_DOUBLEBUFFER" in the block of the line: "attrList-def: reduce [GLX_USE_GL GLX_RGBA GLX_DEPTH_SIZE 16 GLX_RED_SIZE 4 GLX_GREEN_SIZE 4 GLX_BLUE_SIZE 4 0]" to see if doublebuffer works since in my virtual machine it is not working (an empty window is opened and no gl rendering occurs) | |
Maxim: 18-Sep-2012 | Normally I do not announce my upload to rebol.org but this time is different. I have uploaded an upgraded version of my interface to opengl: http://www.rebol.org/view-script.r?script=opengl-glu-glut-h.r and I am asking you to insert "GLX_DOUBLEBUFFER" in the block of the line: "attrList-def: reduce [GLX_USE_GL GLX_RGBA GLX_DEPTH_SIZE 16 GLX_RED_SIZE 4 GLX_GREEN_SIZE 4 GLX_BLUE_SIZE 4 0]" to see if doublebuffer works since in my virtual machine it is not working (an empty window is opened and no gl rendering occurs) | |
NickA: 21-Sep-2012 | Chris, here's what I made with etsy.r: http://guitarz.org/lessons/etsy_updater.jpg It works great - Danielle is really excited to be able to do batch updates :) | |
Group: Ann-Reply ... Reply to Announce group [web-public] | ||
GrahamC: 10-Mar-2012 | GUI looks good ... not sure what to do with it though! | |
DocKimbel: 7-May-2012 | Congratulation Jerry, I'll do my best to get a first Red alpha out this month, so you can add it to the book. | |
Arnold: 7-May-2012 | Sorry DocKimbel that I did contribute yet, but I fear I do not understand GitHub, I try to find a button to accept changes that were committed since I forked Red but I only find the pull request that I suspect to be for changes I made to be pulled by others. That could be a bad idea ;-) | |
Arnold: 29-Jun-2012 | so font/color: white it is, how to do the bold? | |
Group: Rebol School ... REBOL School [web-public] | ||
Marco: 4-Mar-2012 | Is there a way to wait for a period of time asyncronously? I mean that I do same action and then I want start a timer, i do something else and when period expires i will wake up. | |
Pekr: 4-Mar-2012 | then you can do some handling. But - if your hanlding takes some time, of course during such a time, everything is blocked. If you would like to have something more sophisticated, you would have to spawn separate tasks, as e.g. Cheyenne app server does ... | |
caelum: 23-Mar-2012 | Question: I open a port using rebol2 on my server. It is started by cron once every 24 hours and is programmed to shut down after 1 hour. I need to check if the port is still open and listening or has completed and the program has closed. How do I test to see if the port is still open from another rebol2 program running on the same server? | |
caelum: 23-Mar-2012 | I just wrote some code that seems to work. ; Checks to see if port is already open either error? is-port-open: try [listen-port: open/binary/no-wait tcp://:xxx] [ ; Port already open, so do nothing ][ ; Port can be used so run the program ] | |
Marco: 7-Apr-2012 | @GrahamC: after "data read %." insert: "with [append init [sld/data: 0.5 do-face sld none]]". sld is the name of the slider of the text-list, 0.5 means jump to the middle. | |
caelum: 16-Apr-2012 | AES 256 is more than sufficient for most purposes. I am researching what Rebol can do so I am aware of the parameters I am working within. I am writing code that will be used to encrypt communication between clients who want a secure communication facility. I am looking at the Rebol RSA algorithms now. Thanks for your input. | |
Sujoy: 21-Apr-2012 | have an issue: >> fact1: 'a/a >> num1: 99.0 >> blk: [greater? to-decimal obj/:fact1 num1] >> objs: [] >> o: make object! [a: make object! [a: "100.0"] >> append objs o >> o: make object! [a: make object! [a: "99.0"] >> append objs o >> foreach obj objs [if equal? do bind blk 'obj true [print obj/a]] **Invalid path value: a/a | |
Steeve: 21-Apr-2012 | >> blk: [greater? to-decimal do bind reduce [fact1] obj num1] | |
Steeve: 21-Apr-2012 | I repeat, did you take that correction ? >> blk: [greater? to-decimal do bind reduce [fact1] obj num1] | |
Steeve: 21-Apr-2012 | copy that, it must work: fact1: 'a/a num1: 99.0 blk: [greater? to-decimal do bind reduce [fact1] obj num1] objs: [] o: make object! [a: make object! [a: "100.0"]] append objs o o: make object! [a: make object! [a: "99.0"]] append objs o foreach obj objs [if equal? do bind blk 'obj true [print obj/a]] | |
Sujoy: 21-Apr-2012 | a blk: any [greater? to-decimal probe do bind reduce [fact1] obj num1 | greater? to-decimal do bind obj/:fact1 obj num1]?? | |
Steeve: 21-Apr-2012 | fact1: 'a get-prop: func [o][either object? o [first next second o][o]] blk: [greater? to-decimal get-prop do bind reduce [fact1] obj num1]objs: [] | |
Gregg: 24-Apr-2012 | The code I posted doesn't do any validation according to what might work in the real world when dialed. | |
Gregg: 24-Apr-2012 | parse-int-values: func [ "Parses and returns integer values, each <n> chars long in a string." input [any-string!] spec [block!] "Dialected block of commands: <n>, skip <n>, done, char, or string" /local gen'd-rules ; generated rules result ; what we return to the caller emit emit-data-rule emit-skip-rule emit-literal-rule emit-data digit= n= literal= int-rule= skip-rule= literal-rule= done= build-rule= data-rule skip-rule ][ ; This is where we put the rules we build; our gernated parse rules. gen'd-rules: copy [] ; This is where we put the integer results result: copy [] ; helper functions emit: func [rule n] [append gen'd-rules replace copy rule 'n n] emit-data-rule: func [n] [emit data-rule n] emit-skip-rule: func [n] [emit skip-rule n] emit-literal-rule: func [value] [append gen'd-rules value] emit-data: does [append result to integer! =chars] ; Rule templates; used to generate rules ;data-rule: [copy =chars n digit= (append result to integer! =chars)] data-rule: [copy =chars n digit= (emit-data)] skip-rule: [n skip] ; helper parse rules digit=: charset [#"0" - #"9"] n=: [set n integer!] literal=: [set lit-val [char! | any-string!]] ; Rule generation helper parse rules int-rule=: [n= (emit-data-rule n)] skip-rule=: ['skip n= (emit-skip-rule n)] literal-rule=: [literal= (emit-literal-rule lit-val)] done=: ['done (append gen'd-rules [to end])] ; This generates the parse rules used against the input build-rule=: [some [skip-rule= | int-rule= | literal-rule=] opt done=] ; We parse the spec they give us, and use that to generate the ; parse rules used against the actual input. If the spec parse ; fails, we return none (maybe we should throw an error though); ; if the data parse fails, we return false; otherwise they get ; back a block of integers. Have to decide what to do if they ; give us negative numbers as well. either parse spec build-rule= [ either parse input gen'd-rules [result] [false] ] [none] ] | |
Sujoy: 3-May-2012 | beginner question: i'm opening a file using d: open/direct/lines %bigfile.nt i am then looping through each line using: while [ln: first d] [ ;do something here ] i need to record the byte position of the start and end of each line... how? | |
PeterWood: 3-May-2012 | how do i detect the newline used in %bigfile.nt? - you can read the first line from the port to work out it's length and then read the fiirst line + the two subsequent bytes in binary mode to check whether they are lf + first char of second line or cr +lf. | |
james_nak: 7-May-2012 | Giuseppe, if it is textviewers that you are looking for, you may want to see Henrik's Vid Extention Kit. http://www.hmkdesign.dk/project.rsp?id=vid-ext-kit&page=info because if you are going to do anything slightly more complex than VID "text-list" you will find data-list much more powerful. BTW, what are you supplying as data in your text-list? | |
Endo: 8-May-2012 | NOW returns current datetime and GMT. If I changed my GMT settings REBOL doesn't reflect the new settings. Is there anything I can do to get new GMT settings? Otherwise long-running tasks cannot get the correct GMT. Any idea? | |
Endo: 8-May-2012 | Here is some info: http://www.rebol.com/docs/view-face-object.html A block that holds text line information. This block is created, updated, and used by the system to optimize the updating of text. When you modify large areas of text (greater than 200 characters) you should set this variable to zero to force the system to recompute the positions of all lines. If you do not, you may see garbage characters appearing within the text. | |
Group: Databases ... group to discuss various database issues and drivers [web-public] | ||
GrahamC: 15-Mar-2012 | Not sure what to do about the lack of metadata support ...which is only really used when updating tables | |
Maxim: 21-Mar-2012 | using rebol's ODBC interface, is there a way to get the names of the columns in the last select query? sometimes, we do not provide the columns (select * from table) , so relying on assumptions to match return values and their columns is quite dangerous. | |
Maxim: 21-Mar-2012 | another example is retrieving the db metadata. it would be nice to be able to know what columns do what from the returned data directly instead of assuming their order (which can change from one db version and provider to another) | |
Maxim: 21-Mar-2012 | ok, so what do the columns returned by the [columns] query mean? (without docs, remember I'm not assuming the docs are up to date or even apply to Firebirds interface) I tried to list the RDB$FIELDS metadata table, but it clearly doesn't match the columns output. | |
ChristianE: 22-Mar-2012 | I may find some time to tweak the R3 ODBC-API a bit if you could supply a prioritized list of things that need work. Regarding problems with certain SQL types one easy workaround could be to just allow all types without direct support by rebol to read them as strings, you then could do anything you like withthem. Regarding "R3's documentation for its port model is a bit lacking" - I surely won't have any time to find out why the port model I used feels alien to R3 without the better R3 beeing documented anywhere. | |
james_nak: 26-Apr-2012 | If you are using Cpanel, there is a section to Grant, otherwise you may have to do it manually. | |
Endo: 26-Apr-2012 | try to get support for that, they can easily do that. | |
james_nak: 28-Apr-2012 | Arnold, so you have the same set-up as I do. Plesk as the main control panel and phpadmin (via Plesk and self-installed). It's within phpadmin that I am able to grant rights to my host's IP as described above. Before this, I had some sites that had cPanel and I did the granting from there. | |
Arnold: 2-May-2012 | I am now going to experiment with interacting with a script on the website that can do what I want remotely. Talking about safety risks :) | |
BrianH: 18-May-2012 | I get tripped up by missing datatype support with the R3 extension a lot more than with R2. Converting from numeric to float is one thing - iffy, but at least you can do it; converting from varchar(max) or text to varchar is often impossible without data loss. | |
BrianH: 18-May-2012 | Had to do more than one project with scripts that call themselves in R2 to do data extraction from text fields, then call themselves in R3 to do processing. | |
Pekr: 21-Jul-2012 | Simply put - millisecond lock time is enough fine grained for my purposes, but - let's assume you have several ppl working on some customer list, where each customer has some orders. Those ppl do select particular customer, and work with orders. What I want is - when some user selects particular customer, I need its record being locked. The trouble is, that when I use BEGIN transaction for sqlite, it locks all the file, and does not allow other process to do write to the DB. I wonder, if I can somehow obey it, not really having per record locking. I would have to implement my own lock mechanism (not locking in fact), not allowing others select/enter customer record, when some other person is working on it? | |
afsanehsamim: 9-Nov-2012 | do %data.r Script: "Untitled" (none) Script: "MySQL Protocol" (12-Jul-2008) MySQL protocol loaded connecting to: localhost [ ["raj" "pune"] ["ekta" "delhi"] ["ankur" "mumbai"] ] | |
Arnold: 9-Nov-2012 | you have to mix them something like #! "C:/wamp/bin/apache/Apache2.2.11/cgi-bin/rebol-core-278-3-1.exe" -cs REBOL [Title: "Table"] do %mysql-protocol.r db: open mysql://[root-:-localhost]/test insert db {create table data ( name varchar(100), address text )} insert db {INSERT into data VALUES ('raj', 'pune'), ('ekta', 'delhi'), ('ankur', 'mumbai') } insert db "SELECT * from data" results: copy db print "content-type: text/html^/" print [<HTML><BODY><TABLE bgcolor="black" border="1"> { <tr bgcolor="white"> <td style="width:30px; height:30px;"><input name="one-one" type="text" size="1">} print results/name print {</td>} etc | |
Arnold: 10-Nov-2012 | select * from table where answer = useranswer select * form table1, table2 where table1.field = table2.field Do you have google? Any MySQL tutorial out there holds the answer to your question. Or want to compare from wihin your REBOL script? It is either [ left = right][do-something][do-else-thing]. | |
Pekr: 11-Nov-2012 | what do you want exactly to be put into the database field? | |
Pekr: 11-Nov-2012 | I think, that your script is wrongly constructed! What you seem to do is to just print a form, which then gets delivered to user's browser screen. But at that time, there is no value yet. You should study, how to do CGI in REBOL. You need a separate html form, then you need to read CGI values and store them in a DB ... | |
afsanehsamim: 11-Nov-2012 | >> do %compare.cgi Script: "Untitled" (none) Script: "MySQL Protocol" (12-Jul-2008) MySQL protocol loaded connecting to: localhost ** Script Error: Invalid path value: oneone ** Where: map-rebol-values ** Near: result/oneone >> | |
Arnold: 11-Nov-2012 | Yes. Do a probe of the query to see if it generates the sql you expected. | |
Arnold: 11-Nov-2012 | I am not doing your code for you. If you want to find someone to do it for you post your job in the ~Opportunity section. | |
afsanehsamim: 11-Nov-2012 | i did not say do my code Arnold !!! i wanted only help ... because till now whatever guys said here was not related to form ! my problem is only saving value from form in database ... | |
Ladislav: 11-Nov-2012 | Any one knows how can we save value from the form into database? - sure, Pekr told you how to do it. Your problem is that you do not do what Pekr told you to do. First, you need to create the form. Check: Do you really have the form? Second, you need to create a CGI script (this is not the form from the first point, the form from the first point is not a CGI script). Check: do you really have a CGI script ? Pekr told you that the example you posted was neither the form, nor the CGI script. | |
Endo: 16-Nov-2012 | do you mean saving result to a file? it is just a block, you can simple SAVE %file.r RESULT | |
TomBon: 16-Nov-2012 | if so, you have to add your mysql connection parameters to your script., open a mysql port and do an sql insert to your table. | |
Group: !Syllable ... Syllable free operating system family [web-public] | ||
Arnold: 13-Apr-2012 | This is the same file as last week(s) right? So I do not need to download it again? | |
Kaj: 14-Apr-2012 | Bas does the Dutch translations, but he stopped halfway. I would love you to help with them. Do you want access to the Syllable AltME world? | |
Kaj: 27-Jun-2012 | I have already provided a GUI for Red. It's fine if R3/View is rewritten for it, but I'm not going to do it | |
Pekr: 28-Jun-2012 | Kaj - I do remember View 1.0 alpha with CID (predecessor to VID) on a Pentium 75, 130 - ran "acceptable". Cell phones have limited UI needs imo, I doubt AGG will be slow. Of course some heavy operations might drag some juice from the battery, as it is not accelerated. We now need to find the ways of how to get Cyphre's idea becoming a reality ... | |
Group: Web ... Anything related to the WWW [web-public] | ||
Maxim: 16-Apr-2012 | I have the above working on a server, and browsers I've tested do not seem to have any problem with the URL, but I'm wondering more at large, if there are issues with it, in general. It will be used from within applications (java, .net, php & rebol) much more than from users manually using it within a browser bar. | |
Janko: 14-Jun-2012 | Hi, I am looking into OAuth. I see (and thank you a lot for this!) that Chriss Ross Gill created OAuth client part in the twitter library: http://reb4.me/r/twitter.html, I am reading into it, but does he or anyone else know how much additional work would be needed to do the rebol OAuth server part ? | |
Chris: 16-Jun-2012 | End user X downloads Y's app/uses Y's web site; X tries to access a function that uses your site; Y requests a temp key from you; Y directs X to your site with temp key, X says Y is OK, you give X a PIN; X goes back to Y, enters PIN; Y requests the permanent key from you. Y can now do anything on your site on behalf of X. | |
Gerard: 18-Aug-2012 | Or do you send the output to some esternal receiver using messages protocols ? | |
Chris: 18-Sep-2012 | Doesn't sound too onerous - I'd say most of the changes could be made to the parser, then tweak the emitter to get the output you want. Do you have a sample document? Is this the version you're using? - http://reb4.me/r/xhtml | |
Chris: 20-Sep-2012 | The structure of MD since v2 is a separation of scanner and emitter. 'scan-doc will break text into a block of [style content] pairs. 'gen-doc will take that block and turn it into something, most commonly HTML. The features of your doc - using your ==+, ==#, etc. are in the spec of the parser. Loosely explained, the parser's rule 'resets' when it encounters a newline. It defines a few paragraph types that copies chunks of text (including 'paragraph that consumes text AND single newlines). The rest of the rule determines the paragraph style and expected paragraph type: "===" text-line (emit sect1 text) Could just as easily be: "==+" paragraph (emit my-bold-paragraph para) The way a document is presented is all in the emitter. Seems this is where you seem to be yearning for most control. My first motivation using MakeDoc was stripping it of any styles - I just wanted a minimum of HTML markup that could be embedded and properly moulded by CSS. In my script above, I iterate through the [style content] list and use 'switch to determine how to handle each, this should be sufficient for documents without any complexity. It's really then just a case of modifying the HTML that is emitted. Example of script used in RSP (exposes [escape-html scan-doc gen-doc]): <link rel="stylesheet" href="http://ross-gill.com/styles/anywhere.css"> <% do http://reb4.me/r/xhtml%> <pre><code><%= mold doc: scan-doc some-input-text %></code></pre> <%= gen-doc doc %> How it looks depends on the stylesheet you use. | |
Endo: 27-Sep-2012 | Chris: I'm trying to use oauth with Salesforce, can you help me about it? I have consumer-key and consumer-secret, but where do I set login_url? I'm trying your Etsy with Salesforce. I thought that I at least should be able to login. | |
Andreas: 4-Oct-2012 | To "keep everything in sync" with Git, you have have to do pairwise syncs. Each pairwise sync can be initiated from either side, the respective commands being "fetch" (from remote to local) and "push" (from local to remote). If you want to keep many separate sites in sync, mediating the sync via a central host makes sense (as it avoids the exponential explosion of pairwise syncs). If you have SSH access to your web host, using your web host for a central Git repository is trivial (assuming you have - or can get - Git installed on the web host). | |
NickA: 19-Nov-2012 | No, but don't try to use any GPL licenced tools to do it ... (ba dump bump) | |
Evgeniy Philippov: 23-Dec-2012 | To start some new discussions, 1) I like Squeak/Pharo Smalltalk's AIDA/Seaside systems. Hope to to practice them in realworld soon (creating a community site)... 2) I'm coding a new Oberon system which will be able to do one of the following at once: a) interpret oberon b) translate oberon to x86 machine code c) translate oberon to javascript. This is a very long-term project, but I get excellent support from the oberoncore.ru community, and am actually making good progress. Current oberon project status is c++ sourcecode-based ssystem interprets oberon, interpreter has many temporary stubs. |
1 / 11578 | [1] | 2 | 3 | 4 | 5 | ... | 112 | 113 | 114 | 115 | 116 |