Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.c > #2191 > unrolled thread

Re: what is brainfuck?[the time library]

Started by"io_x" <a@b.c.invalid>
First post2011-04-08 16:07 +0200
Last post2011-04-24 22:57 -0700
Articles 13 — 7 participants

Back to article view | Back to comp.lang.c

This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by below is the oldest one visible, not the original post.


Contents

  Re: what is brainfuck?[the time library] "io_x" <a@b.c.invalid> - 2011-04-08 16:07 +0200
    Re: what is brainfuck?[the time library] Branimir Maksimovic <bmaxa@hotmail.com> - 2011-04-08 21:38 +0200
      Re: what is brainfuck?[the time library] "io_x" <a@b.c.invalid> - 2011-04-09 00:33 +0200
    Re: what is brainfuck?[the time library] "wolfgang kern" <nowhere@never.at> - 2011-04-09 09:28 +0200
      Re: what is brainfuck?[the time library] "io_x" <a@b.c.invalid> - 2011-04-09 19:18 +0200
        Re: what is brainfuck?[the time library] "wolfgang kern" <nowhere@never.at> - 2011-04-10 09:32 +0200
          Re: what is brainfuck?[the time library] "wolfgang kern" <nowhere@never.at> - 2011-04-10 09:44 +0200
            [OT} Re: what is brainfuck?[the time library] Paavo Helde <myfirstname@osa.pri.ee> - 2011-04-10 04:41 -0500
              Re: [OT} Re: what is brainfuck?[the time library] "wolfgang kern" <nowhere@never.at> - 2011-04-11 00:24 +0200
          Re: what is brainfuck?[the time library] Michael Press <rubrum@pacbell.net> - 2011-04-13 14:25 -0700
            Re: what is?[the time library] Ian Collins <ian-news@hotmail.com> - 2011-04-14 09:44 +1200
              Re: what is?[the time library] Michael Press <rubrum@pacbell.net> - 2011-04-13 15:08 -0700
    Re: what is brainfuck?[the time library] Robert Miles <robertmilesxyz@gmail.com> - 2011-04-24 22:57 -0700

#2191 — Re: what is brainfuck?[the time library]

From"io_x" <a@b.c.invalid>
Date2011-04-08 16:07 +0200
SubjectRe: what is brainfuck?[the time library]
Message-ID<4d9f1663$0$18247$4fafbaef@reader2.news.tin.it>
"io_x" <a@b.c.invalid> ha scritto nel messaggio 
news:4d9f15f4$0$18250$4fafbaef@reader2.news.tin.it...

someont see this post?

[toc] | [next] | [standalone]


#2200

FromBranimir Maksimovic <bmaxa@hotmail.com>
Date2011-04-08 21:38 +0200
Message-ID<20110408213829.77e0caf5@maxa>
In reply to#2191
On Fri, 8 Apr 2011 16:07:08 +0200
"io_x" <a@b.c.invalid> wrote:

> 
> "io_x" <a@b.c.invalid> ha scritto nel messaggio 
> news:4d9f15f4$0$18250$4fafbaef@reader2.news.tin.it...
> 
> someont see this post?
> 
> 

of 4 servers I use your previous post is visible only on one...

-- 
drwxr-xr-x 2 bmaxa bmaxa 4096 2011-04-06 18:34 .

[toc] | [prev] | [next] | [standalone]


#2210

From"io_x" <a@b.c.invalid>
Date2011-04-09 00:33 +0200
Message-ID<4d9f8d20$0$38643$4fafbaef@reader1.news.tin.it>
In reply to#2200
"Branimir Maksimovic" <bmaxa@hotmail.com> ha scritto nel messaggio 
news:20110408213829.77e0caf5@maxa...
> On Fri, 8 Apr 2011 16:07:08 +0200
> "io_x" <a@b.c.invalid> wrote:
>
>>
>> "io_x" <a@b.c.invalid> ha scritto nel messaggio
>> news:4d9f15f4$0$18250$4fafbaef@reader2.news.tin.it...
>>
>> someont see this post?

someone..

>>
>
> of 4 servers I use your previous post is visible only on one...

news.edisontel.com
has the post


> -- 
> drwxr-xr-x 2 bmaxa bmaxa 4096 2011-04-06 18:34 .
> 

[toc] | [prev] | [next] | [standalone]


#2232

From"wolfgang kern" <nowhere@never.at>
Date2011-04-09 09:28 +0200
Message-ID<inp3ql$9gv$1@newsreader2.utanet.at>
In reply to#2191
"io_x" asked:

> "io_x" <a@b.c.invalid> ha scritto nel messaggio
> news:4d9f15f4$0$18250$4fafbaef@reader2.news.tin.it...

> someone see this post?

Yeah, I can see your posts in ALA, even I'm not
always sure what you mean :)
But I don't read C-groups.
__
wolfgang


[toc] | [prev] | [next] | [standalone]


#2265

From"io_x" <a@b.c.invalid>
Date2011-04-09 19:18 +0200
Message-ID<4da094ca$0$18242$4fafbaef@reader2.news.tin.it>
In reply to#2232
"wolfgang kern" <nowhere@never.at> ha scritto nel messaggio 
news:inp3ql$9gv$1@newsreader2.utanet.at...
>
> "io_x" asked:
>
>> "io_x" <a@b.c.invalid> ha scritto nel messaggio
>> news:4d9f15f4$0$18250$4fafbaef@reader2.news.tin.it...
>
>> someone see this post?
>
> Yeah, I can see your posts in ALA, even I'm not
> always sure what you mean :)
> But I don't read C-groups.

i mean the .dll posted with the file
that is not C,
but the output of one version of RosAsm
+ the macro language i use [macro2d]
don't know if you consider it assembly; sure it is not
C or C++ or whatherver other know language.

the C++ code is just for debug, if i would like
to use the functions in that way possibly,
on error, i would zero all the date result
even if from that could follow very long loops...


in that .dll if somoene open it with RosAsm
there is something begin with

PREPARSE  MACRO2D

%define  GetLocalTime               'kernel32.GetLocalTime'
%define  GetTimeZoneInformation     'kernel32.GetTimeZoneInformation'

section data

hInstance dd 0, 0

mesiIta   dd  mes0, mes1, mes2, mes3, mes4, mes5, mes6, mes7, mes8, mes9, mes10, 
mes11
mesiIng   dd  mei0, mei1, mei2, mei3, mei4, mei5, mei6, mei7, mei8, mei9, mei10, 
mei11
mesaIng   dd  mai0, mai1, mai2, mai3, mai4, mai5, mai6, mai7, mai8, mai9, mai10, 
mai11 ; mesi abbre.
giorniIta dd  gioI0, gioI1, gioI2, gioI3, gioI4, gioI5, gioI6
giorniIng dd  giiI0, giiI1, giiI2, giiI3, giiI4, giiI5, giiI6
giornaIng dd  giaI0, giaI1, giaI2, giaI3, giaI4, giaI5, giaI6  ; giorni 
abbreviati

;              1   2   3   4   5   6   7   8   9  10  11  12
daytab   db   31, 28, 31, 30, 31, 30, 31, 31, 30, 31, 30, 31
daytabL  db   31, 29, 31, 30, 31, 30, 31, 31, 30, 31, 30, 31

mes0  db  "Gennaio",0,0
mes1  db  "Febbraio",0,0
mes2  db  "Marzo",0,0
mes3  db  "Aprile",0,0
mes4  db  "Maggio",0,0
mes5  db  "Giugnio",0,0
mes6  db  "Luglio",0,0
mes7  db  "Agosto",0,0
mes8  db  "Settembre",0,0
mes9  db  "Ottobre",0,0
mes10 db  "Novembre",0,0
mes11 db  "Dicembre",0,0

mei0  db  "January",0,0
mei1  db  "February",0,0
mei2  db  "March",0,0
mei3  db  "April",0,0
mei4  db  "May",0,0
mei5  db  "June",0,0
mei6  db  "July",0,0
mei7  db  "August",0,0
mei8  db  "September",0,0
mei9  db  "October",0,0
mei10 db  "November",0,0
mei11 db  "December",0,0

mai0  db  "Jan",0,0
mai1  db  "Feb",0,0
mai2  db  "Mar",0,0
mai3  db  "Apr",0,0
mai4  db  "May",0,0
mai5  db  "Jun",0,0
mai6  db  "Jul",0,0
mai7  db  "Aug",0,0
mai8  db  "Sep",0,0
mai9  db  "Oct",0,0
mai10 db  "Nov",0,0
mai11 db  "Dec",0,0

gioI0  db "Lunedi",0,0
gioI1  db "Martedi",0,0
gioI2  db "Mercoledi",0,0
gioI3  db "Giovedi", 0,0
gioI4  db "Venerdi",0,0
gioI5  db "Sabato",0,0
gioI6  db "Domenica",0,0

giiI0  db "Monday",0,0
giiI1  db "Tuesday",0,0
giiI2  db "Wednesday",0,0
giiI3  db "Thursday", 0,0
giiI4  db "Friday",0,0
giiI5  db "Saturday",0,0
giiI6  db "Sunday",0,0

giaI0  db "Mon",0,0
giaI1  db "Tue",0,0
giaI2  db "Wed",0,0
giaI3  db "Thu", 0,0
giaI4  db "Fri",0,0
giaI5  db "Sat",0,0
giaI6  db "Sun",0,0
section bss
section text

; DLL entry point - do nothing, but flag success
; This is a STDCALL entrypoint, so remove 3 params from stack on return
; ..start:
;  dllstart:
;  mov eax,1
;  ret 12
; BOOL WINAPI DllMain
; (HINSTANCE hInstance, ULONG  Reason, PCONTEXT  Context )
; 0k,4j,8i,12r,16c,20b, 24ra, 28P_his, 32P_Reason, 36P_Contex
; 0ra, 4P_his, 8P_Reason, 12P_Contex
align   4
Main:
    a=^4|*hInstance=a
     ; iint3
; colui che chiama ha l'obbligo di inizializzare
; e liberare tutto  [qui non c'e' niente da inizializzare]
.1: a=&TRUE
.z:
ret 12

;-----------------------------------Libreria Tempo
;;
Mdate.DLL
Volevo scrivere un esempio di piccola libreria usando il linguaggio Macro2d
da rendere pubblico. L'occasione mi si presenta quando dovevo usare le
funzioni di tempo, e in omaggio a tutti quelli che dicono di non reinventare
l'acqua calda ... li ho scritte.
Le funzioni di tempo, il tempo che non possiamo fermare, se non in una 
fotografia.
Rosario

GNU GENERAL PUBLIC LICENSE
Version 2, June 1991
Copyright (C) 1989, 1991 Free Software Foundation, Inc.
Questo codice contine errori di tutti i tipi, perche' non ho molta
fantasia a fare i test; chi lo usa lo fa a suo rischio e pericolo.

Struttura temporale
 0 giorno   0..30  [+1 per ottenere il giorno corretto]
 4 Mese     0..11  [+1 per ottenere il mese   corretto]
 8 anno ??..0..??
12 ore      0..23
16 minuti   0..59
20 secondi  0..59
24 mgmt     -12*60..12*60 aggiustamento in minuti per raggiungere il meridiano 
di greenech
            -720..720 nel mio diario chi sono 12 fusorari da una parte e 11 
dall'altra...

;;

<<  giorno=0, mese=4, anno=8, ora, minuti, secondi , mgmt$

;  0ra, 4P_a, 8P_sizeinbytes
align  4
Zero:
    a=[s+4]|c=[s+8]
    a==0#.e|c>0?#.1
.e: stc|#.z
.1: r^=r|c&FFFFFFCh|#.3
.2:   D[a+r]=0|r+=4
.3:   r<c#.2
    c=[s+8]|c&=3| =#.5| c+=r
.4:   B[a+r]=0|++r
      r<c#.4
.5: clc
.z:
ret  8


;u32   MmrCpy(u8*  d, u8*  o, u32  sz)
;ritorna 0 CF==1  per errore
;ritorna d CF==0  tutto ok con "d" l'array di partenza
;NB: è possibile che ci siano problemi se gli indirizzi dei
;caratteri degli array si sovrappongono
;ma non ho trovato bugs con semplici test di comparazione
;con memmove()... [è possibile che scriva u32 non allineati]
;0j,4i,8ra, 12P_d, 16P_o, 20P_sz
align  4
MmrCpy:
<i,j
    j=^12   |i=^16  |r=^20  |c^=c  ;                       j    i
    j==0#.e |i==0#.e|r<0?#.e| =#.5 ; se j<i  sempre  .1    |....|......    i 
i+sz-1   j
    a=i|j<>i| =#.5  |<?#.1         ; se j>i  se i+sz<=j#.1, altrimenti .0 
|.....|......|
        a+=r|a<=j#.1               ; sej==i+sz ? non si legge in i+sz==j !
.0: c=^20|r=^20|r&=3|=#.f|--c  ; parte per ovviare agli errori di overlap, c in 
0..sz-1
    a=^20|a-=r|jc .e|r=a |#.b  ; copia all'indietro
.a:   al=*i+c|*j+c=al|--c
.b:   c>=r?#.a|++c    ; è importante capire B*j+3 scrive 8 bit in [&j+3..&j+4)
.c: #.f               ; altrimenti mi viene difficile capire il resto
.d:   a=*i+c|*j+c=a
.f:   c-=4  |>=?#.d
    #.5
.e: a=0 |stc|#.z
.1: r&FFFFFFCh|#.3      ; parte per copia in avanti
.2:   a=*i+c|*j+c=a  |c+=4
.3:   c<r#.2
    r=^20|r&=3| =#.5 |r+=c ; per i resti: se resta 1 => r+=1
.4:   al=*i+c|*j+c=al| ++c ; loop gira per c fino a r compreso [ma non r+1]
      c<r#.4
.5: a=j|clc
.z:
>i,j
ret  12


; int __stdcall  DataOggi(Data*  oggi)
; giorno,mese,anno,ora,minuti,secondi,gmt
; per errore ritorna -1 tutto ok ritorna 0
; 0Ra, 4P_Oggi  +  128
;   1132
export  DataOggi
align  4
DataOggi:
s-28
    a=^1132|a==0#.e
    r=-1|*a=r|*a+4=r|*a+8=r|*a+12=r|*a+16=r|*a+20=r|*a+24=r
    a=s|GetLocalTime(a)    |a=^1132|a==0#.e|c^=c|r^=r
    #.1
.e: a=-1|stc| #.z
.1: rx=*s+ 6|cx=*s+ 2|--r,c  |*a=r|*a+4=c ;  giorno,    mese
    rx=*s   |cx=*s+ 8|*a+8 =r|*a+12=c     ;  anno  ,     ora
    rx=*s+10|cx=*s+12|*a+16=r|*a+20=c     ;  minuti, secondi
    a=s|GetTimeZoneInformation(a)|a==-1#.e|c=^0
    a=^1132 |*a+24=c                  ;  intero 32bit[anche negativo], fusorario 
in minuti
    a^=a                              ;  nel caso italia => -60 minuti per 
ottenere greenich
.z:                                   ;  dalla data corrente
s=&[s+1128]
ret  4

; int __stdcall  DataOggiParziale(Data*  oggi)
; giorno,mese,anno,ora,minuti,secondi ma non gmt
; per errore ritorna -1 tutto ok ritorna 0
; 0Ra, 4P_Oggi  +  128
;   1132
export  DataOggiParziale
align  4
DataOggiParziale:
s-28
    a=^1132|a==0#.e
    r=-1|*a=r|*a+4=r|*a+8=r|*a+12=r|*a+16=r|*a+20=r
    a=s|GetLocalTime(a)    |a=^1132|a==0#.e|c^=c|r^=r
    #.1
.e: a=-1|stc| #.z
.1: rx=*s+ 6|cx=*s+ 2|--r,c  |*a=r|*a+4=c ;  giorno,    mese
    rx=*s   |cx=*s+ 8|*a+8 =r|*a+12=c     ;  anno  ,     ora
    rx=*s+10|cx=*s+12|*a+16=r|*a+20=c     ;  minuti, secondi
    a^=a
.z:
s=&[s+1128]
ret  4


; i32 __stdcall  DaiGmt(void)
; giorno,mese,anno,ora,minuti,secondi,gmt
; 0Ra, 4P_Oggi  +  128
;   1132
export  DaiGmt
align  4
DaiGmt:
s-28
    #.1
.e: a=-1|stc|#.z
.1: a=s |GetTimeZoneInformation(a)|a==-1#.e|a=^0
    a>720?#.e|a< -720?#.e|clc
.z:
s=&[s+1128]
ret

;RiempiGmt(u32*  data)
;0ra, 4P_data
export  RiempiGmt
align  4
RiempiGmt:
    DaiGmt()|jc .e
    r=^4|r==0#.e|*r+mgmt=a|clc|#.z
.e: a=-1|stc|#.z
.z:
ret 4

; InserisciTime(u32* data, u32 giorno, u32 mese, u32 anno, u32 ora, u32 min, u32 
sec, u32 gmt)
;giorno=0, mese=4, anno=8, ora, minuti, secondi , mgmt$
;0ra,4P_data, 8P_giorno,12P_mese,16P_anno, 20P_ora,24P_min,28P_sec, 32P_gmt
export InserisciTime
align  4
InserisciTime:
    a=^4|a==0#.e|#.1
.e0: a=^4|r=-1|*a=r|*a+4=r|*a+8=r |*a+12=r|*a+16=r|*a+20=r|*a+24=r
.e:  a=-1|stc|#.z
.1: r=^8 |--r|*a+giorno=r
    r=^12|--r|*a+mese  =r
    r=^16|    *a+anno  =r
    r=^20|    *a+ora   =r
    r=^24|    *a+minuti=r
    r=^28|    *a+secondi=r
    r=^32|    *a+mgmt   =r
    IsData(a)|jc  .e0
.z:
ret 32

;InserisciData(u32* data, u32 giorno, u32 mese, u32 anno)
;giorno=0, mese=4, anno=8, ora, minuti, secondi , mgmt$
;0j,4i,8ra,12P_data, 16P_giorno,20P_mese,24P_anno
export InserisciData
align  4
InserisciData:
<i,j
     ;iint3
     j=^12|j==0#.e|#.1
.e0: r=-1|*j=r|*j+4=r|*j+8=r |*j+12=r|*j+16=r|*j+20=r |*j+24=r
.e:  a=-1 |stc|#.z
.1:  r=^16|--r|r>30#.e0|*j+giorno=r
     r=^20|--r|r>11#.e0|*j+mese  =r
     r=^24|             *j+anno  =r
     IsLeap(r)|a==1!#.2|iÚytabL|#.3
.2:                     iÚytab
.3:  a^=a|c=*j+mese |al=*i+c|*j+giorno>=a#.e0
     DaiGmt()|jc .e0|*j+mgmt=a
     a^=a
.z:
>i,j
ret 16

;InserisciOra(u32* data, u32 ora, u32 min, u32 sec)
;giorno=0, mese=4, anno=8, ora, minuti, secondi , mgmt$
;0ra,4P_data, 8P_ora,12P_min,16P_sec
export InserisciOra
align  4
InserisciOra:
     a=^4 |a==0#.e|#.1
.e0: a=^4 |r=-1|*a=r|*a+4=r|*a+8=r |*a+12=r|*a+16=r|*a+20=r|*a+24=r
.e:  a=-1 |stc|#.z
.1:  r=^8 |r>$#.e0|*a+ora    =r
     r=^12|r>59 #.e0|*a+minuti =r
     r=^16|r>59 #.e0|*a+secondi=r
     a^=a
.z:
ret 16

;InserisciGmt(u32* data, u32  gmt)
;giorno=0, mese=4, anno=8, ora, minuti, secondi , mgmt$
;0ra,4P_data, 8P_gmt
export InserisciGmt
align  4
InserisciGmt:
     a=^4|a==0#.e|#.1
.e0: a=^4|r=-1|*a=r|*a+4=r|*a+8=r |*a+12=r|*a+16=r|*a+20=r|*a+24=r
.e:  a=-1|stc|#.z
.1:  r=^8|r>720?#.e0|r< -720?#.e0|*a+mgmt=r
     a^=a
.z:
ret 8

the only dipendence by os are the functions
'kernel32.GetLocalTime'
'kernel32.GetTimeZoneInformation'
for get the local time and the time difference in minutes from
Greeniech [but possibily i not understat that, for example here
in this post will appear Date: Sat, 9 Apr 2011 00:33:44 +0200
but the difference in minutes is -60 minutes so
+0200 what does it mean?]


[toc] | [prev] | [next] | [standalone]


#2294

From"wolfgang kern" <nowhere@never.at>
Date2011-04-10 09:32 +0200
Message-ID<inrmji$a84$1@newsreader2.utanet.at>
In reply to#2265
"io_x" wrote:
>>> someone see this post?
>> Yeah, I can see your posts in ALA, even I'm not
>> always sure what you mean :)
>> But I don't read C-groups.

> i mean the .dll posted with the file that is not C,
> but the output of one version of RosAsm + the macro
> language i use [macro2d]
> don't know if you consider it assembly; sure it is not
> C or C++ or whatherver other know language.


> the C++ code is just for debug, if i would like
> to use the functions in that way possibly,
> on error, i would zero all the date result
> even if from that could follow very long loops...

> in that .dll if somoene open it with RosAsm
> there is something begin with

> PREPARSE  MACRO2D
> %define  GetLocalTime               'kernel32.GetLocalTime'
> %define  GetTimeZoneInformation     'kernel32.GetTimeZoneInformation'
> section data
> hInstance dd 0, 0

I use RosAsm sometimes rare, but I never use Macros.
[...]
> mesiIta   dd  mes0, mes1, mes2, mes3, mes4, mes5, mes6, mes7, mes8, mes9,
...
Just to keep everthing smaller, faster and a bit smarter,
I made my date/time data formats not that flexible as you do,
so I contentate similar strings on the fly:

MOV eax,"0day"   ;mov eax,79616430h
...              ;ie: [nr] = 06h
OR al,[nr]       ;eax = "6day"
...
ROR eax,8        ;eax = "day6"

[...]
 > the only dipendence by os are the functions
> 'kernel32.GetLocalTime'
> 'kernel32.GetTimeZoneInformation'
> for get the local time and the time difference in minutes from
> Greeniech [but possibily i not understat that, for example here
> in this post will appear Date: Sat, 9 Apr 2011 00:33:44 +0200
> but the difference in minutes is -60 minutes so
> +0200 what does it mean?]

This +0200 are the US-military way to tell: "two hours more" :)

I live in Vienna and my OS reports GMT+01:00 (West European Summer).
Italy got GMT+02:00 ? perhaps you didn't activate summertime ?
__
wolfgang

[toc] | [prev] | [next] | [standalone]


#2295

From"wolfgang kern" <nowhere@never.at>
Date2011-04-10 09:44 +0200
Message-ID<inrn5v$c56$1@newsreader2.utanet.at>
In reply to#2294
I replied to Rosario...
...
> I live in Vienna and my OS reports GMT+01:00 (West European Summer).
> Italy got GMT+02:00 ? perhaps you didn't activate summertime ?

and just checked the header of my last post and it also says GMT+02:00.
So it must be something in Usenet which isn't aware of summer-time and
therefore off by one hour for half a year!  :)
__
wolfgang


[toc] | [prev] | [next] | [standalone]


#2303 — [OT} Re: what is brainfuck?[the time library]

FromPaavo Helde <myfirstname@osa.pri.ee>
Date2011-04-10 04:41 -0500
Subject[OT} Re: what is brainfuck?[the time library]
Message-ID<Xns9EC3812DF30F3myfirstnameosapriee@216.196.109.131>
In reply to#2295
"wolfgang kern" <nowhere@never.at> wrote in news:inrn5v$c56$1
@newsreader2.utanet.at:

> 
> I replied to Rosario...
> ...
>> I live in Vienna and my OS reports GMT+01:00 (West European Summer).

Well, then somebody has misconfigured your OS. West European Summer Time is 
used in Portugal and Ireland. Vienna should currently be in Central 
European Summer Time (GMT +0200).

>> Italy got GMT+02:00 ? perhaps you didn't activate summertime ?
> 
> and just checked the header of my last post and it also says GMT+02:00.
> So it must be something in Usenet which isn't aware of summer-time and
> therefore off by one hour for half a year!  :)

The "+0200" is difference from GMT, and GMT does not have a notion of 
summer-time. This means most of West Europe has +0100 in winter and +0200 
in summer. England, Ireland, Portugal have +0000 and +0100 respectively.

Cheers
Paavo

[toc] | [prev] | [next] | [standalone]


#2317 — Re: [OT} Re: what is brainfuck?[the time library]

From"wolfgang kern" <nowhere@never.at>
Date2011-04-11 00:24 +0200
SubjectRe: [OT} Re: what is brainfuck?[the time library]
Message-ID<intanf$5as$1@newsreader2.utanet.at>
In reply to#2303
Paavo Helde cleared it up:

>> I replied to Rosario...
>> ...
>>> I live in Vienna and my OS reports GMT+01:00 (West European Summer).

> Well, then somebody has misconfigured your OS. West European Summer Time 
> is
> used in Portugal and Ireland. Vienna should currently be in Central
> European Summer Time (GMT +0200).

I see, it's just a windoze issue ... the clock headline reports GMT+01:00
but the shown time is correct, seems it handles the summertime apart.
At least the displayed- and the net-time is reported correct, even the
line where it tells 'western european summertime' is misleading.

[snipped my wrong assumption]

> The "+0200" is difference from GMT, and GMT does not have a notion of
> summer-time. This means most of West Europe has +0100 in winter and +0200
> in summer. England, Ireland, Portugal have +0000 and +0100 respectively.

Thanks for the hint where the border between Western and Central Time is.

__
wolfgang





[toc] | [prev] | [next] | [standalone]


#2389

FromMichael Press <rubrum@pacbell.net>
Date2011-04-13 14:25 -0700
Message-ID<rubrum-685178.14253413042011@news.albasani.net>
In reply to#2294
In article <inrmji$a84$1@newsreader2.utanet.at>,
 "wolfgang kern" <nowhere@never.at> wrote:

> I live in Vienna and my OS reports GMT+01:00 (West European Summer).
> Italy got GMT+02:00 ? perhaps you didn't activate summertime ?

Really? GMT is obsolete outside Great Britain. 
(sort of obsolete inside, but not dead yet)
Replaced by UTC. Heck, the Royal Observatory, Greenwich
was shut down years ago.

-- 
Michael Press

[toc] | [prev] | [next] | [standalone]


#2391 — Re: what is?[the time library]

FromIan Collins <ian-news@hotmail.com>
Date2011-04-14 09:44 +1200
SubjectRe: what is?[the time library]
Message-ID<90mjqlFeeiU7@mid.individual.net>
In reply to#2389
On 04/14/11 09:25 AM, Michael Press wrote:
> In article<inrmji$a84$1@newsreader2.utanet.at>,
>   "wolfgang kern"<nowhere@never.at>  wrote:
>
>> I live in Vienna and my OS reports GMT+01:00 (West European Summer).
>> Italy got GMT+02:00 ? perhaps you didn't activate summertime ?
>
> Really? GMT is obsolete outside Great Britain.

Well it would be if the French had their way...

> (sort of obsolete inside, but not dead yet)
> Replaced by UTC. Heck, the Royal Observatory, Greenwich
> was shut down years ago.

Really?  It was still there last time I looked.

http://www.nmm.ac.uk/places/royal-observatory/

-- 
Ian Collins

[toc] | [prev] | [next] | [standalone]


#2392 — Re: what is?[the time library]

FromMichael Press <rubrum@pacbell.net>
Date2011-04-13 15:08 -0700
SubjectRe: what is?[the time library]
Message-ID<rubrum-4BEF72.15085313042011@news.albasani.net>
In reply to#2391
In article <90mjqlFeeiU7@mid.individual.net>,
 Ian Collins <ian-news@hotmail.com> wrote:

> On 04/14/11 09:25 AM, Michael Press wrote:
> > In article<inrmji$a84$1@newsreader2.utanet.at>,
> >   "wolfgang kern"<nowhere@never.at>  wrote:
> >
> >> I live in Vienna and my OS reports GMT+01:00 (West European Summer).
> >> Italy got GMT+02:00 ? perhaps you didn't activate summertime ?
> >
> > Really? GMT is obsolete outside Great Britain.
> 
> Well it would be if the French had their way...

`GMT' is avoided in technical contexts. 
UTC replaced GMT as the main time scale yonks ago. 

> > (sort of obsolete inside, but not dead yet)
> > Replaced by UTC. Heck, the Royal Observatory, Greenwich
> > was shut down years ago.
> 
> Really?  It was still there last time I looked.
> 
> http://www.nmm.ac.uk/places/royal-observatory/

The buildings are there, but a museum.

Furthermore, the prime meridian is 102.5 m
west of the Greenwich meridian.

-- 
Michael Press

[toc] | [prev] | [next] | [standalone]


#2858

FromRobert Miles <robertmilesxyz@gmail.com>
Date2011-04-24 22:57 -0700
Message-ID<8f4494ca-b896-4256-a3d0-004b68e293b9@22g2000prx.googlegroups.com>
In reply to#2191
On Apr 8, 9:07 am, "io_x" <a...@b.c.invalid> wrote:
> "io_x" <a...@b.c.invalid> ha scritto nel messaggionews:4d9f15f4$0$18250$4fafbaef@reader2.news.tin.it...
>
> someont see this post?

Probably somewhere in this thread:

http://groups.google.com/group/comp.lang.c/browse_thread/thread/c3af688e335f180f

If your newsgroups server filters out posts that contain profane
words, it would have deleted many of the posts in this thread.

[toc] | [prev] | [standalone]


Back to top | Article view | comp.lang.c


csiph-web