AltME: RebolBot

Messages

GrahamC
No .. that too.  define a function and do nothing with it .. gives an error
AdrianS
Kaj, can the Rebol you've got running behind TryRebol generate images programatically? i.e. are the appropriate graphics libs available to it? If not, would it be a problem to run one that is set up for this?
Kaj
Graham, there seems to be an evaluation problem. I'll look into it
Adrian, in principle, Syllable Server is running Core. It is actually a Syllable Workstation installation, so it could run View. I don't remember if that could do images without X running
However, why would you need to generate images on Try REBOL? That sounds like something that is too heavy for what it's meant for
DocKimbel
Kaj: IIRC, it is possible with /Pro of /Command with just X libs installed (no running X server).
Kaj
OK, I would have guessed that, too
It would have to work with View, though
AdrianS
Kaj, it is just about showing people how easy it is to work with images. What I had in mind was to generate a small image (say a 'custom' avatar) with a few lines of Rebol, upload to imgur.com or imm.io, and return the URL to the image to RebolBot. It seems possible from the brief experiment I did.
If you think this is heavy use, still, I understand.
Kaj
Try REBOL will tell you: if it takes too much time or memory, you'll be interrupted
If the upload API to those services is doable in small examples, I guess it could be useful
However, in general when you do such things, you have to supply credentials to a service, and that's not something you should do in a chat
Also, the bot currently doesn't seem to deal well with the Try REBOL service not responding, so you may want to avoid those situations
GrahamC
Why is this happening?
I'd like to know how a http error escapes the attempt block
or maybe it's my error ... somewhere
Kaj
It sounds odd. The Try REBOL process is simply killed by Linux, so you're probably dealing with an incomplete HTTP request/response cycle
GrahamC
I've had http errors too when I've used the web interface
not offten ... and just print system/version

Last message posted 360 weeks ago.