AltME: RebolBot

Messages

Kaj
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
AdrianS
The attempt to create a small image on your server, good enough for an avatar image, for example, was OK. Also, it seems that for sites like imgur.com and imm.io you can upload without credentials.
Kaj
That would be OK then

GrahamC
rebolbot might have to use rebol2 to run as I'm getting too many odd behaviours with rebol3
Kaj
I have it performing quite well building websites, but not as a long-running process, nor doing network I/O

Last message posted 25 weeks ago.