AltME groups: search
Help · search scripts · search articles · search mailing listresults summary
world | hits |
r4wp | 64 |
r3wp | 940 |
total: | 1004 |
results window for this page: [start: 201 end: 300]
world-name: r3wp
Group: All ... except covered in other channels [web-public] | ||
Geomol: 4-Jan-2005 | Just reading around and getting up-to-date... I found RAMBO. I send a bug report with the "Feedback" thing on RT's homepage. Should I post it again with RAMBO? Maybe I'll get better response? | |
Group: Ann-Reply ... Reply to Announce group [web-public] | ||
Allen: 19-Apr-2005 | I'm just waiting for OSX Tiger release & the updated models (Australian release date April 29th ! ) | |
Ingo: 30-Aug-2005 | REBOL [ Title: "Local Index" Type: 'index dynamic: true plugin-pane: 0.5 ] title "Local Files" app 0.3 group "A" effect [multiply green] group "B" icon %action.png action "a\gitarre" do [explore %/f/gitarre/] action "a\view-root" do [explore view-root] action "a\hamster" do [call "H:\prog\Hamster\Hamster.exe"] action "b\Internet" do [ call "H:\Programme\offline-proxy-mm3\MM3-WebAssistant.bat" call "C:\Programme\discountsurfer\discountsurfer.exe" call "H:\Programme\Mozilla\Firefox\firefox.exe" call "C:\Programme\Opera75\Opera.exe" ] action "b\Firefox" do [ call "H:\Programme\Mozilla\Firefox\firefox.exe"] icon %web-surf-action.png action "c\desktop" do [editor view-root/desktop.r] action "c\imap" do [editor %imap-handler.r] file "Info" %info.txt file "T\Test" %test1.r file "T\Test2" %test2.r file "T\Test" %test3.r ; this is composed ---- file (form now/date) %dummy.r action "Click me" #clickme do [ alert "hi" [Text "This will be displayed within the desktop" [alert "ho"]] ] action "Click me 2" #clickme2 do [ alert "hi" ; no return value, so nothing displayed in the desktop ] action "PRINT" do [print "^/^/----------------------^/^/^/"] action "prin somethin" do ["yea"] file "t\Test" %dummy.r ; this will draw the plugin app-draw [face /local cl-size][ cl-size: to pair! reduce [face/size/x 50] face/pane: layout/offset[ at 0x0 text "00:00:00" cl-size center 255.155.40 with [ font: [size: 24] rate: 1 user-data: none feel: make feel [ engage: func [face action event i] [ if user-data <> now/time [ i: form user-data: now/time if 7 > length? i [append i ":00"] face/text: i show face ] ] ] ] text "TEST" button "hi" [alert "you!"] button "CLOSE" [unview/all] ] 0x0 face/size ] ; if you need to redraw after a resize, not yet used app-resize [new-size][] | |
Sunanda: 21-Dec-2005 | A REBOL lovers' date :-) rebolek seems to have announced the competition using Reichart's suggestions: http://rebolek.blogspot.com/2005/12/rebol-demo-contest-great-rdc-2005.html But that seems to me to be premature given that Gabriele or Carl have not codified the rules or made an official announcement that the competition has started. | |
Sunanda: 21-Dec-2005 | I used http://blogsearch.google.com/-- searched for REBOL and sorted by date to see the most recent. | |
Group: !AltME ... Discussion about AltME [web-public] | ||
[unknown: 9]: 7-Nov-2005 | I'm not really interested in debating with you, and other than this last statement on the topic I won't. I'm only responding because there are a lot of new people here who might not be clear on the facts. Vapourware is "New software that has been announced or marketed but has not been produced." We have been produced, people use our software, and it sells. Nor do we market or claim any of the new features people ask about. People ask, and we tell them whether it is on the list, or if we are going to add it to the list. We don't commit ourselves to a date. You might not like these facts, but your accusations are inflammatory and baseless. The facts: AltME came out as Beta, and we systematically brought it past version 1. We met our needs and goal. If you would like something updated, I will give you the bank account number to transfer funds to, we can set a rate, and you can have any update you like. We have never said no to any idea for AltME, we discuss them, and log people's ideas so that when we make changes, the ones most asked for are reflected (this group here on Rebol3 is not our only source of input). If you do not like the rate with which we make changes, or the reason we make changes, then this is going to be a painful environment for you to remain in. Otherwise I will state again, we are active on the development of an update to AltME, and we have no set date. If you would like to ask a constructive question I will always do my best to give a clear answer. If you simply want to needle and dig at us, then I can no longer engage you. | |
james_nak: 1-Mar-2006 | You could also have a clear + date (up to ) feature. | |
Henrik: 19-Mar-2006 | tiny feature request: Arrow buttons in the calendar event to quickly set date -/+ 1 in calendar events | |
Brock: 8-Apr-2006 | with an ability for the user to list what files are auto-synched and the date the file was last updated so they can turn it off if they choose. | |
Anton: 26-Apr-2006 | I suggested a path notation to each message (or at least to a date) some time ago. | |
Kaj: 30-Apr-2006 | On AltME 1.1.28, Windows 2000, I just uploaded a new PDF. Immediately thereafter, the local file was shown as out of date | |
Anton: 15-Jul-2006 | (Ah, but that doesn't give the author or date....) But this makes me think of an alternative suggestion for adding to altme. Perhaps ALT-RMB or CTRL-RMB on the text should do Henrik's desired quoting. | |
Group: RAMBO ... The REBOL bug and enhancement database [web-public] | ||
Gabriele: 4-Jul-2005 | maybe you used to-date | |
sqlab: 7-Jul-2005 | Regarding Carl's last blog, I guess rebcmd25125 is the pre-release version. I am testing the Win version with my scripts since a few days. Recently I saw some error messages I saw never before. The script is reading periodically from a remote drive via UNC with load join work.dir [isodate work-date ".log"] where work.dir: %/REMOTE/D$/DATA/ and isodate: func [x] [..] producing something like "20050705". Before I saw error messages like Access Error: Cannot open /REMOTE/D$/DATA/20050705.log Where ... Near: load join work.dir [isodate work-date ".log"] , if the file was not accessible. This time the error messages were different after running for some time , e.g. Near: load join work.dir [ isodate 5-Jul-2005 ".log"] or Near: load join wor[isodate work-date ".log"] Has anyone seen something simlar ? | |
Pekr: 24-Sep-2005 | Gabriele - isn't 'request-date somewhat unfinished?Try 'help request-date and look how is /offset described, what it says it accepts (any type) and what it really allows to accept (pair) ... Maybe this could be improved ... | |
Pekr: 24-Sep-2005 | besides that I wonder, if e.g. request-date as an example, works with locale element? I think not ... REBOL locale support is really terrible - nonexistant, and I wonder why, if system/locale/months is available ... | |
Pekr: 24-Sep-2005 | ah, now I tested it, RebGUI works with system locale - besides that, the week starts by monday ;-) btw - could RebGUI code be reused in official rebol distro? e.g. as far as request-date is concerned, or even request-dir, it is of a much more quality than rebol's built-in ones .... | |
DideC: 24-Sep-2005 | I had done some enhancements to request-date in the days of "View 1.3" project (2 years ago). The result is in RAMBO, but not the code http://www.rebol.net/cgi-bin/rambo.r?id=3058& So you can find it here with some demo code : do http://membres.lycos.fr/didec/rebol/request-date-enhanced.r | |
DideC: 24-Sep-2005 | It use locales and can start on monday or sunday, show today with red circle, has today button at bottom, and can be initialise with a date shown with a red square. | |
Rebolek: 5-Dec-2005 | It would be great to know when can we expect 1.4.0 . In a month, two, half a year...I know that it's hard to predict release date, but give us some estimation, please :) | |
Gabriele: 5-Dec-2005 | if i would, you'd then quote me on that. :P and anyway, only Carl could possibly tell you a date. | |
Anton: 17-Oct-2006 | #4124 "set-modes doesn't work on file directories" - maybe add a note to Paul here that "the filesystem may not support setting all of the modes that are gettable by get-modes. For instance you can't set modification-date, but you can set the owner-write flag." Maybe there should be a more informative access error type, not just "Cannot open ...". | |
BrianH: 17-Oct-2006 | Anton, error #4124 is not a filesystem problem. I replicated it here, on NTFS, in a directory that I have permission to do anything. NTFS supports changing the modification date of directories - I have an Explorer shell extension that does just that, as well as a command line touch utility. REBOL can change that attribute on files, but not directories. REBOL is probably hust using the wrong API. | |
Anton: 18-Oct-2006 | Ok Brian, thanks for the clarification. Maybe that info should be added to the ticket "NTFS supports changing the modification date of directories..." | |
Maxim: 8-Nov-2006 | in some types this will have a lot of meaning/differentiation ... take the date for example... do we equate the number of seconds, or the lexical textual form... or both, depending on other type pair... | |
Group: Core ... Discuss core issues [web-public] | ||
Micha: 7-May-2005 | REBOL [Title: "proxy multiple" ] print "start-multiple" list: [] proxy: make object! [ host: 24.186.191.254 port-id: 29992 ] ph: func [port][ switch port/locals/events [ connect [insert tail list port ping: to-integer (now/time - port/date ) * 1000 port/date: now/time print [ "open ping: " ping ] ] close [ remove find list port init ping: (now/time - port/date ) * 1000 print ["close ping: " ping ] close port ] ] false ] stop: func [] [ clear system/ports/wait-list forall list [close first list ]] init: func [ /local port ][ port: make port! [ scheme: 'atcp host: proxy/host port-id: proxy/port-id awake: :ph date: now/time ] open/no-wait/binary port insert tail system/ports/wait-list port ] set: func [ h p ] [ proxy/host: h proxy/port-id: p ] send: func [ port ][ port/date: now/time insert port join #{0401} [debase/base skip to-hex 80 4 16 to-binary 193.238.73.117 #{00}] ] | |
Micha: 7-May-2005 | >> init ** User Error: No network server for atcp is specified ** Near: port: make port! [scheme: 'atcp host: proxy/host port-id: proxy/port-id awake: :ph date: now/time] open/no-wait/binary >> | |
Micha: 5-Jun-2005 | rebol [ title: "SOCKS SERWER" ] conn: make port! tcp://:800 proxy: make object! [ host: 208.59.117.69 port: 2988 ] black-lista: [ 69.64.51.223 194.69.207.145 80.252.0.145 194.69.207.165 217.73.17.115] adns: open/no-wait make port! dns:///async adns/awake: func [port /local data][ data: copy port print data false ] insert tail system/ports/wait-list adns heandler: func [ port /local data dns serwer client] [ serwer: first port wait serwer data: copy serwer ;data: make string! 10000 ;read-io serwer data 10000 print ["data1" to-binary data] dns: to-tuple copy/part skip to-binary data 4 4 insert adns dns ;print dns name either find black-lista dns [ close serwer print "firtled" print read join dns:// dns ] [ print "new connetion" insert serwer join #{005A} [debase/base skip to-hex serwer/port-id 4 16 to-binary dns ] client: make port! [ scheme: 'tcp host: system/words/proxy/host port-id: system/words/proxy/port ] ;insert tail system/ports/timeout-list client open/no-wait/binary/async/direct client :response client/sub-port: serwer insert tail system/ports/wait-list client client/date: data serwer/sub-port: client serwer/awake: :request ] false ] request: func [ port /local data f ] [ data: make string! 10000 read-io port data 10000 if f: find data "GET /favicon.ico" [ insert port "HTTP/1.1 404 Not Found" print "favicon.ico"] either (data <> {}) and not f [ print [ "data3" data ] if error? try [ write-io port/sub-port data length? data ][ print "error: close serwer"] ; insert port/sub-port data ] [ close port remove find system/ports/wait-list port port close port/sub-port remove find system/ports/wait-list port/sub-port port/sub-port print "close connetion client" print length? system/ports/wait-list ] false] response: func [ port e a /local data f ] [ switch e [ open [ insert port port/date ] read [ data: copy/part port a either ( a <> 8 ) [write-io port/sub-port data length? data] [ insert tail system/ports/wait-list port/sub-port ] ] close [ close port remove find system/ports/wait-list port port close port/sub-port remove find system/ports/wait-list port/sub-port port/sub-port print "close connetion serwer" print length? system/ports/wait-list] ] ] start: func [] [ conn: make port! tcp://:800 conn/awake: :heandler set-modes conn [no-wait: false] insert tail system/ports/wait-list conn open/no-wait/direct/binary conn ] stop: func [][ close conn remove find system/ports/wait-list conn] set-proxy: func [ h p ] [ proxy/host: h proxy/port: p ] print "proxy" lay: layout [ backdrop blue across h3 red "PROXY" f: field 145 return button green "start" [ p: parse f/text ":" remove find p "" set-proxy to-tuple p/1 to-integer p/2 source p start] button green "stop" [f/text: "" stop ] ] view/offset lay 4x29 halt | |
Group: View ... discuss view related issues [web-public] | ||
Graham: 8-Jan-2005 | Ladislav, do you have a fixed version of q-plot for irregular x values? I can use seconds instead of date values. | |
Group: I'm new ... Ask any question, and a helpful person will try to answer. [web-public] | ||
Henrik: 29-Jun-2006 | normand, also remember that rebol can do date checking, so you don't have to check that manually as well | |
Geomol: 30-Jun-2006 | Example: Let's say, our date is 6 digits YYMMDD. >> date: "230812" We deside, it's the year 2023: >> insert date "20" Now dashes are inserted to form a date understandable by REBOL: >> insert skip date 6 "-" >> insert skip date 4 "-" Date now looks like this: >> date == "2023-08-12" And we can control, it's a valid date with: >> to-date date == 12-Aug-2023 If it's not a valid date, like if the original had other characters than digits, we'll get an error. Errors can be caught with: >> error? try [to-date "foobar"] == true Hope it helps. | |
Normand: 30-Jun-2006 | Oh! I was persuming - wrongly - that no check was done. I thought that because at first glance Rebol did not produce an error on the function >> a: to-date "afrt-01-02" which results in == "afrt-01-02". Thanks for the explanation; then checking all the digits in a date is not usefull. | |
Group: Parse ... Discussion of PARSE dialect [web-public] | ||
Graham: 31-Oct-2005 | This is part of my scheduler dialect away-days is a block of [ start-date end-date reasons ] current-date is the date I am looking at The syntax is away 25-Dec-2005 on holiday away 25-Dec-2005 away from 25-Dec-2005 to 7-Jan-2006 on "summer holidays" I want to add away every Wednesday at "golf course" | |
Graham: 31-Oct-2005 | away-rule: [ 'away [ set awaydate date! (repend away-days [ awaydate awaydate]) | 'from set awayfrom date! 'to set awayto date! ( repend away-days [ awayfrom awayto ]) | 'every set day word! ( either day = to-word pick system/locale/days current-date/weekday [ repend away-days [ current-date current-date ] ][ ...break out of rule... ] ) ] ( reason: copy "" ) opt [ [ 'on | 'at ] set reason [ word! | string! ]] ( append away-days to-string reason ) ] | |
Graham: 31-Oct-2005 | Now if the current-date matches a Wednesday, I am okay. But if not, I want to leave the rule at that point, and move on to the next rule. | |
Graham: 1-Nov-2005 | at the moment, I just fudge it by adding a far distant date. | |
Graham: 1-Nov-2005 | away-rule: [ 'away set .. [ 'from ... | 'every set day word! if ( either day = to-word pick system/locale/days current-date/weekday [ repend away-days [ current-date current-date ] true ][ false ) ) | break ] ( reason: copy "" ) opt ... ] | |
Gregg: 28-Sep-2006 | I also have a naming convention I've been playing with for a while, where parse rule words have an "=" at the end (e.g. date=) and parse variables--values set during the parse process--have it at the beginning (e.g. =date). The idea is that it's sort of a cross between BNF syntax for production rules and set-word/get-word syntax; the goal being to easily distinguish parse-related words. By using the same word for a rule and an associated variable, with the equal sign at the head or tail, respectively, it also makes it easier to keep track of what gets set where, when you have a lot of rules. | |
Gabriele: 30-Dec-2006 | most up to date version: http://www.colellachiara.com/soft/PDFM2/compile-rules.r | |
Group: MySQL ... [web-public] | ||
Gabriele: 7-Jul-2008 | i don't think you can buy it right now, and the focus has shifted to the SaaS model, but otherwise there are no major tech obstacles iirc. ask reichart for more details, i'm not really up to date on the marketing/sales stuff :) | |
Graham: 12-Jul-2008 | looks like some of the patient records have 0000-00-00 as the date of birth in them. | |
Graham: 13-Jul-2008 | Thanks for fixing the date zero error. | |
Dockimbel: 14-Jul-2008 | For a long time, I was reluctant to change the date zero behaviour (error throwing), because this "feature" of MySQL look, to me, like very bad design. But recently, I hit the problem too when I inserted badly formed dates in a table and wasn't able to read the records anymore with my driver. | |
Davide: 1-Mar-2009 | Is there a MySQL guru around ? I need to optimize this query: SELECT A.cod, A.date , SUM(B.amount) AS amount, COUNT( * ) AS numrow FROM A INNER JOIN A AS B ON A.cod=B.cod AND B.date <= A.date WHERE A.cod IS NOT NULL GROUP BY A.cod, A.date This return "running sums" (partial sum for every date and every cod). Both cod and date are indexed. In a table of about 100'000 records it takes 104 sec to complete while in SQL server 2005 (the same query, on the same data, on the same index ) it takes 3 sec ! I've tried to use MyIsam, InnoDB, MEMORY storage, and used BOTH btree and hash index. I've tried to FORCE Index for Join and Group too. Any suggest ? | |
Davide: 2-Mar-2009 | > is there any reason why you join A on A? If I have these records: cod date amount A 2009/03/01 10 A 2009/03/03 30 A 2009/03/04 20 A 2009/03/07 5 B 2009/03/02 17 B 2009/03/10 5 That query give me the sum of previous amounts for every date/cod: cod date amount NumRow A 2009/03/01 10 1 A 2009/03/03 40 2 A 2009/03/04 60 3 A 2009/03/07 65 4 B 2009/03/02 17 1 B 2009/03/10 22 2 I don't know if there's a better method without using join > also.. have you tried to EXPLAIN the query? Yes, explain returns that the correct indices are used. Not very informative. | |
Davide: 2-Mar-2009 | > My guess is also that Oracl, SQL Server and perhaps PostGreSQL are smarter with their table optimziers and query rewriters Postgres is about 2 times faster than MySQL in this query, but the execution time grow alot as num of records increase. So I really don't know how good is compared to MySQL. Oracle, I would try, but I have no time :-P > Also, change the count(*) to count(1) Thanks, good one. The real tables will be more large (5 M record or more), so small optimizations would be not sufficient I'm tryng a different approach, using one simple stored function: create function running_total (cod VARCHAR(50), adder DECIMAL) RETURNS DECIMAL BEGIN IF @last_cod <> cod THEN BEGIN SET @running_total = 0; SET @last_cod = cod; SET @num_row = 0; END; END IF; SET @running_total = @running_total + adder; SET @num_row = @num_row + 1; RETURN @running_total; END and using as select: SET @last_cod = ''; SET @running_total = 0; SET @num_row = 0; SELECT cod , date, running_total(cod , amount), @num_row FROM a ORDER BY cod, date; This approach seems really fast : processing and inserting 100'000 records took less than 1 sec. instead of 281,73 sec. with SQL join | |
amacleod: 7-Jun-2009 | Also, i have some datestamp issues. rebol attaches the zone code to now when getting the date/time but when using mysql timestamp I do not get a time zone attached and its screwing me up. Is there a way to add time zone to datestamp in mysql? | |
GrahamC: 22-Sep-2011 | mysql problem what does this error mean? Hello, I am just looking at REBOL and trying to access mysql I got this error?? =================================== connecting to: 127.0.0.1 ** User Error: ERROR 1251 : Client does not support authentication pro tocol requested by server; consider upgrading MySQL client ** Near: db: open mysql://[rootass-:-127-:-0-:-0-:-1]:3306/mysql ============================================== This the code I am using from rebol document Rebol[ title: "Rebol Mini-Text Database with Visual GUI" author: "http://reboltutorial.com/blog/rebol-mini-text-database/" version: 1.0.0 ] do %mysql-protocol.r probe first system/schemes db: open mysql://[rootass-:-127-:-0-:-0-:-1]:3306/mysql insert db { DROP TABLE IF EXISTS products; CREATE TABLE products ( name VARCHAR(100), version DECIMAL(2, 2), released DATE ); INSERT INTO products VALUES ('cheyenne', '1.0', '2007-05-31'); INSERT INTO products VALUES ('mysql', '1.1', '2007-05-01'); } insert db read %setup.sql ;-- execute a big SQL file | |
Group: Dialects ... Questions about how to create dialects [web-public] | ||
Janko: 3-Mar-2009 | from his dialect: name: string! is not within ["Carl"] age: integer! is between [18 65] start-date: date! is after 30-April-2007 | |
Group: Web ... Everything web development related [web-public] | ||
Anton: 25-Feb-2005 | Ah, you are right: >> port/locals/headers/date == "Fri, 25 Feb 2005 05:45:11 GMT" | |
Anton: 26-Feb-2005 | >> print mold get-modes %a 'file-modes [creation-date access-date modification-date owner-write archived hidden system] >> set-modes %afile [archived: true] >> set-modes %afile [archived: false] >> get-modes %afile 'archived == false | |
Anton: 26-Feb-2005 | read-thru: func [ {Read a net file from thru the disk cache. Returns binary, else none on error.} url [url! file!] /progress callback {Call func [total bytes] during transfer. Return true.} /update "Force update from source site" /expand "Auto-decompress after transfer." /check {Update only if version, checksum/secure, or date/size do not match.} info /to "Specify a file target, not cache." local-file [file! none!] /local file data purl loc-path ][ vbug ['read-thru url info] if none? file: path-thru url [return none] if local-file [file: local-file] if all [not update exists-thru?/check file info] [ if error? try [data: read/binary file] [return none] return data ] if file? url [ if error? try [data: read/binary url] [return none] return data ] loc-path: first split-path file if data: read-net/progress url :callback [ if not exists? loc-path [make-dir/deep loc-path] if all [expand find/match data "rebpress"] [ if error? try [data: decompress skip data 8] [return none] ] write/binary file data if all [check block? info info/2] [ error? try [set-modes file [modification-date: info/2]] ] ] vbug ['read-thru-ok? found? data] data ] | |
Group: Announce ... Announcements only - use Ann-reply to chat [web-public] | ||
Graham: 1-Jun-2006 | It says that because that is the date the original entry was created. We created a few blank records and update them at the right week. I guess we should look at the template and remove that information. | |
Louis: 19-Sep-2006 | rebol [ Title: "Stopwatch" Date: 23-Mar-2005 Version: 1.0.0 File: %stopwatch.r Author: "Louis Turk" Purpose: "Simple desktop stopwatch." ] kbhit: does [ con: open/direct/binary/no-wait console:// until [wait con] choice: to-char pick con 1 close con choice ] forever [ prin "Hit any key to start: " kbhit start-time: now/time/precise print [start-time] prin ["Hit any key to stop : "] kbhit end-time: now/time/precise print [end-time] print [newline newline end-time - start-time newline newline] ] | |
Louis: 19-Sep-2006 | rebol [ Title: "Stopwatch" Date: 19-Sep-2006 Version: 2.0.0 File: %stopwatch.r Author: "Louis Turk" Purpose: "Simple desktop stopwatch." history: "v.2 works across midnight thanks to Gabriele" ] kbhit: does [ con: open/direct/binary/no-wait console:// until [wait con] choice: to-char pick con 1 close con choice ] forever [ prin "Hit any key to start: " kbhit start-time: now/precise print [start-time] prin ["Hit any key to stop : "] kbhit end-time: now/precise print [end-time] print [newline newline difference end-time start-time newline newline] ] | |
Louis: 11-Oct-2006 | REBOL [ Title: "Slideshow" Date: 12-Oct-2006 Name: 'SLIDESHOW ; For window title bar Version: 1.0.0 File: %slideshow.r Author: "Louis A. Turk" Rights: "Public Domain; use at your own risk." Needs: "A version of REBOL/VIEW supporting sound" Purpose: {To make possible simple, easy to make narrated slide shows. Hopefully can be used with the REBOL plugin to show narriated slides on a web site. Hopefully can an effective tool to teach REBOL programming. } Note: { The concept and design originated with Louis A. Turk. DideC helped considerably by answering programming questions and giving bits of code; it would not have been possible without his help. Josh also answered programming questions. You can make wav files using the free program Audacity. http://audacity.sourceforge.net Advanced JEPG Compressor does and excellent job compressing graphics files so they load faster, but is not free. } History: [ 1.0.0 [ "First release." "Louis"] ] Language: 'English ] ;Requires a data file named %slides.r containing lines of blocks in the following format: ;Each block must contain: (1) slidename, (2) overlay, (3) caption, (4) sound. ;Example block: [%slide1.jpg "Overlay text." "A caption!" %sound.wav] ;Use "" for no overlay or caption. ;file: request-file/title/only "Select the slides data file to use." "Select Data File" file: %slides.txt ;uncomment the above line, and comment this one to select data files with different names. slides: load file narrate: func [talk] [ ;--- Manage the sound sound-port: open sound:// insert sound-port load talk wait sound-port close sound-port ] view/new win: layout/size [] 650x650 ;<= Set the max size you need wait 0 ;---Initialize REBOL's internal event handler. foreach slide slides [ ;--- Start the slide show set [graphic overlay caption narration] slide lay: layout [ origin 0 banner center bold red "A REBOL Produced Narriated Slide Show" image graphic overlay 500x400 frame black [unview] [quit] text 500 bold caption button "Quit" center [quit] ] center-face/with lay win append clear win/pane lay show win narrate narration ] do-events | |
Group: SDK ... [web-public] | ||
Louis: 13-Dec-2005 | Another question: what is required to use view-request.r with enface? I keep getting an error message: ** Script Error: sky has no value ** Where: context ** Near: color: sky size: 2x2 ** Press enter to quit... I just want a calander to pop up to request a date. Is another source module required besides view-request.r? | |
Louis: 13-Dec-2005 | Volker, that helps some. But now I get: Unknown word or style: request-date | |
Louis: 13-Dec-2005 | I think I have included all the files needed. The problem must be in the way I am using request-date. Oh well, I figure it out after lunch. | |
Louis: 7-Mar-2006 | But in View it works fine: Type desktop to start the Viewtop. >> web-file: info? ftp://user:[pass-:-ftp-:-bible-way-:-org]/www/turk/backup/enter-data.exe connecting to: ftp.bible-way.org >> probe web-file make object! [ size: 626343 date: 3-Mar-2006/11:37 type: 'file ] >> | |
Sunanda: 14-Oct-2006 | As far as I know the SDK is a version or two behind -- so no round (or maybe you have an out of date SDK) Technically: all you need to do is copy source round source mod from a later version of REBOL to your application Licensing: is that permissable? You may need to ask RTmod: func [ "Compute a nonnegative remainder of A divided by B." [catch] a [number! money! time!] b [number! money! time!] "Must be nonzero." /local r ][ all [negative? r: a // b r: r + b] a: abs a either all [a + r = (a + b) positive? r + r - b] [r - b] [r] ] | |
Louis: 18-Oct-2006 | Is there a better way to do this: comment { ;do %/c/sdk/source/view.r do %/c/sdk-2-6-2/source/view.r do %t-db-functions.r do %request-date.r } #include %/c/sdk/source/view.r ;NOTE: THIS IS THE OLD SDK. WON'T WORK WITH NEW SDK. #include %t-db-functions.r #include %request-date.r So that I don't have to comment out lines when I switch from interpreter to encap and back. | |
Group: !RebGUI ... A lightweight alternative to VID [web-public] | ||
Anton: 4-Jun-2005 | Here's another issue: rebgui 0.2.4 defines a new global word 'edit This interfered with my custom edit function, which I use to launch my favourite editor. I'm not changing it for you ! :) This is an example of the problem of adding words to the global context without doing an environmental impact study first. The user should be given the choice whether to export your words to the global context or not. But probably most of them don't need to be out there at all. My advice is to add only these words to the global context: [ ctx-rebgui display show-text show-data show-title splash request-color request-date request-file ] --- rebgui.r --- CTX-REBGUI: context [ ... edit: none widgets: none requestors: none display: none foreach [word file][ edit %rebgui-edit.r widgets %rebgui-widgets.r requestors %rebgui-requestors.r display %rebgui-display.r ][ if none? word [set word do file] ] ] ;if not value? 'edit [do %rebgui-edit.r] ;if not value? 'widgets [do %rebgui-widgets.r] ;if not value? 'requestors [do %rebgui-requestors.r] ;if not value? 'display [do %rebgui-display.r] ; export DISPLAY and the accessor functions to global context foreach word [display show-text show-data show-title splash][ set word get in ctx-rebgui word ] And each file no longer has a *named* context: --- edit.r --- REBOL [...] context [...] The above changes should mean few changes to the rebgui code. For example, the body of the display function refers to the widgets context, but this is still accessible because both DISPLAY and WIDGETS are inside ctx-rebgui. | |
Graham: 9-Jun-2005 | though I prefer the keyboard way to setting dates as used by quicken. viz: 01/02/ => 01/02/2005 T => today's date M => last date of the month etc | |
Ashley: 9-Jun-2005 | We have request-date for that. Spinners are usually used to increment / decrement integers and percentages, with support for min, max and step values. | |
shadwolf: 9-Jun-2005 | works so I don't see a problem to initialise the spiner using now/date | |
shadwolf: 9-Jun-2005 | request-date give you a hudge over see spinner date give you a close contrôle for short time periode since now/date | |
shadwolf: 9-Jun-2005 | for example Image I'm a commercial I need to set for tomorow a schedule with some client what would be grphically better for me ? click add button and then select the date user request date or Click Add button then use spinner to select the proper date and time and enter an entry to the topic field :) | |
shadwolf: 9-Jun-2005 | Now I'm still a commercial but this time I plan a tour to East America in several town with several client and this trip is planned for 2 - 3 month since now. What would be perefable use a spinner based interface or use a resquest date based interface | |
shadwolf: 9-Jun-2005 | data type can be used too in some case for that (like date) this way we free the programmer to have to take in charge the spinner sizing | |
Ashley: 16-Jun-2005 | Anton 1) Code size. What it loses in code size it gains in aesthetics and simplified behaviour (check out the request-color and request-date actions in %tour.r to see the extra "state" code required by the original implementation). I like Brian's base64 solution. 2) Tab-panel color: I've based this on the WinXP color scheme. Try changing it to colors/window, it just doesn't look right. But slider can be used on a colors/widget or colors/window background. WinXP solves this by using a gradient / edge so that it is distinguishable on either. So for RebGUI, a number of solutions are possible: - add a new colors/slider background that "works" with both widget and windows background colors - add a new colors/tab-panel background that "works" with both widget and windows background colors - use an effect like gradient to distinguish the slider background color - or edge - or? I'm open to suggestions on this one. ;) Brian 1) I like the in-line image solution 2) I like the base 64 solution even better! One problem, the button-down image renders the same as button-up (i.e. 1st and 2nd images render the same ... even though a quick glance at the data suggests they are different?) Graham Any examples where the desired behaviour is used? shadwolf I did the same (replaced scroller call with "slider data [arrows]") for text-list / table and it worked fine for me. Check for code that tried to reference sub-faces in the old scroller widget (as Anton refactored slider to use just one face). | |
shadwolf: 20-Jun-2005 | th only person that can split the licence for a project is teh author it self and one import thing is to publish the work ... that way your GPL work will gain public notority the date of publication into a tiers site like sourceforge or rebol.org can be recieved by the court as proof of the anteriority of your work upon the derivation ;) | |
Graham: 6-Sep-2005 | Ashley, what do you think of adding in some way of assisting with field level validation. I was thinking of perhaps an optional dialected block that specifies if the field is of date type, not null, character length min/max, and for passwords, sufficiently complex. That way when building database applications, you can specify the table constraints at the field, and let rebgui automatically enforce that. | |
Ashley: 14-Sep-2005 | I'm using code like the following quite often now: display join settings/file " Summary" compose/only [ ... records: table 90x25 #W options ["Date" right .4 "User" left .2 "Description" left .4] data ( sql compose [select [date user description] from sys_records where (id) order by date desc] ) [ ; set record path record-path: dirize join file-path first face/selected ... ] ... ] The table widget is now very DB friendly. I haven't had a need for a grid widget, but then again my apps don't require spreadsheet type functionality. | |
Pekr: 20-Sep-2005 | One of the most difficult fields was date entry field 99.99.9999, with VO we had three or more implementations. Native one pretty sucked - it is all about what chars you allow, what happens if you press tab, del, how is field hilighted by default, what part is hilighted, if your backspace key deleting letters stops at dot or not etc ec. With date field - do you want to allow user to enter any number? 67 or other number is surely not a good day-number, is it? :-) Now do you want to disallow user to type nonsense directly? How do you know without linking it to calendar? Or do you do your validation when leaving your field? Some ppl do validation once per form, e.g. when you try to press "Save" button (not my preferred way, at least for some field-types, but some do prefer that) ... | |
Sunanda: 20-Sep-2005 | Some of those are philosphical questions about application design / user interface. For example, I have one application that permits things like "Not sure, maybe next tuesday. must ask Bob" in a date field. That's perfectly valid until they click the "publish" button. Then we need a real date. So *private* data conforms to their rules; *public* conforms to ours. | |
Pekr: 24-Sep-2005 | Ashley - why request-date was redone? It has strange metrics here ... too wide (x axis) and it looks like 80ies jurrasic Win3.1 period with btns :-) - old look was much nicer with chevron kind of buttons ... and it was merely the same size X and Y axis wise ... | |
Graham: 10-Oct-2005 | you can use set modes to alter the file creation date. | |
Group: !Uniserve ... Creating Uniserve processes [web-public] | ||
Mchean: 29-Jan-2007 | I'm using Version : 0.9.9 Date : 11-Oct-2004 is there perhaps a later version. | |
Group: DevCon2005 ... DevCon 2005 [web-public] | ||
MikeL: 8-Jul-2005 | One option is to provide commentary text, images and links a few seconds after they are shown. For synchro skating competitions that we can't attend, we follow them using Team Germany's Live Ticker. http://www.teamberlin-1.de/live_frame.php?ev=2&lang=en This is a very slick PHP application that has photos taken at the arena and broadcasts them a few seconds later. Some dedicated fans from Germany were providing the photos (JPEGs), scores and bilingual (at least English and German) commentaries. When new content is published, a message appears at the top to inform the viewer that it is available. They hit the refresh hyperlink and they are up-to-date. From the timestamps, our lag time to Canada was sometimes as low as 45 seconds after the event occurred i.e. we are getting commentary results about a given team's skating while they are still on the ice. This site reports http://www.teamberlin-1.de/en/cup-of-berlin/that 4,000 viewers followed the Berlin Cup in Jan-2005 using Live Ticker. Maybe something like that would work for DevCon2005. | |
DideC: 11-Jul-2005 | Monza "Grand Prix" is 2, 3 and 4 september. So if any, it's not formula one at this date. | |
Gabriele: 24-Jul-2005 | 1) Yes. just put 24-sep-2005 for arrival date. | |
Mario: 31-Jul-2005 | We should make a new form for date changes? At most on Tuesday we need to reserve the hotel's rooms... | |
Group: Rebol School ... Rebol School [web-public] | ||
btiffin: 19-Jul-2007 | Oh, by the way...we added to the %form-date.r script in the library. See I'm New for details. | |
Vladimir: 26-Oct-2007 | What could be problem with this script? set-net [[user-:-mail-:-com] smtp.mail.com pop3.mail.com] today: now/date view center-face layout [ size 340x120 button "Send mail" font [size: 26] 300x80 [ send/attach/subject [user-:-mail-:-com] "" %"/c/file.xls" reduce [join "Today " :danas] quit ] ] I get this error: ** User Error: Server error: tcp 554 5.7.1 <[user-:-mail-:-com]>: Relay access denied ** Near: insert smtp-port reduce [from reduce [addr] message] Could it be some security issue? It worked with previous internet provider... A week ago we changed it and now this happens... Should I contact my provider to change some security settings or should I change something in the script? | |
Group: Tech News ... Interesting technology [web-public] | ||
Terry: 14-May-2006 | How can you say you don't need to alter the db.. when the second step needs code like this?.. class AddUserTable < ActiveRecord::Migration def self.up create_table :users do |t| t.column :first_name, :string t.column :last_name, :string t.column :birthday, :date end end def self.down drop_table :users end end | |
Karol: 17-May-2006 | http://www.google.com/trends?q=rebol&ctab=2&geo=all&date=all | |
Group: SQLite ... C library embeddable DB [web-public]. | ||
Pekr: 14-Dec-2006 | following works: ;--- import log files import-logs: does [ ;--- pairs of incident No and incident file [[1 filename][2 filename] atd.] ... log-files: [[1 06-12-06-7_50-7_59][2 06-12-12-15_46-15_47][3 06-12-13-15_29-15_31]] foreach file log-files [ log-info: copy [] log-file: read/lines file/2 ;print length? log-file foreach string-line log-file [ line: parse string-line " " if line/7 == "GET" [ append log-info reduce [line/1 line/2 line/4 line/8 line/11 to-string file/1] ] ] SQL "BEGIN" foreach [date time ip-address url content-type incident-id] log-info [ SQL reduce ["INSERT INTO logs VALUES (?, ?, ?, ?, ?, ?)" date time ip-address url content-type incident-id] ] SQL "COMMIT" ] ] | |
Pekr: 14-Dec-2006 | uf, following works. Maybe it has something with my nonunderstanding of differences between string/non string values and how to properly insert them ... SQL s: rejoin ["INSERT INTO logs VALUES ('" date "', '" time "', '" ip-address "', '" url "', '" content-type "', '" incident-id "')"] | |
Pekr: 14-Dec-2006 | whereas this one does not: SQL reduce ["INSERT INTO logs VALUES (?, ?, ?, ?, ?, ?)" date time ip-address url content-type incident-id] | |
Pekr: 14-Dec-2006 | I am confused about what driver is doing ... the difference of Direct mode. Hmm, maybe I do - there is a difference between the string mode, and block mode. With string mode, the driver does not touch the expression, so I am responsible for putting VALUES('06-Dec-2006') or VALUES('"06-Dec-2006"') - simply put - if I want in db to have my date value being represented as a REBOL string, I have to put it into parenthesis myself. So actually parenthesing it twice, as sqlite itself already uses '06-Dec-2006' and considers it being a string ... | |
Pekr: 21-Dec-2006 | There seems to be a bit messy situation in how integers are handled with SQLite, so beware. If you don't specify column types, as eg. in my following example: create table logs (date, time, ipaddr, url, ctype, incident) , then expect following situation: 1) sql "select incident from logs where incident = 4" ; works 2) sql ["select incident from logs where incident = ?" 4] ; works 3) sql "select incident from logs where incident = '4'" ; does not work The strange thing is, that editing my db in SQLiteAdmin, it shows not column types (but imo it has to choose some "default" type internally). Changing according field type to Integer type, makes above case number 3) to work too ... So maybe it is always better to not be lazy and specify precisely column types? But in fact, when I specified column type as Integer, I did NOT expect case 3 to work ... I am going to do more tests myself to save myself from later headaches during specifying more complicated queries :-) | |
amacleod: 3-Dec-2008 | If I'm updating multiple fields is this the syntax? SQL reduce ["update books SET bk=?, chap=?, section=?, up_date=? WHERE id=?" book chapter section update id] I do not get an error but it does not seem to be updating all the fields. | |
amacleod: 4-Dec-2008 | Banging my head against a wall! This works: SQL reduce [{UPDATE notes SET note=?, up_date=? WHERE book=? AND chapter=? AND section=?} note_text now bk_tit/1 bk_tit/2 bk_tit/3] But this does not: SQL reduce ["Update fdbooks SET up_date=? WHERE ref_number=?" now ref] nor this: SQL reduce [{UPDATE notes SET note=?, up_date=? WHERE book=? AND chapter=? AND section=?} note_text now bk_tit/1 bk_tit/2 bk_tit/3] Any ideas? | |
amacleod: 4-Dec-2008 | Sorry I mean: nor this: SQL reduce [{UPDATE fdbooks SET bk=?, chap=?, sec_num=?, ftext=?, key_words=?, up_date=? WHERE ref_number=?} blk/2 blk/3 blk/4 blk/5 blk/6 (to-date blk/7) blk/1] | |
Group: !REBOL3-OLD1 ... [web-public] | ||
Anton: 11-Apr-2006 | net-utils/net-log join "Type: " type: any [ all [new-dir? 'new-dir] all [new? 'new] all [dir-read? port 'dir] all [port/state/flags and system/standard/port-flags/open-append <> 0 'app] 'file ] do select [ file [ confirm-cmd port either port/algorithm = 'nlst [nlst-check] [list-check] accept-connect port type parse-dir-list port if tmp: select locals/dir-cache to-file port/target [ port/status: first tmp port/date: third tmp if any [none? port/size: second tmp 1024 > port/size] [port/size: 0] ] data-connect port confirm-cmd port binary-type-check if 0 < cmd-port/state/index: port/state/index [ confirm-cmd port restart-check ] confirm-cmd port read-check ] new [confirm-cmd port write-check] new-dir [confirm-cmd port mkdir-check] dir [confirm-cmd port either port/algorithm = 'nlst [nlst-check] [list-check]] app [confirm-cmd port append-check] ] type accept-connect port type if type = 'dir [ port/size: port/state/tail: parse-dir-list port ] ] port ] close: func [port /local cmd-port cache-size][ cmd-port: port/locals/cmd-port if not dir-read? port [error-try? [confirm-transfer port]] net-utils/net-log reform ["Caching cmd-port" cmd-port/host cmd-port/local-port cmd-port/remote-port] cmd-port/host: cmd-port/locals/tuple | |
Group: Postscript ... Emitting Postscript from REBOL [web-public] | ||
Graham: 8-Jun-2006 | I know about ez-plot being capable of doing very useful plots ( barring sequential date data ). | |
Group: !Cheyenne ... Discussions about the Cheyenne Web Server [web-public] | ||
Will: 2-Jun-2007 | then I would say use any tool that permit you to see the header request/response, look closely what working websites sen in the response header for set-cookie change the mod-rsp to send the same apart from the RSPSID=xxx , eg remove path and expiration date | |
Dockimbel: 16-Aug-2007 | It's a french expression meaning : someday ...(just kidding) ;-). I need a couple of days of work on Cheyenne to reach the rc1, but I only have an hour or 2 to work on it, here and there, so it's hard to schedule a release date...the customer project I'm leading is taking almost all my time. | |
Group: !distro-bot ... [web-public] distro-bot: source & versioning + automated distribution | ||
Maxim: 12-May-2009 | I'd like to know if any of you want to be alpha testers for the up and comming version, which is a result of several YEARS of fine tuning, and now combining, a rich set tools. CURRENT FEATURES (partial list): General: ----------------------- -non intrusive, does not force any programing onto you. ex: * no need to have version in header, and can still do version control * history format is user specified, massive configurability -encapped (windows) application, so its easy to use. -no external dependencies (ex: zip archive is embeded, and coded in rebol :-) Automated: ----------------------- -script versioning -file backup (versioned) -zip archival -file management -creation of "packages" (create dirs, copy files, archive, prebol, slim-link, encap, etc) -header manipulation (including history, date, version, and any field you want to enforce) -system calls -file parsing, replacing info tags. Flexible setup: ------------------------- -cascading configuration (global, user, project, + per file) -config locking, prevents overiding configs in cascaded setups (project manager can create rules which no one can break) -command-line arguments overides for many configs -user set configs for most if not all features (ex: history format, date format). and much more |
201 / 1004 | 1 | 2 | [3] | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 |