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

World: r3wp

[Core] Discuss core issues

[unknown: 5]
29-Nov-2008
[11353x4]
maybe it is case sensitive - didn't check that.
thats what it is
damn I didn't know that.
we should update the docs on using /with that it is case sensitive 
- which is opposite to how REBOL usually is.
Anton
29-Nov-2008
[11357x2]
Post a bug report/feature request to update the OPEN docs on that.
(If one on RAMBO is not there already.)
[unknown: 5]
30-Nov-2008
[11359]
I actually sent an email to feedback to request it.
Henrik
30-Nov-2008
[11360]
put it on RAMBO. it is the safest place to catalog such bugs.
[unknown: 5]
30-Nov-2008
[11361]
4244 submitted
[unknown: 5]
1-Dec-2008
[11362x4]
I need the functionality of open/direct/lines/with such that I can 
access the lines in reverse order.  In otherwords I want to be able 
to access the last line and then the next to last line etc... in 
that order.
Any ideas on if that can easily be done without rolling my own method?
Want to make sure I'm not overlooking something simple.
If we dont' have a simple way of doing this now I hope R3 offers 
the capability.
Ashley
1-Dec-2008
[11366]
How can I iterate over a range of IP addresses (looking for a particular 
response) and "time out" the ones that "hang". I've got something 
like:

ip: 10.1.1.0
loop 100 [
	rc: read join http:// ip
	if find rc ... [...]
	ip: ip + 0.0.0.1
]


This works great on most devices (IP Phones, Printers, etc) but hangs 
when it hits a computer with Stealth mode. I've tried read/no-wait 
but that doesn't seem to make a differemce.
[unknown: 5]
1-Dec-2008
[11367x5]
what about read tcp://ipaddy:135
for computers
think that works for computers that you have admin to.
otherwise simply read dns://ipaddy or dns://computername
best way might be to use 'call and use the ping command since REBOL 
doesn't support ICMP
Graham
1-Dec-2008
[11372x2]
Didn't doc write an async ping?
or did he just call ping asynchronously
[unknown: 5]
1-Dec-2008
[11374x2]
He wrote an async call that called the ping command.
STill if a computer is in sleep mode it may not work (not sure).
Ammon
1-Dec-2008
[11376]
Ashley think I did something like that a long time ago by construction 
a port! and then calling wait [port! 0:03] in a loop.
btiffin
1-Dec-2008
[11377]
Ashley;  the connections do eventually timeout?   system/schemes/default/timeout 
  is normally 30 seconds.  Drop that down to 00:00:01 (or other short 
reasonable)?
Nicolas
1-Dec-2008
[11378x4]
how do you read files off a computer in your network?
I've already tried "tcp://computername"
I mean "read tcp://comoputername"
do I need to have a server on the other computer?
Graham
1-Dec-2008
[11382]
read/binary %/computername/shared-directory/filename
Nicolas
1-Dec-2008
[11383]
thankyou. you've made me so happy.
Graham
1-Dec-2008
[11384]
>> to-rebol-file "\\server\shared-directory\file.exe"
== %/server/shared-directory/file.exe
Ashley
3-Dec-2008
[11385]
system/schemes/default/timeout: 1
 did the trick ... thanks Brian.
Robert
4-Dec-2008
[11386]
At what situations do I get the spining waiting "cursor": | / - \ 
|  ?

I want to avoid any output of my script.
Oldes
4-Dec-2008
[11387]
while waiting on port without system/options/quiet
Robert
4-Dec-2008
[11388x2]
Ah, thanks.
Never heard about this.
Dockimbel
4-Dec-2008
[11390]
http://www.rebol.com/docs/core23/rebolcore-18.html#section-4
Robert
4-Dec-2008
[11391]
And never read about it ;-)
Henrik
4-Dec-2008
[11392]
http://www.hmkdesign.dk/rebol/files/category--macosx.html<-- perhaps 
this is relevant for OSX Tiger users regarding the spinning cursor.
Chris
4-Dec-2008
[11393]
Robert: the -q argument should squash it too...
Graham
4-Dec-2008
[11394]
REBOL used to have a graphical network indicator ... pity that is 
not controllable in this way too.
james_nak
5-Dec-2008
[11395]
Anyone know of good ways to setup an email header so that spam scores 
are as low as possible? This is for legit emails I am sending via 
rebol. Perhaps you've never noticed it before but one I sent yesterday 
to myself ended up in the "junk" box. Anyway, you guys are smart.
Tomc
5-Dec-2008
[11396]
dont sort by name to don't try to be efficent and send to multiple 
names in the same domain as the same time  don't send spamy content
james_nak
5-Dec-2008
[11397]
Yeah, these are separate emails only sent to one person at a time. 
And the content is just simple words (these are tests) and no symbols.
Will
8-Dec-2008
[11398x5]
I thought select/skip to be faster than select, it isn't, why so?
btw,I'm using a hash! , is there a faster way?
ok, looks like using 2 blocks, one for keys, one for values and using 
"pick values index? find keys key" is more than 20% faster
forget comment above, bed testing on my part, select on hash! is 
faster, but still, why is select/skip so slow on hash! ?
c: make hash! []
  repeat n 10000 [append c reduce [n "abc"]]
  timer[loop 1000000 [select c 4000]]            
;   0:00:00.350739
  timer[loop 1000000 [select/skip c 4000 2]]     
;   0:00:04.675077