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

World: r3wp

[I'm new] Ask any question, and a helpful person will try to answer.

Ladislav
4-Jul-2009
[3163x2]
...but it shows just +1:00 as my timezone
graham:
>> d: now
== 5-Jul-2009/0:54:14+2:00
BrianH
4-Jul-2009
[3165]
When last i checked at least. AFAIK it uses the system timezone. 
Does your system take dst into account?
Ladislav
4-Jul-2009
[3166]
R2 is able to get it
BrianH
4-Jul-2009
[3167]
R3 doesn't notice DST here (checked just now).
PeterWood
4-Jul-2009
[3168x3]
Funny it does here.
... just teasing ... Malaysia and Singapore have had  daylight savings 
al the year round since sometime in the last century.
al -> all
Graham
4-Jul-2009
[3171x2]
Equatorial countries?
Just think of what they do in Antarctica ...
BrianH
4-Jul-2009
[3173x3]
All antarctic bases except the Chilean ones use zone -3:00, the Chilean 
ones -4:00 to match Chile.
No DST in Antarctica.
A couple stations use +12:00.
Graham
4-Jul-2009
[3176x2]
NZ at Scott Base ?
uses + 12:00
BrianH
4-Jul-2009
[3178]
McMurdo and Amundsen-Scott use +12.
Graham
4-Jul-2009
[3179x2]
Queen Maud Land uses +2
what a complete mess ...
BrianH
4-Jul-2009
[3181]
So, its just as confusing as for the rest of us, but at a smaller 
scale.
Graham
4-Jul-2009
[3182x3]
I wonder how far outside the perimeter of their bases does their 
time zones extend
Queen Maud Land uses +4
I think your statement about "all Antarctic bases ... " is a tad 
off!
BrianH
4-Jul-2009
[3185]
They don't define time zones in Antarctica, afaik - they just define 
the bases' operating time, not the local time in the area. But as 
you say, afaik is not very far.
Graham
4-Jul-2009
[3186]
so out side the base, one is essentially in Rod Serling's  home ....
BrianH
4-Jul-2009
[3187]
Yup :)
mhinson
24-Sep-2009
[3188]
[Tumble weed]
PeterG
31-Oct-2009
[3189x2]
Hi folks! Quick newbie question about rebgui:
I want to capture on-key events while a table widget has focus. I 
tried using " on-click [system/view/focal-face: face system/view/caret: 
face/text]
 on-key [print event/key]
" as the user-guide suggests 
for non-editable widgets, but all I got was a crash. Any suggestions?
Maxim
1-Nov-2009
[3191]
I'm no rebgui user, but I can tell you there is a rebgui group here. 
  maybe you can find your answer there  :-)  the best way to search 
for stuff is to use the altme web archive on rebol.org, cause it 
includes even the old posts.  Altme limits back log to make the GUI 
more responsive.


the rebgui Atlme archive on rebol.org:  http://www.rebol.org/aga-display-posts.r?post=r3wp303x1
Will
5-Dec-2009
[3192]
is there a way to move a file from one path to another without copying? 
or should I use call "mv ... ? thank you!
Geomol
5-Dec-2009
[3193]
I haven't come across such a file move function. I guess, you need 
to call the operating system.
NickA
5-Dec-2009
[3194]
You could use write/read then delete
Gabriele
6-Dec-2009
[3195x2]
RENAME
if that fails (different filesystems), you need the usual copy + 
delete. (MV does the same.)
Geomol
6-Dec-2009
[3197x3]
I'm puzzled, I could miss that. :-) Thanks, Gabriele!
It's right there in the dictionary, under "Port, File, and IO Functions":
http://www.rebol.com/docs/dictionary.html
Ah, can't be used for what Will is after.!

This function cannot be used to move a file from one directory to 
another. 
Izkata
6-Dec-2009
[3200]
Just checked, it correctly moved a text file from one directory to 
another on Ubuntu
Will
6-Dec-2009
[3201x2]
from the rename help:
ARGUMENTS:
     old -- path to the old file (Type: file url)
     new -- new name (not a path) (Type: file url string)


but it indeed works if you use a destination path relative to the 
origin path, in my case 0.002 seconds instead of 0.300 using call 
"mv..   thanks all 8-)
why does call have a pretty fixed 300 ms delay? Is it a coincidense 
on my machine or is it enforced somewhere?
timer [call/wait ""]
;   0:00:00.301991
Geomol
6-Dec-2009
[3203]
Also on mine under OS X:
>> time [call/wait ""]
== 0:00:00.308834
Izkata
6-Dec-2009
[3204x2]
*Waiting on new process (instead of returning immediately)

*Process must run and end (launching of the shell, shell interprets 
string, etc)
*Process must be reaped
*Possibly other stuff
>> time [call/wait {}] 1
== 0:00:00.300538
>> time [call {}] 1     
== 0:00:00.010613
strange that it's .3s, though
Gabriele
7-Dec-2009
[3206x3]
Geomol: i'm not entirely sure why the docs say that, i think it always 
worked for me.
300 ms: maybe there's a hardcoded "wait" for the other process to 
start, or something like that. it seems to be too much consistent 
to just be the shell startup time.
(I think Carl once published the code for CALL... I need to find 
it and have a look.)
Will
7-Dec-2009
[3209]
300ms is a LOT of time for webapps, it would be really appreciated 
if a build without that limitation could be made available, Thank 
you Gabriele for taking care 8-)
Gabriele
8-Dec-2009
[3210]
You could use my async-call code :-)
joannak
21-Dec-2009
[3211]
Just quick hello..  I'm totally new to AltME and have used Rebol 
only years ago. I was somewhat active at older mailing list nearly 
ten years ago, but various things happened and Rebol was not among 
top priorities.. since things have changed quite a lot ..
Geomol
21-Dec-2009
[3212]
Hello, and welcome!