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

World: r3wp

[Core] Discuss core issues

ICarii
3-Aug-2008
[10852]
this by ladislav was interesting http://www.compkarori.com/vanilla/display/PARSE-Versus-Regexs
Anton
21-Aug-2008
[10853x2]
http://anton.wildit.net.au/rebol/library/string-search-functions.r

http://anton.wildit.net.au/rebol/library/demo-string-search-functions.r
(They don't do wildcard searching, though could be modified I suppose...)
Graham
2-Sep-2008
[10855x2]
Is there any windows setting, or anything else, which results in 
'now not providing the timezone?
I've got an encapped application which is failing, and it can only 
be failing if there is no timezone in the 'now data.
Oldes
2-Sep-2008
[10857x3]
yes... jeruzalem time-zone:)
very interesting
it should be +2:00 but I have no timezone in rebol
Graham
2-Sep-2008
[10860]
why?
Oldes
2-Sep-2008
[10861]
also you have to restart rebol to get changed timezone setting updated
Graham
2-Sep-2008
[10862]
>> now
== 2-Sep-2008/22:23:12+12:00
Oldes
2-Sep-2008
[10863]
ech.. no... now it's correct
Graham
2-Sep-2008
[10864]
what happens for you?
Oldes
2-Sep-2008
[10865x2]
so I'm not sure
I'm changing timezones in settings and check 'now in Rebol... I got 
it without timezone once
Graham
2-Sep-2008
[10867]
oh .. bug then.
Oldes
2-Sep-2008
[10868]
>> now
== 2-Sep-2008/12:21:27
Graham
2-Sep-2008
[10869]
what timezone setting in windows?
Oldes
2-Sep-2008
[10870x3]
now with Casablanca, Monrovia
yes... it's every time... there is no timezone in windows settings 
as well for this zone
I guess there should be 0:0 in Rebol (not none)
Graham
2-Sep-2008
[10873x7]
>> now
== 2-Sep-2008/11:28:35+1:00
In Vista .. using Casablanca.
>> now
== 2-Sep-2008/10:29:40
with daylight saving disabled
interesting.
So, this is for GMT
Anyone consider this a bug?
Oldes
2-Sep-2008
[10880]
and I guess it's related to the red icons bug in old IOS times. The 
timezone is not updated in Rebol if it changes in system.
Graham
2-Sep-2008
[10881]
I think it should be displaying +0:00
Oldes
2-Sep-2008
[10882]
yes
Graham
2-Sep-2008
[10883]
Ok, I'll rambo it.
Oldes
2-Sep-2008
[10884x3]
or the app has to be no timezone aware:) Don§t know what can takes 
less time to fix:)
I got it...
t: 1-1-2006/1:0:1+0:0
== 1-Jan-2006/1:00:01
the timezone is removed if it's zero
Graham
2-Sep-2008
[10887]
Yes.
Oldes
2-Sep-2008
[10888]
Maybe it's because 0 is false in C so the native time format thinks 
there is no timezone
Graham
2-Sep-2008
[10889x2]
Rambo'd it.
Thanks.
Gregg
2-Sep-2008
[10891]
That's caught me a couple times as well.
Brock
3-Sep-2008
[10892]
Any way to get a copy of the R3 Alpha?  I have a very simple script 
that has to deal with utf-8 text that this would really help with.
Graham
3-Sep-2008
[10893]
the download link is posted on rebol.net
Henrik
3-Sep-2008
[10894]
I think it's still only the private version that uses Unicode?
Brock
3-Sep-2008
[10895]
I'll have to look at it as I don't think the versions up there have 
what I am looking for.
Pekr
3-Sep-2008
[10896]
Can I have something like following? My friend asked me to do small 
"multiserver" in TCP mode, he is testing his HW device. IT works 
like a charm, but it is only console app (no GUI). Last week he asked 
me for another method of interruption of script - when he presses 
ESC (or closes console), the connection is RSTed, but he would like 
clean FIN, ACK.  So - can I somehow trap keyboard press while in 
the wait loop? Or do I need to rewrite script to GUI version? I thought 
about adding console port to the wait block, but dunno if it would 
work :-)
Anton
3-Sep-2008
[10897]
Probably you can. Try this, from Carl Sassenrath 2002:
http://anton.wildit.net.au/rebol/os/system-port-trap-example.r
Pekr
3-Sep-2008
[10898]
thanks ...
Alan
14-Sep-2008
[10899]
.
Graham
19-Sep-2008
[10900x2]
Read/custom allows you to send a custom header as in a cookie header 
like this

read/custom url [post "postdata" [Cookie: "name=value"]]
but it doesn't allow you to send a custom header except by using 
the post method.