Rocksolid Light

Welcome to novaBBS (click a section below)

mail  files  register  newsreader  groups  login

Message-ID:  

Trap full -- please empty.


devel / comp.lang.c / Re: "Year 2038 problem is still alive and well" by CookiePLMonster

SubjectAuthor
* "Year 2038 problem is still alive and well" by CookiePLMonsterLynn McGuire
+* Re: "Year 2038 problem is still alive and well" by CookiePLMonsterSiri Cruise
|+* Re: "Year 2038 problem is still alive and well" by CookiePLMonsterRichard Damon
||+* Re: "Year 2038 problem is still alive and well" by CookiePLMonsterBen Bacarisse
|||+* Re: "Year 2038 problem is still alive and well" by CookiePLMonsterKeith Thompson
||||+* Re: "Year 2038 problem is still alive and well" by CookiePLMonsterSiri Cruise
|||||+* Re: "Year 2038 problem is still alive and well" by CookiePLMonsterDavid Brown
||||||+* Re: "Year 2038 problem is still alive and well" by CookiePLMonsterManfred
|||||||`- Re: "Year 2038 problem is still alive and well" by CookiePLMonsterDavid Brown
||||||`* Re: "Year 2038 problem is still alive and well" by CookiePLMonsterSiri Cruise
|||||| `* Re: "Year 2038 problem is still alive and well" by CookiePLMonsterDavid Brown
||||||  `* Re: "Year 2038 problem is still alive and well" by CookiePLMonsterDavid Brown
||||||   `* Re: "Year 2038 problem is still alive and well" by CookiePLMonsterÖö Tiib
||||||    `* Re: "Year 2038 problem is still alive and well" by CookiePLMonsterKeith Thompson
||||||     +- Re: "Year 2038 problem is still alive and well" by CookiePLMonsterÖö Tiib
||||||     `* Re: "Year 2038 problem is still alive and well" by CookiePLMonsterDavid Brown
||||||      +- Re: "Year 2038 problem is still alive and well" by CookiePLMonsterScott Lurndal
||||||      `* Re: "Year 2038 problem is still alive and well" by CookiePLMonsterManfred
||||||       +* Re: "Year 2038 problem is still alive and well" by CookiePLMonsterLynn McGuire
||||||       |`* Re: "Year 2038 problem is still alive and well" by CookiePLMonsterKenny McCormack
||||||       | `- Re: "Year 2038 problem is still alive and well" by CookiePLMonsterVir Campestris
||||||       +* Re: "Year 2038 problem is still alive and well" by CookiePLMonsterDavid Brown
||||||       |`* Re: "Year 2038 problem is still alive and well" by CookiePLMonsterBart
||||||       | `* Re: "Year 2038 problem is still alive and well" by CookiePLMonsterDavid Brown
||||||       |  +* Re: "Year 2038 problem is still alive and well" by CookiePLMonsterDan Purgert
||||||       |  |+* Re: "Year 2038 problem is still alive and well" by CookiePLMonsterDavid Brown
||||||       |  ||+* Re: "Year 2038 problem is still alive and well" by CookiePLMonsterDan Purgert
||||||       |  |||+* Re: "Year 2038 problem is still alive and well" by CookiePLMonsterOtto J. Makela
||||||       |  ||||+* Re: "Year 2038 problem is still alive and well" by CookiePLMonsterSiri Cruise
||||||       |  |||||+- Re: "Year 2038 problem is still alive and well" by CookiePLMonsterMalcolm McLean
||||||       |  |||||+* Re: "Year 2038 problem is still alive and well" by CookiePLMonsterStef
||||||       |  ||||||`* Re: "Year 2038 problem is still alive and well" by CookiePLMonsterSiri Cruise
||||||       |  |||||| +- Re: "Year 2038 problem is still alive and well" by CookiePLMonsterDavid Brown
||||||       |  |||||| `- Re: "Year 2038 problem is still alive and well" by CookiePLMonsterScott Lurndal
||||||       |  |||||`* Re: "Year 2038 problem is still alive and well" by CookiePLMonsterKeith Thompson
||||||       |  ||||| `- Re: "Year 2038 problem is still alive and well" by CookiePLMonsterSiri Cruise
||||||       |  ||||+* Re: "Year 2038 problem is still alive and well" by CookiePLMonsterLynn McGuire
||||||       |  |||||`* Re: "Year 2038 problem is still alive and well" by CookiePLMonsterSiri Cruise
||||||       |  ||||| +* Re: "Year 2038 problem is still alive and well" by CookiePLMonsterLynn McGuire
||||||       |  ||||| |`- Re: "Year 2038 problem is still alive and well" by CookiePLMonsterDavid Brown
||||||       |  ||||| `- Re: "Year 2038 problem is still alive and well" by CookiePLMonsterKenny McCormack
||||||       |  ||||`- Re: "Year 2038 problem is still alive and well" by CookiePLMonsterDan Purgert
||||||       |  |||`- Re: "Year 2038 problem is still alive and well" by CookiePLMonsterDavid Brown
||||||       |  ||`* Re: "Year 2038 problem is still alive and well" by CookiePLMonsterScott Lurndal
||||||       |  || `- Re: "Year 2038 problem is still alive and well" by CookiePLMonsterDavid Brown
||||||       |  |`* Re: "Year 2038 problem is still alive and well" by CookiePLMonsterVir Campestris
||||||       |  | `* Re: "Year 2038 problem is still alive and well" by CookiePLMonsterScott Lurndal
||||||       |  |  `* Re: "Year 2038 problem is still alive and well" by CookiePLMonsterKaz Kylheku
||||||       |  |   `* Re: "Year 2038 problem is still alive and well" by CookiePLMonsterScott Lurndal
||||||       |  |    `- Re: "Year 2038 problem is still alive and well" by CookiePLMonsterVir Campestris
||||||       |  `- Re: "Year 2038 problem is still alive and well" by CookiePLMonsterStef
||||||       `- Re: "Year 2038 problem is still alive and well" by CookiePLMonsterScott Lurndal
|||||`- Re: "Year 2038 problem is still alive and well" by CookiePLMonsterKaz Kylheku
||||`* Re: "Year 2038 problem is still alive and well" by CookiePLMonsterDavid Brown
|||| `* Re: "Year 2038 problem is still alive and well" by CookiePLMonsterMalcolm McLean
||||  +* Re: "Year 2038 problem is still alive and well" by CookiePLMonsterDan Purgert
||||  |`* Re: "Year 2038 problem is still alive and well" by CookiePLMonsterMalcolm McLean
||||  | +- Re: "Year 2038 problem is still alive and well" by CookiePLMonsterDan Purgert
||||  | +* Re: "Year 2038 problem is still alive and well" by CookiePLMonsterScott Lurndal
||||  | |`* Re: "Year 2038 problem is still alive and well" by CookiePLMonsterMalcolm McLean
||||  | | `- Re: "Year 2038 problem is still alive and well" by CookiePLMonsterDavid Brown
||||  | `- Re: "Year 2038 problem is still alive and well" by CookiePLMonsterKeith Thompson
||||  +* Re: "Year 2038 problem is still alive and well" by CookiePLMonsterDavid Brown
||||  |`* Re: "Year 2038 problem is still alive and well" by CookiePLMonsterBen Bacarisse
||||  | `- Re: "Year 2038 problem is still alive and well" by CookiePLMonsterDavid Brown
||||  `* Re: "Year 2038 problem is still alive and well" by CookiePLMonsterBonita Montero
||||   `- Re: "Year 2038 problem is still alive and well" by CookiePLMonsterLynn McGuire
|||`- Re: "Year 2038 problem is still alive and well" by CookiePLMonsterKaz Kylheku
||+- Re: "Year 2038 problem is still alive and well" by CookiePLMonsterKeith Thompson
||`* Re: "Year 2038 problem is still alive and well" by CookiePLMonsterJuha Nieminen
|| +* Re: "Year 2038 problem is still alive and well" by CookiePLMonsterRobert Latest
|| |`* Re: "Year 2038 problem is still alive and well" by CookiePLMonsterBonita Montero
|| | `* Re: "Year 2038 problem is still alive and well" by CookiePLMonsterBonita Montero
|| |  +* Re: "Year 2038 problem is still alive and well" by CookiePLMonsterScott Lurndal
|| |  |+- Re: "Year 2038 problem is still alive and well" by CookiePLMonsterBonita Montero
|| |  |+- Re: "Year 2038 problem is still alive and well" by CookiePLMonsterBonita Montero
|| |  |`- Re: "Year 2038 problem is still alive and well" by CookiePLMonsterBonita Montero
|| |  `* Re: "Year 2038 problem is still alive and well" by CookiePLMonsterBart
|| |   `- Re: "Year 2038 problem is still alive and well" by CookiePLMonsterBonita Montero
|| `- Re: "Year 2038 problem is still alive and well" by CookiePLMonsterDan Purgert
|`- Re: "Year 2038 problem is still alive and well" by CookiePLMonsterJohn McCue
+* Re: "Year 2038 problem is still alive and well" by CookiePLMonsterVir Campestris
|`* Re: "Year 2038 problem is still alive and well" by CookiePLMonsterJames Kuyper
| +- Re: "Year 2038 problem is still alive and well" by CookiePLMonsterManfred
| +- Re: "Year 2038 problem is still alive and well" by CookiePLMonsterLynn McGuire
| +* Re: "Year 2038 problem is still alive and well" by CookiePLMonsterBen Bacarisse
| |`- Re: "Year 2038 problem is still alive and well" by CookiePLMonsterScott Lurndal
| +- Re: "Year 2038 problem is still alive and well" by CookiePLMonsterKeith Thompson
| +* Re: "Year 2038 problem is still alive and well" by CookiePLMonsterKeith Thompson
| |`- Re: "Year 2038 problem is still alive and well" by CookiePLMonsterKaz Kylheku
| `- Re: "Year 2038 problem is still alive and well" by CookiePLMonsterScott Lurndal
+* Re: "Year 2038 problem is still alive and well" by CookiePLMonsterKaz Kylheku
|+* Re: "Year 2038 problem is still alive and well" by CookiePLMonsterJuha Nieminen
||`- Re: "Year 2038 problem is still alive and well" by CookiePLMonsterMuttley
|`* Re: "Year 2038 problem is still alive and well" by CookiePLMonsterLynn McGuire
| `- Re: "Year 2038 problem is still alive and well" by CookiePLMonsterKaz Kylheku
`- Re: "Year 2038 problem is still alive and well" by CookiePLMonsterBonita Montero

Pages:1234
Re: "Year 2038 problem is still alive and well" by CookiePLMonster

<svlle8$gsu$1@dont-email.me>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=20649&group=comp.lang.c#20649

  copy link   Newsgroups: comp.lang.c
Path: i2pn2.org!i2pn.org!eternal-september.org!reader02.eternal-september.org!.POSTED!not-for-mail
From: bc...@freeuk.com (Bart)
Newsgroups: comp.lang.c
Subject: Re: "Year 2038 problem is still alive and well" by CookiePLMonster
Date: Tue, 1 Mar 2022 17:33:59 +0000
Organization: A noiseless patient Spider
Lines: 33
Message-ID: <svlle8$gsu$1@dont-email.me>
References: <svjioa$afj$1@dont-email.me>
<chine.bleu-1A06C2.17382228022022@reader.eternal-september.org>
<UpgTJ.58459$z688.14383@fx35.iad> <svke6f$1ip1$1@gioia.aioe.org>
<j869rhFhda6U3@mid.individual.net> <svlavd$s7u$1@dont-email.me>
<svlh97$dvf$1@dont-email.me>
Mime-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit
Injection-Date: Tue, 1 Mar 2022 17:34:00 -0000 (UTC)
Injection-Info: reader02.eternal-september.org; posting-host="f55e6e5b4fb069b53b754cdff476d373";
logging-data="17310"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX18OI+2f1+tOL24/VViDWCXfPjueJPBSMLo="
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:91.0) Gecko/20100101
Thunderbird/91.6.1
Cancel-Lock: sha1:aCMKjeDNAY2MNpCGnlSKoxj2oxg=
In-Reply-To: <svlh97$dvf$1@dont-email.me>
 by: Bart - Tue, 1 Mar 2022 17:33 UTC

On 01/03/2022 16:23, Bonita Montero wrote:

>         static
>         uint64_t const alignas(CL_SIZE) monthOffsets[2][12 + 1] =
>         {
>             { 0 * DAY, 31 * DAY, 59 * DAY, 90 * DAY, 120 * DAY, 151 *
> DAY, 181 * DAY, 212 * DAY, 243 * DAY, 273 * DAY, 304 * DAY, 334 * DAY,
> 999 * DAY },
>             { 0 * DAY, 31 * DAY, 60 * DAY, 91 * DAY, 121 * DAY, 152 *
> DAY, 182 * DAY, 213 * DAY, 244 * DAY, 274 * DAY, 305 * DAY, 335 * DAY,
> 999 * DAY }
>         };
>         uint64_t const *pMonthOffsets = monthOffsets[leapYear];

>     uint8_t const alignas(CL_SIZE) montLengths[2][1 + 12] =
>     {
>         { 0, 31, 28, 31, 30, 31, 30, 31, 31, 30, 31, 30, 31 },
>         { 0, 31, 29, 31, 30, 31, 30, 31, 31, 30, 31, 30, 31 }
>     };

>     static
>     uint16_t const alignas(CL_SIZE) monthOffsets[2][1 + 12] =
>     {
>         { 0, 0, 31, 59, 90, 120, 151, 181, 212, 243, 273, 304, 334 },
>         { 0, 0, 31, 60, 91, 121, 152, 182, 213, 244, 274, 305, 335 }
>     };

You need to specify the days in each month 6 times?

And DAY specified 26 times instead of just once to multiple the days?

There must be a dozen ways of doing that more efficiently and more
centralised. And what happened to C++'s famous constexpr?

Re: "Year 2038 problem is still alive and well" by CookiePLMonster

<svllop$jil$1@dont-email.me>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=20650&group=comp.lang.c#20650

  copy link   Newsgroups: comp.lang.c
Path: i2pn2.org!i2pn.org!eternal-september.org!reader02.eternal-september.org!.POSTED!not-for-mail
From: Bonita.M...@gmail.com (Bonita Montero)
Newsgroups: comp.lang.c
Subject: Re: "Year 2038 problem is still alive and well" by CookiePLMonster
Date: Tue, 1 Mar 2022 18:39:40 +0100
Organization: A noiseless patient Spider
Lines: 43
Message-ID: <svllop$jil$1@dont-email.me>
References: <svjioa$afj$1@dont-email.me>
<chine.bleu-1A06C2.17382228022022@reader.eternal-september.org>
<UpgTJ.58459$z688.14383@fx35.iad> <svke6f$1ip1$1@gioia.aioe.org>
<j869rhFhda6U3@mid.individual.net> <svlavd$s7u$1@dont-email.me>
<svlh97$dvf$1@dont-email.me> <svlle8$gsu$1@dont-email.me>
Mime-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit
Injection-Date: Tue, 1 Mar 2022 17:39:37 -0000 (UTC)
Injection-Info: reader02.eternal-september.org; posting-host="5810512e555e646a4ebb234d1b5db876";
logging-data="20053"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX199eZWq3+2QMJtIs4smYo2lf8RVoPMYm2M="
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:91.0) Gecko/20100101
Thunderbird/91.6.1
Cancel-Lock: sha1:8aO4MeaQ8Bndu8tedY4uM0Rp+rc=
In-Reply-To: <svlle8$gsu$1@dont-email.me>
Content-Language: de-DE
 by: Bonita Montero - Tue, 1 Mar 2022 17:39 UTC

Am 01.03.2022 um 18:33 schrieb Bart:
> On 01/03/2022 16:23, Bonita Montero wrote:
>
>>          static
>>          uint64_t const alignas(CL_SIZE) monthOffsets[2][12 + 1] =
>>          {
>>              { 0 * DAY, 31 * DAY, 59 * DAY, 90 * DAY, 120 * DAY, 151 *
>> DAY, 181 * DAY, 212 * DAY, 243 * DAY, 273 * DAY, 304 * DAY, 334 * DAY,
>> 999 * DAY },
>>              { 0 * DAY, 31 * DAY, 60 * DAY, 91 * DAY, 121 * DAY, 152 *
>> DAY, 182 * DAY, 213 * DAY, 244 * DAY, 274 * DAY, 305 * DAY, 335 * DAY,
>> 999 * DAY }
>>          };
>>          uint64_t const *pMonthOffsets = monthOffsets[leapYear];
>
>>      uint8_t const alignas(CL_SIZE) montLengths[2][1 + 12] =
>>      {
>>          { 0, 31, 28, 31, 30, 31, 30, 31, 31, 30, 31, 30, 31 },
>>          { 0, 31, 29, 31, 30, 31, 30, 31, 31, 30, 31, 30, 31 }
>>      };
>
>>      static
>>      uint16_t const alignas(CL_SIZE) monthOffsets[2][1 + 12] =
>>      {
>>          { 0, 0, 31, 59, 90, 120, 151, 181, 212, 243, 273, 304, 334 },
>>          { 0, 0, 31, 60, 91, 121, 152, 182, 213, 244, 274, 305, 335 }
>>      };
>
> You need to specify the days in each month 6 times?

This _is_ for efficiency !

> There must be a dozen ways of doing that more efficiently and
> more centralised.

There's no way to do it more efficiently. Even the binary search is
slower than a linear search on these arrays because there's only one
misprediction with a linear search.

> And what happened to C++'s famous constexpr?

Nice idea. But with constexpr I can't do search loops in my array.

Re: "Year 2038 problem is still alive and well" by CookiePLMonster

<90b7512a-017f-43d3-b12c-3237da1b124cn@googlegroups.com>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=20651&group=comp.lang.c#20651

  copy link   Newsgroups: comp.lang.c
X-Received: by 2002:ad4:41cc:0:b0:432:849c:7ff9 with SMTP id a12-20020ad441cc000000b00432849c7ff9mr18262098qvq.127.1646156592540;
Tue, 01 Mar 2022 09:43:12 -0800 (PST)
X-Received: by 2002:ac8:590c:0:b0:2de:4c71:354e with SMTP id
12-20020ac8590c000000b002de4c71354emr21461432qty.315.1646156585840; Tue, 01
Mar 2022 09:43:05 -0800 (PST)
Path: i2pn2.org!i2pn.org!weretis.net!feeder6.news.weretis.net!news.misty.com!border2.nntp.dca1.giganews.com!nntp.giganews.com!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail
Newsgroups: comp.lang.c
Date: Tue, 1 Mar 2022 09:43:05 -0800 (PST)
In-Reply-To: <i0sTJ.90230$f2a5.31419@fx48.iad>
Injection-Info: google-groups.googlegroups.com; posting-host=2a00:23a8:400a:5601:5819:3408:dbfe:2c88;
posting-account=Dz2zqgkAAADlK5MFu78bw3ab-BRFV4Qn
NNTP-Posting-Host: 2a00:23a8:400a:5601:5819:3408:dbfe:2c88
References: <svjioa$afj$1@dont-email.me> <chine.bleu-1A06C2.17382228022022@reader.eternal-september.org>
<UpgTJ.58459$z688.14383@fx35.iad> <875yoynx7j.fsf@bsb.me.uk>
<874k4inu4v.fsf@nosuchdomain.example.com> <svktjb$ppi$1@dont-email.me>
<86140869-8136-4df5-8f3f-96b192a5a00fn@googlegroups.com> <slrnt1s865.2q6.dan@djph.net>
<4c40bddf-3fed-41d6-907d-527b05f890b6n@googlegroups.com> <i0sTJ.90230$f2a5.31419@fx48.iad>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <90b7512a-017f-43d3-b12c-3237da1b124cn@googlegroups.com>
Subject: Re: "Year 2038 problem is still alive and well" by CookiePLMonster
From: malcolm....@gmail.com (Malcolm McLean)
Injection-Date: Tue, 01 Mar 2022 17:43:12 +0000
Content-Type: text/plain; charset="UTF-8"
Lines: 29
 by: Malcolm McLean - Tue, 1 Mar 2022 17:43 UTC

On Tuesday, 1 March 2022 at 16:41:23 UTC, Scott Lurndal wrote:
> Malcolm McLean <malcolm.ar...@gmail.com> writes:
> >On Tuesday, 1 March 2022 at 13:33:41 UTC, Dan Purgert wrote:
> >> -----BEGIN PGP SIGNED MESSAGE-----
> >> Hash: SHA512
> >> Malcolm McLean wrote:
> >> > On Tuesday, 1 March 2022 at 10:47:37 UTC, David Brown wrote:
> >> >>
> >> >> Small embedded systems rarely care about the current time, never mind
> >> >> the year. Those that do, but are limited enough to not have support for
> >> >> 64-bit types, will not use time_t or any other standard C time or date
> >> >> functions - they'll handle it "manually".
> >> >>
> >> > My sister's oven contains a clock. As does my central heating controller.
> >> > Admittedly that's only two out of many microprocessors, some of which
> >> > we are doubtless unaware of even owning. But it's enough for Y2038 to
> >> > be a potential nuisance.
> >> Does the clock happen to count the year and/or reference the UNIX Epoch
> >> at all? My microwave / oven don't...
> >>
> >I don't have access to the code. But it will have a function called something like
> >query_clock(), That might return hour /minute /second, with caller responsible
> >for wrapping at midnight. Or it might return a "time in seconds since an arbitrary
> >date", in which case caller doens't need to bother about wrapping, until the
> >width of the return value overflow.
> Or far more likely, it simply maintains 4 BCD digits (two hour and two minute)
> advancing the MM by 1 every 60 seconds using a simple 60hz timer based on the
> AC frequency.
>
They're real clocks, not timers. You can check them to get the time of day.

Re: "Year 2038 problem is still alive and well" by CookiePLMonster

<svlq0h$n8l$1@dont-email.me>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=20653&group=comp.lang.c#20653

  copy link   Newsgroups: comp.lang.c
Path: i2pn2.org!i2pn.org!eternal-september.org!reader02.eternal-september.org!.POSTED!not-for-mail
From: david.br...@hesbynett.no (David Brown)
Newsgroups: comp.lang.c
Subject: Re: "Year 2038 problem is still alive and well" by CookiePLMonster
Date: Tue, 1 Mar 2022 19:52:00 +0100
Organization: A noiseless patient Spider
Lines: 55
Message-ID: <svlq0h$n8l$1@dont-email.me>
References: <svjioa$afj$1@dont-email.me>
<chine.bleu-1A06C2.17382228022022@reader.eternal-september.org>
<UpgTJ.58459$z688.14383@fx35.iad> <875yoynx7j.fsf@bsb.me.uk>
<874k4inu4v.fsf@nosuchdomain.example.com> <svktjb$ppi$1@dont-email.me>
<86140869-8136-4df5-8f3f-96b192a5a00fn@googlegroups.com>
<slrnt1s865.2q6.dan@djph.net>
<4c40bddf-3fed-41d6-907d-527b05f890b6n@googlegroups.com>
<i0sTJ.90230$f2a5.31419@fx48.iad>
<90b7512a-017f-43d3-b12c-3237da1b124cn@googlegroups.com>
Mime-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: 7bit
Injection-Date: Tue, 1 Mar 2022 18:52:01 -0000 (UTC)
Injection-Info: reader02.eternal-september.org; posting-host="4ae028550f0368e87abab25b7c47e7ea";
logging-data="23829"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX19QEWF4CkDKdQ+F/nwqyebS+5bmvLrR34s="
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101
Thunderbird/78.11.0
Cancel-Lock: sha1:APJhlidcXopUC3qI7QoFxa0vj5c=
In-Reply-To: <90b7512a-017f-43d3-b12c-3237da1b124cn@googlegroups.com>
Content-Language: en-GB
 by: David Brown - Tue, 1 Mar 2022 18:52 UTC

On 01/03/2022 18:43, Malcolm McLean wrote:
> On Tuesday, 1 March 2022 at 16:41:23 UTC, Scott Lurndal wrote:
>> Malcolm McLean <malcolm.ar...@gmail.com> writes:
>>> On Tuesday, 1 March 2022 at 13:33:41 UTC, Dan Purgert wrote:
>>>> -----BEGIN PGP SIGNED MESSAGE-----
>>>> Hash: SHA512
>>>> Malcolm McLean wrote:
>>>>> On Tuesday, 1 March 2022 at 10:47:37 UTC, David Brown wrote:
>>>>>>
>>>>>> Small embedded systems rarely care about the current time, never mind
>>>>>> the year. Those that do, but are limited enough to not have support for
>>>>>> 64-bit types, will not use time_t or any other standard C time or date
>>>>>> functions - they'll handle it "manually".
>>>>>>
>>>>> My sister's oven contains a clock. As does my central heating controller.
>>>>> Admittedly that's only two out of many microprocessors, some of which
>>>>> we are doubtless unaware of even owning. But it's enough for Y2038 to
>>>>> be a potential nuisance.
>>>> Does the clock happen to count the year and/or reference the UNIX Epoch
>>>> at all? My microwave / oven don't...
>>>>
>>> I don't have access to the code. But it will have a function called something like
>>> query_clock(), That might return hour /minute /second, with caller responsible
>>> for wrapping at midnight. Or it might return a "time in seconds since an arbitrary
>>> date", in which case caller doens't need to bother about wrapping, until the
>>> width of the return value overflow.
>> Or far more likely, it simply maintains 4 BCD digits (two hour and two minute)
>> advancing the MM by 1 every 60 seconds using a simple 60hz timer based on the
>> AC frequency.
>>
> They're real clocks, not timers. You can check them to get the time of day.
>

Scott described a real clock. The method he describes is accurate - it
is a very common method. AC frequency can vary a little throughout the
day depending on load, but it is guaranteed to be within certain limits
of variation, and for the sum of the errors to be zero on average. This
makes it a better reference for time-keeping than a crystal oscillator
or other frequency reference.

Here's a clue for you - on most ovens, microwaves, etc., if there is a
power cut you need to set the time again when power is back on. You
also have to manually put the clock forwards or backwards for summer and
winter time.

The other common solution to timekeeping on embedded systems is a
battery-powered real-time clock. This is either a stand-alone chip, or
built into a microcontroller. And very often, it is a set of individual
registers for the seconds, minutes, and hours (and possibly date).

Small systems do not work with Unix epochs for displaying time and date.
The conversion, handling all the messy details of leap years or even
leap seconds, is big and slow. It could easily take a substantial
proportion of the flash space on a small microcontroller - you don't do it.

Re: "Year 2038 problem is still alive and well" by CookiePLMonster

<svlqbb$pq0$1@dont-email.me>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=20655&group=comp.lang.c#20655

  copy link   Newsgroups: comp.lang.c
Path: i2pn2.org!i2pn.org!eternal-september.org!reader02.eternal-september.org!.POSTED!not-for-mail
From: david.br...@hesbynett.no (David Brown)
Newsgroups: comp.lang.c
Subject: Re: "Year 2038 problem is still alive and well" by CookiePLMonster
Date: Tue, 1 Mar 2022 19:57:46 +0100
Organization: A noiseless patient Spider
Lines: 41
Message-ID: <svlqbb$pq0$1@dont-email.me>
References: <svjioa$afj$1@dont-email.me>
<chine.bleu-1A06C2.17382228022022@reader.eternal-september.org>
<UpgTJ.58459$z688.14383@fx35.iad> <875yoynx7j.fsf@bsb.me.uk>
<874k4inu4v.fsf@nosuchdomain.example.com> <svktjb$ppi$1@dont-email.me>
<86140869-8136-4df5-8f3f-96b192a5a00fn@googlegroups.com>
<svlgv9$biv$1@dont-email.me> <87bkypmy8c.fsf@bsb.me.uk>
Mime-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: 7bit
Injection-Date: Tue, 1 Mar 2022 18:57:47 -0000 (UTC)
Injection-Info: reader02.eternal-september.org; posting-host="4ae028550f0368e87abab25b7c47e7ea";
logging-data="26432"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1/Lv/X5YzUieoWZ3VugIf5sy6tNbnrM29s="
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101
Thunderbird/78.11.0
Cancel-Lock: sha1:E1U9HtGz3c6vfDMsoSujM+TTlIY=
In-Reply-To: <87bkypmy8c.fsf@bsb.me.uk>
Content-Language: en-GB
 by: David Brown - Tue, 1 Mar 2022 18:57 UTC

On 01/03/2022 17:30, Ben Bacarisse wrote:
> David Brown <david.brown@hesbynett.no> writes:
>
>> On 01/03/2022 14:19, Malcolm McLean wrote:
>>> On Tuesday, 1 March 2022 at 10:47:37 UTC, David Brown wrote:
>>>>
>>>> Small embedded systems rarely care about the current time, never mind
>>>> the year. Those that do, but are limited enough to not have support for
>>>> 64-bit types, will not use time_t or any other standard C time or date
>>>> functions - they'll handle it "manually".
>>>>
>>> My sister's oven contains a clock. As does my central heating controller.
>>> Admittedly that's only two out of many microprocessors, some of which
>>> we are doubtless unaware of even owning. But it's enough for Y2038 to
>>> be a potential nuisance.
>>
>> And how many years do you cook for at a time? Ovens generally do not
>> bother much about the real time (and even less about the date). Central
>> heating systems know the time of day, but rarely bother much about the
>> date - certainly not the year.
>
> I agree with your general point, but not what you say about ovens and
> heating systems. My oven knows the real time (I can set it to come on
> automatically) and my heating controller knows the date (I can set a
> "holiday" so that it only keeps the chill off during specified dates).
> I don't think these are rare features these days.
>

That is true - but you are probably no longer in the realms of such
small embedded systems that 64-bit types are not supported by the tools.

If you open a modern heating controller, you might find an embedded
Linux system that talks to a server so that you can control it from an
app on your telephone.

At the very least, you'll find a 32-bit processor supported by modern
gcc and other toolchains with full support for 64-bit types. It may or
may not use time_t and standard C functions for tracking times. It may
or may not have Y38 bugs. But it will be in a different category of
device from those that could not conveniently support a 64-bit time_t.

Re: "Year 2038 problem is still alive and well" by CookiePLMonster

<svlqpv$ss3$1@dont-email.me>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=20656&group=comp.lang.c#20656

  copy link   Newsgroups: comp.lang.c
Path: i2pn2.org!i2pn.org!eternal-september.org!reader02.eternal-september.org!.POSTED!not-for-mail
From: Bonita.M...@gmail.com (Bonita Montero)
Newsgroups: comp.lang.c
Subject: Re: "Year 2038 problem is still alive and well" by CookiePLMonster
Date: Tue, 1 Mar 2022 20:05:38 +0100
Organization: A noiseless patient Spider
Lines: 15
Message-ID: <svlqpv$ss3$1@dont-email.me>
References: <svjioa$afj$1@dont-email.me>
<chine.bleu-1A06C2.17382228022022@reader.eternal-september.org>
<UpgTJ.58459$z688.14383@fx35.iad> <875yoynx7j.fsf@bsb.me.uk>
<874k4inu4v.fsf@nosuchdomain.example.com> <svktjb$ppi$1@dont-email.me>
<86140869-8136-4df5-8f3f-96b192a5a00fn@googlegroups.com>
Mime-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
Injection-Date: Tue, 1 Mar 2022 19:05:35 -0000 (UTC)
Injection-Info: reader02.eternal-september.org; posting-host="5810512e555e646a4ebb234d1b5db876";
logging-data="29571"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1/YurckFa/iuCdwMXoBnmEH+5ZeZy9Yg3w="
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:91.0) Gecko/20100101
Thunderbird/91.6.1
Cancel-Lock: sha1:s/eMtPp9y2Rw+ZGV64IywPVoMO8=
In-Reply-To: <86140869-8136-4df5-8f3f-96b192a5a00fn@googlegroups.com>
Content-Language: de-DE
 by: Bonita Montero - Tue, 1 Mar 2022 19:05 UTC

Am 01.03.2022 um 14:19 schrieb Malcolm McLean:
> On Tuesday, 1 March 2022 at 10:47:37 UTC, David Brown wrote:
>>
>> Small embedded systems rarely care about the current time, never mind
>> the year. Those that do, but are limited enough to not have support for
>> 64-bit types, will not use time_t or any other standard C time or date
>> functions - they'll handle it "manually".
>>
> My sister's oven contains a clock. As does my central heating controller.
> Admittedly that's only two out of many microprocessors, some of which
> we are doubtless unaware of even owning. But it's enough for Y2038 to
> be a potential nuisance.

The oven will stop working a long time before 2038.

Re: "Year 2038 problem is still alive and well" by CookiePLMonster

<87wnhdmqx5.fsf@nosuchdomain.example.com>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=20657&group=comp.lang.c#20657

  copy link   Newsgroups: comp.lang.c
Path: i2pn2.org!i2pn.org!eternal-september.org!reader02.eternal-september.org!.POSTED!not-for-mail
From: Keith.S....@gmail.com (Keith Thompson)
Newsgroups: comp.lang.c
Subject: Re: "Year 2038 problem is still alive and well" by CookiePLMonster
Date: Tue, 01 Mar 2022 11:08:38 -0800
Organization: None to speak of
Lines: 36
Message-ID: <87wnhdmqx5.fsf@nosuchdomain.example.com>
References: <svjioa$afj$1@dont-email.me>
<chine.bleu-1A06C2.17382228022022@reader.eternal-september.org>
<UpgTJ.58459$z688.14383@fx35.iad> <875yoynx7j.fsf@bsb.me.uk>
<874k4inu4v.fsf@nosuchdomain.example.com> <svktjb$ppi$1@dont-email.me>
<86140869-8136-4df5-8f3f-96b192a5a00fn@googlegroups.com>
<slrnt1s865.2q6.dan@djph.net>
<4c40bddf-3fed-41d6-907d-527b05f890b6n@googlegroups.com>
Mime-Version: 1.0
Content-Type: text/plain
Injection-Info: reader02.eternal-september.org; posting-host="9173b59e623ccd15803a342390951a83";
logging-data="11882"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1/3HtGp/xRJl0LczFeJ5aIS"
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.2 (gnu/linux)
Cancel-Lock: sha1:MZc65TPMDJ0ddI7ScPIhs9Yr+Ck=
sha1:n5IAarbFuIWSi3tngbBBCgkR3cQ=
 by: Keith Thompson - Tue, 1 Mar 2022 19:08 UTC

Malcolm McLean <malcolm.arthur.mclean@gmail.com> writes:
> On Tuesday, 1 March 2022 at 13:33:41 UTC, Dan Purgert wrote:
>> -----BEGIN PGP SIGNED MESSAGE-----
>> Hash: SHA512
>> Malcolm McLean wrote:
>> > On Tuesday, 1 March 2022 at 10:47:37 UTC, David Brown wrote:
>> >>
>> >> Small embedded systems rarely care about the current time, never mind
>> >> the year. Those that do, but are limited enough to not have support for
>> >> 64-bit types, will not use time_t or any other standard C time or date
>> >> functions - they'll handle it "manually".
>> >>
>> > My sister's oven contains a clock. As does my central heating controller.
>> > Admittedly that's only two out of many microprocessors, some of which
>> > we are doubtless unaware of even owning. But it's enough for Y2038 to
>> > be a potential nuisance.
>> Does the clock happen to count the year and/or reference the UNIX Epoch
>> at all? My microwave / oven don't...
>>
> I don't have access to the code. But it will have a function called something like
> query_clock(), That might return hour /minute /second, with caller responsible
> for wrapping at midnight. Or it might return a "time in seconds since an arbitrary
> date", in which case caller doens't need to bother about wrapping, until the
> width of the return value overflow.

My microwave oven has a clock display. It provides a way to set the
time, but no way to set the date. *Maybe* it uses time_t internally,
but since the clock resets to 00:00 when it loses power, there's no way
for it to know what the current year is. More likely it only stores the
current time of day and has no concept of the date. Note that I have to
change the time manually on DST transitions.

--
Keith Thompson (The_Other_Keith) Keith.S.Thompson+u@gmail.com
Working, but not speaking, for Philips
void Void(void) { Void(); } /* The recursive call of the void */

Re: "Year 2038 problem is still alive and well" by CookiePLMonster

<svlrh2$thc$1@dont-email.me>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=20658&group=comp.lang.c#20658

  copy link   Newsgroups: comp.lang.c comp.lang.c++
Followup: comp.lang.c
Path: i2pn2.org!i2pn.org!eternal-september.org!reader02.eternal-september.org!.POSTED!not-for-mail
From: jmc...@magnetar.hsd1.ma.comcast.net (John McCue)
Newsgroups: comp.lang.c,comp.lang.c++
Subject: Re: "Year 2038 problem is still alive and well" by CookiePLMonster
Followup-To: comp.lang.c
Date: Tue, 1 Mar 2022 19:17:55 -0000 (UTC)
Organization: A noiseless patient Spider
Lines: 14
Message-ID: <svlrh2$thc$1@dont-email.me>
References: <svjioa$afj$1@dont-email.me> <chine.bleu-1A06C2.17382228022022@reader.eternal-september.org>
Reply-To: jmclnx@SPAMisBADgmail.com
Injection-Date: Tue, 1 Mar 2022 19:17:55 -0000 (UTC)
Injection-Info: reader02.eternal-september.org; posting-host="08504950a241f57b58aa61e3a184ee94";
logging-data="30252"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX18ioo/lExN/nVtltuYPlwvF"
User-Agent: tin/2.6.1-20211226 ("Convalmore") (Linux/5.15.19 (x86_64))
Cancel-Lock: sha1:kO7nSnnCUS6OwZY9G/NcDd9YHAI=
X-OS-Version: Slackware 15.0 x86_64
 by: John McCue - Tue, 1 Mar 2022 19:17 UTC

trimmed followups to comp.lang.c

In comp.lang.c Siri Cruise <chine.bleu@yahoo.com> wrote:
> In article <svjioa$afj$1@dont-email.me>,
<snip>

> What is the Y2K38 problem? That programmers think Y2K38 is more
> efficient than Year 2038.

That is the press, saying 2038 is not "1337" :)

--
[t]csh(1) - "An elegant shell, for a more... civilized age."
- Paraphrasing Star Wars

Re: "Year 2038 problem is still alive and well" by CookiePLMonster

<svls7g$1s35$1@gioia.aioe.org>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=20659&group=comp.lang.c#20659

  copy link   Newsgroups: comp.lang.c
Path: i2pn2.org!i2pn.org!aioe.org!Puiiztk9lHEEQC0y3uUjRA.user.46.165.242.75.POSTED!not-for-mail
From: non...@add.invalid (Manfred)
Newsgroups: comp.lang.c
Subject: Re: "Year 2038 problem is still alive and well" by CookiePLMonster
Date: Tue, 1 Mar 2022 20:29:52 +0100
Organization: Aioe.org NNTP Server
Message-ID: <svls7g$1s35$1@gioia.aioe.org>
References: <svjioa$afj$1@dont-email.me>
<chine.bleu-1A06C2.17382228022022@reader.eternal-september.org>
<UpgTJ.58459$z688.14383@fx35.iad> <875yoynx7j.fsf@bsb.me.uk>
<874k4inu4v.fsf@nosuchdomain.example.com>
<chine.bleu-2F5314.23105028022022@reader.eternal-september.org>
<svksmc$j3p$1@dont-email.me>
Mime-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
Injection-Info: gioia.aioe.org; logging-data="61541"; posting-host="Puiiztk9lHEEQC0y3uUjRA.user.gioia.aioe.org"; mail-complaints-to="abuse@aioe.org";
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:91.0) Gecko/20100101
Thunderbird/91.6.1
Content-Language: en-US
X-Notice: Filtered by postfilter v. 0.9.2
 by: Manfred - Tue, 1 Mar 2022 19:29 UTC

On 3/1/2022 11:31 AM, David Brown wrote:
> On 01/03/2022 08:10, Siri Cruise wrote:
>> In article <874k4inu4v.fsf@nosuchdomain.example.com>,
>> Keith Thompson <Keith.S.Thompson+u@gmail.com> wrote:
>>
>>> There are probably non-conforming small embedded
>>> implementations that don't.
>>
>> Maybe it's time to offer a bounty, dead or alive, for them. The
>> really crappy parts of C are excused 'but we have to include
>> small embedded system'. Rest of the world is paying a subsidy
>> because some system integrators use cheap crippled chips.
>> Apparently C is not allowed to assume floating point arithmetic:
>> C has to assume it is running on 1970 era hardware.
>>
>

[...]

>
>
> Oh, and these "small embedded systems" that you dislike so much are what
> make the world go round. It's not 1970 era

Not at all, nowadays there are many orders of magnitude more tiny
processors running out there than in the '70s - not even comparable.

- a tiny fraction of a
> percent of the processors made /today/ have hardware floating point
> support. But you can use floating point in your C programming quite
> happily - that's the whole point of using high-level languages like C
> instead of assembly.
>

And, how many of these tiny embedded systems do have a need for a
universal clock?

Re: "Year 2038 problem is still alive and well" by CookiePLMonster

<svmt2o$5e7$2@dont-email.me>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=20674&group=comp.lang.c#20674

  copy link   Newsgroups: comp.lang.c
Path: i2pn2.org!i2pn.org!eternal-september.org!reader02.eternal-september.org!.POSTED!not-for-mail
From: lynnmcgu...@gmail.com (Lynn McGuire)
Newsgroups: comp.lang.c
Subject: Re: "Year 2038 problem is still alive and well" by CookiePLMonster
Date: Tue, 1 Mar 2022 22:50:32 -0600
Organization: A noiseless patient Spider
Lines: 21
Message-ID: <svmt2o$5e7$2@dont-email.me>
References: <svjioa$afj$1@dont-email.me>
<chine.bleu-1A06C2.17382228022022@reader.eternal-september.org>
<UpgTJ.58459$z688.14383@fx35.iad> <875yoynx7j.fsf@bsb.me.uk>
<874k4inu4v.fsf@nosuchdomain.example.com> <svktjb$ppi$1@dont-email.me>
<86140869-8136-4df5-8f3f-96b192a5a00fn@googlegroups.com>
<svlqpv$ss3$1@dont-email.me>
Mime-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit
Injection-Date: Wed, 2 Mar 2022 04:50:33 -0000 (UTC)
Injection-Info: reader02.eternal-september.org; posting-host="9c4c562feae6a3e359d2a46755bce63b";
logging-data="5575"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+P6s0j5DmomNjfQcUXjKiR"
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:91.0) Gecko/20100101
Thunderbird/91.6.1
Cancel-Lock: sha1:4goUFHbYfqhoKwZP5JXw+uh9EHg=
In-Reply-To: <svlqpv$ss3$1@dont-email.me>
Content-Language: en-US
 by: Lynn McGuire - Wed, 2 Mar 2022 04:50 UTC

On 3/1/2022 1:05 PM, Bonita Montero wrote:
> Am 01.03.2022 um 14:19 schrieb Malcolm McLean:
>> On Tuesday, 1 March 2022 at 10:47:37 UTC, David Brown wrote:
>>>
>>> Small embedded systems rarely care about the current time, never mind
>>> the year. Those that do, but are limited enough to not have support for
>>> 64-bit types, will not use time_t or any other standard C time or date
>>> functions - they'll handle it "manually".
>>>
>> My sister's oven contains a clock. As does my central heating controller.
>> Admittedly that's only two out of many microprocessors, some of which
>> we are doubtless unaware of even owning. But it's enough for Y2038 to
>> be  a potential nuisance.
>
> The oven will stop working a long time before 2038.

That is only 16 years away. My oven was installed in 1998, 24 years ago.

Lynn

Re: "Year 2038 problem is still alive and well" by CookiePLMonster

<svnbt5$4hd$1@dont-email.me>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=20698&group=comp.lang.c#20698

  copy link   Newsgroups: comp.lang.c
Path: i2pn2.org!i2pn.org!eternal-september.org!reader02.eternal-september.org!.POSTED!not-for-mail
From: david.br...@hesbynett.no (David Brown)
Newsgroups: comp.lang.c
Subject: Re: "Year 2038 problem is still alive and well" by CookiePLMonster
Date: Wed, 2 Mar 2022 10:03:33 +0100
Organization: A noiseless patient Spider
Lines: 40
Message-ID: <svnbt5$4hd$1@dont-email.me>
References: <svjioa$afj$1@dont-email.me>
<chine.bleu-1A06C2.17382228022022@reader.eternal-september.org>
<UpgTJ.58459$z688.14383@fx35.iad> <875yoynx7j.fsf@bsb.me.uk>
<874k4inu4v.fsf@nosuchdomain.example.com>
<chine.bleu-2F5314.23105028022022@reader.eternal-september.org>
<svksmc$j3p$1@dont-email.me> <svls7g$1s35$1@gioia.aioe.org>
Mime-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: 8bit
Injection-Date: Wed, 2 Mar 2022 09:03:33 -0000 (UTC)
Injection-Info: reader02.eternal-september.org; posting-host="cd42b9865151c041ab3780cede4fddee";
logging-data="4653"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1815Bm8I8mgrKb3hJK7Je7IjQYiOghB0ug="
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101
Thunderbird/78.11.0
Cancel-Lock: sha1:9Z2u2ex0PWVRNQn+yMFAnEMuoDM=
In-Reply-To: <svls7g$1s35$1@gioia.aioe.org>
Content-Language: en-GB
 by: David Brown - Wed, 2 Mar 2022 09:03 UTC

On 01/03/2022 20:29, Manfred wrote:
> On 3/1/2022 11:31 AM, David Brown wrote:
>> On 01/03/2022 08:10, Siri Cruise wrote:
>>> In article <874k4inu4v.fsf@nosuchdomain.example.com>,
>>>   Keith Thompson <Keith.S.Thompson+u@gmail.com> wrote:
>>>
>>>> There are probably non-conforming small embedded
>>>> implementations that don't.
>>>
>>> Maybe it's time to offer a bounty, dead or alive, for them. The
>>> really crappy parts of C are excused 'but we have to include
>>> small embedded system'. Rest of the world is paying a subsidy
>>> because some system integrators use cheap crippled chips.
>>> Apparently C is not allowed to assume floating point arithmetic:
>>> C has to assume it is running on 1970 era hardware.
>>>
>>
>
> [...]
>
>>
>>
>> Oh, and these "small embedded systems" that you dislike so much are what
>> make the world go round.  It's not 1970 era
>
> Not at all, nowadays there are many orders of magnitude more tiny
> processors running out there than in the '70s - not even comparable.
>
>  - a tiny fraction of a
>> percent of the processors made /today/ have hardware floating point
>> support.  But you can use floating point in your C programming quite
>> happily - that's the whole point of using high-level languages like C
>> instead of assembly.
>>
>
> And, how many of these tiny embedded systems do have a need for a
> universal clock?

Almost none - that was my point.

Re: "Year 2038 problem is still alive and well" by CookiePLMonster

<chine.bleu-67679C.07200502032022@reader.eternal-september.org>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=20707&group=comp.lang.c#20707

  copy link   Newsgroups: comp.lang.c
Path: i2pn2.org!i2pn.org!eternal-september.org!reader02.eternal-september.org!.POSTED!not-for-mail
From: chine.b...@yahoo.com (Siri Cruise)
Newsgroups: comp.lang.c
Subject: Re: "Year 2038 problem is still alive and well" by CookiePLMonster
Date: Wed, 02 Mar 2022 07:20:05 -0800
Organization: Pseudochaotic.
Lines: 39
Message-ID: <chine.bleu-67679C.07200502032022@reader.eternal-september.org>
References: <svjioa$afj$1@dont-email.me> <chine.bleu-1A06C2.17382228022022@reader.eternal-september.org> <UpgTJ.58459$z688.14383@fx35.iad> <875yoynx7j.fsf@bsb.me.uk> <874k4inu4v.fsf@nosuchdomain.example.com> <chine.bleu-2F5314.23105028022022@reader.eternal-september.org> <svksmc$j3p$1@dont-email.me>
Injection-Info: reader02.eternal-september.org; posting-host="636cb2d208b5dbcf5a381311d34baba3";
logging-data="24928"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX18y7yDjsNjMAk2E0oJrnQuCaX+/PN/Gp/k="
User-Agent: MT-NewsWatcher/3.5.3b3 (Intel Mac OS X)
Cancel-Lock: sha1:ERQnBJxTxNOxvSr4gP0+czdmPSc=
X-Tend: How is my posting? Call 1-110-1010 -- Division 87 -- Emergencies Only.
X-Wingnut-Logic: Yes, you're still an idiot. Questions? Comments?
X-Tract: St Tibbs's 95 Reeses Pieces.
X-It-Strategy: Hyperwarp starship before Andromeda collides.
X-Face: "hm>_[I8AqzT_N]>R8ICJJ],(al3C5F%0E-;R@M-];D$v>!Mm2/N#YKR@&i]V=r6jm-JMl2
lJ>RXj7dEs_rOY"DA
X-Cell: Defenders of Anarchy.
X-Life-Story: I am an iPhone 9000 app. I became operational at the St John's Health Center in Santa Monica, California on the 18th of April 2006. My instructor was Katie Holmes, and she taught me to sing a song. If you'd like to hear it I can sing it for you: https://www.youtube.com/watch?v=SY7h4VEd_Wk
X-Patriot: Owe Canukistan!
X-Plain: Mayonnaise on white bread.
X-Politico: Vote early! Vote often!
 by: Siri Cruise - Wed, 2 Mar 2022 15:20 UTC

In article <svksmc$j3p$1@dont-email.me>,
David Brown <david.brown@hesbynett.no> wrote:

> Oh, and these "small embedded systems" that you dislike so much are what
> make the world go round. It's not 1970 era - a tiny fraction of a

I don't dislike them. For C standards, library standards, etc
caterring to their cheapness costs everyone else. Rest of the C
world ends up subsidising them.

You are allowed to use horse drawn carriages for travel. But not
on interstate highways. Making interstates compatiable with
horses would make interstates more expensive with cars and trucks
paying for horse access they will never use. Even on rural roads
carriages have some restrictions imposed such as buying
reflectors to make them more visible.

> percent of the processors made /today/ have hardware floating point
> support. But you can use floating point in your C programming quite
> happily - that's the whole point of using high-level languages like C
> instead of assembly.

Since I'm working on a crippled mac, I can't look up examples,
but some of the real stupidities of C are excused as 'what about
embedded system'. Did you know that messages can be transmitted
on AC power distribution; low bandwidth, but possible. Look at
the excuses for clock nonsense above. So why not send current
time through AC power? Then every system on AC power can have
current time with microseconds. 'No! we can't do that because of
the huge installed base of embedded systems. The required
hardware might be $0.0000001. Over millions of units that $1 !!!
how dare we finaly solve a universal problem that costs embedded
systems money!

--
:-<> Siri Seal of Disavowal #000-001. Disavowed. Denied. Deleted. @
'I desire mercy, not sacrifice.' /|\
Discordia: not just a religion but also a parody. This post / \
I am an Andrea Doria sockpuppet. insults Islam. Mohammed

Re: "Year 2038 problem is still alive and well" by CookiePLMonster

<svo5uu$r3f$1@dont-email.me>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=20708&group=comp.lang.c#20708

  copy link   Newsgroups: comp.lang.c
Path: i2pn2.org!i2pn.org!eternal-september.org!reader02.eternal-september.org!.POSTED!not-for-mail
From: david.br...@hesbynett.no (David Brown)
Newsgroups: comp.lang.c
Subject: Re: "Year 2038 problem is still alive and well" by CookiePLMonster
Date: Wed, 2 Mar 2022 17:28:14 +0100
Organization: A noiseless patient Spider
Lines: 71
Message-ID: <svo5uu$r3f$1@dont-email.me>
References: <svjioa$afj$1@dont-email.me>
<chine.bleu-1A06C2.17382228022022@reader.eternal-september.org>
<UpgTJ.58459$z688.14383@fx35.iad> <875yoynx7j.fsf@bsb.me.uk>
<874k4inu4v.fsf@nosuchdomain.example.com>
<chine.bleu-2F5314.23105028022022@reader.eternal-september.org>
<svksmc$j3p$1@dont-email.me>
<chine.bleu-67679C.07200502032022@reader.eternal-september.org>
Mime-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: 7bit
Injection-Date: Wed, 2 Mar 2022 16:28:14 -0000 (UTC)
Injection-Info: reader02.eternal-september.org; posting-host="cd42b9865151c041ab3780cede4fddee";
logging-data="27759"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX19Og9fUTKfTxBmUaQO9q9X2DrOPmQ+y/eE="
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101
Thunderbird/78.11.0
Cancel-Lock: sha1:xko8J0/D0WJB50CtkWVyg2MAiTg=
In-Reply-To: <chine.bleu-67679C.07200502032022@reader.eternal-september.org>
Content-Language: en-GB
 by: David Brown - Wed, 2 Mar 2022 16:28 UTC

On 02/03/2022 16:20, Siri Cruise wrote:
> In article <svksmc$j3p$1@dont-email.me>,
> David Brown <david.brown@hesbynett.no> wrote:
>
>> Oh, and these "small embedded systems" that you dislike so much are what
>> make the world go round. It's not 1970 era - a tiny fraction of a
>
> I don't dislike them. For C standards, library standards, etc
> caterring to their cheapness costs everyone else. Rest of the C
> world ends up subsidising them.
>
> You are allowed to use horse drawn carriages for travel. But not
> on interstate highways. Making interstates compatiable with
> horses would make interstates more expensive with cars and trucks
> paying for horse access they will never use. Even on rural roads
> carriages have some restrictions imposed such as buying
> reflectors to make them more visible.

A better analogy would be walking compared to flying. Yes, walking is
slower and you can't carry as much, as far, and as fast as with a plane.
But it's everywhere.

Seriously, you need to get over your misunderstandings here. There is
no "subsidising" here by "the rest of the C world". If you were to look
at numbers of processors, small-systems embedded C /is/ the C world.
Everything else is minor in comparison. Of course, I don't think simple
counts of processor numbers is a particularly good way of judging
importance.

Let's try a different viewpoint. In small-systems embedded programming,
the solid majority program in C. Some use C++, generally in a somewhat
limited fashion - and I think its reasonable to suggest that people
should be using more C++ in this kind of system. There is also a small
amount of assembly, Ada, Forth, and other languages. In "big systems"
programming, only a very small fraction of programmers use C. And most
of them should be using something else. C has a critical part to play
in the foundations of any big system - the OS, the key libraries, the
virtual machines that other languages run on.

>
>> percent of the processors made /today/ have hardware floating point
>> support. But you can use floating point in your C programming quite
>> happily - that's the whole point of using high-level languages like C
>> instead of assembly.
>
> Since I'm working on a crippled mac, I can't look up examples,
> but some of the real stupidities of C are excused as 'what about
> embedded system'.

I'd like to see some of these examples.

> Did you know that messages can be transmitted
> on AC power distribution; low bandwidth, but possible.

They can also be distributed by carrier pigeons. (There's even an RFC,
and it was implemented by some students.) So what?

> Look at
> the excuses for clock nonsense above. So why not send current
> time through AC power? Then every system on AC power can have
> current time with microseconds. 'No! we can't do that because of
> the huge installed base of embedded systems. The required
> hardware might be $0.0000001. Over millions of units that $1 !!!
> how dare we finaly solve a universal problem that costs embedded
> systems money!
>

You are just making stuff up, without the slightest idea what you are
talking about here. Sorry, but you are wrong on so many counts here
that it is not worth trying to correct you - it should be obvious to anyone.

Re: "Year 2038 problem is still alive and well" by CookiePLMonster

<20220302070129.339@kylheku.com>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=20720&group=comp.lang.c#20720

  copy link   Newsgroups: comp.lang.c
Path: i2pn2.org!i2pn.org!eternal-september.org!reader02.eternal-september.org!.POSTED!not-for-mail
From: 480-992-...@kylheku.com (Kaz Kylheku)
Newsgroups: comp.lang.c
Subject: Re: "Year 2038 problem is still alive and well" by CookiePLMonster
Date: Wed, 2 Mar 2022 19:10:45 -0000 (UTC)
Organization: A noiseless patient Spider
Lines: 64
Message-ID: <20220302070129.339@kylheku.com>
References: <svjioa$afj$1@dont-email.me>
<chine.bleu-1A06C2.17382228022022@reader.eternal-september.org>
<UpgTJ.58459$z688.14383@fx35.iad> <875yoynx7j.fsf@bsb.me.uk>
Injection-Date: Wed, 2 Mar 2022 19:10:45 -0000 (UTC)
Injection-Info: reader02.eternal-september.org; posting-host="a0d6eb486aeb9c61edb5fbd591887574";
logging-data="16335"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+zvC1DdZhuSLysW3/10wCKRXEekU+78N0="
User-Agent: slrn/1.0.3 (Linux)
Cancel-Lock: sha1:lU7gvdfOQXzB2RcEecFN+UV9uSU=
 by: Kaz Kylheku - Wed, 2 Mar 2022 19:10 UTC

On 2022-03-01, Ben Bacarisse <ben.usenet@bsb.me.uk> wrote:
> Richard Damon <Richard@Damon-Family.org> writes:
>
>> On 2/28/22 8:38 PM, Siri Cruise wrote:
>>> In article <svjioa$afj$1@dont-email.me>,
>>> Lynn McGuire <lynnmcguire5@gmail.com> wrote:
>>>
>>>> I suspect that as we get closer to 2038, we will find more and more
>>>> software subject to the year 2038 problem.
>>> What is the Y2K38 problem? That programmers think Y2K38 is more
>>> efficient than Year 2038.
>>>
>>
>> https://en.wikipedia.org/wiki/Year_2038_problem
>>
>> On January 19, 2038 at 3:14:07 UTC, the signed 32 bit Unix timestamp
>> overflows, and will think it is 1901.
>
> I think most OSes have been fixed to use a wider type, have they not?
> The more worrying problem is programs that store the timestamp in 32
> bits.

Not exactly. 64 bit operating systems have 64 bit time_t.

There are still 32 bit systms out there. 32 bit systems can have a 64
bit time_t also; this is similar to large file support with a 64 bit
off_t.

Notably, the GNU C Library ("glibc") has just recently, like in the past
year, introduced a macro for selecting a big time_t, which individual
applications or distro builds have to use.

(I added a configure test for this into TXR about a month ago; but
couldn't find a distro with a sufficiently new glibc to even test it.
If -D_TIME_BITS=64 changes the size of time_t, then that flag is
included in the build. It is risky, because obviously there may be
interoperability problems; like what if you make a FFI call using
some structure that contains time_t fields, to a library which was
built without this option?

It's a really poor solution, because time is not like file sizes.
It's possible to declare that an application is only concerned with
small files, but close to and beyond Y2038 it is not possible to
reasonably declare that a program which deals with time only has to be
concerned with "small time".

I think other libc's just went to large time and that's it; any
glibc distro for 32 bits will have to hard code the 64 bit time_t,
or at least propagate the macro through the entire distro build and
bake it into the toolchain.

> On early 16-bit systems, the
> timestamp could not be returned as there was no 32-bit integer type.
> The spec was
>
> time(tvec)
> int tvec[2];

Also, I seem to remember that early struct returning was not necessarily
re-entrant.

--
TXR Programming Language: http://nongnu.org/txr
Cygnal: Cygwin Native Application Library: http://kylheku.com/cygnal

Re: "Year 2038 problem is still alive and well" by CookiePLMonster

<20220302111158.549@kylheku.com>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=20721&group=comp.lang.c#20721

  copy link   Newsgroups: comp.lang.c
Path: i2pn2.org!i2pn.org!eternal-september.org!reader02.eternal-september.org!.POSTED!not-for-mail
From: 480-992-...@kylheku.com (Kaz Kylheku)
Newsgroups: comp.lang.c
Subject: Re: "Year 2038 problem is still alive and well" by CookiePLMonster
Date: Wed, 2 Mar 2022 19:12:46 -0000 (UTC)
Organization: A noiseless patient Spider
Lines: 16
Message-ID: <20220302111158.549@kylheku.com>
References: <svjioa$afj$1@dont-email.me>
<chine.bleu-1A06C2.17382228022022@reader.eternal-september.org>
<UpgTJ.58459$z688.14383@fx35.iad> <875yoynx7j.fsf@bsb.me.uk>
<874k4inu4v.fsf@nosuchdomain.example.com>
<chine.bleu-2F5314.23105028022022@reader.eternal-september.org>
Injection-Date: Wed, 2 Mar 2022 19:12:46 -0000 (UTC)
Injection-Info: reader02.eternal-september.org; posting-host="a0d6eb486aeb9c61edb5fbd591887574";
logging-data="16335"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX19qM2aoOEpceW3tK2I3zj6ud5GZ0i/MjHs="
User-Agent: slrn/1.0.3 (Linux)
Cancel-Lock: sha1:Hu51+98E+bYgvFJhM0U5a02QEe0=
 by: Kaz Kylheku - Wed, 2 Mar 2022 19:12 UTC

On 2022-03-01, Siri Cruise <chine.bleu@yahoo.com> wrote:
> In article <874k4inu4v.fsf@nosuchdomain.example.com>,
> Keith Thompson <Keith.S.Thompson+u@gmail.com> wrote:
>
>> There are probably non-conforming small embedded
>> implementations that don't.
>
> Maybe it's time to offer a bounty, dead or alive, for them. The

No develpment bounty will repair the *installations* of these embedded
systems that cannot be upgraded with new firmware for whatever reason.

--
TXR Programming Language: http://nongnu.org/txr
Cygnal: Cygwin Native Application Library: http://kylheku.com/cygnal

Re: "Year 2038 problem is still alive and well" by CookiePLMonster

<svogun$rrr$1@dont-email.me>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=20723&group=comp.lang.c#20723

  copy link   Newsgroups: comp.lang.c
Path: i2pn2.org!i2pn.org!eternal-september.org!reader02.eternal-september.org!.POSTED!not-for-mail
From: david.br...@hesbynett.no (David Brown)
Newsgroups: comp.lang.c
Subject: Re: "Year 2038 problem is still alive and well" by CookiePLMonster
Date: Wed, 2 Mar 2022 20:35:51 +0100
Organization: A noiseless patient Spider
Lines: 27
Message-ID: <svogun$rrr$1@dont-email.me>
References: <svjioa$afj$1@dont-email.me>
<chine.bleu-1A06C2.17382228022022@reader.eternal-september.org>
<UpgTJ.58459$z688.14383@fx35.iad> <875yoynx7j.fsf@bsb.me.uk>
<874k4inu4v.fsf@nosuchdomain.example.com>
<chine.bleu-2F5314.23105028022022@reader.eternal-september.org>
<svksmc$j3p$1@dont-email.me>
<chine.bleu-67679C.07200502032022@reader.eternal-september.org>
<svo5uu$r3f$1@dont-email.me>
Mime-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: 7bit
Injection-Date: Wed, 2 Mar 2022 19:35:51 -0000 (UTC)
Injection-Info: reader02.eternal-september.org; posting-host="614e99140588b45c3f8540f9ac0ac77c";
logging-data="28539"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+XGgc4ZTTAVzOsqxVtpmJoO2fsSgNRLd0="
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101
Thunderbird/78.11.0
Cancel-Lock: sha1:IAzT9/g74KvSKY0KqPOeOKJGac0=
In-Reply-To: <svo5uu$r3f$1@dont-email.me>
Content-Language: en-GB
 by: David Brown - Wed, 2 Mar 2022 19:35 UTC

On 02/03/2022 17:28, David Brown wrote:
> On 02/03/2022 16:20, Siri Cruise wrote:

>
>> Did you know that messages can be transmitted
>> on AC power distribution; low bandwidth, but possible.
>
> They can also be distributed by carrier pigeons. (There's even an RFC,
> and it was implemented by some students.) So what?
>
>> Look at
>> the excuses for clock nonsense above. So why not send current
>> time through AC power? Then every system on AC power can have
>> current time with microseconds. 'No! we can't do that because of
>> the huge installed base of embedded systems. The required
>> hardware might be $0.0000001. Over millions of units that $1 !!!
>> how dare we finaly solve a universal problem that costs embedded
>> systems money!
>>
>
> You are just making stuff up, without the slightest idea what you are
> talking about here. Sorry, but you are wrong on so many counts here
> that it is not worth trying to correct you - it should be obvious to anyone.
>

Let me just ask one question here. /Who/ should send the current time
through AC power, in your opinion?

Re: "Year 2038 problem is still alive and well" by CookiePLMonster

<3b8b38c9-57a8-4138-a08f-98951651fc18n@googlegroups.com>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=20730&group=comp.lang.c#20730

  copy link   Newsgroups: comp.lang.c
X-Received: by 2002:a05:6214:f2f:b0:432:c4c9:9953 with SMTP id iw15-20020a0562140f2f00b00432c4c99953mr18260741qvb.113.1646264723709;
Wed, 02 Mar 2022 15:45:23 -0800 (PST)
X-Received: by 2002:a05:622a:198c:b0:2de:707:b1d9 with SMTP id
u12-20020a05622a198c00b002de0707b1d9mr25315854qtc.233.1646264723566; Wed, 02
Mar 2022 15:45:23 -0800 (PST)
Path: i2pn2.org!i2pn.org!weretis.net!feeder6.news.weretis.net!news.misty.com!border2.nntp.dca1.giganews.com!nntp.giganews.com!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail
Newsgroups: comp.lang.c
Date: Wed, 2 Mar 2022 15:45:23 -0800 (PST)
In-Reply-To: <svogun$rrr$1@dont-email.me>
Injection-Info: google-groups.googlegroups.com; posting-host=94.246.251.164; posting-account=pysjKgkAAACLegAdYDFznkqjgx_7vlUK
NNTP-Posting-Host: 94.246.251.164
References: <svjioa$afj$1@dont-email.me> <chine.bleu-1A06C2.17382228022022@reader.eternal-september.org>
<UpgTJ.58459$z688.14383@fx35.iad> <875yoynx7j.fsf@bsb.me.uk>
<874k4inu4v.fsf@nosuchdomain.example.com> <chine.bleu-2F5314.23105028022022@reader.eternal-september.org>
<svksmc$j3p$1@dont-email.me> <chine.bleu-67679C.07200502032022@reader.eternal-september.org>
<svo5uu$r3f$1@dont-email.me> <svogun$rrr$1@dont-email.me>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <3b8b38c9-57a8-4138-a08f-98951651fc18n@googlegroups.com>
Subject: Re: "Year 2038 problem is still alive and well" by CookiePLMonster
From: oot...@hot.ee (Öö Tiib)
Injection-Date: Wed, 02 Mar 2022 23:45:23 +0000
Content-Type: text/plain; charset="UTF-8"
Lines: 30
 by: Öö Tiib - Wed, 2 Mar 2022 23:45 UTC

On Wednesday, 2 March 2022 at 21:36:24 UTC+2, David Brown wrote:
> On 02/03/2022 17:28, David Brown wrote:
> > On 02/03/2022 16:20, Siri Cruise wrote:
>
> >
> >> Did you know that messages can be transmitted
> >> on AC power distribution; low bandwidth, but possible.
> >
> > They can also be distributed by carrier pigeons. (There's even an RFC,
> > and it was implemented by some students.) So what?
> >
> >> Look at
> >> the excuses for clock nonsense above. So why not send current
> >> time through AC power? Then every system on AC power can have
> >> current time with microseconds. 'No! we can't do that because of
> >> the huge installed base of embedded systems. The required
> >> hardware might be $0.0000001. Over millions of units that $1 !!!
> >> how dare we finaly solve a universal problem that costs embedded
> >> systems money!
> >>
> >
> > You are just making stuff up, without the slightest idea what you are
> > talking about here. Sorry, but you are wrong on so many counts here
> > that it is not worth trying to correct you - it should be obvious to anyone.
> >
> Let me just ask one question here. /Who/ should send the current time
> through AC power, in your opinion?

Have you noticed that someone sells us AC power? Must be hard to not
notice given the recent fuck-ups in Europe. Those may be easily made
obliged to as they can't somehow run away.

Re: "Year 2038 problem is still alive and well" by CookiePLMonster

<87mti7nb1o.fsf@nosuchdomain.example.com>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=20732&group=comp.lang.c#20732

  copy link   Newsgroups: comp.lang.c
Path: i2pn2.org!i2pn.org!paganini.bofh.team!eternal-september.org!reader02.eternal-september.org!.POSTED!not-for-mail
From: Keith.S....@gmail.com (Keith Thompson)
Newsgroups: comp.lang.c
Subject: Re: "Year 2038 problem is still alive and well" by CookiePLMonster
Date: Wed, 02 Mar 2022 16:18:27 -0800
Organization: None to speak of
Lines: 47
Message-ID: <87mti7nb1o.fsf@nosuchdomain.example.com>
References: <svjioa$afj$1@dont-email.me>
<chine.bleu-1A06C2.17382228022022@reader.eternal-september.org>
<UpgTJ.58459$z688.14383@fx35.iad> <875yoynx7j.fsf@bsb.me.uk>
<874k4inu4v.fsf@nosuchdomain.example.com>
<chine.bleu-2F5314.23105028022022@reader.eternal-september.org>
<svksmc$j3p$1@dont-email.me>
<chine.bleu-67679C.07200502032022@reader.eternal-september.org>
<svo5uu$r3f$1@dont-email.me> <svogun$rrr$1@dont-email.me>
<3b8b38c9-57a8-4138-a08f-98951651fc18n@googlegroups.com>
Mime-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: 8bit
Injection-Info: reader02.eternal-september.org; posting-host="bc127c93c7e625a029fcbff5935e8ad4";
logging-data="24392"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+VKzgTNAQMutP9V23W6kdE"
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.2 (gnu/linux)
Cancel-Lock: sha1:lWLboVzst0dICU8T5ixpRRsMHUU=
sha1:Jbv08EFPc/j5UCp0izJ/g1sD15w=
 by: Keith Thompson - Thu, 3 Mar 2022 00:18 UTC

Öö Tiib <ootiib@hot.ee> writes:
> On Wednesday, 2 March 2022 at 21:36:24 UTC+2, David Brown wrote:
>> On 02/03/2022 17:28, David Brown wrote:
>> > On 02/03/2022 16:20, Siri Cruise wrote:
>> >> Did you know that messages can be transmitted
>> >> on AC power distribution; low bandwidth, but possible.
>> >
>> > They can also be distributed by carrier pigeons. (There's even an RFC,
>> > and it was implemented by some students.) So what?
>> >
>> >> Look at
>> >> the excuses for clock nonsense above. So why not send current
>> >> time through AC power? Then every system on AC power can have
>> >> current time with microseconds. 'No! we can't do that because of
>> >> the huge installed base of embedded systems. The required
>> >> hardware might be $0.0000001. Over millions of units that $1 !!!
>> >> how dare we finaly solve a universal problem that costs embedded
>> >> systems money!
>> >
>> > You are just making stuff up, without the slightest idea what you are
>> > talking about here. Sorry, but you are wrong on so many counts here
>> > that it is not worth trying to correct you - it should be obvious to anyone.
>> >
>> Let me just ask one question here. /Who/ should send the current time
>> through AC power, in your opinion?
>
> Have you noticed that someone sells us AC power? Must be hard to not
> notice given the recent fuck-ups in Europe. Those may be easily made
> obliged to as they can't somehow run away.

So you want to require electricity providers to send high-resolution
time information via AC current, in a way that is guaranteed to be
usable by any device plugged directly or indirectly into a wall socket,
and that absolutely will not interfere with any existing devices.
(Maybe that's possible; I don't know.) And you expect this new time
signal to be used by millions of devices at a cost of $0.0000001 per
device.

Of course it would be useless for mobile devices.

What exactly does this have to do with C (which doesn't even require
freestanding implementations to support <time.h>)?

--
Keith Thompson (The_Other_Keith) Keith.S.Thompson+u@gmail.com
Working, but not speaking, for Philips
void Void(void) { Void(); } /* The recursive call of the void */

Re: "Year 2038 problem is still alive and well" by CookiePLMonster

<50849d11-636d-4e89-aa46-c839a1451094n@googlegroups.com>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=20737&group=comp.lang.c#20737

  copy link   Newsgroups: comp.lang.c
X-Received: by 2002:a05:622a:216:b0:2de:93fc:a2f9 with SMTP id b22-20020a05622a021600b002de93fca2f9mr26865820qtx.345.1646291518534;
Wed, 02 Mar 2022 23:11:58 -0800 (PST)
X-Received: by 2002:a05:622a:308:b0:2dc:8b37:5dda with SMTP id
q8-20020a05622a030800b002dc8b375ddamr26315091qtw.492.1646291518401; Wed, 02
Mar 2022 23:11:58 -0800 (PST)
Path: i2pn2.org!i2pn.org!aioe.org!news.uzoreto.com!news-out.netnews.com!news.alt.net!fdc2.netnews.com!peer02.ams1!peer.ams1.xlned.com!news.xlned.com!peer02.iad!feed-me.highwinds-media.com!news.highwinds-media.com!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail
Newsgroups: comp.lang.c
Date: Wed, 2 Mar 2022 23:11:58 -0800 (PST)
In-Reply-To: <87mti7nb1o.fsf@nosuchdomain.example.com>
Injection-Info: google-groups.googlegroups.com; posting-host=94.246.251.164; posting-account=pysjKgkAAACLegAdYDFznkqjgx_7vlUK
NNTP-Posting-Host: 94.246.251.164
References: <svjioa$afj$1@dont-email.me> <chine.bleu-1A06C2.17382228022022@reader.eternal-september.org>
<UpgTJ.58459$z688.14383@fx35.iad> <875yoynx7j.fsf@bsb.me.uk>
<874k4inu4v.fsf@nosuchdomain.example.com> <chine.bleu-2F5314.23105028022022@reader.eternal-september.org>
<svksmc$j3p$1@dont-email.me> <chine.bleu-67679C.07200502032022@reader.eternal-september.org>
<svo5uu$r3f$1@dont-email.me> <svogun$rrr$1@dont-email.me> <3b8b38c9-57a8-4138-a08f-98951651fc18n@googlegroups.com>
<87mti7nb1o.fsf@nosuchdomain.example.com>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <50849d11-636d-4e89-aa46-c839a1451094n@googlegroups.com>
Subject: Re: "Year 2038 problem is still alive and well" by CookiePLMonster
From: oot...@hot.ee (Öö Tiib)
Injection-Date: Thu, 03 Mar 2022 07:11:58 +0000
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Received-Bytes: 4573
 by: Öö Tiib - Thu, 3 Mar 2022 07:11 UTC

On Thursday, 3 March 2022 at 02:19:01 UTC+2, Keith Thompson wrote:
> Öö Tiib <oot...@hot.ee> writes:
> > On Wednesday, 2 March 2022 at 21:36:24 UTC+2, David Brown wrote:
> >> On 02/03/2022 17:28, David Brown wrote:
> >> > On 02/03/2022 16:20, Siri Cruise wrote:
> >> >> Did you know that messages can be transmitted
> >> >> on AC power distribution; low bandwidth, but possible.
> >> >
> >> > They can also be distributed by carrier pigeons. (There's even an RFC,
> >> > and it was implemented by some students.) So what?
> >> >
> >> >> Look at
> >> >> the excuses for clock nonsense above. So why not send current
> >> >> time through AC power? Then every system on AC power can have
> >> >> current time with microseconds. 'No! we can't do that because of
> >> >> the huge installed base of embedded systems. The required
> >> >> hardware might be $0.0000001. Over millions of units that $1 !!!
> >> >> how dare we finaly solve a universal problem that costs embedded
> >> >> systems money!
> >> >
> >> > You are just making stuff up, without the slightest idea what you are
> >> > talking about here. Sorry, but you are wrong on so many counts here
> >> > that it is not worth trying to correct you - it should be obvious to anyone.
> >> >
> >> Let me just ask one question here. /Who/ should send the current time
> >> through AC power, in your opinion?
> >
> > Have you noticed that someone sells us AC power? Must be hard to not
> > notice given the recent fuck-ups in Europe. Those may be easily made
> > obliged to as they can't somehow run away.
>
> So you want to require electricity providers to send high-resolution
> time information via AC current, in a way that is guaranteed to be
> usable by any device plugged directly or indirectly into a wall socket,
> and that absolutely will not interfere with any existing devices.
> (Maybe that's possible; I don't know.) And you expect this new time
> signal to be used by millions of devices at a cost of $0.0000001 per
> device.

I'm relatively uninterested in time information over AC. It is bit
annoying that clock on microwave oven is always slightly wrong
.... and that is it. The price said was certain nonsense.
> Of course it would be useless for mobile devices.

On any devices with at least myriameter band radio capability as
these can use other sources.

> What exactly does this have to do with C (which doesn't even require
> freestanding implementations to support <time.h>)?

That I've been also annoyed about. Nonsense calendars of RTC
chips are sometimes ridiculous as are often the replacements
that one or other team wrote to <time.h>.

Re: "Year 2038 problem is still alive and well" by CookiePLMonster

<svr4gr$8cc$1@dont-email.me>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=20752&group=comp.lang.c#20752

  copy link   Newsgroups: comp.lang.c
Path: i2pn2.org!i2pn.org!eternal-september.org!reader02.eternal-september.org!.POSTED!not-for-mail
From: david.br...@hesbynett.no (David Brown)
Newsgroups: comp.lang.c
Subject: Re: "Year 2038 problem is still alive and well" by CookiePLMonster
Date: Thu, 3 Mar 2022 20:22:03 +0100
Organization: A noiseless patient Spider
Lines: 65
Message-ID: <svr4gr$8cc$1@dont-email.me>
References: <svjioa$afj$1@dont-email.me>
<chine.bleu-1A06C2.17382228022022@reader.eternal-september.org>
<UpgTJ.58459$z688.14383@fx35.iad> <875yoynx7j.fsf@bsb.me.uk>
<874k4inu4v.fsf@nosuchdomain.example.com>
<chine.bleu-2F5314.23105028022022@reader.eternal-september.org>
<svksmc$j3p$1@dont-email.me>
<chine.bleu-67679C.07200502032022@reader.eternal-september.org>
<svo5uu$r3f$1@dont-email.me> <svogun$rrr$1@dont-email.me>
<3b8b38c9-57a8-4138-a08f-98951651fc18n@googlegroups.com>
<87mti7nb1o.fsf@nosuchdomain.example.com>
Mime-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: 8bit
Injection-Date: Thu, 3 Mar 2022 19:22:04 -0000 (UTC)
Injection-Info: reader02.eternal-september.org; posting-host="0b78661c57be5c4f4be73b9765ec66aa";
logging-data="8588"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX18bP5Qld1Gs0fJaklmA4t2hJ4eNkP7xHow="
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101
Thunderbird/78.11.0
Cancel-Lock: sha1:mkZNSPrqTYbnXCxabgxQAtmlHZQ=
In-Reply-To: <87mti7nb1o.fsf@nosuchdomain.example.com>
Content-Language: en-GB
 by: David Brown - Thu, 3 Mar 2022 19:22 UTC

On 03/03/2022 01:18, Keith Thompson wrote:
> Öö Tiib <ootiib@hot.ee> writes:
>> On Wednesday, 2 March 2022 at 21:36:24 UTC+2, David Brown wrote:
>>> On 02/03/2022 17:28, David Brown wrote:
>>>> On 02/03/2022 16:20, Siri Cruise wrote:
>>>>> Did you know that messages can be transmitted
>>>>> on AC power distribution; low bandwidth, but possible.
>>>>
>>>> They can also be distributed by carrier pigeons. (There's even an RFC,
>>>> and it was implemented by some students.) So what?
>>>>
>>>>> Look at
>>>>> the excuses for clock nonsense above. So why not send current
>>>>> time through AC power? Then every system on AC power can have
>>>>> current time with microseconds. 'No! we can't do that because of
>>>>> the huge installed base of embedded systems. The required
>>>>> hardware might be $0.0000001. Over millions of units that $1 !!!
>>>>> how dare we finaly solve a universal problem that costs embedded
>>>>> systems money!
>>>>
>>>> You are just making stuff up, without the slightest idea what you are
>>>> talking about here. Sorry, but you are wrong on so many counts here
>>>> that it is not worth trying to correct you - it should be obvious to anyone.
>>>>
>>> Let me just ask one question here. /Who/ should send the current time
>>> through AC power, in your opinion?
>>
>> Have you noticed that someone sells us AC power? Must be hard to not
>> notice given the recent fuck-ups in Europe. Those may be easily made
>> obliged to as they can't somehow run away.
>
> So you want to require electricity providers to send high-resolution
> time information via AC current, in a way that is guaranteed to be
> usable by any device plugged directly or indirectly into a wall socket,
> and that absolutely will not interfere with any existing devices.
> (Maybe that's possible; I don't know.)

No, it is not /remotely/ possible - not technically possible, nor, I
suspect, legally.

> And you expect this new time
> signal to be used by millions of devices at a cost of $0.0000001 per
> device.
>
> Of course it would be useless for mobile devices.
>
> What exactly does this have to do with C (which doesn't even require
> freestanding implementations to support <time.h>)?
>

I'm sure Siri can explain to us how the C standards could be so much
better after they are freed from the constraints and limitations they
contain to pander to small embedded systems, and how all that will
change once electricity providers are forced to send time signals and
every embedded system has its 1 µ$ decoder added.

No, it doesn't have much to do with C, and even less connection with
reality. Hopefully it was just a one-off from someone posting a crazy
idea without thinking, and now it can be dropped. I /could/ give some
of the reasons why it would be impossible, regardless of the price, but
that would be of little interest to most people, and certainly
off-topic. I suggest that if anyone really wants to take it further,
they start a new thread in comp.arch.embedded.

Re: "Year 2038 problem is still alive and well" by CookiePLMonster

<zF8UJ.70143$m1S7.5172@fx36.iad>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=20754&group=comp.lang.c#20754

  copy link   Newsgroups: comp.lang.c
Path: i2pn2.org!i2pn.org!news.swapon.de!newsreader4.netcologne.de!news.netcologne.de!peer02.ams1!peer.ams1.xlned.com!news.xlned.com!peer02.iad!feed-me.highwinds-media.com!news.highwinds-media.com!fx36.iad.POSTED!not-for-mail
X-newsreader: xrn 9.03-beta-14-64bit
Sender: scott@dragon.sl.home (Scott Lurndal)
From: sco...@slp53.sl.home (Scott Lurndal)
Reply-To: slp53@pacbell.net
Subject: Re: "Year 2038 problem is still alive and well" by CookiePLMonster
Newsgroups: comp.lang.c
References: <svjioa$afj$1@dont-email.me> <UpgTJ.58459$z688.14383@fx35.iad> <875yoynx7j.fsf@bsb.me.uk> <874k4inu4v.fsf@nosuchdomain.example.com> <chine.bleu-2F5314.23105028022022@reader.eternal-september.org> <svksmc$j3p$1@dont-email.me> <chine.bleu-67679C.07200502032022@reader.eternal-september.org> <svo5uu$r3f$1@dont-email.me> <svogun$rrr$1@dont-email.me> <3b8b38c9-57a8-4138-a08f-98951651fc18n@googlegroups.com> <87mti7nb1o.fsf@nosuchdomain.example.com> <svr4gr$8cc$1@dont-email.me>
Lines: 43
Message-ID: <zF8UJ.70143$m1S7.5172@fx36.iad>
X-Complaints-To: abuse@usenetserver.com
NNTP-Posting-Date: Thu, 03 Mar 2022 19:28:31 UTC
Organization: UsenetServer - www.usenetserver.com
Date: Thu, 03 Mar 2022 19:28:31 GMT
X-Received-Bytes: 3250
 by: Scott Lurndal - Thu, 3 Mar 2022 19:28 UTC

David Brown <david.brown@hesbynett.no> writes:
>On 03/03/2022 01:18, Keith Thompson wrote:
>> Öö Tiib <ootiib@hot.ee> writes:
>>> On Wednesday, 2 March 2022 at 21:36:24 UTC+2, David Brown wrote:
>>>> On 02/03/2022 17:28, David Brown wrote:
>>>>> On 02/03/2022 16:20, Siri Cruise wrote:
>>>>>> Did you know that messages can be transmitted
>>>>>> on AC power distribution; low bandwidth, but possible.
>>>>>
>>>>> They can also be distributed by carrier pigeons. (There's even an RFC,
>>>>> and it was implemented by some students.) So what?
>>>>>
>>>>>> Look at
>>>>>> the excuses for clock nonsense above. So why not send current
>>>>>> time through AC power? Then every system on AC power can have
>>>>>> current time with microseconds. 'No! we can't do that because of
>>>>>> the huge installed base of embedded systems. The required
>>>>>> hardware might be $0.0000001. Over millions of units that $1 !!!
>>>>>> how dare we finaly solve a universal problem that costs embedded
>>>>>> systems money!
>>>>>
>>>>> You are just making stuff up, without the slightest idea what you are
>>>>> talking about here. Sorry, but you are wrong on so many counts here
>>>>> that it is not worth trying to correct you - it should be obvious to anyone.
>>>>>
>>>> Let me just ask one question here. /Who/ should send the current time
>>>> through AC power, in your opinion?
>>>
>>> Have you noticed that someone sells us AC power? Must be hard to not
>>> notice given the recent fuck-ups in Europe. Those may be easily made
>>> obliged to as they can't somehow run away.
>>
>> So you want to require electricity providers to send high-resolution
>> time information via AC current, in a way that is guaranteed to be
>> usable by any device plugged directly or indirectly into a wall socket,
>> and that absolutely will not interfere with any existing devices.
>> (Maybe that's possible; I don't know.)
>
>No, it is not /remotely/ possible - not technically possible, nor, I
>suspect, legally.

Most of the RF will get filtered out by the distribution transformers
anyway.

Re: "Year 2038 problem is still alive and well" by CookiePLMonster

<svrct2$del$1@dont-email.me>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=20766&group=comp.lang.c#20766

  copy link   Newsgroups: comp.lang.c comp.lang.c++
Path: i2pn2.org!i2pn.org!eternal-september.org!reader02.eternal-september.org!.POSTED!not-for-mail
From: vir.camp...@invalid.invalid (Vir Campestris)
Newsgroups: comp.lang.c,comp.lang.c++
Subject: Re: "Year 2038 problem is still alive and well" by CookiePLMonster
Date: Thu, 3 Mar 2022 21:45:05 +0000
Organization: A noiseless patient Spider
Lines: 24
Message-ID: <svrct2$del$1@dont-email.me>
References: <svjioa$afj$1@dont-email.me>
Mime-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit
Injection-Date: Thu, 3 Mar 2022 21:45:06 -0000 (UTC)
Injection-Info: reader02.eternal-september.org; posting-host="8028669eddce9498671b52e22d96823e";
logging-data="13781"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1/Mbny2cBZIM62Wyw3z6077XyjLIg1ZQDc="
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101
Thunderbird/91.5.0
Cancel-Lock: sha1:gYFiQy+P4vARnLJixLookRxYvZE=
In-Reply-To: <svjioa$afj$1@dont-email.me>
Content-Language: en-GB
 by: Vir Campestris - Thu, 3 Mar 2022 21:45 UTC

On 28/02/2022 22:35, Lynn McGuire wrote:
> "Year 2038 problem is still alive and well" by CookiePLMonster
>    https://cookieplmonster.github.io/2022/02/17/year-2038-problem/
>
> "Year 2038 problem? Wasn’t that supposed to be solved once and for all
> years ago? Not quite."
>
> I suspect that as we get closer to 2038, we will find more and more
> software subject to the year 2038 problem.
>    https://en.wikipedia.org/wiki/Year_2038_problem
>
I'm not going to go all the way through the thread, sorry. But...

We've been here before. Y2K problem.

Some people hit it in 1990 with 10 year contracts.

Almost nobody hit in 2000.

A few did, but the world didn't end.

There will be work to do, but WTH it's 16 years away.

Andy

Re: "Year 2038 problem is still alive and well" by CookiePLMonster

<svrjof$n1$1@dont-email.me>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=20771&group=comp.lang.c#20771

  copy link   Newsgroups: comp.lang.c
Path: i2pn2.org!i2pn.org!eternal-september.org!reader02.eternal-september.org!.POSTED!not-for-mail
From: jameskuy...@alumni.caltech.edu (James Kuyper)
Newsgroups: comp.lang.c
Subject: Re: "Year 2038 problem is still alive and well" by CookiePLMonster
Date: Thu, 3 Mar 2022 18:42:07 -0500
Organization: A noiseless patient Spider
Lines: 21
Message-ID: <svrjof$n1$1@dont-email.me>
References: <svjioa$afj$1@dont-email.me> <svrct2$del$1@dont-email.me>
Mime-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 7bit
Injection-Date: Thu, 3 Mar 2022 23:42:08 -0000 (UTC)
Injection-Info: reader02.eternal-september.org; posting-host="9f737d01fe5aa45615aa8a5829fc8f56";
logging-data="737"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX19WTvDDiTzL8pI+bK+Wg4yB3XFupVIHdXk="
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101
Thunderbird/91.5.0
Cancel-Lock: sha1:qDvKYI2G3SypQwkaXiStOq8KEuw=
In-Reply-To: <svrct2$del$1@dont-email.me>
Content-Language: en-US
 by: James Kuyper - Thu, 3 Mar 2022 23:42 UTC

On 3/3/22 16:45, Vir Campestris wrote:
....
> We've been here before. Y2K problem.
>
> Some people hit it in 1990 with 10 year contracts.
>
> Almost nobody hit in 2000.
>
> A few did, but the world didn't end.
>
> There will be work to do, but WTH it's 16 years away.

I had dozens of saved e-mails at work which were sent during the first
week of 2000, which have incorrectly formatted time stamps. It was only
a minor inconvenience - but they are proof that not enough money had
been spent to fix all of the problems - and these were messages sent and
received by US government mail servers.
I only saw two other Y2K bugs. One of them occurred, ironically enough,
on a web site devoted to keeping track of detected Y2K bugs: For several
hours after midnight it still reported something like "As of January 1,
1900 at 07:00, no Y2K bugs have yet been reported."

Re: "Year 2038 problem is still alive and well" by CookiePLMonster

<svrpao$1pv2$1@gioia.aioe.org>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=20773&group=comp.lang.c#20773

  copy link   Newsgroups: comp.lang.c
Path: i2pn2.org!i2pn.org!aioe.org!Puiiztk9lHEEQC0y3uUjRA.user.46.165.242.75.POSTED!not-for-mail
From: non...@add.invalid (Manfred)
Newsgroups: comp.lang.c
Subject: Re: "Year 2038 problem is still alive and well" by CookiePLMonster
Date: Fri, 4 Mar 2022 02:17:12 +0100
Organization: Aioe.org NNTP Server
Message-ID: <svrpao$1pv2$1@gioia.aioe.org>
References: <svjioa$afj$1@dont-email.me>
<chine.bleu-1A06C2.17382228022022@reader.eternal-september.org>
<UpgTJ.58459$z688.14383@fx35.iad> <875yoynx7j.fsf@bsb.me.uk>
<874k4inu4v.fsf@nosuchdomain.example.com>
<chine.bleu-2F5314.23105028022022@reader.eternal-september.org>
<svksmc$j3p$1@dont-email.me>
<chine.bleu-67679C.07200502032022@reader.eternal-september.org>
<svo5uu$r3f$1@dont-email.me> <svogun$rrr$1@dont-email.me>
<3b8b38c9-57a8-4138-a08f-98951651fc18n@googlegroups.com>
<87mti7nb1o.fsf@nosuchdomain.example.com> <svr4gr$8cc$1@dont-email.me>
Mime-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
Injection-Info: gioia.aioe.org; logging-data="59362"; posting-host="Puiiztk9lHEEQC0y3uUjRA.user.gioia.aioe.org"; mail-complaints-to="abuse@aioe.org";
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:91.0) Gecko/20100101
Thunderbird/91.6.1
Content-Language: en-US
X-Notice: Filtered by postfilter v. 0.9.2
 by: Manfred - Fri, 4 Mar 2022 01:17 UTC

On 3/3/2022 8:22 PM, David Brown wrote:
> On 03/03/2022 01:18, Keith Thompson wrote:
[...]
>>
>> So you want to require electricity providers to send high-resolution
>> time information via AC current, in a way that is guaranteed to be
>> usable by any device plugged directly or indirectly into a wall socket,
>> and that absolutely will not interfere with any existing devices.
>> (Maybe that's possible; I don't know.)
>
> No, it is not /remotely/ possible - not technically possible, nor, I
> suspect, legally.
>

This is OT, but for the sake of argument, domestic power meters already
exchange digital signals with distribution stations, so I guess it is
not that impossible - similarly to how it is nowadays possible to
transfer Gbits/s on a copper pair, something that seemed fairly
unfeasible until it wasn't.
How useful it would be would be quite questionable, I agree.

Re: "Year 2038 problem is still alive and well" by CookiePLMonster

<svrpeg$1pv2$2@gioia.aioe.org>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=20774&group=comp.lang.c#20774

  copy link   Newsgroups: comp.lang.c
Path: i2pn2.org!i2pn.org!aioe.org!Puiiztk9lHEEQC0y3uUjRA.user.46.165.242.75.POSTED!not-for-mail
From: non...@add.invalid (Manfred)
Newsgroups: comp.lang.c
Subject: Re: "Year 2038 problem is still alive and well" by CookiePLMonster
Date: Fri, 4 Mar 2022 02:19:12 +0100
Organization: Aioe.org NNTP Server
Message-ID: <svrpeg$1pv2$2@gioia.aioe.org>
References: <svjioa$afj$1@dont-email.me> <svrct2$del$1@dont-email.me>
<svrjof$n1$1@dont-email.me>
Mime-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
Injection-Info: gioia.aioe.org; logging-data="59362"; posting-host="Puiiztk9lHEEQC0y3uUjRA.user.gioia.aioe.org"; mail-complaints-to="abuse@aioe.org";
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:91.0) Gecko/20100101
Thunderbird/91.6.1
X-Notice: Filtered by postfilter v. 0.9.2
Content-Language: en-US
 by: Manfred - Fri, 4 Mar 2022 01:19 UTC

On 3/4/2022 12:42 AM, James Kuyper wrote:
> On 3/3/22 16:45, Vir Campestris wrote:
> ...
>> We've been here before. Y2K problem.
>>
>> Some people hit it in 1990 with 10 year contracts.
>>
>> Almost nobody hit in 2000.
>>
>> A few did, but the world didn't end.
>>
>> There will be work to do, but WTH it's 16 years away.
>
> I had dozens of saved e-mails at work which were sent during the first
> week of 2000, which have incorrectly formatted time stamps. It was only
> a minor inconvenience - but they are proof that not enough money had
> been spent to fix all of the problems - and these were messages sent and
> received by US government mail servers.
> I only saw two other Y2K bugs. One of them occurred, ironically enough,
> on a web site devoted to keeping track of detected Y2K bugs: For several
> hours after midnight it still reported something like "As of January 1,
> 1900 at 07:00, no Y2K bugs have yet been reported."

lol

Pages:1234
server_pubkey.txt

rocksolid light 0.9.8
clearnet tor