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

World: r3wp

[View] discuss view related issues

Gregg
10-Feb-2006
[4233]
There's actually an old patch in there already, it just hasn't made 
it into a release yet. Thanks.
Henrik
10-Feb-2006
[4234]
would reports on these tools fit in RAMBO?
Gregg
10-Feb-2006
[4235]
Could go either way. RAMBO is the place for bugs. Carl says things 
have the best chance of being seen there. Could get more polluted 
if we report everything for all apps there though.
Graham
10-Feb-2006
[4236]
there's a filter isn't there for sorting out code from application 
problems?
Gregg
11-Feb-2006
[4237]
I don't understand "code from application problems".
Henrik
11-Feb-2006
[4238]
maybe it's rebol vs. application problems
Graham
11-Feb-2006
[4239]
Yes, that's it.
Gregg
13-Feb-2006
[4240]
I don't know of a filter just for that. You could probably use the 
"Other" category for those kinds of entries, to break them out a 
bit.
Maxim
15-Feb-2006
[4241]
in windows...  just cause its making me mad... how does REBOL/view 
1.3.2 go about sourcing the damned user.r and rebol.r files... cause 
right now, I once again have some icons which source them and some 
which don't.    :-(


basically if you double click an *.r file it does not work, but if 
you launch rebol.exe or a shortcut to it... it works.

ARRGH ! and I though  v1.3 was about keeping install simple   :-(


I have set both HKEY registry entries to the same dir... but why 
are there different reactions depending on the way you launch rebol?
Anton
15-Feb-2006
[4242]
Have you edited the filetype association ?
Gabriele
15-Feb-2006
[4243]
try doing a clean install. note that uninstalling may leave some 
registry keys (in particular, it will leave them if they have been 
customized).
Maxim
15-Feb-2006
[4244x4]
after about an hour of fidling around...  I realised that the user.r 
is now ALWAYS sourced from the actual windows's user dir.  This is 
a good step forwards.
the issue is that the window's user "home" path is just freakish 
and very innaccessible from a dumb user's point ot vue...
can we CHANGE this path?  even if this means setting an environment 
variable...
heck even I hate looking for this :  

C:\Documents and Settings\user.machine\Application Data\rebol

its got spaces and all...   :-(
[unknown: 9]
15-Feb-2006
[4248]
But it is the right place to put it.
Maxim
15-Feb-2006
[4249x2]
not for me... my prefered home directory for tools is much simpler 
and works across linux much nicer...
at least the user.r does work consistently across different launch 
patterns now...
Volker
15-Feb-2006
[4251]
run desktop, open local/info.txt, open ../user.r :)
[unknown: 9]
15-Feb-2006
[4252]
I'm not addressing "you" and M$ does not care about Linux.  But what 
they did do was make a system that allows multiple people to use 
the same computer and keep their date apart.  It is wrong, and badly 
done, but the "correct" way to do it for thier system.



As to Carl allowing other ways to do it, that is the real question 
I assume you are asking.
Maxim
15-Feb-2006
[4253x8]
yep.
as I said, at least it works now, when it used to be pretty random...
but I still have strange reactions for the rebol.r file.
although I run this

>> what-dir
== %/Path/to/REBOL/
even if I include a rebol.r file at that path... it is ignored...
is this still supported?
(the rebol.r file)
VOLKER: good idea..
Robert
17-Feb-2006
[4261]
Has anyone written a script/function to display pie-charts?
Pekr
17-Feb-2006
[4262x3]
was anyone noticing, using Cyphre's grid, or even IIRC Henrik's grid, 
that once you have some empty fields in the column, and you sort 
it, you get strange text artefacts inthere?
the cause is imo unbound "", 'copy "" solves it so that it only blinks 
and then is correctly replaced by clear field = no artifacts .... 
those unbound "" shared values are imo a REAL EVIL in rebol, as well 
as shared subobjects etc. I can't seen ANYONE, who would not come 
to problems ....
I now understand why some languages copy values by default, and why 
e.g. Erlang claims that it really reduces untrappable programmers 
errors ...
Volker
17-Feb-2006
[4265x2]
Its true. i copy by default myself and if i forget it, its usually 
an error.
IIRC there was some cool charting in the library, something with 
"plot"? but not sure about pie
Pekr
17-Feb-2006
[4267x2]
ez-plot? not sure pie-charts were there ...
with AGG, we are able to create really nice qraphs ... but dunno 
if worth-it when looking at packages as RRDTool :-)
Volker
17-Feb-2006
[4269]
That was the name.
Robert
17-Feb-2006
[4270x2]
What's RRDTool?
ez-plot doesn't have pie charts
Henrik
17-Feb-2006
[4272]
RRDTool is a pretty cool logging and graphing tool. Very flexible, 
but I think it's a bit difficult to use. a REBOL equivalent that 
would be easier would be cool.
Robert
17-Feb-2006
[4273]
ah, it's not a Rebol tool.
DideC
18-Feb-2006
[4274]
Cyphre is working on a pie chart library for Qtask. Ask him.
Allen
20-Feb-2006
[4275x2]
;Robert, should be easy enough to do a script based around these 
examples from the draw docs
view layout [
	box 400x400 black effect [
		draw [
			fill-pen red    arc 200x200 90x90 0   90 closed
			fill-pen green  arc 200x200 90x90 90  90 closed
			fill-pen blue   arc 200x200 90x90 180 90 closed
			fill-pen yellow arc 200x200 90x90 270 90 closed
		]
	]
]

view layout [
	box 400x400 black effect [
		draw [
			pen white line-width 2
			fill-pen red    arc 204x204 150x150   0  90 closed
			fill-pen green  arc 196x204 150x150  90  30 closed
			fill-pen blue   arc 180x190 150x150 120 150 closed
			fill-pen yellow arc 204x196 150x150 270  90 closed
		]
	]
]
Robert
21-Feb-2006
[4277x2]
Allen, yes I got it working already. Thanks. I even mastered the 
label positioning.
Be aware of linebreaks:

data: [
    18 cyan
    22 blue
    15 green
    20 yellow
    10 purple
    54 magenta
]

sum: 0
foreach [val color] data [sum: sum + val]

plot: copy [
    pen black
]

total: 0 ; we start at 0 degree
foreach [val color] data [
    angle: 360 * val / sum
    repend plot [
    	'fill-pen color
    	'arc 125x125 90x90 total angle 'closed

   'text 'anti-aliased to-string val 125x125 + to-pair reduce [110 * 
   (cosine (total + (angle / 2))) - 5 	110 * (sine (total + (angle / 
   2))) - 5]
    ]
    total: total + angle
]

view layout [
    box snow 250x250 effect reduce ['draw plot]
]
Allen
21-Feb-2006
[4279]
Nice Robert. maybe Gregg can update this into the docs?
[unknown: 10]
22-Feb-2006
[4280]
Does anyone have a clue when rebol 'draw will support fonts in Linux?
james_nak
22-Feb-2006
[4281]
I recall there was a script to upload pics to website. I think it 
was used for the Devcon images. Anyone know if that is available?
[unknown: 10]
25-Feb-2006
[4282]
I lost a little the track regarding 'ASYNC.. I understand that 1.3.x 
will not have kernel 'async support in /view but Carl is talking 
in his Blog about /async handler..Is that a special /core beta? or 
is it from Gabriele's async handler? who can help me out here..