Re: Re: ftp probs
> You could try the following setting:
>
> system/schemes/ftp/handler/cache-size: 0
>
> This instructs the protocol handler not to cache the connections and
> therefore to close everything - it should avoid your timeout problem.
>
Thanks.
> Romano was intending to create
You could try the following setting:
system/schemes/ftp/handler/cache-size: 0
This instructs the protocol handler not to cache the connections and
therefore to close everything - it should avoid your timeout problem.
Romano was intending to create a new ftp patch to solve many ftp problems
I've made a small change to the Rebol view editor to add an ftp option to the menu at
http://www.compkarori.com/vanilla/display/vt-editor
but the problem is that after 900 seconds, I can't open another ftp file.
I get a timeout error.
It looks like Rebol keeps the ftp connection open, and it ge
* Elan <[EMAIL PROTECTED]> [031128 13:42]:
> Hi Tim.
>
> 1. You can use unset? to check for words that do not return values .
> >> unset? print ""
Thanks for reminding me.
> == true
> >> if unset? print "" [result: "<>"]
>
> 2. If you need to assign the return value of the tested functio
Am Freitag, 28. November 2003 21:21 schrieb Maxim Olivier-Adlhoch:
> > Arguing over editors is *such* a waste of time. There's no
> >disputing taste.
>
> Not arguing... questioning, wondering why the 'powers that be' use it ;-)
>
I don't wonder why. If something can something vi can't,
Am Freitag, 28. November 2003 19:50 schrieb [EMAIL PROTECTED]:
> Thanks to everyone who contributed responses.
>
> I've now updated REBOL.org to use Romano's load-header script rather than a
> direct load/all/header in all the places (lots!) we load a header to get
> values about a script.
>
> Thi
Am Freitag, 28. November 2003 20:38 schrieb Tim Johnson:
> Hello Rebols:
> I've got a question:
> I've written a function called 'fetch, which has print
> stubs to help follow the flow control.
>
> If you evaluate 'print with 'fetch, no value is
> returned.
>
> Can someone tell me why this is so?
Hi Tim.
1. You can use unset? to check for words that do not return values .
>> unset? print ""
== true
>> if unset? print "" [result: "<>"]
2. If you need to assign the return value of the tested function to some
local word, you can use set/any to avoid an error.
3. Why doesn't print return
Hi Fançois,
VF> Just wanted to inform you that the first public release of log4reb
Thanks for posting that! Looks great. I'll have to find some time to
play with it. I've thought a few times about how to implement some
aspect-oriented concepts in REBOL, which is kind of in line with this
thinkin
Some irony here. Read on.
* Maxim Olivier-Adlhoch <[EMAIL PROTECTED]> [031128 11:41]:
>
> >
> > Arguing over editors is *such* a waste of time. There's no
> >disputing taste.
>
> Not arguing... questioning, wondering why the 'powers that be' use it ;-)
> If I'm going to waste (re
* Maxim Olivier-Adlhoch <[EMAIL PROTECTED]> [031128 11:41]:
>
> print does not return any value,
Yeah, I know, I will probable have to use a tmp word,
test it and use a default return value.
> I had to work around that in encompass... (hence the /silent refinement)
>
> you can build up a fun
Tim,
> Can someone tell me why this is so?
*why* it doesn't return a value is a bit of a mystery. But, given that some
functions don't, then any generic wrapper around a function needs to take that
possibility into account.
There was a discussion on the ML about this recently. It emerged from
>
> Arguing over editors is *such* a waste of time. There's no
>disputing taste.
Not arguing... questioning, wondering why the 'powers that be' use it ;-)
If I'm going to waste (read as curse ;-) tens of hours to be as efficient as I am in
other editors I use, I have to get a hint o
> I think there might be way for you, using some library interface. But I
> don't know what libraries are available. I would suggest you using some
> conventional tools available. Look e.g. at http://www.doom9.org for
> suitable tools.
http://videolan.org/
awesome GPL video tools with http built
print does not return any value,
I had to work around that in encompass... (hence the /silent refinement)
you can build up a function which returns no value:
a: func [data][
; do what you want with data
return unset 'data
]
the above is not really usefull but if you want to fre
Hello Rebols:
I've got a question:
I've written a function called 'fetch, which has print
stubs to help follow the flow control.
If you evaluate 'print with 'fetch, no value is
returned.
Can someone tell me why this is so?
TIA
tim
(example and code follows)
Example:
>> do %test-fetch.r
Script
* Andreas Bolka <[EMAIL PROTECTED]> [031127 12:40]:
>
>
> Thursday, November 27, 2003, 4:47:23 PM, Maxim wrote:
>
> > why would you want to use vi style of cryptic text editing in the
> > year 2003?
>
> because editing in vim is ultra-efficient, once you get used to it.
> even in the year 2003
damn I was about to show you a way of doing it with encompass... :-)
I wish I could rebol full time.
That is its main purpose... fixing/improving/limiting things around... while still
keep the basic functionality.
-MAx
---
"You can either be part of the problem or part of the solution, but in
Thanks to everyone who contributed responses.
I've now updated REBOL.org to use Romano's load-header script rather than a
direct load/all/header in all the places (lots!) we load a header to get values
about a script.
This was a potentially damaging integrity exposure (my old-timer IBMese for
>
>
> There is no notion of current context.
> The same function can be referenced by words
> in two different objects, can't it?
> Therefore, which context is "current"?
yeah you're right, I'd forgotten that once bind is done, the function itself does not
have any knowledge of context... each
Hi Brett,
> blah blah
> [ REBOL [Title: "Sample"] print now]
> blah blahblah blah
> blah blah
>
> Strangely enough, the Script? function that Yos pointed out seems to give a
> useful result in this case - the beginning of the embedded script, but not
> when the script is not embed
Thanks Brett for explanations.
I think it is simpler for Sunanda to work with embedded script with
the script function i give you than parsing for header and content
information like script? do (script? is a native and we can't see the source).
So we add [ at start and ] at end of temp.r exampl
Interesting versions.
I first thought of collect when I was thinking about map. One downside of
map is that generally it requires a simple series as input, whereas looping
functions can have more flexibile iterations. Map also often needs to be
given a custom function which seems like overkill.
Carlos Lorenz wrote:
>Hi list,
>
>I have this TV card on my PC and I'd like to know
>if it is possible to write REBOL scripts that could capture live video
>from this card
>thanks
>Carlos
>
>
>
>
:-) What does it mean "capture" ? Well, if you would like to apply some
effect, transitions using
> I was trying to think of a way of safely doing this myself, so your script
> has given me hope that it is possibleWe just need to solve the bad
preamble
> problem,
It would be better to have it fixed, but if you need the workaround I'm
pretty sure it could be done with Parse and using a par
Hi list,
I have this TV card on my PC and I'd like to know
if it is possible to write REBOL scripts that could capture live video
from this card
thanks
Carlos
--
To unsubscribe from this list, just send an email to
[EMAIL PROTECTED] with unsubscribe as the subject.
Thanks Yos,
> I use this on View 1.2.1 maybe could help you
Unfortunately, it fails if the preamble (stuff before the REBOL header)
contains invalid words, If you try it on the test script below, you'll see what I
mean:
===save next lines as temp.r===
A preamble: there is text before header,
I use this on View 1.2.1 maybe could help you.
REBOL []
script: get in context
[script: func
["^/"
File
/header
/content
/compress
/decompress
/local
script
]
[script: system/words/read File
script: loa
Thanks Gabriele
> Looks like a bug to me...
I'll report it to feedback.
My last email should have said:
Trouble is. my prettyprinter would seem to be only able to load scripts that
run under the same version that it does if the target script has a needs
header entryAnnoying or what?
S
Hi SunandaDH,
On Friday, November 28, 2003, 10:07:23 AM, you wrote:
Sac> We might be seeing different behaviour on different versions of REBOL -- I'm
Sac> looking at Win and Unix. It looks to me like the header is *always*
Sac> evaluated, including the needs check, despite the /all refinement.
Thanks Anton and Max
Anton:
> In my tests it looks like the needs block isn't evaluated,
> just examined.
We might be seeing different behaviour on different versions of REBOL -- I'm
looking at Win and Unix. It looks to me like the header is *always*
evaluated, including the needs check, des
Hi SunandaDH,
On Thursday, November 27, 2003, 10:49:49 PM, you wrote:
>>> load/all/header "rebol [needs: [1.2.1 ]]"
Sac> ** Script Error: This script needs or better to function correctly
Sac> ** Near: load/all/header "rebol [needs: [1.2.1 ]]"
Looks like a bug to me...
Regards,
Hi Mauro,
On Thursday, November 27, 2003, 8:12:20 PM, you wrote:
MF> I should have the proper net setup, though I have not set any proxy server.
Actually I don't think SET-NET has anything to do with your
problem, as long as you're just using tcp:// . And I don't think
you'll need a pr
33 matches
Mail list logo