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

World: r3wp

[View] discuss view related issues

amacleod
16-Oct-2011
[10616x2]
Is there a way to scale an image using effect [draw [image pic]] 
without giving coordinates as in effect [ draw [image pic 0x0 200x200]]


I believe the coordinates are for location on in the frame and I 
just want it rendered inline with the rest of the vid objects
Got it...I had to set the vid image face to teh size I wanted first 
and then match it in the draw coordinates
Geomol
16-Oct-2011
[10618]
You can also use scale:

view layout [box effect [draw [scale 2.0 2.0 image logo.gif]]]
amacleod
16-Oct-2011
[10619]
Thats what I was looking for! I tried scale but must have used it 
wrong. Thanks
Duke
18-Oct-2011
[10620]
I need some help getting View to work properly!! Anybody listening 
on this Group??
GrahamC
18-Oct-2011
[10621]
What OS and version of view ?
Duke
18-Oct-2011
[10622]
I'm running the latest Rebcore and Rebview on an Xubuntu box. My 
issue is that when I click on the REBOL folder icon at the top left 
of the "sidebar", I get a message saying something like: "Cannot 
open location http://www.rebol.com/index.r.Any ideas??
GrahamC
18-Oct-2011
[10623x2]
Yes, that file no longer exists
It's a maintenance issue that Rebol Tech needs to solve
Endo
18-Oct-2011
[10625]
You can ignore that message and use View, at least you can use the 
console.
Pekr
18-Oct-2011
[10626x2]
Start desktop by typing "desktop" and hitting enter in the console. 
Go to the user section, and check-off the chekc-box "Auto connect 
on startup" and "Open desktop on startup". That way, your REBOL/View 
will always launch in console mode, which is what you want imo anyway 
:-)
It is really a not a good situation, that Carl can't fix that. I 
wrote an email to him on 7.9., asking him to start R3 Chat server, 
with no reply on his side. This is really not funny anymore. How 
can he assume that anoyne will trust him with any future project? 
Everybody of us is overloaded with work, but just don't tell me you 
can't find 10 minutes to fix basic issues?
Duke
18-Oct-2011
[10628x3]
@GrahamC @Endo @ Pekr
Sorry!! hit the "Enter" key by mistake. Thanks all you guys for your 
input!  It is too bad that the a lot of the more publically visible 
aspects of REBOL are suffering from lack of maintenance. It does 
not make for a good "First impression" IMHO. Maybe Carl just doesn't 
give a shit anymore????
update on the REBOL folder icon issue -- All of a sudden it worked 
as expected!!  Just like that!! I'll try shutting down VIEW and see 
what happens.
Endo
18-Oct-2011
[10631]
Nope I just tried, and it doesn't work. Try http://www.rebol.com/index.r
on your browser you'll see a 404 page.
Duke
18-Oct-2011
[10632]
I agree! I just brought up the "desktop" from the console again, 
and at the bottom left I see "Local" - so I'm NOT connected to rebol.com. 
What do you think? Should I hang in there and try learning REBOL 
again, or move on?
Endo
18-Oct-2011
[10633x4]
Well, I'm using REBOL everyday, and I use it in my work, some of 
my customers are really big. R2 is stable enough.

It is definitely worth to learn REBOL. It just, its situation could 
be much more better than this.
I of course use other programming laguages for my work. REBOL is 
mostly useful as a helper for me.

I use it to generate data, parse big files to extract something, 
automated FTP/HTTP/EMAIL jobs, small GUI applications.
It is really boring to work with other languages after you learn 
REBOL, even if you are not as good as REBOL gurus. It is so useful 
for general use.
Cheyenne Web Server is also a very good product. Take a look at it.
Duke
18-Oct-2011
[10637]
I see. I'm NOT new to Forthish languages, although I'm not very fluent 
in any of them. So REBOL appeals that way. I'm currently learning 
newLISP and so far it seems pretty good to me. I heard about Cheyenne 
- need to have a look. I use Hiawatha right now.
Henrik
18-Oct-2011
[10638]
so I'm NOT connected to rebol.com. What do you think? Should I hang 
in there and try learning REBOL again, or move on?

 - if you are worried about a missing file on rebol.com affecting 
 your ability to learn REBOL, it's probably better to move on and 
 come back if/when there is more activity.
Duke
18-Oct-2011
[10639]
ha-ha-ha .... WTF!!  You mis-read my question completely!! I really 
don't give a shit about the missing file, bud. I'm concerned that 
maybe REBOL will be orphaned shortly, if it hasn't already.
Henrik
18-Oct-2011
[10640]
That concern is on many people's minds, but the question is whether 
you will let that stop you. It does for example not stop me, being 
in a full time job working with REBOL.
Duke
18-Oct-2011
[10641]
Well there you go!!! That's like comparing aplles and oranges, right! 
 You ARE fluent in REBOL. No worries for there you! I'm NEW to REBOL 
- so I have to make a decision .....
Henrik
18-Oct-2011
[10642]
True, but I'm not fluent in it, because Carl, the original creator 
of REBOL, was around. I'm fluent in it, because there are many extremely 
talented and helpful users in here, who know just about every single 
advantage and limitation in REBOL and know what type of programs 
can be developed in it.


Should Carl decide to abandon REBOL, there is a legacy in the shape 
of Orca, Red and Topaz and I'm sure there would be even more focus 
on these efforts by then. I stick around, not just because I have 
built my development infrastructure around it, but because I dearly 
love the language and I can be much more productive in it than anything 
else, I've tried, and that won't go away for a long time for me, 
because there is no indication to me that there will be anything 
around anytime soon, that will surpass it.
BrianH
18-Oct-2011
[10643]
Also, while Carl was the original creator or REBOL, he isn't the 
only creator. A lot of the work was delegated or done for hire by 
others, and (especially for recent releases) most of those others 
are still here to answer questions and help people.
Duke
18-Oct-2011
[10644]
@Henrik @BrianH -- all excellent points, guys!! Thanks!! I'm going 
to give it another shot.
Which group here is best suited for general noob questions?
Henrik
18-Oct-2011
[10645]
Check out the "I'm new" and "Rebol School" groups.
Duke
18-Oct-2011
[10646]
Thanks ...
Endo
18-Oct-2011
[10647]
Also check those web sites:
http://rebolforum.com/
http://synapse-ehr.com/forums/forumdisplay.php?3-Rebol
http://rebol.org
http://stackoverflow.com/questions/tagged/rebol
Duke
18-Oct-2011
[10648]
@Endo  -- Much obliged for the links!
amacleod
23-Oct-2011
[10649]
I'm trying to launch an "alert" window with an animated image while 
downloading a file. I've tried using "View/new" but the animation 
does not animate. What's a good way to get this effect?
GrahamC
23-Oct-2011
[10650]
You need to use async http
amacleod
23-Oct-2011
[10651]
I want to display it during an "insert"  using mysql-protocol....I 
guess its not happening
GrahamC
23-Oct-2011
[10652]
How long does a single insert take??
amacleod
23-Oct-2011
[10653]
There could be some number of image binaries so it takes as long 
as 10's of seconds to a minute....long enough to make user think 
program as frozen!
GrahamC
23-Oct-2011
[10654]
the mysql protocol is sync, and not async asfaik, so you can't out 
of the box.  if view could display animated gifs then you could but 
it can't
Kaj
23-Oct-2011
[10655]
You could do the animation in a separate process and kill it when 
the transfer is done
Endo
23-Oct-2011
[10656]
or do the insert in a separate process and check the result while 
showing the animation.
amacleod
23-Oct-2011
[10657]
I'm using Christopher Ross-Gill's animation style. I wrote a little 
function to convert an animated gif to an image file that the style 
can use....

Kaj, I thought about doing something like that but how do you kill 
the process from rebol?
Kaj
23-Oct-2011
[10658]
I guess that's system dependent. You could also keep a status info 
or transfer process running and communicate with it via 0MQ
james_nak
24-Oct-2011
[10659x2]
Re: animation, Nick wrote a cool example using "anim" in rebol.org
BTW, this function, anim, seems to be one of the least documented 
ones. Anton has done the best explanation I could find. http://www.mail-archive.com/[rebol-bounce-:-rebol-:-com]/msg00604.html
Duke
1-Nov-2011
[10661]
What "help" command to I need to issue in order to see what value 
are accepted by a refinement? e.g.
  view layout [
     button  ????
     size  ????

help layout/styles - didn't work
help layout styles - nope!
help layout styles button - nope!

So what is it?  :)
Sunanda
1-Nov-2011
[10662]
There is no built-in help to get the settings for the LAYOUT dialect 
(other than SOURCE LAYOUT....and a lot of code reading :).
Easiest starting point may be the user guide:
    http://www.rebol.com/docs/view-guide.html
Izkata
1-Nov-2011
[10663x3]
Just did a bit of poking:
>> layout [X: button]
>> ? X/doc
X/DOC is an object of value: 
   info            string!   "rectangular, rendered buttons" 
   string          block!    length: 2 
   image           block!    length: 2 
   logic           none!     none 
   integer         string!   "width of button" 
   pair            string!   "width and height of button" 
   tuple           block!    length: 2 
   file            none!     none 
   url             none!     none 
   decimal         none!     none 
   time            none!     none 
   block           block!    length: 2 
   keywords        none!     none 

>> ? X/doc/block

X/DOC/BLOCK is a block of value: ["execute when clicked" "execute 
when alt-clicked"]
>> view layout [button [print "clicked"][print "alt-clicked"]]
clicked
alt-clicked
Rebol 2.7.6, so hopefully it holds in newer versions  =)