• Home
  • Script library
  • AltME Archive
  • Mailing list
  • Articles Index
  • Site search
 

AltME groups: search

Help · search scripts · search articles · search mailing list

results summary

worldhits
r4wp5907
r3wp58701
total:64608

results window for this page: [start: 34301 end: 34400]

world-name: r3wp

Group: View ... discuss view related issues [web-public]
Anton:
22-Apr-2006
Ah.. of course you don't mean you're going to make a post to slashdot. 
Mirror as you wish.
Maarten:
22-Apr-2006
If you can hook up the events to a tcp port we can give X a run for 
its money
Anton:
22-Apr-2006
My ISP will let me know if they are too flooded. :-) But I don't 
think it will be a problem.
Anton:
22-Apr-2006
I think there must be a simple dialect to help updates. When a window 
is moved, the remote desktop probably sends "move 40x100 300x320 
to 50x110" to the local machine, and also small background chunks 
to clean up the window drag trash left behind.
Anton:
22-Apr-2006
So you could have a number of remote desktops on a rotating 3D cube 
:-)
Volker:
22-Apr-2006
You would not need to send images. send the samee events to two apps 
and both behave the same. At least as long as no timers are involved, 
else you need a mimic-time too :)
Henrik:
22-Apr-2006
I'd wish they'd use this perspective twisted GUI stuff more in first 
person shooter games, instead of simple panels you poke with your 
gun or just press a key to activate.
Maarten:
22-Apr-2006
I once (in 1999) create a RemoteCanvas class in Java (sorry for that), 
it used the encoding that VNC has invented. I forgot the name, but 
it is fairly easy to implement (especially with rebcode ;-)
Volker:
22-Apr-2006
Croquet uses vnc too, to run apps in a 3d-world.
Anton:
22-Apr-2006
Here's an idea coming out of discussion of Maxim's Glass - combining 
facets of different styles together, eg, setting up a button, but 
then dressing it with text styles of the H1 style:
Graham:
22-Apr-2006
I just tried out the source code version .. if I type into the bottom 
one, nothing appears there until a click, but it appears immediately 
in the top layout.
Graham:
22-Apr-2006
Application sharing sounds like a good use.
Graham:
23-Apr-2006
Is there a function that returns the curret position in draw after 
an operation?
DideC:
24-Apr-2006
I have done some text placement calculation for my RT-style (rich 
text). Result is 99% Draw code.

Graham, you should have a copy of in on your HD as lecture-forum 
use it to show the posts (search "rtd-styles.r" or maybe "rtf-styles.r" 
if it's too old).
Graham:
24-Apr-2006
I really need a better way of indexing the rebol scripts on my drive. 
 Using the windows search tool finds far too many viruses :(
Anton:
24-Apr-2006
Do you have a recursive directory walker, ie. tree ?
Anton:
24-Apr-2006
I finally got around to making a nice little "command line" function 
FIND-FILE.
You can use it with optional arguments like this:
	find-file *.r    ; just lists all files with ".r" suffix.

 find-file *.r "rebol"   ; lists all files with ".r" suffix and containing 
 "rebol" 
	find-file * "rebol"  ; all files containing "rebol"
etc...
Anton:
25-Apr-2006
push, pop and tree are pretty stable. Find-file is pretty new, but 
so far no problems. Find-file is short, so it's a good example of 
how to use tree.
Anton:
25-Apr-2006
I would expect you would just modify find-file a little bit to suit 
your purposes.
BrianH:
25-Apr-2006
If there was a console-mode REBOL perhaps we could use it as a command 
shell replacement.
Henrik:
25-Apr-2006
having a separate console seems to me causes a problem with rebol 
processes that do not initially print anything on a console. the 
problem arises when needing to print to a console. where to go? If 
another rebol process is already running, the new process starts 
printing there, "merging" the two consoles and rendering the console 
useless.
BrianH:
25-Apr-2006
I'd like the option to use a native console. I'm frequently using 
Windows remotely and that can be a little awkward to do cross-platform, 
and can be high bandwidth as well. The NT console is powerful enough.
Henrik:
25-Apr-2006
pekr, yes it would be interesting to see a console written in View
Pekr:
25-Apr-2006
arrow-down does nothing too - it should discard the input .... it 
is a bad joke, not a console ...
Henrik:
25-Apr-2006
the windows rebol console has one thing I hate.... when you type 
in a long sentence and accidentally press arrow-up, the sentence 
is lost
BrianH:
25-Apr-2006
Hey, I just want as an option, like a seperate build or something. 
What Windows are you using? Sounds like you need doskey.
BrianH:
25-Apr-2006
Well, I want native console mode REBOL to integrate with other console 
mode apps and scripts, and for when I am already in console mode 
and need to do something without switching to a GUI. When I am in 
GUI mode already, the existing console is fine. I need both.
Henrik:
25-Apr-2006
the problem with TweakUI is that it's a tool that makes windows usable 
:-) one has to wonder why MS engineers would write a tool to remove 
a lot of the nuisances in Windows, if Windows is already so great 
:-)
BrianH:
25-Apr-2006
TweakUI for Win9x through 2k:

    http://download.microsoft.com/download/winme/Install/1.0/WinMe/EN-US/Tweakui.exe
And for WinXP/2003:

    http://download.microsoft.com/download/f/c/a/fca6767b-9ed9-45a6-b352-839afb2a2679/TweakUiPowertoySetup.exe
Ingo:
28-Apr-2006
Did anyone try to patch the behaviour of area? Especially I'd like 
to have:
- autoindent

- doubleclick on words in the area to do something interesting - 
e.g. look up in dictionary, use like a wiki word, ...
- maybe add additional shortcut keys.


I've tried to patch ctx-text/edit-text, but only was able to get 
no change at all, or crashes. Seems to be a bind problem:
ctx-text/edit-text: func[][] ;no change

ctx-text/edit-text: func[] bind [] in ctx-text 'edit-text ; unknown 
word ...
Graham:
1-May-2006
One of the challenges I am facing in expanding my EMR is how to capture 
the consultation.  At the moment I am using free text.  But some 
products use lots of check boxes and based upon those ... more check 
boxes appear.  And then a natural language sentence is constructed.
Graham:
1-May-2006
In some ways I guess it is like trying to build a rich text display 
where the words are active.
Allen:
1-May-2006
Graham, you could use the link style to popup an option list when 
clicked. Though that will be tedious for data entry. alternately 
use the autofill style for text boxes when you want both free text 
and or a standard list.
Gabriele:
2-May-2006
hmm, i guess you don't. you'll need a temp var.
Anton:
2-May-2006
I don't think it's that important. It's a small inconvenience isn't 
it ?
Henrik:
2-May-2006
well, sure. I just thought that there would be a way, like using 
first, second and third on objects
Gabriele:
2-May-2006
yes, but first etc have a different meaning already
Gabriele:
2-May-2006
what i really want, is the abilty to list the available refinements 
of a datatype.
Anton:
2-May-2006
I think a separate function such as ACCESS should do that. SELECT 
should be left alone to do its series operations as usual.
Gabriele:
2-May-2006
in: you can't have a word bound to an image :)
Gabriele:
2-May-2006
select is an action, so a method to the datatype. in is a native.
Gabriele:
2-May-2006
yes, and it would behave like a completely different function in 
that case, which is bad imho
Gabriele:
2-May-2006
select instead is already dispatched because it's an action, and 
it would not change its behaviour (returns a value)
Chris:
2-May-2006
A: From a tech pov, yes.
Gabriele:
2-May-2006
i'd guess path is going to stay this way for speed (internal only), 
but select could be a good interface to it.
Geomol:
2-May-2006
>> copy/part skip mold get first [help.gif] 13 5
== "48x48"
(Only works for sizes taking up 5 chars, but it's a start.)
Geomol:
2-May-2006
SIZE? is a function using INFO?

INFO? is a funciton working on ports. It's easy to do the same for 
images.
image-size?: func [img] [img/size]
Henrik:
2-May-2006
I'm not sure this is ready for announcement as it's still a prototype, 
so I'll put it here: http://www.hmkdesign.dk/rebol/toolbar/toolbar-demo.r
Henrik:
2-May-2006
it's a toolbar with a simple dialect to alter the sequence of the 
buttons. the space between the buttons is flexible.
ChristianE:
3-May-2006
It even resizes correctly! This will give apps a decent professional 
look.
BrianW:
12-May-2006
hypnotically slow, but not a slideshow
PhilB:
12-May-2006
Looks like a jet engine fan ...... on a P3 733 I get about 3 frames/sec
[unknown: 9]:
12-May-2006
How do you know the frame rate on a moving pattern?  It could be 
187 frames per second, and moving so fast that it appears to be moving 
slow, or even backwards : )
[unknown: 9]:
12-May-2006
That aside, I get about 3 frames/sec on a 2Ghz system.
Henrik:
12-May-2006
it's a haphazard set of tuples, blocks and "oh hey that looks funny, 
I'll put that in" moments. presto, jet engine purely with gradients.
Henrik:
12-May-2006
I think it's pretty good as a composite engine, although a bit slow 
way to draw things.
Anton:
12-May-2006
You can speed it up a little bit by doing this:
view/new/title center-face main: make-face/spec 'box [
  size: 400x400 
  rate: 50 feel: make feel [
Anton:
12-May-2006
ie. instead of using LAYOUT which makes a face with a box in it, 
just make the box.
Anton:
12-May-2006
Mmm... maybe I imagined it.... You have to admit it's a simpler face 
hierarchy though.
Volker:
13-May-2006
With enough memory you can prerender the images and simply play them. 
And after a few degrees it looks the same as before, so you can save 
a lot memory.
Henrik:
13-May-2006
well there is a way to detect a doubleclick
Graham:
13-May-2006
engage: func [f a e] [
					; A click event has happened.
					if a = 'down [
						; Is it on a valid element?
						if cnt > length? slf/data [exit]
						; If not extended selection, clear other selections:
						if not e/control [f/state: cnt clear picked]
						; Set selection and call the action function:
						alter picked f/text
						do :act slf f/text
					]
					if a = 'up [f/state: none]
					show pane
				]
Henrik:
17-May-2006
having SET-FACE being implemented consistently across all faces would 
be a big step forward.
Pekr:
22-May-2006
one question - is there already a group formed for new View? I would 
like to know, where should (could) we post our requirements. I would 
not like to see some fundamental UI design mistakes repeated, so 
I want to be sure, I voiced my ideas ....
Henrik:
22-May-2006
at least from what I can see here, it addresses almost all aspects 
of what is currently missing from VID. whether all this will be implemented 
immediately or over a longer period I don't know.
Anton:
22-May-2006
For all you guys maintaining tutorials etc. Here is a couple of polished 
demos, a simpler one and a more advanced one, a couple of snapshots 
on the way to implementing your own list with drag-n-drop:
Anton:
23-May-2006
Ah gosh! I just noticed that the official Rebsite index has changed 
from 
http://www.reboltech.com/index.r
to
http://www.rebol.net/reb/index.r


Anyone know when this happened or why it was changed ? (I seem to 
remember a server change a while back)
[unknown: 10]:
27-May-2006
Is it actualy possible in view/pro to create a thread or a process 
when using the 'call command? Somehow its fully blocking under rebol 
using this... If anyone has a hint on how to detach a 'call process 
from rebol ;-) let me know...  Im seeking interaction from the an 
/output which should be put in an GUI window of /View...
Anton:
28-May-2006
Hmm... nice one. The alpha channel is permanently modified. I think 
that's a bug for RAMBO.
Anton:
1-Jun-2006
(Actually first line only needs to be done if ctx-viewtop is still 
a block.)
Volker:
2-Jun-2006
I have a bunch of *.bmp with a transparent color (effect[key]) and 
want to make animated gifs from them. how can i do that? Cn rebol 
help, or which tools?
Anton:
2-Jun-2006
For a website ?
DideC:
2-Jun-2006
Henrik: yes, you can specify the content in a mailto URL.
DideC:
2-Jun-2006
http://email.about.com/od/mailtoemaillinks/a/mailto_elements.htm
Volker:
6-Jun-2006
from plugin-2, launching *.r with doubleclick, locally: i usually 
right-click, choose "open with/others" and get a checkbox to make 
rebol default. Although when installing fresh, rebol is already there.
Robert:
18-Jun-2006
Ok, from RebGUI group, as it's not just related to RebGUI:


I have the following problem from time to time on my system and always 
on the system of one of my testers.


On my system: I start my app, the gui comes up and I click the first 
widget and the app falls back to the console. Without an error. This 
happens as do-events returns.


The same problem is on the other system, but here I only can do one 
click on a widget.
Volker:
18-Jun-2006
so i guess it returns false on some occasions. maybe something triggers 
a none-event, that would trigger it.
Volker:
18-Jun-2006
then we patch it to check for a face in system/view/screen-face/pane
Volker:
18-Jun-2006
Hmm. i made a bug, the 
  print remold [event/type event/offset event/key]
only works if 'event is not none ..
But you get no error, do-events simply returns?
Volker:
18-Jun-2006
can you probe do-events? as it is a 'wait, maybe it returns someweird 
port.
Robert:
19-Jun-2006
Looks like we (Cyphre and I) found it. Seems to be a problem in combination 
with RebGUI and Anamonitor in that the event system is somehow patched. 
I will test it further and let you know.
Henrik:
22-Jun-2006
There are problems with TOG: When pressing a TOG, sometimes the outline 
doesn't disappear like it should, making the TOG appear to only darken 
and not be pressed. This has confused some of my users a lot. I haven't 
been able to find it in RAMBO. Should I create a ticket?
Henrik:
22-Jun-2006
well, I kind of use it everywhere and since it's a standard VID it 
should behave somewhat correctly. :-)
Anton:
22-Jun-2006
I should probably chill out a bit. Been working too hard lately.
Henrik:
26-Jun-2006
hmm... are there circumstances where function! will become undefined 
when using stylize/master? I'm doing a bit of optimization by replacing 
DOES, HAS and FUNC with MAKE FUNCTION!
DideC:
26-Jun-2006
This works nice in a fresh console :
DideC:
26-Jun-2006
I guess a typo somewhere in your code, search for "function" in all.
BrianH:
26-Jun-2006
make function! is an optimization compared to has, does and function, 
but not so much so compared to func. For now (REBOL 2) func is a 
simple wrapper around make function! that does nothing to its arguments 
- the only overhead added is that of a single function call.


You should also keep in mind that the syntax of make function! will 
be changing in REBOL 3, so all code that uses it will require some 
changes. The syntax of func, has, does and function will remain the 
same.
Cyphre:
26-Jun-2006
Yes, I think it is not worth to use make function! as the 'speedup' 
could be noticable only if you are creating many functions in a loop 
at runtime. The functions are usu created only during loading of 
your script  so I don't see any optimization gain here.
BrianH:
26-Jun-2006
Not much of a change, really, but code using func will still work.
Ashley:
26-Jun-2006
I think it is not worth to use make function! ...

 For anything less than a large app/framework I tend to agree. However, 
 in the later case the sum of many minor improvements can make a noticeable/measurable 
 improvement; but it all depends on what we are optimizing for (code, 
 load time, run time, memory, etc).
Cyphre:
27-Jun-2006
that was my point ;) Well if you create about 1milion functions then 
you can gain for about 50% of time on my CPU during code loading(4seconds 
instead of 8). But I haven't seen a Rebol project with so many functions.(but 
I'm not saying it cannot be developed ;))
Volker:
29-Jun-2006
a simple "aktiv: wait[port1 port2]" would be enough, with open/diirect 
or open/no-wait. or such. Never remember what these all do ;)
Anton:
29-Jun-2006
That's right, READ and WRITE are like a wrappers for OPEN and CLOSE. 
 eg. 
	READ url 
is equivalent to:
	OPEN port
	.... copy data here ....
	CLOSE port
Volker:
29-Jun-2006
there are also some automatics which accosiate a function with a 
port, but i find this way easier to trace to get started.
Volker:
29-Jun-2006
and then here is async, which is a bit faster. Because /no-wait still 
does some waiting for error-checks. for async you need a library, 
by gabriele, romano or DocKimbel. Or deep knowledge.
[unknown: 10]:
30-Jun-2006
perhpas a silly question, but how do I determine the name of a function 
mi currently in ?

As in, Im creating functions with a random-name and I would like 
to know in what function-name
im currently in... Is this possible ??? Like a 'SELF or 'ME ?
Josh:
18-Jul-2006
Iterated faces.  A good reference to look at?  The Wiki seems to 
be missing some helpful info
Janeks:
20-Jul-2006
How to change part o f a color in gradient?
F.ex.

	at 535x100 box teal 30x315 effect [
		draw [
			fill-pen linear 0x0 0 315 90 1 1 red yellow green
			box 0x0 30x315
		]
	]


Now I have each color equal, but how to make so that f.ex. green 
is ~50%, Yellow ~30% and red ~20% of box?
Anton:
21-Jul-2006
These are all ways of specifying the same thing:
view layout [area wrap]
view layout [area para [wrap?: yes]]
view layout [area with [para: make para [wrap?: yes]]]

view layout [area with [append init [para: make para [wrap?: yes]]]]

and you can test a little bit faster by making the area nice and 
thin:
view layout [area 40 wrap]
34301 / 6460812345...342343[344] 345346...643644645646647