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

World: r3wp

[Core] Discuss core issues

Graham
7-Dec-2009
[15123x3]
Anyone run the Arm version of core on one of these plug computers 
?  http://www.globalscaletechnologies.com/p-22-sheevaplug-dev-kit-us.aspx
I can think of lots of uses for them if they ran core ...
Some guy got Arc to run on one of these and setup a web server
Maxim
7-Dec-2009
[15126]
that is a cool server form factor  :-)
Claude
8-Dec-2009
[15127x2]
hi, i would like to know if R2 and R3 have a scheme for LDAP ?
i would like to do Authentication with R2 !!!!  is it possible ?
sqlab
8-Dec-2009
[15129]
maybe you should ask there
http://softinnov.org/rebol/ldap.shtml
Dockimbel
8-Dec-2009
[15130]
I've stopped working on it at alpha stage, I've lost the need for 
it in my projects. It would require some significant amount of my 
time to finish it, probably a week of work. I could spend so much 
time on a tool that I don't need only under contracted work.
MikeL
8-Dec-2009
[15131]
Re: Claude's question, I am interested in knowing what R3 users plan 
to  use for Integrated Windows Authentication support http://en.wikipedia.org/wiki/Integrated_Windows_Authentication
.  It is a show stopper for me for most uses in any corporate environment.
Pekr
8-Dec-2009
[15132x2]
MikeL: I think that we are at the very beginning of such topics. 
You can read my marketing/strategy related material in Article REBOL 
adoption, and I reduced it to two words - EASY DEPLOYMENT:

http://www.rebol.net/wiki/Marketing_Strategy_Websites
To answer your question in more concrete manner - I think that we 
have to stop and prevent our past ttitude of "you can code it yourself". 
Many ppl who come or will come to REBOL, are seeking a solution, 
they are not interested to do the work themselves. I think that R3/Extensions 
open some door to link to many outer system. But the hard work still 
needs to be done. As we are a small community, I once again propose 
some kind of Bounty system, so that we can sponsor most popular requests. 
This should address one aspect of the problem - REBOL devs not necessarily 
working only for free ...
eFishAnt
9-Dec-2009
[15134x3]
In R2 core latest, I want to launch a script with args...
launch %myscript.r argument1 argument2  ;so is this possible? (this 
line would be in another script
launch/as-is   %myscript.r arg1  ;is not active in this version REBOL/Core 
2.7.6.3.1 14-Mar-2008...but not sure it would do what I want.
amacleod
9-Dec-2009
[15137]
Anyone know if there is  way to send faxes from comand line on windows...perhaps 
a dll (I've seen mention of faxcom.dll)
Gregg
9-Dec-2009
[15138x2]
Steve, I always use CALL these days. Or Gabriele and Doc's async-call. 
By using system/options/boot, you can launch the interpreter you're 
running under.
Alan, I haven't done it from the command line, but a quick search 
makes me think it might be possible using Windows Fax and Scan, if 
your on the right OS. I did a fax interface for Bo a few years back, 
but it used APIs. Graham may have thoughts here as well. He's done 
a lot with Hylafax I believe.
Graham
9-Dec-2009
[15140x2]
Yes, I use hylafax which runs on linux .. but a windows client just 
has to do a http post of the file to the hylafax server
and in so much as rebol runs as a command line client, then it can 
be readily done.
Gabriele
10-Dec-2009
[15142x2]
Steve: call reduce [system/options/boot %myscript.r "argument1" "argument2"]
when you use file! call does a to-local-file automatically, and wraps 
it in quotes.
sqlab
10-Dec-2009
[15144]
with launch you can probably come next to what you want with
launch {-s --do " script.r arg1 arg2"}
Graham
10-Dec-2009
[15145]
Launch is broken that's why Gabriele is suggesting using call instead
sqlab
10-Dec-2009
[15146x2]
I use call too in my scripts, but the question was for launch.)
Ok, this way launch works as I would expect
launch {-sq" test.r arg1 arg2  }
eFishAnt
10-Dec-2009
[15148]
wow, thanks guys, for the "launch buffet"  I was hungry, and you 
gave me to eat.
Graham
11-Dec-2009
[15149x8]
Looks like Sterling's detach.r script in the library to detach attachments 
from emails has a bug.
See http://www.mail-archive.com/[list-:-rebol-:-com]/msg07169.html
Looks like Sterling's fix in that thread is also incorrect.  The 
problem is here

 boundary: headers/content-type
   if boundary: find/tail boundary {boundary="} [
        remove back tail boundary
        print ["Boundary string:" boundary]
   ]


where it looks for boundary="  but fails to take into account where 
there is not "
the first line is redundant, and the second line can be changed to 
a parse ...


   if parse headers/content-type  [ thru "boundary=" opt {"} [ copy 
   boundary to {"} to end | copy boundary to end ]][
        ;remove back tail boundary
        print ["Boundary string:" boundary]
   ]

which I think fixes it.
I discovered this when trying to detach files from gmail where there 
is not quote used, whereas hotmail uses the quote in the boundary 
string.
Hmm. Boundary won't have a value if the parse fails ... so

either parse ...  [

][
	 boundary: none
]
headers: import-email email

   either parse headers/content-type  [ thru "boundary=" opt {"} [ copy 
   boundary to {"} to end | copy boundary to end ]][
        print ["Boundary string:" boundary]
   ][ boundary: none ]
Just testing my script that logs into hotmail with gmail instead 
.. to download new email, and detach any attachments.  Seems to be 
working now.
Henrik
11-Dec-2009
[15157]
I'm debugging some code here and found that the ARRAY mezzanine has 
at some point been rewritten during R2 versions. Does anyone know 
when this happened?
Henrik
12-Dec-2009
[15158]
looks like the change was made between 2.7.5 and 2.7.6.
Von
12-Dec-2009
[15159x4]
Hello! I'm receiving the following error when processing a cgi form 
to send an e-mail of the response.  I correctly can send from my 
laptop, Rebol/Core -- command line, with my set-net settings in user.r 
but when I do the same thing on my hosting account I get the following 
error:
** User Error: Server error: tcp connection failed
** Near: smtp-port: open [scheme: 'esmtp] 
either only
Hello!  I'm having trouble with my hosting account to send via e-mail 
a cgi form response.  I can get rebol to post the data to the page, 
I just can't get it to send the data to me via e-mail.   I'm able 
to send e-mails from my laptop but when I use the same set-net settings 
on my host account I get the following error: ** User Error: Server 
error: tcp connection failed
** Near: smtp-port: open [scheme: 'esmtp] 
either only
Hello!  I'm having trouble with my hosting account to send via e-mail 
a cgi form response.  I can get rebol to post the data to the page, 
I just can't get it to send the data to me via e-mail.   I'm able 
to send e-mails from my laptop but when I use the same set-net settings 
on my host account I get the following error: ** User Error: Server 
error: tcp connection failed
** Near: smtp-port: open [scheme: 'esmtp] 
either only
Maxim
12-Dec-2009
[15163]
most smtp servers do ip filtering on the input.  this allows them 
to know who is sending the email to them and will only allow ips 
they serve to connect.


since your hosting account is probably on a remote server, it won't 
be allowed to send data via your home smtp server account.
Von
12-Dec-2009
[15164]
Sorry for the redundant posts.  Altme was updating and msg board 
wasn't being updated at the time. I thought I was losing the info.
Maxim
12-Dec-2009
[15165x2]
you'd have to setup an smtp server on the hosting account.
that is ... if I understand your setup correctly.
Von
12-Dec-2009
[15167]
Even though I'm able to send e-mails from my home computer via rebol 
console using my host's SMTP Relay?
Maxim
12-Dec-2009
[15168]
when you say hosting account, you mean a server on the net with its 
own dns/ip which is different than the ip being served to you by 
your access provider... yes?
Von
12-Dec-2009
[15169]
Yes, it's a shared hosting account; my provider is GoDaddy.
Maxim
12-Dec-2009
[15170]
its possible GoDaddy has an smtp relay you can connect to, which 
will accept connections from the hosted machine.

your internet provider will not allow anyone else than its own allocated 
ips to make an smtp connect... for sure.
Von
12-Dec-2009
[15171x2]
SMTP Relay lets you send email messages through your email account 
using your existing email service. For example, you can continue 
to use Microsoft Outlook to compose, receive, and send email messages, 
but the actual email messages are processed through our SMTP relaying 
services. This lets you bypass ISP restrictions on your outbound 
email messages and allows you to use your professional looking "[sales-:-coolexample-:-com]" 
email address rather than a general “[sales-:-ispname]” address.
Does this mean, I'll need to use perl: sendmail?