r3wp [groups: 83 posts: 189283]
  • Home
  • Script library
  • AltME Archive
  • Mailing list
  • Articles Index
  • Site search
 

World: r3wp

[Announce] Announcements only - use Ann-reply to chat

Ladislav
13-Sep-2006
[332]
OTOH, it is possible to not download anything, just say: INCLUDE-PATH: 
union include-path [http://www.fm.tul.cz/~ladislav/rebol/] and everything 
will work
Louis
19-Sep-2006
[333]
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]
]
Oldes
19-Sep-2006
[334]
forever [ask "hit to start" t: now/time/precise ask "hit to stop" 
print now/time/precise - t]
Louis
19-Sep-2006
[335x2]
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]
]
Oldes, you either have very fast hands or a very fast computer or 
both. I can't get close to your record even using your code. But 
isn't it amazing what be done with just one line of rebol code?
Oldes
19-Sep-2006
[337]
It's easy, I just hit enter and watch the times:-)
Henrik
28-Sep-2006
[338]
HTTP Tools. A small script containing a few functions to read the 
HTTP header of a webserver. It doesn't do much, but the main purpose 
is to determine which scripting language is used on a specific webserver. 
I use it to upload ASP and PHP scripts to various webservers, without 
having the user needing to know the scripting language in advance. 
It's not very strong yet and some servers will not reveal this information, 
but I hope it can be built into a reliable tool for determining scriping 
language over time.

http://hmkdesign.dk/rebol/http-tools/http-tools.r

Example:

>> server-type http://rebol.com
== "Apache"
>> x-power-type http://www.hmkdesign.dk
== "php"
>> x-power-type http://www.microsoft.com
== "asp"
Oldes
28-Sep-2006
[339]
maybe you should change name as there is already script with such 
a name in the library http://www.rebol.org/cgi-bin/cgiwrap/rebol/view-script.r?script=http-tools.r
Carl
4-Oct-2006
[340]
Added this: http://www.rebol.com/news/cheyenne.html
Claude
5-Oct-2006
[341]
we don't find it !!!!!
Dockimbel
5-Oct-2006
[342]
I'll make a first public release this week-end.
Claude
5-Oct-2006
[343]
super !!!!
Geomol
8-Oct-2006
[344]
NicomDoc 2 is out! http://home.tiscali.dk/john.niclasen/nicomdoc/

Major enhancements are equations (mathematical formulas) and mail 
merge. Other new things include sub- and super-script and specification 
of template within the document.
Anton
11-Oct-2006
[345]
Scroller style with arrows-together option (Amiga style):
do http://anton.wildit.net.au/rebol/gui/demo-ami-scroller.r
Geomol
11-Oct-2006
[346]
Anton, I get an error: ** Script Error: include has no value
(under OSX, if that has anything to say)
Anton
11-Oct-2006
[347x2]
Try it again. If you still get an error try this first:
load-thru/update http://www.rebol.net/reb/index.r
Louis
11-Oct-2006
[349x2]
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
There is one problem with slideshow.r and that is that the slide 
is not centered correctly in the window. Does anyone know how to 
fix that?
Anton
12-Oct-2006
[351]
This is a center-face problem. It assumes you are talking about two 
window faces. You can closely mimic the center-face behaviour though.
Replace the line
	center-face/with lay win
by
	lay/offset: max 0x0 win/size - lay/size / 2
Louis
12-Oct-2006
[352]
Thanks, Anton. That solved the problem.
Ladislav
13-Oct-2006
[353]
INCLUDE ( http://www.fm.tul.cz/~ladislav/rebol/include.r) has been 
updated thanks to Henrik. See also http://www.fm.tul.cz/~ladislav/rebol/include.html
Geomol
19-Oct-2006
[354x2]
Apollo 1.4.1 released: http://home.tiscali.dk/john.niclasen/apollo.zip

Fixed a problem with the buttons for missions with a lot of pictures. 
Unpack the zip and start apollo.r. The indexes for Apollo 7-17 missions 
doing the years 1968-1972 will be created. The script loadthumbs.r 
can be used to download all thumbnail pictures, so the apollo.r script 
will run faster. Run loadthumbs.r after the indexes have been created 
by apollo.r. (Thumbs are around 30MB!)


The pictures are a collection of the pictures released on the website: 
http://www.apolloarchive.com/
Apollo 1.4.2 released:http://home.tiscali.dk/john.niclasen/apollo.zip
Fixed a bug in the "Update Index" function.
Rebolek
23-Oct-2006
[356]
I've just uploaded TextureLab version 0.3.2 to REBOL.ORG . http://www.rebol.org/cgi-bin/cgiwrap/rebol/view-script.r?script=texture-lab.r
Maxim
31-Oct-2006
[357]
There is finally a script to demonstrate some of GLayout's current 
capabilities.

the demo script will download and save slim and glayout on its own 
(asking first), hands free, no obscure installation needed.


do http://www.rebol.org/cgi-bin/cgiwrap/rebol/download-a-script.r?script-name=glayout-demo.r
Brock
31-Oct-2006
[358x3]
Nice work Maxim, love your button styles, the menu's.  Very nice 
looking and nice feel.
Sorry, should have been in Ann-Reply
Nice work on Glayout Maxim, love your button styles, the menu's et 
el.  Very nice looking and nice feel.
Maxim
1-Nov-2006
[361x3]
LIQUID - DATAFLOW core engine   -  just released on REBOL.org !!!

   It is still alpha (needs more active use), but theoretically production 
   capable.


http://www.rebol.org/cgi-bin/cgiwrap/rebol/view-script.r?script=liquid.r
STEEL web site - tools for REBOL is now moved and completely refreshed.


currently has up to date information on liquid, slim  and reTools. 
 Will be uploading some GLayout docs next week.
here is the link:   http://www.pointillistic.com/open-REBOL/moa/steel/
Maxim
6-Nov-2006
[364]
The REBOL Week is still alive and kickin  :-)


The REBOL Week has been tracking and compiling most of what you've 
been doing since it started almost SIX months ago already!  and it 
seems We've begun to have a measure of notoriety  (check this week's 
edition;-)


For the new guys around here, (and those who forgot about it ;-) 
 here is the link, to this great compilation of most of what is happening 
in the REBOL community:

http://rebolweek.blogspot.com/
Ryan
7-Nov-2006
[365x2]
How do you get all that data on screen into a file? Well, now you 
can do this:

save %data get-form my-window


And you can put it back just as easily. Cool eh? Thank Cesar Chavez 
too, he did most the coding.

http://www.practicalproductivity.com/files/form-tools.html
http://www.practicalproductivity.com/files/form-tools.r
btw: it only looks at 'input flagged controls such as field, check-line, 
drop-down, area, etc.
Graham
7-Nov-2006
[367]
404
Ryan
7-Nov-2006
[368]
oops, try : http://www.practicalproductivity.com/form-tools.html
james_nak
8-Nov-2006
[369]
Thanks Ryan. That's a real time-saver.
Anton
13-Nov-2006
[370]
Bubble-doc  (beta)
http://anton.wildit.net.au/rebol/doc/bubble-doc.r
Ryan
14-Nov-2006
[371]
form-tools 0.9.2 - I added input flagged versions of all the traditionally 
non input styles like text (input-text), label (input-label), info 
(input-info), etc. This allows get-form/put-form to access such faces. 
Visit http://practicalproductivity.com/files/form-tools.htmlfor 
more info.
james_nak
15-Nov-2006
[372]
Anton, how very cool. More shapes to come?
Louis
15-Nov-2006
[373]
Ryan, I really needed something like form-tools a few months ago. 
Thanks for your good work.
Maxim
17-Nov-2006
[374x2]
GLayout v0.5.4 released (on rebol.org, as usual)
---------------------------------------

-SWITCH-PAD: tab-pane like style... supply all tabs directly within 
the main layout, if you want i.e. no need to separate  each tab's 
layout.

-field style: new visuals, faster, more obvious, supports rounded 
corners, fixed sizing.
-menu-bug vs popups bug fixed
-hshrink now fully implemented for text and buttons.
-buttons now supports mouse-relative popup menus

-center group style, allows to center static-sized objects or adds 
margins support for stretchy content
GLayout demo 0.9.1 Released:
------------------

-auto-updates latest version of GLayout (as per slim requirement).

-new layout using switchpad (btw, switchpad automatically adds a 
right-click popup to select panes)
-takes advantage of new GLayout features.

-improved input field filter example, now properly reacts to caret 
offset (cursor)
-better button and field options examples
-adds center style examples.

do http://www.rebol.org/cgi-bin/cgiwrap/rebol/download-a-script.r?script-name=glayout-demo.r
[unknown: 5]
23-Nov-2006
[376]
REBOL version 2.7.1 is released ---->  http://www.rebol.net/cgi-bin/upnews.r
[unknown: 5]
25-Nov-2006
[377]
REBOL version 2.7.2 is released ----> http://www.rebol.net/upnews/0008.html
Volker
15-Dec-2006
[378]
USe writely as rebol-editor. somewhat clumsy, but works :) http://docs.google.com/View?docid=dg424hdn_4hdnh7z
Geomol
28-Dec-2006
[379]
NicomDoc 2.1.0: http://home.tiscali.dk/john.niclasen/nicomdoc/

Added an alternate way to construct tables. Instead of the need for 
=row and =cell commands, a table can just be lines (each line is 
a row) and on each line, cells are separated by one or more tabs. 
Docs with lots of tables will shrink considerable in number of lines 
needed. The Math specification (http://www.fys.ku.dk/~niclasen/nicomdoc/math.txt) 
went from 3000 to just below 700 lines this way.
Maxim
2-Jan-2007
[380x2]
reGraph 0.1.4 : 

I just released a new application called reGraph. its still a prototype, 
but its also a first view of an applied use of liquid.  the whole 
canvas object is generated through a network of liquid nodes which 
process the canvas in real time, as you drag the mouse.
http://www.pointillistic.com/open-REBOL/moa/steel/retools/regraph/index.html