News for hackers. Stuff that matters.
Re:The Origin of Emacs in 1976 by _glass on Wednesday July 24, 2024 @03:35AM (#41054489)
off-topic, but I saw it now several times, why do you put a 0 in front of the 1990? I feel like I am being left-out of some insider joke.
Re:The Origin of Emacs in 1976 by FearNotDaniel on Wednesday July 24, 2024 @03:47AM (#41054551)
Re:The Origin of Emacs in 1976 by ForOldHack on Wednesday July 24, 2024 @01:01PM (#41059168)
Exactly. Genau. Exacto. YYYYYY format.

"In 02024, Danny Hillis answered frequently asked questions about The Clock."

Re:The Origin of Emacs in 1976 by atiedebee on Wednesday July 24, 2024 @03:44AM (#41054528)
(not the person you're replying to): From what I heard it has something to do with future proofing dates.

I don't know how it's future proof, but that's what I've heard.

Re:The Origin of Emacs in 1976 by Joker_vD on Wednesday July 24, 2024 @10:44AM (#41057619)
So that when year 99999 ends, the Y100K bug can happen, I guess. No idea why having fixed-length 5- (or even 6-) digit strings for years is preferable to normal, variable-length decimal notation we use for numbers: 48, 112, 988, 1122, 2024, etc. The year is a number, treating it as a lexicographically-imbued string only matters for things like ISO 8601 (20240724T vs. 020240724T) but even then, it's already properly ordered: both "99991231T" and "099991231T" sort before "100000101T".

But hey, everybody has their small idiosyncratic pet peeves: I've ran twice into the same person here on HN who just can't stand term "x64" because it's "unofficial", but somehow refuses to use e.g. "EM64T" for it as well.

Re:The Origin of Emacs in 1976 by kragen on Wednesday July 24, 2024 @01:15PM (#41059341)
as long as they don't go around 'correcting' your comments that seems okay?
Re:The Origin of Emacs in 1976 by ForOldHack on Wednesday July 24, 2024 @01:17PM (#41059372)
The Y100K Bug impacts every single financial transaction, every single transaction communication, and every single spread sheet, and table:

When it comes to this, the gods of Y100,000 will simply wish it with an act of will, and it will come about.

"Home was a couple of thousand light years away, which distance they traveled instantaneously, by an application of will. " -Joe Haldeman, "The Groombridge Effect"

Re:The Origin of Emacs in 1976 by kragen on Wednesday July 24, 2024 @03:44AM (#41054525)
Re:The Origin of Emacs in 1976 by _glass on Wednesday July 24, 2024 @03:50AM (#41054568)
oh, alright. thanks!
Re:The Origin of Emacs in 1976 by kragen on Wednesday July 24, 2024 @04:01AM (#41054639)
sure!
Re:The Origin of Emacs in 1976 by wavemode on Wednesday July 24, 2024 @11:14AM (#41057922)
This addresses the Y10K problem, but it's truly shameful to not account for the Y100K problem. It'll sneak up on us before we know it!
Re:The Origin of Emacs in 1976 by floren on Wednesday July 24, 2024 @02:45PM (#41060371)
They're leaving that for the Long Long Now Foundation
Re:The Origin of Emacs in 1976 by kragen on Wednesday July 24, 2024 @04:12PM (#41061496)

    : dev3; cat longnow.c 
    #include <stdio.h>

    int
    main()
    {
      long then = 0;
      long long now = 0;
      long long long time = 0;
      printf("then was %ld, now is %lld, time is %llld\n", then, now, time);
      return 0;
    }
    : dev3; gcc longnow.c
    longnow.c: In function ‘main’:
    longnow.c:8:13: error: ‘long long long’ is too long for GCC
        8 |   long long long time = 0;
          |             ^~~~
Re:The Origin of Emacs in 1976 by CRConrad on Wednesday July 24, 2024 @09:10AM (#41056718)
It's just a silly affectation.
Re:The Origin of Emacs in 1976 by kragen on Wednesday July 24, 2024 @10:51AM (#41057710)
careful now. you don't want to be like chockablock, do you? https://news.ycombinator.com/item?id=40993821

hn is intended for things like explaining the history of email and demonstrating unexpected uses for the units program https://news.ycombinator.com/item?id=36988917, not for harassing strangers because you don't like how they format their comments, or (checking your comment history) flaming elon musk to promote the culture war and posting nonsensical disinformation about ebpf

https://news.ycombinator.com/newsguidelines.html

Re:The Origin of Emacs in 1976 by mmcgaha on Wednesday July 24, 2024 @11:09AM (#41057869)
So you know how in school when you read that Constantine the Great became the Roman Emperor in the year 306. It was super confusing what was meant by the year 306 but if the book had 00306 you would have known right off what year they were talking about.