World: r3wp
[I'm new] Ask any question, and a helpful person will try to answer.
older newer | first last |
mhinson 4-Jul-2009 [3153] | so does Rebol always reference the system/locale when printing a DATE! but only store the inteeger values? or does it store the date in julian format & do more complex stuff to output even things like date/year |
Ladislav 4-Jul-2009 [3154] | graham: the first one was from R3, the second one from R2 |
Graham 4-Jul-2009 [3155] | oh ! |
Ladislav 4-Jul-2009 [3156] | so "flying from R3 to R2" |
Graham 4-Jul-2009 [3157] | In both cases .. your clock, or mine, is out by 2 mins |
BrianH 4-Jul-2009 [3158] | mhinson, MOLD and FORM never reference system/locale - REBOL syntax is English-based. |
Ladislav 4-Jul-2009 [3159] | my clock is out |
Sunanda 4-Jul-2009 [3160] | Not sure we know the actual internal format.....You could run some timing tests to get an idea. Another useful R2 mezzanine that may help. Mike: to-idate now (to-idate not yet in R3) |
Ladislav 4-Jul-2009 [3161] | is it known, that R3 does not take into account the DST? |
BrianH 4-Jul-2009 [3162] | It does not notice the change, but does take into account the dst at start time. |
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 | |
older newer | first last |